Fix how the `character' custom type handles space chars.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
aa4589a7
CY
12012-02-05 Chong Yidong <cyd@gnu.org>
2
3 * wid-edit.el (widget-field-value-get): New optional arg to
4 suppress trailing whitespace truncation.
5 (character): Use it (Bug#2689).
6
1ff980ae
AS
72012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8
9 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11
03988c98
CY
122012-02-05 Chong Yidong <cyd@gnu.org>
13
eeb6cc88
CY
14 * cus-edit.el (custom-variable-value-create): For mismatched
15 types, show the current value (Bug#7600).
16
03988c98
CY
17 * custom.el (defcustom): Doc fix.
18
f8cdeef0
GM
192012-02-05 Glenn Morris <rgm@gnu.org>
20
21 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
22
0696d255
JB
232012-02-05 Juanma Barranquero <lekktu@gmail.com>
24
25 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
26 (pp-buffer): Use `ignore-errors', `looking-at-p'.
27 (pp-last-sexp): Use `looking-at-p'.
28
34c99998
GM
292012-02-04 Glenn Morris <rgm@gnu.org>
30
8f05da42
GM
31 * files.el (revert-buffer):
32 Doc fix (mention revert-buffer-in-progress-p).
33
f160676e
GM
34 * emacs-lisp/ert-x.el (ert-simulate-command):
35 Check deferred-action-list (which is obsolete) is bound.
36
c7291ad9
GM
37 * subr.el (with-wrapper-hook): Doc fixes.
38
34c99998
GM
39 * simple.el (filter-buffer-substring-functions)
40 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
41
6283a7d3
LL
422012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
43
44 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
45 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
46
e96e3013
LL
472012-02-04 Leo Liu <sdl.web@gmail.com>
48
49 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
50
8ded50f2
GM
512012-02-04 Glenn Morris <rgm@gnu.org>
52
82ff1d13
GM
53 * image.el (image-extension-data): Add obsolete alias.
54
987a0a16
GM
55 * isearch.el (isearch-update): Doc fix.
56
ea32ef46
GM
57 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
58
8ded50f2
GM
59 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
60
eea14f31
GM
612012-02-03 Glenn Morris <rgm@gnu.org>
62
63 * image.el (image-animated-p): Doc fix. Use image-animated-types.
64 (image-animate-timeout): Doc fix.
65
66 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
67
12f381b7
GM
682012-02-02 Glenn Morris <rgm@gnu.org>
69
953cebf5
GM
70 * server.el (server-auth-dir): Doc fix.
71 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
72
12f381b7
GM
73 * subr.el (run-mode-hooks): Doc fix.
74
953a8c3b
JL
752012-02-02 Juri Linkov <juri@jurta.org>
76
77 * image-mode.el (image-toggle-display-image): Remove tautological
78 `major-mode' from the `derived-mode-p' test.
79
c5d3843c
KH
802012-02-02 Kenichi Handa <handa@m17n.org>
81
9f6e692e 82 * composite.el (compose-region): Cancel previous change.
c5d3843c 83
159462d4 842012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
85
86 * composite.el (compose-region, compose-string): Signal error for
87 a null string component (Bug#6988).
88
9f562668
CY
892012-02-01 Chong Yidong <cyd@gnu.org>
90
e2cef717
CY
91 * view.el (view-buffer-other-window, view-buffer-other-frame):
92 Handle special modes like view-buffer (Bug#10650).
93 (view-buffer): Simplify.
94
9f562668
CY
95 * frame.el (set-frame-font): Tweak meaning of third argument.
96
9f6e692e
JB
97 * dynamic-setting.el (font-setting-change-default-font):
98 Use set-frame-font (Bug#9982).
9f562668 99
781acb9f
GM
1002012-02-01 Glenn Morris <rgm@gnu.org>
101
6035be52
GM
102 * progmodes/compile.el (compilation-internal-error-properties):
103 Respect compilation-first-column in the "*compilation*" buffer.
104
781acb9f
GM
105 * emacs-lisp/easy-mmode.el (define-minor-mode):
106 Relax :variable's test for a named function.
107
abbceb00
AM
1082012-01-31 Alan Mackenzie <acm@muc.de>
109
110 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
111 off by one error.
112
fce3fdeb
CY
1132012-01-31 Chong Yidong <cyd@gnu.org>
114
115 * frame.el (set-frame-font): New arg ALL-FRAMES.
116
117 * menu-bar.el (menu-set-font): Use set-frame-font.
118
119 * faces.el (face-spec-reset-face): Don't apply unspecified
120 attribute values to the default face.
121
47893581
JB
1222012-01-31 Juanma Barranquero <lekktu@gmail.com>
123
124 * progmodes/cwarn.el (cwarn): Remove dead link.
125 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
126 Remove * from defcustom docstrings.
127 (turn-on-cwarn-mode): Make obsolete.
128 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
129 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
130
e58e988a
GM
1312012-01-31 Glenn Morris <rgm@gnu.org>
132
60dc2671 133 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 134 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 135 Allow named functions to be used as the cdr of :variable.
e58e988a 136
7a3f511d
GM
1372012-01-30 Glenn Morris <rgm@gnu.org>
138
139 * emacs-lisp/authors.el (authors-fixed-entries):
140 Remove reference to deleted file rnewspost.el.
141
cb882333
JB
1422012-01-29 Juanma Barranquero <lekktu@gmail.com>
143
144 * window.el (window-with-parameter): Remove unused variable `windows'.
145 (window--side-check): Remove unused variable `code'.
146 (window--resize-siblings): Remove unused variable `first'.
147 (adjust-window-trailing-edge): Remove unused variable `failed'.
148 (window-deletable-p, window--delete): Remove unused variable `buffer'.
149 Use `let', not `let*'.
150 (balance-windows-2): Remove unused variable `found'.
151 (window--state-put-2): Remove unused variable `splits'.
152 (window-state-put): Remove unused variable `selected'.
153 (same-window-p): Use `string-match-p'.
154 (display-buffer-assq-regexp): Remove unused variable `value'.
155 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
156 Mark argument ALIST as ignored.
157 (pop-to-buffer): Remove unused variable `old-window'.
158
907201af
EZ
1592012-01-29 Eli Zaretskii <eliz@gnu.org>
160
161 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
162 and .lzma compressed files.
163
ea162670
CY
1642012-01-29 Chong Yidong <cyd@gnu.org>
165
5b95ee8a
CY
166 * frame.el (window-system-default-frame-alist): Doc fix.
167
ea162670
CY
168 * dynamic-setting.el (font-setting-change-default-font): Don't
169 change the default face if SET-FONT argument is non-nil (Bug#9982).
170
d6e6f4b1
SB
1712012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
172
173 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
174
0f29fa41 1752012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
176
177 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
178 breakpoints in files outside current directory (Bug#6098).
179
db174434
CY
1802012-01-29 Chong Yidong <cyd@gnu.org>
181
6b25e4e2
SE
182 * progmodes/python.el: Require ansi-color at top-level.
183
6df6ae42
JB
184 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
185 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
186 (lisp-mode-abbrev-table): Add doc.
187 (lisp-mode-variables): Don't set local-abbrev-table.
188 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
189
e70ee681
RW
1902012-01-28 Roland Winkler <winkler@gnu.org>
191
192 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
193
ace88aa2
RW
1942012-01-28 Roland Winkler <winkler@gnu.org>
195
196 * textmodes/bibtex.el (bibtex-entry-alist): New function.
197 (bibtex-set-dialect): Use it. Either set global values of
198 dialect-dependent variables or bind these variables buffer-locally
199 (Bug#10254).
200 (bibtex-mode): Call bibtex-set-dialect via
201 hack-local-variables-hook.
202 (bibtex-dialect): Update docstring. Add
203 safe-local-variable predicate.
204 (bibtex-entry-alist, bibtex-field-alist): Initialize via
205 bibtex-set-dialect.
206 (bibtex-mode-map): Define menu for each dialect.
207 (bibtex-entry): Fix docstring.
208
93376c5b
CY
2092012-01-28 Chong Yidong <cyd@gnu.org>
210
211 * eshell/esh-arg.el (eshell-quote-argument): New function.
212
213 * eshell/esh-ext.el (eshell-invoke-batch-file):
214 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
215 first arg to eshell-parse-command (Bug#10523).
216
4372494f
DA
2172012-01-28 Drew Adams <drew.adams@oracle.com>
218
219 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
220 `default-directory' is non-nil.
221
4d4ec1f8
EZ
2222012-01-28 Eli Zaretskii <eliz@gnu.org>
223
224 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
225 line that displays system-configuration-options. (Bug#9924)
226
7c188927
DA
2272012-01-28 Drew Adams <drew.adams@oracle.com>
228
229 * descr-text.el (describe-char): Show information about POS, in
230 addition to information about the character at POS. Improve and
231 update the doc string. Change "code point" to "code point in
232 charset", to avoid confusion with the character's Unicode code
233 point shown above that. (Bug#10129)
234
e0da685a
EZ
2352012-01-28 Eli Zaretskii <eliz@gnu.org>
236
237 * descr-text.el (describe-char): Show the raw character, not only
238 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
239 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
240 for the reasons.
241
70550acf
PH
2422012-01-28 Phil Hagelberg <phil@hagelb.org>
243
244 * emacs-lisp/package.el (package-install): Run
80ed5304 245 package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 246
0ce8e868
CY
2472012-01-28 Chong Yidong <cyd@gnu.org>
248
cb882333
JB
249 * emacs-lisp/package.el (package-maybe-load-descriptor):
250 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
251 (package-maybe-load-descriptor): Use it.
252 (package-download-transaction): Fully load required packages
253 inside the loop, so that `require' calls work (Bug#10593).
254 (package-install): No need to call package-initialize now.
255
2e7f3bea
CY
2562012-01-28 Chong Yidong <cyd@gnu.org>
257
6e9bad14
CY
258 * simple.el (deactivate-mark): Doc fix (Bug#8614).
259
f823b8ca
CY
260 * tooltip.el (tooltip-mode): Doc fix.
261 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
262
2680c309
CY
263 * frame.el (set-cursor-color): Doc fix (Bug#352).
264
d7a9e63b
CY
265 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
266 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
267
2e7f3bea
CY
268 * cus-edit.el (custom-buffer-create-internal): Fix search button
269 action (Bug#10542).
2ae01800 270 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 271
fc4f7a23
EW
2722012-01-27 Eduard Wiebe <usenet@pusto.de>
273
274 * dired.el (dired-mark-files-regexp):
275 Include any subdirectory components. (Bug#10445)
276
7dd37071
ML
2772012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
278
279 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
280 Handle [host]:port syntax. (Bug#10533)
281
a268160b
AH
2822012-01-27 Alex Harsanyi <harsanyi@mac.com>
283
284 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
285
e43273ef
GM
2862012-01-26 Glenn Morris <rgm@gnu.org>
287
288 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
289 * term.el (term-raw-escape-map): Use Control-X-prefix.
290 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
291
1edf595d
MR
2922012-01-25 Martin Rudalics <rudalics@gmx.at>
293
294 * window.el (window-state-get, window--state-get-1): Don't deal
295 with fixed-sizeness of windows. Simplify code.
296
fa8eafef
JC
2972012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
298
6df6ae42
JB
299 * window.el (window--state-get-1, window--state-put-2):
300 Don't save and restore the mark.
fa8eafef 301
0b21c100
CY
3022012-01-25 Chong Yidong <cyd@gnu.org>
303
304 * custom.el (custom-variable-p): Doc fix.
305
5ae1a6c8
GM
3062012-01-25 Glenn Morris <rgm@gnu.org>
307
40047858
GM
308 * dired.el (dired-goto-file): Handle some of the more common
309 characters that `ls -b' escapes. (Bug#10596)
310
5ddce96c
GM
311 * progmodes/compile.el (compilation-next-error-function):
312 Respect compilation-first-column in the "*compilation*" buffer.
313 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
314
5ae1a6c8
GM
315 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
316
b559f1a9
GM
3172012-01-24 Glenn Morris <rgm@gnu.org>
318
319 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
320
6725d21a
JD
3212012-01-24 Julien Danjou <julien@danjou.info>
322
323 * color.el (color-rgb-to-hsl): Fix value computing.
324 (color-hue-to-rgb): New function.
325 (color-hsl-to-rgb): New function.
326 (color-clamp, color-saturate-hsl, color-saturate-name)
327 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
328 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
329
70df4bbe
GM
3302012-01-24 Glenn Morris <rgm@gnu.org>
331
332 * vc/vc-rcs.el (vc-rcs-create-tag):
333 * vc/vc-sccs.el (vc-sccs-create-tag):
334 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
335
802a2ae2
ML
3362012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
337
338 * eshell/esh-util.el (eshell-read-hosts-file):
339 Skip comment lines. (Bug#10549)
340
d7128bb1
ML
341 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
342
d1a5c3b4
JB
3432012-01-23 Juanma Barranquero <lekktu@gmail.com>
344
2724d9c7
JB
345 * subr.el (display-delayed-warnings): Doc fix.
346 (collapse-delayed-warnings): New function to collapse identical
347 adjacent warnings.
348 (delayed-warnings-hook): Add it.
d1a5c3b4 349
a5509865
MA
3502012-01-22 Michael Albinus <michael.albinus@gmx.de>
351
352 * net/tramp.el (tramp-action-login): Set connection property "login-as".
353
354 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
355 properties, when "login-as" is set.
356
357 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
358 (tramp-default-user-alist): Don't add "pscp".
359 (tramp-do-copy-or-rename-file-out-of-band): Use connection
360 property "login-as", if set. (Bug#10530)
361
cc6d5805
MA
3622012-01-21 Michael Albinus <michael.albinus@gmx.de>
363
364 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
365 "plink1" and "psftp". (Bug#10530)
366
3672012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
368
369 * international/mule-cmds.el (prefer-coding-system): Show a
370 warning message if the default value of file-name-coding-system
371 was not changed.
372
f0960428
JC
3732012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
374
cb882333
JB
375 * windmove.el (windmove-reference-loc):
376 Fix windmove-reference-loc miscalculation.
f0960428 377
dd6f2a63
JB
3782012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
379
380 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
381 default unit.
382
7b447e9b
GM
3832012-01-21 Glenn Morris <rgm@gnu.org>
384
117a9ea1
GM
385 * international/mule.el (auto-coding-alist): Add .tbz.
386
7b447e9b
GM
387 * files.el (local-enable-local-variables): Doc fix.
388 (inhibit-local-variables-regexps): Rename from
389 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
390 Doc fix. Add some extensions from auto-coding-alist.
391 (inhibit-local-variables-suffixes):
392 Rename from inhibit-first-line-modes-suffixes. Doc fix.
393 (inhibit-local-variables-p):
394 New function, extracted from set-auto-mode-1.
395 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
396 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
397 (hack-local-variables): Doc fix. Make the mode-only case
398 respect enable-local-variables and friends.
399 Respect inhibit-local-variables-regexps for file-locals, but
400 not for directory-locals.
401 (set-visited-file-name):
402 Take account of inhibit-local-variables-regexps.
403 Whether it applies may change as the file name is changed.
404 * jka-cmpr-hook.el (jka-compr-install):
405 * jka-compr.el (jka-compr-uninstall):
406 Update for inhibit-first-line-modes-suffixes name change.
407
dd6e3cdd
MR
4082012-01-20 Martin Rudalics <rudalics@gmx.at>
409
410 * help-macro.el (make-help-screen): Temporarily restore original
411 binding for minor-mode-map-alist (Bug#10454).
412
0d0deb38
JD
4132012-01-19 Julien Danjou <julien@danjou.info>
414
415 * color.el (color-name-to-rgb): Use the white color to find the max
416 color component value and return correctly computed values.
417 (color-name-to-rgb): Add missing float conversion for max value.
418
34a02f46
MR
4192012-01-19 Martin Rudalics <rudalics@gmx.at>
420
421 * window.el (window--state-get-1, window-state-get): Do not use
422 special state value for window-persistent-parameters. Rename
423 argument IGNORE to WRITABLE. Rewrite doc-string.
424 (window--state-put-2): Reset all window parameters to nil before
425 assigning values of persistent parameters.
426
606c44c4
AM
4272012-01-18 Alan Mackenzie <acm@muc.de>
428
429 Eliminate sluggishness and hangs in fontification of "semicolon
430 deserts".
431
cb882333
JB
432 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
433 Change value 10000 -> 3000.
606c44c4
AM
434 (c-state-safe-place): Reformulate so it doesn't stack up an
435 infinite number of wrong entries in c-state-nonlit-pos-cache.
436 (c-determine-limit-get-base, c-determine-limit): New functions to
437 determine backward search limits disregarding literals.
438 (c-find-decl-spots): Amend commenting.
439 (c-cheap-inside-bracelist-p): New function which detects "={".
440
441 * progmodes/cc-fonts.el
442 (c-make-font-lock-BO-decl-search-function): Give a limit to a
443 backward search.
444 (c-font-lock-declarations): Fix an occurrence of point being
445 undefined. Check additionally for point being in a bracelist or
446 near a macro invocation without a semicolon so as to avoid a
447 fruitless time consuming search for a declarator. Give a more
448 precise search limit for declarators using the new
449 c-determine-limit.
450
f3860cea
GM
4512012-01-18 Glenn Morris <rgm@gnu.org>
452
453 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
454 (set-auto-mode): Doc fixes.
455
1db03b16
GM
4562012-01-17 Glenn Morris <rgm@gnu.org>
457
0e6038be
GM
458 * isearch.el (search-nonincremental-instead): Fix doc typo.
459
1db03b16
GM
460 * dired.el (dired-insert-directory): Handle newlines in directory name.
461 (dired-build-subdir-alist): Unescape newlines in directory name.
462
4cb0aa75
MA
4632012-01-17 Michael Albinus <michael.albinus@gmx.de>
464
465 * net/tramp.el (tramp-local-end-of-line): New defcustom.
466 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
467 (tramp-action-terminal): Use it. (Bug#10530)
468
1d00653d
SM
4692012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * minibuffer.el (completion--replace): Strip properties (bug#10062).
472
6a6ee00d
MR
4732012-01-16 Martin Rudalics <rudalics@gmx.at>
474
475 * window.el (window-state-ignored-parameters): Remove variable.
476 (window--state-get-1): Rename argument MARKERS to IGNORE.
477 Handle persistent window parameters. Make copy of clone-of
478 parameter only if requested. (Bug#10348)
479 (window--state-put-2): Install a window parameter only if it has
480 a non-nil value or an existing parameter shall be overwritten.
481
97912def
MA
4822012-01-15 Michael Albinus <michael.albinus@gmx.de>
483
484 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
485
688070a5
EZ
4862012-01-14 Eli Zaretskii <eliz@gnu.org>
487
488 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
489 don't pass the (nil) value of `upnode' to string-match.
490
301afadc
CY
4912012-01-14 Chong Yidong <cyd@gnu.org>
492
493 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 494 Fix values recognized by the cursorBlink resource.
301afadc 495
9e5788aa
PE
4962012-01-14 Paul Eggert <eggert@cs.ucla.edu>
497
498 * epg.el (epg--make-temp-file): Avoid permission race condition
499 when running on old Emacs versions (bug#10403).
500
3cdb7f5a
GM
5012012-01-14 Glenn Morris <rgm@gnu.org>
502
503 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
504
8c82b1b4
AM
5052012-01-13 Alan Mackenzie <acm@muc.de>
506
507 Fix filling for when filladapt mode is enabled.
508
509 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
510 c-mask-paragraph, pass in `fill-paragraph' rather than
511 `fill-region-as-paragraph'. (This is a reversion of a previous
512 change.)
513 * progmodes/cc-mode.el (c-basic-common-init): Make
514 fill-paragraph-handle-comment buffer local and set it to nil.
515
e517eda4
GM
5162012-01-13 Glenn Morris <rgm@gnu.org>
517
1498536e
GM
518 * dired.el (dired-switches-escape-p): New function.
519 (dired-insert-directory): Use dired-switches-escape-p.
520 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
521
e517eda4
GM
522 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
523
328f984d
GM
5242012-01-12 Glenn Morris <rgm@gnu.org>
525
526 * mail/sendmail.el (mail-mode): Update paragraph-separate for
527 changes in adaptive-fill-regexp. (Bug#10276)
528
2cc769a8
AM
5292012-01-11 Alan Mackenzie <acm@muc.de>
530
531 Fix Emacs bug #10463 - put `widen's around the critical spots.
532
1d00653d 533 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
534 widen around each invocation of c-state-pp-to-literal. Remove an
535 unused let variable.
536
e52c37fa
GM
5372012-01-11 Glenn Morris <rgm@gnu.org>
538
539 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 540 Doc fix.
e52c37fa 541
96f8741e
CY
5422012-01-10 Chong Yidong <cyd@gnu.org>
543
1d00653d
SM
544 * net/network-stream.el (network-stream-open-starttls):
545 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
546 response to the capability command.
547
b09a806e
GM
5482012-01-10 Glenn Morris <rgm@gnu.org>
549
550 * mail/unrmail.el (unrmail): Tweak previous change.
551
7655cb66
CY
5522012-01-09 Chong Yidong <cyd@gnu.org>
553
554 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
555
9d5a8f0b
AM
5562012-01-08 Alan Mackenzie <acm@muc.de>
557
558 Optimise font locking in long enum definitions.
559
560 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
561 arm to a cond form to handle enums.
562 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
563 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
564
9a0115ab 5652012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
566
567 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 568 (Bug#10401)
6bb72cbd 569
f186bb95
LMI
5702012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
571
29232a68
LMI
572 * faces.el (set-face-attribute): Clarify the meaning of the nil
573 frame (bug#10294).
574
4e5d086d
LMI
575 * subr.el (with-selected-frame): Mention that the selected frame
576 is restored (bug#9980).
577
8e66aebe
LMI
578 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
579 (bug#9759).
580
cd394be1 581 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
582 (password-read): Don't autoload unused function.
583
adf4e762
JB
5842012-01-07 Juanma Barranquero <lekktu@gmail.com>
585
586 * progmodes/which-func.el (which-func-mode): Turn into a
587 non-interactive function and mark as obsolete (bug#10428).
588
89bd9ccd
CY
5892012-01-06 Chong Yidong <cyd@gnu.org>
590
591 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
592 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
593 functions, along with 1 and -1.
594
4afee9d5
EZ
5952012-01-06 Eli Zaretskii <eliz@gnu.org>
596
597 * time.el (display-time-load-average)
598 (display-time-default-load-average): Doc fixes. See the thread
599 starting at
600 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
601 for the details.
602
536aea70
GM
6032012-01-06 Glenn Morris <rgm@gnu.org>
604
665ae865
GM
605 * mail/unrmail.el (unrmail): Give an explicit error if the input file
606 has no messages. (Bug#10377)
607
c869783d
GM
608 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
609 than Info-edit. (Bug#10385)
610
2bb4227e
GM
611 * time.el (display-time-load-average, display-time-next-load-average):
612 Doc fixes.
613
7d5944b9
GM
614 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
615 local setting of buffer-read-only to the input buffer. (Bug#10419)
616
536aea70
GM
617 * calendar/calendar.el (calendar-mode):
618 Locally set scroll-margin to 0. (Bug#10379)
619
7dccca16
UM
6202012-01-06 Ulrich Mueller <ulm@gentoo.org>
621
622 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
623
afbb7930
GM
6242012-01-05 Glenn Morris <rgm@gnu.org>
625
626 * eshell/em-unix.el (diff-no-select): Autoload it.
627 (eshell/diff): Use diff-no-select. (Bug#10420)
628
04482335
CY
6292012-01-05 Chong Yidong <cyd@gnu.org>
630
7baca3bc
CY
631 * shell.el (shell-dynamic-complete-functions): Revert last change.
632 (shell-command-completion-function): New function.
633 (shell-completion-vars): Use it to implement
634 shell-completion-execonly (Bug#10417).
635
04482335
CY
636 * custom.el (enable-theme): Don't set custom-safe-themes.
637
1d00653d
SM
638 * cus-theme.el (custom-theme-merge-theme):
639 Ignore custom-enabled-themes and custom-safe-themes.
04482335 640
bb5aa5d6
MM
6412012-01-05 Michael R. Mauger <mmaug@yahoo.com>
642
643 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
644 first prompt in `sql-interacive-mode'.
645 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 646 keywords.
6df6ae42 647 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
648 (sql-product-interactive): Bug fix: Set `sql-buffer' in
649 context of original buffer. Invoke `sql-login-hook'.
650
a7183d7c
EZ
6512012-01-04 Eli Zaretskii <eliz@gnu.org>
652
653 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
654 letters in cite-prefix.
655
a1eacd1e
LMI
6562012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
657
658 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
659
787cdb34
CY
6602012-01-03 Chong Yidong <cyd@gnu.org>
661
1d00653d
SM
662 * shell.el (shell-dynamic-complete-functions):
663 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
664 comint-filename-completion first (Bug#10417).
665
30710442
RS
6662012-01-02 Richard Stallman <rms@gnu.org>
667
668 * battery.el (battery-status-function):
669 Detect when to use battery-yeeloong-sysfs.
670 (battery-echo-area-format): Add string for Yeeloong.
671 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
672 (battery-yeeloong-sysfs): New function.
673
f75bfc33
CY
6742012-01-02 Chong Yidong <cyd@gnu.org>
675
676 * dirtrack.el (dirtrack-list): Eliminate unused third element.
677 (dirtrack): Merge code for handling relative filenames in prompt
678 from shell-dir-cookie-watcher.
679 (dirtrack-debug-message): New arg to avoid excess format calls.
680
681 * shell.el (shell-dir-cookie-re): Variable deleted.
682 (shell-dir-cookie-watcher): Function deleted.
683 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
684 with dirtrack-mode.
685
651e947e
EZ
6862012-01-01 Eli Zaretskii <eliz@gnu.org>
687
1d00653d
SM
688 * term/w32-win.el (dynamic-library-alist) <gnutls>:
689 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
690 libgnutls-26.dll.
691
94d4c7dc
AS
6922011-12-31 Andreas Schwab <schwab@linux-m68k.org>
693
694 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
695
8d43f3cd
EZ
6962011-12-31 Eli Zaretskii <eliz@gnu.org>
697
698 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
699 headers of non-MIME messages, when rmail-enable-mime is non-nil.
700
98c8795a
MA
7012011-12-29 Michael Albinus <michael.albinus@gmx.de>
702
703 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
704 also for alternative shells.
705 (tramp-open-connection-setup-interactive-shell): Check, whether
706 the shell is a busybox.
707 (tramp-send-command): Don't suppress multiple prompts for
708 busyboxes, it hurts.
709
51281b32
CY
7102011-12-28 Chong Yidong <cyd@gnu.org>
711
712 * progmodes/gdb-mi.el (gdb-get-source-file-list)
713 (gdb-get-source-file): Move mode line update to
714 gdb-get-source-file (Bug#10087).
715
2170cb53
CY
7162011-12-25 Chong Yidong <cyd@gnu.org>
717
718 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
719 gud-gdb-marker-filter without taking it as an argument.
720 (gud-gdb-run-command-fetch-lines): Caller changed.
721 (gud-gdb-completion-function): New variable.
722 (gud-gdb-completion-at-point): Use it.
723 (gud-gdb-completions-1): Split from gud-gdb-completions.
724
725 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
726 function as separate arguments.
727 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
728 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
729 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
730 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
731 (gdb-stopped, def-gdb-auto-update-trigger)
732 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
733 (gdb-get-changed-registers, gdb-get-main-selected-frame):
734 Callers changed.
2170cb53
CY
735 (gud-gdbmi-completions): New function.
736 (gdb): Use it for generating the completion table.
737
be8b11bb
AM
7382011-12-24 Alan Mackenzie <acm@muc.de>
739
740 Introduce a mechanism to widen the region used in context font
1d00653d 741 locking. Use this to protect declarations from losing their contexts.
be8b11bb 742
1d00653d
SM
743 * progmodes/cc-langs.el (c-before-font-lock-functions):
744 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 745 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
746 functions to be run just before context (etc.) font locking.
747
748 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 749 New, functionality extracted from
be8b11bb 750 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 751 (c-in-after-change-fontification): New variable.
be8b11bb
AM
752 (c-after-change): Set c-in-after-change-fontification.
753 (c-set-fl-decl-start): Rejig its interface, so it can be called
754 from both after-change and context fontifying.
b81d40f0
JB
755 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
756 New functions.
757 (c-standard-font-lock-fontify-region-function): New variable.
758 (c-font-lock-fontify-region): New function.
be8b11bb 759
341cf6ac
JL
7602011-12-24 Juri Linkov <juri@jurta.org>
761
762 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
763 (Bug#10348)
764
bffcee0a
MA
7652011-12-23 Michael Albinus <michael.albinus@gmx.de>
766
767 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
768 existence of source file. (Bug#10325)
769
cb5e207c
AM
7702011-12-23 Alan Mackenzie <acm@muc.de>
771
772 Fix unstable fontification inside templates.
773
b81d40f0
JB
774 * progmodes/cc-langs.el (c-before-font-lock-functions):
775 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
776 additionally has c-set-fl-decl-start. The other languages (apart
777 from AWK) have that as a single entry.
778
b81d40f0
JB
779 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
780 The functionality for "local" declarations has been extracted to
cb5e207c
AM
781 c-set-fl-decl-start.
782
b81d40f0
JB
783 * progmodes/cc-mode.el (c-common-init, c-after-change):
784 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
785 (c-set-fl-decl-start): New function, extracted from
786 c-font-lock-enclosing-decls and enhanced.
787
60ff536c
JB
7882011-12-23 Juanma Barranquero <lekktu@gmail.com>
789
790 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
791
1c4757d6
JL
7922011-12-22 Juri Linkov <juri@jurta.org>
793
794 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
795
d031f2c7
CY
7962011-12-22 Chong Yidong <cyd@gnu.org>
797
798 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
799
bace743a
DA
8002011-12-21 Drew Adams <drew.adams@oracle.com>
801
802 * files.el (file-remote-p): Fix docstring. (Bug#10319)
803
728a1f2b
JC
8042011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
805
806 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
807
0d373f73
TZ
8082011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
809
fec0aaa4
TZ
810 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
811 highlighting and support. Fix up comments for capitalization.
812 (cfengine-mode-debug): New var.
813 (cfengine3-mode): Change the modeline indicator to "CFE3".
814 (cfengine3-font-lock-keywords): Improve defun highlighting.
815 (cfengine2-actions): Rename from `cfengine-actions'.
816 (cfengine2-font-lock-keywords): Rename from
817 `cfengine-font-lock-keywords'.
818 (cfengine2-imenu-expression): Rename from
819 `cfengine-imenu-expression'.
820 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
821 (cfengine2-beginning-of-defun): Rename from
822 `cfengine-beginning-of-defun'.
823 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
824 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
825 (cfengine2-mode): Rename from `cfengine-mode'. Change the
826 modeline indicator to "CFE2".
827 (cfengine-mode): Defalias to `cfengine-auto-mode'.
828 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 829
bc86f573
CY
8302011-12-21 Chong Yidong <cyd@gnu.org>
831
832 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
833 filename argument.
834
d45ba96b
MR
8352011-12-20 Martin Rudalics <rudalics@gmx.at>
836
837 * window.el (window-normalize-buffer-to-display): Remove.
838 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
839
a6198c90
CY
8402011-12-19 Chong Yidong <cyd@gnu.org>
841
842 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
843 Don't signal an error in a predicate function; return non-nil.
844 (vc-dir-mark-file): Move the error here.
845 (vc-dir-mark-unmark): If acting on the region, keep going if one
846 of the entries cannot be marked/unmarked.
847 (vc-dir-mark-all-files): If current entry is a directory, mark
848 only child files, as documented.
849
34c5fb55
VB
8502011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
851
852 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
853 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
854 addition.
855
c803b2b7
JD
8562011-12-18 Jan Djärv <jan.h.d@swipnet.se>
857
858 * term/ns-win.el (ns-get-selection-internal)
859 (ns-store-selection-internal): Declare.
1154d12e
JB
860 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
861 Declare as obsolete.
862 (ns-get-pasteboard, ns-paste-secondary):
863 Use ns-get-selection-internal.
864 (ns-set-pasteboard, ns-copy-including-secondary):
865 Use ns-store-selection-internal.
c803b2b7 866
9cff91f8 8672011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
868
869 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 870 (vc-deduce-fileset): Doc fix.
99a289d9 871
f16c898a
AS
8722011-12-16 Andreas Schwab <schwab@linux-m68k.org>
873
874 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
875
763237c4
SS
8762011-12-13 Sam Steingold <sds@gnu.org>
877
878 * man.el (Man-getpage-in-background): When running under a
879 window-system, ignore $MANWIDTH and $COLUMNS.
880
5fc1c122
KH
8812011-12-15 Kenichi Handa <handa@m17n.org>
882
883 * language/ethio-util.el: Change coding tag to utf-8-emacs.
884 (setup-ethiopic-environment-internal): Comment out key-binding for
885 ethio-toggle-punctuation.
886
13d49cbb
AM
8872011-12-13 Alan Mackenzie <acm@muc.de>
888
898169a2
AM
889 Add the switch statement to AWK Mode.
890
891 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
892 "default" to the keywords regexp.
893
894 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
895 expression as the rest.
1d00653d
SM
896 (c-nonlabel-token-key): Allow string literals for AWK.
897 Refactor for the other modes.
898169a2 898
13d49cbb 899 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 900 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
901 routines. Limit backward searching in c-font-lock-enclosing.decl.
902
903 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
904 pp-state and literal type in addition to the limits.
1d00653d 905 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 906 (c-state-literal-at): Use the above new defun.
1d00653d
SM
907 (c-slow-in-literal, c-fast-in-literal): Remove.
908 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
909
910 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
911 being in a literal. Add a limit for backward searching.
912
913 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
914 c-slow-in-literal.
915
15e0efc7
SM
9162011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
919
454592a6
MR
9202011-12-13 Martin Rudalics <rudalics@gmx.at>
921
922 * window.el (delete-other-windows): Use correct frame in call to
923 window-with-parameter.
924
87393f26
DP
9252011-12-12 Daniel Pfeiffer <occitan@t-online.de>
926
927 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
928 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
929 (makefile-gmake-statements, makefile-makepp-statements):
930 Use it and add new makepp keywords.
931 (makefile-makepp-font-lock-keywords): Add new patterns.
932 (makefile-match-function-end): Match new [...] and [[...]].
933
11636b22
JB
9342011-12-11 Juanma Barranquero <lekktu@gmail.com>
935
936 * ses.el (ses-call-printer-return, ses-cell-property-get)
937 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
938 (ses-create-cell-variable, ses-reset-header-string)
939 (ses-cell-set-formula, ses-repair-cell-reference-all)
940 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
941 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
942 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
943 (ses-aset-with-undo, ses-load, ses-truncate-cell)
944 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
945 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
946 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
947 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
948 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
949 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
950 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
951 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
952
cf018193
VB
9532011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
954
955 * ses.el: The overall change is to add cell renaming, that is
956 setting fancy names for cell symbols other than name matching
957 "\\`[A-Z]+[0-9]+\\'" regexp .
958 (ses-create-cell-variable): New defun.
959 (ses-relocate-formula): Relocate formulas only for cells the
960 symbols of which are not renamed, i.e. symbols whose names do not
961 match regexp "\\`[A-Z]+[0-9]+\\'".
962 (ses-relocate-all): Relocate values only for cells the symbols of
963 which are not renamed.
964 (ses-load): Create cells variables as the (ses-cell ...) are read,
965 in order to check row col consistency with cell symbol name only
966 for cells that are not renamed.
967 (ses-replace-name-in-formula): New defun.
968 (ses-rename-cell): New defun.
969
ee957461
CY
9702011-12-11 Chong Yidong <cyd@gnu.org>
971
972 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
973 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
974
9a9e9ef0
MR
9752011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
976
977 * window.el (other-window): Fix docstring.
978
92a8eba5
EZ
9792011-12-10 Eli Zaretskii <eliz@gnu.org>
980
981 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
982 `from' or `to' address before taking its substring.
983 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
984 encoded name is chopped in the middle of the encoded string, and
985 thus displayed encoded.
986
e152e577
JB
9872011-12-10 Juanma Barranquero <lekktu@gmail.com>
988
989 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
990
e5d84bfe
EZ
9912011-12-10 Eli Zaretskii <eliz@gnu.org>
992
993 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
994 to use texinfo-update-node and commands that call it if the
995 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 996 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
997 (texinfo-all-menus-update, texinfo-master-menu)
998 (texinfo-update-node, texinfo-every-node-update)
999 (texinfo-multiple-files-update): Doc fix. Warn against updating
1000 all the @node lines.
1001 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
1002 argument is numeric. Explain better in the doc string what the
1003 function really does.
1004 (texinfo-insert-master-menu-list): Improve the error message
1005 displayed if there's no menu in the Top node.
1006 (Bug#2975) See also this thread:
e5d84bfe
EZ
1007 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1008
1d84e9bb
MG
10092011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1010
1011 * speedbar.el (speedbar-supported-extension-expressions):
1012 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1013
382c953b
JB
10142011-12-09 Juanma Barranquero <lekktu@gmail.com>
1015
1016 * printing.el (pr-mode-alist):
1017 * simple.el (filter-buffer-substring-functions)
1018 (completion-list-insert-choice-function):
1019 * window.el (window-with-parameter, window-atom-root)
1020 (window-sides-slots, window-size-fixed, window-min-delta)
1021 (window-max-delta, window--resize-mini-window)
1022 (window--resize-child-windows-normal, window-tree)
1023 (delete-other-windows, quit-window, split-window)
1024 (display-buffer-record-window, special-display-buffer-names)
1025 (special-display-regexps, special-display-popup-frame)
1026 (same-window-p, split-window-sensibly)
1027 (display-buffer-overriding-action, display-buffer-alist)
1028 (display-buffer-base-action, display-buffer, switch-to-buffer)
1029 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1030 (fit-window-to-buffer, recenter-positions)
1031 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1032 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1033 and remove unneeded backslashes in docstrings.
1034
39c9faef
SM
10352011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1036
98449af8
SM
1037 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1038
39c9faef
SM
1039 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1040 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1041 end in ".mk".
1042 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1043 when reading the makefile (bug#10116).
1044
86ed9fdc
SM
10452011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1048 (bug#10116).
1049
5580f89d
GM
10502011-12-06 Glenn Morris <rgm@gnu.org>
1051
1052 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1053
28d3917c
CY
10542011-12-06 Chong Yidong <cyd@gnu.org>
1055
1056 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1057
a98edce9
JB
10582011-12-06 Juanma Barranquero <lekktu@gmail.com>
1059
1060 * textmodes/table.el (table-shorten-cell): Fix typo.
1061
e65adfac
CG
10622011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1063
1064 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1065
71cc0b74
EZ
10662011-12-05 Eli Zaretskii <eliz@gnu.org>
1067
1068 * descr-text.el (describe-char): Fix display of strong
1069 right-to-left characters and directional embeddings and overrides.
1070
1071 * simple.el (what-cursor-position): Fix display of codepoints of
1072 strong right-to-left characters.
1073
315bc30d
CY
10742011-12-05 Chong Yidong <cyd@gnu.org>
1075
1076 * faces.el (read-color): Doc fix.
1077
58a70b94
GM
10782011-12-05 Glenn Morris <rgm@gnu.org>
1079
1080 * align.el (align--set-marker): Add doc-string.
1081 Don't try to move something that is not a marker. (Bug#10216)
1082
5158face
GM
10832011-12-04 Glenn Morris <rgm@gnu.org>
1084
1085 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1086 overly zealous deletion of trailing whitespace.
1087
520fca41
JB
10882011-12-04 Juanma Barranquero <lekktu@gmail.com>
1089
1090 * server.el (server-delete-client): On Windows, do not try to delete
1091 the only terminal.
1092 (server-process-filter): On Windows, treat requests for a tty frame as
1093 if they were for a GUI frame if the running server is in GUI mode.
1094
5e605a2e
GM
10952011-12-03 Glenn Morris <rgm@gnu.org>
1096
1097 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1098
5c3fe83f
SM
10992011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1100
6f5e57e7
SM
1101 * electric.el: Streamline electric-indent's hook.
1102 (electric-indent-chars): Revert to simple list.
1103 (electric-indent-functions): New var.
1104 (electric-indent-post-self-insert-function): Use it.
1105
5c3fe83f
SM
1106 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1107 there's no inferior buffer (bug#10196).
1108 (prolog-consult-compile): Don't use toggle-read-only.
1109
6bdac736
MA
11102011-12-02 Michael Albinus <michael.albinus@gmx.de>
1111
1112 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1113 interrupt. (Bug#10187)
1114
6131ba7f
SM
11152011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1116
99c79fee
SM
1117 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1118 (bug#9160).
1119
6131ba7f
SM
1120 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1121 (bug#10191).
1122
cb0a02ea
JL
11232011-12-02 Juri Linkov <juri@jurta.org>
1124
1125 * info.el (Info-search): Display "end of manual" when Isearch
1126 reaches the end of single-file Info manual. (Bug#9918)
1127
66e0570c
EZ
11282011-12-02 Eli Zaretskii <eliz@gnu.org>
1129
1130 * isearch.el (isearch-message-prefix): Run the input method part
1131 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1132
02b16839
JL
11332011-12-02 Juri Linkov <juri@jurta.org>
1134
1135 * isearch.el (isearch-occur): Use `word-search-regexp' for
1136 `isearch-word'.
1137 (isearch-search-and-update): Add condition for `isearch-word' and
1138 call `word-search-regexp'. (Bug#10145)
1139
0b950688
GM
11402011-12-01 Glenn Morris <rgm@gnu.org>
1141
1142 * eshell/em-hist.el (eshell-hist-initialize):
1143 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1144 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1145
9505c3c7
SM
11462011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1149
1bbe96b2 11502011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1151
a1beca85
SM
1152 * progmodes/verilog-mode.el (verilog-pretty-expr):
1153 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1154 verilog, such as += *= and the like.
1155 (verilog-assignment-operator-re): Regular expression to find the
1156 assigment operator in a verilog assignment.
1157 (verilog-assignment-operation-re): Regular expression to find an
1158 assignment statement for pretty-expr.
1159 (verilog-in-attribute-p): Query returns true if point is in an
1160 attribute context; used to skip these for expression line up from
1161 pretty-expr.
1162 (verilog-in-parameter-p): Query returns true if point is in an
1163 parameter definition context; used to skip these for expression
1164 line up from pretty-expr.
1165 (verilog-in-parenthesis-p): Query returns true if point is in a
1166 parenthetical expression, specifically ( ) but not [ ] or { };
1167 used by pretty-expr.
1168 (verilog-just-one-space): If there is no space, don't add one.
1169 (verilog-get-lineup-indent-2): Specifically skip just attribute
1170 contexts for expression lineup, rather than skipping all
1171 parenthetical expressions.
1172 (verilog-calculate-indent): Fix comment, and fix indent.
1173 (verilog-do-indent): Indent declarations in lists (suggested by
1174 Joachim Lechner).
1175 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1176 skeleton items.
1177 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1178 by Alain Mellan).
1179
1bbe96b2 11802011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1181
1182 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1183 parameters with embedded comments. Reported by Ray Stevens.
1184 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1185 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1186 Reported by Tim Holt.
1187 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1188 instantiated by upper module causing wrong expansion until AUTOed a
1189 second time. Reported by K C Buckenmaier.
1190 (verilog-diff-auto): Fix showing .* as a difference when
1191 `verilog-auto-star-save' off. Reported by Dan Dever.
1192 (verilog-auto-reset, verilog-read-always-signals)
1193 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1194 temporary signals in reset list if
1195 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1196 style to each signal's assignment type, bug381.
1197 Reported by Thomas Esposito.
6288f0ca
WS
1198 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1199 (verilog-uvm-statement-re): Support UVM indentation and
1200 highlighting, with old OVM keywords only.
a1beca85 1201 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1202 Support AUTOTIEOFF creating non-wire data types.
1203 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1204 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1205 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1206 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1207 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1208 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1209 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1210 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1211 non-numeric vector width. Reported by Alex Reed.
1212 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1213 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1214 (verilog-auto-delete-trailing-whitespace):
1215 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1216 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1217 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1218 Fix verilog-scan-cache corruption when running user AUTO expansion
1219 hooks that call indentation routines.
1220 (verilog-simplify-range-expression): Fix typo ignoring lower case
1221 identifiers.
1222 (verilog-delete-auto): Fix delete-autos to also remove user created
1223 automatics, as long as they start with AUTO.
1224 (verilog-batch-diff-auto, verilog-diff-auto)
1225 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1226 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1227 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1228 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1229 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1230 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1231 is disabled and its cache will get corrupt, causing AUTOS not to
1232 expand. Instead use only -quick functions.
1233 (verilog-scan-region): Fix scanning over escaped quotes.
1234 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1235 (verilog-re-search-backward-quick)
1236 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1237 related functions now ignore strings, to fix misparsing of strings
1238 with magic comments embedded in them.
a1beca85
SM
1239 (verilog-read-auto-template):
1240 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1241 Reported by Brad Dobbie.
1242 (verilog-read-auto-template):
1243 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1244 Reported by Brad Dobbie.
6288f0ca
WS
1245 (verilog-auto-inst, verilog-auto-inst-param)
1246 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1247 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1248 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1249 debugging templates without merge conflicts, bug357.
1250 Reported by Brad Dobbie.
1251 (verilog-read-auto-template):
1252 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1253 Reported by Brad Dobbie.
1254 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1255 abbrevs so user won't be asked to save.
1256 (verilog-read-auto-lisp-present): Fix to start at beginning of
1257 buffer in case called outside of verilog-auto.
1258 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1259 to "X-2". Reported by Matthew Myers.
1260 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1261 all inputs from module templates. Reported by Leith Johnson.
1262 (verilog-module-inside-filename-p): Fix locating programs as with
1263 modules.
1264 (verilog-auto-inst-port): Fix vl-width expressions when using
1265 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1266 (verilog-decls-get-regs, verilog-decls-get-signals,
1267 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1268 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1269 verilog-read-decls): Combine reg and wire structures into one var
1270 structure to represent SystemVerilog concepts.
1271 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1272 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1273 (verilog-auto-wire-type, verilog-insert-definition):
1274 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1275 SystemVerilog "logic" keyword instead of "wire"/"reg".
1276 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1277 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1278 ifdef or generate if so there's not a driver conflict).
1279 Reported by Matthew Myers.
1280 (verilog-auto-declare-nettype, verilog-insert-definition):
1281 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1282 `default_nettype none. Reported by Julian Gorfajn.
1283 (verilog-read-always-signals-recurse, verilog-read-decls)
1284 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1285 malformed end statement, bug325. Reported by Joshua Wise and
1286 Andrew Drake.
1287 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1288 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1289 when expanding .* in interfaces, bug320.
1290 Reported by Pierre-David Pfister.
6288f0ca 1291 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1292 name and open parenthesis, bug317.
1293 Reported by Pierre-David Pfister.
6288f0ca
WS
1294 (verilog-simplify-range-expression): Fix simplification of
1295 multiplications inside AUTOWIRE connections, bug303.
1296 (verilog-auto-inst-port): Support parameter expansion in
1297 multidimensional arrays.
1298 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1299 after "assert property". Reported by Julian Gorfajn.
1300 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1301 with multiplication, bug303.
1302 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1303 Reported by Jan Frode Lonnum.
1304
1bbe96b2
GM
13052011-11-30 Juanma Barranquero <lekktu@gmail.com>
1306
1307 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1308 (hfy-shell-file-name, hfy-shell):
1309 * international/fontset.el (x-decompose-font-name): Fix typos.
1310
13112011-11-29 Ken Brown <kbrown@cornell.edu>
1312
1313 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1314 (gdb-version): Remove defvar.
1315 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1316 (gdb-gud-context-command, gdb-non-stop-handler)
1317 (gdb-current-context-command, gdb-stopped): Use it.
1318 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1319 (gdb-non-stop-handler): Don't enable pretty-printing here.
1320 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1321 non-stop mode. Use the following.
1322 (gdb-check-target-async): New defun.
1323 (gud-watch, gdb-stopped): Fix whitespace.
1324 (gdb-get-source-file): Don't try to display the source file if
1325 `gdb-main-file' is nil.
1326
13272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * align.el: Try to generate fewer markers (bug#10047).
1330 (align--set-marker): New macro.
1331 (align-region): Use it.
1332
c935221f
SM
13332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1336
e70b5064
CY
13372011-11-29 Chong Yidong <cyd@gnu.org>
1338
1339 * indent.el (indent-for-tab-command, indent-according-to-mode):
1340 Doc fix.
1341 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1342
f3af92b7
MA
13432011-11-29 Michael Albinus <michael.albinus@gmx.de>
1344
1345 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1346 aware of remote file names. (Bug#10124)
1347
ed472be9
CY
13482011-11-29 Chong Yidong <cyd@gnu.org>
1349
1350 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1351
24510c22
SM
13522011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * files.el (find-file): Don't use force-same-window (bug#10144).
1355 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1356 use pop-to-buffer if the selected window can't be used.
1357 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1358
c60c3703
EZ
13592011-11-28 Eli Zaretskii <eliz@gnu.org>
1360
1361 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1362 special-mode-map.
1363
e95def75
CY
13642011-11-28 Chong Yidong <cyd@gnu.org>
1365
1366 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1367
c3f1c606
NR
13682011-11-27 Nick Roberts <nickrob@snap.net.nz>
1369
1370 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1371 gdb-get-source-file-list on gdb-create-source-file-list.
1372
00db469c
EZ
13732011-11-26 Eli Zaretskii <eliz@gnu.org>
1374
1375 * whitespace.el (whitespace-newline): Use a different foreground
1376 color for 16-color light-background displays.
1377
4ad3bc2a
CY
13782011-11-24 Chong Yidong <cyd@gnu.org>
1379
1380 * window.el (display-buffer--special-action): Doc fix.
1381
e9fce1ac
JB
13822011-11-25 Juanma Barranquero <lekktu@gmail.com>
1383
1384 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1385 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1386 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1387 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1388 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1389 (avl-tree-stack-first):
1390 * emacs-lisp/cconv.el (cconv--analyse-use):
1391 * net/gnutls.el (gnutls-negotiate): Fix typos.
1392
cb825e5d
GM
13932011-11-24 Glenn Morris <rgm@gnu.org>
1394
3adbe224
GM
1395 * lpr.el (lpr-windows-system, lpr-lp-system):
1396 * mail/binhex.el (binhex-begin-line):
1397 * progmodes/grep.el (grep-history, grep-find-history):
1398 * textmodes/flyspell.el:
1399 * vc/pcvs-defs.el (cvs-global-menu):
1400 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1401 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1402 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1403
321decc8
GM
1404 * net/tls.el: Fix case of "GnuTLS".
1405
420b63ad
GM
1406 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1407
cb825e5d
GM
1408 * version.el (emacs-build-system): Give it a doc-string.
1409
a0649f08
JL
14102011-11-24 Juri Linkov <juri@jurta.org>
1411
1412 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1413
c0bc0fd4
GM
14142011-11-24 Glenn Morris <rgm@gnu.org>
1415
1416 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1417 if called on a non-mime message just toggle the headers. (Bug#8006)
1418
20db1522
JB
14192011-11-24 Juanma Barranquero <lekktu@gmail.com>
1420
1421 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1422 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1423 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1424 (allout-rebullet-heading, allout-open-sibtopic)
1425 (allout-toggle-current-subtree-encryption)
1426 (allout-toggle-subtree-encryption, allout-encrypt-string)
1427 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1428 (allout-distinctive-bullets-string, allout-auto-activation):
1429 * window.el (window-normalize-buffer-to-display):
1430 * progmodes/verilog-mode.el (verilog-batch-indent):
1431 * textmodes/bibtex.el (bibtex-field-braces-opt)
1432 (bibtex-field-strings-opt):
1433 * vc/cvs-status.el (cvs-tree-merge):
1434 Fix typos.
1435
7262a87c
MA
14362011-11-23 Michael Albinus <michael.albinus@gmx.de>
1437
1438 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1439 `non-essential' to t, in order to avoid remote connections.
1440
283430a1
EZ
14412011-11-23 Eli Zaretskii <eliz@gnu.org>
1442
a1beca85
SM
1443 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1444 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1445 case-insensitively.
1446
d2992a38
ML
14472011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1448
1449 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1450
50419064
GM
14512011-11-23 Glenn Morris <rgm@gnu.org>
1452
da94eca1
GM
1453 * paths.el (rmail-file-name): Reformat the doc-string so that it
1454 is picked up.
1455
9aac4de2
GM
1456 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1457 (rmail-auto-file): Ignore case in the "special" field names,
1458 as mail-fetch-field does for all others.
1459
8038d2d2
GM
1460 * mail/rmail.el (rmail-forward):
1461 * mail/rmailkwd.el (rmail-set-label):
1462 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1463 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1464
f3fe222a
GM
1465 * mail/rmail.el (rmail-current-message): Doc fix.
1466
50419064
GM
1467 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1468
28109f49
SM
14692011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1472
394c65f1
GM
14732011-11-22 Glenn Morris <rgm@gnu.org>
1474
1475 * mail/rmailmm.el (test-rmail-mime-handler)
1476 (test-rmail-mime-bulk-handler)
1477 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1478
f2a0aa3a
JL
14792011-11-21 Juri Linkov <juri@jurta.org>
1480
1154d12e
JB
1481 * calc/calc.el (calc-read-key-sequence):
1482 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1483
9c34a344
LMI
14842011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1485
1486 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1487 Tell the caller that the next line needs recomputation, even
1488 though it doesn't start a sexp (bug#10094).
1489
f04a3be9
SM
14902011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1493
7978747f
SM
14942011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1495
f04a3be9
SM
1496 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1497 Use force-same-window.
7978747f 1498
fe7a3057
JB
14992011-11-20 Juanma Barranquero <lekktu@gmail.com>
1500
1501 * descr-text.el (describe-char-unicode-data):
1502 * json.el (json-string-escape):
1503 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1504 (Footnote-unicode, Footnote-style-p):
1505 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1506
24901d61
CY
15072011-11-20 Chong Yidong <cyd@gnu.org>
1508
1509 * window.el (replace-buffer-in-windows): Restore interactive spec.
1510
bac7ff22
SM
15112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1512
24f3d7b9
SM
1513 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1514
bac7ff22
SM
1515 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1516 (byte-compile-global-not-obsolete-vars): New var.
1517 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1518 Use it.
1519 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1520
cd1181db
JB
15212011-11-20 Juanma Barranquero <lekktu@gmail.com>
1522
1523 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1524 * progmodes/pascal.el (electric-pascal-equal):
1525 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1526 * xml.el (xml-substitute-special): Fix typos.
1527
7fb18e9e
GM
15282011-11-20 Glenn Morris <rgm@gnu.org>
1529
1530 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1531 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1532 Doc fixes.
1533 (rmail-decode-mime-charset): Mark as obsolete.
1534
1535 * mail/rmailsum.el (rmail-message-regexp-p-1):
1536 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1537 Before using mime functions, check they are set. (Bug#10077)
1538
d5a6b3ba
JL
15392011-11-19 Juri Linkov <juri@jurta.org>
1540
1541 * info.el (Info-finder-find-node): Use `package--builtins' instead
1542 of `package-alist'. Use node names formed by the pattern "Keyword "
1543 and the keyword name.
1544
e981b61f
AS
15452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1546
1d00653d 1547 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1548
3ffbc301
JL
15492011-11-19 Juri Linkov <juri@jurta.org>
1550
1551 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1552 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1553 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1554 `old-history', `old-history-forward'. Add let-binding
1555 `window-selected'. Remove calls to `kill-buffer',
1556 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1557 before calling `Info-find-node', so `Info-find-node-2' will reread
1558 the Info file. Restore window positions only when `window-selected'
1559 is non-nil.
1560
30c62133
JL
15612011-11-19 Juri Linkov <juri@jurta.org>
1562
1563 * isearch.el (isearch-lazy-highlight-new-loop):
1564 Remove condition `(not isearch-error)'. (Bug#9918)
1565
1566 * misearch.el (multi-isearch-search-fun): Add condition
1567 `(not bound)' to ignore lazy-highlighting search.
1568 Add the search-failed message "end of multi" when the end of
1569 multi-sequence is reached. Uncapitalize the search-failed
1570 message "Repeat for next buffer".
1571
1572 * info.el (Info-search): Add the search-failed message
1573 "end of the manual" when the end of the manual is reached
1574 in Isearch mode.
1575
645ca9cf
JL
15762011-11-19 Juri Linkov <juri@jurta.org>
1577
1578 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1579 Use non-destructive `remove' instead of `delete' because
1580 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1581 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1582
df754f66
JL
15832011-11-19 Juri Linkov <juri@jurta.org>
1584
1585 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1586 to nil instead of binding `search-ring' and `regexp-search-ring'.
1587 (Bug#9185)
1588
0e23d96a
EZ
15892011-11-19 Eli Zaretskii <eliz@gnu.org>
1590
1591 * simple.el (line-move): Force movement by logical lines for any
1592 hscrolled window, not only when auto-hscroll-mode is on.
1593 (line-move-visual): Update doc string to that effect. (Bug#10076)
1594
8a6ccb66
AS
15952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1596
1597 * language/european.el (macintosh): Define as alias for mac-roman.
1598
49ae5b39
EZ
15992011-11-19 Eli Zaretskii <eliz@gnu.org>
1600
1601 * mail/rmailmm.el (rmail-mime-display-header)
1602 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1603 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1604 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1605 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1606 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1607 of a raw aref.
1608 (rmail-mime-entity-segment): To get past the tagline, move forward
1609 2 more lines, to account for the 2 empty lines that precede and
1610 follow the line with the buttons.
1611 (rmail-mime-update-tagline): Move one more line, to get past the
1612 empty line that follows the buttons in the tagline. (Bug#9520)
1613
c56cad4a
MR
16142011-11-19 Martin Rudalics <rudalics@gmx.at>
1615
1616 * window.el (window-max-delta-1, window-min-delta-1)
1617 (window-min-size-1, window-state-get-1, window-state-put-1)
1618 (window-state-put-2): Use "window--" prefix.
1619
cbe71af3
SM
16202011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1621
2ad52c60
SM
1622 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1623 (smie-warning-count): New var.
1624 (smie-set-prec2tab): Use it.
1625 (smie-bnf->prec2): Improve warnings. Add docstring.
1626 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1627 (smie-bnf--set-class): New function.
1628 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1629 corner case.
1630
6944dbc1
SM
1631 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1632 (compilation-error-properties, compilation-move-to-column):
1633 Handle compilation-first-column while in the target buffer.
1634
c400c4d7
SM
1635 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1636 Don't hardcode point-min==1.
1637
6dbe3e96
SM
1638 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1639 (eshell-rewrite-for-command): Remove workaround.
1640 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1641 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1642 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1643
cbe71af3
SM
1644 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1645
a8e1496d
GM
16462011-11-17 Glenn Morris <rgm@gnu.org>
1647
1648 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1649 Ignore buffer-local generated-autoload-file if it is the same
1650 as the global value. (Bug#10049)
1651
df85d315
JB
16522011-11-17 Juanma Barranquero <lekktu@gmail.com>
1653
1654 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1655 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1656 (reftex-toc-previous-heading, reftex-toc-max-level)
1657 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1658 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1659 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1660 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1661 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1662 (reftex-toc-rename-label, reftex-toc-visit-location)
1663 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1664 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1665 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1666 leaving "*toc*" only for references to the buffer.
1667
a0c2d0ae
MR
16682011-11-17 Martin Rudalics <rudalics@gmx.at>
1669
1670 * window.el (window-resize, delete-window, split-window):
1671 Replace window-splits by window-combination-resize.
1d00653d 1672 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1673
35c0bac8
GM
16742011-11-17 Glenn Morris <rgm@gnu.org>
1675
1676 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1677 Make bash entry derive from sh entry, not shell entry.
1678
d0c8fc8a
MA
16792011-11-16 Michael Albinus <michael.albinus@gmx.de>
1680
d0c8fc8a
MA
1681 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1682 properties of linked files. (Bug#9879)
1683
7262a87c
MA
1684 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1685 local file name.
1686
7877f373
JB
16872011-11-16 Juanma Barranquero <lekktu@gmail.com>
1688
1689 * menu-bar.el (menu-bar-file-menu):
1690 * printing.el (pr-ps-utility):
1691 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1692 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1693 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1694 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1695 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1696 (icalendar--convert-cyclic-to-ical)
1697 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1698 (icalendar--convert-ical-to-diary)
1699 (icalendar--convert-recurring-to-diary)
1700 (icalendar--convert-non-recurring-all-day-to-diary)
1701 (icalendar-import-format-sample):
1702 * progmodes/idlw-shell.el (idlwave-shell-mode):
1703 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1704 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1705 (vhdl-ps-print-init): Fix typos.
1706
10649b82
KM
17072011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1708
9d0cfcd6
GM
1709 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1710 FSF and collapse date sequence, obscure author/maintainer email address
1711 better, remove extra version line, track relocation of author's webpage.
10649b82 1712
9d0cfcd6
GM
1713 * progmodes/python.el (python-pdbtrack-input-prompt)
1714 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1715 regular python pdb prompts. Adjustments shamelessly taken exactly as
1716 suggested in EmacsWiki page (tiny change):
1717 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1718
58179cce
JB
17192011-11-16 Juanma Barranquero <lekktu@gmail.com>
1720
1721 * expand.el (expand-pos, expand-index, expand-point):
1722 Remove redundant info from docstring.
1723 (expand-add-abbrevs): Doc fix.
1724 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1725 (expand-sample-perl-mode-expand-list): Fix typos.
1726
1727 * net/dbus.el (dbus-event-member-name):
1728 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1729 * term/pc-win.el (msdos-create-frame-with-faces):
1730 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1731
b6f67890
MR
17322011-11-16 Martin Rudalics <rudalics@gmx.at>
1733
1734 * window.el (split-window, window-state-get-1)
1735 (window-state-put-1, window-state-put-2): Rename occurrences of
1736 window-nest to window-combination-limit.
1d00653d 1737 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1738
ce7ddba0
CY
17392011-11-16 Chong Yidong <cyd@gnu.org>
1740
1741 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1742 regexp (Bug#10033).
1743
3ae704f4
SM
17442011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1747 `completing-read' will remove *Completions* and will preserve
1748 current-buffer for us.
1749 (tmm-add-prompt): Users of *Completions* will always (re)set its
1750 major mode.
1751 (tmm-old-comp-map): Remove.
1752
6ad1cdde
GM
17532011-11-16 Glenn Morris <rgm@gnu.org>
1754
1755 * mail/rmailedit.el: Require rmailmm when compiling.
1756 (rmail-old-mime-state): New declaration.
1757 (rmail-edit-current-message): If editing a mime message,
1758 edit the "raw" message from the mbox buffer.
1759 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1760
d20faa20
GM
17612011-11-15 Glenn Morris <rgm@gnu.org>
1762
1763 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1764 which wasn't being used. Add optional arg to force given state.
1765 (rmail-mime): Add optional arg to force given state.
1766
c7015153
JB
17672011-11-15 Juanma Barranquero <lekktu@gmail.com>
1768
1769 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1770 * frame.el (display-mm-dimensions-alist):
1771 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1772 (outline-move-subtree-down):
1773 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1774 (newsticker--treeview-do-get-node):
1775 * net/quickurl.el (quickurl-list-buffer-name):
1776 * progmodes/dcl-mode.el (dcl-mode):
1777 * progmodes/gdb-mi.el (gdb-mapcar*):
1778 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1779
45261b50
GM
17802011-11-15 Glenn Morris <rgm@gnu.org>
1781
1782 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1783 in a boolean sense, so just make it a boolean, and fix the doc.
1784 (rmail-show-mime-function, rmail-mime-feature)
1785 (rmail-require-mime-maybe): Doc fixes.
1786 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1787
1788 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1789
0d26e0b6
JB
17902011-11-15 Juanma Barranquero <lekktu@gmail.com>
1791
1792 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1793 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1794 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1795 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1796
447f30f6
GM
17972011-11-15 Glenn Morris <rgm@gnu.org>
1798
672b871d
GM
1799 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1800 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1801 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1802 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1803 (rmail-mime, rmail-show-mime): Doc fixes.
1804
f6aa5bb1
GM
1805 * term/ns-win.el (mode-line-frame-identification):
1806 Leave it alone. (Bug#10051)
1807
947cd66b
GM
1808 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1809
447f30f6
GM
1810 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1811 Handle empty buffers. (Bug#9978)
1812
0b381c7e
JB
18132011-11-14 Juanma Barranquero <lekktu@gmail.com>
1814
1815 * international/mule.el (define-charset):
1816 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1817 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1818 * progmodes/verilog-mode.el (verilog-backward-token):
1819 * textmodes/ispell.el (lookup-words):
1820 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1821
71e027ac
GM
18222011-11-14 Glenn Morris <rgm@gnu.org>
1823
56632ce4
GM
1824 * progmodes/executable.el
1825 (executable-make-buffer-file-executable-if-script-p):
1826 Handle file-modes returning nil.
1827
40500957
GM
1828 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1829 message - not necessary, and causes problems. (Bug#9831)
1830
071c2340
GM
1831 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1832
d3cfca60
GM
1833 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1834
71e027ac
GM
1835 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1836 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1837 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1838
89d61221
MR
18392011-11-12 Martin Rudalics <rudalics@gmx.at>
1840
1841 * window.el (window-resize, delete-window): Use window-splits
1842 variable instead of function.
1843 (window-state-get-1, window-state-put-2, window-state-put):
1844 Don't deal with windows' splits status.
1845
98282f6f
GM
18462011-11-12 Glenn Morris <rgm@gnu.org>
1847
1848 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1849 (apropos-documentation): Doc fixes.
1850
40a8bdf6
JB
18512011-11-11 Juanma Barranquero <lekktu@gmail.com>
1852
1853 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1854 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1855
65bd19ff
SM
18562011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * electric.el (electric-indent-post-self-insert-function): Make it
1859 possible for a char to only indent in some circumstances.
1860 (electric-indent-mode): Simplify.
1861
54f9154c
MR
18622011-11-11 Martin Rudalics <rudalics@gmx.at>
1863
1864 * window.el (windows-with-parameter): Remove unused function.
1865 (windows-at-side): Rename to window-at-side-list.
1866 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1867 (window-side-check, window-size-ignore, window-size-fixed-1)
1868 (window-in-direction-2): Prefix with "window--".
1869 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1870
68cbc58b
GM
18712011-11-11 Glenn Morris <rgm@gnu.org>
1872
1873 * subr.el (eval-after-load): If FILE is already loaded,
1874 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1875
b2621720
GM
18762011-11-10 Glenn Morris <rgm@gnu.org>
1877
9a4de110
GM
1878 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1879 Call svn via vc-svn-command rather than vc-do-command.
1880 (vc-svn-command): Add --non-interactive. (Bug#9993)
1881 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1882
b2621720
GM
1883 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1884 Add toggle-read-only. (Bug#7292)
1885 * files.el (toggle-read-only): Mention that it should only
1886 be used interactively. (Bug#10006)
1887
1dce7193
SM
18882011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1889
d9ac1a1e
SM
1890 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1891 Adjust regexp for OCaml warnings.
1892
0c325082
SM
1893 * electric.el (electric-pair-post-self-insert-function): Let user
1894 turn it off buffer-locally (bug#9932).
1895
90132c14
SM
1896 * progmodes/python.el (python-beginning-of-statement):
1897 Rewrite (bug#2703).
1898
1dce7193
SM
1899 * progmodes/compile.el: Better handle TABs (bug#9749).
1900 (compilation-internal-error-properties)
1901 (compilation-next-error-function): Obey the target buffer's
1902 compilation-error-screen-columns.
1903
c4e7c63a
JB
19042011-11-09 Juanma Barranquero <lekktu@gmail.com>
1905
1906 * progmodes/meta-mode.el: Remove obsolete comments.
1907 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1908 Fix typos in docstrings.
1909
2cffd681
MR
19102011-11-09 Martin Rudalics <rudalics@gmx.at>
1911
1912 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1913 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1914 (window--resizable): New function. Make all callers of
1915 window-resizable call window--resizable instead.
1916 (window-resizable): Rewrite in terms of window--resizable.
1917
0edcba87
GM
19182011-11-08 Glenn Morris <rgm@gnu.org>
1919
1920 * progmodes/delphi.el (delphi-mode-syntax-table):
1921 Let define-derived-mode define a proper syntax table. (Bug#9994)
1922
4b0d61e3
SM
19232011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1924
1925 * window.el: Stay away from defsubst.
1926 (window-list-no-nils): Remove.
1927 (window-state-get-1, window-state-get): Use backquote instead.
1928
cd394be1 19292011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1930
4b0d61e3 1931 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1932 Fix incorrect use of default argument in `completing-read'.
1933
e1c2c6f2
MR
19342011-11-08 Martin Rudalics <rudalics@gmx.at>
1935
1936 * window.el (display-buffer-function, special-display-function):
1937 Mention display-buffer-record-window but do not mention
1938 help-setup parameter in doc-strings.
b3f4a882 1939 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1940
105216ed
CY
19412011-11-08 Chong Yidong <cyd@gnu.org>
1942
1943 * window.el (window-total-height, window-total-width): Doc fix.
1944 (window-body-size): Move from C.
1945 (window-body-height, window-body-width): Move to C.
1946
0a9f9ab5
SM
19472011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * window.el: Make special-display like display-buffer-alist (bug#9532).
1950 (display-buffer--special-action): New function, morphed
1951 from display-buffer--special.
1952 (display-buffer): Use it to handle special-display-buffers at higher
1953 priority (just after display-buffer-alist).
1954 (display-buffer-fallback-action, display-buffer--other-frame-action)
1955 (pop-to-buffer-same-window): Remove display-buffer--special.
1956
a769dd15
GM
19572011-11-07 Glenn Morris <rgm@gnu.org>
1958
1959 * calendar/cal-menu.el (cal-menu-set-date-title):
1960 Do nothing if not in a calendar. (Bug#9976)
1961
05a61ee3
SM
19622011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * files.el (find-file): Always use selected-window.
1965
be7f5545
MR
19662011-11-07 Martin Rudalics <rudalics@gmx.at>
1967
1968 * window.el (window-combinations): Make WINDOW argument
1969 mandatory. Rewrite doc-string.
1970 (walk-window-subtree, window-atom-check, window-min-delta)
1971 (window-max-delta, window--resize-this-window)
1972 (window--resize-root-window-vertically, window-tree)
1973 (balance-windows, window-state-put): Rewrite doc-strings as to
1974 not mention the term "subwindow".
1975 (window--resize-subwindows-skip-p): Rename to
1976 window--resize-child-windows-skip-p.
1977 (window--resize-subwindows-normal): Rename to
1978 window--resize-child-windows-normal.
1979 (window--resize-subwindows): Rename to
1980 window--resize-child-windows.
1981 (window-or-subwindow-p): Rename to window--in-subtree-p.
1982
3c6702ef
ML
19832011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1984
1985 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1986 Ensure that mbox format messages end in two newlines (Bug#9974).
1987
49745b39
CY
19882011-11-06 Chong Yidong <cyd@gnu.org>
1989
1990 * window.el (window-combination-p): Function deleted; its
1991 side-effect is not used in any existing code.
1992 (window-combinations, window-combined-p): Call window-*-child
1993 directly.
1994
24300f5f
CY
19952011-11-05 Chong Yidong <cyd@gnu.org>
1996
1997 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1998 (window-size-ignore, window-state-get): Callers changed.
1999 (window-normalize-window): Rename from window-normalize-any-window.
2000 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 2001 (window-normalize-live-window): Delete.
447f16b8
CY
2002 (window-combination-p, window-combined-p, window-combinations)
2003 (walk-window-subtree, window-atom-root, window-min-size)
2004 (window-sizable, window-sizable-p, window-size-fixed-p)
2005 (window-min-delta, window-max-delta, window-resizable)
2006 (window-resizable-p, window-full-height-p, window-full-width-p)
2007 (window-current-scroll-bars, window-point-1, set-window-point-1)
2008 (window-at-side-p, window-in-direction, window-resize)
2009 (adjust-window-trailing-edge, maximize-window, minimize-window)
2010 (window-deletable-p, delete-window, delete-other-windows)
2011 (record-window-buffer, unrecord-window-buffer)
2012 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2013 (quit-window, split-window, window-state-put)
2014 (set-window-text-height, fit-window-to-buffer)
2015 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 2016
89bd5ee1
EZ
20172011-11-04 Eli Zaretskii <eliz@gnu.org>
2018
53479029
EZ
2019 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2020 rfc2047-decode-string.
2021 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2022 warnings.
2023
89bd5ee1
EZ
2024 * window.el (window-body-height, window-body-width): Mention in
2025 the doc string that the return values are in frame's canonical
2026 units. (Bug#9949)
2027
bd17fdee
AM
20282011-11-03 Alan Mackenzie <acm@muc.de>
2029
2030 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2031 change in cc-engine.el.
2032
acc825c5
SM
20332011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2036
1885e5b8
MR
20372011-11-02 Martin Rudalics <rudalics@gmx.at>
2038
2039 * window.el (quit-window): Call unrecord-window-buffer after
2040 showing another buffer in the window. (Bug#9937)
acc825c5 2041 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 2042
ebe06da9
JB
20432011-11-02 Juanma Barranquero <lekktu@gmail.com>
2044
2045 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2046 Accept status with more than 9 shelves. (Bug#9935)
2047 Reported by Colin D Bennett <colin@gibibit.com>.
2048
4ee88440
MR
20492011-11-01 Martin Rudalics <rudalics@gmx.at>
2050
2051 * help.el (with-help-window): Don't reference
2052 temp-buffer-show-specifiers in doc-string.
2053
08e1d82c
AS
20542011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2055
2056 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2057 menu-item.
2058
84bd6e9e
VJL
20592011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2060
2061 * whitespace.el: New version 13.2.2.
2062 (whitespace-newline-mode): Disable properly. Reported by Sarah
2063 <EmacsWiki>.
2064
dba0634a
UJ
20652011-10-30 Ulf Jasper <ulf.jasper@web.de>
2066
2067 * net/newst-treeview.el: Remove "Time-stamp".
2068 (newsticker--group-manage-orphan-feeds): Do not call
2069 newsticker--treeview-tree-update.
db22a3c2
JB
2070 (newsticker-treeview-update, newsticker-treeview):
2071 Call newsticker--treeview-tree-update if necessary.
dba0634a 2072
3d8daefe
MR
20732011-10-30 Martin Rudalics <rudalics@gmx.at>
2074
2075 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
2076 (window-iso-combinations): Remove "iso-" infix.
2077 Suggested by Chong Yidong.
3d8daefe
MR
2078 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2079 (window-max-delta-1, window-resize, window--resize-siblings)
2080 (window--resize-this-window, adjust-window-trailing-edge)
2081 (split-window, balance-windows-1)
2082 (shrink-window-if-larger-than-buffer):
2083 * calendar/calendar.el (calendar-generate-window):
db22a3c2 2084 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 2085
1bc4c3ae
SM
20862011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2089 in place (bug#9907).
2090 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2091 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2092 (eshell-structure-basic-command, eshell-rewrite-while-command)
2093 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2094 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2095 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2096 (eshell-do-pipelines-synchronously, eshell-eval-command):
2097 Use backquotes and prefer setq to set.
2098 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2099 (eshell-macrop): Use functionp.
c1e2f5fa 2100 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 2101
30b65d9c
CY
21022011-10-30 Chong Yidong <cyd@gnu.org>
2103
2104 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2105 instead of set-mark (Bug#9810).
2106
2d197ffb
CY
21072011-10-30 Chong Yidong <cyd@gnu.org>
2108
2109 * window.el (split-window-below, split-window-right): Rename from
2110 split-window-above-each-other and split-window-side-by-side
2111 respectively. All callers changed.
2112 (split-window-sensibly, split-window-sensibly): Use them.
2113 (split-window-keep-point): Doc fix.
2114
2115 * isearch.el: Add isearch-scroll property to split-window-below
2116 and split-window-right.
2117
2118 * follow.el (follow-mode):
2119 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2120 * progmodes/ada-xref.el (ada-gdb-application):
2121 * emulation/vip.el (vip-buffer-in-two-windows):
2122 * image-dired.el (image-dired-dired-with-window-configuration):
2123 * dired-x.el (dired-do-find-marked-files):
2124 * dired.el (dired-pop-to-buffer):
2125 * bs.el (bs--show-with-configuration):
2126 * vc/emerge.el (emerge-setup-windows):
2127 * textmodes/two-column.el (2C-two-columns):
2128 * textmodes/reftex-toc.el (reftex-toc):
2129 * progmodes/gdb-mi.el (gdb-setup-windows):
2130 * progmodes/fortran.el (fortran-window-create):
2131 * net/newst-treeview.el (newsticker--treeview-window-init):
2132 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2133 * emulation/tpu-edt.el (tpu-gold-map):
2134 * emulation/crisp.el (crisp-mode-map):
2135 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2136
38bb2ca8
CY
21372011-10-29 Chong Yidong <cyd@gnu.org>
2138
aa4de341
CY
2139 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2140
e1eb5385
CY
2141 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2142
5d2ece3c
CY
2143 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2144 forged Ispell output (Bug#7904).
2145
38bb2ca8
CY
2146 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2147
d0af9f77
SM
21482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * doc-view.el: Avoid ugly errors about not finding nil.
2151 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2152 (doc-view-dvipdf-program, doc-view-unoconv-program)
2153 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2154 Avoid nil or absolute file name as default value.
2155 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2156
52bedd34
AM
21572011-10-28 Alan Mackenzie <acm@muc.de>
2158
db22a3c2 2159 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2160
7e43cfa5
AM
21612011-10-28 Alan Mackenzie <acm@muc.de>
2162
2163 Amend the handling of c-beginning/end-of-defun in nested declaration
2164 scopes.
2165
52bedd34
AM
2166 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2167 cc-langs.el. Change it to a defcustom.
7e43cfa5 2168
52bedd34
AM
2169 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2170 cc-vars.el.
7e43cfa5 2171
d0af9f77
SM
2172 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2173 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2174
52bedd34 2175 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2176 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2177 (c-widen-to-enclosing-decl-scope): New function.
2178 (c-while-widening-to-decl-block): New macro.
2179 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2180 outward for defun boundaries, and correspondingly change symbol
2181 `respect-enclosure' to `go-outward'.
2182 (c-declaration-limits): Change algorithm to report only the "innermost"
2183 defun's boundaries.
2184
1a2ce9ee
DD
21852011-10-28 Deniz Dogan <deniz@dogan.se>
2186
2187 * net/rcirc.el (rcirc-mode): Use hard newlines.
2188
bc97a826
AM
21892011-10-28 Alan Mackenzie <acm@muc.de>
2190
2191 Amend to indent and fontify macros "which include their own semicolon"
2192 correctly, using the "virtual semicolon" mechanism.
2193
52bedd34 2194 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2195
d0af9f77 2196 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2197 Recode to scan one line at a time rather than having \n and \r
58179cce 2198 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2199 (c-forward-label): Amend for virtual semicolons.
58179cce 2200 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2201
52bedd34
AM
2202 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2203 of the new C macros.
bc97a826 2204
52bedd34 2205 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2206 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2207 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2208 (c-opt-cpp-macro-define): Make into a full language variable.
2209 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2210 AWK Mode (including \n, \r) removed, no longer needed.
2211
d0af9f77
SM
2212 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2213 Invoke c-make-macro-with-semi-re.
bc97a826 2214
52bedd34
AM
2215 * progmodes/cc-vars.el (c-macro-with-semi-re):
2216 (c-macro-names-with-semicolon): New variables.
58179cce 2217 (c-make-macro-with-semi-re): New function.
bc97a826 2218
7a6c0941
SM
22192011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2220
2221 * vc/log-edit.el: Fill empty field rather than adding new one.
2222 (log-edit-add-field): New function.
2223 (log-edit-insert-changelog): Use it.
2224
b0c4cdcf
ML
22252011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2226
2227 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2228
ee1f1da9
SM
22292011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2232 (gdb--check-interpreter): New function.
2233 (gdb): Use it.
2234
51bc5f8b
GM
22352011-10-27 Glenn Morris <rgm@gnu.org>
2236
416a2c45
GM
2237 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2238 (least-positive-float, least-negative-float)
2239 (least-positive-normalized-float, least-negative-normalized-float)
2240 (float-epsilon, float-negative-epsilon):
2241 Remove unnecessary declarations.
2242
2243 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2244 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2245 (least-positive-float, least-negative-float)
2246 (least-positive-normalized-float, least-negative-normalized-float)
2247 (float-epsilon, float-negative-epsilon): Add doc-strings,
2248 based on those in cl.texi.
2249
51bc5f8b
GM
2250 * files.el (set-visited-file-name): If the major-mode changed,
2251 reload the local variables. (Bug#9796)
2252
15de15c6
CY
22532011-10-27 Chong Yidong <cyd@gnu.org>
2254
2255 * subr.el (change-major-mode-after-body-hook): New hook.
2256 (run-mode-hooks): Run it.
2257
ee1f1da9
SM
2258 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2259 Use change-major-mode-before-body-hook.
15de15c6
CY
2260
2261 * simple.el (fundamental-mode):
2262 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2263 change introducing fundamental-mode-hook.
2264
5430d399
JB
22652011-10-26 Juanma Barranquero <lekktu@gmail.com>
2266
acc825c5 2267 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2268
ad74a69e
MA
22692011-10-26 Michael Albinus <michael.albinus@gmx.de>
2270
2271 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2272 tramp.el explicitly. (Bug#7583)
ad74a69e 2273
71d4c2a5
SM
22742011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * progmodes/octave-mod.el:
2277 * progmodes/octave-inf.el: Update maintainer.
2278
b1f6fa26
CY
22792011-10-26 Chong Yidong <cyd@gnu.org>
2280
2281 * subr.el (with-wrapper-hook): Rewrite doc.
2282
3f04efd6
MA
22832011-10-25 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2286 filenames "/method:foo:". (Bug#9793)
3f04efd6 2287
410488d3
SM
22882011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2291 (bug#9865).
2292
c1ebb47e
GM
22932011-10-24 Glenn Morris <rgm@gnu.org>
2294
2295 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2296
7f5c46c7
MA
22972011-10-24 Michael Albinus <michael.albinus@gmx.de>
2298
2299 * notifications.el: Add the requirement of a running D-Bus session
2300 bus to the Commentary.
2301
db2440b6
JL
23022011-10-24 Juri Linkov <juri@jurta.org>
2303
2304 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2305 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2306 (Bug#9364)
2307
feecf435
JL
23082011-10-24 Juri Linkov <juri@jurta.org>
2309
2310 * info.el (Info-following-node-name-re): Add newline to the list
2311 of allowed characters for leading space. (Bug#9824)
2312
a3839de2
SM
23132011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2314
acc825c5
SM
2315 * progmodes/octave-inf.el (inferior-octave-mode-map):
2316 Fix C-c C-h binding.
a3839de2
SM
2317 * progmodes/octave-mod.el (octave-help): Remove.
2318
09388e76
MA
23192011-10-23 Michael Albinus <michael.albinus@gmx.de>
2320
2321 Sync with Tramp 2.2.3.
2322
2323 * net/tramp-cache.el (top): Pacify byte-compiler using
2324 `init-file-user' and `site-run-file'.
2325
2326 * net/trampver.el: Update release number.
2327
86c60681
CY
23282011-10-23 Chong Yidong <cyd@gnu.org>
2329
2330 * files.el (toggle-read-only): Remove obsolete comment about
2331 version control.
2332
2333 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2334 for toggle-read-only. Note that this hasn't called vc-next-action
2335 since 2008-05-02, though it wasn't documented at the time.
2336
a3839de2
SM
2337 * vc/ediff-init.el (ediff-toggle-read-only-function):
2338 Use toggle-read-only.
86c60681 2339
cd5495ff
AM
23402011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2341
2342 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2343 of c-parse-state.
2344
00b77525 2345 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2346 correct faulty logical expression.
cd5495ff
AM
2347 (c-parse-state-state, c-record-parse-state-state):
2348 (c-replay-parse-state-state): New defvar/defuns.
2349 (c-debug-parse-state): Use new functions.
2350
42ee24ed
MR
23512011-10-22 Martin Rudalics <rudalics@gmx.at>
2352
2353 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2354 last fix. Use window-in-direction correctly.
42ee24ed 2355
a7dee7e7
CY
23562011-10-21 Chong Yidong <cyd@gnu.org>
2357
2358 * progmodes/idlwave.el (idlwave-mode):
2359 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2360 require-final-newline; that's done in prog-mode.
2361 Suggested by Stefan Monnier.
a7dee7e7 2362
e07b9a6d
MR
23632011-10-21 Martin Rudalics <rudalics@gmx.at>
2364
2365 * mouse.el (mouse-drag-window-above)
2366 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2367 (mouse-drag-mode-line-1, mouse-drag-header-line)
2368 (mouse-drag-vertical-line-rightward-window): Remove.
2369 (mouse-drag-line): New function.
2370 (mouse-drag-mode-line, mouse-drag-header-line)
2371 (mouse-drag-vertical-line): Call mouse-drag-line.
2372 * window.el (window-at-side-p, windows-at-side): New functions.
2373
7e1361d9
UM
23742011-10-21 Ulrich Mueller <ulm@gentoo.org>
2375
2376 * tar-mode.el (tar-grind-file-mode):
2377 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2378
30fcaf3a
CY
23792011-10-21 Chong Yidong <cyd@gnu.org>
2380
2381 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2382 * progmodes/vera-mode.el (vera-mode):
2383 Use mode-require-final-newline.
30fcaf3a 2384
516eddb0
GM
23852011-10-20 Glenn Morris <rgm@gnu.org>
2386
db22a3c2 2387 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2388
10d5f513
CS
23892011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2390
2391 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2392
ac6c8639
CY
23932011-10-20 Chong Yidong <cyd@gnu.org>
2394
2395 * emulation/cua-base.el (cua-mode):
2396 * mail/footnote.el (footnote-mode):
2397 * mail/mailabbrev.el (mail-abbrevs-mode):
2398 * net/xesam.el (xesam-minor-mode):
2399 * progmodes/bug-reference.el (bug-reference-mode):
2400 * progmodes/cap-words.el (capitalized-words-mode):
2401 * progmodes/compile.el (compilation-minor-mode)
2402 (compilation-shell-minor-mode):
2403 * progmodes/gud.el (gud-tooltip-mode):
2404 * progmodes/hideif.el (hide-ifdef-mode):
2405 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2406 * progmodes/subword.el (subword-mode):
2407 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2408 * progmodes/which-func.el (which-function-mode):
2409 * term/tvi970.el (tvi970-set-keypad-mode):
2410 * term/vt100.el (vt100-wide-mode):
2411 * textmodes/flyspell.el (flyspell-mode):
2412 * textmodes/ispell.el (ispell-minor-mode):
2413 * textmodes/nroff-mode.el (nroff-electric-mode):
2414 * textmodes/paragraphs.el (use-hard-newlines):
2415 * textmodes/refill.el (refill-mode):
2416 * textmodes/reftex.el (reftex-mode):
2417 * textmodes/rst.el (rst-minor-mode):
2418 * textmodes/sgml-mode.el (html-autoview-mode)
2419 (sgml-electric-tag-pair-mode):
2420 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2421 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2422 * emulation/crisp.el (crisp-mode):
2423 * emacs-lisp/eldoc.el (eldoc-mode):
2424 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2425 minor mode behavior.
2426
aa42ab43
JL
24272011-10-19 Juri Linkov <juri@jurta.org>
2428
2429 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2430 the list of hard-coded chars with escape-glyph face.
2431
89400f1d
SM
24322011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2435
305c07f6
MA
24362011-10-19 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2439 running process.
2440
13754b54
GM
24412011-10-19 Glenn Morris <rgm@gnu.org>
2442
2443 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2444 Ignore ignored files. (Bug#9726)
2445
06e21633
CY
24462011-10-19 Chong Yidong <cyd@gnu.org>
2447
2448 Doc fix for minor modes, stating that an omitted argument enables
2449 the mode unconditionally when called from Lisp.
2450
2451 * abbrev.el (abbrev-mode):
2452 * allout.el (allout-mode):
2453 * autoinsert.el (auto-insert-mode):
2454 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2455 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2456 (global-auto-revert-mode):
2457 * battery.el (display-battery-mode):
2458 * composite.el (global-auto-composition-mode)
2459 (auto-composition-mode):
2460 * delsel.el (delete-selection-mode):
2461 * desktop.el (desktop-save-mode):
2462 * dired-x.el (dired-omit-mode):
2463 * dirtrack.el (dirtrack-mode):
2464 * doc-view.el (doc-view-minor-mode):
2465 * double.el (double-mode):
2466 * electric.el (electric-indent-mode, electric-pair-mode):
2467 * emacs-lock.el (emacs-lock-mode):
2468 * epa-hook.el (auto-encryption-mode):
2469 * follow.el (follow-mode):
2470 * font-core.el (font-lock-mode):
2471 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2472 * help.el (temp-buffer-resize-mode):
2473 * hilit-chg.el (highlight-changes-mode)
2474 (highlight-changes-visible-mode):
2475 * hi-lock.el (hi-lock-mode):
2476 * hl-line.el (hl-line-mode, global-hl-line-mode):
2477 * icomplete.el (icomplete-mode):
2478 * ido.el (ido-everywhere):
2479 * image-file.el (auto-image-file-mode):
2480 * image-mode.el (image-minor-mode):
2481 * iswitchb.el (iswitchb-mode):
2482 * jka-cmpr-hook.el (auto-compression-mode):
2483 * linum.el (linum-mode):
2484 * longlines.el (longlines-mode):
2485 * master.el (master-mode):
2486 * mb-depth.el (minibuffer-depth-indicate-mode):
2487 * menu-bar.el (menu-bar-mode):
2488 * minibuf-eldef.el (minibuffer-electric-default-mode):
2489 * mouse-sel.el (mouse-sel-mode):
2490 * msb.el (msb-mode):
2491 * mwheel.el (mouse-wheel-mode):
2492 * outline.el (outline-minor-mode):
2493 * paren.el (show-paren-mode):
2494 * recentf.el (recentf-mode):
2495 * reveal.el (reveal-mode, global-reveal-mode):
2496 * rfn-eshadow.el (file-name-shadow-mode):
2497 * ruler-mode.el (ruler-mode):
2498 * savehist.el (savehist-mode):
2499 * scroll-all.el (scroll-all-mode):
2500 * scroll-bar.el (scroll-bar-mode):
2501 * server.el (server-mode):
2502 * shell.el (shell-dirtrack-mode):
2503 * simple.el (auto-fill-mode, transient-mark-mode)
2504 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2505 (line-number-mode, column-number-mode, size-indication-mode)
2506 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2507 * strokes.el (strokes-mode):
2508 * time.el (display-time-mode):
2509 * t-mouse.el (gpm-mouse-mode):
2510 * tool-bar.el (tool-bar-mode):
2511 * tooltip.el (tooltip-mode):
2512 * type-break.el (type-break-mode-line-message-mode)
2513 (type-break-query-mode):
2514 * view.el (view-mode):
2515 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2516 (global-whitespace-mode, global-whitespace-newline-mode):
2517 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2518
a3839de2
SM
2519 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2520 Fix autogenerated docstring.
06e21633 2521
5214e501
JL
25222011-10-19 Juri Linkov <juri@jurta.org>
2523
2524 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2525 by checking environment variables "DESKTOP_SESSION" and
2526 "XDG_CURRENT_DESKTOP". (Bug#9779)
2527
195f8db9
JL
25282011-10-19 Juri Linkov <juri@jurta.org>
2529
2530 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2531 (browse-url-chromium-program, browse-url-chromium-arguments):
2532 New defcustoms.
2533 (browse-url-default-browser): Check for `browse-url-chromium' and
2534 call `browse-url-chromium-program'.
2535 (browse-url-chromium): New command. (Bug#9779)
2536
343a34ff
JB
25372011-10-18 Juanma Barranquero <lekktu@gmail.com>
2538
2539 * facemenu.el (list-colors-duplicates): On Windows, detect more
2540 duplicates by assuming that only colors matching "^System" are
2541 special "system colors". (Bug#9722)
2542
6978a151
SM
25432011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2546 to distinguish the author from the committer.
2547
6a80b297
MA
25482011-10-18 Michael Albinus <michael.albinus@gmx.de>
2549
2550 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2551
b31a5677
JK
25522011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2553
2554 * international/mule.el (sgml-html-meta-auto-coding-function):
2555 Add support for detecting encoding in HTML5 specified only as
2556 <meta charset="UTF-8">. Implementation just makes http-equiv and
2557 content-type parts from HTML4 encoding string optional. (Bug#9716)
2558
80c6d77f
GM
25592011-10-18 Glenn Morris <rgm@gnu.org>
2560
2561 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2562
08b0fee8
CY
25632011-10-18 Chong Yidong <cyd@gnu.org>
2564
2565 * faces.el (cursor): Doc fix.
2566
67e729a5
CY
25672011-10-17 Chong Yidong <cyd@gnu.org>
2568
2569 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2570
343a34ff 25712011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2572
2573 * dirtrack.el (dirtrack): Support shell buffers with path
2574 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2575
0bc06380
TZ
25762011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2577
2578 * json.el: Bump version to 1.3 and note change in History.
2579 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2580
8b79f3e0
SM
25812011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2582
5a7c536b
SM
2583 * comint.el (comint-insert-input, comint-send-input)
2584 (comint-get-old-input-default, comint-backward-matching-input)
2585 (comint-next-prompt): Use nil instead of `input' for field property of
2586 past user input (bug#114).
2587
96a8a0df
SM
2588 * minibuffer.el (completion--replace): Inherit surrounding properties
2589 (bug#114).
2590 (minibuffer-complete-and-exit): Use it.
2591
8b79f3e0
SM
2592 * comint.el (comint--table-subvert): Quote the all-completions output
2593 (bug#9160).
2594
b8f7ff0d
MR
25952011-10-17 Martin Rudalics <rudalics@gmx.at>
2596
8b79f3e0 2597 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2598
b8f7ff0d 2599 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2600 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2601 entries and separate them from frame entries.
2602
c235b555
GM
26032011-10-15 Glenn Morris <rgm@gnu.org>
2604
2605 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2606 Doc fixes.
2607
6bbfa6e1
CY
26082011-10-15 Chong Yidong <cyd@stupidchicken.com>
2609
8b79f3e0
SM
2610 * net/network-stream.el (network-stream-open-starttls):
2611 Improve detection of failure due to lack of TLS support.
ec5c990d 2612
6bbfa6e1
CY
2613 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2614 putting the input text in front and in bold.
2615
98488977
SM
26162011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2617
3d1337be
SM
2618 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2619
ee0b45e4
SM
2620 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2621 empty buffer.
2622
98488977
SM
2623 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2624 unread-command-events rather than pushing yet-another event.
2625
186f4720
EZ
26262011-10-14 Eli Zaretskii <eliz@gnu.org>
2627
2628 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2629 the explanation of the possible choices. Make the options passed
2630 to completing-read shorter.
2631
8b7a997c
AM
26322011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2633
2634 * textmodes/flyspell.el (flyspell-large-region): Make sure
2635 extended character mode is used if defined (Bug#1339).
2636
12587bbb
EZ
26372011-10-13 Eli Zaretskii <eliz@gnu.org>
2638
2639 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2640 character info for LRE, LRO, RLE, and RLO characters by appending
2641 an invisible PDF.
12587bbb 2642
bad41229
SM
26432011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2646 even in case of error; add debug spec; simplify data flow.
2647 (with-timeout-handler): Remove.
2648
28dbc92f
MA
26492011-10-12 Michael Albinus <michael.albinus@gmx.de>
2650
2651 Fix Bug#6019, Bug#9315.
2652
2653 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2654 complete `buffer-file-name', the local file name part could look
2655 remotely (for example on VMS).
2656
2657 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2658 `tramp-run-real-handler'.
2659 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2660 already quoted by '"'.
2661
2662 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2663 Let `file-name-handler-alist' be nil, the local file name part
2664 could look remotely (for example on VMS).
2665
e1b0b23a
SM
26662011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2669 from here...
2670 (flyspell-post-command-hook): ...to here.
2671
a120bde9
SM
26722011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2675 if not needed.
2676 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2677 using completion. Protect against "slow" callers.
2678 Remove the "message hack".
2679
7ce7717b
JL
26802011-10-11 Juri Linkov <juri@jurta.org>
2681
2682 * isearch.el (isearch-lazy-highlight-word): New variable.
2683 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2684 Use it. (Bug#9727)
2685
c02ee9d6
GM
26862011-10-11 Glenn Morris <rgm@gnu.org>
2687
2688 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2689 like f90-previous-statement does.
2690
93e616fd 26912011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2692
1f190e73 2693 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2694 only in interactive use, to avoid error.
2695
af7b6078
SM
26962011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * minibuffer.el (completion-file-name-table): Fix last change,
2699 i.e. ignore normal errors but not the other ones.
2700
0563dae9
MR
27012011-10-10 Martin Rudalics <rudalics@gmx.at>
2702
2703 * window.el (special-display-buffer-names)
2704 (special-display-regexps): Remove some remnants of earlier
2705 changes from doc-strings.
366ca7f3
MR
2706 (quit-windows-on): New function.
2707
2708 * vc/vc.el (vc-revert, vc-rollback):
2709 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2710 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2711 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2712
49677495
MR
27132011-10-09 Martin Rudalics <rudalics@gmx.at>
2714
2715 * window.el (frame-auto-hide-function): Add version tag.
2716 (Bug#9699)
2717
56f2d1e1
MA
27182011-10-09 Michael Albinus <michael.albinus@gmx.de>
2719
2720 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2721 condition.
2722
112a6592
LL
27232011-10-09 Leo Liu <sdl.web@gmail.com>
2724
2725 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2726 (Bug#9701)
2727
0812589b
GM
27282011-10-08 Glenn Morris <rgm@gnu.org>
2729
2730 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2731 before the first code statement zero indent. (Bug#9690)
2732
b2b0776e
CY
27332011-10-08 Chong Yidong <cyd@stupidchicken.com>
2734
2735 * simple.el (count-words-region): Always count in the region.
2736 Report the number of lines and characters too.
2737 (count-words): New command, which counts in the buffer if the
2738 region is inactive, as count-words-region used to.
2739 (count-words--message): New function. Handle plurals.
2740 (count-lines-region): Make it an alias for count-words-region.
2741
2742 * bindings.el (esc-map): Replace count-lines-region with
2743 count-words-region.
2744
c557cd6b
MR
27452011-10-08 Martin Rudalics <rudalics@gmx.at>
2746
2747 * window.el (window--delete): Delete dedicated frame
2748 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2749 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2750
61a57ef4 27512011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2752
2753 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2754
c3833279
CY
27552011-10-07 Chong Yidong <cyd@stupidchicken.com>
2756
2757 * bindings.el ([M-left],[M-right]): Bind to left-word and
2758 right-word respectively.
2759
21ce8245
GM
27602011-10-07 Glenn Morris <rgm@gnu.org>
2761
2762 * cus-start.el (debug-on-quit): Fix custom type.
2763
6d823bb2
LMI
27642011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2765
0181e193
LMI
2766 * subr.el (define-key-after): Clarify that the function is not
2767 useful for non-menu keymaps.
2768
6d823bb2
LMI
2769 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2770
8e3459ce 27712011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2772
21ce8245 2773 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2774 in current minibuffer (Fix bug with recursive minibuffers).
2775
a1c2d21e
CY
27762011-10-06 Chong Yidong <cyd@stupidchicken.com>
2777
2778 * progmodes/gdb-mi.el (gdb): Doc fix.
2779
5a4cf282
MR
27802011-10-05 Martin Rudalics <rudalics@gmx.at>
2781
2782 * window.el (frame-auto-hide-function): New option replacing
2783 frame-auto-delete. Suggested by Stefan Monnier.
2784 (window--delete): Call frame-auto-hide-function instead of
2785 investigating frame-auto-delete.
c96111ea
MR
2786 (window-point-1, set-window-point-1): New functions.
2787 (window-in-direction, record-window-buffer, window-state-get-1)
2788 (display-buffer-record-window): Use window-point-1 instead of
2789 window-point.
2790 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2791
9854542e
SM
27922011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2795
8943cfb0
GM
27962011-10-05 Glenn Morris <rgm@gnu.org>
2797
2798 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2799 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2800
647ab967
LL
28012011-10-05 Leo Liu <sdl.web@gmail.com>
2802
2803 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2804 works with buffer object.
2805
3ddfbced
SM
28062011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * mpc.el (mpc-tool-bar-map): Add labels.
2809
bdfa5dd2
GM
28102011-10-04 Glenn Morris <rgm@gnu.org>
2811
2812 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2813
0e2070b5
MR
28142011-10-04 Martin Rudalics <rudalics@gmx.at>
2815
2816 * window.el (window--delete): New function.
2817 (frame-auto-delete): Resuscitate option.
2818 (bury-buffer, replace-buffer-in-windows)
2819 (quit-window): Rewrite using window--delete.
2820 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2821 Pass display-buffer-mark-dedicated to window--display-buffer-2
2822 (Bug#9639).
2823
3dc61a09
SM
28242011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2825
915a9b64
SM
2826 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2827 returns a list (bug#9554). Add remote file name completion.
2828 * comint.el (comint--table-subvert): Curry and get quote&unquote
2829 functions as arguments.
2830 (comint--complete-file-name-data): Adjust call accordingly.
2831 * pcomplete.el (pcomplete--table-subvert): Remove.
2832 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2833
3dc61a09
SM
2834 * minibuffer.el (completion-table-case-fold): Use currying.
2835 (completion--styles-type, completion--cycling-threshold-type):
2836 New constants.
2837 (completion-styles, completion-category-overrides)
2838 (completion-cycle-threshold): Use them.
2839 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2840 completion-table-case-fold.
2841
8ea0a993
SB
28422011-10-03 Stephen Berman <stephen.berman@gmx.net>
2843
2844 * minibuffer.el (completion-category-overrides): Fix type of styles
2845 and add more user friendly tags (bug#9660).
2846
8c24b7f6
SM
28472011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2850 (mule-input-method-string): New widget.
2851 (default-input-method, language-info-custom-alist): Use it.
2852
428fe61a
SM
28532011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2854
32c1fffd
SM
2855 * pcomplete.el: Require comint.
2856 (pcomplete--common-suffix): Remove.
2857 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2858 (pcomplete--table-subvert): Sync with comint--table-subvert.
2859 (pcomplete--entries): Use comint-completion-file-name-table.
2860 * comint.el (comint-unquote-filename): Simplify.
2861 (comint-completion-file-name-table): New function (bug#9616).
2862 (comint--complete-file-name-data): Use it.
2863
428fe61a
SM
2864 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2865 (pcmpl-gnu-tar-buffer): Remove.
2866 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2867 around. Make sure pcomplete-suffix-list is only changed temporarily.
2868 Don't look inside the tar's file if it's too large.
428fe61a 2869
04c52e2f
CY
28702011-10-01 Chong Yidong <cyd@stupidchicken.com>
2871
ce3cefcc
CY
2872 * cus-edit.el (custom-mode-map):
2873 * epa.el (epa-key-list-mode-map):
2874 * man.el (Man-mode-map):
2875 * startup.el (splash-screen-keymap):
2876 * simple.el (special-mode-map): Use scroll-up-command and
2877 scroll-down-command.
2878
2879 * progmodes/idlw-help.el (idlwave-help-mode-map):
2880 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2881 * net/newst-plainview.el (newsticker-mode-map):
2882 * emulation/ws-mode.el (wordstar-mode-map):
2883 * emulation/vi.el (vi-com-map):
2884 * calc/calc-graph.el (calc-graph-show-dumb):
2885 * term/sun.el (terminal-init-sun):
2886 * term/ns-win.el (global-map):
2887 * progmodes/grep.el (grep-mode-map):
2888 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2889 * mail/rmail.el (rmail-mode-map):
2890 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2891
04c52e2f
CY
2892 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2893 custom-safe-themes as special.
2894
79adf8c8
JD
28952011-10-01 Julien Danjou <julien@danjou.info>
2896
2897 * notifications.el (notifications-notify): Fix docstring.
2898
63bd50d3
PS
28992011-10-01 Per Starbäck <per@starback.se>
2900
2901 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2902
199e4c7e
MR
29032011-09-30 Martin Rudalics <rudalics@gmx.at>
2904
2905 * startup.el (command-line-1): Fix last fix by inserting
2906 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2907 (Bug#9605) and (Bug#9636)
199e4c7e 2908
fe5f08dd
EZ
29092011-09-29 Eli Zaretskii <eliz@gnu.org>
2910
2911 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2912 window is hscrolled, move by logical lines. (Bug#9607)
2913 (line-move-visual): Update the doc string to the above effect.
2914
b5516bbd
MR
29152011-09-29 Martin Rudalics <rudalics@gmx.at>
2916
ccee00c0
MR
2917 * window.el (display-buffer-record-window): When WINDOW is the
2918 selected window use `point' instead of `window-point'. (Bug#9626)
2919
b5516bbd
MR
2920 * startup.el (command-line-1): Use insert-before-markers when
2921 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2922
b5516bbd
MR
2923 * help.el (help-window): Remove variable.
2924
52aa0014
GM
29252011-09-29 Glenn Morris <rgm@gnu.org>
2926
2927 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2928
df9a7357
JB
29292011-09-29 Juanma Barranquero <lekktu@gmail.com>
2930
2931 * descr-text.el (describe-char-categories): Accept category
2932 descriptions more than one line long.
2933
a8406c20
SM
29342011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2935
88d9610c
SM
2936 * simple.el (delete-trailing-whitespace): Fix last change.
2937
a5daf810
SM
2938 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2939 Don't confuse "y => 3" as the beginning of a `y' operation.
2940
a8406c20
SM
2941 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2942 object has more than 4 slots (bug#9613).
2943
a239d4e9
JB
29442011-09-28 Juanma Barranquero <lekktu@gmail.com>
2945
2946 * subr.el (with-output-to-temp-buffer):
2947 * net/quickurl.el (quickurl, quickurl-browse-url):
2948 Fix typos in docstrings.
2949
693fbdb6
EZ
29502011-09-27 Eli Zaretskii <eliz@gnu.org>
2951
2952 * minibuffer.el (completion-styles)
2953 (completion-category-overrides): Cross reference each other in doc
2954 strings.
2955
8b457e28
GM
29562011-09-27 Glenn Morris <rgm@gnu.org>
2957
2958 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2959 to split-string. (Bug#9606)
2960
85a16208
LMI
29612011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2962
2963 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2964 (bug#9615).
2965
502f9ebd
CY
29662011-09-27 Chong Yidong <cyd@stupidchicken.com>
2967
2968 * emacs-lisp/package.el (list-packages): Fix echo area message.
2969
7690bdea
LL
29702011-09-27 Leo Liu <sdl.web@gmail.com>
2971
2972 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2973
e2ee6f30
MA
29742011-09-25 Michael Albinus <michael.albinus@gmx.de>
2975
2976 * net/dbus.el (dbus-unregister-object): Don't release services for
2977 registered signals. (Bug#9581)
2978
f3f98342
TZ
29792011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2980
2981 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2982 function that picks between cfengine 2 and 3 support
2983 automatically. Update docs accordingly.
2984
dd7aa8dd
KH
29852011-09-22 Kenichi Handa <handa@m17n.org>
2986
2987 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2988 ZERO.
2989 (indian-itrans-v5-table-for-tamil): New variable.
2990 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2991
3f2b07f8
KM
29922011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2993
2994 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2995 that's true if the current command involved collapsing of text.
2996 It's reset to false at the beginning of the next command.
2997 (allout-post-command-business): Move the cursor to the beginning
2998 of entry if the cursor is hidden and collapsing activity just
2999 happened.
3000
371d6a61
CY
30012011-09-24 Chong Yidong <cyd@stupidchicken.com>
3002
3003 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3004 tracking (Bug#9541).
3005
2ac2721a
UJ
30062011-09-24 Ulf Jasper <ulf.jasper@web.de>
3007
3008 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
3009 (newsticker-show-news): Automatically load html rendering package
3010 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3011 because w3m-fill-column is let-bound" and the error "Symbol's value
3012 as variable is void: w3m-fill-column".
2ac2721a 3013
fac7ae53
MA
30142011-09-24 Michael Albinus <michael.albinus@gmx.de>
3015
3016 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3017 Release services only if they are defined. (Bug#9581)
3018
e08b633b
RS
30192011-09-23 Richard Stallman <rms@gnu.org>
3020
e488d29c
RS
3021 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3022 distinguish start of paragraph from start of its text.
3023
19c38752
RS
3024 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3025
e08b633b
RS
3026 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3027 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3028 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3029
0a39f27e
AS
30302011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3031
3032 * international/mule-diag.el (mule-diag): Insert a newline after
3033 each fontset description.
3034
db4e950d
SM
30352011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * simple.el (delete-trailing-whitespace):
3038 Document last change; simplify.
3039
eca3f3ea
PW
30402011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3041
d68e189a
PW
3042 * simple.el (delete-trailing-whitespace): Also delete
3043 extra newlines at the end of the buffer.
3044
eca3f3ea
PW
3045 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3046 (picture-newline): Use forward-line so as to ignore fields.
3047
01c157cc
SM
30482011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * subr.el (with-wrapper-hook): Fix edebug spec.
3051
022de23e
LMI
30522011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3053
3054 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3055 (bug#4538).
3056
91683089
MA
30572011-09-23 Michael Albinus <michael.albinus@gmx.de>
3058
eca3f3ea
PW
3059 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3060 Fix nasty bug using wrong cached values.
91683089 3061
5bdd6fa4
AM
30622011-09-23 Alan Mackenzie <acm@muc.de>
3063
3064 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3065
97adfb97
CY
30662011-09-23 Chong Yidong <cyd@stupidchicken.com>
3067
3068 * window.el (pop-to-buffer): Ensure right window is selected if we
3069 chose another frame.
3070
d4ef2b50
EZ
30712011-09-22 Eli Zaretskii <eliz@gnu.org>
3072
3073 * simple.el (what-cursor-position): Use get-char-property-change
3074 and next-single-char-property-change, to be able to show display
3075 properties that come from overlays as well as text properties.
3076
72258fe5
CY
30772011-09-22 Chong Yidong <cyd@stupidchicken.com>
3078
3079 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3080
3081 * cmuscheme.el (run-scheme, switch-to-scheme):
3082 * cus-edit.el (customize-group, custom-buffer-create)
3083 (customize-browse):
3084 * info.el (info):
3085 * shell.el (shell):
3086 * mail/sendmail.el (mail):
3087 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3088
8f098516
RS
30892011-09-22 Richard Stallman <rms@gnu.org>
3090
3091 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3092 move back only to line beg, don't move back over blank lines.
3093
e74f1bb6
MA
30942011-09-22 Michael Albinus <michael.albinus@gmx.de>
3095
3096 * files.el (copy-directory): Set directory attributes only in case
3097 they could be retrieved from the source directory. (Bug#9565)
3098
bfeef8b6
DK
30992011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3100
3101 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3102 (hs-find-block-beginning, hs-hide-level-recursive):
3103 Ignore strings as well as comments. (Bug#9502)
3104
7e423bb8
AS
31052011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3106
3107 * progmodes/sql.el (sql-comint-postgres):
3108 Convert port number to a string. (Bug#9566)
3109
b4d72fcf
MR
31102011-09-22 Martin Rudalics <rudalics@gmx.at>
3111
3112 * window.el (quit-window): Undedicate window when switching to
3113 previous buffer. Reported by Thierry Volpiatto
3114 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3115 (special-display-popup-frame): When popping up a new frame reset
3116 its previous buffers to nil. Simplify code.
b4d72fcf 3117
a7b88dc6
MA
31182011-09-21 Michael Albinus <michael.albinus@gmx.de>
3119
3120 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3121 and process filter, as done also in `shell-command'.
3122
cf4eacfd
MR
31232011-09-21 Martin Rudalics <rudalics@gmx.at>
3124
eca3f3ea 3125 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3126 Call set-window-start with NOFORCE argument t.
3127 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3128 (quit-window): Reword doc-string. Handle new format of
3129 quit-restore parameter. Don't delete window if it has a
3130 previous buffer we can show instead of the present one.
3131 (display-buffer-record-window): Rewrite using a new format for
3132 the quit-restore window parameter
3133 (special-display-popup-frame, display-buffer-same-window)
3134 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3135 (display-buffer-pop-up-window, display-buffer-use-some-window):
3136 Adapt symbol passed to display-buffer-record-window.
3137 * help.el (help-window-setup): Handle new format of quit-restore
3138 parameter.
3139
8d28cb95
SM
31402011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3141
94ab793f
SM
3142 * faces.el (face-list): Fix docstring (bug#9564).
3143
8d28cb95
SM
3144 * window.el (display-buffer--action-function-custom-type):
3145 Don't include internal functions in the Custom interface.
3146
3820edeb
JL
31472011-09-20 Juri Linkov <juri@jurta.org>
3148
3149 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3150 (Info-forward-node, Info-backward-node, Info-next-preorder)
3151 (Info-last-preorder): Use it. (Bug#9528)
3152
5147931d
JL
31532011-09-20 Juri Linkov <juri@jurta.org>
3154
3155 * info.el (Info-last-preorder): Visit last menu item only when
3156 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3157
cf499a1a
JD
31582011-09-20 Julien Danjou <julien@danjou.info>
3159
3160 * password-cache.el (password-cache-remove): Remove entries even if the
3161 value is nil, so that password with a nil value (negative caching) is
3162 possible to invalidate.
3163
f84e2fe2
LM
31642011-09-20 Lawrence Mitchell <wence@gmx.li>
3165
3166 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3167 all whitespace around breakpoint. (Bug#9553)
3168 (f90-find-breakpoint): Only break at whitespace inside a comment.
3169
78054a46
SM
31702011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * minibuffer.el (completion-file-name-table): Keep track of errors.
3173 (completion-table-with-predicate): Handle the case where pred1 is nil.
3174 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3175
345083b2
SM
31762011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3177
e24e27be
SM
3178 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3179 (debugger-return-value): Signal an error if the debugging context does
3180 not await any return value.
3181
345083b2
SM
3182 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3183 * image-mode.el (image-toggle-display-text)
3184 (image-toggle-display-image): Stay away from evil `intangible'.
3185
08d355e3
LL
31862011-09-19 Leo Liu <sdl.web@gmail.com>
3187
3188 * replace.el (occur-revert-arguments): Make it permanent-local.
3189 (occur-mode): Don't call font-lock-defontify.
3190
f01da43f
CY
31912011-09-19 Chong Yidong <cyd@stupidchicken.com>
3192
3193 * net/ldap.el (ldap-search-internal): Don't push empty search
3194 result (Bug#9508).
3195
b6072fa6
SM
31962011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3199
443d6696
MA
32002011-09-19 Michael Albinus <michael.albinus@gmx.de>
3201
3202 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3203 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3204
7cc6e154
JL
32052011-09-18 Juri Linkov <juri@jurta.org>
3206
3207 * buff-menu.el (Buffer-menu-mode-map):
3208 * dired.el (dired-mode-map):
3209 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3210 (lisp-interaction-mode-map):
3211 * emacs-lisp/package.el (package-menu-mode-map):
3212 * epa.el (epa-key-list-mode-map):
3213 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3214 (menu-bar-options-menu):
3215 * outline.el (outline-mode-menu-bar-map):
3216 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3217 * vc/vc-dir.el (vc-dir-menu-map):
3218 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3219 Capitalize non-function content words in menu item strings.
3220
3221 * dired.el (dired-mode-map): Add menu item for
3222 `image-dired-dired-toggle-marked-thumbs'.
3223
80302a81
JL
32242011-09-18 Juri Linkov <juri@jurta.org>
3225
3226 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3227 to `isearch-case-fold-search' and restore its original value
3228 after the `isearch-mode' call.
3229
46c5cf66
JL
32302011-09-18 Juri Linkov <juri@jurta.org>
3231
3232 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3233 because `zgrep' returns 1 for successful matches (bug#9226).
3234
d18b513b
JL
32352011-09-18 Juri Linkov <juri@jurta.org>
3236
3237 * info.el (Info-extract-menu-node-name): Check the second match
3238 for empty string (second test-case of bug#9528).
3239 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3240 intermediate nodes to the history (first test-case of bug#9528).
3241
72753f87
JL
32422011-09-18 Juri Linkov <juri@jurta.org>
3243
3244 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3245 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3246
c9384295
JL
32472011-09-18 Juri Linkov <juri@jurta.org>
3248
1154d12e
JB
3249 * info.el (Info-file-supports-index-cookies):
3250 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3251 outputs one more line for long file names (bug#4142).
c9384295 3252
d473dce8
CY
32532011-09-18 Chong Yidong <cyd@stupidchicken.com>
3254
3255 * newcomment.el (comment-normalize-vars): If prompting for
3256 comment-start, set comment-start-skip too (Bug#8424).
3257
2176854d
JB
32582011-09-18 Johan Bockgård <bojohan@gnu.org>
3259
3260 * icomplete.el: Fix previous fix of Bug#5849.
3261 (icomplete-mode): Don't set completion-show-inline-help.
3262 (icomplete-minibuffer-setup): Set completion-show-inline-help
3263 locally during icompletion.
3264
3aace4e4
CY
32652011-09-18 Chong Yidong <cyd@stupidchicken.com>
3266
c940224f
CY
3267 * woman.el (woman2-process-escapes): Don't delete unrecognized
3268 escapes (Bug#7843).
3269
3aace4e4
CY
3270 * files.el (inhibit-first-line-modes-regexps): Add image files.
3271 (hack-local-variables-prop-line): Return nil for malformed
3272 prop-lines (Bug#9044).
3273
710dec63
MA
32742011-09-18 Michael Albinus <michael.albinus@gmx.de>
3275
3276 * net/tramp.el (top): Don't require 'shell.
3277 (tramp-methods): Fix docstring.
3278 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3279 Return complete remote file name. Handle "smb" case.
3280 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3281 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3282
3283 * net/tramp-compat.el (top): Require 'shell.
3284
3285 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3286 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3287 `tramp-current-host'.
3288 (tramp-get-remote-tmpdir): Remove.
3289
3290 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3291 `tramp-tmpdir' entries.
3292 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3293 (tramp-smb-handle-file-attributes): Ignore errors.
3294 (tramp-smb-wait-for-output): Check also for process end.
3295
5d5ac8ec
LMI
32962011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3297
3298 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3299 when sending QUIT (bug#9312).
3300
8c0f49f0
CY
33012011-09-17 Chong Yidong <cyd@stupidchicken.com>
3302
3303 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3304 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3305 occur-mode-display-occurrence.
3306 (occur-edit-mode): Add usage message.
3307 (occur-cease-edit): New command.
3308 (occur-after-change-function): Use text properties to find the
3309 position of the prefix text.
3310 (occur-engine): Set stickiness of prefix text properties.
3311
8f1383f7
GM
33122011-09-17 Glenn Morris <rgm@gnu.org>
3313
3314 * progmodes/etags.el (complete-tag):
3315 Fix call to completion-in-region. (Bug#9526)
3316
744ba0e3
JL
33172011-09-17 Juri Linkov <juri@jurta.org>
3318
3319 * textmodes/ispell.el (ispell-word): Add to the error message
3320 the word, ispell program name and current dictionary (bug#9121).
3321 (ispell-tex-arg-end): Capitalize "error" in the error message.
3322
d9bbf400
AS
33232011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3324
3325 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3326 check. (Bug#4251)
3327
8da11505
JL
33282011-09-17 Juri Linkov <juri@jurta.org>
3329
3330 * window.el (window-safe-min-height, window-safe-min-width):
3331 Fix typos (followup to bug#9522).
3332
a91adc7e
SJ
33332011-09-17 Sven Joachim <svenjoac@gmx.de>
3334
3335 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3336
064f328a
EZ
33372011-09-16 Eli Zaretskii <eliz@gnu.org>
3338
3339 * simple.el (line-move): If goal-column is set, move by logical
3340 lines, not by display lines. (Bug#971)
3341 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3342 to reflect the above change.
3343
e69df516
SM
33442011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * image.el (imagemagick-register-types): Use regexp-opt.
3347
cbb0f9ab
CY
33482011-09-15 Chong Yidong <cyd@stupidchicken.com>
3349
3350 * window.el (display-buffer-base-action): Rename from
3351 display-buffer-default-action. Make default value empty.
3352 (display-buffer-overriding-action): Convert to defvar.
3353 (display-buffer-fallback-action): New var.
3354
25322144
CY
33552011-09-15 Chong Yidong <cyd@stupidchicken.com>
3356
3357 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3358 declaration.
3359 (package--add-to-archive-contents): If there is a duplicate entry
3360 with an older version, remove it.
3361 (package-menu-mark-delete, package-menu-mark-install)
3362 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3363 (package-menu-mark-obsolete-for-deletion):
3364 Use package-menu-get-status instead of a regexp search.
25322144
CY
3365 (package-menu-get-status): Use tabulated-list-entry.
3366 (package-menu-mark-upgrades): New command.
d770725a 3367 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3368 (package-menu-execute): Do installation before deletion.
3369 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3370 instead of checking major-mode.
3371 (package-menu--find-upgrades): New function.
3372
7520339c
LMI
33732011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3374
3375 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3376 passwords in the log buffer.
65a046c4
LMI
3377 (smtpmail-process-filter): Update the process marker so that the
3378 "broken by peer" status message is inserted in the right place.
7520339c 3379
d3c30954
SM
33802011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3fe48822
SM
3382 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3383 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3384 bibtex-completion-at-point-function.
3385 (bibtex-completion-at-point-function): Use them.
3386
1b8b3954
SM
3387 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3388
d3c30954
SM
3389 * mpc.el (mpc-constraints-tag-lookup): New function.
3390 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3391 also to browser "album|playlist".
3392
72779976
JL
33932011-09-14 Juri Linkov <juri@jurta.org>
3394
3395 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3396 (isearch-edit-string): Use length of `isearch-string' when
3397 `isearch-fail-pos' returns nil.
3398 (isearch-message): Remove duplicate code and call
3399 `isearch-fail-pos' with arg `t'.
3400
a0bf2bcd
CY
34012011-09-14 Chong Yidong <cyd@stupidchicken.com>
3402
17bb0a2d
CY
3403 * replace.el (occur-mode-goto-occurrence): Don't force using other
3404 window (Bug#9499).
3405
a0bf2bcd
CY
3406 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3407
f678e0b6
MR
34082011-09-14 Martin Rudalics <rudalics@gmx.at>
3409
3410 * window.el (display-buffer-window): Remove.
3411 (display-buffer-record-window): Use help-setup window parameter
3412 instead of variable display-buffer-window.
3413 (display-buffer-function, special-display-buffer-names)
3414 (special-display-function): Mention help-setup parameter instead
3415 of display-buffer-window in doc-string.
d3c30954
SM
3416 * help.el (help-window-setup): New argument help-window.
3417 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3418 Reword some messages.
3419 (with-help-window): Pass window used for displaying the buffer
3420 to help-window-setup. Don't set display-buffer-window.
3421
8e39b2e8
GM
34222011-09-13 Glenn Morris <rgm@gnu.org>
3423
3424 * emacs-lisp/debug.el (debugger-make-xrefs):
3425 Preserve point. (Bug#9462)
3426
85e9c04b
CY
34272011-09-13 Chong Yidong <cyd@stupidchicken.com>
3428
3429 * window.el (window-deletable-p): Use next-frame.
3430
1b36ed6a
MR
34312011-09-13 Martin Rudalics <rudalics@gmx.at>
3432
3433 * window.el (window-auto-delete): Remove.
3434 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3435 dedication and previous buffers.
1b36ed6a
MR
3436 (switch-to-prev-buffer): Don't delete window.
3437 (delete-windows-on): Delete a window's frame if and only if the
3438 window is dedicated.
3439 (replace-buffer-in-windows): Delete buffer's window or frame if
3440 and only if window is dedicated.
3441 (quit-window): Handle quit-restore as before last change.
4d61f28d 3442 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3443
ef8ef9fb
CY
34442011-09-13 Chong Yidong <cyd@stupidchicken.com>
3445
3446 * window.el (window-deletable-p): Never delete the last frame on a
3447 given terminal.
3448
b2cba41e
GM
34492011-09-13 Glenn Morris <rgm@gnu.org>
3450
3451 * help.el (describe-key-briefly): Copy previous standard-output change.
3452
51553db6 34532011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3454
3455 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3456
b7556719
GM
34572011-09-13 Glenn Morris <rgm@gnu.org>
3458
3459 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3460 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3461
64b51947
CY
34622011-09-12 Chong Yidong <cyd@stupidchicken.com>
3463
3464 * dired-aux.el (dired-mark-read-string): Don't return default
3465 value on empty input (Bug#9361).
3466 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3467 Omit initial minibuffer contents.
3468 (dired-do-chmod): Signal an error on empty input.
3469 (dired-mark-read-string): Don't return default on empty input.
3470
3471 * files.el (file-modes-symbolic-to-number): Doc fix.
3472
393a301e
SM
34732011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * international/mule-cmds.el (ucs-completions): Remove.
3476 (read-char-by-name): Use complete-with-action instead; add metadata.
3477
fa5660f9
CY
34782011-09-11 Chong Yidong <cyd@stupidchicken.com>
3479
3480 * window.el (display-buffer--action-function-custom-type)
3481 (display-buffer--action-custom-type): New vars.
3482 (display-buffer-alist, display-buffer-default-action)
3483 (display-buffer-overriding-action): Add defcustom types.
3484
4a592f66
CY
3485 * frame.el (delete-other-frames): Doc fix (Bug#276).
3486
73d56dbd
LMI
34872011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3488
3489 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3490
37ac18a3
CY
34912011-09-11 Chong Yidong <cyd@stupidchicken.com>
3492
3493 Change modes that used same-window-* vars to use switch-to-buffer.
3494
3495 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3496 Use switch-to-buffer.
3497
3498 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3499 (customize-browse, custom-buffer-create-other-window):
3500 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3501
3502 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3503 (Info-prev, Info-up, Info-speedbar-goto-node)
3504 (info-display-manual): Use switch-to-buffer.
3505 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3506
3507 * mail/sendmail.el (mail): Use switch-to-buffer.
3508 (mail-recover): Use switch-to-buffer-other-window.
3509
3510 * cmuscheme.el (run-scheme, switch-to-scheme):
3511 * ielm.el (ielm):
3512 * shell.el (shell):
3513 * net/rlogin.el (rlogin):
3514 * net/telnet.el (telnet, rsh):
3515 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3516
10195bd6
AS
35172011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3518
3519 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3520
b322f63a
LMI
35212011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3522
39d7fed6
LMI
3523 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3524 so don't mention it (bug#9301).
ba5a81f1 3525 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3526
ee0e9f11
LMI
3527 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3528 match `x', `w32' and `ns', like the manual says (bug#9029).
3529
0b1c89c1 3530 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3531 (process-kill-buffer-query-function): Mention the buffer name in
3532 the query.
0b1c89c1 3533
77549ea8
LMI
3534 * image-mode.el (image-next-line): The line parameter is mandatory
3535 (bug#9258).
3536
803ef892
LMI
3537 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3538 which can be useful (bug#9301).
3539
12980837
LMI
3540 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3541
91054f8f
LMI
3542 * subr.el (match-string): Mention that the current buffer should
3543 be the same as the search was done in (bug#9282).
3544
b322f63a
LMI
3545 * facemenu.el: Disable the remove-* commands if the mark isn't
3546 active (bug#9162).
3547
3199b96f
CY
35482011-09-10 Chong Yidong <cyd@stupidchicken.com>
3549
3550 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3551 of display-buffer.
3552 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3553
3554 * replace.el (occur-mode-goto-occurrence)
3555 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3556 and display-buffer.
3557
3558 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3559 display-buffer.
3560
3561 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3562 special-display and same-window variables.
3563 (mail-other-window): Use switch-to-buffer-other-window.
3564 (mail-other-frame): USe switch-to-buffer-other-frame.
3565
393a301e
SM
3566 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3567 Use display-buffer-other-frame.
3199b96f
CY
3568 (gdb-display-gdb-buffer): Use pop-to-buffer.
3569
3570 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3571
3572 * progmodes/python.el: Don't set same-window-buffer-names.
3573
3574 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3575
3576 * window.el (display-buffer-alist): Add *Python*.
3577
8319e0bf
CY
35782011-09-10 Chong Yidong <cyd@stupidchicken.com>
3579
3580 * window.el (display-buffer-alist): Add entry for buffers
3581 previously handled same-window-*.
3582 (display-buffer-alist, display-buffer-default-action)
3583 (display-buffer-overriding-action): Mark as risky.
3584 (display-buffer-alist): Document action function changes.
3585 (display-buffer--same-window-action)
3586 (display-buffer--other-frame-action): New variables.
3587 (switch-to-buffer, display-buffer-other-frame): Use them.
3588 (display-buffer): Rename reuse-frame entry to reusable-frames.
3589 (display-buffer-reuse-selected-window): Function deleted.
3590 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3591 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3592 (display-buffer-special): New function.
3593 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3594 display-buffer-reuse-or-pop-window. Split off special-display
3595 part into display-buffer-special.
3596 (display-buffer-use-some-window): Don't perform any special
3597 pop-up-frames handling.
3598 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3599 (display-buffer--maybe-same-window): Rename from
0d3ff375 3600 display-buffer-maybe-same-window.
8319e0bf 3601
919a69aa
CY
3602 * info.el: Don't set same-window-regexps.
3603 (info-setup): New function.
3604 (info-other-window, info): Call it.
3605
3606 * cus-edit.el: Don't set same-window-regexps.
3607 (customize-group): New argument.
3608 (customize-group-other-window): Use it.
3609 (customize-face, customize-face-other-window): Likewise.
3610 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3611
8319e0bf
CY
3612 * net/rlogin.el:
3613 * net/telnet.el:
3614 * progmodes/gud.el: Don't set same-window-regexps.
3615
3616 * cmuscheme.el:
3617 * ielm.el:
3618 * shell.el:
3619 * mail/sendmail.el:
3620 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3621
25173000
JL
36222011-09-10 Juri Linkov <juri@jurta.org>
3623
3624 * isearch.el (isearch-edit-string): Remove obsolete mention of
3625 `C-w' (`isearch-yank-word-or-char') from docstring.
3626 (isearch-query-replace): Fix typo in docstring (bug#9466).
3627
056e44ef
JL
36282011-09-10 Juri Linkov <juri@jurta.org>
3629
3630 * paren.el (show-paren-function): Don't show escaped parens.
3631 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3632
c3760c17
EZ
36332011-09-10 Eli Zaretskii <eliz@gnu.org>
3634
3635 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3636 (mm-default-file-encoding): Remove autoload forms, they are
3637 replaced with autoload cookies in mml.el and mm-encode.el.
3638 (mail-add-attachment): New command.
3639 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3640 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3641 the doc string.
3642 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3643
fece895e
RT
36442011-09-10 Reuben Thomas <rrt@sc3d.org>
3645
e69df516
SM
3646 * simple.el (count-words-region): Use buffer if there's no region
3647 (bug#9429).
fece895e 3648
5e68ce4a
JL
36492011-09-09 Juri Linkov <juri@jurta.org>
3650
3651 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3652 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3653 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3654
0a6b9622
AM
36552011-09-09 Alan Mackenzie <acm@muc.de>
3656
3657 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3658 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3659
14a29deb
EZ
36602011-09-09 Eli Zaretskii <eliz@gnu.org>
3661
3662 Fix for Savannah bug#9392.
3663 * simple.el (mail-encode-mml): New defvar.
3664
3665 * mail/rmail.el (mail-encode-mml): Add a defvar.
3666 (rmail-enable-mime-composing): Default to t.
3667 (rmail-forward): Use MIME method of forwarding only if both
3668 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3669 Set mail-encode-mml non-nil if the MIME method was used.
3670
3671 * mail/sendmail.el (mml-to-mime): Add autoload form.
3672 (mail-encode-mml): Add a defvar.
3673 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3674 to nil.
3675 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3676 message through mml-to-mime, and reset mail-encode-mml to nil.
3677
28c45130
GM
36782011-09-09 Glenn Morris <rgm@gnu.org>
3679
3680 * woman.el (woman-if-body): When processing an .el block,
3681 do not delete the next .el block as well. (Bug#9447)
69f4b618 3682 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3683
9b1c252e
MR
36842011-09-08 Martin Rudalics <rudalics@gmx.at>
3685
3686 * window.el (window-deletable-p): Make sure window is live before
3687 invoking window-prev-buffers.
3688
567457e3
LL
36892011-09-08 Leo Liu <sdl.web@gmail.com>
3690
3691 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3692
97f05794
JL
36932011-09-08 Juri Linkov <juri@jurta.org>
3694
3695 * progmodes/compile.el (compilation-environment): Make it
3696 a defcustom (bug#8340).
3697
8b0874b5
MR
36982011-09-08 Martin Rudalics <rudalics@gmx.at>
3699
3700 * window.el (frame-auto-delete): Rename to window-auto-delete.
3701 Make it control auto-deletion of windows and/or frames.
3702 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3703 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3704 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3705 Rewrite handling of case when window/frame can be deleted.
3706 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3707 argument t. (Bug#9456)
8b0874b5 3708
4feb6e73
CY
37092011-09-07 Chong Yidong <cyd@stupidchicken.com>
3710
3711 * help-mode.el (help-mode): Restore autoload.
3712
91ab9c13
JL
37132011-09-07 Juri Linkov <juri@jurta.org>
3714
3715 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3716 `compilation-environment'. Set buffer-local
3717 `compilation-environment' to `thisenv' later after (funcall mode).
3718 (Bug#8340)
3719
3720 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3721 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3722 instead of replacing its value. (Bug#8340)
3723
0527e251
JL
37242011-09-07 Juri Linkov <juri@jurta.org>
3725
3726 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3727 based on text properties put by `grep-filter' instead of matching
3728 escape sequences.
3729 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3730 to the value of `grep-error-screen-columns' (bug#9438).
3731
249f792c
JL
37322011-09-07 Juri Linkov <juri@jurta.org>
3733
3734 * simple.el (next-error-highlight, next-error-highlight-no-select):
3735 Doc fix (bug#9432).
3736
ff7271b9
OT
37372011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3738
3739 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3740 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3741
183fc730
LL
37422011-09-07 Leo Liu <sdl.web@gmail.com>
3743
3744 * net/rcirc.el (rcirc-mode): Conditionally initialize
3745 rcirc-input-ring.
3746
77694924
SM
37472011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emacs-lisp/find-func.el (find-function-C-source): Only set
3750 find-function-C-source-directory after checking that we found a source
3751 file there (bug#9440).
3752
d809b8eb
AM
37532011-09-06 Alan Mackenzie <acm@muc.de>
3754
3755 * isearch.el (isearch-other-meta-char): Wherever a key list is
3756 unread, "unread" the prefix arg, too. This fixes bug #8901.
3757
453de99f
OG
37582011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3759
3760 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3761
90439906
JL
37622011-09-05 Juri Linkov <juri@jurta.org>
3763
3764 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3765
f62bd846
JL
37662011-09-05 Juri Linkov <juri@jurta.org>
3767
3768 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3769 keeping point where processing of grep matches begins, and
3770 continue to delete remaining escape sequences from the same point.
3771 (grep-filter): Make leading zero optional in "0?1;31m" because
3772 git-grep emits "\033[1;31m" escape sequences unlike expected
3773 "\033[01;31m" as GNU Grep does (bug#9408).
3774 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3775
045820ec
JL
37762011-09-05 Juri Linkov <juri@jurta.org>
3777
3778 * subr.el (y-or-n-p): Capitalize "yes".
3779
f5e29b9b
MA
37802011-09-04 Michael Albinus <michael.albinus@gmx.de>
3781
3782 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3783 `tramp-cache-unload-hook' where appropriate.
3784 (tramp-methods): Rename `tramp-remote-sh' to
3785 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3786 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3787
3788 * net/tramp-sh.el (top): Don't require 'shell.
3789 (tramp-methods): Add `tramp-remote-shell' and
3790 `tramp-remote-shell-args' entries.
3791 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3792 (tramp-sh-handle-shell-command): Remove.
3793 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3794 Use `tramp-remote-shell'.
3795
2784c434
CY
37962011-09-03 Chong Yidong <cyd@stupidchicken.com>
3797
393a301e 3798 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3799 (sendmail-query-once): Save directly to send-mail-function.
3800 Update message-send-mail-function too.
3801
3802 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3803
464cdf56
CS
38042011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3805
3806 * progmodes/python.el (python-mode-map): Use correct function to
3807 start python interpreter from menu-bar (as reported by Geert
3808 Kloosterman).
3809 (inferior-python-mode-map): Fix typo.
393a301e 3810 (python-shell-map): Remove.
464cdf56 3811
d37e5c87
DD
38122011-09-03 Deniz Dogan <deniz@dogan.se>
3813
3814 * net/rcirc.el (rcirc-print): Simplify code for
3815 rcirc-scroll-show-maximum-output. There is no need to walk
3816 through all windows to find the right one.
3817
f3ada0ee
CS
38182011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3819
3820 * help.el (help-return-method): Doc fix.
3821
1f3c99ca
MR
38222011-09-03 Martin Rudalics <rudalics@gmx.at>
3823
3824 * window.el (window-deletable-p): Don't return a non-nil value
3825 when there's a buffer that was shown in the window before.
3826 (Bug#9419)
393a301e
SM
3827 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3828 Set window's previous buffers to nil.
1f3c99ca 3829
a3cf097f
EZ
38302011-09-03 Eli Zaretskii <eliz@gnu.org>
3831
3832 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3833 newline before and after the tag line, so it doesn't interfere
3834 with determining the paragraph direction of bidirectional text.
3835
3d03de90
LL
38362011-09-03 Leo Liu <sdl.web@gmail.com>
3837
3838 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3839
c3313451
CY
38402011-09-02 Chong Yidong <cyd@stupidchicken.com>
3841
393a301e 3842 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3843 (pop-to-buffer): Change interactive spec. Pass second argument
3844 directly to display-buffer.
3845 (display-buffer): Fix interactive spec. Use functionp to
3846 distinguish between a function and a list of functions.
3847
3848 * abbrev.el (edit-abbrevs):
3849 * arc-mode.el (archive-extract):
3850 * autoinsert.el (auto-insert):
3851 * bookmark.el (bookmark-bmenu-list):
3852 * files.el (find-file):
3853 * view.el (view-buffer):
3854 * progmodes/compile.el (compilation-goto-locus):
3855 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3856
89894cd8
CY
38572011-09-02 Chong Yidong <cyd@stupidchicken.com>
3858
3859 * window.el (display-buffer-alist): Doc fix.
3860 (display-buffer): Add docstring. Don't treat
3861 display-buffer-default specially.
3862 (display-buffer-reuse-selected-window)
3863 (display-buffer-same-window, display-buffer-maybe-same-window)
3864 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3865 (display-buffer-pop-up-window)
3866 (display-buffer-reuse-or-pop-window)
3867 (display-buffer-use-some-window): New functions.
3868 (display-buffer-default-action): Use them.
393a301e 3869 (display-buffer-default): Delete.
89894cd8
CY
3870 (pop-to-buffer-1): Fix choice of actions.
3871
ae0bc9fb
SM
38722011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * minibuffer.el (completion--insert-strings): Don't get confused by
3875 completion entries that end with an LF char.
3876
e9d90883
EZ
38772011-09-01 Eli Zaretskii <eliz@gnu.org>
3878
3879 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3880
437014c8
CY
38812011-09-01 Chong Yidong <cyd@stupidchicken.com>
3882
3883 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3884 (display-buffer-same-window, display-buffer-other-window):
3885 New functions.
437014c8
CY
3886 (pop-to-buffer-1): New function. Use the above.
3887 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3888 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3889
3890 * view.el (view-buffer-other-window, view-buffer-other-frame):
3891 Just use pop-to-buffer.
3892
a5e063d5
TV
38932011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3894
3895 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3896
793d32bb
WH
38972011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3898
3899 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3900
d65e4c15
RS
39012011-08-31 Richard Stallman <rms@gnu.org>
3902
3903 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3904 of the separation of rmail-view-buffer from rmail-buffer.
3905 If you say no to "replace original", the decrypt is in the
3906 view buffer. If you say yes, the decrypt goes into the
3907 rmail buffer also.
3908
f818cd2a
MR
39092011-08-31 Martin Rudalics <rudalics@gmx.at>
3910
3911 * window.el (display-buffer-window): Rewrite doc-string.
3912 (display-buffer-record-window): New function.
3913 (display-buffer-macro-specifiers)
3914 (display-buffer-even-window-sizes, display-buffer-set-height)
3915 (display-buffer-set-width, display-buffer-in-window)
3916 (display-buffer-reuse-window, display-buffer-split-specifiers)
3917 (display-buffer-side-specifiers, display-buffer-split-window-1)
3918 (display-buffer-split-window, display-buffer-split-atom-window)
3919 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3920 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3921 (display-buffer-other-window-means-other-frame)
3922 (display-buffer-normalize-special)
3923 (display-buffer-normalize-default)
3924 (display-buffer-normalize-argument)
3925 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3926 (display-buffer-normalize-specifiers, display-buffer-frame)
3927 (display-buffer-same-window, display-buffer-same-frame)
3928 (display-buffer-other-window)
3929 (display-buffer-same-frame-other-window)
3930 (display-buffer-other-frame, pop-to-buffer-same-window)
3931 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3932 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3933 (switch-to-buffer-same-frame)
3934 (switch-to-buffer-other-window-same-frame)
3935 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3936 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3937 (display-buffer-alist-set): Remove.
3938 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3939 (special-display-regexps, special-display-function):
3940 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3941 parameter.
3942 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3943 (special-display-frame-alist, special-display-popup-frame)
3944 (same-window-buffer-names, same-window-regexps, same-window-p)
3945 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3946 (split-window-preferred-function, split-height-threshold)
3947 (split-width-threshold, window-splittable-p)
3948 (split-window-sensibly, window--try-to-split-window)
3949 (window--frame-usable-p, even-window-heights)
3950 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3951 (window--display-buffer-2, display-buffer-other-frame):
3952 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3953 (display-buffer-default, display-buffer-assq-regexp): New functions.
3954 (display-buffer-alist): Rewrite doc-string.
3955 (display-buffer-default-action)
3956 (display-buffer-overriding-action): New variables.
3957 (display-buffer, switch-to-buffer): Rewrite.
3958 (pop-to-buffer): Restore Emacs 23 behavior but use
3959 window-normalize-buffer-to-display.
3960 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3961 Restore Emacs 23 behavior but use
3962 window-normalize-buffer-to-switch-to.
3963 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3964 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3965 Rewrite using Emacs 23 options.
f818cd2a 3966
5bc3b51d
MA
39672011-08-31 Michael Albinus <michael.albinus@gmx.de>
3968
3969 * net/tramp.el (tramp-root-regexp): Remove.
3970 (tramp-completion-file-name-regexp-unified)
3971 (tramp-completion-file-name-regexp-separate)
3972 (tramp-completion-file-name-regexp-url): Don't use leading volume
3973 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3974 (tramp-drop-volume-letter): Simplify definition.
3975 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3976
b1a4f8e1
SM
39772011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3978
3979 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3980 (bug#9356).
3981
5664fa7b
RT
39822011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3983
b1a4f8e1 3984 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3985
9a45d6c3
JL
39862011-08-29 Juri Linkov <juri@jurta.org>
3987
3988 * isearch.el (isearch-done): Don't display message "Mark saved"
3989 when arg `edit' is non-nil to prevent its flicker in the echo area.
3990
fb87e0fb
CY
39912011-08-28 Chong Yidong <cyd@stupidchicken.com>
3992
3993 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3994 obsolete packages for deletion.
3995
09ac1c2a
CS
39962011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3997
3998 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3999 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
4000 view-mode from help-mode.
4001 (help-xref-override-view-map): Remove.
4002 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4003 view-mode is not used anymore.
4004
7a1ff57f
CY
40052011-08-28 Chong Yidong <cyd@stupidchicken.com>
4006
4007 * server.el (server-port): Doc fix.
4008
b9696605
CY
4009 * cus-theme.el (custom-theme-choose-mode): Inherit from
4010 special-mode (Bug#9124).
4011 (custom-theme-choose-mode-map): Add special-mode to parent.
4012
ef8cdf8c
AM
40132011-08-28 Alan Mackenzie <acm@muc.de>
4014
4015 * progmodes/cc-fonts.el
4016 (c-make-font-lock-BO-decl-search-function): New function.
4017 (c-basic-matchers-after - "Fontify the clauses after various
4018 keywords"): Extract the three keyword lists for the 3 erroneous
4019 constructs from the list of four, and use the new function above
4020 in place of an old one.
4021
27de4e20
DD
40222011-08-28 Deniz Dogan <deniz@dogan.se>
4023
4024 * net/rcirc.el (rcirc-insert-prev-input)
4025 (rcirc-insert-next-input): Remove unused argument.
4026
356a3681
SM
40272011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4030
3fc9b218
AM
40312011-08-27 Alan Mackenzie <acm@muc.de>
4032
4033 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4034 handle function pointer parameters properly.
4035
538a061c
MR
40362011-08-27 Martin Rudalics <rudalics@gmx.at>
4037
4038 * window.el (display-buffer-reuse-window): Fix case where
4039 selected window was reused with non-nil OTHER-WINDOW argument.
4040 (Bug#9381)
4041
35b1c40c
DD
40422011-08-27 Deniz Dogan <deniz@dogan.se>
4043
4044 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4045 oftc's NickServ messages.
4046
2f6a3e79
GM
40472011-08-27 Glenn Morris <rgm@gnu.org>
4048
4049 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4050
7254299e
CY
40512011-08-26 Chong Yidong <cyd@stupidchicken.com>
4052
4053 * emacs-lisp/package.el (package-install): Call package-initialize
4054 if called interactively.
4055
f8ccf167
LL
40562011-08-26 Leo Liu <sdl.web@gmail.com>
4057
4058 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4059
3e8cd5ce
JL
40602011-08-25 Juri Linkov <juri@jurta.org>
4061
4062 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4063 `search-whitespace-regexp' (bug#9364).
4064
93eb7113
JL
40652011-08-25 Juri Linkov <juri@jurta.org>
4066
4067 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4068 `regexp-search-ring' to their global values to protect from
4069 updating by `read-from-minibuffer' (bug#9185).
4070
f65d1611
JL
40712011-08-25 Juri Linkov <juri@jurta.org>
4072
4073 * textmodes/ispell.el (ispell-command-loop): Add newline
4074 at the end of the "Use option `i'..." line.
4075
f1cf7a31
JL
40762011-08-25 Juri Linkov <juri@jurta.org>
4077
4078 * battery.el (display-battery-mode): If `battery-status-function'
4079 or `battery-mode-line-format' is nil, display the message and set
4080 `display-battery-mode' to nil (bug#9363).
4081
0c95fcf7
EZ
40822011-08-25 Eli Zaretskii <eliz@gnu.org>
4083
4084 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4085 bidi-string-mark-left-to-right; they are unnecessary now.
4086
a2ebe600
DD
40872011-08-25 Deniz Dogan <deniz@dogan.se>
4088
4089 * net/quickurl.el: Documentation typo fixes.
4090
e4ed06f1
CY
40912011-08-25 Chong Yidong <cyd@stupidchicken.com>
4092
4093 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4094
e5f1c99e
GM
40952011-08-25 Glenn Morris <rgm@gnu.org>
4096
b2948976
GM
4097 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4098
e5f1c99e
GM
4099 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4100 (smtpmail-via-smtp): Handle nil response from smtp.
4101
f22f4808
JL
41022011-08-24 Juri Linkov <juri@jurta.org>
4103
4104 * proced.el (proced-marked): Inherit from `error' instead of
4105 `font-lock-warning-face'.
4106
4107 * ibuffer.el (ibuffer-marked-face): Change default face from
4108 `font-lock-warning-face' to `warning'.
4109 (ibuffer-deletion-face): Change default face from
4110 `font-lock-type-face' to `error'.
4111
4112 * battery.el (battery-update): Use the face `error' instead of
4113 `font-lock-warning-face' (bug#6117).
4114
6a93965e
JL
41152011-08-24 Juri Linkov <juri@jurta.org>
4116
4117 * faces.el (success): Change face color from "Green3" to
4118 "ForestGreen" on light background (bug#9353).
4119
1ed43b09
CY
41202011-08-24 Chong Yidong <cyd@stupidchicken.com>
4121
5664fa7b
RT
4122 * window.el (quit-window): Rename from quit-restore-window.
4123 Use same arglist as old quit-window.
1ed43b09
CY
4124 (frame-auto-delete): Doc fix.
4125
4126 * view.el (view-mode-exit): Use quit-window.
4127
11dcdbb2
JL
41282011-08-24 Juri Linkov <juri@jurta.org>
4129
4130 * isearch.el (isearch-ring-adjust1): Start visiting previous
4131 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4132 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4133 for empty search string (when the last search string is reused
4134 automatically) to adjust the isearch ring to the last element and
4135 prepare the correct index for further M-p commands (bug#9185).
4136
de62b4df
KH
41372011-08-24 Kenichi Handa <handa@m17n.org>
4138
4139 * international/ucs-normalize.el: If decomposition property of
4140 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4141 nil.
4142 (nfd, nfkd): Likewise.
4143
963b492b
SM
41442011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4147 from process filters aren't reliably transmitted to the surrounding
4148 accept-process-output.
4149 (mpc-proc-check): New function.
4150 (mpc-proc-sync): Use it (bug#8293)
4151
93b6b5e1
SM
41522011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4155 Add compatibility functions (bug#9313).
4156
bca633fb
EZ
41572011-08-23 Eli Zaretskii <eliz@gnu.org>
4158
b177498a
EZ
4159 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4160
6df6ae42 4161 * international/uni-bidi.el: Regenerate.
bca633fb 4162
0902a04e
KH
41632011-08-23 Kenichi Handa <handa@m17n.org>
4164
4165 * international/charprop.el:
4166 * international/uni-bidi.el:
4167 * international/uni-category.el:
4168 * international/uni-combining.el:
4169 * international/uni-comment.el:
4170 * international/uni-decimal.el:
4171 * international/uni-decomposition.el:
4172 * international/uni-digit.el:
4173 * international/uni-lowercase.el:
4174 * international/uni-mirrored.el:
4175 * international/uni-name.el:
4176 * international/uni-numeric.el:
4177 * international/uni-old-name.el:
4178 * international/uni-titlecase.el:
4179 * international/uni-uppercase.el: Regenerate.
4180
3bbf23bc
MR
41812011-08-23 Martin Rudalics <rudalics@gmx.at>
4182
4183 * help.el (help-window-setup): Fix message displayed when other
4184 window is reused. (Bug#9341)
4185
b3fd59bd
SM
41862011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4187
1802e444
SM
4188 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4189 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4190
b3fd59bd
SM
4191 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4192 Mark obsolete.
4193 * shell.el (shell-parse-pcomplete-arguments): New function.
4194 (shell-completion-vars): Use it instead (bug#9160).
4195
4eb61348
SM
41962011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4197
867cab74
SM
4198 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4199 strings and comments (bug#9333).
4200
4eb61348
SM
4201 * emacs-lisp/debug.el (debug-arglist): New function.
4202 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4203 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4204
262a1439
JL
42052011-08-22 Juri Linkov <juri@jurta.org>
4206
56ee679c
JL
4207 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4208 Revert regexp that highlights output switches to its old
4209 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4210
262a1439
JL
4211 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4212 to check for empty output (bug#9226).
4213
f13f86fb
CY
42142011-08-22 Chong Yidong <cyd@stupidchicken.com>
4215
4216 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4217 symbol-constituent as the default, as that stops font-lock from
4218 working properly (Bug#8843).
4219
c65c9622
LMI
42202011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4221
4222 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4223 `coding-system-for-*' around the process open call to avoid
4224 auth-source side effects.
e7f2c178 4225 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4226 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4227 probe hangs.
c65c9622 4228
23a8a5ab
CY
42292011-08-21 Chong Yidong <cyd@stupidchicken.com>
4230
ff98b2dd
CY
4231 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4232
23a8a5ab
CY
4233 * emacs-lisp/find-func.el (find-function-noselect): New arg
4234 lisp-only.
4235
4236 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4237 signal an error for built-in functions (Bug#6664).
4238
f5e3c598
LMI
42392011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4240
4241 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4242 (smtpmail-try-auth-methods): Use it.
4243
a3f2468a
CY
42442011-08-21 Chong Yidong <cyd@stupidchicken.com>
4245
2c34e8da
CY
4246 * font-lock.el (font-lock-fontify-region)
4247 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4248 (font-lock-default-unfontify-buffer)
4249 (font-lock-default-fontify-region)
4250 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4251
b3fd59bd
SM
4252 * progmodes/compile.el (compilation-error-properties):
4253 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4254 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4255 `ant' regexp.
ee31aabc 4256
a3f2468a
CY
4257 * net/browse-url.el (browse-url-firefox): Don't call
4258 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4259
8e999f70
GM
42602011-08-20 Glenn Morris <rgm@gnu.org>
4261
c21a496a
GM
4262 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4263
59ee0542
GM
4264 * tutorial.el (tutorial--default-keys): Update some default bindings.
4265
8e999f70
GM
4266 * files.el (hack-local-variables): Fully ignore case for "mode:".
4267
e3715033
AM
42682011-08-20 Alan Mackenzie <acm@muc.de>
4269
4270 Resolve invalid use of a regexp in regexp-opt.
4271
4d61f28d
JB
4272 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4273 detection for a java annotation.
e3715033 4274
4d61f28d 4275 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4276 detection for a java annotation.
4277
4d61f28d
JB
4278 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4279 handling for java.
e3715033
AM
4280 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4281
04ed2e9c
CY
42822011-08-20 Chong Yidong <cyd@stupidchicken.com>
4283
4284 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4285 (Bug#9274).
4286
826cee64
AM
42872011-08-20 Alan Mackenzie <acm@muc.de>
4288
58179cce 4289 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4290 such a construct. Mainly for when jit-lock etc. starts a chunk
4291 here.
4292
58179cce 4293 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4294 variable.
58179cce 4295 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4296 c-make-font-lock-search-function.
4297 (c-make-font-lock-search-function): Use the above function.
4298 (c-make-font-lock-context-search-function): New function.
4299 (c-cpp-matchers): Enhance the preprocessor expression case with
4300 the above function
4301 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4302 which takes an expression.
4303
4304 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4305
13009bd8
MR
43062011-08-20 Martin Rudalics <rudalics@gmx.at>
4307
4308 * window.el (display-buffer-reuse-window)
4309 (display-buffer-pop-up-window): Don't reuse or split a side
4310 window.
4311
9234ff7f
GM
43122011-08-19 Glenn Morris <rgm@gnu.org>
4313
4314 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4315 Downcase "Mode:". (Bug#9331)
9234ff7f 4316
f635daa1
CY
43172011-08-18 Chong Yidong <cyd@stupidchicken.com>
4318
4319 * international/characters.el: Add L and R categories.
4320
4321 * subr.el (bidi-string-mark-left-to-right): Rename from
4322 string-mark-left-to-right. Use category search.
4323
4324 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4325
bc987f8b
JL
43262011-08-18 Juri Linkov <juri@jurta.org>
4327
4328 * faces.el (error, warning, success): New faces with definitions
4329 copied from old default values of `font-lock-warning-face',
4330 `compilation-warning', `compilation-info' (bug#6117).
4331
4332 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4333
4334 * progmodes/compile.el (compilation-error): Inherit from `error'.
4335 (compilation-warning): Inherit from `warning'.
4336 (compilation-info): Inherit from `success'.
4337
4338 * dired.el (dired-marked): Inherit from `warning'.
4339 (dired-flagged): Inherit from `error'.
4340
57173b96
LMI
43412011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4342
3e79eb87
LMI
4343 * mail/smtpmail.el (auth-source): Require to avoid problems with
4344 binding variables (bug#9298). Also clean up some unused
4345 autoloads.
4346
b3fd59bd
SM
4347 * net/network-stream.el (network-stream-open-starttls):
4348 Support using starttls.el without using gnutls-cli.
57173b96 4349
02b404de
JL
43502011-08-17 Juri Linkov <juri@jurta.org>
4351
4352 * progmodes/grep.el (rgrep): Handle the case when
4353 `grep-find-command' is a cons cell (bug#9278).
4354
8c9177f2
MR
43552011-08-17 Martin Rudalics <rudalics@gmx.at>
4356
4357 * window.el (display-buffer-pop-up-frame): Run frame creation
4358 function with BUFFER current (as special-display-popup-frame
4359 does). Reported by Drew Adams.
4360
3644a0ab
DU
43612011-08-17 Daiki Ueno <ueno@unixuser.org>
4362
4363 * epa-mail.el: Simplify GnuPG group expansion using
4364 epg-expand-group.
4365 (epa-mail-group-alist, epa-mail-group-modtime)
4366 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4367 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4368 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4369 Remove.
4370
5e617bc2 43712011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4372
4373 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4374
9c4aeabf
AM
43752011-08-16 Alan Mackenzie <acm@muc.de>
4376
4377 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4378 Correct, to avoid the inside of macros.
4379
3a99bf64
RS
43802011-08-16 Richard Stallman <rms@gnu.org>
4381
04963aa8
RS
4382 * epa-mail.el: Handle GnuPG group definitions.
4383 (epa-mail-group-alist, epa-mail-group-modtime)
4384 (epa-mail-gnupg-conf-file): New variables.
4385 (epa-mail-parse-groups, epa-mail-sync-groups)
4386 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4387 (epa-mail-expand-recipients): New functions.
4388 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4389
177549d0
RS
4390 * mail/rmail.el (rmail-epa-decrypt): New command.
4391
fe38beef
RS
4392 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4393 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4394 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4395 (epa-decrypt-armor-in-region): Make error message clearer.
4396
934eacb9
SM
43972011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4398
4399 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4400 and "a2b" to "ab" for `prefix'.
4401
d024fb4e
CY
44022011-08-14 Chong Yidong <cyd@stupidchicken.com>
4403
4404 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4405 filter groups.
de148fee
CY
4406 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4407 Fourquet (Bug#8804).
d024fb4e 4408
62f1ca49
JB
44092011-08-12 Juanma Barranquero <lekktu@gmail.com>
4410
4411 * startup.el (argi): Declare as global variable (bug#9275).
4412
9ccaaa4b
CY
44132011-08-12 Chong Yidong <cyd@stupidchicken.com>
4414
4415 * subr.el (string-mark-left-to-right): Search the entire string
4416 for RTL script, not just the terminating character. Doc fix.
4417
a3dae87a
SM
44182011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4419
6cd18349
SM
4420 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4421 New function.
4422 (js--regexp-literal, js-syntax-propertize-function): Remove.
4423 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4424 (js-mode-map): Don't rebind electric keys.
4425 (js-insert-and-indent): Remove.
4426 (js-mode): Setup electric-layout and electric-indent instead.
4427
a3dae87a
SM
4428 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4429
9d5cb631
DU
44302011-08-12 Daiki Ueno <ueno@unixuser.org>
4431
4432 * epa.el (epa-progress-callback-function): Fix the logic of
4433 displaying progress.
4434 * epa-file.el (epa-file-insert-file-contents): Make progress
4435 display more user-friendly.
4436 (epa-file-write-region): Ditto.
4437
3e26a4a2
CY
44382011-08-10 Chong Yidong <cyd@stupidchicken.com>
4439
4440 * subr.el (string-mark-left-to-right): New function.
4441
4442 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4443 Use string-mark-left-to-right.
4444 (list-buffers-noselect): Caller changed.
4445
a3dae87a
SM
4446 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4447 Use string-mark-left-to-right.
3e26a4a2
CY
4448 (tabulated-list-print): Recenter after moving point.
4449
ac8cf6e6
JL
44502011-08-10 Juri Linkov <juri@jurta.org>
4451
4452 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4453 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4454 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4455
8d96c9a4
CY
44562011-08-09 Chong Yidong <cyd@stupidchicken.com>
4457
4458 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4459 (Bug#7554).
4460
7be1c708 44612011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4462
4463 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4464 character. (Bug#6594)
4465
37e11a63
CY
44662011-08-08 Chong Yidong <cyd@stupidchicken.com>
4467
839dde57
CY
4468 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4469 (image-dired--with-db-file): New macro.
4470 (image-dired-write-tags, image-dired-remove-tag)
4471 (image-dired-create-gallery-lists, image-dired-write-comments)
4472 (image-dired-get-comment, image-dired-mark-tagged-files)
4473 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4474 (image-dired-gallery-generate): Use insert-file-contents.
4475
37e11a63
CY
4476 * time.el (display-time-world-list, display-time-world-display):
4477 * time-stamp.el (time-stamp-string):
4478 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4479 set-time-zone-rule (Bug#7337).
4480
0b4946c4
DU
44812011-08-08 Daiki Ueno <ueno@unixuser.org>
4482
4483 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4484 (epg-error-to-string, epg-errors-to-string): New function.
4485 (epg-wait-for-completion): Reverse errors list.
4486 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4487 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4488 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4489 (epg-sign-keys, epg-generate-key-from-file)
4490 (epg-generate-key-from-string): Format errors by using
4491 epg-errors-to-string (bug#9255).
4492 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4493
75bfc667
JL
44942011-08-07 Juri Linkov <juri@jurta.org>
4495
4496 * faces.el (list-faces-display): Remove extra angle bracket
4497 from `help-mode-map'.
4498
4499 * info.el (Info-history-toc-nodes): Doc fix.
4500
4501 * longlines.el (longlines-mode): Doc fix.
4502
673e08bb
SM
45032011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4640dd88
SM
4505 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4506 of statements and in a few more cases (bug#9183).
4507
673e08bb
SM
4508 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4509 New functions.
4510 (cl-transform-lambda): Use them (bug#9239).
4511
89b3f019
MR
45122011-08-05 Martin Rudalics <rudalics@gmx.at>
4513
4514 * window.el (display-buffer-same-window)
4515 (display-buffer-same-frame, display-buffer-other-window)
4516 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4517 (pop-to-buffer-other-window)
4518 (pop-to-buffer-same-frame-other-window)
4519 (pop-to-buffer-other-frame): Make them defuns.
4520 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4521
640c8776
SM
45222011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * subr.el (make-composed-keymap): Move from C. Change calling
4525 convention, and improve docstring to bring attention to a subtle point.
4526 * minibuffer.el (completing-read-default): Adjust accordingly.
4527
63648a95
MA
45282011-08-03 Michael Albinus <michael.albinus@gmx.de>
4529
4530 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4531 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4532
4533 * net/trampver.el: Update release number.
4534
b796c9b7
SM
45352011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4538 "in" (bug#9190).
4539
2239d7d5
LMI
45402011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4541
e07dd7c3
LMI
4542 * mail/sendmail.el (sendmail-query-once): Restore the current
4543 buffer after querying (bug#9074).
4544
0e6a2bd7
LMI
4545 * dired.el (dired-flagged): Use different faces for marked and
4546 flagged files (bug#6117).
4547
ce887515
LMI
4548 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4549 (bug#4433).
4550
92f2affc
LMI
4551 * ido.el (ido-mode): Switch off the message if called
4552 non-interactively.
4553
57d5aff0
LMI
4554 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4555 before 587, since it appears that that's more likely to work for
4556 more people.
4557
98cd6c18 4558 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4559 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4560 exist.
4561
b96dec83
LMI
4562 * info.el: Remove the `Info-beginning-of-buffer' function
4563 (bug#8325).
4564
b796c9b7
SM
4565 * net/network-stream.el (network-stream-open-starttls):
4566 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4567
d90e2ea0
MR
45682011-08-01 Martin Rudalics <rudalics@gmx.at>
4569
4570 * window.el (display-buffer-in-window): Don't set dedicated status
4571 of window here (Bug#9215).
4572 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4573 (display-buffer-pop-up-side-window)
b796c9b7 4574 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4575
cca09170
SM
45762011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4579 before binding generated-autoload-file.
4580
027b979c
DD
45812011-08-01 Deniz Dogan <deniz@dogan.se>
4582
4583 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4584
3c7ee4f3
MA
45852011-07-30 Michael Albinus <michael.albinus@gmx.de>
4586
4587 Sync with Tramp 2.2.2.
4588
4589 * net/trampver.el: Update release number.
4590
2cc8e51a
JL
45912011-07-30 Juri Linkov <juri@jurta.org>
4592
4593 * dired-aux.el (dired-touch-initial): Remove function.
4594 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4595 current time, and `default' to the last modification time of the
4596 current marked file (bug#6887).
4597
a514d856
JM
45982011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4599
4600 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4601 numeric argument to read-number (bug#9163).
a514d856 4602
8a7eddd7
MA
46032011-07-27 Michael Albinus <michael.albinus@gmx.de>
4604
4605 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4606 connection process, it could be nil.
4607
1ddd96f5
LL
46082011-07-27 Leo Liu <sdl.web@gmail.com>
4609
4610 Simplify url handling in rcirc-mode.
4611
4612 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4613 (rcirc-browse-url-at-mouse): Remove.
4614 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4615
b248a85d
AM
46162011-07-26 Alan Mackenzie <acm@muc.de>
4617
4618 Fontify bitfield declarations properly.
4619
4620 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4621 (c-symbol-chars): Now exported as a lang variable.
4622 (c-not-primitive-type-keywords): New lang variable.
4623
4624 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4625 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4626 parsed as a bitfield declaration.
b248a85d 4627
b796c9b7
SM
4628 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4629 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4630 (c-punctuation-in): New function.
4631 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4632 declarations properly.
4633
68575ab0
UJ
46342011-07-26 Ulf Jasper <ulf.jasper@web.de>
4635
4636 * calendar/icalendar.el (icalendar--all-events): Take care of
4637 multiple vcalendars in a single file.
b796c9b7 4638 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4639
0f0a88b9
DD
46402011-07-25 Deniz Dogan <deniz@dogan.se>
4641
4642 * image.el (insert-image): Clarifying docstring.
4643
0b3f36df
MA
46442011-07-24 Michael Albinus <michael.albinus@gmx.de>
4645
4646 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4647 `tramp-send-command-and-check' if there is no error.
4648 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4649
a9901f61
AM
46502011-07-22 Alan Mackenzie <acm@muc.de>
4651
4652 Prevent cc-langs.elc being loaded at run time.
4653
4654 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4655 cc-langs.
4656
4d61f28d 4657 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4658 "(require 'cc-langs)". Quote a form so it will evaluate at
4659 (cc-mode's) compilation time.
4660
11d074b2
MA
46612011-07-22 Michael Albinus <michael.albinus@gmx.de>
4662
4663 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4664 loading. (Bug#9114)
4665
938b94c8
MR
46662011-07-21 Martin Rudalics <rudalics@gmx.at>
4667
4668 * window.el (display-buffer-pop-up-window)
4669 (display-buffer-pop-up-side-window)
4670 (display-buffer-in-side-window): Call display-buffer-set-height
4671 and display-buffer-set-width after setting the new window's
b796c9b7 4672 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4673
bfa4f190
SS
46742011-07-20 Sam Steingold <sds@gnu.org>
4675
4676 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4677 (etags-tags-included-tables): Call `convert-standard-filename' on
4678 the file names contained in TAGS so that windows Emacs can handle
4679 TAGS files created by cygwin ctags.
4680
8ca42262
LMI
46812011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4682
4683 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4684 which apparently didn't work.
4685
5db2afd2 46862011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4687
5db2afd2
RW
4688 * proced.el (proced-send-signal): For *Marked Processes* buffer
4689 put point at beginning of buffer.
4690
92e15d10
SB
46912011-07-19 Stephen Berman <stephen.berman@gmx.net>
4692
4693 * proced.el (proced-format): Make header lines align with the text
4694 (bug#1779).
4695
1bfd59e5
LMI
46962011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4697
4698 * view.el (view-buffer): Allow running in `special' modes if we're
4699 visiting a file (bug#8615).
4700
f5aae37c
MR
47012011-07-19 Martin Rudalics <rudalics@gmx.at>
4702
4703 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4704 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4705 New functions.
f5aae37c
MR
4706 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4707 more accurately.
4708
bf2c1571
AM
47092011-07-18 Alan Mackenzie <acm@muc.de>
4710
4711 Fontify declarators properly when, e.g., a jit-lock chunk begins
4712 inside a declaration.
4713
4714 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4715
b796c9b7
SM
4716 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4717 New function.
bf2c1571
AM
4718 (c-complex-decl-matchers): Insert reference to
4719 c-font-lock-enclosing-decls.
4720
4721 * progmodes/cc-engine.el (c-backward-single-comment):
4722 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4723 to nil around calls to (forward-comment -1).
4724
4e190b80
LMI
47252011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4726
12dc863d
LMI
4727 * image.el (put-image): Doc typo fix.
4728
a762e966
LMI
4729 * progmodes/etags.el (tags-search): Doc typo fix.
4730
4e190b80
LMI
4731 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4732 password if we get errors 550 to 554.
4733
f019fb21
LMI
47342011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4735
b796c9b7 4736 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4737
81746738
LMI
4738 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4739 indentation character (bug#6380).
4740
3ee3a1b5
LMI
4741 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4742
c82f64de
LMI
4743 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4744 to clarify what the problem is (bug#4291).
4745
f019fb21
LMI
4746 * simple.el (current-kill): Clarify what
4747 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4748 (auto-fill-mode): Document `auto-fill-function' in relation to
4749 `auto-fill-mode' (bug#2470).
f019fb21 4750
0794775d
LM
47512011-07-16 Lawrence Mitchell <wence@gmx.li>
4752
4753 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4754 method if slot is read-only (bug#9035).
4755
be39b8cc
MR
47562011-07-16 Martin Rudalics <rudalics@gmx.at>
4757
b796c9b7 4758 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4759 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4760 selected before, see discussion of (Bug#8615), (Bug#6954).
4761 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4762
6ccf7859
GM
47632011-07-15 Glenn Morris <rgm@gnu.org>
4764
4765 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4766 Respect help-form.
6ccf7859 4767
87e86684
LM
47682011-07-09 Lawrence Mitchell <wence@gmx.li>
4769
4770 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4771 (gnutls-negotiate): Use it.
4772
d6066239
LMI
47732011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
b796c9b7
SM
4775 * net/gnutls.el (gnutls-negotiate):
4776 Upcase `gnutls-algorithm-priority'.
d6066239 4777
bd23ebc0
GM
47782011-07-15 Glenn Morris <rgm@gnu.org>
4779
c65bca65
GM
4780 * jka-compr.el (jka-compr-verbose): Move from here...
4781 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4782 Add missing :version tag.
4783 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4784
478615cc
LMI
47852011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4786
7b41decb
LMI
4787 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4788 (gnutls-negotiate): Use it.
4789
dbc44fcd
LMI
4790 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4791
06789f97
LMI
4792 * info.el (Info-beginning-of-buffer): New command.
4793 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4794 announcing `b' as the key (bug#8325).
ab896c37 4795 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4796
c39da690
LMI
4797 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4798
3aa5f34b
LMI
4799 * international/mule-cmds.el
4800 (describe-specified-language-support): Make the error message
4801 clearer (bug#8905).
4802
4bf0979f
LMI
4803 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4804
478615cc
LMI
4805 * isearch.el (isearch-barrier): Add a doc string, since it's
4806 mentioned in a function doc string (bug#8678).
4807
75c68aa1
MR
48082011-07-15 Martin Rudalics <rudalics@gmx.at>
4809
4810 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4811 buffer argument (Bug#9083) and self-identifying label argument.
4812
a7c33da2
GM
48132011-07-15 Glenn Morris <rgm@gnu.org>
4814
4815 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4816
2f5c6024
LMI
48172011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4818
4819 * man.el (Man-fontify-manpage): Fix message when formatting the
4820 man page (bug#7929).
4821
0bb23927 48222011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4823
4824 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4825 argument LRM; if non-nil, append an invisible LRM character to the
4826 buffer name.
4827 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4828 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4829 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4830 paragraph direction.
cce4b0a7 4831
621ef9ab
LMI
48322011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4833
d1583c48
LMI
4834 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4835 the man page name (bug#7929).
4836
6a57fb5f
LMI
4837 * image.el (put-image): Mention the `put-image' overlay property
4838 (bug#7834).
4839
d7956b14
LMI
4840 * scroll-bar.el (set-scroll-bar-mode): Mention that
4841 `scroll-bar-mode' lists the values (bug#7772).
4842
5b2d4a66
LMI
4843 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4844 command (bug#7729).
4845
7509a874
LMI
4846 * rect.el (apply-on-rectangle): Return the point after the last
4847 operation.
4848 (string-rectangle): Go to the point after the last operation
4849 (bug#7522).
4850
4fe74b19
LMI
4851 * printing.el (pr-toggle-region): Clarify the documentation
4852 slightly (bug#7493).
4853
b796c9b7
SM
4854 * time.el (display-time-update):
4855 Allow `display-time-mail-function' to return nil (bug#7158).
4856 Fix suggested by Detlev Zundel.
ab283561 4857
fc233c9d
LMI
4858 * vc/diff.el (diff): Clarify the order the file names are read
4859 (bug#7111).
4860
43f5740b
LMI
4861 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4862 the doc string (bug#7015).
4863
f2182a76
LMI
4864 * font-lock.el (font-lock-maximum-decoration): Mention what
4865 numeric levels mean (bug#6935).
4866
621ef9ab
LMI
4867 * startup.el (initial-buffer-choice): Don't mention the `none'
4868 selection, which is against policy.
4869
adc47434
MR
48702011-07-14 Martin Rudalics <rudalics@gmx.at>
4871
b796c9b7
SM
4872 * window.el (display-buffer-normalize-special):
4873 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4874
7e5bfb8f
EZ
48752011-07-14 Eli Zaretskii <eliz@gnu.org>
4876
4877 * subr.el (version<, version<=, version=): Mention "-CVS" and
4878 "-12345" alpha version numbers.
4879
27fa387a
CY
48802011-07-14 Chong Yidong <cyd@stupidchicken.com>
4881
4882 * bindings.el: Add advertised binding for set-mark-command
4883 (Bug#5772).
4884
8bdfa064
CY
48852011-07-14 Chong Yidong <cyd@stupidchicken.com>
4886
4887 * bindings.el (mode-line-other-buffer):
4888 * bookmark.el (bookmark-bmenu-2-window):
4889 * bs.el (bs-cycle-next, bs-cycle-previous):
4890 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4891 switch-to-buffer.
4892
4893 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4894 Delete.
8bdfa064 4895
5eba16a3
JB
48962011-07-14 Juanma Barranquero <lekktu@gmail.com>
4897
4898 * follow.el (follow-debug-message, follow-redisplay):
4899 * jka-cmpr-hook.el (with-auto-compression-mode):
4900 Fix typos in docstrings.
4901
15853710
LMI
49022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4903
a28e4607
LMI
4904 * subr.el (with-silent-modifications): Clarify somewhat what the
4905 macro inhibits (bug#6525).
4906
15853710
LMI
4907 * simple.el (eval-expression): Note what it does if called
4908 interactively (bug#6495).
4909
bee0fcef
CY
49102011-07-13 Chong Yidong <cyd@stupidchicken.com>
4911
b796c9b7
SM
4912 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4913 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4914
4915 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4916 Remove switch-to-buffer.
4917
58274504
LMI
49182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4919
bd2fcc8d
LMI
4920 * files.el (make-directory): Clarify that an error will be raised
4921 if there's an error (bug#6397).
4922
0f04b32c
LMI
4923 * startup.el (initial-buffer-choice): Add `none' as a choice
4924 (bug#6234).
4925
465c5fc8
LMI
4926 * subr.el (add-hook): Clarify section about buffer-local hooks
4927 (bug#6218).
4928
58274504
LMI
4929 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4930
bead9a43
JB
49312011-07-13 Juanma Barranquero <lekktu@gmail.com>
4932
4933 * tabify.el (untabify): Preserve the current column so that point
4934 doesn't move (bug#6032).
4935
3af98a7b
LMI
49362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4937
b796c9b7
SM
4938 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4939 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4940
6240145a
GM
49412011-07-13 Glenn Morris <rgm@gnu.org>
4942
4943 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4944 (dired-insert-directory): Give a message the first time
4945 if ls is found not to support --dired.
4946
1d8c2ccc
LMI
49472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4948
4949 * simple.el (toggle-truncate-lines): Clarify what is toggled
4950 (bug#5580). Text by Drew Adams.
4951
5fc4038e
CY
49522011-07-13 Chong Yidong <cyd@stupidchicken.com>
4953
4954 * simple.el (blink-matching-open): Make the error message from the
4955 last change less verbose.
4956
bf6012e5
DN
49572011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4958
4959 * font-lock.el (font-lock-comment-face): Use the high contrast
4960 "yellow" color for font-lock-comment-face on low color terminals
4961 using a dark background color (bug#4221).
4962
343c3b5a
LMI
49632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4964
7e9505c5
LMI
4965 * dired.el (dired-insert-set-properties): Make the doc string
4966 reflect what it does now (bug#5325).
4967
c26fdcf5
LMI
4968 * simple.el (blink-matching-open): Say that we were unable to find
4969 the match within the limit, if we're limited (bug#5122).
4970
bb388cc5
LMI
4971 * international/mule-cmds.el (prefer-coding-system): Add an
4972 example (bug#4869).
4973
343c3b5a
LMI
4974 * progmodes/etags.el (tags-search): Document `file-list-form'
4975 (bug#4731).
4976
2a517d45
LM
49772011-07-13 Lawrence Mitchell <wence@gmx.li>
4978
4979 * net/browse-url.el (browse-url-default-browser)
4980 (browse-url-browser-function): Make the default browser choice a
4981 bit more logical (bug#4300). Also clean up the doc string.
4982
b6c78ef2
JB
49832011-07-13 Juanma Barranquero <lekktu@gmail.com>
4984
4985 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4986 binary endings (bug#4440).
4987
1c4dd947
LMI
49882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4989
a2014063
LMI
4990 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4991 which can be pretty annoying (bug#8971).
4992
9c9c2d88
LMI
4993 * jka-compr.el (jka-compr-verbose): New variable, and use
4994 throughout (bug#8971).
4995
1c4dd947
LMI
4996 * info.el (Info-find-file): Fall back on the installation
4997 directory if we can't find the info node anywhere else.
4998
a1c9f41b
SO
49992011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5000
5001 * vc/vc.el (vc-revert-file):
5002 Don't set file time-stamp in the past. (Bug#5181)
5003
536f3d36
LMI
50042011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5005
7152b011
LMI
5006 * files.el (after-find-file): Give a better error message when
5007 trying to find a symlink that points to a file that doesn't exist
5008 (bug#4398).
5009
536f3d36
LMI
5010 * progmodes/cc-vars.el: Remove (probably) misleading comment
5011 (bug#4396).
5012
460c0fba
JB
50132011-07-12 Johan Bockgård <bojohan@gnu.org>
5014
5015 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5016
7a6bda45
CY
50172011-07-12 Chong Yidong <cyd@stupidchicken.com>
5018
5019 * mouse-sel.el: Hack restoring functionality, while keeping
5020 compatibility with 2010-07-03 changes to mouse selection.
5021 (mouse-sel-primary-overlay): New var.
5022 (mouse-sel-selection-alist): Use it.
5023 (mouse-sel-mode): Doc fix; remove points that are default features
5024 of mouse.el.
5025
c79598ef
JB
50262011-07-12 Johan Bockgård <bojohan@gnu.org>
5027
5028 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5029 Fix previous fix (bug#2490).
5030
ff8be6ef
RW
50312011-07-12 Roland Winkler <winkler@gnu.org>
5032
b796c9b7
SM
5033 * textmodes/bibtex.el (bibtex-initialize):
5034 Use pop-to-buffer-same-window.
ff8be6ef
RW
5035 (bibtex-search-entries): Fix interactive call.
5036
296ba3ee
LMI
50372011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5038
f5242a02 5039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
5040 Fontise bytecomp Error lines more correctly (bug#2490).
5041 Fix suggested by Johan Bockgård.
f5242a02 5042
296ba3ee
LMI
5043 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5044
5045 * dired-x.el (dired-guess-default): Use `delete-dups'.
5046
f69fd0d2
CY
50472011-07-12 Chong Yidong <cyd@stupidchicken.com>
5048
5049 * dired.el (dired-mark-prompt):
5050 * dired-aux.el (dired-read-shell-command): Doc fix.
5051
eab5dc07
LMI
50522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5053
b796c9b7
SM
5054 * mail/sendmail.el (sendmail-query-once):
5055 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
5056 emacs -Q.
5057
5058 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5059
eab5dc07
LMI
5060 * cus-edit.el (custom-file): Take an optional no-error variable.
5061 (customize-save-variable): Set the variable, and give a warning if
5062 running under "emacs -q".
5063
a1e65d42
JB
50642011-07-11 Juanma Barranquero <lekktu@gmail.com>
5065
5066 * loadhist.el (unload-feature-special-hooks):
5067 Add `auto-coding-functions', `fill-nobreak-predicate' and
5068 `find-directory-functions' (bug#5327).
5069
1d52da10
LMI
50702011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5071
be958f1d
LMI
5072 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5073
5bedb26c
LMI
5074 * cus-edit.el (custom-guess-name-alist): -alist variables should
5075 use the `alist' type (bug#3120). Suggested by Drew Adams.
5076
1d52da10
LMI
5077 * printing.el: Add documentation to all the `pr-toggle-' commands.
5078
cd394be1 50792011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
5080
5081 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5082 backends where it makes sense (bug#2623).
5083
dcc88d8a
LMI
50842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085
c3de9feb
LMI
5086 * dired-x.el (dired-guess-default): Remove duplicate shell command
5087 entries (bug#2028).
8a93078b 5088 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 5089 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 5090
dcc88d8a
LMI
5091 * subr.el (remove-duplicates): New conveniency function.
5092
505e3645
LMI
50932011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5094
5095 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5096 (bug#1526).
5097
50982011-07-10 Martin Rudalics <rudalics@gmx.at>
5099
5100 * window.el (display-buffer-normalize-default): Don't invert
5101 meaning of even-window-heights. Reported by Eli Zaretskii
5102 <eliz@gnu.org>.
5103
455e4fa1
BR
51042011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5105
5106 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5107
8e0bc3e9
CY
51082011-07-10 Chong Yidong <cyd@stupidchicken.com>
5109
5110 * window.el (display-buffer): Fix arguments to
5111 display-buffer-reuse-window in last change.
5112
fa7c3228
CY
5113 * faces.el (link): Use a less saturated blue on light backgrounds.
5114
5115 * startup.el (fancy-startup-text, fancy-about-text)
5116 (fancy-startup-tail): Use font-lock faces, for background safety.
5117
c0a7f300
BN
51182011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5119
b796c9b7
SM
5120 * emulation/viper-cmd.el (viper-change-state-to-vi):
5121 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5122
4dc2a129
MR
51232011-07-09 Martin Rudalics <rudalics@gmx.at>
5124
5125 * window.el (display-buffer-default-specifiers): Remove.
5126 (display-buffer-macro-specifiers): Remove default specifiers.
5127 (display-buffer-alist): Default to nil.
b796c9b7 5128 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5129 (display-buffer-pop-up-window): Allow splitting internal
5130 windows. Check whether a live window was created.
5131 (display-buffer-other-window-means-other-frame)
5132 (display-buffer-normalize-arguments): Rename to
5133 display-buffer-normalize-argument and rewrite. Set the
5134 other-window specifier.
5135 (display-buffer-normalize-special): New function.
5136 (display-buffer-normalize-options): Rename to
5137 display-buffer-normalize-default and rewrite.
5138 (display-buffer-normalize-options-inhibit): Remove.
5139 (display-buffer-normalize-specifiers): Rewrite.
5140 (display-buffer): Process other-window specifier and call
5141 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5142 more faithfully.
b796c9b7 5143 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5144 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5145 (display-buffer-in-window, display-buffer-alist-set):
5146 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5147 <tassilo@member.fsf.org>.
5148
2d43b8c9
LL
51492011-07-09 Leo Liu <sdl.web@gmail.com>
5150
5151 * register.el (insert-register): Restore accidental change on
5152 2011-06-26. (Bug#9028)
5153
7f9b7c53
GM
51542011-07-09 Glenn Morris <rgm@gnu.org>
5155
5156 * subr.el (remq): Handle the empty list. (Bug#9024)
5157
f042cfd8
AS
51582011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5159
5160 * mail/sendmail.el (send-mail-function): No longer delay custom
5161 initialization.
5162 * custom.el (custom-initialize-delay): Doc fix.
5163
856b2f11
SM
51642011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5167
afae1d68
MA
51682011-07-08 Michael Albinus <michael.albinus@gmx.de>
5169
5170 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5171 human-friendly prompt.
5172
0757af94
SM
51732011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5176 provided by a particular plugin.
5177
d760b731
LMI
51782011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5179
5180 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5181 save customizations (with "emacs -Q"), just set the variable
5182 instead of erroring out.
5183
5184 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5185
cd79ce90
JL
51862011-07-08 Juri Linkov <juri@jurta.org>
5187
5188 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5189 (archive-zip-update-case): Use 7z if found by `executable-find'.
5190 The order of searching the available programs is the same as in
5191 `archive-zip-extract' (bug#8968).
5192
14cc04aa
CY
51932011-07-07 Chong Yidong <cyd@stupidchicken.com>
5194
5195 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5196 (menu-bar-options-menu): Tweak descriptions.
5197
0a1848ec
LMI
51982011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5199
5200 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5201 menu items into verb phrases (bug#1421). Also refill to fit under
5202 80 columns.
5203
f5bd0689
CY
52042011-07-07 Chong Yidong <cyd@stupidchicken.com>
5205
538e85c6
CY
5206 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5207 (Info-read-node-name): Doc fix (Bug#1084).
5208
f5bd0689
CY
5209 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5210 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5211 (end-of-sexp, beginning-of-sexp)
5212 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5213 (forward-symbol, forward-same-syntax, word-at-point)
5214 (sentence-at-point): Doc fix (Bug#1144).
5215
56ec5115
LMI
52162011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5217
f3f8e37f
LMI
5218 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5219 should cover it (bug#1281).
5220
0757af94 5221 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5222
e9fce1ac 5223 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5224 negotiation fails, then possibly try again with a non-encrypted
5225 connection (bug#9017).
5226
56ec5115
LMI
5227 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5228 be used.
5229
c2f9aec8
RS
52302011-07-07 Richard Stallman <rms@gnu.org>
5231
5232 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5233 property, and handle its changed format.
5234 Look for the correct line number.
5235 Use file's line contents (but not past first =) to find
5236 correct line in message.
5237
ef7b981d 52382011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5239
5240 * international/characters.el (build-unicode-category-table):
5241 Delete it.
0757af94 5242 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5243
0757af94 5244 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5245 to src/chartab.c.
5246 (get-char-code-property): Call unicode-property-table-internal to
5247 load a file. Call get-unicode-property-internal where necessary.
5248 (put-char-code-property): Call unicode-property-table-internal to
5249 load a file. Call put-unicode-property-internal where necessary.
5250 put-unicode-property-internal where necessary.
0757af94
SM
5251 (char-code-property-description):
5252 Call unicode-property-table-internal to load a file.
c805dec0
KH
5253
5254 * international/charprop.el:
5255 * international/uni-bidi.el:
5256 * international/uni-category.el:
5257 * international/uni-combining.el:
5258 * international/uni-comment.el:
5259 * international/uni-decimal.el:
5260 * international/uni-decomposition.el:
5261 * international/uni-digit.el:
5262 * international/uni-lowercase.el:
5263 * international/uni-mirrored.el:
5264 * international/uni-name.el:
5265 * international/uni-numeric.el:
5266 * international/uni-old-name.el:
5267 * international/uni-titlecase.el:
5268 * international/uni-uppercase.el: Regenerate.
5269
5270 * loadup.el: Load international/charprop.el before
5271 international/characters.
5272
e14b388a
CY
52732011-07-07 Chong Yidong <cyd@stupidchicken.com>
5274
5275 * window.el (next-buffer, previous-buffer): Signal an error if
5276 called from a minibuffer window.
5277
5278 * bindings.el: Revert 2011-07-04 change.
5279
354cf0ba
RS
52802011-07-06 Richard Stallman <rms@gnu.org>
5281
5282 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5283 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5284 Treat markers like ints.
5285 (rmail-mime-entity): Doc fix.
5286
a48868a7
LMI
52872011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5288
4906cd3d
LMI
5289 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5290 defcustom again for backwards compatibility.
5291
e0457abe
LMI
5292 * simple.el (shell-command-on-region): Fill.
5293
d67f7e1f
LMI
5294 * dired-aux.el (dired-kill-line): Add a doc string.
5295
fe204702
LMI
5296 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5297 to "\\sw\\|\\s_" (bug#358).
5298
a48868a7
LMI
5299 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5300 (dired-unmark-backward): Ditto.
5301 (dired-flag-backup-files): Ditto.
5302
5303 * dired-x.el (dired-mark-sexp): Ditto.
5304
aa8a705c
RS
53052011-07-06 Richard Stallman <rms@gnu.org>
5306
5307 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5308 (rmail-mime-entity): New arg TRUNCATED.
5309 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5310 New functions.
5311 (rmail-mime-save): Warn if entity is truncated.
5312 (rmail-mime-toggle-hidden): Likewise, for showing.
5313 (rmail-mime-process-multipart): Record when an entity is truncated.
5314
a9a936b9
RS
5315 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5316 if ENTITY is a string.
5317
1f2b92cb
LMI
53182011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5319
f4f73198 5320 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5321 of faces when `M-C-x'-ing their definitions (bug#8378).
5322 Also clean up the code slightly.
f4f73198 5323
12b16734 5324 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5325 because that makes the colors go away.
12b16734 5326
f0691d22
LMI
5327 * mail/sendmail.el (send-mail-function): Change the default to
5328 `sendmail-query-once'.
9e87df06 5329 (sendmail-query-once): Add an autoload cookie.
f0691d22 5330
1f2b92cb
LMI
5331 * net/network-stream.el (network-stream-open-starttls): Try using
5332 a plain connection even if the server offered STARTTLS, and we
5333 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5334 capability. This should make smtpmail.el work in slightly more
5335 configurations.
5336
1cdd2a1b
MA
53372011-07-06 Michael Albinus <michael.albinus@gmx.de>
5338
5339 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5340 New defun.
5341 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5342
fbcc67e2
MM
53432011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5344
5345 * progmodes/sql.el: Version 3.0
0757af94 5346 (sql-product-alist): Add product :completion-object,
fbcc67e2 5347 :completion-column, and :statement attributes.
0757af94 5348 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5349 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5350 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5351 ansi keywords.
5352 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5353 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5354 (sql-oracle-show-reserved-words): New function for development.
5355 (sql-product-font-lock): Simplify for source code buffers.
5356 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5357 New functions.
5358 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5359 (sql-mode-map): Add statement movement functions.
5360 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5361 New variable.
fbcc67e2
MM
5362 (sql-statement-regexp, sql-beginning-of-statement)
5363 (sql-end-of-statement, sql-signum): New functions.
0757af94 5364 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5365 (sql-show-sqli-buffer): Bug fix.
5366 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5367 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5368 with sql-interactive-mode.
5369 (sql-save-connection): Save buffer local settings.
0757af94 5370 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5371 (sql-product-interactive): Bug fix.
5372 (sql-preoutput-hold): New variable.
5373 (sql-interactive-remove-continuation-prompt): Bug fixes.
5374 (sql-debug-redirect): New variable.
5375 (sql-str-literal): New function.
5376 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5377 Redesign.
fbcc67e2
MM
5378 (sql-oracle-save-settings, sql-oracle-restore-settings)
5379 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5380 (sql-completion-object, sql-completion-column)
5381 (sql-completion-sqlbuf): New variables.
5382 (sql-build-completions-1, sql-build-completions)
5383 (sql-try-completion): New functions.
5384 (sql-read-table-name): Use them.
5385 (sql-contains-names): New buffer local variable.
5386 (sql-list-all, sql-list-table): Use it.
5387 (sql-oracle-completion-types): New variable.
5388 (sql-oracle-completion-object, sql-sqlite-completion-object)
5389 (sql-postgres-completion-object): New functions.
5390
d4eaeab1
GM
53912011-07-06 Glenn Morris <rgm@gnu.org>
5392
5393 * window.el (pop-to-buffer): Doc fix.
5394
322b7dab 53952011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5396
5397 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5398
322b7dab 53992011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5400
322b7dab 5401 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5402
322b7dab 5403 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5404
605dd5bf
CY
54052011-07-05 Chong Yidong <cyd@stupidchicken.com>
5406
5407 * button.el (button): Inherit from link face. Suggested by Dan
5408 Nicolaescu.
5409
7dbfa719
SM
54102011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5411
3db614b0
SM
5412 * progmodes/gdb-mi.el: Fit in 80 columns.
5413 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5414 switch-to-buffer.
5415
7dbfa719
SM
5416 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5417 if imenu is simply not configured (bug#8941).
5418
919d884a
KM
54192011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5420
5421 * allout.el (allout-post-undo-hook): New allout outline-change
5422 event hook to signal undo activity.
5423 (allout-post-command-business): Run allout-post-undo-hook if an
5424 undo just occurred.
7dbfa719
SM
5425 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5426 * allout-widgets.el (allout-widgets-after-undo-function):
5427 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5428 in the vicinity of an undo.
5429 (allout-widgets-mode): Include allout-widgets-after-undo-function
5430 on the new allout-post-undo-hook.
5431
450a0f09
SM
54322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5435 Let define-derived-mode define it.
5436 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5437 cycles of abbrev-table inheritance (bug#8998).
5438
2de69e00
RW
54392011-07-05 Roland Winkler <winkler@gnu.org>
5440
5441 * textmodes/bibtex.el: Add support for biblatex.
5442 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5443 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5444 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5445 (bibtex-entry-alist, bibtex-field-alist): New variables.
5446 (bibtex-entry-field-alist): Obsolete alias for
5447 bibtex-BibTeX-entry-alist.
5448 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5449 (bibtex-set-dialect): New command.
5450 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5451 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5452 Bind via bibtex-set-dialect.
2de69e00
RW
5453 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5454 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5455 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5456 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5457 Define via bibtex-set-dialect.
450a0f09
SM
5458 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5459 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5460 (bibtex-vec-push, bibtex-vec-incr): New functions.
5461 (bibtex-format-entry, bibtex-field-list)
5462 (bibtex-print-help-message, bibtex-validate)
5463 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5464
2dcdbdd9
SM
54652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * progmodes/compile.el (compilation-goto-locus):
5468 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5469 * bs.el (bs-cycle-next, bs-cycle-previous):
5470 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5471 * bindings.el (mode-line-other-buffer):
5472 * autoinsert.el (auto-insert):
5473 * arc-mode.el (archive-extract):
5474 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5475
b27640fe
JB
54762011-07-05 Juanma Barranquero <lekktu@gmail.com>
5477
5478 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5479 Fix check of `emacs-lock-unlockable-modes'.
5480 Coerce true values of `emacs-lock--try-unlocking' to t.
5481
53bbe3ad
JB
54822011-07-05 Juanma Barranquero <lekktu@gmail.com>
5483
5484 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5485 * emacs-lock.el: New file.
5486
1d3cdbc7
JD
54872011-07-05 Julien Danjou <julien@danjou.info>
5488
5489 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5490 than `boundp' to check if face is set.
5491
9173deec
JB
54922011-07-05 Juanma Barranquero <lekktu@gmail.com>
5493
5494 * register.el (registerv-make):
5495 * window.el (window-min-height): Fix typos in docstrings.
5496
869795d6
JD
54972011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5498
9173deec 5499 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5500 Update doc string.
5501
b768cdcd
JB
55022011-07-04 Juanma Barranquero <lekktu@gmail.com>
5503
5504 * server.el (server-execute): Catch quit and call
5505 `server-return-error' to pass the error back to emacsclient and
5506 close the connection (bug#8942).
5507
13aa217b
KM
55082011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5509
5510 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5511 insecure exception for current topic. Also note that auto-saves
5512 are handled differently.
5513
5514 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5515 State variables for tracking auto-save inhibition situation.
5516
5517 (allout-write-contents-hook-handler): Rename from
5518 'allout-write-file-hook-handler', and describe how it depends on
5519 write-contents-functions sensitivity to non-nil value to prevent
5520 file write.
5521
5522 (allout-auto-save-hook-handler): Remove. auto-save does not check
5523 this in individual buffers, only in the starting buffer, so this
5524 is not the right way for us to inhibit auto-save in a buffer
5525 according to its condition.
5526
5527 (allout-mode): Use new allout-write-contents-hook-handler, and
5528 only with write-contents-functions. Remove auto-save provisions -
5529 they're implemented elsewhere.
5530
5531 (allout-before-change-handler): If undo is in progress, note that
5532 for attention of allout-post-command-business.
5533
5534 (allout-post-command-business): If the command we're following was
5535 an undo, check for change in the status of encrypted items and
5536 adjust auto-save inhibitions accordingly.
5537
5538 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5539 according to whether there are or aren't any plain-text topics
5540 pending encryption.
5541
2dcdbdd9 5542 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5543 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5544 if there are plain-text topics pending encryption.
13aa217b
KM
5545
5546 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5547 buffer-saved-size and some allout state to not inhibit auto-saves
5548 if there are no longer any plain-text topics pending encryption.
5549
0757af94
SM
5550 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5551 No longer provide for exemption of the current topic.
13aa217b 5552
ac89b32c
JL
55532011-07-04 Juri Linkov <juri@jurta.org>
5554
5555 Add 7z operations to delete and save changed members (bug#8968).
5556 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5557 New defcustoms.
5558 (archive-7z-write-file-member): New function.
5559 (archive-7z-summarize): Fix the number of dashes in the
5560 listing output.
5561
8fa39615
SM
55622011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5565 (bug#8958).
5566
2f11b3f1
CY
55672011-07-04 Chong Yidong <cyd@stupidchicken.com>
5568
d66fef2b
CY
5569 * bindings.el: Ignore next-buffer and previous-buffer in
5570 minibuffer-local-map.
5571
2f11b3f1
CY
5572 * font-lock.el (font-lock-builtin-face): Change light background
5573 color to dark slate blue (Bug#6693).
5574
f932a347
WD
55752011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5576
5577 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5578
c8af70e1
SM
55792011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5582 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5583 Add switch-to-buffer.
5584
f158badc
LMI
55852011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5586
5587 * isearch.el (isearch-search-fun-function): Clarify further the
5588 meaning of the function returned.
5589
6d95bd46
MA
55902011-07-04 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5593
5594 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5595 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5596 Use it.
5597 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5598 `tramp-default-remote-path' does not exist.
5599 (tramp-send-command-and-read): New optional argument NOERROR.
5600 (tramp-open-connection-setup-interactive-shell)
5601 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5602 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5603 (tramp-process-sentinel): Flush also process' connection property.
5604 (tramp-sh-handle-start-file-process): Do not set process
5605 sentinel. It is done now ...
5606 (tramp-maybe-open-connection): ... here. (Bug#8929)
5607
909e6b67
MK
56082011-07-04 MON KEY <monkey@sandpframing.com>
5609
5610 * play/animate.el (animate-string): Doc fixes and allow changing
5611 the buffer name (bug#5417).
5612
56132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5614
c8af70e1 5615 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5616
f34755dc
PE
56172011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5618
396cec72
PE
5619 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5620 This is simpler and helps future-proof the code.
5621 (timer-until): Use time-subtract and float-time.
08235028 5622 (timer--time-less-p): Use time-less-p.
f34755dc 5623
56e6cc31
JB
56242011-07-04 Juanma Barranquero <lekktu@gmail.com>
5625
3abb79e5
JB
5626 * type-break.el (timep): Use the value of `float-time' to avoid a
5627 byte-compiler warning.
5628
56e6cc31
JB
5629 * server.el (server-eval-and-print): Return any result, even nil.
5630
7b9430b4
PE
56312011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5632
5633 * type-break.el: Accept time formats that the builtins accept.
5634 (timep, type-break-time-difference): Accept any format that
5635 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5636 This is simpler and helps future-proof the code.
5637 (type-break-time-difference): Round rather than ignoring
5638 subseconds components.
5639
3034e9e7
LMI
56402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5641
5642 * info.el (Info-apropos-matches): Make non-interactive, since it
5643 doesn't seem to do anything useful as a command (bug#8829).
5644
1485f4c0
CY
56452011-07-03 Chong Yidong <cyd@stupidchicken.com>
5646
5647 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5648 Move from faces.el.
1485f4c0
CY
5649 (frame-default-terminal-background): New function.
5650
5651 * custom.el (custom-push-theme): Don't record faces in `changed'
5652 theme; this doesn't work correctly for per-frame face settings.
5653 (disable-theme): Use face-set-after-frame-default to reset faces.
5654 (custom--frame-color-default): New function.
5655
9fa3dd45
LMI
56562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5657
c8af70e1 5658 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5659 (bug#8769).
5660
6cbbc20c
KR
56612011-03-29 Kevin Ryde <user42@zip.com.au>
5662
5663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5664 `perl-Test2' extend to match possible "fail #N" rep count
5665 (bug#8377).
5666
c7f98048
LMI
56672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5668
65676592
LMI
5669 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5670 `smtpmail-via-smtp' now returns the error instead of nil.
5671
c7f98048
LMI
5672 * isearch.el (isearch-search-fun-function): Clarify the doc string
5673 (bug#8101).
5674
56e6cc31 56752011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5676
5677 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5678 unnecessary spaces (bug#8987).
5679
2b216704
LMI
56802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5681
5682 * net/network-stream.el (open-network-stream): Use the
5683 :end-of-capability command thoughout.
5684
56852011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5686
5687 * net/network-stream.el (open-network-stream): Add the
5688 :end-of-capability command parameter, used by pop3.el.
5689
36adf6ce
LMI
56902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5691
1ca0da0e
LMI
5692 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5693
fc00f69c
LMI
5694 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5695 for list)" (bug#6475).
5696
28fd8759 5697 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5698 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5699 an error (bug#6297).
5700
0dd8b6da
LMI
5701 * man.el (Man-reference-regexp): Allow matching possible
5702 word-wrapped references (bug#6289).
5703
ce1438d6
LMI
5704 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5705 for consistency with the other vc buffers (bug#6197).
5706 (vc-checkin): Ditto.
5707
5708 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5709
36adf6ce
LMI
5710 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5711
e83cc1f7
LMI
57122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5713
8a20ca4c
LMI
5714 * custom.el (defcustom): Clarify that :set is only used in the
5715 Customize user interface (bug#6089).
5716
83319045
LMI
5717 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5718 associated with a file, refuse to run instead of erroring out
5719 (bug#6084).
5720
a8392169
LMI
5721 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5722 the doc string, since it appears that using `fill-column' always
5723 controls the width (bug#7845).
5724
e83cc1f7
LMI
5725 * simple.el (shell-command-on-region): Say where the error output
5726 went if `shell-command-default-error-buffer' is set (bug#6857).
5727
e47ca23b
KM
57282011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5729
5730 * allout.el (allout-yank-processing): Adjust cursor position for
5731 backwards-deleted space.
5732
5733 (allout-rebullet-heading): Register changes with
5734 allout-exposure-changed-hook, so the modified topic is properly
5735 decorated.
5736
5cf56143
LMI
57372011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5738
08549772
LMI
5739 * minibuffer.el (completion-in-region): Document PREDICATE
5740 (bug#7136).
5741
48e96771
LMI
5742 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5743 of keyword/argument pairs (bug#6904).
5744
c8af70e1
SM
5745 * replace.el (multi-occur):
5746 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5747
e17d05e2
LMI
57482011-07-02 Drew Adams <drew.adams@oracle.com>
5749
5750 * dired.el (dired-mark-if): Make the message about whether it's
5751 marking or unmarking clearer (bug#8523).
5752
063b0e45
LMI
57532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5754
5755 * disp-table.el (display-table-print-array): New function.
5756 (describe-display-table): Use it to print the vectors more pretty
5757 (Bug#8859).
5758
28545e04
MR
57592011-07-02 Martin Rudalics <rudalics@gmx.at>
5760
5761 * window.el (window-state-get-1): Don't assign clone numbers.
5762 Add clone-of item to list of window parameters.
5763 (window-state-put-2): Don't process clone numbers.
5764 (display-buffer-alist): Fix doc-string.
5765
3349e122
SM
57662011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * subr.el (remq): Don't allocate if it's not needed.
5769 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5770 (keymap--merge-bindings): New functions.
5771 (keymap-canonicalize): Use them to refine the canonicalization.
5772 * minibuffer.el (minibuffer-local-completion-map)
5773 (minibuffer-local-must-match-map): Move initialization from C.
5774 (minibuffer-local-filename-completion-map): Move initialization from C;
5775 don't inherit from anything here.
5776 (minibuffer-local-filename-must-match-map): Make obsolete.
5777 (completing-read-default): Use make-composed-keymap to combine
5778 minibuffer-local-filename-completion-map with either
5779 minibuffer-local-must-match-map or
5780 minibuffer-local-filename-completion-map.
5781
d224ac83
GM
57822011-07-01 Glenn Morris <rgm@gnu.org>
5783
3de63bf8
GM
5784 * type-break.el (type-break-time-sum): Use dolist.
5785
d224ac83
GM
5786 * textmodes/flyspell.el (flyspell-word-search-backward):
5787 Replace CL function.
5788
1a1e3f32
SM
57892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5790
fe3f64d5
SM
5791 * mouse.el (mouse--strip-first-event): New function.
5792 (function-key-map): Use it to map fringe clicks to normal clicks
5793 by default.
5794
eb604e34
SM
5795 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5796 (vc-bzr-revision-completion-table): Add support for annotate and date.
5797
1a1e3f32
SM
5798 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5799 inherit from parent.
5800
5bd35902
LMI
58012011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5802
ace6c69c 5803 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5804 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5805
191e2bed
LMI
5806 * dired.el (dired-mode): Fix up the doc string as suggested by
5807 Drew Adams (bug#8817).
5808
5bd35902
LMI
5809 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5810 cookie, since the manual says that it should be possible to add
5811 this function to `find-file-hook' (bug#8709).
5812
eee8207a
TZ
58132011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5814
5815 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5816 here. Noted Ted Zlatanov as the maintainer.
5817 (cfengine-common-settings, cfengine-common-syntax): New functions
5818 to set up common things between `cfengine-mode' and
5819 `cfengine3-mode'.
5820 (cfengine3-mode): New mode.
5821 (cfengine3-defuns cfengine3-defuns-regex
5822 (cfengine3-class-selector-regex cfengine3-category-regex)
5823 (cfengine3-vartypes cfengine3-font-lock-keywords)
5824 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5825 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5826
36b148cf
MA
58272011-07-01 Michael Albinus <michael.albinus@gmx.de>
5828
5829 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5830
5831 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5832
0bf4ba9a
MR
58332011-07-01 Martin Rudalics <rudalics@gmx.at>
5834
5835 * window.el (same-window-buffer-names, same-window-regexps)
5836 (same-window-p, special-display-frame-alist)
5837 (special-display-popup-frame, special-display-function)
5838 (special-display-buffer-names, special-display-regexps)
5839 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5840 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5841 (split-window-preferred-function, split-height-threshold)
5842 (split-width-threshold, even-window-heights)
5843 (display-buffer-mark-dedicated, window-splittable-p)
5844 (split-window-sensibly, window-safely-shrinkable-p):
5845 Un-obsolete.
5846 (display-buffer): Don't spread args with function specifier
5847 because special-display-popup-frame won't like it.
5848
35837f51
PE
58492011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5850
d0672f86
PE
5851 Time-stamp simplifications and fixes.
5852 These improve accuracy slightly, and future-proof the code
5853 against some potential changes to current-time format.
5854
b9444d97
PE
5855 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5856 by using time-since and float-time.
5857
0ef923dc
PE
5858 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5859 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5860 + NNN microseconds".
5861
2f81380d
PE
5862 * type-break.el (type-break-time-sum): Rewrite using time-add.
5863
845b5c3e
PE
5864 * play/hanoi.el (hanoi-current-time-float): Remove.
5865 All uses replaced by float-time.
5866
ee6f1be0
PE
5867 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5868 This yields a more-accurate answer.
5869 (rng-time-to-float): Remove; no longer needed.
5870
fe955043
PE
5871 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5872
5777162a
PE
5873 * calendar/timeclock.el (timeclock-seconds-to-time):
5874 Defalias to seconds-to-time, since they're the same thing.
5875
3103f8b6 5876 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5877 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5878 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5879
0e61a35f
SM
58802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * window.el (bury-buffer): Don't iconify the only frame.
5883 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5884 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5885
ddd63a1e
CY
58862011-07-01 Chong Yidong <cyd@stupidchicken.com>
5887
0e61a35f
SM
5888 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5889 Add mouse-yank-primary.
ddd63a1e 5890
055f4923
TZ
58912011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5892
5893 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5894
6a2fb145
SM
58952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5898 (find-library-name): Use it to find relative load names when provided
5899 absolute file name (bug#8803).
5900
fd4983f2
LMI
59012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5902
887d14ad
LMI
5903 * textmodes/flyspell.el (flyspell-word): Consider words that
5904 differ only in case as potential doublons (bug#5687).
5905
c53dc7fc
LMI
5906 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5907 Remove two rather uninteresting debugging-like messages to make
5908 debbugs.el more silent.
5909
fd4983f2
LMI
5910 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5911 a password-like phrase.
5912
b14c0c55
AM
59132011-06-30 Mastake YAMATO <yamato@redhat.com>
5914
5915 * progmodes/cc-guess.el: New file.
5916
6a2fb145 5917 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5918
5919 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5920 derived from `c-basic-common-init'.
5921
5922 * progmodes/cc-mode.el (top-level): Require cc-guess.
5923 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5924
1fa280a3
LM
59252011-06-30 Lawrence Mitchell <wence@gmx.li>
5926
5927 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5928
e6597158
AM
59292011-06-30 Alan Mackenzie <acm@muc.de>
5930
1fa280a3
LM
5931 * progmodes/cc-engine.el (c-guess-continued-construct):
5932 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5933 lock is disabled. Name this case as "CASE G".
5934
68ba37fb
KM
59352011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5936
5937 * allout.el (allout-yank-processing): Fix injection of extra space
5938 between bullet and non-whitespace character in first topic when
5939 pasting, ensuring that the actual spacing in the pasted topic
5940 following the bullet char is preserved. This extra space was
5941 causing pasted encrypted topics to get a decrypted status even
5942 when the content was actually still encrypted. Now the decryption
5943 status from before the paste is preserved.
5944
5945 (allout-flag-region): Set all allout overlays so they evaporate
5946 when reduced to zero length (evanescent), to prevent overlay
5947 leakage.
5948
887a0b34
GM
59492011-06-30 Glenn Morris <rgm@gnu.org>
5950
94b9acce
GM
5951 * w32-fns.el (w32-charset-info-alist): Declare.
5952
1d9b46d4
GM
5953 * find-dired.el (find-grep-options): Simplify.
5954
cc232200
GM
5955 * term/ns-win.el (ns-set-resource): Declare.
5956
28e77c46
GM
5957 * ses.el (row, col): Declare dynamic variables honestly.
5958
887a0b34
GM
5959 * textmodes/reftex-parse.el (index-tags): Declare.
5960
658d8eb8
CY
59612011-06-30 Chong Yidong <cyd@stupidchicken.com>
5962
5963 * cus-edit.el (customize-push-and-save): New function.
5964
5965 * files.el (hack-local-variables-confirm): Use it.
5966
1fa280a3
LM
5967 * custom.el (load-theme): New arg NO-CONFIRM.
5968 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5969 (custom-enabled-themes): Doc fix.
5970
5971 * cus-theme.el (customize-create-theme)
5972 (custom-theme-merge-theme): Callers to load-theme changed.
5973
bb617717
LMI
59742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5975
d61bdd5d
LMI
5976 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5977 short URLs have at least one dot in them (bug #7614).
5978
bb617717
LMI
5979 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5980 nil, because using a pty is apparently too slow (bug #895).
5981
2f31f37a
LMI
59822011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983
5984 * mail/sendmail.el (sendmail-query-once): New function.
5985 (sendmail-query-once-function): New variable.
5986
3076b24e
GM
59872011-06-29 Glenn Morris <rgm@gnu.org>
5988
faf2a174
GM
5989 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5990
3076b24e
GM
5991 * ses.el (top-level): Require cl when compiling.
5992 (ses-set-localvars): Fix error statement.
5993 Call it at compile time to silence a storm of warnings.
5994
5386012d
MR
59952011-06-29 Martin Rudalics <rudalics@gmx.at>
5996
5997 * window.el (normalize-live-buffer): Rename to
5998 window-normalize-buffer.
5999 (normalize-live-frame): Rename to window-normalize-frame.
6000 (normalize-any-window): Rename to window-normalize-any-window.
6001 (normalize-live-window): Rename to window-normalize-live-window.
6002 (make-window-atom): Rename to window-make-atom.
6003 (window-resize-reset): Rename to window--resize-reset.
6004 (window-resize-reset-1): Rename to window--resize-reset-1.
6005 (resize-mini-window): Rename to window--resize-mini-window.
6006 (resize-subwindows-skip-p): Rename to
6007 window--resize-subwindows-skip-p.
6008 (resize-subwindows-normal): Rename to
6009 window--resize-subwindows-normal.
6010 (resize-subwindows): Rename to window--resize-subwindows.
6011 (resize-other-windows): Rename to window--resize-siblings.
6012 (resize-this-window): Rename to window--resize-this-window.
6013 (resize-root-window): Rename to window--resize-root-window.
6014 (resize-root-window-vertically): Rename to
6015 window--resize-root-window-vertically.
6016 (normalize-buffer-to-display): Rename to
6017 window-normalize-buffer-to-display.
6018 (normalize-buffer-to-switch-to): Rename to
6019 window-normalize-buffer-to-switch-to.
6020 Correspondingly update all callers of the functions listed
6021 above.
6022 (display-buffer-alist, display-buffer-normalize-arguments)
6023 (display-buffer-normalize-options, display-buffer)
6024 (display-buffer-alist-set): Use "function" instead of
6025 "fun-with-args".
6026
1176868d
CY
60272011-06-28 Chong Yidong <cyd@stupidchicken.com>
6028
6029 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6030 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6031 debbugs.gnu.org. Mention acknowledgment email.
6032
20a7a65f
LMI
60332011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6034
6035 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6036 buffer multibyteness, since it shouldn't matter.
6037
5f45cca5
MR
60382011-06-28 Martin Rudalics <rudalics@gmx.at>
6039
6040 * window.el (display-buffer-in-side-window): Handle dedicated
6041 windows as in display-buffer-reuse-window.
6042 (display-buffer-normalize-alist): Use value of override
6043 specifier.
6044 (display-buffer-normalize-specifiers): Use value of
6045 other-window-means-other-frame specifier.
6046 (display-buffer-alist): Rewrite some texts in widgets.
6047 (display-buffer): Spread arguments when calling function
6048 specified by fun-with-args.
6049
ad85fe1f
DD
60502011-06-28 Deniz Dogan <deniz@dogan.se>
6051
1fa280a3
LM
6052 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6053 Unnest `let'.
da68c4c8 6054
ad85fe1f
DD
6055 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6056 selectors (Bug#5732).
ec49bd31 6057 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 6058
a08cc025
JA
60592011-06-27 Jari Aalto <jari.aalto@cante.net>
6060
6061 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6062 (eshell-ls-date-format): New defcustom.
6063 (eshell-ls-file): Use it.
6064
e2b551c5
SM
60652011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6068
8982b231
KY
60692011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6070
6071 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6072 (ange-ftp-make-tmp-name): New arg.
6073 (ange-ftp-file-local-copy): Use it.
6074
36c9fa27
J
60752011-06-27 Jambunathan K <kjambunathan@gmail.com>
6076
6077 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6078 no-conversion (Bug#8870).
6079
d68443dc
MR
60802011-06-27 Martin Rudalics <rudalics@gmx.at>
6081
6082 * window.el (window-right, window-left, window-child)
6083 (window-child-count, window-last-child)
6084 (window-iso-combination-p, walk-window-tree-1)
6085 (window-atom-check-1, window-tree-1, delete-window)
6086 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6087 new naming conventions - window-vchild, window-hchild,
6088 window-next and window-prev are now called window-top-child,
6089 window-left-child, window-next-sibling and window-prev-sibling
6090 respectively.
d615d6d2
MR
6091 (resize-window-reset): Rename to window-resize-reset.
6092 (resize-window-reset-1): Rename to window-resize-reset-1.
6093 (resize-window): Rename to window-resize.
6094 (window-min-height, window-min-width)
6095 (resize-mini-window, resize-this-window, resize-root-window)
6096 (resize-root-window-vertically, adjust-window-trailing-edge)
6097 (enlarge-window, shrink-window, maximize-window)
6098 (minimize-window, delete-window, quit-restore-window)
6099 (split-window, balance-windows, balance-windows-area-adjust)
6100 (balance-windows-area, window-state-put-2)
6101 (display-buffer-even-window-sizes, display-buffer-set-height)
6102 (display-buffer-set-width, set-window-text-height)
6103 (fit-window-to-buffer): Rename all "resize-window" prefixed
6104 calls to use the "window-resize" prefix convention.
6105 (display-buffer-alist): Fix symbol for label specifier.
6106 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6107 corresponding specifier.
6108 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6109
b6458526
VB
61102011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6111
6112 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6113 convention.
6114 (ses-call-printer): Does not pass an empty string to formatter when the
6115 cell is empty to keep from barking printer Calc math-format-value.
6116
d31fd9ac
RS
61172011-06-27 Richard Stallman <rms@gnu.org>
6118
43d5bf84
RS
6119 * battery.el (battery-mode-line-limit): New variable.
6120 (battery-update): Handle it.
6121
d31fd9ac
RS
6122 * mail/rmailmm.el (rmail-mime-process-multipart):
6123 Handle truncated messages.
6124
819a6054
GM
61252011-06-27 Glenn Morris <rgm@gnu.org>
6126
6127 * progmodes/flymake.el (flymake-err-line-patterns):
6128 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6129
cedc73f2
VB
61302011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6131
819a6054 6132 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6133 (ses--clean-!, ses--clean-_): New functions.
6134 (ses-range): Add configurability of readout order, and conversion
6135 to Calc vector.
6136
5e5d49b6
VB
6137 * ses.el (ses-repair-cell-reference-all): New function.
6138 (ses-cell-symbol): Set macro as safe, so that it can be used in
6139 formulas.
6140
56e6cc31 6141 * ses.el: Update cycle detection algorithm.
90ca8b49 6142 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6143 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6144 (ses-set-localvars): New function.
6145 (ses-make-cell): Add property-list as a cell element.
6146 (ses-cell-property-get-fun, ses-cell-property-get)
6147 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6148 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6149 New functions.
90ca8b49
VB
6150 (ses-cell-property-set, ses-cell-property-pop)
6151 (ses-cell-property-get-handle): New macro.
6152 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6153 New aliases, used for code readability.
6154 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6155 cycle detection.
6156 (ses-self-reference-early-detection): New defcustom.
fac916bf 6157 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6158 (ses-mode): Use ses-set-localvars.
6159 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6160 before lauching the update processing.
6161 (ses-initialize-Dijkstra-attempt): New function.
6162 (ses-recalculate-cell): Update for cycle detection based on
6163 Dijkstra algorithm.
6164
2bb63e81
VB
6165 * ses.el: Fix commenting and indenting convention.
6166
c9d29fb8
SM
61672011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * bs.el (bs-cycle-next): Complete last change.
6170
d8e4b68b
JB
61712011-06-27 Drew Adams <drew.adams@oracle.com>
6172
6173 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6174
40098786
LMI
61752011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6176
c9d29fb8
SM
6177 * net/network-stream.el (network-stream-open-starttls):
6178 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6179 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6180
40098786
LMI
6181 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6182 to binary to possibly avoid line encoding issues on Windows (among
6183 other things).
6184
468d09d4
LMI
61852011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6186
6187 * net/network-stream.el (open-network-stream): Return an :error
6188 saying what the problem was, if possible.
6189
6190 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6191 server.
6192
6193 * net/network-stream.el (network-stream-open-starttls): If we
6194 wanted to use STARTTLS, and the server offered it, but we weren't
6195 able to because we had no STARTTLS support, then close the connection.
6196 (open-network-stream): Return an :error element, if present.
6197
16f07dd7
CY
61982011-06-26 Chong Yidong <cyd@stupidchicken.com>
6199
88821ca0
CY
6200 * hl-line.el (hl-line-sticky-flag): Doc fix.
6201 (global-hl-line-sticky-flag): New option (Bug#8323).
6202 (global-hl-line-highlight): Obey it.
6203
16f07dd7
CY
6204 * vc/vc.el (vc-revert-show-diff): Default to t.
6205
6b5ccddf
KM
62062011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6207
c9d29fb8
SM
6208 * allout-widgets.el (allout-widgets-post-command-business):
6209 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6210 undecorated when an isearch is continued past, and isearch
6211 automatically collapses them. This leads to "widget leaks", where
6212 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6213 hidden widgets can slow down cursor travel, substantially.
6214 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6215 so we're doing without this nicety.
6216
6217 (allout-widgets-tally-string): Don't try to do a hash-table-count
6218 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6219 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6220 *Messages* when allout-widgets-maintain-tally is t.
6221
355f2e07
MR
62222011-06-26 Martin Rudalics <rudalics@gmx.at>
6223
6224 * window.el (display-buffer-normalize-argument): Rename to
6225 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6226 LABEL argument. Respect special-display-function when popping up
6227 a new frame. Fix code searching for a window showing the buffer
6228 on another frame.
c9d29fb8
SM
6229 (display-buffer-normalize-specifiers):
6230 Call display-buffer-normalize-arguments.
355f2e07
MR
6231 (display-buffer-in-window): Don't undedicate the window if its
6232 buffer remains the same.
6233 Reported by Drew Adams <drew.adams@oracle.com>.
6234 (display-buffer-alist): Add choice for same-window macro
6235 specfier.
6236 (display-buffer): Mention special meaning of LABEL argument in
6237 doc-string. Fix quoting. Don't pop up a new frame even as
6238 fallback.
6239
7ca8fc42
JB
62402011-06-26 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6243 avoid deleting the current window in some cases (bug#8911).
6244
bc312254
AS
62452011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6246
6247 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6248 (Bug#8934)
6249
2db18f3f
LMI
62502011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6251
c9d29fb8
SM
6252 * net/network-stream.el (network-stream-open-starttls):
6253 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6254 (network-stream-open-tls): Ditto.
6255
6302e0d3
LL
62562011-06-26 Leo Liu <sdl.web@gmail.com>
6257
6258 * register.el (registerv): New struct.
6259 (registerv-make): New function.
c9d29fb8
SM
6260 (jump-to-register, describe-register-1, insert-register):
6261 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6262 struct. (Bug#8415)
6263
5fdd4046
CY
62642011-06-26 Chong Yidong <cyd@stupidchicken.com>
6265
2afef60a
CY
6266 * vc/vc.el (vc-revert-show-diff): New defcustom.
6267 (vc-diff-internal): New arg specifying diff buffer.
6268 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6269 reuse an existing *vc-diff* buffer (Bug#8927).
6270
5fdd4046
CY
6271 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6272
e93db24a
GM
62732011-06-26 Glenn Morris <rgm@gnu.org>
6274
6275 * progmodes/f90.el (f90-critical-indent): New option.
6276 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6277 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6278 (f90-mode): Doc fix.
6279 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6280 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6281 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6282 (f90-match-end): Handle block, critical.
6283
eefff499
GM
62842011-06-25 Glenn Morris <rgm@gnu.org>
6285
f6ba4cc9
GM
6286 * calendar/diary-lib.el (diary-included-files): Doc fix.
6287 (diary-include-files): New function, extracted from
6288 diary-include-other-diary-files and diary-mark-included-diary-files.
6289 (diary-include-other-diary-files, diary-mark-included-diary-files):
6290 Just call diary-include-files.
6291 (diary-mark-entries): Reset diary-included-files on first call.
6292
16712304
GM
6293 * calendar/diary-lib.el (diary-mark-entries)
6294 (diary-mark-included-diary-files):
6295 Visit included diary-files in temp buffers.
6296
5d8e0d43
GM
6297 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6298 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6299 (f90-start-block-re, f90-imenu-generic-expression)
6300 (f90-looking-at-program-block-start, f90-no-block-limit):
6301 Add support for submodules.
6302
ccf7a5d5
GM
6303 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6304 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6305
11fdef7d 63062011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6307
6308 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6309 buffer-file-type before setting its value, to avoid disastrous
eefff499 6310 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6311
74f53697
JB
63122011-06-25 Juanma Barranquero <lekktu@gmail.com>
6313
6314 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6315
6316 * ses.el (ses-unload-function):
6317 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6318
6319 * proced.el (proced-unload-function):
6320 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6321
18a4ce5e
AR
63222011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6323
6324 * server.el (server-create-window-system-frame): Add parameters arg.
6325 (server-process-filter): Doc fix. Handle frame-parameters.
6326
519d22cc
JB
63272011-06-25 Juanma Barranquero <lekktu@gmail.com>
6328
6329 Fix bug#8730, bug#8781.
6330
6331 * loadhist.el (unload--set-major-mode): New function.
6332 (unload-feature): Use it.
6333
6334 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6335 (python-unload-function): New function.
6336
c206f5b0
SM
63372011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6340
f9ad64f3
GS
63412011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6342
6343 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6344 the candidates list.
6345
7d0da90e
JB
63462011-06-24 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6349
14b4e83d
RS
63502011-06-23 Richard Stallman <rms@gnu.org>
6351
6352 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6353 (rmail-variables): Set next-error-move-function.
6354 (rmail-what-message): Take argument POS.
6355 (rmail-next-error-move): New function.
6356
273d2baf
SM
63572011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6360 messages for adjacent non-terminals.
6361
56c2cc9a
RS
63622011-06-23 Richard Stallman <rms@gnu.org>
6363
6364 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6365 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6366 (rmail-start-mail): Don't specify use of rmail-mail-return;
6367 that's done by mail-bury now.
6368 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6369
d59eb518
MA
63702011-06-23 Michael Albinus <michael.albinus@gmx.de>
6371
6372 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6373 SIZE is a number.
6374
02cfc6d6
MR
63752011-06-23 Martin Rudalics <rudalics@gmx.at>
6376
6377 * window.el (get-lru-window, get-mru-window)
6378 (get-largest-window): Never return a minibuffer window.
6379 (display-buffer-pop-up-window): Fix a bug that could lead to
6380 reusing the minibuffer window.
6381 (display-buffer): Pass original specifier argument to
6382 display-buffer-function instead of the normalized one.
6383 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6384
4e323265
LL
63852011-06-22 Leo Liu <sdl.web@gmail.com>
6386
6387 * minibuffer.el (completing-read-function)
6388 (completing-read-default): Move from minibuf.c
6389
7a70468f
RS
63902011-06-22 Richard Stallman <rms@gnu.org>
6391
50718fc2
RS
6392 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6393 to Rmail even if not started by a special Rmail command.
6394
7a70468f
RS
6395 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6396 Copy the buffer currently showing just one message.
6397
297dde5a
RW
63982011-06-22 Roland Winkler <winkler@gnu.org>
6399
6400 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6401 (bibtex-clean-entry): First delete the old key so that a
6402 customized algorithm for generating the new key does not get
6403 confused by the old key.
6404 (bibtex-url): Obey regexp of first step.
6405 (bibtex-search-entries): Do not use add-to-list with local
6406 list-var.
6407
97bb1093
LMI
64082011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6409
6410 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6411 stored a user name, then query for the password first, instead of
6412 waiting for SMTP to give an error message and the trying again.
6413
1c0f1a19
JD
64142011-06-22 Lawrence Mitchell <wence@gmx.li>
6415
6416 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6417 BUFFER in call-process.
6418
396f7c9d
LMI
64192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6420
6421 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6422 QUIT twice.
ddb7ffee
LMI
6423 (smtpmail-try-auth-methods): Require user name and password from
6424 auth-source.
396f7c9d 6425
8998d1b3
MR
64262011-06-22 Martin Rudalics <rudalics@gmx.at>
6427
6428 * window.el (display-buffer-default-specifiers)
6429 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6430 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6431 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6432
6433 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6434 (special-display-frame-alist, special-display-popup-frame):
6435 Remove duplicate declarations. These are now in window.el.
6436
4ea31e07
LMI
64372011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6438
c9d29fb8
SM
6439 * mail/smtpmail.el (smtpmail-via-smtp):
6440 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6441 server supports it. SMTP servers that support STARTTLS commonly
6442 require it.
6443
6444 * net/network-stream.el (network-stream-open-starttls): Support
6445 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6446 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6447
95f41d9a
LMI
6448 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6449 upgrades with `open-network-stream', and rely solely on
6450 auth-source for all credentials. Big changes throughout the file,
6451 but in particular:
c9d29fb8
SM
6452 (smtpmail-auth-credentials): Remove.
6453 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6454 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6455 MAIL FROM, too.
95f41d9a 6456
c9d29fb8
SM
6457 * net/network-stream.el (network-stream-open-starttls):
6458 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6459 STARTTLS.
6460 (auth-source): Require.
6461 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6462 (network-stream-certificate): Change cert-cert to cert and
6463 cert-key to key.
4ea31e07 6464
065ec2c7
MA
64652011-06-21 Michael Albinus <michael.albinus@gmx.de>
6466
6467 * net/tramp-cache.el (top): Don't load the persistency file when
6468 "emacs -Q" has been called.
6469
cd93b359
DR
64702011-06-21 Tim Harper <timcharper@gmail.com>
6471
d8e4b68b
JB
6472 * term/ns-win.el (ns-initialize-window-system):
6473 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6474 resource to NO as it is not yet supported by the NS port.
6475
ae9c0411
JB
64762011-06-21 Juanma Barranquero <lekktu@gmail.com>
6477
6478 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6479 (list-dynamic-libraries): ...not here.
6480
7f3f739f
LL
64812011-06-21 Leo Liu <sdl.web@gmail.com>
6482
6483 * subr.el (sha1): Implement sha1 using secure-hash.
6484
327c8fb1
MR
64852011-06-21 Martin Rudalics <rudalics@gmx.at>
6486
6487 * window.el (display-buffer-alist): In default value do not
6488 enforce searching a window on any but the selected frame.
6489 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6490 (display-buffer-select-window): Remove function.
6491 (display-buffer-in-window): When a window on another frame gets
6492 reused, do not select it any more but just raise its frame if
6493 necessary (Bug#8851) and (Bug#8856).
6494 (display-buffer-normalize-options): Handle pop-up-frames related
6495 options more faithfully.
6496 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6497 window if it is on another frame.
c9d29fb8
SM
6498 (display-buffer-alist, display-buffer-default-specifiers):
6499 Don't make new frame unsplittable by default.
9e9de014
MR
6500 (display-buffer-normalize-argument): Fix doc-string typo and use
6501 'same-frame-other-window instead of 'other-window when associating
6502 with display-buffer-macro-specifiers.
327c8fb1 6503
7cf3f556
VB
65042011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6505
6506 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6507 New functions.
6508 (5x5-mode-map, 5x5-mode-menu): Bind them.
6509 (5x5-draw-grid): Tweak the solver's rendering.
6510
60a406cf
SM
65112011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6514 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6515
d8e4b68b 65162011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6517
6518 * menu-bar.el: Use function variable instead of switch-to-buffer.
6519 (menu-bar-select-buffer-function): New variable.
60a406cf 6520 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6521
478d6f95
SM
65222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6525 variable's status.
6526
ca530739
JD
65272011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6528
6529 * x-dnd.el (x-dnd-version-from-flags)
6530 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6531 and long as number (Bug#8899).
6532 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6533
bcd70d97
SM
65342011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6535
60a406cf 6536 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6537 (completion-try-completion, completion-all-completions): Compute the
6538 metadata argument if it's missing; make it optional (bug#8795).
6539
60a406cf 6540 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6541 (widget-complete): Use new :completion-function property.
6542 (widget-completions-at-point): New function.
6543 (default): Use :completion-function instead of :complete.
60a406cf
SM
6544 (widget-default-completions): Rename from widget-default-complete;
6545 Rewrite.
bcd70d97
SM
6546 (widget-string-complete, widget-file-complete, widget-color-complete):
6547 Remove functions.
6548 (file, symbol, function, variable, coding-system, color):
6549 * international/mule-cmds.el (default-input-method, charset)
6550 (language-info-custom-alist):
6551 * cus-edit.el (face): Use new property :completions.
6552
6553 * progmodes/pascal.el (pascal-completions-at-point): New function.
6554 (pascal-mode): Use it.
6555 (pascal-mode-map): Use completion-at-point.
6556 (pascal-toggle-completions): Make obsolete.
6557 (pascal-complete-word, pascal-show-completions):
6558 * progmodes/octave-mod.el (octave-complete-symbol):
6559 Redefine as obsolete alias.
6560 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6561 Signal absence of completion info for old Octave,
6562 (inferior-octave-complete): Redefine as obsolete alias.
6563 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6564 (meta-completions-at-point): Rename from meta-complete-symbol and
6565 adapt it for use on completion-at-point-functions.
6566 (meta-common-mode): Use it.
6567 (meta-looking-at-backward, meta-match-buffer): Remove.
6568 (meta-complete-symbol): Redefine as obsolete alias.
6569 (meta-common-mode-map): Use completion-at-point.
6570 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6571 (makefile-mode-map): Use completion-at-point.
6572 (makefile-completions-at-point): Rename from makefile-complete and
6573 adapt it for use on completion-at-point-functions.
6574 (makefile-mode): Use it.
6575 (makefile-complete): Redefine as obsolete alias.
6576
aebf69c8
DD
65772011-06-20 Deniz Dogan <deniz@dogan.se>
6578
6579 * net/rcirc.el: Delete trailing whitespaces once and for all.
6580
bfbbb27d
DC
65812011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6582
6583 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6584
d264a46b
CY
65852011-06-19 Chong Yidong <cyd@stupidchicken.com>
6586
4ca009e5
CY
6587 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6588
d264a46b
CY
6589 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6590
fbf5b3ce
MR
65912011-06-19 Martin Rudalics <rudalics@gmx.at>
6592
6593 * window.el (display-buffer-other-window-means-other-frame):
6594 Call display-buffer-normalize-alist.
6595 (display-buffer-normalize-specifiers-1): Rename to
6596 display-buffer-normalize-argument. New argument other-frame.
6597 Rewrite.
6598 (display-buffer-normalize-specifiers-2): Rename to
6599 display-buffer-normalize-options.
6600 (display-buffer-normalize-alist-1): New function.
6601 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6602 display-buffer-normalize-alist.
6603 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6604 (display-buffer-normalize-options-inhibit): New variable.
6605 (display-buffer-normalize-specifiers): Rewrite calling
6606 display-buffer-normalize-alist,
6607 display-buffer-normalize-argument, and
6608 display-buffer-normalize-options. Don't call the latter if
6609 display-buffer-normalize-options-inhibit is non-nil.
6610 (frame-auto-delete): New option.
6611 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6612 (window-list-no-nils, window-state-ignored-parameters)
6613 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6614 (window-state-put-1, window-state-put-2, window-state-put):
6615 New functions.
9a028c23
MR
6616 (display-buffer-normalize-options): Move special-display-p group
6617 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6618
6d10d800
CY
66192011-06-18 Chong Yidong <cyd@stupidchicken.com>
6620
6420d28b
CY
6621 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6622 groups (Bug#8776).
6623 (rx-submatch-n): New function.
6624 (rx): Document it.
6625
ddb8b596
CY
6626 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6627 (Bug#8768).
6628
6629 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6630
77080289
CY
6631 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6632
61dfb316
CY
6633 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6634 anytime existing face settings are present (Bug#8889).
6635
6d10d800
CY
6636 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6637 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6638 Remove unused argument.
6639
be3fb2b8
MR
66402011-06-18 Martin Rudalics <rudalics@gmx.at>
6641
bcd70d97
SM
6642 * window.el (display-buffer-default-specifiers):
6643 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6644 pop-up-window-min-width, and another reuse-window specifier
6645 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6646 (display-buffer-normalize-specifiers-2):
6647 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6648 pop-up-windows is unset. Add a reuse-window specifier for the
6649 case popping up a new window fails.
6650 (special-display-popup-frame): Remove double quoting.
28dec25a 6651 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6652
1c6d8c76
SM
66532011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6656 according to comint-completion-addsuffix.
6657
6658 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6659 (pcomplete-suffix-list): Mark as obsolete.
6660 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6661 pcomplete-seen in the closure.
6662 (pcomplete-comint-setup): Setup completion-at-point as well.
6663 (pcomplete--entries): New function.
6664 (pcomplete--env-regexp): New var.
6665 (pcomplete-entries): Rewrite to work with partial-completion and
6666 without relying on pcomplete-suffix-list.
6667 (pcomplete-pare-list): Remove, unused.
6668
25aef8b8
MR
66692011-06-17 Martin Rudalics <rudalics@gmx.at>
6670
6671 * window.el (display-buffer-alist): Set pop-up-window-min-height
6672 and pop-up-window-min-width in default value. Reported by
6673 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6674 other-window-means-other-frame.
6675 (display-buffer-macro-specifiers): Comment out entry for
6676 other-window specifier.
6677 (display-buffer-other-window-means-other-frame): New function.
6678 (display-buffer-normalize-specifiers-1): New arguments
6679 buffer-name and label. Treat other-window case specially.
6680 (display-buffer-normalize-specifiers-2): Treat other-window case
6681 specially.
6682 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6683 (display-buffer-normalize-specifiers):
6684 Call display-buffer-normalize-specifiers-3.
25aef8b8 6685
dbad4f69
MR
66862011-06-17 Martin Rudalics <rudalics@gmx.at>
6687
6688 * window.el (same-window-p): Fix two typos introduced when
6689 adding with-no-warnings.
d1067961
MR
6690 (display-buffer-normalize-specifiers-1): Don't check
6691 pop-up-frames for 'unset initialization.
6692 (display-buffer-normalize-specifiers-2): Major rewrite using
6693 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6694 (pop-up-frames, display-buffer-reuse-frames)
6695 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6696 Suggested by David Engster <deng@randomsample.de>.
6697 (even-window-heights): Initialize to 'unset.
6698 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6699 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6700 other window case.
dbad4f69 6701
9b9c9e3a
MR
67022011-06-16 Martin Rudalics <rudalics@gmx.at>
6703
bcd70d97
SM
6704 * window.el (display-buffer-normalize-specifiers-1):
6705 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6706 second argument of display-buffer (Bug#8865).
981d5c09
MR
6707 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6708 (switch-to-buffer-other-window-same-frame)
6709 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6710 Adams (Bug#8875).
9c2755e9
MR
6711 (display-buffer): Don't check noninteractive when calling
6712 display-buffer-pop-up-frame.
6713 (display-buffer-pop-up-frame): Never pop up a frame in
6714 noninteractive mode (Bug#8857).
67222e1d
MR
6715 (enlarge-window, shrink-window): Don't report an error when the
6716 window can't be resized as requested (Bug#8862).
9b9c9e3a 6717
2b75be67
SM
67182011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6719
9ffdd3ba
SM
6720 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6721
cb581a67
SM
6722 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6723
2b75be67
SM
6724 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6725
8c0e3589
AM
67262011-06-15 Alan Mackenzie <acm@muc.de>
6727
cb581a67
SM
6728 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6729 for declarators, disable knr checking to speed up for normal files.
6730 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6731
b96e6cde
LMI
67322011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733
4bba86e6
LMI
6734 * net/network-stream.el (open-network-stream): Add the keyword
6735 :always-query-capabilities for the case where you want to force a
6736 `plain' network connection, but the protocol still requires the
6737 capabilitiy command (i.e., SMTP and EHLO).
6738
2b75be67 6739 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6740 consistency with other `-live-p' functions.
6741
efdcdbf8
SM
67422011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * window.el (same-window-buffer-names, same-window-regexps)
6745 (special-display-frame-alist, special-display-popup-frame)
6746 (special-display-function, special-display-buffer-names)
6747 (special-display-regexps, pop-up-frame-alist)
6748 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6749 (pop-up-windows, split-window-preferred-function)
6750 (split-height-threshold, split-width-threshold, even-window-heights)
6751 (display-buffer-mark-dedicated): Don't encourage the use of
6752 display-buffer-alist from Elisp code.
6753
c5cde042
DN
67542011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6755
6756 * progmodes/python.el (python-mode): Derive from prog-mode.
6757 * progmodes/ps-mode.el (ps-mode):
6758 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6759 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6760 * progmodes/ld-script.el (ld-script-mode): Likewise.
6761
baa1c9ab
MR
67622011-06-15 Martin Rudalics <rudalics@gmx.at>
6763
6764 * window.el (display-buffer-alist): Trim default value to avoid
6765 popping up a new frame (Bug#8857) or reusing an arbitrary window
6766 on another frame.
6767 (display-buffer): Do not fall back on popping up a new frame in
6768 batch mode (Bug#8857).
6769
c5dd5a51
CY
67702011-06-14 Chong Yidong <cyd@stupidchicken.com>
6771
6772 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6773 (custom-theme-summary): New function.
6774 (customize-themes): Use it.
6775
d647b7c4
GM
67762011-06-13 Glenn Morris <rgm@gnu.org>
6777
6778 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6779
9481c002
MR
67802011-06-13 Martin Rudalics <rudalics@gmx.at>
6781
357f93d2
MR
6782 * help.el (help-window): Remove variable.
6783 (help-window-point-marker, temp-buffer-max-height)
6784 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6785 (help-print-return-message): Don't set help-window.
6786 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6787 (help-window-setup-finish): Remove.
6788 (help-window-display-message, help-window-setup)
6789 (with-help-window): Major rewrite based on new
6790 display-buffer-window variable.
6791
6792 * help-mode.el (help-mode-finish): Remove help-window related
6793 code.
6794
6795 * view.el (view-exits-all-viewing-windows): Remove reference to
6796 view-return-to-alist in doc-string.
6797 (view-return-to-alist): Make obsolete.
6798 (view-buffer): Call pop-to-buffer-same-window and remove
6799 undo-window code.
6800 (view-buffer-other-window): Call pop-to-buffer-other-window and
6801 simplify code. Ignore second argument.
6802 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6803 simplify code. Ignore second argument.
6804 (view-return-to-alist-update): Make obsolete.
6805 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6806 Rewrite using quit-restore window parameters.
2b75be67
SM
6807 (view-mode-exit): Rename second argument to EXIT-ONLY.
6808 Rewrite using quit-restore-window.
357f93d2
MR
6809 (View-exit, View-exit-and-edit, View-leave, View-quit)
6810 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6811 appropriate arguments.
6812 (view-end-message): Use quit-restore window parameter.
6813
9481c002
MR
6814 * window.el (display-buffer-function): Rewrite doc-string.
6815 (display-buffer-window, display-buffer-alist): New variables.
6816 (display-buffer-split-specifiers)
6817 (display-buffer-side-specifiers)
6818 (display-buffer-macro-specifiers): New constants.
6819 (display-buffer-even-window-sizes, display-buffer-set-height)
6820 (display-buffer-set-width, display-buffer-select-window)
6821 (display-buffer-in-window, display-buffer-reuse-window)
6822 (display-buffer-split-window-1, display-buffer-split-window)
6823 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6824 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6825 (display-buffer-in-side-window, normalize-buffer-to-display)
6826 (display-buffer-normalize-specifiers-1)
6827 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6828 (display-buffer-normalize-specifiers, display-buffer-frame):
6829 New functions.
9481c002
MR
6830 (display-buffer): Major rewrite.
6831 (display-buffer-other-window, display-buffer-other-frame)
6832 (pop-to-buffer, switch-to-buffer-other-window)
6833 (switch-to-buffer-other-frame): Rewrite.
6834 (display-buffer-same-window, display-buffer-same-frame)
6835 (display-buffer-same-frame-other-window)
6836 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6837 (pop-to-buffer-other-window)
6838 (pop-to-buffer-same-frame-other-window)
6839 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6840 (switch-to-buffer-other-window-same-frame): New functions.
6841 (same-window-p, special-display-p): Rewrite disabling warnings.
6842 Make obsolete.
6843 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6844 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6845 Make obsolete
6846 (same-window-buffer-names, same-window-regexps)
6847 (special-display-frame-alist, special-display-popup-frame)
6848 (special-display-function, special-display-buffer-names)
6849 (special-display-regexps, pop-up-frame-alist)
6850 (pop-up-frame-function, split-window-preferred-function)
6851 (split-height-threshold, split-width-threshold)
6852 (even-window-heights): Make obsolete.
6853
9db51aca
GM
68542011-06-12 Glenn Morris <rgm@gnu.org>
6855
6856 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6857 Misc simplifications.
9db51aca 6858
39cffb44
MR
68592011-06-12 Martin Rudalics <rudalics@gmx.at>
6860
6861 * window.el (window-safely-shrinkable-p): Restore function which
6862 was inadvertently removed in change from 2011-06-11. Declare as
6863 obsolete.
6864
2b75be67
SM
6865 * calendar/calendar.el (calendar-generate-window):
6866 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6867 window-safely-shrinkable-p.
6868
a8955be7
GM
68692011-06-12 Glenn Morris <rgm@gnu.org>
6870
6871 * progmodes/fortran.el (fortran-mode-syntax-table):
6872 * progmodes/f90.el (f90-mode-syntax-table):
6873 Set % to punctuation. (Bug#8820)
6874 (f90-find-tag-default): Remove, no longer needed.
6875
f0d4059d
DC
68762011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6877
6878 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6879
1100a63c
CY
68802011-06-11 Chong Yidong <cyd@stupidchicken.com>
6881
6882 * image.el (image-animated-p): Return animation delay in seconds.
6883 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6884 (image-animate-timeout): Remove DELAY argument. Don't assume
6885 every subimage has the same delay; get it from image-animated-p.
6886 (image-animate): Caller changed.
6887
def722bf
MA
68882011-06-11 Michael Albinus <michael.albinus@gmx.de>
6889
6890 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6891 to ignored backtrace functions.
6892
0a2bb1a9
GM
68932011-06-11 Glenn Morris <rgm@gnu.org>
6894
6895 * calendar/appt.el (appt-disp-window-function): Doc fix.
6896 (appt-check): Handle overlapping appointments. (Bug#8337)
6897
6198ccd0
MR
68982011-06-11 Martin Rudalics <rudalics@gmx.at>
6899
6900 * window.el (window-tree-1, window-tree): New functions, moving
6901 the latter to window.el.
6902 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6903 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6904 (bw-refresh-edges): Remove.
6905 (balance-windows-1, balance-windows-2): New functions.
6906 (balance-windows): Rewrite in terms of window tree functions,
6907 balance-windows-1 and balance-windows-2.
6908 (bw-adjust-window): Remove.
6909 (balance-windows-area-adjust): New function with functionality of
6910 bw-adjust-window but using resize-window.
2b75be67
SM
6911 (set-window-text-height): Rewrite doc-string.
6912 Use normalize-live-window and resize-window.
6913 (enlarge-window-horizontally, shrink-window-horizontally):
6914 Rename argument to DELTA.
6198ccd0
MR
6915 (window-buffer-height): New function.
6916 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6917 Rewrite using new window resize routines.
2b75be67
SM
6918 (kill-buffer-and-window, mouse-autoselect-window-select):
6919 Use ignore-errors instead of condition-case.
6198ccd0
MR
6920 (quit-window): Call delete-frame instead of delete-windows-on
6921 for the only buffer on frame.
6922
9397e56f
MR
69232011-06-10 Martin Rudalics <rudalics@gmx.at>
6924
6925 * loadup.el (top-level): Load window before files for the sake
6926 of replace-buffer-in-windows.
6927
6928 * files.el (read-buffer-to-switch)
6929 (switch-to-buffer-other-window)
2b75be67
SM
6930 (switch-to-buffer-other-frame, display-buffer-other-frame):
6931 Move to window.el.
9397e56f
MR
6932
6933 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6934 (previous-buffer): Move to window.el.
6935
6936 * bindings.el (unbury-buffer): Move to window.el.
6937
6938 * window.el (delete-other-windows-vertically): Move after
6939 definition of delete-other-windows.
6940 (other-window, delete-windows-on, replace-buffer-in-windows):
6941 Move here from window.c.
6942 (record-window-buffer, unrecord-window-buffer)
6943 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6944 (switch-to-next-buffer): New functions.
6945 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6946 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6947 (previous-buffer): Move here from simple.el.
6948 Call switch-to-prev-buffer.
9397e56f
MR
6949 (bury-buffer): Move here from buffer.c. Switch to previous
6950 buffer when window cannot be deleted.
6951 (unbury-buffer): Move here from bindings.el.
6952 (ctl-x-map): Move binding for other-window from window.c to
6953 here.
6954 (read-buffer-to-switch, switch-to-buffer-other-window)
6955 (switch-to-buffer-other-frame): Move here from files.el.
6956 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6957 (switch-to-buffer): Move here from buffer.c.
6958 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6959
562dd5e9
MR
69602011-06-10 Martin Rudalics <rudalics@gmx.at>
6961
6962 * window.el (window-min-height, window-min-width): Move here
6963 from window.c. Add defcustoms and rewrite doc-strings.
6964 (resize-mini-window, resize-window): New functions.
6965 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6966 Move here from window.c.
6967 (maximize-window, minimize-window): New functions.
6968 (delete-window, delete-other-windows, split-window): Move here
6969 from window.c.
6970 (window-split-min-size): New function.
6971 (split-window-keep-point): Mention split-window-above-each-other
6972 instead of split-window-vertically.
2b75be67 6973 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6974 Rename split-window-vertically to split-window-above-each-other
6975 and provide defalias for old definition.
6976 (split-window-side-by-side, split-window-horizontally):
6977 Rename split-window-horizontally to split-window-side-by-side
6978 and provide defalias for the old definition.
562dd5e9
MR
6979 (ctl-x-map): Move bindings for delete-window,
6980 delete-other-windows and enlarge-window here from window.c.
6981 Replace bindings for split-window-vertically and
6982 split-window-horizontally by bindings for
6983 split-window-above-each-other and split-window-side-by-side.
6984
6985 * cus-start.el (all): Remove entries for window-min-height and
6986 window-min-width. Add entries for window-splits and
6987 window-nest.
6988
f0da764a
GM
69892011-06-09 Glenn Morris <rgm@gnu.org>
6990
80675c21
GM
6991 * calendar/appt.el (appt-mode-line): New function.
6992 (appt-check, appt-disp-window): Use it.
6993
f0da764a
GM
6994 * files.el (hack-one-local-variable-eval-safep):
6995 Allow minor-modes with explicit +/-1 arguments.
6996
59f623b7
TZ
69972011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6998
6999 * term/xterm.el (xterm): Add defgroup.
7000 (xterm-extra-capabilities): Add defcustom to supply known xterm
7001 capabilities, skip querying them, or query them (default).
7002 (terminal-init-xterm): Use it.
7003 (terminal-init-xterm-modify-other-keys): New function to set up
7004 modifyOtherKeys support to simplify `terminal-init-xterm'.
7005
9aab8e0d
MR
70062011-06-09 Martin Rudalics <rudalics@gmx.at>
7007
7008 * window.el (resize-window-reset, resize-window-reset-1)
7009 (resize-subwindows-skip-p, resize-subwindows-normal)
7010 (resize-subwindows, resize-other-windows, resize-this-window)
7011 (resize-root-window, resize-root-window-vertically)
7012 (window-deletable-p, window-or-subwindow-p)
7013 (frame-root-window-p): New functions.
7014
e8b08aee
GM
70152011-06-09 Glenn Morris <rgm@gnu.org>
7016
7017 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7018 (ange-ftp-get-files): Use it.
7019
254c37a5
AK
70202011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7021
7022 * mail/sendmail.el (mail-recover-1, mail-recover):
7023 * files.el (recover-file, recover-session):
7024 Handle dired-listing-switches not being just a single short option.
7025
35d7dbd3
GM
70262011-06-09 Glenn Morris <rgm@gnu.org>
7027
7028 * calendar/appt.el (appt-display-message, appt-disp-window):
7029 Handle lists of appointments.
7030
387522b2
MR
70312011-06-08 Martin Rudalics <rudalics@gmx.at>
7032
2b75be67
SM
7033 * window.el (one-window-p): Move down in code.
7034 Rewrite doc-string.
7035 (window-current-scroll-bars): Rewrite doc-string.
7036 Normalize live window argument.
387522b2
MR
7037 (walk-windows, get-window-with-predicate, count-windows):
7038 Rewrite doc-string. Use window-list-1.
7039 (window-in-direction-2, window-in-direction, get-mru-window):
7040 New functions.
7041
d8e4b68b 70422011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
7043
7044 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7045 Doc fix (Bug#8713).
7046
70472011-06-08 Chong Yidong <cyd@stupidchicken.com>
7048
7049 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7050
70512011-06-08 Juanma Barranquero <lekktu@gmail.com>
7052
7053 * loadhist.el (unload-feature-special-hooks):
7054 Add `comint-output-filter-functions'.
7055
0de12c52
IK
70562011-06-08 Ivan Kanis <gnu@kanis.fr>
7057
7058 * calendar/appt.el (appt-check): Move some initializations into the let.
7059
f3d1777e
MR
70602011-06-08 Martin Rudalics <rudalics@gmx.at>
7061
7062 * window.el (window-height): Defalias to window-total-height.
7063 (window-width): Defalias to window-body-width.
7064
18af70d0
CY
70652011-06-07 Chong Yidong <cyd@stupidchicken.com>
7066
7067 * image-mode.el (image-toggle-animation): New command.
7068 (image-mode-map): Bind it to RET.
7069 (image-mode): Update message.
7070 (image-toggle-display-image): Avoid a spurious cache flush.
7071 (image-transform-rotation): Doc fix.
7072 (image-transform-properties): Return quickly in the normal case.
7073 (image-animate-loop): Rename from image-animate-max-time.
7074
2b75be67 7075 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
7076 (create-animated-image): Remove unnecessary function.
7077 (image-animate): Rename from image-animate-start. New arg.
2b75be67 7078 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
7079 (image-animate-timer): Use car-safe.
7080 (image-animate-timeout): Rename argument.
7081
190b47e6
MR
70822011-06-07 Martin Rudalics <rudalics@gmx.at>
7083
7084 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
7085 window.c. Rename first argument to ALL-FRAMES.
7086 Rephrase doc-strings.
7087 (get-buffer-window-list): Rewrite using window-list-1.
7088 Rephrase doc-string.
a1511caf
MR
7089 (window-safe-min-height, window-safe-min-width): New constants.
7090 (window-size-ignore, window-min-size, window-min-size-1)
7091 (window-sizable, window-sizable-p, window-size-fixed-1)
7092 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7093 (window-max-delta-1, window-max-delta, window-resizable)
7094 (window-resizable-p, window-total-height, window-total-width)
7095 (window-body-width): New functions.
7096 (window-full-height-p, window-full-width-p): Rewrite using
7097 window-total-size.
7098 (window-body-height): Rewrite using window-body-size.
190b47e6 7099
85cc1f11
MR
71002011-06-06 Martin Rudalics <rudalics@gmx.at>
7101
7102 * window.el (window-right, window-left, window-child)
7103 (window-child-count, window-last-child, window-any-p)
7104 (normalize-live-buffer, normalize-live-frame)
7105 (normalize-any-window, normalize-live-window)
7106 (window-iso-combination-p, window-iso-combined-p)
7107 (window-iso-combinations)
7108 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7109 (windows-with-parameter, window-with-parameter)
7110 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7111 (window-atom-check, window-side-check, window-check):
7112 New functions.
85cc1f11
MR
7113 (ignore-window-parameters, window-sides, window-sides-vertical)
7114 (window-sides-slots): New variables.
7115 (window-size-fixed): Move down in code. Minor doc-string fix.
7116
e7156492
AS
71172011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7118
7119 * comint.el (comint-dynamic-complete-as-filename)
7120 (comint-dynamic-complete-filename): Correctly call
7121 completion-in-region.
7122
7e821d0d
DD
71232011-06-05 Deniz Dogan <deniz@dogan.se>
7124
7125 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7126 in last change.
7127
ac09b8a1
DD
71282011-06-05 Deniz Dogan <deniz@dogan.se>
7129
7130 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7131 (rcirc): Use it to prompt for encryption.
7132
34699b85
RW
71332011-06-05 Roland Winkler <winkler@gnu.org>
7134
7135 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7136 (bibtex-search-entries): New command bound to C-c C-a.
7137 (bibtex-display-entries): New function.
7138
004dedd3
RW
71392011-06-05 Roland Winkler <winkler@gnu.org>
7140
7141 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7142 (bibtex-insert-kill): After yanking insert newline if necessary.
7143 (bibtex-initialize): Call bibtex-string-files-init only once.
7144 (bibtex-mode): Do not call easy-menu-add.
7145 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7146 (bibtex-yank): Set arg properly if nil.
7147
022fe7ce
RW
71482011-06-05 Roland Winkler <winkler@gnu.org>
7149
2b75be67
SM
7150 * textmodes/bibtex.el (bibtex-search-entry-globally):
7151 New variable.
022fe7ce
RW
7152 (bibtex-search-entry): Use it.
7153
b7c3692a
RW
71542011-06-05 Roland Winkler <winkler@gnu.org>
7155
7156 * textmodes/bibtex.el (bibtex-entry-format): New option
7157 sort-fields.
7158 (bibtex-format-entry, bibtex-reformat): Honor this option.
7159 (bibtex-parse-entry): Return fields in proper order.
7160
8eda563d
JB
71612011-06-05 Juanma Barranquero <lekktu@gmail.com>
7162
7163 * doc-view.el (doc-view-remove-if): Move computation of result out
7164 of `dolist' to silence misleading lexical-binding warning.
7165
7dbe3dbc
CY
71662011-06-04 Chong Yidong <cyd@stupidchicken.com>
7167
7168 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7169 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7170
0c33dd17
MA
71712011-06-04 Michael Albinus <michael.albinus@gmx.de>
7172
7173 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7174 "SunOS 5.10".
7175
f8f91c2b
MA
71762011-06-04 Michael Albinus <michael.albinus@gmx.de>
7177
7178 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7179 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7180 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7181 (tramp-parse-putty):
7182 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7183 (tramp-completion-function-alist-ssh)
7184 (tramp-completion-function-alist-telnet)
7185 (tramp-completion-function-alist-su)
7186 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7187 cookie.
7188
7189 * net/tramp-ftp.el:
7190 * net/tramp-sh.el:
7191 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7192 load "tramp.el" `tramp-set-completion-function'.
7193
e17d9003
SM
71942011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * shell.el: Require and use pcomplete.
7197 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7198 (shell-completion-vars): Set pcomplete-default-completion-function.
7199
6c4cab03
DD
72002011-06-04 Deniz Dogan <deniz@dogan.se>
7201
7202 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7203 `memq' (Bug#8799).
7204
ea9fafe0
SM
72052011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7208
b3e945d3
JB
72092011-06-02 Juanma Barranquero <lekktu@gmail.com>
7210
7211 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7212 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7213 * vc/log-view.el (log-view-beginning-of-defun):
7214 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7215 (smerge-refine-forward, smerge-refine-chopup-region):
7216 Silence warning for unused `dotimes' counter variables.
7217
7d520089
SM
72182011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * net/tramp.el (tramp-with-progress-reporter): Rename from
7221 with-progress-reporter. Use `declare'.
7222 * net/tramp-smb.el:
7223 * net/tramp-sh.el:
7224 * net/tramp-gvfs.el: Update all uses.
7225
a1c2400f
JB
72262011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7227
7228 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7229 buffer isn't killed before making it current.
7230
2403c841
SM
72312011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 Silence various byte-compiler warnings.
7234 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7235 `access-type' and new obsolescence format.
7236 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7237 new format.
7238 (byte-compile-check-variable): New `access-type' argument.
7239 Only warn if the access-type is obsolete.
7240 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7241 (byte-compile-variable-set): Adjust callers.
7242 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7243 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7244 setting it as obsolete.
7245 * simple.el (minibuffer-completing-symbol):
7246 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7247 access as obsolete.
7248 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7249 obsolete yet.
7250 * international/quail.el (quail-mouse-choose-completion): Remove unused
7251 code referring to obsolete var.
7252 (quail-choose-completion-string): Remove.
7253 * server.el (server-clients-with, server-kill-buffer-query-function)
7254 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7255 * proced.el (proced-send-signal):
7256 * emacs-lisp/lisp.el (lisp-complete-symbol):
7257 Replace completion-annotate-function with completion-extra-properties.
7258
2462470b
SM
72592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7260
fb5b2591
SM
7261 * simple.el (goto-line): Use read-number.
7262 (overriding-map-is-bound): Remove.
7263 (saved-overriding-map): Change default.
7264 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7265 Take the map as argument.
7266 (universal-argument, negative-argument, digit-argument): Use it.
7267 (restore-overriding-map): Adjust.
7268 (do-auto-fill): Use fill-forward-paragraph.
7269 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7270
fd6fa53f
SM
7271 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7272 (minibuffer-inactive-mode): New major mode.
7273 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7274 the *Messages* buffer" hack.
7275 (mouse-popup-menubar): Don't burp if the event is a normal key.
7276
2462470b
SM
7277 Miscellaneous tweaks.
7278 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7279 lexical scoping as in subr.el's dolist and dotimes.
7280 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7281 Silence compiler warning.
7282 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7283 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7284 * international/ccl.el (ccl-compile): Trivial simplification.
7285 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7286 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7287 `printflag' argument.
7288 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7289 Purecopy the whole obsolescence data.
7290
108bf785
LL
72912011-06-01 Leo Liu <sdl.web@gmail.com>
7292
7293 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7294 improve doc-string as suggested by Marco Pessotto
7295 <melmothx@gmail.com>.
7296 (rcirc-print): Fix last change.
7297
30a23501
SM
72982011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * minibuffer.el (complete-with-action): Return nil for the metadata and
7301 boundaries of non-functional tables.
7302 (completion-table-dynamic): Return nil for the metadata.
7303 (completion-table-with-terminator): Add default case, using
7304 complete-with-action.
7305 (completion--metadata): New function.
7306 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7307 to try and avoid pathological performance problems.
7308 (completion--embedded-envvar-table): Return `category' metadata.
7309
bcd54f83
LMI
73102011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7311
7312 * subr.el (process-alive-p): New tiny convenience function.
7313
e227544d
SM
73142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7315
7316 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7317 content but also its previous major mode.
7318
e8296fdc
HE
73192011-05-31 Helmut Eller <eller.helmut@gmail.com>
7320
4d61f28d 7321 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7322 *Backtrace* buffer when we exit with C-M-c.
7323
620c53a6
SM
73242011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * minibuffer.el: Add metadata method to completion tables.
7327 (completion-category-overrides): New defcustom.
7328 (completion-metadata, completion--field-metadata)
7329 (completion-metadata-get, completion--styles)
7330 (completion--cycle-threshold): New functions.
7331 (completion-try-completion, completion-all-completions):
7332 Add `metadata' argument to choose completion-styles.
7333 (completion--do-completion): Use metadata to choose cycling.
7334 (completion-all-sorted-completions): Use metadata for sorting.
7335 Remove :completion-cycle-penalty which is not needed any more.
7336 (completion--try-word-completion): Add `metadata' argument.
7337 (minibuffer-completion-help): Check metadata for annotation function
7338 and sorting.
7339 (completion-file-name-table): Return `category' metadata.
7340 (minibuffer-completing-file-name): Make obsolete.
7341 * simple.el (minibuffer-completing-symbol): Make obsolete.
7342 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7343 completion-try-completion.
7344
1257e755
SM
73452011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7348
3767e706
LL
73492011-05-30 Leo Liu <sdl.web@gmail.com>
7350
7351 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7352 (rcirc-print): Decode all incoming messages (bug#8744).
7353 (rcirc-decode-coding-system): Allow value nil for automatic coding
7354 system detection.
3767e706 7355
d1a5d56a
GM
73562011-06-01 Glenn Morris <rgm@gnu.org>
7357
7358 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7359
e8cbec34
CY
73602011-05-29 Chong Yidong <cyd@stupidchicken.com>
7361
7362 * image.el (image-animate-max-time): Allow nil and t values.
7363 Default to nil.
7364 (create-animated-image): Doc fix.
7365 (image-animate-start): Remove second arg; just use
7366 image-animate-max-time.
7367 (image-animate-timeout): Doc fix. Args changed.
7368
7369 * image-mode.el (image-toggle-display-image): Ensure that the
7370 image spec passed to the animate timer is the same object as in
58179cce 7371 the buffer's display property (Bug#6981).
e8cbec34
CY
7372 (image-transform-properties): Doc fix.
7373
7374 * image.el (image-animate-max-time): Default to nil.
7375
159daf87
MR
73762011-05-29 Martin Rudalics <rudalics@gmx.at>
7377
7378 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7379 entire buffer list (Bug#8184).
7380
d66c4c7c
CY
73812011-05-29 Chong Yidong <cyd@stupidchicken.com>
7382
7383 * image.el (imagemagick-types-inhibit)
7384 (imagemagick-register-types): Doc fix.
7385
80aec780
DD
73862011-05-29 Deniz Dogan <deniz@dogan.se>
7387
7388 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7389 default.
7390
1dd3c2d9
CY
73912011-05-29 Chong Yidong <cyd@stupidchicken.com>
7392
7393 * select.el: Don't perform clipboard-manager saving in hooks;
7394 leave the hooks empty.
7395
60e56523
LL
73962011-05-28 Leo Liu <sdl.web@gmail.com>
7397
7398 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7399 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7400 (occur-edit-mode): New major mode (Bug#8463).
7401 (occur-after-change-function): New function.
7402 (occur-engine): Give Occur tags a read-only property.
7403
2b1e1a22
KR
74042011-05-28 Kevin Ryde <user42@zip.com.au>
7405
7406 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7407
5d344e88
CY
74082011-05-28 Chong Yidong <cyd@stupidchicken.com>
7409
8e6ca83d
CY
7410 * bindings.el (help-echo): Make the initial non-indicator dash
7411 empty on graphical terminals (Bug#7295).
7412
5d344e88
CY
7413 * files.el (auto-mode-alist): Move config rule after the
7414 in-stripping one (Bug#8547).
7415
bfbbace7
CY
7416 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7417
fbeba6e2
CY
7418 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7419 setting (Bug#8740).
7420
60ed8c72
AA
74212011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7422
4ac619f0
AA
7423 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7424 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7425 (Bug#8539).
60ed8c72 7426
23db196e
CY
74272011-05-28 Chong Yidong <cyd@stupidchicken.com>
7428
7429 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7430
5012f24c
DK
74312011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7432
7433 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7434 (hs-hide-block-at-point, hs-find-block-beginning)
7435 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7436 (Bug#8279).
7437
6a639b16
GM
74382011-05-28 Glenn Morris <rgm@gnu.org>
7439
7440 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7441
d43eaf2c
CY
74422011-05-28 Chong Yidong <cyd@stupidchicken.com>
7443
5199bde1
CY
7444 * help-fns.el (describe-function-1): If the function is a derived
7445 major mode, print the parent mode.
7446
d43eaf2c
CY
7447 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7448 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7449
423428a8
SM
74502011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7451
0ff8e1ba 7452 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7453 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7454 * progmodes/etags.el (tags-completion-at-point-function):
7455 * info-look.el (info-lookup-completions-at-point): Mark as
7456 non-exclusive.
7457 (info-complete): Adjust accordingly.
7458
423428a8
SM
7459 * info-look.el: Convert to lexical-binding and completion-at-point.
7460 (info-lookup-completions-at-point): New function.
7461 (info-complete): Use it and completion-in-region.
7462
b74aa22b
DA
74632011-05-28 Drew Adams <drew.adams@oracle.com>
7464
7465 * isearch.el: Let M-e start with point at the first mismatched char.
7466 (isearch-fail-pos): New function.
7467 (isearch-edit-string): Use it.
7468
66e2e71d
DK
74692011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7470
7471 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7472
eb95d01d
TC
74732009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7474
7475 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7476 traversal functions for avl-trees.
7477 (avl-tree--stack): New struct.
7478 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7479 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7480 (avl-tree--do-enter): Add optional `updatefun' arg.
7481 Change return value.
eb95d01d 7482 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7483 (avl-tree--do-delete): Add `test' and `nilflag' args.
7484 Change return value.
eb95d01d
TC
7485 (avl-tree-member): Add optional `nilflag'
7486 (avl-tree-member-p): New function.
7487 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7488 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7489 (avl-tree-stack-empty-p): New functions.
7490
3769ddcf
TC
74912009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7492
7493 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7494 avl-tree--del-balance1 and make it work both ways.
7495 (avl-tree--del-balance2): Remove.
7496 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7497 make it work both ways.
7498 (avl-tree--enter-balance2): Remove.
7499 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7500 New macros.
7501 (avl-tree--mapc, avl-tree-map): Add direction argument.
7502
eb95d01d 75032011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7504
7505 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7506
a9f737ee
CY
75072011-05-27 Chong Yidong <cyd@stupidchicken.com>
7508
7509 * select.el: Support clipboard managers with built-in function
7510 x-clipboard-manager-save, via delete-frame-functions and
7511 kill-emacs-hook.
7512 (xselect-convert-to-targets): Add MULTIPLE target to list.
7513 (xselect-convert-to-save-targets): New function.
7514
c92a1e54
KH
75152011-05-27 Kenichi Handa <handa@m17n.org>
7516
7517 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7518 let-binding rfc2047-encode-encoded-words to nil.
7519
e145f188
GM
75202011-05-27 Glenn Morris <rgm@gnu.org>
7521
5ec8a862
GM
7522 * mail/emacsbug.el: Don't require url-util.
7523
4b29d9fb
GM
7524 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7525
e145f188
GM
7526 * files.el (set-auto-mode):
7527 Also respect mode: entries at the end of the file. (Bug#8586)
7528
7d15102b
GM
75292011-05-26 Glenn Morris <rgm@gnu.org>
7530
98f593b8
GM
7531 * files.el (hack-local-variables-prop-line, hack-local-variables):
7532 Downcase mode names, as seems to be traditional.
27b48e63 7533 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7534
7d15102b
GM
7535 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7536 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7537
51d5b4ec
JD
75382011-05-25 Julien Danjou <julien@danjou.info>
7539
7540 * textmodes/rst.el (rst-define-level-faces): Do not define face
7541 symbol if it is already defined.
7542
91513f63
VB
75432011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7544
7545 * play/5x5.el (5x5-new-game, 5x5-randomize):
7546 Reset 5x5-solver-output to nil when a new grid is cast.
7547 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7548 these debugging traces, as defmacro breaks the compiled code.
7549
4d90d6d0
DK
75502011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7551
7552 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7553
e1b90ef6
LL
75542011-05-24 Leo Liu <sdl.web@gmail.com>
7555
7556 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7557 (vc-bzr-sha1): Adapt.
7558
d8e4b68b 7559 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7560
7561 * bindings.el: Provide sha1 feature.
7562
db0406bb 75632011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7564
7565 * mail/sendmail.el: Require `rfc2047'.
7566 (mail-insert-from-field): Do not perform RFC2047 encoding.
7567 (mail-encode-header): New function.
7568 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7569 buffer to the return value of select-message-coding-system.
7570 Call mail-encode-header.
b8d747b9
KH
7571
7572 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7573
db0406bb 75742011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7575
4d90d6d0
DK
7576 * mail/supercite.el (sc-default-cite-frame):
7577 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7578
eb8a5e9b
GM
75792011-05-24 Glenn Morris <rgm@gnu.org>
7580
f8630703
GM
7581 * progmodes/python.el (brm-menu): Declare.
7582
8831bbed
GM
7583 * emulation/viper.el (viper-set-hooks): Declare.
7584
eb8a5e9b
GM
7585 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7586 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7587 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7588 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7589 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7590 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7591
a2a25d24
SM
75922011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 Add an :exit-function for completion-at-point.
7595
7596 * minibuffer.el (completion--done): New fun.
7597 (completion--do-completion): Use it. New arg `expect-exact'.
7598 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7599 since completion--do-completion does it for us now.
7600 (minibuffer-force-complete): Use completion--done and
7601 completion--replace. Handle sole-completion case with more care.
7602 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7603 (completion-extra-properties): New var.
7604 (completion-annotate-function): Make obsolete.
7605 (minibuffer-completion-help): Adjust accordingly.
7606 Use completion-list-insert-choice-function.
7607 (completion-at-point, completion-help-at-point):
7608 Bind completion-extra-properties.
7609 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7610 * simple.el (completion-list-insert-choice-function): New var.
7611 (completion-setup-function): Preserve it.
7612 (choose-completion): Pay attention to it, shuffle the code a bit.
7613 (choose-completion-string): New arg `insert-function'.
7614
7615 * textmodes/bibtex.el: Convert to lexical binding.
7616 (bibtex-mode-map): Use completion-at-point.
7617 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7618 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7619 (bibtex-complete): Define as obsolete alias.
7620 (bibtex-complete-internal): Remove.
7621 (bibtex-format-entry): Remove unused sub-group in regexp.
7622 * shell.el (shell--command-completion-data)
7623 (shell-environment-variable-completion):
7624 * pcomplete.el (pcomplete-completions-at-point):
7625 * comint.el (comint--complete-file-name-data): Use :exit-function
7626 instead of completion-table-with-terminator so it also works for
7627 choose-completion.
7628
e44e373d
SM
76292011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7630
4f91a816
SM
7631 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7632
782fc819
SM
7633 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7634 (bug#8710).
7635
e44e373d
SM
7636 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7637
381987c3
KM
76382011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7639
7640 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7641 customization variable and implement: If non-nil, auto-fill will
7642 be inhibited while on topic's header line.
7643
b776bc70
VB
76442011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7645
7646 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7647 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7648 always have a solution in grid size = 5 cases.
7649 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7650 (5x5-solver-output, 5x5-log-buffer): New vars.
7651 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7652 Make these variables buffer local to achieve 5x5 multi-session-ness.
7653 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7654 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7655 (5x5-solve-suggest): New funs.
7656 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7657 randomize a grid so that we ensure that there is always a solution.
7658 (5x5-make-random-grid): Allow other movement than flipping.
7659
7de88b6e
KR
76602011-05-23 Kevin Ryde <user42@zip.com.au>
7661
7662 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7663 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7664 advice and passes PREDICATE.
7665
b1ef1257
SM
76662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7667
bbca48fe
SM
7668 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7669 byte-compile-lambda if it's actually a lambda.
7670
b1ef1257
SM
7671 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7672 Fix function quoting. Use backquote better.
7673
92a9cc65
YS
76742011-05-22 Yuanle Song <sylecn@gmail.com>
7675
7676 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7677 matching (Bug#8516).
7678
f0fb8059
JA
76792011-01-22 Jari Aalto <jari.aalto@cante.net>
7680
7681 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7682 different face (Bug#8178).
7683
d5b44c93
CY
76842011-05-22 Chong Yidong <cyd@stupidchicken.com>
7685
7686 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7687 defface (Bug#8144).
7688
79106a44
SM
76892011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7690
9c848d8a
SM
7691 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7692 funcall as well (bug#8712). Warn when performing those conversions.
7693 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7694
79106a44
SM
7695 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7696
88dfa756
GM
76972011-05-22 Glenn Morris <rgm@gnu.org>
7698
7699 * files.el (hack-local-variables-prop-line): Small simplifications.
7700 (hack-local-variables, hack-local-variables-prop-line):
7701 If MODE-ONLY, return the mode, rather than just `t'.
7702
b7cf2c79
SM
77032011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7706
3f1a8558
GM
77072011-05-21 Glenn Morris <rgm@gnu.org>
7708
7e4ccca3
GM
7709 * files.el (hack-local-variables-prop-line, hack-local-variables):
7710 If only interested in the mode, don't bother doing the other stuff.
7711
637d46ca
GM
7712 * image-mode.el (image-after-revert-hook):
7713 Redraw all frames on which the image is visible. (Bug#8567)
7714
973d955b
GM
7715 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7716
3f1a8558
GM
7717 * wid-edit.el (widget-checklist-match-inline):
7718 Fix 2011-04-19 change. (Bug#8649)
7719
96479927
SM
77202011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7721
1dcf791f
SM
7722 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7723 Also allow singlespace after single-letter capitals followed by a dot.
7724
96479927
SM
7725 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7726 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7727
35fd0881
N
77282011-05-20 Nix <nix@esperi.org.uk>
7729
7730 * files.el (basic-save-buffer-2):
7731 Fix handling of break-hardlink-on-save with non-existent files.
7732
82745640
DD
77332011-05-19 Deniz Dogan <deniz@dogan.se>
7734
7735 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7736 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7737
4a720484
GM
77382011-05-19 Glenn Morris <rgm@gnu.org>
7739
d1f21341
GM
7740 * progmodes/f90.el (f90-type-def-re):
7741 Handle "type, bind(c)". (Bug#8691)
7742
4a720484
GM
7743 * emacs-lisp/autoload.el (batch-update-autoloads):
7744 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7745
2fb0a219
MA
77462011-05-18 Michael Albinus <michael.albinus@gmx.de>
7747
7748 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7749 property for the correct connection in case of multihops.
7750
e565dd37
GM
77512011-05-18 Glenn Morris <rgm@gnu.org>
7752
c2571358 7753 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7754 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7755
e565dd37
GM
7756 Rationalize calendar handling of day and month abbrev-arrays.
7757 * calendar/calendar.el (calendar-customized-p): New function.
7758 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7759 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7760 Add :set function.
7761 (calendar-abbrev-length, calendar-day-abbrev-array)
7762 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7763 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7764 Elements may no longer be nil.
7765 (calendar-day-name, calendar-month-name):
7766 Update for changed nature of abbrev arrays.
7767 * calendar/diary-lib.el (diary-name-pattern):
7768 Update for changed nature of abbrev arrays.
7769 (diary-mark-entries-1): Update calendar-make-alist calls.
7770 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7771 * calendar/cal-html.el (cal-html-day-abbrev-array):
7772 Simply inherit from calendar-day-abbrev-array.
7773
1d99a745
SM
77742011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * progmodes/grep.el (grep-mode): Disable default
7777 compilation-directory-matcher setting (bug#8684).
7778
7c1d9aa0
MA
77792011-05-17 Michael Albinus <michael.albinus@gmx.de>
7780
7781 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7782 instead of "head" and "tail". There were problems with SunOS 5.9,
7783 and it performs better.
7784
3952e9d8
GM
77852011-05-17 Glenn Morris <rgm@gnu.org>
7786
2dd12e7f
GM
7787 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7788
e4157b9c
GM
7789 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7790 Replace obsolete function.
7791
8e249bbd
GM
7792 * shell.el (pcomplete-parse-arguments-function): Declare.
7793
3952e9d8
GM
7794 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7795 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7796 (appt-check): Doc fixes.
7797 (appt-disp-window-function, appt-delete-window-function):
7798 Remove needless special case in custom :type.
7799 (appt-display-count): Default to 0, not nil.
7800 (appt-check): Reset appt-display-count to 0, not nil.
7801
c71a0d48 78022011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7803
c71a0d48
GM
7804 * progmodes/python.el (python-font-lock-keywords):
7805 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7806
31d55be9
SM
78072011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7810
3bfacb2f
KR
78112011-05-16 Kevin Ryde <user42@zip.com.au>
7812
7813 * info-look.el (makefile-automake-mode): New setups, looking in
7814 automake manual, then makefile-mode.
7815 (makefile-mode): Remove automake manual, have it just in
7816 makefile-automake-mode since there's various things different or
7817 not relevant to plain make.
7818 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7819 believe a hypothetical automake-mode would go to makefile-mode,
7820 not the other way around.
7821
c8e83751
CY
78222011-05-15 Chong Yidong <cyd@stupidchicken.com>
7823
5e9e35cd
CY
7824 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7825 hunk-end tags (Bug#8672).
7826
c8e83751
CY
7827 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7828 vc-annotate-show-diff-revision-at-line (Bug#8671).
7829
50b23e5a
GM
78302011-05-14 Glenn Morris <rgm@gnu.org>
7831
7210a739
GM
7832 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7833 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7834 (change-log-font-lock-keywords): Also handle multiple author lines
7835 with leading tabs. (Bug#8644)
7210a739 7836
4691905a
GM
7837 * calendar/appt.el (appt-check): Rename some local variables.
7838 Some simplification/reordering.
7839
50b23e5a
GM
7840 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7841 (feedmail-sendmail-f-doesnt-sell-me-out)
7842 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7843 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7844 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7845 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7846 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7847 (feedmail-binmail-gnulinuxish-template):
7848 Rename from feedmail-binmail-linuxish-template.
7849 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7850 Use insert-buffer-substring.
7851
215cda7c
BC
78522011-05-14 Bill Carpenter <bill@carpenter.org>
7853
7854 * mail/feedmail.el (feedmail-patch-level): Increase.
7855 (feedmail-debug): New custom group.
7856 (feedmail-confirm-outgoing-timeout)
7857 (feedmail-sendmail-f-doesnt-sell-me-out)
7858 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7859 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7860 (feedmail-sender-line, feedmail-from-line)
7861 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7862 (feedmail-spray-this-address)
215cda7c
BC
7863 (feedmail-spray-address-fiddle-plex-list)
7864 (feedmail-queue-use-send-time-for-date)
7865 (feedmail-queue-use-send-time-for-message-id)
7866 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7867 (feedmail-buffer-eating-function):
7868 Doc fixes.
7869 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7870 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7871 (feedmail-message-action-scroll-down): New functions.
7872 (feedmail-queue-directory, feedmail-queue-draft-directory):
7873 Use expand-file-name.
7874 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7875 Remove C-v help entry.
7876 (feedmail-queue-buffer-file-name): New variable.
7877 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7878 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7879 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7880 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7881 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7882 (feedmail-message-action-toggle-spray)
7883 (feedmail-run-the-queue-no-prompts)
7884 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7885 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7886 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7887 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7888 (feedmail-envelope-deducer, feedmail-fiddle-from)
7889 (feedmail-fiddle-sender, feedmail-default-date-generator)
7890 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7891 (feedmail-fiddle-spray-address)
7892 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7893 (feedmail-fiddle-list-of-fiddle-plexes)
7894 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7895 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7896 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7897 Change default. Doc fix.
7898 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7899 (feedmail-binmail-linuxish-template): New constant.
7900 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7901 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7902 (feedmail-send-it): Add debug call.
7903 Use feedmail-queue-buffer-file-name, and
7904 feedmail-send-it-immediately-wrapper.
7905 (feedmail-message-action-send): Add debug call.
7906 Use feedmail-send-it-immediately-wrapper.
7907 (feedmail-queue-express-to-queue): Add debug call.
7908 Run feedmail-queue-express-hook.
7909 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7910 (feedmail-message-action-help-blat):
7911 Rename from feedmail-queue-send-edit-prompt-help-first.
7912 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7913 Check line-endings. Handle errors better.
7914 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7915 Doc fix. Add debug call.
7916 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7917 Use feedmail-queue-send-edit-prompt-inner.
7918 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7919 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7920 from feedmail-queue-send-edit-prompt.
7921 (feedmail-queue-send-edit-prompt-help)
7922 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7923 (feedmail-tidy-up-slug): Add debug call.
7924 Respect feedmail-queue-slug-suspect-regexp.
7925 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7926 (feedmail-dump-message-to-queue): Add debug call.
7927 Expand queue-directory.
7928 (feedmail-dump-message-to-queue): Change message slightly.
7929 Use feedmail-say-chatter.
7930 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7931 (feedmail-send-it-immediately-wrapper): New function.
7932 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7933 Insert empty string rather than newline. Handle full-frame case.
7934 Use catch/throw. Use feedmail-say-chatter.
7935 (feedmail-fiddle-from): Try mail-host-address.
7936 (feedmail-default-message-id-generator): Doc fix.
7937 Bind system-time-locale. Handle missing end.
7938 (feedmail-fiddle-x-mailer): Add debug call.
7939 Handle feedmail-x-mailer-line being nil.
7940 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7941 Add debug call. Use buffer-substring-no-properties.
7942 (feedmail-say-debug, feedmail-say-chatter): New functions.
7943 (feedmail-find-eoh): Give an explicit error.
7944
42c7e61e
UJ
79452011-05-13 Ulf Jasper <ulf.jasper@web.de>
7946
c2571358 7947 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7948 family from helvetica to sans.
c2571358 7949 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7950 etc/images/newsticker.
7951
c2571358 7952 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7953 family from helvetica to sans.
7954
7955 * net/newst-plainview.el (newsticker-new-item-face)
7956 (newsticker-old-item-face, newsticker-immortal-item-face)
7957 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7958 (newsticker-statistics-face): Change default family from
42c7e61e 7959 helvetica to sans.
c2571358 7960 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7961 etc/images/newsticker.
7962
7963 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7964 (newsticker--process-auto-mark-filter-match): : Tell user about
7965 auto-marking.
7966
8497a297
DV
79672011-05-13 Didier Verna <didier@xemacs.org>
7968
7969 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7970 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7971 TODO entries.
8497a297
DV
7972 (lisp-lambda-list-keyword-parameter-indentation)
7973 (lisp-lambda-list-keyword-parameter-alignment)
7974 (lisp-lambda-list-keyword-alignment): New customizable user options.
7975 (lisp-indent-defun-method): Improve docstring.
7976 (extended-loop-p): Fix comment.
7977 (lisp-indent-lambda-list-keywords-regexp): New variable.
7978 (lisp-indent-lambda-list): New function.
7979 (lisp-indent-259): Use it.
7980 (lisp-indent-defmethod): Support for more than one
7981 method qualifier and properly indent methods lambda-lists.
7982 (defgeneric): Provide a missing common-lisp-indent-function property.
7983
f278f87f
SM
79842011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7987 bounds for the empty string (bug#8667).
7988
5233edd7
GM
79892011-05-13 Glenn Morris <rgm@gnu.org>
7990
5237a44f
GM
7991 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7992
8340026c 7993 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7994 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7995
5233edd7 7996 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7997 (appt-time-msg-list): Doc fix.
a5464014 7998 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7999
92d10796
AS
80002011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8001
8002 * progmodes/ld-script.el (ld-script-keywords)
8003 (ld-script-builtins): Update keywords list.
8004
914a0ae1
SM
80052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8006
c89be45f
SM
8007 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8008
914a0ae1
SM
8009 * shell.el (shell-completion-vars): New function.
8010 (shell-mode):
8011 * simple.el (read-shell-command): Use it.
8012 (blink-matching-open): No need for " [...]" in minibuffer-message.
8013
98dc3df3
GM
80142011-05-12 Glenn Morris <rgm@gnu.org>
8015
8016 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8017 (appt-check): Simplify.
8018
d2fc7e3d 80192011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 8020
4d61f28d 8021 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
8022 literal "/dev/null".
8023
d2fc7e3d 80242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
8025
8026 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8027 Fix typo.
8028
d2fc7e3d 80292011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 8030
3f254caa
SM
8031 * progmodes/which-func.el (which-function):
8032 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
8033 which might not be defined (Bug#8260).
8034
d45885f7
GM
80352011-05-12 Glenn Morris <rgm@gnu.org>
8036
8037 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8038 Let byte-compile-initial-macro-environment always take precedence.
8039
488086f4
SM
80402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * net/rcirc.el: Add support for SSL/TLS connections.
8043 (rcirc-server-alist): New field `encryption'.
8044 (rcirc): Check `encryption' settings.
8045 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8046 Merge make-local-variable into `set'.
8047 (rcirc--connection-open-p): New function.
8048 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8049 the process is not a network process (e.g. running gnutls-cli).
8050 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8051 Make rcirc-(en|de)code-coding-system local here.
8052 (rcirc-mode): Merge make-local-variable into `set'.
8053 (rcirc-parent-buffer): Make permanent buffer-local.
8054 (rcirc-multiline-minor-mode): Don't do it here.
8055 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8056 there's no server buffer.
8057
7d3b9d44
GM
80582011-05-11 Glenn Morris <rgm@gnu.org>
8059
f64049c6
GM
8060 * newcomment.el (comment-kill): Prefix "unused" local.
8061
93c9df73
GM
8062 * term/w32console.el (get-screen-color): Declare.
8063
7d3b9d44
GM
8064 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8065 Handle symbol elements of byte-compile-initial-macro-environment.
8066
9e2dd53f
LL
80672011-05-10 Leo Liu <sdl.web@gmail.com>
8068
488086f4
SM
8069 * bookmark.el (bookmark-bmenu-mode-map):
8070 Bind bookmark-bmenu-search to `/'.
8b340240 8071
9e2dd53f 8072 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
8073 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8074 (Footnote-unicode): New function.
8075 (footnote-style-alist): Add unicode style to the list.
8076 (footnote-style): Doc fix.
9e2dd53f 8077
79b70037
GM
80782011-05-10 Jim Meyering <meyering@redhat.com>
8079
8080 Fix doubled-word typos.
8081 * international/quail.el (quail-insert-kbd-layout): and and -> and
8082 * kermit.el: and and -> and
8083 * net/ldap.el (ldap-search-internal): to to -> to
8084 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8085 * progmodes/js.el (js-mode): and and -> and
8086 * textmodes/artist.el (artist-move-to-xy): at at -> at
8087 (artist-draw-region-trim-line-endings): if if -> if
8088 And Safetyc -> Safety.
8089 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8090
b8f82dc1 80912011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 8092 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
8093
8094 * files.el (hack-one-local-variable-eval-safep):
8095 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8096
4f99f44b
GM
80972011-05-10 Glenn Morris <rgm@gnu.org>
8098
8099 * calendar/diary-lib.el (diary-list-entries-hook)
8100 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8101 (diary-nongregorian-marking-hook, diary-list-entries)
8102 (diary-include-other-diary-files, diary-mark-entries)
8103 (diary-mark-included-diary-files): Doc fixes.
8104
84f29e6b
JB
81052011-05-09 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * misc.el: Require tabulated-list.el during compilation.
8108
9bedd73a
CY
81092011-05-09 Chong Yidong <cyd@stupidchicken.com>
8110
488086f4
SM
8111 * progmodes/compile.el (compilation-start):
8112 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8113 (compilation-filter-hook): Doc fix.
8114
797c735c
DD
81152011-05-09 Deniz Dogan <deniz@dogan.se>
8116
8117 * wdired.el: Remove outdated installation comment. Fix usage
8118 comment.
8119
5f4b1dfe
JB
81202011-05-09 Juanma Barranquero <lekktu@gmail.com>
8121
8122 * misc.el: Implement new command `list-dynamic-libraries'.
8123 (list-dynamic-libraries--loaded-only-p): New variable.
8124 (list-dynamic-libraries--refresh): New function.
8125 (list-dynamic-libraries): New command.
8126
4c44026c
CY
81272011-05-09 Chong Yidong <cyd@stupidchicken.com>
8128
488086f4
SM
8129 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8130 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8131 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8132 higher priority to avoid clobbering by gnu.
8133
027f966d
CY
81342011-05-08 Chong Yidong <cyd@stupidchicken.com>
8135
8136 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8137 if the face has existing theme settings (Bug#8454).
8138
085f5d7d
CY
81392011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8140
488086f4
SM
8141 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8142 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8143
2a86a00c
RS
8144 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8145 special file names `.' and `..' (Bug#8259).
8146
d9c54a06
CY
81472011-05-08 Chong Yidong <cyd@stupidchicken.com>
8148
488086f4
SM
8149 * progmodes/grep.el (grep-mode-font-lock-keywords):
8150 Remove buffer-changing entries.
d9c54a06
CY
8151 (grep-filter): New function.
8152 (grep-mode): Add it to compilation-filter-hook.
8153
8154 * progmodes/compile.el (compilation-filter-hook)
8155 (compilation-filter-start): New defvars.
8156 (compilation-filter): Call compilation-filter-hook prior to
8157 updating the process mark.
8158
c4662635
SM
81592011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8160
8161 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8162
b0512a1d
EZ
81632011-05-07 Eli Zaretskii <eliz@gnu.org>
8164
605c9376
EZ
8165 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8166 mailclient-send-it even if window-system is nil. (Bug#8595)
8167
c4662635
SM
8168 * term/w32console.el (terminal-init-w32console):
8169 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8170 background-mode. (Bug#8597)
8171
d1dc2cc2
SM
81722011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8175 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8176 New functions.
8177 (defgeneric, eieio--defmethod): Use them.
8178 (eieio-defgeneric): Remove.
8179 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8180
915d1300
GM
81812011-05-07 Glenn Morris <rgm@gnu.org>
8182
a3961c3e
GM
8183 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8184 Use let rather than let*.
8185 (timeclock-find-discrep): Remove unused local.
8186
314347b9
GM
8187 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8188
915d1300
GM
8189 * calendar/appt.el (appt-time-msg-list): Doc fix.
8190
275b59b0
NF
81912011-05-06 Noah Friedman <friedman@splode.com>
8192
8193 * apropos.el (apropos-print-doc): Only use
8194 emacs-lisp-docstring-fill-column when it is bound to an integer,
8195 per that variable's documentation.
8196
6c19f744
SM
81972011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8200 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8201
60f884b2
GM
82022011-05-06 Glenn Morris <rgm@gnu.org>
8203
5006e634
GM
8204 * calendar/appt.el (appt-message-warning-time): Doc fix.
8205 (appt-warning-time-regexp): New option.
8206 (appt-make-list): Respect appt-message-warning-time.
8207
548d0a63
GM
8208 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8209 New options.
8210 (diary-add-to-list): Strip comments from the displayed string.
8211 (diary-mode): Set comment-start and comment-end.
8212
60f884b2
GM
8213 * vc/diff-mode.el (smerge-refine-subst): Declare.
8214 (diff-refine-hunk): Don't require smerge-mode when compiling.
8215
989681bb
JB
82162011-05-06 Juanma Barranquero <lekktu@gmail.com>
8217
8218 * simple.el (list-processes): Return nil as the docstring says.
8219
a6bc05e1
MA
82202011-05-05 Michael Albinus <michael.albinus@gmx.de>
8221
8222 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8223 to "".
8224 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8225 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8226 determining of binary transfer. (Bug#7383)
8227
23c22e9a
MA
82282011-05-05 Michael Albinus <michael.albinus@gmx.de>
8229
c4662635
SM
8230 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8231 Fix port computation bug. (Bug#8618)
23c22e9a 8232
0bff894f
GM
82332011-05-05 Glenn Morris <rgm@gnu.org>
8234
b8296902
GM
8235 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8236
1f522ce8
GM
8237 * simple.el (shell-dynamic-complete-functions)
8238 (comint-dynamic-complete-functions): Declare.
8239
cf5bee67
GM
8240 * net/network-stream.el (gnutls-negotiate):
8241 * simple.el (tabulated-list-print): Fix declarations.
8242
8243 * progmodes/gud.el (syntax-symbol, syntax-point):
8244 Remove unnecessary and incorrect declarations.
8245
0bff894f
GM
8246 * emacs-lisp/check-declare.el (check-declare-scan):
8247 Handle byte-compile-initial-macro-environment in bytecomp.el
8248
9869b3ae
SM
82492011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 Fix earlier half-done eieio-defmethod change (bug#8338).
8252 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8253 Streamline and change calling convention.
8254 (defmethod): Adjust accordingly and simplify.
8255 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8256 new eieio--defmethod.
8257 (slot-boundp): Minor CSE simplification.
8258
9c1d5ac5
MZ
82592011-05-05 Milan Zamazal <pdm@zamazal.org>
8260
8261 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8262 (glasses-make-readable): Use glasses-separate-capital-groups.
8263
455c834e
JB
82642011-05-05 Juanma Barranquero <lekktu@gmail.com>
8265
8266 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8267 (warning-series): Doc fix.
8268 (display-warning): Don't try to create the buffer if we just found it.
8269
9ed7c8cb
CY
82702011-05-04 Chong Yidong <cyd@stupidchicken.com>
8271
8272 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8273 (autoload-find-generated-file): New function.
8274 (generate-file-autoloads): Bind generated-autoload-file to
8275 buffer-file-name.
9869b3ae
SM
8276 (update-file-autoloads, update-directory-autoloads):
8277 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8278 output file (Bug#7989).
8279 (batch-update-autoloads): Doc fix.
8280
0898ca10
JB
82812011-05-04 Juanma Barranquero <lekktu@gmail.com>
8282
8283 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8284
31dfb76c
GM
82852011-05-04 Glenn Morris <rgm@gnu.org>
8286
f330b642
GM
8287 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8288 function, so it follows changes in calendar-date-style.
8289 (diary-fancy-date-matcher): New function.
8290 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8291 (diary-fancy-font-lock-fontify-region-function):
8292 Use diary-fancy-date-pattern as a function.
8293
31dfb76c
GM
8294 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8295 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8296
48e79d6a
TZ
82972011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8298
8299 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8300 instead of positional arguments. Allow :keylist and :crlfiles
8301 arguments.
8302 (open-gnutls-stream): Call it.
8303
8304 * net/network-stream.el (network-stream-open-starttls): Adjust to
8305 call `gnutls-negotiate' with :process and :hostname arguments.
8306
dd5a5ee0
SM
83072011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8308
ef80fc09
SM
8309 * minibuffer.el (completion--message): New function.
8310 (completion--do-completion, minibuffer-complete)
8311 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8312 (completion--do-completion): Don't ignore completion-auto-help when in
8313 icomplete-mode.
8314
dd5a5ee0
SM
8315 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8316 internal encoding (e.g. tibetan zero is not whitespace).
8317 (global-whitespace-mode): Prefer save-current-buffer.
8318 (whitespace-trailing-regexp): Remove useless save-match-data.
8319 (whitespace-empty-at-bob-regexp): Minor simplification.
8320
b7d22a83
CY
83212011-05-03 Chong Yidong <cyd@stupidchicken.com>
8322
8323 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8324
5192af46
AM
83252011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8326
8327 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8328 Use `concat' to create string for insertion.
5192af46 8329
5767d190
SM
83302011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8333 Avoid open-line which runs post-self-insert-hook.
8334 (bibtex-fill-entry): Remove unused `end' var.
8335
bf242939
AM
83362011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8337
5767d190
SM
8338 * textmodes/ispell.el (ispell-add-per-file-word-list):
8339 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8340
25666126
LL
83412011-05-03 Leo Liu <sdl.web@gmail.com>
8342
8343 * isearch.el (isearch-yank-pop): New command.
5767d190 8344 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8345 (isearch-forward): Mention it.
8346
52d3c2d0
SM
83472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8348
1bcace58
SM
8349 * simple.el (minibuffer-complete-shell-command): Remove.
8350 (minibuffer-local-shell-command-map): Use completion-at-point.
8351 (read-shell-command): Setup completion vars here instead.
8352 (read-expression-map): Bind TAB to symbol completion.
8353
52d3c2d0
SM
8354 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8355 error directly rather via storing it into `results'.
8356
35813471
LL
83572011-05-02 Leo Liu <sdl.web@gmail.com>
8358
8359 * vc/diff.el: Fix description.
8360
e793a940
LMI
83612011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8362
8363 * server.el (server-eval-at): New function.
8364
8de66e05
LMI
83652011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8366
8367 * net/network-stream.el (open-network-stream): Take a :nowait
8368 parameter and pass it on to `make-network-process'.
8369 (network-stream-open-plain): Ditto.
8370
dcb79f20
AS
83712011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8372
8373 * faces.el (face-spec-set-match-display): Don't match toolkit
8374 options on terminal frames.
8375
14a7fbd8
SM
83762011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8377
7eabc1be
SM
8378 * progmodes/pascal.el: Use lexical binding.
8379 (pascal-mode-map): Remove author preferences.
8380
14a7fbd8
SM
8381 * pcomplete.el (pcomplete-std-complete): Don't abuse
8382 completion-at-point.
8383
50f84510
JB
83842011-04-28 Juanma Barranquero <lekktu@gmail.com>
8385
6e087a44
JB
8386 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8387 removing code that has been dead since 1991 or so.
8388
50f84510
JB
8389 * startup.el (command-line): When warning about "_emacs", use a
8390 delayed warning to allow the user to filter it out.
8391
0ba690bd
DD
83922011-04-28 Deniz Dogan <deniz@dogan.se>
8393
8394 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8395 user has not joined.
8396
08abfaad
SM
83972011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8400 aren't any completions at point.
8401
638f053a
JB
84022011-04-28 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * subr.el (display-delayed-warnings): New function.
8405 (delayed-warnings-hook): New variable.
8406
8fff8daa
SM
84072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8408
08abfaad
SM
8409 * minibuffer.el (completion-at-point, completion-help-at-point):
8410 Don't presume that a given completion-at-point-function will always
8411 use the same calling convention.
8412
8fff8daa
SM
8413 * pcomplete.el (pcomplete-completions-at-point):
8414 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8415 pcomplete-seen is non-nil.
8416 (pcomplete-comint-setup): Also recognize the new comint/shell
8417 completion functions.
8418 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8419 pcomplete-seen is non-nil.
8420
841a1577 84212011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8422
841a1577 8423 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8424 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8425 the first character in the entry. This allows for code to add its
211ec907
UJ
8426 own uid to the entry.
8427 (icalendar--convert-float-to-ical): Add export of
8428 `diary-float'-entries save for those with the optional DAY
8429 argument.
8430
2a782793
DC
84312011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8432
8433 * subr.el (shell-quote-argument): Use alternate escaping strategy
8434 when we spot a variable reference in a string.
8435
0438ce91
DC
84362011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8437
8438 * cus-start.el (all): Define customization for debug-on-event.
8439
841a1577 84402011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8441
8442 * subr.el (shell-quote-argument): Escape correctly under Windows.
8443
d090ed6c
SM
84442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8447
bfd31217
MA
84482011-04-25 Michael Albinus <michael.albinus@gmx.de>
8449
d090ed6c
SM
8450 * net/tramp.el (tramp-process-actions): Add POS argument.
8451 Delete region between POS and (pos).
bfd31217 8452
d090ed6c
SM
8453 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8454 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8455 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8456
8457 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8458 position in `tramp-process-actions' call.
8459
8460 * net/trampver.el: Update release number.
8461
e92f3bd3
SM
84622011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8463
850256b5
SM
8464 * custom.el (defcustom): Obey lexical-binding.
8465
e92f3bd3
SM
8466 Fix octave-inf completion problems reported by Alexander Klimov.
8467 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8468 Inherit from octave-mode-syntax-table.
8469 (inferior-octave-mode): Set info-lookup-mode.
8470 (inferior-octave-completion-at-point): New function.
8471 (inferior-octave-complete): Use it and completion-in-region.
8472 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8473 comint-filename-completion.
8474 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8475 symbol elements which shouldn't be word elements.
8476 (octave-font-lock-keywords, octave-beginning-of-defun)
8477 (octave-function-header-regexp): Adjust regexps accordingly.
8478 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8479
cd22b309
JB
84802011-04-25 Juanma Barranquero <lekktu@gmail.com>
8481
8482 * net/gnutls.el (gnutls-errorp): Declare before first use.
8483
8b492194
TZ
84842011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8485
8486 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8487 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8488 default trustfile exists before going to use it. Add missing
5a5fa834 8489 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8490 Reported by Claudio Bley <claudio.bley@gmail.com>.
8491 (open-gnutls-stream): Add usage example.
8492
8493 * net/network-stream.el (network-stream-open-starttls): Give host
8494 parameter to `gnutls-negotiate'.
8495 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8496 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8497
841a1577 84982011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8499
cd22b309
JB
8500 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8501 Use correct match group (bug#8438).
05842630 8502
3ba7869c
CY
85032011-04-24 Chong Yidong <cyd@stupidchicken.com>
8504
512e3ae1
CY
8505 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8506 (package-menu--generate): New arg specifying packages to show.
8507 (package-menu-refresh, package-menu-execute, list-packages):
8508 Callers changed.
8509 (package-show-package-list): New function, replacing deleted
8510 package--list-packages (renamed because it is non-internal).
8511
8512 * finder.el (finder-list-matches): Use package-show-package-list
8513 instead of deleted package--list-packages.
8514
e92f3bd3
SM
8515 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8516 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8517 (vc-annotate-mode-map): Bind it to RET.
8518
7031be6d
UR
85192011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8520
8521 * progmodes/etags.el (next-file): Don't use set-buffer to change
8522 buffers (Bug#8478).
8523
4ef177aa
CY
85242011-04-24 Chong Yidong <cyd@stupidchicken.com>
8525
c8d173eb
CY
8526 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8527
4ef177aa
CY
8528 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8529 (apropos-accumulator): Doc fix.
8530 (apropos-function, apropos-macro, apropos-command)
8531 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8532 (apropos-plist): Add face property.
8533 (apropos-symbols-internal): Fix indentation.
8534 (apropos-print): Simplify help, and recognize apropos-multi-type.
8535 (apropos-print-doc): Use button-type-get to extract the button's
8536 face property. Fill docstring (Bug#8352).
8537
4ffd0d6b 85382011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8539
8540 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8541
c6c32125 8542 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8543 (mpuz-mode-map): Use mapc.
c6c32125
JB
8544 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8545 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8546 Fix typos in docstrings.
8547
58d468b4
JB
8548 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8549 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8550
6470c3c6
JB
8551 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8552
4ffd0d6b 85532011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8554
8555 * minibuffer.el (completion--do-completion): Avoid the "Next char
8556 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8557
3ad8bad0
CY
8558 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8559 mouse-2 into unread-command-events, it is interpreted correctly.
8560
71d73c9c 8561 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8562 (image-toggle-display): Doc fix.
71d73c9c 8563
841a1577 85642011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8565
4ffd0d6b
GM
8566 * textmodes/page.el (what-page): Use line-number-at-pos to
8567 calculate line number (Bug#6825).
6e1dbaa9 8568
c2fb1b60
JB
85692011-04-22 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8572 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8573 Pass argument NO-DEFAULT to `find-tag-interactive'.
8574
e02f48d7
JB
85752011-04-22 Juanma Barranquero <lekktu@gmail.com>
8576
8577 Lexical-binding cleanup.
8578
8579 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8580 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8581 * progmodes/ada-prj.el (ada-prj-initialize-values)
8582 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8583 (ada-prj-show-value):
8584 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8585 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8586 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8587 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8588 * progmodes/bug-reference.el (bug-reference-push-button):
8589 * progmodes/fortran.el (fortran-line-length):
8590 * progmodes/glasses.el (glasses-change):
8591 * progmodes/octave-mod.el (octave-fill-paragraph):
8592 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8593 (python-pdbtrack-grub-for-buffer, python-sentinel):
8594 * progmodes/sql.el (sql-save-connection):
8595 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8596 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8597 Mark unused parameters.
8598
8599 * progmodes/compile.el (compilation--flush-directory-cache)
8600 (compilation--flush-parse, compile-internal): Mark unused parameters.
8601 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8602 (compilation-next-error-function): Remove unused variable `timestamp'.
8603
8604 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8605 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8606
8607 * progmodes/dcl-mode.el (dcl-end-of-command):
8608 Remove unused variable `start'.
8609 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8610 (dcl-option-value-basic, dcl-option-value-offset)
8611 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8612 Mark unused parameters.
8613 (dcl-save-local-variable): Remove unused variable `val'.
8614 (mode): Declare.
8615
8616 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8617 Mark unused parameters.
8618 (delphi-ignore-changes): Move before first use.
8619 (delphi-charset-token-at): Remove unused variable `start'.
8620 (delphi-else-start): Remove unused variable `if-count'.
8621 (delphi-comment-block-start, delphi-comment-block-end):
8622 Remove unused variable `kind'.
8623 (delphi-indent-line): Remove unused variable `new-point'.
8624
8625 * progmodes/ebrowse.el (ebrowse-files-list)
8626 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8627 Mark unused parameters. Don't quote `lambda'.
8628 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8629 Don't quote `lambda'.
8630 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8631 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8632 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8633 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8634 Use `ignore-errors'.
8635 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8636 (ebrowse-view/find-file-and-search-pattern)
8637 (ebrowse-view/find-member-declaration/definition):
8638 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8639 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8640 Rename parameter PREFIX-ARG to PREFIX.
8641 (ebrowse-tags-read-name): Remove unused variables `start' and
8642 `member-info'.
8643 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8644 to `tags-file'.
8645
8646 * progmodes/etags.el (local-find-tag-hook): Declare.
8647 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8648 Mark unused parameters.
8649
8650 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8651 (executable-interpret): Mark unused parameter.
8652
8653 * progmodes/flymake.el (flymake-process-sentinel)
8654 (flymake-after-change-function)
8655 (flymake-create-temp-with-folder-structure)
8656 (flymake-get-include-dirs-dot): Mark unused parameters.
8657 (flymake-safe-delete-directory): Remove unused variable `err'.
8658
8659 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8660 (speedbar-timer-fn, speedbar-line-text)
8661 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8662 (speedbar-center-buffer-smartly): Declare functions.
8663 (gdb-find-watch-expression): Remove unused variable `array'.
8664 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8665 (gdb-starting): Mark unused parameters.
8666 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8667 (gdb-table-string): Remove unused variable `res'.
8668 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8669 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8670 (gdb-display-buffer): Remove unused variable `cur-size'.
8671
8672 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8673 allow lexical-binding compilation.
8674 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8675 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8676 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8677 Mark unused parameters.
8678 (gud-gdb-marker-filter): Remove unused variable `match'.
8679 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8680 lambda expressions and funcall them, instead of using `fset'.
8681
8682 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8683 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8684
8685 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8686 variable `header-beg'; use `let'.
8687
8688 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8689 `restart', `last-sexp' and `at-do'.
8690
8691 * progmodes/js.el (js--debug): Mark unused parameter.
8692 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8693 (js--splice-into-items): Remove unused variable `item'.
8694 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8695
8696 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8697 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8698 (makefile-complete): Remove unused variable `try'.
8699 (makefile-fill-paragraph, makefile-match-function-end):
8700 Mark unused parameters.
8701
8702 * progmodes/octave-inf.el (inferior-octave-complete):
8703 Remove unused variable `proc'.
8704 (inferior-octave-output-digest): Mark unused parameter.
8705
8706 * progmodes/perl-mode.el (perl-calculate-indent):
8707 Remove unused variable `err'.
8708
8709 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8710 (prolog-indent-line): Mark unused parameters.
8711 (prolog-indent-line): Remove unused variable `beg'.
8712
8713 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8714 (reporter-dont-compact-list): Declare.
8715
8716 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8717 Remove unused variable `char'.
8718 (sh-debug): Mark unused parameter.
8719 (sh-get-indent-info): Remove unused variable `start'.
8720 (sh-calculate-indent): Remove unused variable `var'.
8721
8722 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8723 (simula-electric-keyword): Remove unused variable `null'.
8724 (simula-search-backward, simula-search-forward): Remove unused
8725 variables `begin' and `end'.
8726
8727 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8728 Remove unused variable `pos'.
8729 (vera-electric-tab, vera-comment-uncomment-region):
8730 Mark unused parameters.
8731 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8732
7ede3b65
CY
87332011-04-22 Chong Yidong <cyd@stupidchicken.com>
8734
8735 * emacs-lisp/package.el (package--builtins, package-alist)
8736 (package-load-descriptor, package-built-in-p, package-activate)
8737 (define-package, package-installed-p)
8738 (package-compute-transaction, package-buffer-info)
8739 (package--push): Doc fix. Distinguish more clearly between
8740 version strings and version lists.
8741
121656e9
JB
87422011-04-21 Juanma Barranquero <lekktu@gmail.com>
8743
8744 Lexical-binding cleanup.
8745
8746 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8747 (5x5-make-mutate-best):
8748 * play/fortune.el (fortune-in-buffer):
8749 * play/gomoku.el (gomoku-init-display):
8750 * play/solitaire.el (solitaire, solitaire-do-check):
8751 * play/tetris.el (tetris-default-update-speed-function):
8752 Mark unused parameters.
8753
8754 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8755 (bubbles--shift): Remove unused variable `char-org'.
8756 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8757 (bubbles--show-images): Remove unused variable `char'.
8758
8759 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8760 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8761 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8762 (decipher-analyze-buffer): Use ?\s.
8763 (decipher-make-checkpoint): Remove unused variable `mapping'.
8764
8765 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8766
8767 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8768 Remove unused variable `result'; use `let'.
8769
8770 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8771 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8772 (gametree-children-shown-p, gametree-compute-reduced-score):
8773 Use `ignore-errors'.
8774
8775 * play/handwrite.el (ps-lpr-switches): Declare.
8776 (handwrite): Remove unused variables `pmin' and `lastp'.
8777
8778 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8779
8780 * play/landmark.el (landmark-init-display)
8781 (landmark-update-naught-weights): Mark unused parameters.
8782 (landmark-y): Remove unused variable `noise'. Simplify.
8783 (landmark-human-plays): Remove unused variable `score'.
8784
8785 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8786 (mpuz-try-proposal): Remove unused variable `game'.
8787
8788 * play/zone.el (life-patterns): Declare.
8789
80f499c7
JB
87902011-04-20 Juanma Barranquero <lekktu@gmail.com>
8791
8792 * vc/vc.el (ediff-vc-internal): Declare function.
8793
024ff170
SM
87942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8795
c0a193ea
SM
8796 * shell.el: Use lexical-binding and std completion UI.
8797 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8798 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8799 comint-preoutput-filter-functions rather than on
8800 comint-output-filter-functions.
8801 (shell-command-completion, shell--command-completion-data)
8802 (shell-filename-completion, shell-environment-variable-completion)
8803 (shell-c-a-p-replace-by-expanded-directory): New functions.
8804 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8805 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8806 (shell-dynamic-complete-environment-variable): Use them.
8807 (shell-dynamic-complete-as-environment-variable)
8808 (shell-dynamic-complete-as-command): Remove.
8809 (shell-match-partial-variable): Match past point.
8810 * comint.el: Clean up use of completion-at-point-functions.
8811 (comint-completion-at-point): New function.
8812 (comint-mode): Use it completion-at-point-functions.
8813 (comint-dynamic-complete): Make it obsolete.
8814 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8815 (comint-c-a-p-replace-by-expanded-history): New function.
8816 (comint-dynamic-complete-functions)
8817 (comint-replace-by-expanded-history): Use it.
8818 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8819 termination strings. Try harder to avoid second try-completion.
8820 (completion-in-region-mode-map): Disable bindings that don't work yet.
8821
2dbaa080
SM
8822 * comint.el: Use lexical-binding. Require CL.
8823 (comint-dynamic-complete-functions): Use comint-filename-completion.
8824 (comint-completion-addsuffix): Tweak custom type.
8825 (comint-filename-completion, comint--common-suffix)
8826 (comint--common-quoted-suffix, comint--table-subvert)
8827 (comint--complete-file-name-data): New functions.
8828 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8829 (comint-dynamic-list-filename-completions): Use them.
8830 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8831
2dbaa080
SM
8832 * minibuffer.el (completion-in-region-mode):
8833 Keep completion-in-region-mode--predicate global.
8834 (completion-in-region--postch):
8835 Assume completion-in-region-mode--predicate is not null.
8836
c79a6f38
SM
8837 * progmodes/flymake.el (flymake-start-syntax-check-process):
8838 Obey `dir'. Simplify.
8839
024ff170
SM
8840 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8841 we're in VC after all.
8842
1c6c854e
CS
88432011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8844
8845 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8846 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8847 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8848
bed7f140
SM
88492011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8850
332e62ab
SM
8851 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8852 add sanity check.
8853
bed7f140
SM
8854 * obsolete/erc-hecomplete.el: Make obsolete.
8855 * obsolete/: Standardize obsolescence info in the header.
8856
f195c582
GM
88572011-04-20 Glenn Morris <rgm@gnu.org>
8858
8859 * calendar/solar.el (solar-horizontal-coordinates):
8860 Use the longitude argument rather than `calendar-longitude'.
8861 (solar-date-next-longitude): Remove unused locals.
8862
cb79b8c0
VJL
88632011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8864
8865 * whitespace.el: New version 13.2.1.
8866
88672011-04-20 felix <EmacsWiki> (tiny change)
8868
d8e4b68b 8869 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8870 switching between major modes on a file.
8871
602ea69d
SM
88722011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8875 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8876 multi-line comments as well.
8877
06b60517
JB
88782011-04-19 Juanma Barranquero <lekktu@gmail.com>
8879
8880 Lexical-binding cleanup.
8881
8882 * arc-mode.el (archive-mode-revert):
8883 * cmuscheme.el (scheme-interactively-start-process):
8884 * custom.el (custom-initialize-delay):
8885 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8886 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8887 * emacs-lock.el (emacs-lock-clear-sentinel):
8888 * ezimage.el (defezimage):
8889 * follow.el (follow-avoid-tail-recenter):
8890 * fringe.el (set-fringe-mode-1):
8891 * generic-x.el (bat-generic-mode-compile):
8892 * help-mode.el (help-info-variable, help-do-xref)
8893 (help-mode-revert-buffer):
8894 * help.el (view-emacs-todo):
8895 * iswitchb.el (iswitchb-completion-help):
8896 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8897 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8898 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8899 * locate.el (locate-update):
8900 * longlines.el (longlines-encode-region)
8901 (longlines-after-change-function):
8902 * outline.el (outline-isearch-open-invisible):
8903 * ps-def.el (declare-function, charset-dimension, char-width)
8904 (encode-char):
8905 * ps-mule.el (ps-mule-plot-string):
8906 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8907 (recentf-edit-list-select, recentf-edit-list-validate)
8908 (recentf-open-files-action):
8909 * rect.el (delete-whitespace-rectangle-line)
8910 (rectangle-number-line-callback):
8911 * register.el (window-configuration-to-register)
8912 (frame-configuration-to-register):
8913 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8914 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8915 (xselect-convert-to-targets, xselect-convert-to-delete)
8916 (xselect-convert-to-filename, xselect-convert-to-charpos)
8917 (xselect-convert-to-lineno, xselect-convert-to-colno)
8918 (xselect-convert-to-os, xselect-convert-to-host)
8919 (xselect-convert-to-user, xselect-convert-to-class)
8920 (xselect-convert-to-name, xselect-convert-to-integer)
8921 (xselect-convert-to-atom, xselect-convert-to-identity):
8922 * subr.el (declare, ignore, process-kill-without-query)
8923 (text-clone-maintain):
8924 * terminal.el (te-get-char, te-tic-sentinel):
8925 * tool-bar.el (tool-bar-make-keymap):
8926 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8927 * type-break.el (type-break-mode, type-break-noninteractive-query):
8928 * view.el (View-back-to-mark):
8929 * wid-browse.el (widget-browse-action, widget-browse-widget)
8930 (widget-browse-widgets, widget-browse-sexp):
8931 * widget.el (define-widget-keywords):
8932 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8933 Mark unused parameters.
8934
8935 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8936 (align-areas): Remove unused variable `look'.
8937 (align-region): Remove unused variables `real-end' and `pos-list'.
8938
8939 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8940
8941 * bindings.el (mode-line-modified, mode-line-remote):
8942 Mark unused parameters.
8943 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8944
8945 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8946 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8947
8948 * comint.el (comint-history-isearch-pop-state)
8949 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8950 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8951 (comint-substitute-in-file-name): Doc fix.
8952
8953 * completion.el (cmpl-statistics-block): Mark unused parameter.
8954 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8955 (save-completions-to-file, load-completions-from-file):
8956 Remove unused local variable `e'.
8957
8958 * composite.el (compose-chars): Remove unused variable `len'.
8959 (lgstring-insert-glyph): Remove unused variable `g'.
8960 (compose-glyph-string): Remove unused variables `ascent',
8961 `descent', `lbearing' and `rbearing'.
8962 (compose-glyph-string-relative): Remove unused variables
8963 `lbearing', `rbearing' and `wadjust'.
8964 (compose-gstring-for-graphic): Remove unused variables `header',
8965 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8966 (compose-gstring-for-terminal): Remove unused variables `header'
8967 and `nchars'. Use `let', not `let*'.
8968
8969 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8970 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8971 (Custom-buffer-done, custom-buffer-create-internal)
8972 (custom-browse-visibility-action, custom-browse-group-tag-action)
8973 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8974 (widget-magic-mouse-down-action, custom-toggle-parent)
8975 (custom-add-parent-links, custom-toggle-hide-variable)
8976 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8977 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8978 (custom-face-menu-create, custom-variable-menu-create, get)
8979 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8980 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8981 (customize-apropos): Remove unused variable `tests'.
8982 (custom-group-value-create): Remove unused variable `hidden-p'.
8983 (sort-fold-case): Declare.
8984
8985 * cus-theme.el (custom-reset-standard-faces-list)
8986 (custom-reset-standard-variables-list): Declare.
8987 (customize-create-theme, custom-theme-revert, custom-theme-write)
8988 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8989 Mark unused parameters.
8990
8991 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8992
8993 * delim-col.el (delimit-columns-max): Move defvar before first use.
8994
8995 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8996 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8997
8998 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8999 (auto-insert): Declare.
9000 (desktop-restore-file-buffer): Rename desktop-* parameters;
9001 mark unused ones.
9002 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9003 (desktop-buffer): Rename desktop-* parameters.
9004
9005 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9006 (dframe-reposition-frame-xemacs, dframe-help-echo)
9007 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9008 Mark unused parameters.
9009
9010 * dired-aux.el (backup-extract-version-start, overwrite-query)
9011 (overwrite-backup-query, rename-regexp-query)
9012 (rename-non-directory-query): Declare.
9013 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9014 (dired-add-entry): Remove unused variable `orig-file-name'.
9015 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9016 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9017 `dired-copy-preserve-time' directly.
9018 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9019 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9020
9021 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9022 (dired-virtual-revert, dired-make-relative-symlink):
9023 Mark unused parameters.
9024 (manual-program): Declare.
9025 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9026 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9027 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9028
9029 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9030
9031 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9032
9033 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9034 Declare.
9035
9036 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9037
9038 * electric.el (Electric-command-loop): Rename parameter
9039 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9040
9041 * expand.el (expand-in-literal): Remove unused variable `here'.
9042
9043 * facemenu.el (facemenu-add-new-color):
9044 Remove unused variable `docstring'.
9045
9046 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9047 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9048 (face-attr-construct): Mark unused parameter. Doc fix.
9049 (read-color): Remove unused variable `hex-string'.
9050
9051 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9052 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9053 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9054 (display-buffer-other-frame): Remove unused variable `old-window'.
9055 (kill-buffer-hook): Declare.
9056 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9057 Mark unused parameters.
9058 (after-find-file): Pass 1 to `auto-save-mode', not t.
9059
9060 * files-x.el (auto-insert): Declare.
9061 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9062
9063 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 9064 variable `buf'. Mark unused parameter.
06b60517
JB
9065 (find-lisp-insert-directory): Mark unused parameter.
9066
9067 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9068 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9069 (format-common-tail): Remove, unused.
9070 (format-deannotate-region): Remove unused variable `loc'.
9071 (format-annotate-region): Remove unused variable `p'.
9072 (format-annotate-single-property-change): Remove unused variables
9073 `default' and `tail'.
9074
9075 * forms.el (read-file-filter): Declare.
9076 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9077
9078 * frame.el (frame-creation-function-alist): Mark unused parameter.
9079 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9080
9081 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9082 Remove unused parameters.
9083 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9084 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9085
9086 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9087 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9088 (hfy-prepare-tag-map): Mark unused parameters.
9089 (htmlfontify-buffer): Use `called-interactively-p'.
9090
9091 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9092 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9093 (ibuffer-do-occur): Mark unused parameters.
9094 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9095 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9096
9097 * ibuffer.el: Don't quote `lambda'.
9098 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9099 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9100 Mark unused parameters.
9101
9102 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9103 (ido-completing-read): Mark unused parameters.
9104 (ido-copy-current-word): Mark unused parameters;
9105 remove unused variable `name'.
9106 (ido-sort-merged-list): Remove unused parameter `dirs'.
9107
9108 * ielm.el (ielm-input-sender): Mark unused parameter.
9109 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9110 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9111 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9112 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9113 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9114
9115 * image-dired.el (image-dired-display-thumbs): Remove unused
9116 variables `curr-file' and `count'.
9117 (image-dired-remove-tag): Remove unused variable `start'.
9118 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9119 variable `curr-file'
9120 (image-dired-rotate-original): Remove unused variable `temp-file'.
9121 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9122 Remove unused variable `file'.
9123 (image-dired-gallery-generate): Remove unused variable `curr'.
9124 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9125
9126 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9127
9128 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9129
9130 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9131
9132 * isearch.el (minibuffer-history-symbol): Declare.
9133 (isearch-edit-string): Remove unused variable `err'.
9134 (isearch-message-prefix, isearch-message-suffix):
9135 Mark unused parameters.
9136
9137 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9138
9139 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9140
9141 * makesum.el (double-column): Remove unused variable `cnt'.
9142
9143 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9144 (ido-ignore-item-temp-list): Declare.
9145
9146 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9147 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9148 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9149 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9150 `mouse-col-delta'.
9151
9152 * mouse-sel.el (mouse-extend-internal):
9153 Remove unused variable `orig-window-frame'.
9154
9155 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9156 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9157 Move declarations before first use.
9158 (pcomplete-opt): Mark unused parameters; doc fix.
9159
9160 * proced.el (proced-revert): Mark unused parameter.
9161 (proced-send-signal): Remove unused variable `err'.
9162
9163 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9164 Rename parameter PREFIX-ARG to ARG.
9165 (ps-basic-plot-string, ps-basic-plot-whitespace):
9166 Mark unused parameters.
9167
9168 * replace.el (replace-count): Define.
9169 (occur-revert-function): Mark unused parameters.
9170 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9171 (isearch-case-fold-search, isearch-string): Declare.
9172 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9173 bind `case-fold-search'. Remove unused variables `beg' and `end',
9174 and simplify.
9175 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9176 COUNT and bind `replace-count'.
9177 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9178 to COUNT.
9179
9180 * savehist.el (print-readably, print-string-length): Declare.
9181
9182 * shadowfile.el (shadow-expand-cluster-in-file-name):
9183 Remove unused variable `cluster'.
9184 (shadow-copy-file): Remove unused variable `i'.
9185 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9186 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9187 (shadow-define-literal-group, shadow-define-regexp-group)
9188 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9189
9190 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9191 (shell): Use `called-interactively-p'.
9192 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9193
9194 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9195 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9196 (delete-backward-char): Remove unused variable `ocol'.
9197 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9198 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9199 (event-apply-hyper-modifier, event-apply-shift-modifier)
9200 (event-apply-control-modifier, event-apply-meta-modifier):
9201 Mark unused parameters.
9202 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9203 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9204
9205 * speedbar.el (speedbar-ignored-directory-expressions)
9206 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9207 (speedbar-find-file, speedbar-dir-follow)
9208 (speedbar-directory-buttons-follow, speedbar-tag-find)
9209 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9210 (speedbar-buffers-line-directory, speedbar-buffer-click):
9211 Mark unused parameters.
9212 (speedbar-tag-file): Remove unused variable `mode'.
9213 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9214
9215 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9216
9217 * talk.el (talk): Remove unused variable `display'.
9218
9219 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9220 (tar-write-region-annotate): Mark unused parameter.
9221
9222 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9223 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9224 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9225 warning by another.
9226
9227 * time-stamp.el (time-stamp-string-preprocess):
9228 Remove unused variable `require-padding'.
9229
9230 * tree-widget.el (widget-glyph-enable): Declare.
9231 (tree-widget-action): Mark unused parameter.
9232
9233 * w32-fns.el (x-get-selection): Mark unused parameter.
9234 (autoload-make-program, generated-autoload-file): Declare.
9235
9236 * wdired.el (wdired-revert): Mark unused parameters.
9237 (wdired-xcase-word): Remove unused variable `err'.
9238
9239 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9240 (whitespace-help-scroll): Remove unused variable `data-help'.
9241
9242 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9243 (widget-image-insert, widget-after-change, default)
9244 (widget-default-format-handler, widget-default-notify)
9245 (widget-default-prompt-value, widget-info-link-action)
9246 (widget-url-link-action, widget-function-link-action)
9247 (widget-variable-link-action, widget-file-link-action)
9248 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9249 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9250 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9251 (widget-insert-button-action, widget-delete-button-action, visibility)
9252 (widget-documentation-link-action, widget-documentation-string-action)
9253 (widget-const-prompt-value, widget-regexp-match, symbol)
9254 (widget-coding-system-prompt-value)
9255 (widget-key-sequence-value-to-external, sexp)
9256 (widget-sexp-value-to-internal, character, vector, cons)
9257 (widget-choice-prompt-value, widget-boolean-prompt-value)
9258 (widget-color--choose-action): Mark unused parameters.
9259 (widget-item-match-inline, widget-choice-match-inline)
9260 (widget-checklist-match, widget-checklist-match-inline)
9261 (widget-group-match): Rename parameter VALUES to VALS.
9262 (widget-field-value-set): Remove unused variable `size'.
9263 (widget-color-action): Remove unused variables `value' and `start'.
9264
9265 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9266 variable `dir'. Doc fix.
06b60517
JB
9267 (windmove-find-other-window): Don't pass it.
9268
9269 * window.el (count-windows): Mark unused parameter.
9270 (bw-adjust-window): Remove unused variable `err'.
9271
9272 * woman.el (woman-file-name): Remove unused variable `default'.
9273 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9274 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9275 (global-font-lock-mode): Declare.
9276 (woman-decode-region): Mark unused parameter.
9277 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9278
9279 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9280 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9281 (x-dnd-handle-moz-url): Remove unused variable `title'.
9282 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9283
9284 * xml.el (xml-parse-tag, xml-parse-attlist):
9285 Remove unused variable `pos'.
9286
bc4f7f3d
GM
92872011-04-19 Glenn Morris <rgm@gnu.org>
9288
9289 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9290 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9291 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9292 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9293 * calendar/cal-html.el (cal-html-insert-minical):
9294 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9295 (calendar-mark-date-pattern):
9296 Prefix "unused" locals.
9297
9298 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9299 optional argument `style'.
9300
9301 * calendar/appt.el (appt-make-list):
9302 * calendar/cal-china.el (calendar-chinese-date-string):
9303 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9304 (diary-hebrew-yahrzeit):
9305 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9306 * calendar/calendar.el (calendar-generate-window):
9307 * calendar/time-date.el (time-to-days):
9308 Remove unused local variables.
9309
16a43933
CY
93102011-04-18 Chong Yidong <cyd@stupidchicken.com>
9311
9312 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9313 glyphless-char-display table.
9314 (tabulated-list-glyphless-char-display): New var.
9315
7eed1860
SS
93162011-04-18 Sam Steingold <sds@gnu.org>
9317
9318 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9319 to acknowledgments.
9320
4d2d1ccd
GM
93212011-04-17 Glenn Morris <rgm@gnu.org>
9322
9323 * calendar/diary-lib.el (diary-sexp-entry):
9324 * calendar/holidays.el (holiday-sexp):
9325 Set debug-on-error rather than the removed stack-trace-on-error.
9326
239da61d
GM
93272011-04-16 Glenn Morris <rgm@gnu.org>
9328
9329 * progmodes/f90.el: Use lexical-binding.
9330 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9331
8b05752a
SM
93322011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9333
daca8ba5
SM
9334 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9335 (mail-mode): Setup mailalias completion here instead.
9336 * mail/mailalias.el: Use lexical-binding.
9337 (pattern, mailalias-done): Declare dynamic.
9338 (mail-completion-at-point-function): New function, from mail-complete.
9339 (mail-complete): Use it.
9340 (mail-completion-expand): New function.
9341 (mail-get-names): Use it.
9342 (mail-directory, mail-directory-process, mail-directory-stream):
9343 Don't use `pattern' for lexically bound arg.
9344
6f542485
SM
9345 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9346
037e7c3f
SM
9347 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9348 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9349 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9350
8b05752a
SM
9351 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9352 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9353 (byte-interactive-p): Define them again, for use when inlining
9354 old code.
9355
49093f60
JB
93562011-04-15 Juanma Barranquero <lekktu@gmail.com>
9357
9358 * loadup.el: Use `string-to-number', not `string-to-int'.
9359
b5b8e7de
SM
93602011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9363 gud-gdb-complete-command.
9364 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9365 (gud-gdb-completion-at-point): New function.
9366 (gud-gdb-completions): Remove.
9367
f42efeb5
MA
93682011-04-14 Michael Albinus <michael.albinus@gmx.de>
9369
49093f60
JB
9370 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9371 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9372 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9373 whether `executable-find' is bound.
f42efeb5
MA
9374
9375 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9376
e240cc21
SM
93772011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * minibuffer.el (completion-in-region-mode-predicate)
9380 (completion-in-region-mode--predicate): New vars.
9381 (completion-in-region, completion-in-region--postch)
9382 (completion-in-region-mode): Use them.
9383 (completion--capf-wrapper): Also return the hook function.
9384 (completion-at-point, completion-help-at-point):
9385 Adjust and provide a predicate.
c2bd2ab0
SM
9386
9387 Preserve arg names for advice of subr and lexical functions (bug#8457).
9388 * help-fns.el (help-function-arglist): Consolidate the subr and
9389 new-byte-code cases. Add argument `preserve-names' to extract names
9390 from the docstring when needed.
9391 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9392 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9393 (ad-arglist): Use help-function-arglist's new arg.
9394 (ad-definition-type): Use cond.
9395
c183f693
JB
93962011-04-13 Juanma Barranquero <lekktu@gmail.com>
9397
06641a47
JB
9398 * autorevert.el (auto-revert-handler):
9399 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9400 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9401 Don't quote lambda.
9402
c183f693
JB
9403 * image-mode.el (image-transform-set-scale):
9404 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9405
1e3b6001
G
94062011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9407
9408 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9409 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9410 Upgrades via gnutls-cli are too slow to be done opportunistically.
9411
2d6af8dd
JB
94122011-04-12 Juanma Barranquero <lekktu@gmail.com>
9413
9414 * dframe.el (dframe-current-frame): Remove spurious quote.
9415
c0749a51
GM
94162011-04-12 Glenn Morris <rgm@gnu.org>
9417
088d0d61
GM
9418 * calendar/cal-tex.el (cal-tex-end-document):
9419 Try to automatically use latin1 input if needed.
9420
c0749a51
GM
9421 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9422 Don't try to cons a mark onto an empty element.
9423
5c90fde0
LL
94242011-04-11 Leo Liu <sdl.web@gmail.com>
9425
9426 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9427 buffers.
9428 (ido-kill-buffer-at-head): Support killing virtual buffers.
9429
369e974d
CY
94302011-04-10 Chong Yidong <cyd@stupidchicken.com>
9431
9432 * minibuffer.el (completion-show-inline-help): New var.
9433 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9434 (minibuffer-force-complete, minibuffer-complete-word):
9435 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9436
9437 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9438 to avoid interference from inline help (Bug#5849).
9439
37f1c930
LL
94402011-04-10 Leo Liu <sdl.web@gmail.com>
9441
099c39a4
JB
9442 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9443 Fix typo.
37f1c930 9444
a32d4040
CY
94452011-04-09 Chong Yidong <cyd@stupidchicken.com>
9446
9447 * image-mode.el (image-toggle-display-image): Signal an error if
9448 not in Image mode.
9449 (image-transform-mode, image-transform-resize)
9450 (image-transform-set-rotation): Doc fix.
daca8ba5 9451 (image-transform-set-resize): Delete.
a32d4040
CY
9452 (image-transform-set-scale, image-transform-fit-to-height)
9453 (image-transform-fit-to-width): Handle image-toggle-display-image
9454 and image-transform-resize directly.
9455
099c39a4 94562011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9457
9458 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9459 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9460 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9461 (doc-view-mode-map): Add bindings for the new functions.
9462
099c39a4 94632011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9464
4d61f28d 9465 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9466 Fix typo in docstring.
9467
3726838a
EZ
94682011-04-08 Eli Zaretskii <eliz@gnu.org>
9469
04f33f1e
EZ
9470 * files.el (file-size-human-readable): Produce one digit after
9471 decimal, like "ls -lh" does.
9472
9473 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9474 the file size representation.
9475
3726838a
EZ
9476 * simple.el (list-processes): If async subprocesses are not
9477 available, error out with a clear error message.
9478
cbb59342
CY
94792011-04-08 Chong Yidong <cyd@stupidchicken.com>
9480
9481 * help.el (help-form-show): New function, to be called from C.
9482 Put help-form output in a buffer named differently than *Help*.
9483
e3971c44
EZ
94842011-04-08 Eli Zaretskii <eliz@gnu.org>
9485
9486 * files.el (file-size-human-readable): New function.
9487
9488 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9489 computing the representation inline. Don't require `cl'.
9490
12544bbe
GM
94912011-04-08 Glenn Morris <rgm@gnu.org>
9492
a1de6c6a
GM
9493 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9494
3c4671f4
GM
9495 * net/browse-url.el (browse-url-firefox):
9496 Test system-type, not system-configuration.
9497
b605679c
GM
9498 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9499 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9500 Use log-edit-empty-buffer-p. (Bug#7598)
9501
56442f0c
GM
9502 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9503 (rlogin-mode-map): Initialize in the defvar.
9504 (rlogin): Use ignore-errors.
9505
12544bbe
GM
9506 * replace.el (occur-mode-map): Some fixes for menu items.
9507
eb237b0f
AH
95082011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9509
9510 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9511
7d668f2c
CY
95122011-04-06 Chong Yidong <cyd@stupidchicken.com>
9513
e67a13ab
CY
9514 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9515 issuing unused warnings.
9516
9517 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9518 macro directly.
9519
7d668f2c
CY
9520 * simple.el: Lisp reimplement of list-processes. Based on an
9521 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9522 (process-menu-mode): New major mode.
9523 (list-processes--refresh, list-processes):
9524 (process-menu-visit-buffer): New functions.
9525
9526 * files.el (save-buffers-kill-emacs): Don't assume any return
9527 value of list-processes, which is undocumented anyway.
9528
a83ec3c9
CY
95292011-04-06 Chong Yidong <cyd@stupidchicken.com>
9530
9531 * emacs-lisp/tabulated-list.el: New file.
9532
e91a96fe
CY
9533 * emacs-lisp/package.el: Use Tabulated List mode.
9534 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9535 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9536 table format using Tabulated List mode variables.
9537 (package--push): New macro, replacing package-list-maybe-add.
9538 (package-menu--generate): Use package--push. Renamed from
9539 package--generate-package-list.
9540 (package-menu-refresh, list-packages): Use it.
daca8ba5 9541 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9542 Return insertion data instead of inserting it directly.
099c39a4
JB
9543 (package-menu-describe-package, package-menu-execute):
9544 Use tabulated-list-get-id.
e91a96fe
CY
9545 (package-menu-mark-delete, package-menu-mark-install)
9546 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9547 (package-menu-mark-obsolete-for-deletion):
9548 Use tabulated-list-put-tag.
e91a96fe
CY
9549 (package--list-packages, package-menu-revert)
9550 (package-menu-get-package, package-menu-get-version)
9551 (package-menu-sort-by-column): Functions deleted.
9552 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9553 (package-menu--status-predicate, package-menu--version-predicate)
9554 (package-menu--name-predicate)
9555 (package-menu--description-predicate): Handle arguments in the
9556 Tabulated List format.
9557 (package-list-packages-no-fetch): Call list-packages.
9558
3e214b50
JB
95592011-04-06 Juanma Barranquero <lekktu@gmail.com>
9560
9561 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9562 (after-find-file): Don't bind it.
3e214b50
JB
9563 (revert-buffer-in-progress-p): New variable.
9564 (revert-buffer): Bind it.
9565 Pass nil for `after-find-file-from-revert-buffer'.
9566
9567 * saveplace.el (save-place-find-file-hook): Use new variable
9568 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9569
3f0f1700
GM
95702011-04-06 Glenn Morris <rgm@gnu.org>
9571
c0274801
GM
9572 * Makefile.in (AUTOGEN_VCS): New variable.
9573 (autoloads): Use $AUTOGEN_VCS.
9574
3f0f1700
GM
9575 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9576 * calendar/calendar.el (calendar-mode-map):
9577 Check for toolkit scroll bars. (Bug#8305)
9578
41ea9e48
CY
95792011-04-05 Chong Yidong <cyd@stupidchicken.com>
9580
9581 * minibuffer.el (completion-in-region--postch)
9582 (completion-in-region-mode): Remove unnecessary messages.
9583
6194c800
JB
95842011-04-05 Juanma Barranquero <lekktu@gmail.com>
9585
33256f14
JB
9586 * font-lock.el (font-lock-refresh-defaults):
9587 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9588 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9589
6194c800
JB
9590 * info.el (Info-directory-list, Info-read-node-name-2)
9591 (Info-split-parameter-string): Doc fixes.
9592 (Info-virtual-nodes): Reflow docstring.
9593 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9594 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9595 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9596 Fix typos in docstrings.
9597 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9598 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9599 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9600 (Info-restore-desktop-buffer): Mark unused parameters.
9601 (Info-directory-find-file, Info-directory-find-node)
9602 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9603 (Info-virtual-index-find-node, Info-apropos-find-file)
9604 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9605 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9606 (Info-virtual-index): Remove unused local variable `nodename'.
9607
b87a8200 96082011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9609
b87a8200
DD
9610 * net/rcirc.el: Update my e-mail address.
9611 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9612
3b2ff876
CY
96132011-04-05 Chong Yidong <cyd@stupidchicken.com>
9614
9615 * startup.el (command-line): Save the cursor's theme-face
9616 directly, instead of using face-override-spec.
9617
9618 * custom.el (load-theme): Minor optimization in assigning faces.
9619
8d17e7ca
JB
96202011-04-04 Juanma Barranquero <lekktu@gmail.com>
9621
9622 * help-fns.el (describe-variable): Complete all variables having
9623 documentation, including keywords.
9624 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9625
2fbc1934
JB
96262011-04-04 Juanma Barranquero <lekktu@gmail.com>
9627
9628 Convert to lexical-binding.
9629
9630 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9631 (bs--get-marked-string, bs--get-modified-string)
9632 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9633 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9634 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9635
9636 * ehelp.el (electric-help-execute-extended)
9637 (electric-help-ctrl-x-prefix):
9638 * hexl.el (hexl-revert-buffer-function):
9639 * linum.el (linum-after-change, linum-after-scroll):
9640 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9641
9642 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9643
74f50695
DU
96442011-04-04 Daiki Ueno <ueno@unixuser.org>
9645
9646 * epa-dired.el:
9647 * epa-mail.el:
9648 * epa-hook.el:
9649 * epa-file.el:
9650 * epa.el:
9651 * epg.el: Use lexical binding.
9652
c11325f7
CY
96532011-04-03 Chong Yidong <cyd@stupidchicken.com>
9654
0d9e9a12
CY
9655 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9656
c11325f7 9657 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9658 dictionary case for flyspell-mark-duplications-exceptions.
9659 Use regexp matching for languages.
c11325f7
CY
9660 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9661 default dictionary (Bug#7926).
9662
da91b5f2
CY
96632011-04-02 Chong Yidong <cyd@stupidchicken.com>
9664
099c39a4
JB
9665 * emacs-lisp/package.el (package--with-work-buffer):
9666 Recognize https URLs.
da91b5f2 9667
099c39a4
JB
9668 * net/network-stream.el: Move from gnus/proto-stream.el.
9669 Change prefix to network-stream throughout.
da91b5f2
CY
9670 (open-protocol-stream): Merge into open-network-stream, leaving
9671 open-protocol-stream as an alias. Handle nil BUFFER args.
9672
9673 * subr.el (open-network-stream): Move to net/network-stream.el.
9674
afa8e9f6
GM
96752011-04-02 Glenn Morris <rgm@gnu.org>
9676
1d2e369d
GM
9677 * find-dired.el (find-exec-terminator): New option.
9678 (find-ls-option): Test for -ls support.
9679 (find-ls-subdir-switches): Test for -b in find-ls-option.
9680 (find-dired, find-grep-dired): Doc fixes.
9681 (find-dired): Use find-exec-terminator.
9682
8abb7da8 9683 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9684 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9685 (find-name-arg): Remove purecopy.
8abb7da8 9686
f3ca7378
GM
9687 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9688 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9689 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9690 accordingly. Don't add the null-device if not needed.
9691
afa8e9f6
GM
9692 * files.el (save-some-buffers): Doc fix.
9693
35eae264
EZ
96942011-04-02 Eli Zaretskii <eliz@gnu.org>
9695
9696 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9697
26b51db5
JB
96982011-04-01 Juanma Barranquero <lekktu@gmail.com>
9699
9700 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9701 Use `dolist' rather than `mapcar'.
9702
7200d79c
SM
97032011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9704
03408648 9705 Add lexical binding.
7200d79c 9706
03408648
SM
9707 * subr.el (apply-partially): Use new closures rather than CL.
9708 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9709 (dolist, dotimes): Use slightly different expansion for lexical code.
9710 (functionp): Move to C.
9711 (letrec): New macro.
9712 (with-wrapper-hook): Use it and apply-partially instead of CL.
9713 (eval-after-load): Preserve lexical-binding.
9714 (save-window-excursion, with-output-to-temp-buffer): Turn them
9715 into macros.
7200d79c 9716
03408648
SM
9717 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9718
9719 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9720 than the arglist.
9721 (help-add-fundoc-usage): Don't add `Not documented'.
9722 (help-function-arglist): Handle closures, subroutines, and new
9723 byte-code-functions.
9724 (help-make-usage): Remove leading underscores.
9725 (describe-function-1): Handle closures.
9726 (describe-variable): Use special-variable-p for completion.
9727
9728 * files.el (lexical-binding): Declare safe.
f488fb65 9729
03408648
SM
9730 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9731 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9732 (pcase): Add `let' pattern.
9733 Change memoization so it actually works.
9734 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9735 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9736 <let>: New case.
f488fb65 9737
03408648
SM
9738 * emacs-lisp/macroexp.el: Use lexical binding.
9739 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9740 Don't convert ' to #' without checking that it's indeed quoting
9741 a lambda.
9742
9743 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9744 Use eval-sexp-add-defvars.
03408648
SM
9745 (eval-sexp-add-defvars): New fun.
9746
9747 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9748
9749 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9750 Don't autoload.
9751 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9752 than the internal `byte-compile-lambda'.
9753 (defmethod): Don't hide code under quotes.
9754 (eieio-defmethod): New `code' argument.
9755
9756 * emacs-lisp/eieio-comp.el: Remove.
9757
9758 * emacs-lisp/edebug.el (edebug-eval-defun)
9759 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9760 (edebug-toggle): Avoid `eval'.
9761
9762 * emacs-lisp/disass.el (disassemble-internal): Handle new
9763 `closure' objects.
9764 (disassemble-1): Handle new byte codes.
9765
9766 * emacs-lisp/cl.el (pushnew): Silence warning.
9767
9768 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9769 (cl-byte-compile-throw): Remove.
9770 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9771
9772 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9773 closures.
9774
9775 * emacs-lisp/cconv.el: New file.
9776
9777 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9778 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9779 (byte-compile-initial-macro-environment):
9780 Handle declare-function here.
9781 (byte-compile--lexical-environment): New var.
9782 (byte-stack-ref, byte-stack-set, byte-discardN)
9783 (byte-discardN-preserve-tos): New lap codes.
9784 (byte-interactive-p): Don't use any more.
9785 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9786 New macros.
9787 (byte-compile-lapcode): Use them and handle new lap codes.
9788 (byte-compile-obsolete): Remove.
9789 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9790 (byte-compile-arglist-warn): Check late def of inlinable funs.
9791 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9792 since they should have been expanded by now.
9793 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9794 (byte-compile-from-buffer): Remove unused second arg.
9795 (byte-compile-preprocess): New function.
9796 (byte-compile-toplevel-file-form): New function to distinguish
9797 file-form calls from outside from file-form calls from hunk-handlers.
9798 (byte-compile-file-form): Simplify.
9799 (byte-compile-file-form-defsubst): Remove.
9800 (byte-compile-file-form-defmumble): Simplify now that
9801 byte-compile-lambda always returns a byte-code-function.
9802 (byte-compile): Preprocess.
9803 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9804 Remove, not used any more.
9805 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9806 (byte-compile-make-args-desc): New funs.
9807 (byte-compile-lambda): Handle lexical functions. Always return
9808 a byte-code-function.
9809 (byte-compile-reserved-constants): New var, to make up room for
9810 closed-over variables.
9811 (byte-compile-constants-vector): Obey it.
9812 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9813 (byte-compile-macroexpand-declare-function): New function.
9814 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9815 byte-code-functions.
9816 (byte-compile-form): Check obsolescence here.
9817 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9818 (byte-compile-variable-ref): Remove.
9819 (byte-compile-dynamic-variable-op): New fun.
9820 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9821 (byte-compile-variable-set): New funs.
9822 (byte-compile-discard): Add 2 args.
9823 (byte-compile-stack-ref, byte-compile-stack-set)
9824 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9825 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9826 macroexpand-all instead.
9827 (byte-compile-quote-form): Remove.
9828 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9829 (byte-compile-bind, byte-compile-unbind): New funs.
9830 (byte-compile-let): Handle let* and lexical binding.
9831 (byte-compile-let*): Remove.
9832 (byte-compile-catch, byte-compile-unwind-protect)
9833 (byte-compile-track-mouse, byte-compile-condition-case):
9834 Handle a new :fun-body form, used for lexical scoping.
9835 (byte-compile-save-window-excursion)
9836 (byte-compile-with-output-to-temp-buffer): Remove.
9837 (byte-compile-defun): Simplify.
9838 (byte-compile-stack-adjustment): New fun.
9839 (byte-compile-out): Use it.
9840 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9841
9842 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9843 handler any more.
9844
9845 * emacs-lisp/byte-opt.el: Use lexical binding.
9846 (byte-inline-lapcode): Remove (to bytecomp).
9847 (byte-compile-inline-expand): Pay attention to inlining to/from
9848 lexically bound code.
9849 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9850 any more.
9851 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9852 any more and don't call compiler-macros.
9853 (byte-compile-splice-in-already-compiled-code): Remove.
9854 (byte-code): Don't inline any more.
9855 (disassemble-offset): Receive `bytes' as argument rather than via
9856 dynamic scoping.
9857 (byte-compile-tag-number): Declare before first use.
9858 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9859 `return' even if make-spliceable.
9860 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9861 obsolete interactive-p.
9862 (byte-optimize-lapcode): Optimize new lap-codes.
9863 Don't trip up on new form of `byte-constant' lap code.
9864
9865 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9866
9867 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9868
9869 * custom.el (custom-initialize-default, custom-declare-variable):
9870 Use `defvar'.
9871
9872 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9873 New variables.
9874 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9875 (COMPILE_FIRST): Add macroexp and cconv.
9876 * makefile.w32-in: Mirror changes in Makefile.in.
9877
9878 * vc/cvs-status.el:
9879 * vc/diff-mode.el:
9880 * vc/log-edit.el:
9881 * vc/log-view.el:
9882 * vc/smerge-mode.el:
9883 * textmodes/bibtex-style.el:
9884 * textmodes/css.el:
9885 * startup.el:
9886 * uniquify.el:
da91b5f2
CY
9887 * minibuffer.el:
9888 * newcomment.el:
9889 * reveal.el:
9890 * server.el:
9891 * mpc.el:
9892 * emacs-lisp/smie.el:
9893 * doc-view.el:
9894 * dired.el:
03408648
SM
9895 * abbrev.el: Use lexical binding.
9896
0f0c1f27
EZ
98972011-04-01 Eli Zaretskii <eliz@gnu.org>
9898
9899 * info.el (info-display-manual): New function.
9900
c82b2579
SM
99012011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9904
221ddf68
TH
99052011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9906
9907 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9908 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9909
cba6e77e
GM
99102011-03-31 Glenn Morris <rgm@gnu.org>
9911
e040639f
GM
9912 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9913
cba6e77e
GM
9914 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9915
6d0f1c9e
CS
99162011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9917
9918 * progmodes/python.el (python-default-interpreter)
9919 (python-python-command-args, python-jython-command-args)
9920 (python-which-shell, python-which-args, python-which-bufname)
9921 (python-file-queue, python-comint-output-filter-function)
9922 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9923 variables and functions.
9924
3e2d70fd
SM
99252011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9928 (completion-in-region-mode): New minor mode.
9929 (completion-in-region): Use it.
9930 (completion-in-region--data, completion-in-region-mode-map): New vars.
9931 (completion-in-region--postch): New function.
9932 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9933 New vars.
9934 (completion--capf-wrapper): New function.
9935 (completion-at-point): Use it to track well-behavedness of
9936 hook functions.
9937 (completion-help-at-point): New command.
9938
f3e4086c
JM
99392011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9940
9941 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9942 syntax class to search for whitespace on a single line
9943 (Message-ID: <4D938140.4030905@redhat.com>).
9944
eb7ffc14
LL
99452011-03-30 Leo Liu <sdl.web@gmail.com>
9946
9947 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9948 New commands.
9949 (edit-abbrevs-map): Bind them here.
9950 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9951
d806ab68
KM
99522011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9953
9954 * allout.el (allout-hide-by-annotation, allout-flag-region):
9955 Reduce possibility of overlay leakage by making them volatile.
9956
9957 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9958 hash is not shared between buffers. Mode initialization is
9959 responsible for giving it a useful starting value.
9960 (allout-item-span): Reduce possibility of overlay leakage by
9961 making them volatile.
9962 (allout-widgets-count-buttons-in-region): Add diagnostic function
9963 for tracking down button overlay leaks.
9964
ea622834
LL
99652011-03-29 Leo Liu <sdl.web@gmail.com>
9966
9967 * ido.el (ido-read-internal): Use the default history var
9968 minibuffer-history if no HISTORY is specified.
9969
b62f8267
G
99702011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9971
03408648
SM
9972 * net/imap.el (imap-shell-open, imap-process-connection-type):
9973 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9974 Kerberos, SSL, other subprocesses.
9975
947b6566
LL
99762011-03-28 Leo Liu <sdl.web@gmail.com>
9977
9978 * abbrev.el (abbrev-table-empty-p): New function.
9979 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9980 nonempty ones. (Bug#5937)
9981
5ffb62aa
JD
99822011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9983
9984 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9985
7a097943
LL
99862011-03-27 Leo Liu <sdl.web@gmail.com>
9987
9988 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9989 for foreground and background colors.
9990 (ansi-color-make-color-map): Adapt.
9991
c5b40130
LL
99922011-03-25 Leo Liu <sdl.web@gmail.com>
9993
1f48f7d2
LL
9994 * midnight.el (midnight-time-float): Remove. Note it calculates
9995 the microsecond component incorrectly and seconds-to-time does the
9996 same job.
625897ec 9997 Remove redundant (require 'timer).
1f48f7d2 9998
c5b40130
LL
9999 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10000 (ido-completions): Remove unused arguments. (Bug#8329)
10001
d86d2721
SM
100022011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10003
10004 * minibuffer.el (completion--flush-all-sorted-completions):
10005 Remove itself from hook.
10006 (completion-at-point): Let the functions perform the completion
10007 immediately and return nil or t.
10008 * comint.el (comint-dynamic-complete-functions): Now identical to
10009 completion-at-point-functions.
10010 (comint-dynamic-list-input-ring): Remove unused var `index'.
10011 (comint--match-partial-filename, comint--unquote&expand-filename):
10012 New funs, split from comint-match-partial-filename.
10013 (comint-dynamic-complete): Use completion-at-point.
10014 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10015
e8974c48
DA
100162011-03-24 Drew Adams <drew.adams@oracle.com>
10017
10018 * thingatpt.el: Support `defun'.
10019
def71b5e
LL
100202011-03-23 Leo Liu <sdl.web@gmail.com>
10021
cb5af48e
LL
10022 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10023
def71b5e
LL
10024 * help-mode.el (help-mode-finish): Tweak regexp.
10025
927c53e7
GM
100262011-03-23 Glenn Morris <rgm@gnu.org>
10027
18d05bed
GM
10028 * eshell/esh-opt.el (eshell-eval-using-options):
10029 Do not bind unused local variable `eshell-option-stub'.
10030
927c53e7
GM
10031 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10032
9d0da923
JB
100332011-03-22 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10036 keymap variable in `with-no-warnings' to avoid a warning when the
10037 keymap has been already `defconst'ed.
10038
4b978a67
LL
100392011-03-22 Leo Liu <sdl.web@gmail.com>
10040
10041 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10042 encode all chars in abbrevs; otherwise use emacs-mule or
10043 utf-8-emacs. (Bug#8308)
10044
5fd62452
JB
100452011-03-22 Juanma Barranquero <lekktu@gmail.com>
10046
0b1596c6
JB
10047 * simple.el (backward-delete-char-untabify):
10048 Avoid warning about using `delete-backward-char'.
10049
5fd62452
JB
10050 * image.el (image-type-file-name-regexps): Make it variable.
10051 `imagemagick-register-types' modifies it, and the user may want
10052 to add new extensions for known image types.
10053 (imagemagick-register-types): Throw error if not using ImageMagick.
10054
0b4e93f1
LL
100552011-03-22 Leo Liu <sdl.web@gmail.com>
10056
10057 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10058 located before rcirc-prompt-end-marker.
10059 (rcirc-complete): Error if point is not after rcirc prompt.
10060 Handle the case when table is nil.
9882e214 10061 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 10062
fccee4ab
CY
100632011-03-22 Chong Yidong <cyd@stupidchicken.com>
10064
10065 * custom.el (custom--inhibit-theme-enable): Make it affect only
10066 custom-theme-set-variables and custom-theme-set-faces.
10067 (provide-theme): Ignore custom--inhibit-theme-enable.
10068 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10069 (custom-enabling-themes): Delete variable.
d86d2721
SM
10070 (enable-theme): Accept only loaded themes as arguments.
10071 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
10072 (custom-enabled-themes): Forbid themes from setting this.
10073 Eliminate use of custom-enabling-themes.
10074 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 10075
af896da6
LL
100762011-03-21 Leo Liu <sdl.web@gmail.com>
10077
10078 * ido.el (ido-read-internal): Add ido-selected to history instead
10079 of user input.
10080
78f64af0
SM
100812011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * subr.el (deferred-action-list, deferred-action-function):
10084 Mark obsolete.
10085
b16ac1ec
LL
100862011-03-21 Leo Liu <sdl.web@gmail.com>
10087
810f7698
LL
10088 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10089 change on 2011-02-13 (bug#8309).
10090
b16ac1ec
LL
10091 * minibuffer.el (read-file-name-function): Change default value.
10092 (read-file-name--defaults): Rename from read-file-name-defaults.
10093 (read-file-name-default): Rename from read-file-name.
10094 (read-file-name): Call read-file-name-function.
10095
4e05e67e
GM
100962011-03-21 Glenn Morris <rgm@gnu.org>
10097
10098 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10099 Doc fixes.
10100
4359915b
CY
101012011-03-21 Chong Yidong <cyd@stupidchicken.com>
10102
10103 * cus-theme.el: Add missing provide statement.
10104 (customize-create-theme): Extract theme value correctly.
10105 (custom-theme-visit-theme): Autoload.
10106 (customize-create-theme): Prompt before inserting default faces.
10107
1fe275ee
JB
101082011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10109
10110 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10111 units and musical notes.
10112
cd394be1 101132011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10114
10115 * ido.el (ido-read-internal): Use completing-read-default.
10116 (ido-completing-read): Fix compatibility with completing-read.
10117
7d476bde
CO
101182011-03-20 Christian Ohler <ohler@gnu.org>
10119
10120 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10121 (ert-delete-all-tests): Use `called-interactively-p' rather than
10122 `interactive-p'.
10123 (ert--make-xrefs-region): Respect END.
10124
fe0fb33e
CY
101252011-03-19 Chong Yidong <cyd@stupidchicken.com>
10126
ff854b0b
CY
10127 * dired-aux.el (dired-create-directory): Signal an error if the
10128 directory already exists (Bug#8246).
10129
fe0fb33e
CY
10130 * facemenu.el (list-colors-display): Call list-faces-display
10131 inside with-help-window.
10132 (list-colors-print): Use display property to align the final
10133 column, instead of checking window-width.
10134
576bce32
EZ
101352011-03-19 Eli Zaretskii <eliz@gnu.org>
10136
4d61f28d 10137 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10138 windows-nt systems.
10139 (emerge-protect-metachars): Quote correctly for ms-dos and
10140 windows-nt systems.
10141
89c41d68 101422011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10143
10144 * info.el (info-initialize): Replace all uses of `:' with
10145 path-separator for compatibility with non-Unix systems.
10146 Cache quoting of path-separator. (Bug#8258)
10147
b14e3e21 101482011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10149
10150 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10151 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10152 (mouse-avoidance-mode): Fix typos in docstrings.
10153
4525ce3e
CY
101542011-03-19 Chong Yidong <cyd@stupidchicken.com>
10155
10156 * startup.el (package-subdirectory-regexp): Move from package.el.
10157 Omit \\` and \\', and let callers add them.
10158
10159 * emacs-lisp/package.el (package-strip-version)
10160 (package-load-all-descriptors): Add \\` and \\' to
10161 package-subdirectory-regexp before using it.
10162 (package-untar-buffer): New arg DIR; ensure that file untars only
10163 into this expected directory. Remove superfluous delete-region.
10164 (package-unpack): Caller changed.
10165 (package-tar-file-info): Use package-subdirectory-regexp.
10166
a904a09a 101672011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10168
a904a09a
SM
10169 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10170 diff-mode-shared-map (bug#8284).
10171 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10172
101732011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10174
10175 * calendar/time-date.el (format-seconds): Use assoc instead of
10176 assoc-string, since assoc-string doesn't exist in XEmacs.
10177
171fc304
JB
101782011-03-17 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * custom.el (custom-known-themes): Reflow docstring.
10181 (custom-theme-load-path): Fix typo in docstring.
10182 (load-theme): Fix typo in error message.
10183 (custom-available-themes, custom-variable-theme-value):
10184 Use `let', not `let*'.
10185
d71990a1
JB
101862011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10187
10188 * calc/README: Mention inclusion of musical notes.
10189
10190 * calc/calc-units.el (calc-lu-quant): Rename from
10191 `calc-logunits-quantity'.
10192 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10193 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10194 (calc-db): Rename from `calc-dblevel'.
10195 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10196 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10197 (calc-np): Rename from `calc-nplevel'.
10198 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10199 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10200 (calc-lu-plus): Rename from `calc-logunits-add'.
10201 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10202 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10203 (calc-lu-minus): Rename from `calc-logunits-sub'.
10204 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10205 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10206 (calc-lu-times): Rename from `calc-logunits-mul'.
10207 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10208 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10209 (calc-lu-divide): Rename from `calc-logunits-div'.
10210 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10211 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10212
10213 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10214 functions being autoloaded.
10215
10216 * calc/calc.el (calc-lu-power-reference): Rename from
10217 `calc-logunits-power-reference'.
10218 (calc-lu-field-reference): Rename from
10219 `calc-logunits-field-reference'.
10220
10221 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10222
40c2934b
SM
102232011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10224
10225 * minibuffer.el (completion-all-sorted-completions):
10226 Use :completion-cycle-penalty text property if present.
10227
b0911414
KM
102282011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10229
10230 * allout.el (allout-yank-processing): Adjust for new rebulleting
10231 regime so bullet being yanked is used without prompting the user
10232 for a choice.
10233
8a05b668
JB
102342011-03-16 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * startup.el (command-line): Warn the user that _emacs is deprecated.
10237
5ba5fb81
JB
102382011-03-16 Juanma Barranquero <lekktu@gmail.com>
10239
10240 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10241 (delphi-verbose, delphi-comment-face, delphi-string-face)
10242 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10243 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10244 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10245 (delphi-new-comment-line, delphi-font-lock-defaults)
10246 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10247 Fix typos in docstrings.
10248
2dab465b
KM
102492011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10250
5ba5fb81 10251 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10252 Invert the roles of character and string values for INSTEAD, so a
10253 string is used for the more common case of a defaulting prompt.
10254
0adf5618
SM
102552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * progmodes/ruby-mode.el (ruby-backward-sexp):
10258 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10259 * play/gamegrid.el (gamegrid-make-face):
10260 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10261 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10262 * notifications.el (notifications-notify):
10263 * net/xesam.el (xesam-search-engines):
10264 * net/quickurl.el (quickurl-list-insert):
10265 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10266
d72700e5
CY
102672011-03-15 Chong Yidong <cyd@stupidchicken.com>
10268
10269 * startup.el (command-line): Update package subdirectory regexp.
10270
49c5410a
SM
102712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10272
c6eee9aa
SM
10273 * allout.el (allout-abbreviate-flattened-numbering)
10274 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10275
49c5410a
SM
10276 * subr.el (read-char-choice): Only show the cursor after the prompt,
10277 not after the answer.
10278
047b2bb9
KR
102792011-03-15 Kevin Ryde <user42@zip.com.au>
10280
10281 * help-fns.el (variable-at-point): Skip leading quotes, if any
10282 (bug#8253).
10283
0a57d256
SM
102842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10287 warning message.
10288
77c992bc
MA
102892011-03-14 Michael Albinus <michael.albinus@gmx.de>
10290
10291 * shell.el (shell): When called interactively, offer to change the
10292 shell file name on remote hosts.
10293
eebc475d
TZ
102942011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10295
10296 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10297 integration for LDAP parameters. The host, base, user or binddn,
10298 and secret tokens can be specified in a netrc file, for instance.
10299 This is optional because an `auth-source' parameter must be
10300 specified in the search attributes.
10301
9d05d1ba
JB
103022011-03-13 Juanma Barranquero <lekktu@gmail.com>
10303
10304 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10305
09d9db2c
GM
103062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10309 into declaration. Remove redundant and harmful binding.
10310
103112011-03-12 Eli Zaretskii <eliz@gnu.org>
10312
10313 * files.el (file-ownership-preserved-p): Pass `integer' as an
10314 explicit 2nd argument to `file-attributes'. If the file's owner
10315 is the Administrators group on Windows, and the current user is
10316 Administrator, consider that a match.
10317
10318 * server.el (server-ensure-safe-dir): Consider server directory
10319 safe on MS-Windows if its owner is the Administrators group while
10320 the current Emacs user is Administrator. Use `=' to compare
10321 numerical UIDs, since they could be integers or floats.
10322
219bd536
JB
103232011-03-12 Juanma Barranquero <lekktu@gmail.com>
10324
10325 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10326
f3afd36b
MA
103272011-03-12 Michael Albinus <michael.albinus@gmx.de>
10328
10329 Sync with Tramp 2.2.1.
10330
10331 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10332
10333 * net/trampver.el: Update release number.
10334
3aaaa6f1
SM
103352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10336
94642599
SM
10337 * progmodes/compile.el (compilation--previous-directory): Fix up
10338 various nil/dead-marker mismatches (bug#8014).
10339 (compilation-directory-properties, compilation-error-properties):
10340 Don't call it at a position past the one we're about to change.
10341
3aaaa6f1
SM
10342 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10343 Disable obsolescence warnings in the file that declares it.
10344
14239447
KM
103452011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10346
099c39a4
JB
10347 * allout-widgets.el (allout-widgets-tally):
10348 Initialize allout-widgets-tally as a hash table rather than nil to
10349 prevent mode-line redisplay warnings. Also, clarify the module
10350 description and fix a comment typo.
14239447 10351
135e287c
JB
103522011-03-11 Juanma Barranquero <lekktu@gmail.com>
10353
10354 * help-fns.el (describe-variable): Don't complete keywords.
10355 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10356
ffbf300e
CY
103572011-03-10 Chong Yidong <cyd@stupidchicken.com>
10358
ba08b241
CY
10359 * emacs-lisp/package.el (package-version-join): Impose a standard
10360 string representation for pre/alpha/beta version lists.
10361 (package-unpack-single): Standardize the directory name by passing
10362 it through package-version-join.
10363 (package-strip-rcs-id): Accept any version string that does not
10364 signal an error in version-to-list.
ffbf300e 10365
f346fd6b
MA
103662011-03-10 Michael Albinus <michael.albinus@gmx.de>
10367
10368 * simple.el (delete-trailing-whitespace): Return nil for the
10369 benefit of `write-file-functions'.
10370
ccb55d27
GM
103712011-03-10 Glenn Morris <rgm@gnu.org>
10372
5ceaac0c
GM
10373 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10374
02da65ff
GM
10375 * vc/vc-git.el (vc-git-program): New option.
10376 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10377 (vc-git--call): Use it.
10378
b2f603cc
GM
10379 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10380
5772caab
GM
10381 * cus-edit.el (Custom-newline): If no button at point, look
10382 for a subgroup button at start-of-line. (Bug#2298)
10383
ccb55d27
GM
10384 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10385
ec6ecaed
JD
103862011-03-10 Julien Danjou <julien@danjou.info>
10387
10388 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10389 `cursor-type' is nil.
10390
9d5aa01d
JB
103912011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10392
10393 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10394
b6a5875b
KM
103952011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10396
10397 * allout.el Summary: Change so yank of distinctive-bullet items
10398 preserves the existing header prefix, rebulleting it if necessary,
10399 rather than replacing it. This is necessary for proper operation
10400 of cooperative addons like allout-widgets.
1154d12e
JB
10401 (allout-make-topic-prefix, allout-rebullet-heading):
10402 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10403 value as alternate bullet to be used, instead of prompting the user
10404 for a bullet character.
b6a5875b 10405
ee545c35
MA
104062011-03-09 Michael Albinus <michael.albinus@gmx.de>
10407
d86d2721
SM
10408 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10409 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10410 `tramp-default-port'.
10411
c47971d7
DD
104122011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10413
10414 * net/rcirc.el (rcirc-handler-001): Remove useless
10415 with-rcirc-process-buffer.
10416 (rcirc-check-auth-status): Swap arguments to string-match.
10417
13522cb4
GM
104182011-03-09 Glenn Morris <rgm@gnu.org>
10419
0be6f4f1
GM
10420 * shell.el (shell-mode):
10421 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10422
13522cb4
GM
10423 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10424 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10425
515de2e3
CY
104262011-03-08 Chong Yidong <cyd@stupidchicken.com>
10427
10428 * emacs-lisp/package.el (package-refresh-contents)
10429 (package-menu-execute): Use condition-case-no-debug.
10430
b511b994
MA
104312011-03-08 Michael Albinus <michael.albinus@gmx.de>
10432
10433 * simple.el (shell-command-to-string): Use `process-file'.
10434
10435 * emacs-lisp/package.el (package-tar-file-info): Handle also
10436 remote files.
10437
d86d2721
SM
10438 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10439 Use `equal' for upload base check.
b511b994 10440
25bbfb31
AM
104412011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10442
10443 * textmodes/texinfo.el (texinfo-environments):
10444 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10445
be996521
GM
104462011-03-08 Glenn Morris <rgm@gnu.org>
10447
e9c8529f
GM
10448 * cus-start.el (cursor-in-non-selected-windows):
10449 Fix :set quoting oddness. (Bug#8192)
10450
be996521
GM
10451 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10452 in some setf expressions. (Bug#2159)
10453
2bb5649e
CY
104542011-03-08 Chong Yidong <cyd@stupidchicken.com>
10455
10456 * custom.el (custom-available-themes): Return themes in
10457 alphabetical order.
10458
33383987 10459See ChangeLog.15 for earlier changes.
e3d51b27
MR
10460
10461;; Local Variables:
10462;; coding: utf-8
e3d51b27
MR
10463;; End:
10464
acaf905b 10465 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10466
10467 This file is part of GNU Emacs.
10468
10469 GNU Emacs is free software: you can redistribute it and/or modify
10470 it under the terms of the GNU General Public License as published by
10471 the Free Software Foundation, either version 3 of the License, or
10472 (at your option) any later version.
10473
10474 GNU Emacs is distributed in the hope that it will be useful,
10475 but WITHOUT ANY WARRANTY; without even the implied warranty of
10476 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10477 GNU General Public License for more details.
10478
10479 You should have received a copy of the GNU General Public License
10480 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.