Port to older Solaris 10 versions (Bug#10677).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
781acb9f
GM
12012-02-01 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/easy-mmode.el (define-minor-mode):
4 Relax :variable's test for a named function.
5
abbceb00
AM
62012-01-31 Alan Mackenzie <acm@muc.de>
7
8 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9 off by one error.
10
fce3fdeb
CY
112012-01-31 Chong Yidong <cyd@gnu.org>
12
13 * frame.el (set-frame-font): New arg ALL-FRAMES.
14
15 * menu-bar.el (menu-set-font): Use set-frame-font.
16
17 * faces.el (face-spec-reset-face): Don't apply unspecified
18 attribute values to the default face.
19
47893581
JB
202012-01-31 Juanma Barranquero <lekktu@gmail.com>
21
22 * progmodes/cwarn.el (cwarn): Remove dead link.
23 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
24 Remove * from defcustom docstrings.
25 (turn-on-cwarn-mode): Make obsolete.
26 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
27 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
28
e58e988a
GM
292012-01-31 Glenn Morris <rgm@gnu.org>
30
60dc2671 31 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 32 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 33 Allow named functions to be used as the cdr of :variable.
e58e988a 34
7a3f511d
GM
352012-01-30 Glenn Morris <rgm@gnu.org>
36
37 * emacs-lisp/authors.el (authors-fixed-entries):
38 Remove reference to deleted file rnewspost.el.
39
cb882333
JB
402012-01-29 Juanma Barranquero <lekktu@gmail.com>
41
42 * window.el (window-with-parameter): Remove unused variable `windows'.
43 (window--side-check): Remove unused variable `code'.
44 (window--resize-siblings): Remove unused variable `first'.
45 (adjust-window-trailing-edge): Remove unused variable `failed'.
46 (window-deletable-p, window--delete): Remove unused variable `buffer'.
47 Use `let', not `let*'.
48 (balance-windows-2): Remove unused variable `found'.
49 (window--state-put-2): Remove unused variable `splits'.
50 (window-state-put): Remove unused variable `selected'.
51 (same-window-p): Use `string-match-p'.
52 (display-buffer-assq-regexp): Remove unused variable `value'.
53 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
54 Mark argument ALIST as ignored.
55 (pop-to-buffer): Remove unused variable `old-window'.
56
907201af
EZ
572012-01-29 Eli Zaretskii <eliz@gnu.org>
58
59 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
60 and .lzma compressed files.
61
ea162670
CY
622012-01-29 Chong Yidong <cyd@gnu.org>
63
5b95ee8a
CY
64 * frame.el (window-system-default-frame-alist): Doc fix.
65
ea162670
CY
66 * dynamic-setting.el (font-setting-change-default-font): Don't
67 change the default face if SET-FONT argument is non-nil (Bug#9982).
68
d6e6f4b1
SB
692012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
70
71 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
72
0f29fa41 732012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
74
75 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
76 breakpoints in files outside current directory (Bug#6098).
77
db174434
CY
782012-01-29 Chong Yidong <cyd@gnu.org>
79
6b25e4e2
SE
80 * progmodes/python.el: Require ansi-color at top-level.
81
6df6ae42
JB
82 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
83 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
84 (lisp-mode-abbrev-table): Add doc.
85 (lisp-mode-variables): Don't set local-abbrev-table.
86 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
87
e70ee681
RW
882012-01-28 Roland Winkler <winkler@gnu.org>
89
90 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
91
ace88aa2
RW
922012-01-28 Roland Winkler <winkler@gnu.org>
93
94 * textmodes/bibtex.el (bibtex-entry-alist): New function.
95 (bibtex-set-dialect): Use it. Either set global values of
96 dialect-dependent variables or bind these variables buffer-locally
97 (Bug#10254).
98 (bibtex-mode): Call bibtex-set-dialect via
99 hack-local-variables-hook.
100 (bibtex-dialect): Update docstring. Add
101 safe-local-variable predicate.
102 (bibtex-entry-alist, bibtex-field-alist): Initialize via
103 bibtex-set-dialect.
104 (bibtex-mode-map): Define menu for each dialect.
105 (bibtex-entry): Fix docstring.
106
93376c5b
CY
1072012-01-28 Chong Yidong <cyd@gnu.org>
108
109 * eshell/esh-arg.el (eshell-quote-argument): New function.
110
111 * eshell/esh-ext.el (eshell-invoke-batch-file):
112 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
113 first arg to eshell-parse-command (Bug#10523).
114
4372494f
DA
1152012-01-28 Drew Adams <drew.adams@oracle.com>
116
117 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
118 `default-directory' is non-nil.
119
4d4ec1f8
EZ
1202012-01-28 Eli Zaretskii <eliz@gnu.org>
121
122 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
123 line that displays system-configuration-options. (Bug#9924)
124
7c188927
DA
1252012-01-28 Drew Adams <drew.adams@oracle.com>
126
127 * descr-text.el (describe-char): Show information about POS, in
128 addition to information about the character at POS. Improve and
129 update the doc string. Change "code point" to "code point in
130 charset", to avoid confusion with the character's Unicode code
131 point shown above that. (Bug#10129)
132
e0da685a
EZ
1332012-01-28 Eli Zaretskii <eliz@gnu.org>
134
135 * descr-text.el (describe-char): Show the raw character, not only
136 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
137 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
138 for the reasons.
139
70550acf
PH
1402012-01-28 Phil Hagelberg <phil@hagelb.org>
141
142 * emacs-lisp/package.el (package-install): Run
80ed5304 143 package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 144
0ce8e868
CY
1452012-01-28 Chong Yidong <cyd@gnu.org>
146
cb882333
JB
147 * emacs-lisp/package.el (package-maybe-load-descriptor):
148 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
149 (package-maybe-load-descriptor): Use it.
150 (package-download-transaction): Fully load required packages
151 inside the loop, so that `require' calls work (Bug#10593).
152 (package-install): No need to call package-initialize now.
153
2e7f3bea
CY
1542012-01-28 Chong Yidong <cyd@gnu.org>
155
6e9bad14
CY
156 * simple.el (deactivate-mark): Doc fix (Bug#8614).
157
f823b8ca
CY
158 * tooltip.el (tooltip-mode): Doc fix.
159 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
160
2680c309
CY
161 * frame.el (set-cursor-color): Doc fix (Bug#352).
162
d7a9e63b
CY
163 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
164 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
165
2e7f3bea
CY
166 * cus-edit.el (custom-buffer-create-internal): Fix search button
167 action (Bug#10542).
2ae01800 168 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 169
fc4f7a23
EW
1702012-01-27 Eduard Wiebe <usenet@pusto.de>
171
172 * dired.el (dired-mark-files-regexp):
173 Include any subdirectory components. (Bug#10445)
174
7dd37071
ML
1752012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
176
177 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
178 Handle [host]:port syntax. (Bug#10533)
179
a268160b
AH
1802012-01-27 Alex Harsanyi <harsanyi@mac.com>
181
182 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
183
e43273ef
GM
1842012-01-26 Glenn Morris <rgm@gnu.org>
185
186 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
187 * term.el (term-raw-escape-map): Use Control-X-prefix.
188 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
189
1edf595d
MR
1902012-01-25 Martin Rudalics <rudalics@gmx.at>
191
192 * window.el (window-state-get, window--state-get-1): Don't deal
193 with fixed-sizeness of windows. Simplify code.
194
fa8eafef
JC
1952012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
196
6df6ae42
JB
197 * window.el (window--state-get-1, window--state-put-2):
198 Don't save and restore the mark.
fa8eafef 199
0b21c100
CY
2002012-01-25 Chong Yidong <cyd@gnu.org>
201
202 * custom.el (custom-variable-p): Doc fix.
203
5ae1a6c8
GM
2042012-01-25 Glenn Morris <rgm@gnu.org>
205
40047858
GM
206 * dired.el (dired-goto-file): Handle some of the more common
207 characters that `ls -b' escapes. (Bug#10596)
208
5ddce96c
GM
209 * progmodes/compile.el (compilation-next-error-function):
210 Respect compilation-first-column in the "*compilation*" buffer.
211 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
212
5ae1a6c8
GM
213 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
214
b559f1a9
GM
2152012-01-24 Glenn Morris <rgm@gnu.org>
216
217 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
218
6725d21a
JD
2192012-01-24 Julien Danjou <julien@danjou.info>
220
221 * color.el (color-rgb-to-hsl): Fix value computing.
222 (color-hue-to-rgb): New function.
223 (color-hsl-to-rgb): New function.
224 (color-clamp, color-saturate-hsl, color-saturate-name)
225 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
226 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
227
70df4bbe
GM
2282012-01-24 Glenn Morris <rgm@gnu.org>
229
230 * vc/vc-rcs.el (vc-rcs-create-tag):
231 * vc/vc-sccs.el (vc-sccs-create-tag):
232 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
233
802a2ae2
ML
2342012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
235
236 * eshell/esh-util.el (eshell-read-hosts-file):
237 Skip comment lines. (Bug#10549)
238
d7128bb1
ML
239 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
240
d1a5c3b4
JB
2412012-01-23 Juanma Barranquero <lekktu@gmail.com>
242
2724d9c7
JB
243 * subr.el (display-delayed-warnings): Doc fix.
244 (collapse-delayed-warnings): New function to collapse identical
245 adjacent warnings.
246 (delayed-warnings-hook): Add it.
d1a5c3b4 247
a5509865
MA
2482012-01-22 Michael Albinus <michael.albinus@gmx.de>
249
250 * net/tramp.el (tramp-action-login): Set connection property "login-as".
251
252 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
253 properties, when "login-as" is set.
254
255 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
256 (tramp-default-user-alist): Don't add "pscp".
257 (tramp-do-copy-or-rename-file-out-of-band): Use connection
258 property "login-as", if set. (Bug#10530)
259
cc6d5805
MA
2602012-01-21 Michael Albinus <michael.albinus@gmx.de>
261
262 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
263 "plink1" and "psftp". (Bug#10530)
264
2652012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
266
267 * international/mule-cmds.el (prefer-coding-system): Show a
268 warning message if the default value of file-name-coding-system
269 was not changed.
270
f0960428
JC
2712012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
272
cb882333
JB
273 * windmove.el (windmove-reference-loc):
274 Fix windmove-reference-loc miscalculation.
f0960428 275
dd6f2a63
JB
2762012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
277
278 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
279 default unit.
280
7b447e9b
GM
2812012-01-21 Glenn Morris <rgm@gnu.org>
282
117a9ea1
GM
283 * international/mule.el (auto-coding-alist): Add .tbz.
284
7b447e9b
GM
285 * files.el (local-enable-local-variables): Doc fix.
286 (inhibit-local-variables-regexps): Rename from
287 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
288 Doc fix. Add some extensions from auto-coding-alist.
289 (inhibit-local-variables-suffixes):
290 Rename from inhibit-first-line-modes-suffixes. Doc fix.
291 (inhibit-local-variables-p):
292 New function, extracted from set-auto-mode-1.
293 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
294 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
295 (hack-local-variables): Doc fix. Make the mode-only case
296 respect enable-local-variables and friends.
297 Respect inhibit-local-variables-regexps for file-locals, but
298 not for directory-locals.
299 (set-visited-file-name):
300 Take account of inhibit-local-variables-regexps.
301 Whether it applies may change as the file name is changed.
302 * jka-cmpr-hook.el (jka-compr-install):
303 * jka-compr.el (jka-compr-uninstall):
304 Update for inhibit-first-line-modes-suffixes name change.
305
dd6e3cdd
MR
3062012-01-20 Martin Rudalics <rudalics@gmx.at>
307
308 * help-macro.el (make-help-screen): Temporarily restore original
309 binding for minor-mode-map-alist (Bug#10454).
310
0d0deb38
JD
3112012-01-19 Julien Danjou <julien@danjou.info>
312
313 * color.el (color-name-to-rgb): Use the white color to find the max
314 color component value and return correctly computed values.
315 (color-name-to-rgb): Add missing float conversion for max value.
316
34a02f46
MR
3172012-01-19 Martin Rudalics <rudalics@gmx.at>
318
319 * window.el (window--state-get-1, window-state-get): Do not use
320 special state value for window-persistent-parameters. Rename
321 argument IGNORE to WRITABLE. Rewrite doc-string.
322 (window--state-put-2): Reset all window parameters to nil before
323 assigning values of persistent parameters.
324
606c44c4
AM
3252012-01-18 Alan Mackenzie <acm@muc.de>
326
327 Eliminate sluggishness and hangs in fontification of "semicolon
328 deserts".
329
cb882333
JB
330 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
331 Change value 10000 -> 3000.
606c44c4
AM
332 (c-state-safe-place): Reformulate so it doesn't stack up an
333 infinite number of wrong entries in c-state-nonlit-pos-cache.
334 (c-determine-limit-get-base, c-determine-limit): New functions to
335 determine backward search limits disregarding literals.
336 (c-find-decl-spots): Amend commenting.
337 (c-cheap-inside-bracelist-p): New function which detects "={".
338
339 * progmodes/cc-fonts.el
340 (c-make-font-lock-BO-decl-search-function): Give a limit to a
341 backward search.
342 (c-font-lock-declarations): Fix an occurrence of point being
343 undefined. Check additionally for point being in a bracelist or
344 near a macro invocation without a semicolon so as to avoid a
345 fruitless time consuming search for a declarator. Give a more
346 precise search limit for declarators using the new
347 c-determine-limit.
348
f3860cea
GM
3492012-01-18 Glenn Morris <rgm@gnu.org>
350
351 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
352 (set-auto-mode): Doc fixes.
353
1db03b16
GM
3542012-01-17 Glenn Morris <rgm@gnu.org>
355
0e6038be
GM
356 * isearch.el (search-nonincremental-instead): Fix doc typo.
357
1db03b16
GM
358 * dired.el (dired-insert-directory): Handle newlines in directory name.
359 (dired-build-subdir-alist): Unescape newlines in directory name.
360
4cb0aa75
MA
3612012-01-17 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp.el (tramp-local-end-of-line): New defcustom.
364 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
365 (tramp-action-terminal): Use it. (Bug#10530)
366
1d00653d
SM
3672012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * minibuffer.el (completion--replace): Strip properties (bug#10062).
370
6a6ee00d
MR
3712012-01-16 Martin Rudalics <rudalics@gmx.at>
372
373 * window.el (window-state-ignored-parameters): Remove variable.
374 (window--state-get-1): Rename argument MARKERS to IGNORE.
375 Handle persistent window parameters. Make copy of clone-of
376 parameter only if requested. (Bug#10348)
377 (window--state-put-2): Install a window parameter only if it has
378 a non-nil value or an existing parameter shall be overwritten.
379
97912def
MA
3802012-01-15 Michael Albinus <michael.albinus@gmx.de>
381
382 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
383
688070a5
EZ
3842012-01-14 Eli Zaretskii <eliz@gnu.org>
385
386 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
387 don't pass the (nil) value of `upnode' to string-match.
388
301afadc
CY
3892012-01-14 Chong Yidong <cyd@gnu.org>
390
391 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 392 Fix values recognized by the cursorBlink resource.
301afadc 393
9e5788aa
PE
3942012-01-14 Paul Eggert <eggert@cs.ucla.edu>
395
396 * epg.el (epg--make-temp-file): Avoid permission race condition
397 when running on old Emacs versions (bug#10403).
398
3cdb7f5a
GM
3992012-01-14 Glenn Morris <rgm@gnu.org>
400
401 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
402
8c82b1b4
AM
4032012-01-13 Alan Mackenzie <acm@muc.de>
404
405 Fix filling for when filladapt mode is enabled.
406
407 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
408 c-mask-paragraph, pass in `fill-paragraph' rather than
409 `fill-region-as-paragraph'. (This is a reversion of a previous
410 change.)
411 * progmodes/cc-mode.el (c-basic-common-init): Make
412 fill-paragraph-handle-comment buffer local and set it to nil.
413
e517eda4
GM
4142012-01-13 Glenn Morris <rgm@gnu.org>
415
1498536e
GM
416 * dired.el (dired-switches-escape-p): New function.
417 (dired-insert-directory): Use dired-switches-escape-p.
418 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
419
e517eda4
GM
420 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
421
328f984d
GM
4222012-01-12 Glenn Morris <rgm@gnu.org>
423
424 * mail/sendmail.el (mail-mode): Update paragraph-separate for
425 changes in adaptive-fill-regexp. (Bug#10276)
426
2cc769a8
AM
4272012-01-11 Alan Mackenzie <acm@muc.de>
428
429 Fix Emacs bug #10463 - put `widen's around the critical spots.
430
1d00653d 431 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
432 widen around each invocation of c-state-pp-to-literal. Remove an
433 unused let variable.
434
e52c37fa
GM
4352012-01-11 Glenn Morris <rgm@gnu.org>
436
437 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 438 Doc fix.
e52c37fa 439
96f8741e
CY
4402012-01-10 Chong Yidong <cyd@gnu.org>
441
1d00653d
SM
442 * net/network-stream.el (network-stream-open-starttls):
443 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
444 response to the capability command.
445
b09a806e
GM
4462012-01-10 Glenn Morris <rgm@gnu.org>
447
448 * mail/unrmail.el (unrmail): Tweak previous change.
449
7655cb66
CY
4502012-01-09 Chong Yidong <cyd@gnu.org>
451
452 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
453
9d5a8f0b
AM
4542012-01-08 Alan Mackenzie <acm@muc.de>
455
456 Optimise font locking in long enum definitions.
457
458 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
459 arm to a cond form to handle enums.
460 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
461 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
462
9a0115ab 4632012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
464
465 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 466 (Bug#10401)
6bb72cbd 467
f186bb95
LMI
4682012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
469
29232a68
LMI
470 * faces.el (set-face-attribute): Clarify the meaning of the nil
471 frame (bug#10294).
472
4e5d086d
LMI
473 * subr.el (with-selected-frame): Mention that the selected frame
474 is restored (bug#9980).
475
8e66aebe
LMI
476 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
477 (bug#9759).
478
cd394be1 479 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
480 (password-read): Don't autoload unused function.
481
adf4e762
JB
4822012-01-07 Juanma Barranquero <lekktu@gmail.com>
483
484 * progmodes/which-func.el (which-func-mode): Turn into a
485 non-interactive function and mark as obsolete (bug#10428).
486
89bd9ccd
CY
4872012-01-06 Chong Yidong <cyd@gnu.org>
488
489 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
490 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
491 functions, along with 1 and -1.
492
4afee9d5
EZ
4932012-01-06 Eli Zaretskii <eliz@gnu.org>
494
495 * time.el (display-time-load-average)
496 (display-time-default-load-average): Doc fixes. See the thread
497 starting at
498 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
499 for the details.
500
536aea70
GM
5012012-01-06 Glenn Morris <rgm@gnu.org>
502
665ae865
GM
503 * mail/unrmail.el (unrmail): Give an explicit error if the input file
504 has no messages. (Bug#10377)
505
c869783d
GM
506 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
507 than Info-edit. (Bug#10385)
508
2bb4227e
GM
509 * time.el (display-time-load-average, display-time-next-load-average):
510 Doc fixes.
511
7d5944b9
GM
512 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
513 local setting of buffer-read-only to the input buffer. (Bug#10419)
514
536aea70
GM
515 * calendar/calendar.el (calendar-mode):
516 Locally set scroll-margin to 0. (Bug#10379)
517
7dccca16
UM
5182012-01-06 Ulrich Mueller <ulm@gentoo.org>
519
520 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
521
afbb7930
GM
5222012-01-05 Glenn Morris <rgm@gnu.org>
523
524 * eshell/em-unix.el (diff-no-select): Autoload it.
525 (eshell/diff): Use diff-no-select. (Bug#10420)
526
04482335
CY
5272012-01-05 Chong Yidong <cyd@gnu.org>
528
7baca3bc
CY
529 * shell.el (shell-dynamic-complete-functions): Revert last change.
530 (shell-command-completion-function): New function.
531 (shell-completion-vars): Use it to implement
532 shell-completion-execonly (Bug#10417).
533
04482335
CY
534 * custom.el (enable-theme): Don't set custom-safe-themes.
535
1d00653d
SM
536 * cus-theme.el (custom-theme-merge-theme):
537 Ignore custom-enabled-themes and custom-safe-themes.
04482335 538
bb5aa5d6
MM
5392012-01-05 Michael R. Mauger <mmaug@yahoo.com>
540
541 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
542 first prompt in `sql-interacive-mode'.
543 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 544 keywords.
6df6ae42 545 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
546 (sql-product-interactive): Bug fix: Set `sql-buffer' in
547 context of original buffer. Invoke `sql-login-hook'.
548
a7183d7c
EZ
5492012-01-04 Eli Zaretskii <eliz@gnu.org>
550
551 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
552 letters in cite-prefix.
553
a1eacd1e
LMI
5542012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
555
556 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
557
787cdb34
CY
5582012-01-03 Chong Yidong <cyd@gnu.org>
559
1d00653d
SM
560 * shell.el (shell-dynamic-complete-functions):
561 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
562 comint-filename-completion first (Bug#10417).
563
30710442
RS
5642012-01-02 Richard Stallman <rms@gnu.org>
565
566 * battery.el (battery-status-function):
567 Detect when to use battery-yeeloong-sysfs.
568 (battery-echo-area-format): Add string for Yeeloong.
569 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
570 (battery-yeeloong-sysfs): New function.
571
f75bfc33
CY
5722012-01-02 Chong Yidong <cyd@gnu.org>
573
574 * dirtrack.el (dirtrack-list): Eliminate unused third element.
575 (dirtrack): Merge code for handling relative filenames in prompt
576 from shell-dir-cookie-watcher.
577 (dirtrack-debug-message): New arg to avoid excess format calls.
578
579 * shell.el (shell-dir-cookie-re): Variable deleted.
580 (shell-dir-cookie-watcher): Function deleted.
581 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
582 with dirtrack-mode.
583
651e947e
EZ
5842012-01-01 Eli Zaretskii <eliz@gnu.org>
585
1d00653d
SM
586 * term/w32-win.el (dynamic-library-alist) <gnutls>:
587 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
588 libgnutls-26.dll.
589
94d4c7dc
AS
5902011-12-31 Andreas Schwab <schwab@linux-m68k.org>
591
592 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
593
8d43f3cd
EZ
5942011-12-31 Eli Zaretskii <eliz@gnu.org>
595
596 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
597 headers of non-MIME messages, when rmail-enable-mime is non-nil.
598
98c8795a
MA
5992011-12-29 Michael Albinus <michael.albinus@gmx.de>
600
601 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
602 also for alternative shells.
603 (tramp-open-connection-setup-interactive-shell): Check, whether
604 the shell is a busybox.
605 (tramp-send-command): Don't suppress multiple prompts for
606 busyboxes, it hurts.
607
51281b32
CY
6082011-12-28 Chong Yidong <cyd@gnu.org>
609
610 * progmodes/gdb-mi.el (gdb-get-source-file-list)
611 (gdb-get-source-file): Move mode line update to
612 gdb-get-source-file (Bug#10087).
613
2170cb53
CY
6142011-12-25 Chong Yidong <cyd@gnu.org>
615
616 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
617 gud-gdb-marker-filter without taking it as an argument.
618 (gud-gdb-run-command-fetch-lines): Caller changed.
619 (gud-gdb-completion-function): New variable.
620 (gud-gdb-completion-at-point): Use it.
621 (gud-gdb-completions-1): Split from gud-gdb-completions.
622
623 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
624 function as separate arguments.
625 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
626 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
627 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
628 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
629 (gdb-stopped, def-gdb-auto-update-trigger)
630 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
631 (gdb-get-changed-registers, gdb-get-main-selected-frame):
632 Callers changed.
2170cb53
CY
633 (gud-gdbmi-completions): New function.
634 (gdb): Use it for generating the completion table.
635
be8b11bb
AM
6362011-12-24 Alan Mackenzie <acm@muc.de>
637
638 Introduce a mechanism to widen the region used in context font
1d00653d 639 locking. Use this to protect declarations from losing their contexts.
be8b11bb 640
1d00653d
SM
641 * progmodes/cc-langs.el (c-before-font-lock-functions):
642 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 643 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
644 functions to be run just before context (etc.) font locking.
645
646 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 647 New, functionality extracted from
be8b11bb 648 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 649 (c-in-after-change-fontification): New variable.
be8b11bb
AM
650 (c-after-change): Set c-in-after-change-fontification.
651 (c-set-fl-decl-start): Rejig its interface, so it can be called
652 from both after-change and context fontifying.
b81d40f0
JB
653 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
654 New functions.
655 (c-standard-font-lock-fontify-region-function): New variable.
656 (c-font-lock-fontify-region): New function.
be8b11bb 657
341cf6ac
JL
6582011-12-24 Juri Linkov <juri@jurta.org>
659
660 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
661 (Bug#10348)
662
bffcee0a
MA
6632011-12-23 Michael Albinus <michael.albinus@gmx.de>
664
665 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
666 existence of source file. (Bug#10325)
667
cb5e207c
AM
6682011-12-23 Alan Mackenzie <acm@muc.de>
669
670 Fix unstable fontification inside templates.
671
b81d40f0
JB
672 * progmodes/cc-langs.el (c-before-font-lock-functions):
673 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
674 additionally has c-set-fl-decl-start. The other languages (apart
675 from AWK) have that as a single entry.
676
b81d40f0
JB
677 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
678 The functionality for "local" declarations has been extracted to
cb5e207c
AM
679 c-set-fl-decl-start.
680
b81d40f0
JB
681 * progmodes/cc-mode.el (c-common-init, c-after-change):
682 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
683 (c-set-fl-decl-start): New function, extracted from
684 c-font-lock-enclosing-decls and enhanced.
685
60ff536c
JB
6862011-12-23 Juanma Barranquero <lekktu@gmail.com>
687
688 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
689
1c4757d6
JL
6902011-12-22 Juri Linkov <juri@jurta.org>
691
692 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
693
d031f2c7
CY
6942011-12-22 Chong Yidong <cyd@gnu.org>
695
696 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
697
bace743a
DA
6982011-12-21 Drew Adams <drew.adams@oracle.com>
699
700 * files.el (file-remote-p): Fix docstring. (Bug#10319)
701
728a1f2b
JC
7022011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
703
704 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
705
0d373f73
TZ
7062011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
707
fec0aaa4
TZ
708 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
709 highlighting and support. Fix up comments for capitalization.
710 (cfengine-mode-debug): New var.
711 (cfengine3-mode): Change the modeline indicator to "CFE3".
712 (cfengine3-font-lock-keywords): Improve defun highlighting.
713 (cfengine2-actions): Rename from `cfengine-actions'.
714 (cfengine2-font-lock-keywords): Rename from
715 `cfengine-font-lock-keywords'.
716 (cfengine2-imenu-expression): Rename from
717 `cfengine-imenu-expression'.
718 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
719 (cfengine2-beginning-of-defun): Rename from
720 `cfengine-beginning-of-defun'.
721 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
722 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
723 (cfengine2-mode): Rename from `cfengine-mode'. Change the
724 modeline indicator to "CFE2".
725 (cfengine-mode): Defalias to `cfengine-auto-mode'.
726 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 727
bc86f573
CY
7282011-12-21 Chong Yidong <cyd@gnu.org>
729
730 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
731 filename argument.
732
d45ba96b
MR
7332011-12-20 Martin Rudalics <rudalics@gmx.at>
734
735 * window.el (window-normalize-buffer-to-display): Remove.
736 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
737
a6198c90
CY
7382011-12-19 Chong Yidong <cyd@gnu.org>
739
740 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
741 Don't signal an error in a predicate function; return non-nil.
742 (vc-dir-mark-file): Move the error here.
743 (vc-dir-mark-unmark): If acting on the region, keep going if one
744 of the entries cannot be marked/unmarked.
745 (vc-dir-mark-all-files): If current entry is a directory, mark
746 only child files, as documented.
747
34c5fb55
VB
7482011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
749
750 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
751 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
752 addition.
753
c803b2b7
JD
7542011-12-18 Jan Djärv <jan.h.d@swipnet.se>
755
756 * term/ns-win.el (ns-get-selection-internal)
757 (ns-store-selection-internal): Declare.
1154d12e
JB
758 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
759 Declare as obsolete.
760 (ns-get-pasteboard, ns-paste-secondary):
761 Use ns-get-selection-internal.
762 (ns-set-pasteboard, ns-copy-including-secondary):
763 Use ns-store-selection-internal.
c803b2b7 764
9cff91f8 7652011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
766
767 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 768 (vc-deduce-fileset): Doc fix.
99a289d9 769
f16c898a
AS
7702011-12-16 Andreas Schwab <schwab@linux-m68k.org>
771
772 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
773
763237c4
SS
7742011-12-13 Sam Steingold <sds@gnu.org>
775
776 * man.el (Man-getpage-in-background): When running under a
777 window-system, ignore $MANWIDTH and $COLUMNS.
778
5fc1c122
KH
7792011-12-15 Kenichi Handa <handa@m17n.org>
780
781 * language/ethio-util.el: Change coding tag to utf-8-emacs.
782 (setup-ethiopic-environment-internal): Comment out key-binding for
783 ethio-toggle-punctuation.
784
13d49cbb
AM
7852011-12-13 Alan Mackenzie <acm@muc.de>
786
898169a2
AM
787 Add the switch statement to AWK Mode.
788
789 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
790 "default" to the keywords regexp.
791
792 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
793 expression as the rest.
1d00653d
SM
794 (c-nonlabel-token-key): Allow string literals for AWK.
795 Refactor for the other modes.
898169a2 796
13d49cbb 797 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 798 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
799 routines. Limit backward searching in c-font-lock-enclosing.decl.
800
801 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
802 pp-state and literal type in addition to the limits.
1d00653d 803 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 804 (c-state-literal-at): Use the above new defun.
1d00653d
SM
805 (c-slow-in-literal, c-fast-in-literal): Remove.
806 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
807
808 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
809 being in a literal. Add a limit for backward searching.
810
811 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
812 c-slow-in-literal.
813
15e0efc7
SM
8142011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
817
454592a6
MR
8182011-12-13 Martin Rudalics <rudalics@gmx.at>
819
820 * window.el (delete-other-windows): Use correct frame in call to
821 window-with-parameter.
822
87393f26
DP
8232011-12-12 Daniel Pfeiffer <occitan@t-online.de>
824
825 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
826 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
827 (makefile-gmake-statements, makefile-makepp-statements):
828 Use it and add new makepp keywords.
829 (makefile-makepp-font-lock-keywords): Add new patterns.
830 (makefile-match-function-end): Match new [...] and [[...]].
831
11636b22
JB
8322011-12-11 Juanma Barranquero <lekktu@gmail.com>
833
834 * ses.el (ses-call-printer-return, ses-cell-property-get)
835 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
836 (ses-create-cell-variable, ses-reset-header-string)
837 (ses-cell-set-formula, ses-repair-cell-reference-all)
838 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
839 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
840 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
841 (ses-aset-with-undo, ses-load, ses-truncate-cell)
842 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
843 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
844 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
845 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
846 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
847 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
848 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
849 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
850
cf018193
VB
8512011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
852
853 * ses.el: The overall change is to add cell renaming, that is
854 setting fancy names for cell symbols other than name matching
855 "\\`[A-Z]+[0-9]+\\'" regexp .
856 (ses-create-cell-variable): New defun.
857 (ses-relocate-formula): Relocate formulas only for cells the
858 symbols of which are not renamed, i.e. symbols whose names do not
859 match regexp "\\`[A-Z]+[0-9]+\\'".
860 (ses-relocate-all): Relocate values only for cells the symbols of
861 which are not renamed.
862 (ses-load): Create cells variables as the (ses-cell ...) are read,
863 in order to check row col consistency with cell symbol name only
864 for cells that are not renamed.
865 (ses-replace-name-in-formula): New defun.
866 (ses-rename-cell): New defun.
867
ee957461
CY
8682011-12-11 Chong Yidong <cyd@gnu.org>
869
870 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
871 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
872
9a9e9ef0
MR
8732011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
874
875 * window.el (other-window): Fix docstring.
876
92a8eba5
EZ
8772011-12-10 Eli Zaretskii <eliz@gnu.org>
878
879 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
880 `from' or `to' address before taking its substring.
881 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
882 encoded name is chopped in the middle of the encoded string, and
883 thus displayed encoded.
884
e152e577
JB
8852011-12-10 Juanma Barranquero <lekktu@gmail.com>
886
887 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
888
e5d84bfe
EZ
8892011-12-10 Eli Zaretskii <eliz@gnu.org>
890
891 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
892 to use texinfo-update-node and commands that call it if the
893 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 894 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
895 (texinfo-all-menus-update, texinfo-master-menu)
896 (texinfo-update-node, texinfo-every-node-update)
897 (texinfo-multiple-files-update): Doc fix. Warn against updating
898 all the @node lines.
899 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
900 argument is numeric. Explain better in the doc string what the
901 function really does.
902 (texinfo-insert-master-menu-list): Improve the error message
903 displayed if there's no menu in the Top node.
904 (Bug#2975) See also this thread:
e5d84bfe
EZ
905 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
906
1d84e9bb
MG
9072011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
908
909 * speedbar.el (speedbar-supported-extension-expressions):
910 Add .adb and .ads, commonly used for Ada source code (bug#10256).
911
382c953b
JB
9122011-12-09 Juanma Barranquero <lekktu@gmail.com>
913
914 * printing.el (pr-mode-alist):
915 * simple.el (filter-buffer-substring-functions)
916 (completion-list-insert-choice-function):
917 * window.el (window-with-parameter, window-atom-root)
918 (window-sides-slots, window-size-fixed, window-min-delta)
919 (window-max-delta, window--resize-mini-window)
920 (window--resize-child-windows-normal, window-tree)
921 (delete-other-windows, quit-window, split-window)
922 (display-buffer-record-window, special-display-buffer-names)
923 (special-display-regexps, special-display-popup-frame)
924 (same-window-p, split-window-sensibly)
925 (display-buffer-overriding-action, display-buffer-alist)
926 (display-buffer-base-action, display-buffer, switch-to-buffer)
927 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
928 (fit-window-to-buffer, recenter-positions)
929 (mouse-autoselect-window-state, mouse-autoselect-window-select):
930 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
931 and remove unneeded backslashes in docstrings.
932
39c9faef
SM
9332011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
934
98449af8
SM
935 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
936
39c9faef
SM
937 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
938 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
939 end in ".mk".
940 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
941 when reading the makefile (bug#10116).
942
86ed9fdc
SM
9432011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
946 (bug#10116).
947
5580f89d
GM
9482011-12-06 Glenn Morris <rgm@gnu.org>
949
950 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
951
28d3917c
CY
9522011-12-06 Chong Yidong <cyd@gnu.org>
953
954 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
955
a98edce9
JB
9562011-12-06 Juanma Barranquero <lekktu@gmail.com>
957
958 * textmodes/table.el (table-shorten-cell): Fix typo.
959
e65adfac
CG
9602011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
961
962 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
963
71cc0b74
EZ
9642011-12-05 Eli Zaretskii <eliz@gnu.org>
965
966 * descr-text.el (describe-char): Fix display of strong
967 right-to-left characters and directional embeddings and overrides.
968
969 * simple.el (what-cursor-position): Fix display of codepoints of
970 strong right-to-left characters.
971
315bc30d
CY
9722011-12-05 Chong Yidong <cyd@gnu.org>
973
974 * faces.el (read-color): Doc fix.
975
58a70b94
GM
9762011-12-05 Glenn Morris <rgm@gnu.org>
977
978 * align.el (align--set-marker): Add doc-string.
979 Don't try to move something that is not a marker. (Bug#10216)
980
5158face
GM
9812011-12-04 Glenn Morris <rgm@gnu.org>
982
983 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
984 overly zealous deletion of trailing whitespace.
985
520fca41
JB
9862011-12-04 Juanma Barranquero <lekktu@gmail.com>
987
988 * server.el (server-delete-client): On Windows, do not try to delete
989 the only terminal.
990 (server-process-filter): On Windows, treat requests for a tty frame as
991 if they were for a GUI frame if the running server is in GUI mode.
992
5e605a2e
GM
9932011-12-03 Glenn Morris <rgm@gnu.org>
994
995 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
996
5c3fe83f
SM
9972011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
998
6f5e57e7
SM
999 * electric.el: Streamline electric-indent's hook.
1000 (electric-indent-chars): Revert to simple list.
1001 (electric-indent-functions): New var.
1002 (electric-indent-post-self-insert-function): Use it.
1003
5c3fe83f
SM
1004 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1005 there's no inferior buffer (bug#10196).
1006 (prolog-consult-compile): Don't use toggle-read-only.
1007
6bdac736
MA
10082011-12-02 Michael Albinus <michael.albinus@gmx.de>
1009
1010 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1011 interrupt. (Bug#10187)
1012
6131ba7f
SM
10132011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1014
99c79fee
SM
1015 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1016 (bug#9160).
1017
6131ba7f
SM
1018 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1019 (bug#10191).
1020
cb0a02ea
JL
10212011-12-02 Juri Linkov <juri@jurta.org>
1022
1023 * info.el (Info-search): Display "end of manual" when Isearch
1024 reaches the end of single-file Info manual. (Bug#9918)
1025
66e0570c
EZ
10262011-12-02 Eli Zaretskii <eliz@gnu.org>
1027
1028 * isearch.el (isearch-message-prefix): Run the input method part
1029 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1030
02b16839
JL
10312011-12-02 Juri Linkov <juri@jurta.org>
1032
1033 * isearch.el (isearch-occur): Use `word-search-regexp' for
1034 `isearch-word'.
1035 (isearch-search-and-update): Add condition for `isearch-word' and
1036 call `word-search-regexp'. (Bug#10145)
1037
0b950688
GM
10382011-12-01 Glenn Morris <rgm@gnu.org>
1039
1040 * eshell/em-hist.el (eshell-hist-initialize):
1041 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1042 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1043
9505c3c7
SM
10442011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1047
1bbe96b2 10482011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1049
a1beca85
SM
1050 * progmodes/verilog-mode.el (verilog-pretty-expr):
1051 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1052 verilog, such as += *= and the like.
1053 (verilog-assignment-operator-re): Regular expression to find the
1054 assigment operator in a verilog assignment.
1055 (verilog-assignment-operation-re): Regular expression to find an
1056 assignment statement for pretty-expr.
1057 (verilog-in-attribute-p): Query returns true if point is in an
1058 attribute context; used to skip these for expression line up from
1059 pretty-expr.
1060 (verilog-in-parameter-p): Query returns true if point is in an
1061 parameter definition context; used to skip these for expression
1062 line up from pretty-expr.
1063 (verilog-in-parenthesis-p): Query returns true if point is in a
1064 parenthetical expression, specifically ( ) but not [ ] or { };
1065 used by pretty-expr.
1066 (verilog-just-one-space): If there is no space, don't add one.
1067 (verilog-get-lineup-indent-2): Specifically skip just attribute
1068 contexts for expression lineup, rather than skipping all
1069 parenthetical expressions.
1070 (verilog-calculate-indent): Fix comment, and fix indent.
1071 (verilog-do-indent): Indent declarations in lists (suggested by
1072 Joachim Lechner).
1073 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1074 skeleton items.
1075 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1076 by Alain Mellan).
1077
1bbe96b2 10782011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1079
1080 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1081 parameters with embedded comments. Reported by Ray Stevens.
1082 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1083 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1084 Reported by Tim Holt.
1085 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1086 instantiated by upper module causing wrong expansion until AUTOed a
1087 second time. Reported by K C Buckenmaier.
1088 (verilog-diff-auto): Fix showing .* as a difference when
1089 `verilog-auto-star-save' off. Reported by Dan Dever.
1090 (verilog-auto-reset, verilog-read-always-signals)
1091 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1092 temporary signals in reset list if
1093 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1094 style to each signal's assignment type, bug381.
1095 Reported by Thomas Esposito.
6288f0ca
WS
1096 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1097 (verilog-uvm-statement-re): Support UVM indentation and
1098 highlighting, with old OVM keywords only.
a1beca85 1099 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1100 Support AUTOTIEOFF creating non-wire data types.
1101 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1102 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1103 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1104 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1105 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1106 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1107 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1108 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1109 non-numeric vector width. Reported by Alex Reed.
1110 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1111 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1112 (verilog-auto-delete-trailing-whitespace):
1113 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1114 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1115 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1116 Fix verilog-scan-cache corruption when running user AUTO expansion
1117 hooks that call indentation routines.
1118 (verilog-simplify-range-expression): Fix typo ignoring lower case
1119 identifiers.
1120 (verilog-delete-auto): Fix delete-autos to also remove user created
1121 automatics, as long as they start with AUTO.
1122 (verilog-batch-diff-auto, verilog-diff-auto)
1123 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1124 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1125 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1126 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1127 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1128 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1129 is disabled and its cache will get corrupt, causing AUTOS not to
1130 expand. Instead use only -quick functions.
1131 (verilog-scan-region): Fix scanning over escaped quotes.
1132 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1133 (verilog-re-search-backward-quick)
1134 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1135 related functions now ignore strings, to fix misparsing of strings
1136 with magic comments embedded in them.
a1beca85
SM
1137 (verilog-read-auto-template):
1138 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1139 Reported by Brad Dobbie.
1140 (verilog-read-auto-template):
1141 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1142 Reported by Brad Dobbie.
6288f0ca
WS
1143 (verilog-auto-inst, verilog-auto-inst-param)
1144 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1145 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1146 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1147 debugging templates without merge conflicts, bug357.
1148 Reported by Brad Dobbie.
1149 (verilog-read-auto-template):
1150 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1151 Reported by Brad Dobbie.
1152 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1153 abbrevs so user won't be asked to save.
1154 (verilog-read-auto-lisp-present): Fix to start at beginning of
1155 buffer in case called outside of verilog-auto.
1156 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1157 to "X-2". Reported by Matthew Myers.
1158 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1159 all inputs from module templates. Reported by Leith Johnson.
1160 (verilog-module-inside-filename-p): Fix locating programs as with
1161 modules.
1162 (verilog-auto-inst-port): Fix vl-width expressions when using
1163 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1164 (verilog-decls-get-regs, verilog-decls-get-signals,
1165 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1166 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1167 verilog-read-decls): Combine reg and wire structures into one var
1168 structure to represent SystemVerilog concepts.
1169 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1170 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1171 (verilog-auto-wire-type, verilog-insert-definition):
1172 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1173 SystemVerilog "logic" keyword instead of "wire"/"reg".
1174 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1175 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1176 ifdef or generate if so there's not a driver conflict).
1177 Reported by Matthew Myers.
1178 (verilog-auto-declare-nettype, verilog-insert-definition):
1179 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1180 `default_nettype none. Reported by Julian Gorfajn.
1181 (verilog-read-always-signals-recurse, verilog-read-decls)
1182 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1183 malformed end statement, bug325. Reported by Joshua Wise and
1184 Andrew Drake.
1185 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1186 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1187 when expanding .* in interfaces, bug320.
1188 Reported by Pierre-David Pfister.
6288f0ca 1189 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1190 name and open parenthesis, bug317.
1191 Reported by Pierre-David Pfister.
6288f0ca
WS
1192 (verilog-simplify-range-expression): Fix simplification of
1193 multiplications inside AUTOWIRE connections, bug303.
1194 (verilog-auto-inst-port): Support parameter expansion in
1195 multidimensional arrays.
1196 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1197 after "assert property". Reported by Julian Gorfajn.
1198 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1199 with multiplication, bug303.
1200 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1201 Reported by Jan Frode Lonnum.
1202
1bbe96b2
GM
12032011-11-30 Juanma Barranquero <lekktu@gmail.com>
1204
1205 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1206 (hfy-shell-file-name, hfy-shell):
1207 * international/fontset.el (x-decompose-font-name): Fix typos.
1208
12092011-11-29 Ken Brown <kbrown@cornell.edu>
1210
1211 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1212 (gdb-version): Remove defvar.
1213 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1214 (gdb-gud-context-command, gdb-non-stop-handler)
1215 (gdb-current-context-command, gdb-stopped): Use it.
1216 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1217 (gdb-non-stop-handler): Don't enable pretty-printing here.
1218 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1219 non-stop mode. Use the following.
1220 (gdb-check-target-async): New defun.
1221 (gud-watch, gdb-stopped): Fix whitespace.
1222 (gdb-get-source-file): Don't try to display the source file if
1223 `gdb-main-file' is nil.
1224
12252011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * align.el: Try to generate fewer markers (bug#10047).
1228 (align--set-marker): New macro.
1229 (align-region): Use it.
1230
c935221f
SM
12312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1234
e70b5064
CY
12352011-11-29 Chong Yidong <cyd@gnu.org>
1236
1237 * indent.el (indent-for-tab-command, indent-according-to-mode):
1238 Doc fix.
1239 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1240
f3af92b7
MA
12412011-11-29 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1244 aware of remote file names. (Bug#10124)
1245
ed472be9
CY
12462011-11-29 Chong Yidong <cyd@gnu.org>
1247
1248 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1249
24510c22
SM
12502011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * files.el (find-file): Don't use force-same-window (bug#10144).
1253 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1254 use pop-to-buffer if the selected window can't be used.
1255 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1256
c60c3703
EZ
12572011-11-28 Eli Zaretskii <eliz@gnu.org>
1258
1259 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1260 special-mode-map.
1261
e95def75
CY
12622011-11-28 Chong Yidong <cyd@gnu.org>
1263
1264 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1265
c3f1c606
NR
12662011-11-27 Nick Roberts <nickrob@snap.net.nz>
1267
1268 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1269 gdb-get-source-file-list on gdb-create-source-file-list.
1270
00db469c
EZ
12712011-11-26 Eli Zaretskii <eliz@gnu.org>
1272
1273 * whitespace.el (whitespace-newline): Use a different foreground
1274 color for 16-color light-background displays.
1275
4ad3bc2a
CY
12762011-11-24 Chong Yidong <cyd@gnu.org>
1277
1278 * window.el (display-buffer--special-action): Doc fix.
1279
e9fce1ac
JB
12802011-11-25 Juanma Barranquero <lekktu@gmail.com>
1281
1282 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1283 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1284 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1285 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1286 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1287 (avl-tree-stack-first):
1288 * emacs-lisp/cconv.el (cconv--analyse-use):
1289 * net/gnutls.el (gnutls-negotiate): Fix typos.
1290
cb825e5d
GM
12912011-11-24 Glenn Morris <rgm@gnu.org>
1292
3adbe224
GM
1293 * lpr.el (lpr-windows-system, lpr-lp-system):
1294 * mail/binhex.el (binhex-begin-line):
1295 * progmodes/grep.el (grep-history, grep-find-history):
1296 * textmodes/flyspell.el:
1297 * vc/pcvs-defs.el (cvs-global-menu):
1298 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1299 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1300 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1301
321decc8
GM
1302 * net/tls.el: Fix case of "GnuTLS".
1303
420b63ad
GM
1304 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1305
cb825e5d
GM
1306 * version.el (emacs-build-system): Give it a doc-string.
1307
a0649f08
JL
13082011-11-24 Juri Linkov <juri@jurta.org>
1309
1310 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1311
c0bc0fd4
GM
13122011-11-24 Glenn Morris <rgm@gnu.org>
1313
1314 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1315 if called on a non-mime message just toggle the headers. (Bug#8006)
1316
20db1522
JB
13172011-11-24 Juanma Barranquero <lekktu@gmail.com>
1318
1319 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1320 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1321 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1322 (allout-rebullet-heading, allout-open-sibtopic)
1323 (allout-toggle-current-subtree-encryption)
1324 (allout-toggle-subtree-encryption, allout-encrypt-string)
1325 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1326 (allout-distinctive-bullets-string, allout-auto-activation):
1327 * window.el (window-normalize-buffer-to-display):
1328 * progmodes/verilog-mode.el (verilog-batch-indent):
1329 * textmodes/bibtex.el (bibtex-field-braces-opt)
1330 (bibtex-field-strings-opt):
1331 * vc/cvs-status.el (cvs-tree-merge):
1332 Fix typos.
1333
7262a87c
MA
13342011-11-23 Michael Albinus <michael.albinus@gmx.de>
1335
1336 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1337 `non-essential' to t, in order to avoid remote connections.
1338
283430a1
EZ
13392011-11-23 Eli Zaretskii <eliz@gnu.org>
1340
a1beca85
SM
1341 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1342 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1343 case-insensitively.
1344
d2992a38
ML
13452011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1346
1347 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1348
50419064
GM
13492011-11-23 Glenn Morris <rgm@gnu.org>
1350
da94eca1
GM
1351 * paths.el (rmail-file-name): Reformat the doc-string so that it
1352 is picked up.
1353
9aac4de2
GM
1354 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1355 (rmail-auto-file): Ignore case in the "special" field names,
1356 as mail-fetch-field does for all others.
1357
8038d2d2
GM
1358 * mail/rmail.el (rmail-forward):
1359 * mail/rmailkwd.el (rmail-set-label):
1360 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1361 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1362
f3fe222a
GM
1363 * mail/rmail.el (rmail-current-message): Doc fix.
1364
50419064
GM
1365 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1366
28109f49
SM
13672011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1370
394c65f1
GM
13712011-11-22 Glenn Morris <rgm@gnu.org>
1372
1373 * mail/rmailmm.el (test-rmail-mime-handler)
1374 (test-rmail-mime-bulk-handler)
1375 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1376
f2a0aa3a
JL
13772011-11-21 Juri Linkov <juri@jurta.org>
1378
1154d12e
JB
1379 * calc/calc.el (calc-read-key-sequence):
1380 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1381
9c34a344
LMI
13822011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1383
1384 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1385 Tell the caller that the next line needs recomputation, even
1386 though it doesn't start a sexp (bug#10094).
1387
f04a3be9
SM
13882011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1391
7978747f
SM
13922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1393
f04a3be9
SM
1394 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1395 Use force-same-window.
7978747f 1396
fe7a3057
JB
13972011-11-20 Juanma Barranquero <lekktu@gmail.com>
1398
1399 * descr-text.el (describe-char-unicode-data):
1400 * json.el (json-string-escape):
1401 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1402 (Footnote-unicode, Footnote-style-p):
1403 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1404
24901d61
CY
14052011-11-20 Chong Yidong <cyd@gnu.org>
1406
1407 * window.el (replace-buffer-in-windows): Restore interactive spec.
1408
bac7ff22
SM
14092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1410
24f3d7b9
SM
1411 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1412
bac7ff22
SM
1413 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1414 (byte-compile-global-not-obsolete-vars): New var.
1415 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1416 Use it.
1417 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1418
cd1181db
JB
14192011-11-20 Juanma Barranquero <lekktu@gmail.com>
1420
1421 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1422 * progmodes/pascal.el (electric-pascal-equal):
1423 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1424 * xml.el (xml-substitute-special): Fix typos.
1425
7fb18e9e
GM
14262011-11-20 Glenn Morris <rgm@gnu.org>
1427
1428 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1429 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1430 Doc fixes.
1431 (rmail-decode-mime-charset): Mark as obsolete.
1432
1433 * mail/rmailsum.el (rmail-message-regexp-p-1):
1434 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1435 Before using mime functions, check they are set. (Bug#10077)
1436
d5a6b3ba
JL
14372011-11-19 Juri Linkov <juri@jurta.org>
1438
1439 * info.el (Info-finder-find-node): Use `package--builtins' instead
1440 of `package-alist'. Use node names formed by the pattern "Keyword "
1441 and the keyword name.
1442
e981b61f
AS
14432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1444
1d00653d 1445 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1446
3ffbc301
JL
14472011-11-19 Juri Linkov <juri@jurta.org>
1448
1449 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1450 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1451 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1452 `old-history', `old-history-forward'. Add let-binding
1453 `window-selected'. Remove calls to `kill-buffer',
1454 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1455 before calling `Info-find-node', so `Info-find-node-2' will reread
1456 the Info file. Restore window positions only when `window-selected'
1457 is non-nil.
1458
30c62133
JL
14592011-11-19 Juri Linkov <juri@jurta.org>
1460
1461 * isearch.el (isearch-lazy-highlight-new-loop):
1462 Remove condition `(not isearch-error)'. (Bug#9918)
1463
1464 * misearch.el (multi-isearch-search-fun): Add condition
1465 `(not bound)' to ignore lazy-highlighting search.
1466 Add the search-failed message "end of multi" when the end of
1467 multi-sequence is reached. Uncapitalize the search-failed
1468 message "Repeat for next buffer".
1469
1470 * info.el (Info-search): Add the search-failed message
1471 "end of the manual" when the end of the manual is reached
1472 in Isearch mode.
1473
645ca9cf
JL
14742011-11-19 Juri Linkov <juri@jurta.org>
1475
1476 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1477 Use non-destructive `remove' instead of `delete' because
1478 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1479 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1480
df754f66
JL
14812011-11-19 Juri Linkov <juri@jurta.org>
1482
1483 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1484 to nil instead of binding `search-ring' and `regexp-search-ring'.
1485 (Bug#9185)
1486
0e23d96a
EZ
14872011-11-19 Eli Zaretskii <eliz@gnu.org>
1488
1489 * simple.el (line-move): Force movement by logical lines for any
1490 hscrolled window, not only when auto-hscroll-mode is on.
1491 (line-move-visual): Update doc string to that effect. (Bug#10076)
1492
8a6ccb66
AS
14932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1494
1495 * language/european.el (macintosh): Define as alias for mac-roman.
1496
49ae5b39
EZ
14972011-11-19 Eli Zaretskii <eliz@gnu.org>
1498
1499 * mail/rmailmm.el (rmail-mime-display-header)
1500 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1501 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1502 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1503 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1504 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1505 of a raw aref.
1506 (rmail-mime-entity-segment): To get past the tagline, move forward
1507 2 more lines, to account for the 2 empty lines that precede and
1508 follow the line with the buttons.
1509 (rmail-mime-update-tagline): Move one more line, to get past the
1510 empty line that follows the buttons in the tagline. (Bug#9520)
1511
c56cad4a
MR
15122011-11-19 Martin Rudalics <rudalics@gmx.at>
1513
1514 * window.el (window-max-delta-1, window-min-delta-1)
1515 (window-min-size-1, window-state-get-1, window-state-put-1)
1516 (window-state-put-2): Use "window--" prefix.
1517
cbe71af3
SM
15182011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1519
2ad52c60
SM
1520 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1521 (smie-warning-count): New var.
1522 (smie-set-prec2tab): Use it.
1523 (smie-bnf->prec2): Improve warnings. Add docstring.
1524 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1525 (smie-bnf--set-class): New function.
1526 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1527 corner case.
1528
6944dbc1
SM
1529 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1530 (compilation-error-properties, compilation-move-to-column):
1531 Handle compilation-first-column while in the target buffer.
1532
c400c4d7
SM
1533 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1534 Don't hardcode point-min==1.
1535
6dbe3e96
SM
1536 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1537 (eshell-rewrite-for-command): Remove workaround.
1538 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1539 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1540 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1541
cbe71af3
SM
1542 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1543
a8e1496d
GM
15442011-11-17 Glenn Morris <rgm@gnu.org>
1545
1546 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1547 Ignore buffer-local generated-autoload-file if it is the same
1548 as the global value. (Bug#10049)
1549
df85d315
JB
15502011-11-17 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1553 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1554 (reftex-toc-previous-heading, reftex-toc-max-level)
1555 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1556 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1557 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1558 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1559 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1560 (reftex-toc-rename-label, reftex-toc-visit-location)
1561 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1562 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1563 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1564 leaving "*toc*" only for references to the buffer.
1565
a0c2d0ae
MR
15662011-11-17 Martin Rudalics <rudalics@gmx.at>
1567
1568 * window.el (window-resize, delete-window, split-window):
1569 Replace window-splits by window-combination-resize.
1d00653d 1570 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1571
35c0bac8
GM
15722011-11-17 Glenn Morris <rgm@gnu.org>
1573
1574 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1575 Make bash entry derive from sh entry, not shell entry.
1576
d0c8fc8a
MA
15772011-11-16 Michael Albinus <michael.albinus@gmx.de>
1578
d0c8fc8a
MA
1579 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1580 properties of linked files. (Bug#9879)
1581
7262a87c
MA
1582 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1583 local file name.
1584
7877f373
JB
15852011-11-16 Juanma Barranquero <lekktu@gmail.com>
1586
1587 * menu-bar.el (menu-bar-file-menu):
1588 * printing.el (pr-ps-utility):
1589 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1590 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1591 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1592 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1593 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1594 (icalendar--convert-cyclic-to-ical)
1595 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1596 (icalendar--convert-ical-to-diary)
1597 (icalendar--convert-recurring-to-diary)
1598 (icalendar--convert-non-recurring-all-day-to-diary)
1599 (icalendar-import-format-sample):
1600 * progmodes/idlw-shell.el (idlwave-shell-mode):
1601 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1602 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1603 (vhdl-ps-print-init): Fix typos.
1604
10649b82
KM
16052011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1606
9d0cfcd6
GM
1607 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1608 FSF and collapse date sequence, obscure author/maintainer email address
1609 better, remove extra version line, track relocation of author's webpage.
10649b82 1610
9d0cfcd6
GM
1611 * progmodes/python.el (python-pdbtrack-input-prompt)
1612 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1613 regular python pdb prompts. Adjustments shamelessly taken exactly as
1614 suggested in EmacsWiki page (tiny change):
1615 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1616
58179cce
JB
16172011-11-16 Juanma Barranquero <lekktu@gmail.com>
1618
1619 * expand.el (expand-pos, expand-index, expand-point):
1620 Remove redundant info from docstring.
1621 (expand-add-abbrevs): Doc fix.
1622 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1623 (expand-sample-perl-mode-expand-list): Fix typos.
1624
1625 * net/dbus.el (dbus-event-member-name):
1626 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1627 * term/pc-win.el (msdos-create-frame-with-faces):
1628 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1629
b6f67890
MR
16302011-11-16 Martin Rudalics <rudalics@gmx.at>
1631
1632 * window.el (split-window, window-state-get-1)
1633 (window-state-put-1, window-state-put-2): Rename occurrences of
1634 window-nest to window-combination-limit.
1d00653d 1635 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1636
ce7ddba0
CY
16372011-11-16 Chong Yidong <cyd@gnu.org>
1638
1639 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1640 regexp (Bug#10033).
1641
3ae704f4
SM
16422011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1645 `completing-read' will remove *Completions* and will preserve
1646 current-buffer for us.
1647 (tmm-add-prompt): Users of *Completions* will always (re)set its
1648 major mode.
1649 (tmm-old-comp-map): Remove.
1650
6ad1cdde
GM
16512011-11-16 Glenn Morris <rgm@gnu.org>
1652
1653 * mail/rmailedit.el: Require rmailmm when compiling.
1654 (rmail-old-mime-state): New declaration.
1655 (rmail-edit-current-message): If editing a mime message,
1656 edit the "raw" message from the mbox buffer.
1657 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1658
d20faa20
GM
16592011-11-15 Glenn Morris <rgm@gnu.org>
1660
1661 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1662 which wasn't being used. Add optional arg to force given state.
1663 (rmail-mime): Add optional arg to force given state.
1664
c7015153
JB
16652011-11-15 Juanma Barranquero <lekktu@gmail.com>
1666
1667 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1668 * frame.el (display-mm-dimensions-alist):
1669 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1670 (outline-move-subtree-down):
1671 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1672 (newsticker--treeview-do-get-node):
1673 * net/quickurl.el (quickurl-list-buffer-name):
1674 * progmodes/dcl-mode.el (dcl-mode):
1675 * progmodes/gdb-mi.el (gdb-mapcar*):
1676 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1677
45261b50
GM
16782011-11-15 Glenn Morris <rgm@gnu.org>
1679
1680 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1681 in a boolean sense, so just make it a boolean, and fix the doc.
1682 (rmail-show-mime-function, rmail-mime-feature)
1683 (rmail-require-mime-maybe): Doc fixes.
1684 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1685
1686 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1687
0d26e0b6
JB
16882011-11-15 Juanma Barranquero <lekktu@gmail.com>
1689
1690 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1691 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1692 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1693 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1694
447f30f6
GM
16952011-11-15 Glenn Morris <rgm@gnu.org>
1696
672b871d
GM
1697 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1698 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1699 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1700 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1701 (rmail-mime, rmail-show-mime): Doc fixes.
1702
f6aa5bb1
GM
1703 * term/ns-win.el (mode-line-frame-identification):
1704 Leave it alone. (Bug#10051)
1705
947cd66b
GM
1706 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1707
447f30f6
GM
1708 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1709 Handle empty buffers. (Bug#9978)
1710
0b381c7e
JB
17112011-11-14 Juanma Barranquero <lekktu@gmail.com>
1712
1713 * international/mule.el (define-charset):
1714 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1715 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1716 * progmodes/verilog-mode.el (verilog-backward-token):
1717 * textmodes/ispell.el (lookup-words):
1718 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1719
71e027ac
GM
17202011-11-14 Glenn Morris <rgm@gnu.org>
1721
56632ce4
GM
1722 * progmodes/executable.el
1723 (executable-make-buffer-file-executable-if-script-p):
1724 Handle file-modes returning nil.
1725
40500957
GM
1726 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1727 message - not necessary, and causes problems. (Bug#9831)
1728
071c2340
GM
1729 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1730
d3cfca60
GM
1731 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1732
71e027ac
GM
1733 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1734 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1735 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1736
89d61221
MR
17372011-11-12 Martin Rudalics <rudalics@gmx.at>
1738
1739 * window.el (window-resize, delete-window): Use window-splits
1740 variable instead of function.
1741 (window-state-get-1, window-state-put-2, window-state-put):
1742 Don't deal with windows' splits status.
1743
98282f6f
GM
17442011-11-12 Glenn Morris <rgm@gnu.org>
1745
1746 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1747 (apropos-documentation): Doc fixes.
1748
40a8bdf6
JB
17492011-11-11 Juanma Barranquero <lekktu@gmail.com>
1750
1751 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1752 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1753
65bd19ff
SM
17542011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * electric.el (electric-indent-post-self-insert-function): Make it
1757 possible for a char to only indent in some circumstances.
1758 (electric-indent-mode): Simplify.
1759
54f9154c
MR
17602011-11-11 Martin Rudalics <rudalics@gmx.at>
1761
1762 * window.el (windows-with-parameter): Remove unused function.
1763 (windows-at-side): Rename to window-at-side-list.
1764 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1765 (window-side-check, window-size-ignore, window-size-fixed-1)
1766 (window-in-direction-2): Prefix with "window--".
1767 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1768
68cbc58b
GM
17692011-11-11 Glenn Morris <rgm@gnu.org>
1770
1771 * subr.el (eval-after-load): If FILE is already loaded,
1772 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1773
b2621720
GM
17742011-11-10 Glenn Morris <rgm@gnu.org>
1775
9a4de110
GM
1776 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1777 Call svn via vc-svn-command rather than vc-do-command.
1778 (vc-svn-command): Add --non-interactive. (Bug#9993)
1779 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1780
b2621720
GM
1781 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1782 Add toggle-read-only. (Bug#7292)
1783 * files.el (toggle-read-only): Mention that it should only
1784 be used interactively. (Bug#10006)
1785
1dce7193
SM
17862011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1787
d9ac1a1e
SM
1788 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1789 Adjust regexp for OCaml warnings.
1790
0c325082
SM
1791 * electric.el (electric-pair-post-self-insert-function): Let user
1792 turn it off buffer-locally (bug#9932).
1793
90132c14
SM
1794 * progmodes/python.el (python-beginning-of-statement):
1795 Rewrite (bug#2703).
1796
1dce7193
SM
1797 * progmodes/compile.el: Better handle TABs (bug#9749).
1798 (compilation-internal-error-properties)
1799 (compilation-next-error-function): Obey the target buffer's
1800 compilation-error-screen-columns.
1801
c4e7c63a
JB
18022011-11-09 Juanma Barranquero <lekktu@gmail.com>
1803
1804 * progmodes/meta-mode.el: Remove obsolete comments.
1805 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1806 Fix typos in docstrings.
1807
2cffd681
MR
18082011-11-09 Martin Rudalics <rudalics@gmx.at>
1809
1810 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1811 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1812 (window--resizable): New function. Make all callers of
1813 window-resizable call window--resizable instead.
1814 (window-resizable): Rewrite in terms of window--resizable.
1815
0edcba87
GM
18162011-11-08 Glenn Morris <rgm@gnu.org>
1817
1818 * progmodes/delphi.el (delphi-mode-syntax-table):
1819 Let define-derived-mode define a proper syntax table. (Bug#9994)
1820
4b0d61e3
SM
18212011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * window.el: Stay away from defsubst.
1824 (window-list-no-nils): Remove.
1825 (window-state-get-1, window-state-get): Use backquote instead.
1826
cd394be1 18272011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1828
4b0d61e3 1829 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1830 Fix incorrect use of default argument in `completing-read'.
1831
e1c2c6f2
MR
18322011-11-08 Martin Rudalics <rudalics@gmx.at>
1833
1834 * window.el (display-buffer-function, special-display-function):
1835 Mention display-buffer-record-window but do not mention
1836 help-setup parameter in doc-strings.
b3f4a882 1837 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1838
105216ed
CY
18392011-11-08 Chong Yidong <cyd@gnu.org>
1840
1841 * window.el (window-total-height, window-total-width): Doc fix.
1842 (window-body-size): Move from C.
1843 (window-body-height, window-body-width): Move to C.
1844
0a9f9ab5
SM
18452011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * window.el: Make special-display like display-buffer-alist (bug#9532).
1848 (display-buffer--special-action): New function, morphed
1849 from display-buffer--special.
1850 (display-buffer): Use it to handle special-display-buffers at higher
1851 priority (just after display-buffer-alist).
1852 (display-buffer-fallback-action, display-buffer--other-frame-action)
1853 (pop-to-buffer-same-window): Remove display-buffer--special.
1854
a769dd15
GM
18552011-11-07 Glenn Morris <rgm@gnu.org>
1856
1857 * calendar/cal-menu.el (cal-menu-set-date-title):
1858 Do nothing if not in a calendar. (Bug#9976)
1859
05a61ee3
SM
18602011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * files.el (find-file): Always use selected-window.
1863
be7f5545
MR
18642011-11-07 Martin Rudalics <rudalics@gmx.at>
1865
1866 * window.el (window-combinations): Make WINDOW argument
1867 mandatory. Rewrite doc-string.
1868 (walk-window-subtree, window-atom-check, window-min-delta)
1869 (window-max-delta, window--resize-this-window)
1870 (window--resize-root-window-vertically, window-tree)
1871 (balance-windows, window-state-put): Rewrite doc-strings as to
1872 not mention the term "subwindow".
1873 (window--resize-subwindows-skip-p): Rename to
1874 window--resize-child-windows-skip-p.
1875 (window--resize-subwindows-normal): Rename to
1876 window--resize-child-windows-normal.
1877 (window--resize-subwindows): Rename to
1878 window--resize-child-windows.
1879 (window-or-subwindow-p): Rename to window--in-subtree-p.
1880
3c6702ef
ML
18812011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1882
1883 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1884 Ensure that mbox format messages end in two newlines (Bug#9974).
1885
49745b39
CY
18862011-11-06 Chong Yidong <cyd@gnu.org>
1887
1888 * window.el (window-combination-p): Function deleted; its
1889 side-effect is not used in any existing code.
1890 (window-combinations, window-combined-p): Call window-*-child
1891 directly.
1892
24300f5f
CY
18932011-11-05 Chong Yidong <cyd@gnu.org>
1894
1895 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1896 (window-size-ignore, window-state-get): Callers changed.
1897 (window-normalize-window): Rename from window-normalize-any-window.
1898 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1899 (window-normalize-live-window): Delete.
447f16b8
CY
1900 (window-combination-p, window-combined-p, window-combinations)
1901 (walk-window-subtree, window-atom-root, window-min-size)
1902 (window-sizable, window-sizable-p, window-size-fixed-p)
1903 (window-min-delta, window-max-delta, window-resizable)
1904 (window-resizable-p, window-full-height-p, window-full-width-p)
1905 (window-current-scroll-bars, window-point-1, set-window-point-1)
1906 (window-at-side-p, window-in-direction, window-resize)
1907 (adjust-window-trailing-edge, maximize-window, minimize-window)
1908 (window-deletable-p, delete-window, delete-other-windows)
1909 (record-window-buffer, unrecord-window-buffer)
1910 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1911 (quit-window, split-window, window-state-put)
1912 (set-window-text-height, fit-window-to-buffer)
1913 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1914
89bd5ee1
EZ
19152011-11-04 Eli Zaretskii <eliz@gnu.org>
1916
53479029
EZ
1917 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1918 rfc2047-decode-string.
1919 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1920 warnings.
1921
89bd5ee1
EZ
1922 * window.el (window-body-height, window-body-width): Mention in
1923 the doc string that the return values are in frame's canonical
1924 units. (Bug#9949)
1925
bd17fdee
AM
19262011-11-03 Alan Mackenzie <acm@muc.de>
1927
1928 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1929 change in cc-engine.el.
1930
acc825c5
SM
19312011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1934
1885e5b8
MR
19352011-11-02 Martin Rudalics <rudalics@gmx.at>
1936
1937 * window.el (quit-window): Call unrecord-window-buffer after
1938 showing another buffer in the window. (Bug#9937)
acc825c5 1939 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1940
ebe06da9
JB
19412011-11-02 Juanma Barranquero <lekktu@gmail.com>
1942
1943 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1944 Accept status with more than 9 shelves. (Bug#9935)
1945 Reported by Colin D Bennett <colin@gibibit.com>.
1946
4ee88440
MR
19472011-11-01 Martin Rudalics <rudalics@gmx.at>
1948
1949 * help.el (with-help-window): Don't reference
1950 temp-buffer-show-specifiers in doc-string.
1951
08e1d82c
AS
19522011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1953
1954 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1955 menu-item.
1956
84bd6e9e
VJL
19572011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1958
1959 * whitespace.el: New version 13.2.2.
1960 (whitespace-newline-mode): Disable properly. Reported by Sarah
1961 <EmacsWiki>.
1962
dba0634a
UJ
19632011-10-30 Ulf Jasper <ulf.jasper@web.de>
1964
1965 * net/newst-treeview.el: Remove "Time-stamp".
1966 (newsticker--group-manage-orphan-feeds): Do not call
1967 newsticker--treeview-tree-update.
db22a3c2
JB
1968 (newsticker-treeview-update, newsticker-treeview):
1969 Call newsticker--treeview-tree-update if necessary.
dba0634a 1970
3d8daefe
MR
19712011-10-30 Martin Rudalics <rudalics@gmx.at>
1972
1973 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1974 (window-iso-combinations): Remove "iso-" infix.
1975 Suggested by Chong Yidong.
3d8daefe
MR
1976 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1977 (window-max-delta-1, window-resize, window--resize-siblings)
1978 (window--resize-this-window, adjust-window-trailing-edge)
1979 (split-window, balance-windows-1)
1980 (shrink-window-if-larger-than-buffer):
1981 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1982 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1983
1bc4c3ae
SM
19842011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1987 in place (bug#9907).
1988 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1989 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1990 (eshell-structure-basic-command, eshell-rewrite-while-command)
1991 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1992 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1993 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1994 (eshell-do-pipelines-synchronously, eshell-eval-command):
1995 Use backquotes and prefer setq to set.
1996 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1997 (eshell-macrop): Use functionp.
c1e2f5fa 1998 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1999
30b65d9c
CY
20002011-10-30 Chong Yidong <cyd@gnu.org>
2001
2002 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2003 instead of set-mark (Bug#9810).
2004
2d197ffb
CY
20052011-10-30 Chong Yidong <cyd@gnu.org>
2006
2007 * window.el (split-window-below, split-window-right): Rename from
2008 split-window-above-each-other and split-window-side-by-side
2009 respectively. All callers changed.
2010 (split-window-sensibly, split-window-sensibly): Use them.
2011 (split-window-keep-point): Doc fix.
2012
2013 * isearch.el: Add isearch-scroll property to split-window-below
2014 and split-window-right.
2015
2016 * follow.el (follow-mode):
2017 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2018 * progmodes/ada-xref.el (ada-gdb-application):
2019 * emulation/vip.el (vip-buffer-in-two-windows):
2020 * image-dired.el (image-dired-dired-with-window-configuration):
2021 * dired-x.el (dired-do-find-marked-files):
2022 * dired.el (dired-pop-to-buffer):
2023 * bs.el (bs--show-with-configuration):
2024 * vc/emerge.el (emerge-setup-windows):
2025 * textmodes/two-column.el (2C-two-columns):
2026 * textmodes/reftex-toc.el (reftex-toc):
2027 * progmodes/gdb-mi.el (gdb-setup-windows):
2028 * progmodes/fortran.el (fortran-window-create):
2029 * net/newst-treeview.el (newsticker--treeview-window-init):
2030 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2031 * emulation/tpu-edt.el (tpu-gold-map):
2032 * emulation/crisp.el (crisp-mode-map):
2033 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2034
38bb2ca8
CY
20352011-10-29 Chong Yidong <cyd@gnu.org>
2036
aa4de341
CY
2037 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2038
e1eb5385
CY
2039 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2040
5d2ece3c
CY
2041 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2042 forged Ispell output (Bug#7904).
2043
38bb2ca8
CY
2044 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2045
d0af9f77
SM
20462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * doc-view.el: Avoid ugly errors about not finding nil.
2049 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2050 (doc-view-dvipdf-program, doc-view-unoconv-program)
2051 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2052 Avoid nil or absolute file name as default value.
2053 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2054
52bedd34
AM
20552011-10-28 Alan Mackenzie <acm@muc.de>
2056
db22a3c2 2057 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2058
7e43cfa5
AM
20592011-10-28 Alan Mackenzie <acm@muc.de>
2060
2061 Amend the handling of c-beginning/end-of-defun in nested declaration
2062 scopes.
2063
52bedd34
AM
2064 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2065 cc-langs.el. Change it to a defcustom.
7e43cfa5 2066
52bedd34
AM
2067 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2068 cc-vars.el.
7e43cfa5 2069
d0af9f77
SM
2070 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2071 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2072
52bedd34 2073 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2074 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2075 (c-widen-to-enclosing-decl-scope): New function.
2076 (c-while-widening-to-decl-block): New macro.
2077 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2078 outward for defun boundaries, and correspondingly change symbol
2079 `respect-enclosure' to `go-outward'.
2080 (c-declaration-limits): Change algorithm to report only the "innermost"
2081 defun's boundaries.
2082
1a2ce9ee
DD
20832011-10-28 Deniz Dogan <deniz@dogan.se>
2084
2085 * net/rcirc.el (rcirc-mode): Use hard newlines.
2086
bc97a826
AM
20872011-10-28 Alan Mackenzie <acm@muc.de>
2088
2089 Amend to indent and fontify macros "which include their own semicolon"
2090 correctly, using the "virtual semicolon" mechanism.
2091
52bedd34 2092 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2093
d0af9f77 2094 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2095 Recode to scan one line at a time rather than having \n and \r
58179cce 2096 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2097 (c-forward-label): Amend for virtual semicolons.
58179cce 2098 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2099
52bedd34
AM
2100 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2101 of the new C macros.
bc97a826 2102
52bedd34 2103 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2104 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2105 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2106 (c-opt-cpp-macro-define): Make into a full language variable.
2107 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2108 AWK Mode (including \n, \r) removed, no longer needed.
2109
d0af9f77
SM
2110 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2111 Invoke c-make-macro-with-semi-re.
bc97a826 2112
52bedd34
AM
2113 * progmodes/cc-vars.el (c-macro-with-semi-re):
2114 (c-macro-names-with-semicolon): New variables.
58179cce 2115 (c-make-macro-with-semi-re): New function.
bc97a826 2116
7a6c0941
SM
21172011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * vc/log-edit.el: Fill empty field rather than adding new one.
2120 (log-edit-add-field): New function.
2121 (log-edit-insert-changelog): Use it.
2122
b0c4cdcf
ML
21232011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2124
2125 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2126
ee1f1da9
SM
21272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2128
2129 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2130 (gdb--check-interpreter): New function.
2131 (gdb): Use it.
2132
51bc5f8b
GM
21332011-10-27 Glenn Morris <rgm@gnu.org>
2134
416a2c45
GM
2135 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2136 (least-positive-float, least-negative-float)
2137 (least-positive-normalized-float, least-negative-normalized-float)
2138 (float-epsilon, float-negative-epsilon):
2139 Remove unnecessary declarations.
2140
2141 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2142 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2143 (least-positive-float, least-negative-float)
2144 (least-positive-normalized-float, least-negative-normalized-float)
2145 (float-epsilon, float-negative-epsilon): Add doc-strings,
2146 based on those in cl.texi.
2147
51bc5f8b
GM
2148 * files.el (set-visited-file-name): If the major-mode changed,
2149 reload the local variables. (Bug#9796)
2150
15de15c6
CY
21512011-10-27 Chong Yidong <cyd@gnu.org>
2152
2153 * subr.el (change-major-mode-after-body-hook): New hook.
2154 (run-mode-hooks): Run it.
2155
ee1f1da9
SM
2156 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2157 Use change-major-mode-before-body-hook.
15de15c6
CY
2158
2159 * simple.el (fundamental-mode):
2160 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2161 change introducing fundamental-mode-hook.
2162
5430d399
JB
21632011-10-26 Juanma Barranquero <lekktu@gmail.com>
2164
acc825c5 2165 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2166
ad74a69e
MA
21672011-10-26 Michael Albinus <michael.albinus@gmx.de>
2168
2169 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2170 tramp.el explicitly. (Bug#7583)
ad74a69e 2171
71d4c2a5
SM
21722011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * progmodes/octave-mod.el:
2175 * progmodes/octave-inf.el: Update maintainer.
2176
b1f6fa26
CY
21772011-10-26 Chong Yidong <cyd@gnu.org>
2178
2179 * subr.el (with-wrapper-hook): Rewrite doc.
2180
3f04efd6
MA
21812011-10-25 Michael Albinus <michael.albinus@gmx.de>
2182
2183 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2184 filenames "/method:foo:". (Bug#9793)
3f04efd6 2185
410488d3
SM
21862011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2189 (bug#9865).
2190
c1ebb47e
GM
21912011-10-24 Glenn Morris <rgm@gnu.org>
2192
2193 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2194
7f5c46c7
MA
21952011-10-24 Michael Albinus <michael.albinus@gmx.de>
2196
2197 * notifications.el: Add the requirement of a running D-Bus session
2198 bus to the Commentary.
2199
db2440b6
JL
22002011-10-24 Juri Linkov <juri@jurta.org>
2201
2202 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2203 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2204 (Bug#9364)
2205
feecf435
JL
22062011-10-24 Juri Linkov <juri@jurta.org>
2207
2208 * info.el (Info-following-node-name-re): Add newline to the list
2209 of allowed characters for leading space. (Bug#9824)
2210
a3839de2
SM
22112011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2212
acc825c5
SM
2213 * progmodes/octave-inf.el (inferior-octave-mode-map):
2214 Fix C-c C-h binding.
a3839de2
SM
2215 * progmodes/octave-mod.el (octave-help): Remove.
2216
09388e76
MA
22172011-10-23 Michael Albinus <michael.albinus@gmx.de>
2218
2219 Sync with Tramp 2.2.3.
2220
2221 * net/tramp-cache.el (top): Pacify byte-compiler using
2222 `init-file-user' and `site-run-file'.
2223
2224 * net/trampver.el: Update release number.
2225
86c60681
CY
22262011-10-23 Chong Yidong <cyd@gnu.org>
2227
2228 * files.el (toggle-read-only): Remove obsolete comment about
2229 version control.
2230
2231 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2232 for toggle-read-only. Note that this hasn't called vc-next-action
2233 since 2008-05-02, though it wasn't documented at the time.
2234
a3839de2
SM
2235 * vc/ediff-init.el (ediff-toggle-read-only-function):
2236 Use toggle-read-only.
86c60681 2237
cd5495ff
AM
22382011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2239
2240 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2241 of c-parse-state.
2242
00b77525 2243 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2244 correct faulty logical expression.
cd5495ff
AM
2245 (c-parse-state-state, c-record-parse-state-state):
2246 (c-replay-parse-state-state): New defvar/defuns.
2247 (c-debug-parse-state): Use new functions.
2248
42ee24ed
MR
22492011-10-22 Martin Rudalics <rudalics@gmx.at>
2250
2251 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2252 last fix. Use window-in-direction correctly.
42ee24ed 2253
a7dee7e7
CY
22542011-10-21 Chong Yidong <cyd@gnu.org>
2255
2256 * progmodes/idlwave.el (idlwave-mode):
2257 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2258 require-final-newline; that's done in prog-mode.
2259 Suggested by Stefan Monnier.
a7dee7e7 2260
e07b9a6d
MR
22612011-10-21 Martin Rudalics <rudalics@gmx.at>
2262
2263 * mouse.el (mouse-drag-window-above)
2264 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2265 (mouse-drag-mode-line-1, mouse-drag-header-line)
2266 (mouse-drag-vertical-line-rightward-window): Remove.
2267 (mouse-drag-line): New function.
2268 (mouse-drag-mode-line, mouse-drag-header-line)
2269 (mouse-drag-vertical-line): Call mouse-drag-line.
2270 * window.el (window-at-side-p, windows-at-side): New functions.
2271
7e1361d9
UM
22722011-10-21 Ulrich Mueller <ulm@gentoo.org>
2273
2274 * tar-mode.el (tar-grind-file-mode):
2275 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2276
30fcaf3a
CY
22772011-10-21 Chong Yidong <cyd@gnu.org>
2278
2279 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2280 * progmodes/vera-mode.el (vera-mode):
2281 Use mode-require-final-newline.
30fcaf3a 2282
516eddb0
GM
22832011-10-20 Glenn Morris <rgm@gnu.org>
2284
db22a3c2 2285 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2286
10d5f513
CS
22872011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2288
2289 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2290
ac6c8639
CY
22912011-10-20 Chong Yidong <cyd@gnu.org>
2292
2293 * emulation/cua-base.el (cua-mode):
2294 * mail/footnote.el (footnote-mode):
2295 * mail/mailabbrev.el (mail-abbrevs-mode):
2296 * net/xesam.el (xesam-minor-mode):
2297 * progmodes/bug-reference.el (bug-reference-mode):
2298 * progmodes/cap-words.el (capitalized-words-mode):
2299 * progmodes/compile.el (compilation-minor-mode)
2300 (compilation-shell-minor-mode):
2301 * progmodes/gud.el (gud-tooltip-mode):
2302 * progmodes/hideif.el (hide-ifdef-mode):
2303 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2304 * progmodes/subword.el (subword-mode):
2305 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2306 * progmodes/which-func.el (which-function-mode):
2307 * term/tvi970.el (tvi970-set-keypad-mode):
2308 * term/vt100.el (vt100-wide-mode):
2309 * textmodes/flyspell.el (flyspell-mode):
2310 * textmodes/ispell.el (ispell-minor-mode):
2311 * textmodes/nroff-mode.el (nroff-electric-mode):
2312 * textmodes/paragraphs.el (use-hard-newlines):
2313 * textmodes/refill.el (refill-mode):
2314 * textmodes/reftex.el (reftex-mode):
2315 * textmodes/rst.el (rst-minor-mode):
2316 * textmodes/sgml-mode.el (html-autoview-mode)
2317 (sgml-electric-tag-pair-mode):
2318 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2319 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2320 * emulation/crisp.el (crisp-mode):
2321 * emacs-lisp/eldoc.el (eldoc-mode):
2322 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2323 minor mode behavior.
2324
aa42ab43
JL
23252011-10-19 Juri Linkov <juri@jurta.org>
2326
2327 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2328 the list of hard-coded chars with escape-glyph face.
2329
89400f1d
SM
23302011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2333
305c07f6
MA
23342011-10-19 Michael Albinus <michael.albinus@gmx.de>
2335
2336 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2337 running process.
2338
13754b54
GM
23392011-10-19 Glenn Morris <rgm@gnu.org>
2340
2341 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2342 Ignore ignored files. (Bug#9726)
2343
06e21633
CY
23442011-10-19 Chong Yidong <cyd@gnu.org>
2345
2346 Doc fix for minor modes, stating that an omitted argument enables
2347 the mode unconditionally when called from Lisp.
2348
2349 * abbrev.el (abbrev-mode):
2350 * allout.el (allout-mode):
2351 * autoinsert.el (auto-insert-mode):
2352 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2353 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2354 (global-auto-revert-mode):
2355 * battery.el (display-battery-mode):
2356 * composite.el (global-auto-composition-mode)
2357 (auto-composition-mode):
2358 * delsel.el (delete-selection-mode):
2359 * desktop.el (desktop-save-mode):
2360 * dired-x.el (dired-omit-mode):
2361 * dirtrack.el (dirtrack-mode):
2362 * doc-view.el (doc-view-minor-mode):
2363 * double.el (double-mode):
2364 * electric.el (electric-indent-mode, electric-pair-mode):
2365 * emacs-lock.el (emacs-lock-mode):
2366 * epa-hook.el (auto-encryption-mode):
2367 * follow.el (follow-mode):
2368 * font-core.el (font-lock-mode):
2369 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2370 * help.el (temp-buffer-resize-mode):
2371 * hilit-chg.el (highlight-changes-mode)
2372 (highlight-changes-visible-mode):
2373 * hi-lock.el (hi-lock-mode):
2374 * hl-line.el (hl-line-mode, global-hl-line-mode):
2375 * icomplete.el (icomplete-mode):
2376 * ido.el (ido-everywhere):
2377 * image-file.el (auto-image-file-mode):
2378 * image-mode.el (image-minor-mode):
2379 * iswitchb.el (iswitchb-mode):
2380 * jka-cmpr-hook.el (auto-compression-mode):
2381 * linum.el (linum-mode):
2382 * longlines.el (longlines-mode):
2383 * master.el (master-mode):
2384 * mb-depth.el (minibuffer-depth-indicate-mode):
2385 * menu-bar.el (menu-bar-mode):
2386 * minibuf-eldef.el (minibuffer-electric-default-mode):
2387 * mouse-sel.el (mouse-sel-mode):
2388 * msb.el (msb-mode):
2389 * mwheel.el (mouse-wheel-mode):
2390 * outline.el (outline-minor-mode):
2391 * paren.el (show-paren-mode):
2392 * recentf.el (recentf-mode):
2393 * reveal.el (reveal-mode, global-reveal-mode):
2394 * rfn-eshadow.el (file-name-shadow-mode):
2395 * ruler-mode.el (ruler-mode):
2396 * savehist.el (savehist-mode):
2397 * scroll-all.el (scroll-all-mode):
2398 * scroll-bar.el (scroll-bar-mode):
2399 * server.el (server-mode):
2400 * shell.el (shell-dirtrack-mode):
2401 * simple.el (auto-fill-mode, transient-mark-mode)
2402 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2403 (line-number-mode, column-number-mode, size-indication-mode)
2404 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2405 * strokes.el (strokes-mode):
2406 * time.el (display-time-mode):
2407 * t-mouse.el (gpm-mouse-mode):
2408 * tool-bar.el (tool-bar-mode):
2409 * tooltip.el (tooltip-mode):
2410 * type-break.el (type-break-mode-line-message-mode)
2411 (type-break-query-mode):
2412 * view.el (view-mode):
2413 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2414 (global-whitespace-mode, global-whitespace-newline-mode):
2415 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2416
a3839de2
SM
2417 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2418 Fix autogenerated docstring.
06e21633 2419
5214e501
JL
24202011-10-19 Juri Linkov <juri@jurta.org>
2421
2422 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2423 by checking environment variables "DESKTOP_SESSION" and
2424 "XDG_CURRENT_DESKTOP". (Bug#9779)
2425
195f8db9
JL
24262011-10-19 Juri Linkov <juri@jurta.org>
2427
2428 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2429 (browse-url-chromium-program, browse-url-chromium-arguments):
2430 New defcustoms.
2431 (browse-url-default-browser): Check for `browse-url-chromium' and
2432 call `browse-url-chromium-program'.
2433 (browse-url-chromium): New command. (Bug#9779)
2434
343a34ff
JB
24352011-10-18 Juanma Barranquero <lekktu@gmail.com>
2436
2437 * facemenu.el (list-colors-duplicates): On Windows, detect more
2438 duplicates by assuming that only colors matching "^System" are
2439 special "system colors". (Bug#9722)
2440
6978a151
SM
24412011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2444 to distinguish the author from the committer.
2445
6a80b297
MA
24462011-10-18 Michael Albinus <michael.albinus@gmx.de>
2447
2448 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2449
b31a5677
JK
24502011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2451
2452 * international/mule.el (sgml-html-meta-auto-coding-function):
2453 Add support for detecting encoding in HTML5 specified only as
2454 <meta charset="UTF-8">. Implementation just makes http-equiv and
2455 content-type parts from HTML4 encoding string optional. (Bug#9716)
2456
80c6d77f
GM
24572011-10-18 Glenn Morris <rgm@gnu.org>
2458
2459 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2460
08b0fee8
CY
24612011-10-18 Chong Yidong <cyd@gnu.org>
2462
2463 * faces.el (cursor): Doc fix.
2464
67e729a5
CY
24652011-10-17 Chong Yidong <cyd@gnu.org>
2466
2467 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2468
343a34ff 24692011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2470
2471 * dirtrack.el (dirtrack): Support shell buffers with path
2472 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2473
0bc06380
TZ
24742011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2475
2476 * json.el: Bump version to 1.3 and note change in History.
2477 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2478
8b79f3e0
SM
24792011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2480
5a7c536b
SM
2481 * comint.el (comint-insert-input, comint-send-input)
2482 (comint-get-old-input-default, comint-backward-matching-input)
2483 (comint-next-prompt): Use nil instead of `input' for field property of
2484 past user input (bug#114).
2485
96a8a0df
SM
2486 * minibuffer.el (completion--replace): Inherit surrounding properties
2487 (bug#114).
2488 (minibuffer-complete-and-exit): Use it.
2489
8b79f3e0
SM
2490 * comint.el (comint--table-subvert): Quote the all-completions output
2491 (bug#9160).
2492
b8f7ff0d
MR
24932011-10-17 Martin Rudalics <rudalics@gmx.at>
2494
8b79f3e0 2495 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2496
b8f7ff0d 2497 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2498 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2499 entries and separate them from frame entries.
2500
c235b555
GM
25012011-10-15 Glenn Morris <rgm@gnu.org>
2502
2503 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2504 Doc fixes.
2505
6bbfa6e1
CY
25062011-10-15 Chong Yidong <cyd@stupidchicken.com>
2507
8b79f3e0
SM
2508 * net/network-stream.el (network-stream-open-starttls):
2509 Improve detection of failure due to lack of TLS support.
ec5c990d 2510
6bbfa6e1
CY
2511 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2512 putting the input text in front and in bold.
2513
98488977
SM
25142011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2515
3d1337be
SM
2516 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2517
ee0b45e4
SM
2518 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2519 empty buffer.
2520
98488977
SM
2521 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2522 unread-command-events rather than pushing yet-another event.
2523
186f4720
EZ
25242011-10-14 Eli Zaretskii <eliz@gnu.org>
2525
2526 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2527 the explanation of the possible choices. Make the options passed
2528 to completing-read shorter.
2529
8b7a997c
AM
25302011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2531
2532 * textmodes/flyspell.el (flyspell-large-region): Make sure
2533 extended character mode is used if defined (Bug#1339).
2534
12587bbb
EZ
25352011-10-13 Eli Zaretskii <eliz@gnu.org>
2536
2537 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2538 character info for LRE, LRO, RLE, and RLO characters by appending
2539 an invisible PDF.
12587bbb 2540
bad41229
SM
25412011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2544 even in case of error; add debug spec; simplify data flow.
2545 (with-timeout-handler): Remove.
2546
28dbc92f
MA
25472011-10-12 Michael Albinus <michael.albinus@gmx.de>
2548
2549 Fix Bug#6019, Bug#9315.
2550
2551 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2552 complete `buffer-file-name', the local file name part could look
2553 remotely (for example on VMS).
2554
2555 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2556 `tramp-run-real-handler'.
2557 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2558 already quoted by '"'.
2559
2560 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2561 Let `file-name-handler-alist' be nil, the local file name part
2562 could look remotely (for example on VMS).
2563
e1b0b23a
SM
25642011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2567 from here...
2568 (flyspell-post-command-hook): ...to here.
2569
a120bde9
SM
25702011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2573 if not needed.
2574 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2575 using completion. Protect against "slow" callers.
2576 Remove the "message hack".
2577
7ce7717b
JL
25782011-10-11 Juri Linkov <juri@jurta.org>
2579
2580 * isearch.el (isearch-lazy-highlight-word): New variable.
2581 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2582 Use it. (Bug#9727)
2583
c02ee9d6
GM
25842011-10-11 Glenn Morris <rgm@gnu.org>
2585
2586 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2587 like f90-previous-statement does.
2588
93e616fd 25892011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2590
1f190e73 2591 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2592 only in interactive use, to avoid error.
2593
af7b6078
SM
25942011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * minibuffer.el (completion-file-name-table): Fix last change,
2597 i.e. ignore normal errors but not the other ones.
2598
0563dae9
MR
25992011-10-10 Martin Rudalics <rudalics@gmx.at>
2600
2601 * window.el (special-display-buffer-names)
2602 (special-display-regexps): Remove some remnants of earlier
2603 changes from doc-strings.
366ca7f3
MR
2604 (quit-windows-on): New function.
2605
2606 * vc/vc.el (vc-revert, vc-rollback):
2607 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2608 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2609 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2610
49677495
MR
26112011-10-09 Martin Rudalics <rudalics@gmx.at>
2612
2613 * window.el (frame-auto-hide-function): Add version tag.
2614 (Bug#9699)
2615
56f2d1e1
MA
26162011-10-09 Michael Albinus <michael.albinus@gmx.de>
2617
2618 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2619 condition.
2620
112a6592
LL
26212011-10-09 Leo Liu <sdl.web@gmail.com>
2622
2623 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2624 (Bug#9701)
2625
0812589b
GM
26262011-10-08 Glenn Morris <rgm@gnu.org>
2627
2628 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2629 before the first code statement zero indent. (Bug#9690)
2630
b2b0776e
CY
26312011-10-08 Chong Yidong <cyd@stupidchicken.com>
2632
2633 * simple.el (count-words-region): Always count in the region.
2634 Report the number of lines and characters too.
2635 (count-words): New command, which counts in the buffer if the
2636 region is inactive, as count-words-region used to.
2637 (count-words--message): New function. Handle plurals.
2638 (count-lines-region): Make it an alias for count-words-region.
2639
2640 * bindings.el (esc-map): Replace count-lines-region with
2641 count-words-region.
2642
c557cd6b
MR
26432011-10-08 Martin Rudalics <rudalics@gmx.at>
2644
2645 * window.el (window--delete): Delete dedicated frame
2646 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2647 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2648
61a57ef4 26492011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2650
2651 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2652
c3833279
CY
26532011-10-07 Chong Yidong <cyd@stupidchicken.com>
2654
2655 * bindings.el ([M-left],[M-right]): Bind to left-word and
2656 right-word respectively.
2657
21ce8245
GM
26582011-10-07 Glenn Morris <rgm@gnu.org>
2659
2660 * cus-start.el (debug-on-quit): Fix custom type.
2661
6d823bb2
LMI
26622011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2663
0181e193
LMI
2664 * subr.el (define-key-after): Clarify that the function is not
2665 useful for non-menu keymaps.
2666
6d823bb2
LMI
2667 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2668
8e3459ce 26692011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2670
21ce8245 2671 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2672 in current minibuffer (Fix bug with recursive minibuffers).
2673
a1c2d21e
CY
26742011-10-06 Chong Yidong <cyd@stupidchicken.com>
2675
2676 * progmodes/gdb-mi.el (gdb): Doc fix.
2677
5a4cf282
MR
26782011-10-05 Martin Rudalics <rudalics@gmx.at>
2679
2680 * window.el (frame-auto-hide-function): New option replacing
2681 frame-auto-delete. Suggested by Stefan Monnier.
2682 (window--delete): Call frame-auto-hide-function instead of
2683 investigating frame-auto-delete.
c96111ea
MR
2684 (window-point-1, set-window-point-1): New functions.
2685 (window-in-direction, record-window-buffer, window-state-get-1)
2686 (display-buffer-record-window): Use window-point-1 instead of
2687 window-point.
2688 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2689
9854542e
SM
26902011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2693
8943cfb0
GM
26942011-10-05 Glenn Morris <rgm@gnu.org>
2695
2696 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2697 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2698
647ab967
LL
26992011-10-05 Leo Liu <sdl.web@gmail.com>
2700
2701 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2702 works with buffer object.
2703
3ddfbced
SM
27042011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2705
2706 * mpc.el (mpc-tool-bar-map): Add labels.
2707
bdfa5dd2
GM
27082011-10-04 Glenn Morris <rgm@gnu.org>
2709
2710 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2711
0e2070b5
MR
27122011-10-04 Martin Rudalics <rudalics@gmx.at>
2713
2714 * window.el (window--delete): New function.
2715 (frame-auto-delete): Resuscitate option.
2716 (bury-buffer, replace-buffer-in-windows)
2717 (quit-window): Rewrite using window--delete.
2718 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2719 Pass display-buffer-mark-dedicated to window--display-buffer-2
2720 (Bug#9639).
2721
3dc61a09
SM
27222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2723
915a9b64
SM
2724 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2725 returns a list (bug#9554). Add remote file name completion.
2726 * comint.el (comint--table-subvert): Curry and get quote&unquote
2727 functions as arguments.
2728 (comint--complete-file-name-data): Adjust call accordingly.
2729 * pcomplete.el (pcomplete--table-subvert): Remove.
2730 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2731
3dc61a09
SM
2732 * minibuffer.el (completion-table-case-fold): Use currying.
2733 (completion--styles-type, completion--cycling-threshold-type):
2734 New constants.
2735 (completion-styles, completion-category-overrides)
2736 (completion-cycle-threshold): Use them.
2737 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2738 completion-table-case-fold.
2739
8ea0a993
SB
27402011-10-03 Stephen Berman <stephen.berman@gmx.net>
2741
2742 * minibuffer.el (completion-category-overrides): Fix type of styles
2743 and add more user friendly tags (bug#9660).
2744
8c24b7f6
SM
27452011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2748 (mule-input-method-string): New widget.
2749 (default-input-method, language-info-custom-alist): Use it.
2750
428fe61a
SM
27512011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2752
32c1fffd
SM
2753 * pcomplete.el: Require comint.
2754 (pcomplete--common-suffix): Remove.
2755 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2756 (pcomplete--table-subvert): Sync with comint--table-subvert.
2757 (pcomplete--entries): Use comint-completion-file-name-table.
2758 * comint.el (comint-unquote-filename): Simplify.
2759 (comint-completion-file-name-table): New function (bug#9616).
2760 (comint--complete-file-name-data): Use it.
2761
428fe61a
SM
2762 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2763 (pcmpl-gnu-tar-buffer): Remove.
2764 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2765 around. Make sure pcomplete-suffix-list is only changed temporarily.
2766 Don't look inside the tar's file if it's too large.
428fe61a 2767
04c52e2f
CY
27682011-10-01 Chong Yidong <cyd@stupidchicken.com>
2769
ce3cefcc
CY
2770 * cus-edit.el (custom-mode-map):
2771 * epa.el (epa-key-list-mode-map):
2772 * man.el (Man-mode-map):
2773 * startup.el (splash-screen-keymap):
2774 * simple.el (special-mode-map): Use scroll-up-command and
2775 scroll-down-command.
2776
2777 * progmodes/idlw-help.el (idlwave-help-mode-map):
2778 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2779 * net/newst-plainview.el (newsticker-mode-map):
2780 * emulation/ws-mode.el (wordstar-mode-map):
2781 * emulation/vi.el (vi-com-map):
2782 * calc/calc-graph.el (calc-graph-show-dumb):
2783 * term/sun.el (terminal-init-sun):
2784 * term/ns-win.el (global-map):
2785 * progmodes/grep.el (grep-mode-map):
2786 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2787 * mail/rmail.el (rmail-mode-map):
2788 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2789
04c52e2f
CY
2790 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2791 custom-safe-themes as special.
2792
79adf8c8
JD
27932011-10-01 Julien Danjou <julien@danjou.info>
2794
2795 * notifications.el (notifications-notify): Fix docstring.
2796
63bd50d3
PS
27972011-10-01 Per Starbäck <per@starback.se>
2798
2799 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2800
199e4c7e
MR
28012011-09-30 Martin Rudalics <rudalics@gmx.at>
2802
2803 * startup.el (command-line-1): Fix last fix by inserting
2804 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2805 (Bug#9605) and (Bug#9636)
199e4c7e 2806
fe5f08dd
EZ
28072011-09-29 Eli Zaretskii <eliz@gnu.org>
2808
2809 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2810 window is hscrolled, move by logical lines. (Bug#9607)
2811 (line-move-visual): Update the doc string to the above effect.
2812
b5516bbd
MR
28132011-09-29 Martin Rudalics <rudalics@gmx.at>
2814
ccee00c0
MR
2815 * window.el (display-buffer-record-window): When WINDOW is the
2816 selected window use `point' instead of `window-point'. (Bug#9626)
2817
b5516bbd
MR
2818 * startup.el (command-line-1): Use insert-before-markers when
2819 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2820
b5516bbd
MR
2821 * help.el (help-window): Remove variable.
2822
52aa0014
GM
28232011-09-29 Glenn Morris <rgm@gnu.org>
2824
2825 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2826
df9a7357
JB
28272011-09-29 Juanma Barranquero <lekktu@gmail.com>
2828
2829 * descr-text.el (describe-char-categories): Accept category
2830 descriptions more than one line long.
2831
a8406c20
SM
28322011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2833
88d9610c
SM
2834 * simple.el (delete-trailing-whitespace): Fix last change.
2835
a5daf810
SM
2836 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2837 Don't confuse "y => 3" as the beginning of a `y' operation.
2838
a8406c20
SM
2839 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2840 object has more than 4 slots (bug#9613).
2841
a239d4e9
JB
28422011-09-28 Juanma Barranquero <lekktu@gmail.com>
2843
2844 * subr.el (with-output-to-temp-buffer):
2845 * net/quickurl.el (quickurl, quickurl-browse-url):
2846 Fix typos in docstrings.
2847
693fbdb6
EZ
28482011-09-27 Eli Zaretskii <eliz@gnu.org>
2849
2850 * minibuffer.el (completion-styles)
2851 (completion-category-overrides): Cross reference each other in doc
2852 strings.
2853
8b457e28
GM
28542011-09-27 Glenn Morris <rgm@gnu.org>
2855
2856 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2857 to split-string. (Bug#9606)
2858
85a16208
LMI
28592011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2860
2861 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2862 (bug#9615).
2863
502f9ebd
CY
28642011-09-27 Chong Yidong <cyd@stupidchicken.com>
2865
2866 * emacs-lisp/package.el (list-packages): Fix echo area message.
2867
7690bdea
LL
28682011-09-27 Leo Liu <sdl.web@gmail.com>
2869
2870 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2871
e2ee6f30
MA
28722011-09-25 Michael Albinus <michael.albinus@gmx.de>
2873
2874 * net/dbus.el (dbus-unregister-object): Don't release services for
2875 registered signals. (Bug#9581)
2876
f3f98342
TZ
28772011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2878
2879 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2880 function that picks between cfengine 2 and 3 support
2881 automatically. Update docs accordingly.
2882
dd7aa8dd
KH
28832011-09-22 Kenichi Handa <handa@m17n.org>
2884
2885 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2886 ZERO.
2887 (indian-itrans-v5-table-for-tamil): New variable.
2888 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2889
3f2b07f8
KM
28902011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2891
2892 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2893 that's true if the current command involved collapsing of text.
2894 It's reset to false at the beginning of the next command.
2895 (allout-post-command-business): Move the cursor to the beginning
2896 of entry if the cursor is hidden and collapsing activity just
2897 happened.
2898
371d6a61
CY
28992011-09-24 Chong Yidong <cyd@stupidchicken.com>
2900
2901 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2902 tracking (Bug#9541).
2903
2ac2721a
UJ
29042011-09-24 Ulf Jasper <ulf.jasper@web.de>
2905
2906 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2907 (newsticker-show-news): Automatically load html rendering package
2908 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2909 because w3m-fill-column is let-bound" and the error "Symbol's value
2910 as variable is void: w3m-fill-column".
2ac2721a 2911
fac7ae53
MA
29122011-09-24 Michael Albinus <michael.albinus@gmx.de>
2913
2914 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2915 Release services only if they are defined. (Bug#9581)
2916
e08b633b
RS
29172011-09-23 Richard Stallman <rms@gnu.org>
2918
e488d29c
RS
2919 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2920 distinguish start of paragraph from start of its text.
2921
19c38752
RS
2922 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2923
e08b633b
RS
2924 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2925 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2926 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2927
0a39f27e
AS
29282011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2929
2930 * international/mule-diag.el (mule-diag): Insert a newline after
2931 each fontset description.
2932
db4e950d
SM
29332011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 * simple.el (delete-trailing-whitespace):
2936 Document last change; simplify.
2937
eca3f3ea
PW
29382011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2939
d68e189a
PW
2940 * simple.el (delete-trailing-whitespace): Also delete
2941 extra newlines at the end of the buffer.
2942
eca3f3ea
PW
2943 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2944 (picture-newline): Use forward-line so as to ignore fields.
2945
01c157cc
SM
29462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * subr.el (with-wrapper-hook): Fix edebug spec.
2949
022de23e
LMI
29502011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2951
2952 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2953 (bug#4538).
2954
91683089
MA
29552011-09-23 Michael Albinus <michael.albinus@gmx.de>
2956
eca3f3ea
PW
2957 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2958 Fix nasty bug using wrong cached values.
91683089 2959
5bdd6fa4
AM
29602011-09-23 Alan Mackenzie <acm@muc.de>
2961
2962 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2963
97adfb97
CY
29642011-09-23 Chong Yidong <cyd@stupidchicken.com>
2965
2966 * window.el (pop-to-buffer): Ensure right window is selected if we
2967 chose another frame.
2968
d4ef2b50
EZ
29692011-09-22 Eli Zaretskii <eliz@gnu.org>
2970
2971 * simple.el (what-cursor-position): Use get-char-property-change
2972 and next-single-char-property-change, to be able to show display
2973 properties that come from overlays as well as text properties.
2974
72258fe5
CY
29752011-09-22 Chong Yidong <cyd@stupidchicken.com>
2976
2977 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2978
2979 * cmuscheme.el (run-scheme, switch-to-scheme):
2980 * cus-edit.el (customize-group, custom-buffer-create)
2981 (customize-browse):
2982 * info.el (info):
2983 * shell.el (shell):
2984 * mail/sendmail.el (mail):
2985 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2986
8f098516
RS
29872011-09-22 Richard Stallman <rms@gnu.org>
2988
2989 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2990 move back only to line beg, don't move back over blank lines.
2991
e74f1bb6
MA
29922011-09-22 Michael Albinus <michael.albinus@gmx.de>
2993
2994 * files.el (copy-directory): Set directory attributes only in case
2995 they could be retrieved from the source directory. (Bug#9565)
2996
bfeef8b6
DK
29972011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2998
2999 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3000 (hs-find-block-beginning, hs-hide-level-recursive):
3001 Ignore strings as well as comments. (Bug#9502)
3002
7e423bb8
AS
30032011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3004
3005 * progmodes/sql.el (sql-comint-postgres):
3006 Convert port number to a string. (Bug#9566)
3007
b4d72fcf
MR
30082011-09-22 Martin Rudalics <rudalics@gmx.at>
3009
3010 * window.el (quit-window): Undedicate window when switching to
3011 previous buffer. Reported by Thierry Volpiatto
3012 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3013 (special-display-popup-frame): When popping up a new frame reset
3014 its previous buffers to nil. Simplify code.
b4d72fcf 3015
a7b88dc6
MA
30162011-09-21 Michael Albinus <michael.albinus@gmx.de>
3017
3018 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3019 and process filter, as done also in `shell-command'.
3020
cf4eacfd
MR
30212011-09-21 Martin Rudalics <rudalics@gmx.at>
3022
eca3f3ea 3023 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3024 Call set-window-start with NOFORCE argument t.
3025 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3026 (quit-window): Reword doc-string. Handle new format of
3027 quit-restore parameter. Don't delete window if it has a
3028 previous buffer we can show instead of the present one.
3029 (display-buffer-record-window): Rewrite using a new format for
3030 the quit-restore window parameter
3031 (special-display-popup-frame, display-buffer-same-window)
3032 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3033 (display-buffer-pop-up-window, display-buffer-use-some-window):
3034 Adapt symbol passed to display-buffer-record-window.
3035 * help.el (help-window-setup): Handle new format of quit-restore
3036 parameter.
3037
8d28cb95
SM
30382011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3039
94ab793f
SM
3040 * faces.el (face-list): Fix docstring (bug#9564).
3041
8d28cb95
SM
3042 * window.el (display-buffer--action-function-custom-type):
3043 Don't include internal functions in the Custom interface.
3044
3820edeb
JL
30452011-09-20 Juri Linkov <juri@jurta.org>
3046
3047 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3048 (Info-forward-node, Info-backward-node, Info-next-preorder)
3049 (Info-last-preorder): Use it. (Bug#9528)
3050
5147931d
JL
30512011-09-20 Juri Linkov <juri@jurta.org>
3052
3053 * info.el (Info-last-preorder): Visit last menu item only when
3054 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3055
cf499a1a
JD
30562011-09-20 Julien Danjou <julien@danjou.info>
3057
3058 * password-cache.el (password-cache-remove): Remove entries even if the
3059 value is nil, so that password with a nil value (negative caching) is
3060 possible to invalidate.
3061
f84e2fe2
LM
30622011-09-20 Lawrence Mitchell <wence@gmx.li>
3063
3064 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3065 all whitespace around breakpoint. (Bug#9553)
3066 (f90-find-breakpoint): Only break at whitespace inside a comment.
3067
78054a46
SM
30682011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * minibuffer.el (completion-file-name-table): Keep track of errors.
3071 (completion-table-with-predicate): Handle the case where pred1 is nil.
3072 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3073
345083b2
SM
30742011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3075
e24e27be
SM
3076 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3077 (debugger-return-value): Signal an error if the debugging context does
3078 not await any return value.
3079
345083b2
SM
3080 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3081 * image-mode.el (image-toggle-display-text)
3082 (image-toggle-display-image): Stay away from evil `intangible'.
3083
08d355e3
LL
30842011-09-19 Leo Liu <sdl.web@gmail.com>
3085
3086 * replace.el (occur-revert-arguments): Make it permanent-local.
3087 (occur-mode): Don't call font-lock-defontify.
3088
f01da43f
CY
30892011-09-19 Chong Yidong <cyd@stupidchicken.com>
3090
3091 * net/ldap.el (ldap-search-internal): Don't push empty search
3092 result (Bug#9508).
3093
b6072fa6
SM
30942011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3097
443d6696
MA
30982011-09-19 Michael Albinus <michael.albinus@gmx.de>
3099
3100 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3101 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3102
7cc6e154
JL
31032011-09-18 Juri Linkov <juri@jurta.org>
3104
3105 * buff-menu.el (Buffer-menu-mode-map):
3106 * dired.el (dired-mode-map):
3107 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3108 (lisp-interaction-mode-map):
3109 * emacs-lisp/package.el (package-menu-mode-map):
3110 * epa.el (epa-key-list-mode-map):
3111 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3112 (menu-bar-options-menu):
3113 * outline.el (outline-mode-menu-bar-map):
3114 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3115 * vc/vc-dir.el (vc-dir-menu-map):
3116 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3117 Capitalize non-function content words in menu item strings.
3118
3119 * dired.el (dired-mode-map): Add menu item for
3120 `image-dired-dired-toggle-marked-thumbs'.
3121
80302a81
JL
31222011-09-18 Juri Linkov <juri@jurta.org>
3123
3124 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3125 to `isearch-case-fold-search' and restore its original value
3126 after the `isearch-mode' call.
3127
46c5cf66
JL
31282011-09-18 Juri Linkov <juri@jurta.org>
3129
3130 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3131 because `zgrep' returns 1 for successful matches (bug#9226).
3132
d18b513b
JL
31332011-09-18 Juri Linkov <juri@jurta.org>
3134
3135 * info.el (Info-extract-menu-node-name): Check the second match
3136 for empty string (second test-case of bug#9528).
3137 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3138 intermediate nodes to the history (first test-case of bug#9528).
3139
72753f87
JL
31402011-09-18 Juri Linkov <juri@jurta.org>
3141
3142 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3143 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3144
c9384295
JL
31452011-09-18 Juri Linkov <juri@jurta.org>
3146
1154d12e
JB
3147 * info.el (Info-file-supports-index-cookies):
3148 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3149 outputs one more line for long file names (bug#4142).
c9384295 3150
d473dce8
CY
31512011-09-18 Chong Yidong <cyd@stupidchicken.com>
3152
3153 * newcomment.el (comment-normalize-vars): If prompting for
3154 comment-start, set comment-start-skip too (Bug#8424).
3155
2176854d
JB
31562011-09-18 Johan Bockgård <bojohan@gnu.org>
3157
3158 * icomplete.el: Fix previous fix of Bug#5849.
3159 (icomplete-mode): Don't set completion-show-inline-help.
3160 (icomplete-minibuffer-setup): Set completion-show-inline-help
3161 locally during icompletion.
3162
3aace4e4
CY
31632011-09-18 Chong Yidong <cyd@stupidchicken.com>
3164
c940224f
CY
3165 * woman.el (woman2-process-escapes): Don't delete unrecognized
3166 escapes (Bug#7843).
3167
3aace4e4
CY
3168 * files.el (inhibit-first-line-modes-regexps): Add image files.
3169 (hack-local-variables-prop-line): Return nil for malformed
3170 prop-lines (Bug#9044).
3171
710dec63
MA
31722011-09-18 Michael Albinus <michael.albinus@gmx.de>
3173
3174 * net/tramp.el (top): Don't require 'shell.
3175 (tramp-methods): Fix docstring.
3176 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3177 Return complete remote file name. Handle "smb" case.
3178 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3179 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3180
3181 * net/tramp-compat.el (top): Require 'shell.
3182
3183 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3184 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3185 `tramp-current-host'.
3186 (tramp-get-remote-tmpdir): Remove.
3187
3188 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3189 `tramp-tmpdir' entries.
3190 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3191 (tramp-smb-handle-file-attributes): Ignore errors.
3192 (tramp-smb-wait-for-output): Check also for process end.
3193
5d5ac8ec
LMI
31942011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3195
3196 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3197 when sending QUIT (bug#9312).
3198
8c0f49f0
CY
31992011-09-17 Chong Yidong <cyd@stupidchicken.com>
3200
3201 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3202 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3203 occur-mode-display-occurrence.
3204 (occur-edit-mode): Add usage message.
3205 (occur-cease-edit): New command.
3206 (occur-after-change-function): Use text properties to find the
3207 position of the prefix text.
3208 (occur-engine): Set stickiness of prefix text properties.
3209
8f1383f7
GM
32102011-09-17 Glenn Morris <rgm@gnu.org>
3211
3212 * progmodes/etags.el (complete-tag):
3213 Fix call to completion-in-region. (Bug#9526)
3214
744ba0e3
JL
32152011-09-17 Juri Linkov <juri@jurta.org>
3216
3217 * textmodes/ispell.el (ispell-word): Add to the error message
3218 the word, ispell program name and current dictionary (bug#9121).
3219 (ispell-tex-arg-end): Capitalize "error" in the error message.
3220
d9bbf400
AS
32212011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3222
3223 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3224 check. (Bug#4251)
3225
8da11505
JL
32262011-09-17 Juri Linkov <juri@jurta.org>
3227
3228 * window.el (window-safe-min-height, window-safe-min-width):
3229 Fix typos (followup to bug#9522).
3230
a91adc7e
SJ
32312011-09-17 Sven Joachim <svenjoac@gmx.de>
3232
3233 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3234
064f328a
EZ
32352011-09-16 Eli Zaretskii <eliz@gnu.org>
3236
3237 * simple.el (line-move): If goal-column is set, move by logical
3238 lines, not by display lines. (Bug#971)
3239 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3240 to reflect the above change.
3241
e69df516
SM
32422011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * image.el (imagemagick-register-types): Use regexp-opt.
3245
cbb0f9ab
CY
32462011-09-15 Chong Yidong <cyd@stupidchicken.com>
3247
3248 * window.el (display-buffer-base-action): Rename from
3249 display-buffer-default-action. Make default value empty.
3250 (display-buffer-overriding-action): Convert to defvar.
3251 (display-buffer-fallback-action): New var.
3252
25322144
CY
32532011-09-15 Chong Yidong <cyd@stupidchicken.com>
3254
3255 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3256 declaration.
3257 (package--add-to-archive-contents): If there is a duplicate entry
3258 with an older version, remove it.
3259 (package-menu-mark-delete, package-menu-mark-install)
3260 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3261 (package-menu-mark-obsolete-for-deletion):
3262 Use package-menu-get-status instead of a regexp search.
25322144
CY
3263 (package-menu-get-status): Use tabulated-list-entry.
3264 (package-menu-mark-upgrades): New command.
d770725a 3265 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3266 (package-menu-execute): Do installation before deletion.
3267 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3268 instead of checking major-mode.
3269 (package-menu--find-upgrades): New function.
3270
7520339c
LMI
32712011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3272
3273 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3274 passwords in the log buffer.
65a046c4
LMI
3275 (smtpmail-process-filter): Update the process marker so that the
3276 "broken by peer" status message is inserted in the right place.
7520339c 3277
d3c30954
SM
32782011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3fe48822
SM
3280 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3281 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3282 bibtex-completion-at-point-function.
3283 (bibtex-completion-at-point-function): Use them.
3284
1b8b3954
SM
3285 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3286
d3c30954
SM
3287 * mpc.el (mpc-constraints-tag-lookup): New function.
3288 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3289 also to browser "album|playlist".
3290
72779976
JL
32912011-09-14 Juri Linkov <juri@jurta.org>
3292
3293 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3294 (isearch-edit-string): Use length of `isearch-string' when
3295 `isearch-fail-pos' returns nil.
3296 (isearch-message): Remove duplicate code and call
3297 `isearch-fail-pos' with arg `t'.
3298
a0bf2bcd
CY
32992011-09-14 Chong Yidong <cyd@stupidchicken.com>
3300
17bb0a2d
CY
3301 * replace.el (occur-mode-goto-occurrence): Don't force using other
3302 window (Bug#9499).
3303
a0bf2bcd
CY
3304 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3305
f678e0b6
MR
33062011-09-14 Martin Rudalics <rudalics@gmx.at>
3307
3308 * window.el (display-buffer-window): Remove.
3309 (display-buffer-record-window): Use help-setup window parameter
3310 instead of variable display-buffer-window.
3311 (display-buffer-function, special-display-buffer-names)
3312 (special-display-function): Mention help-setup parameter instead
3313 of display-buffer-window in doc-string.
d3c30954
SM
3314 * help.el (help-window-setup): New argument help-window.
3315 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3316 Reword some messages.
3317 (with-help-window): Pass window used for displaying the buffer
3318 to help-window-setup. Don't set display-buffer-window.
3319
8e39b2e8
GM
33202011-09-13 Glenn Morris <rgm@gnu.org>
3321
3322 * emacs-lisp/debug.el (debugger-make-xrefs):
3323 Preserve point. (Bug#9462)
3324
85e9c04b
CY
33252011-09-13 Chong Yidong <cyd@stupidchicken.com>
3326
3327 * window.el (window-deletable-p): Use next-frame.
3328
1b36ed6a
MR
33292011-09-13 Martin Rudalics <rudalics@gmx.at>
3330
3331 * window.el (window-auto-delete): Remove.
3332 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3333 dedication and previous buffers.
1b36ed6a
MR
3334 (switch-to-prev-buffer): Don't delete window.
3335 (delete-windows-on): Delete a window's frame if and only if the
3336 window is dedicated.
3337 (replace-buffer-in-windows): Delete buffer's window or frame if
3338 and only if window is dedicated.
3339 (quit-window): Handle quit-restore as before last change.
4d61f28d 3340 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3341
ef8ef9fb
CY
33422011-09-13 Chong Yidong <cyd@stupidchicken.com>
3343
3344 * window.el (window-deletable-p): Never delete the last frame on a
3345 given terminal.
3346
b2cba41e
GM
33472011-09-13 Glenn Morris <rgm@gnu.org>
3348
3349 * help.el (describe-key-briefly): Copy previous standard-output change.
3350
51553db6 33512011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3352
3353 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3354
b7556719
GM
33552011-09-13 Glenn Morris <rgm@gnu.org>
3356
3357 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3358 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3359
64b51947
CY
33602011-09-12 Chong Yidong <cyd@stupidchicken.com>
3361
3362 * dired-aux.el (dired-mark-read-string): Don't return default
3363 value on empty input (Bug#9361).
3364 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3365 Omit initial minibuffer contents.
3366 (dired-do-chmod): Signal an error on empty input.
3367 (dired-mark-read-string): Don't return default on empty input.
3368
3369 * files.el (file-modes-symbolic-to-number): Doc fix.
3370
393a301e
SM
33712011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * international/mule-cmds.el (ucs-completions): Remove.
3374 (read-char-by-name): Use complete-with-action instead; add metadata.
3375
fa5660f9
CY
33762011-09-11 Chong Yidong <cyd@stupidchicken.com>
3377
3378 * window.el (display-buffer--action-function-custom-type)
3379 (display-buffer--action-custom-type): New vars.
3380 (display-buffer-alist, display-buffer-default-action)
3381 (display-buffer-overriding-action): Add defcustom types.
3382
4a592f66
CY
3383 * frame.el (delete-other-frames): Doc fix (Bug#276).
3384
73d56dbd
LMI
33852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3386
3387 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3388
37ac18a3
CY
33892011-09-11 Chong Yidong <cyd@stupidchicken.com>
3390
3391 Change modes that used same-window-* vars to use switch-to-buffer.
3392
3393 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3394 Use switch-to-buffer.
3395
3396 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3397 (customize-browse, custom-buffer-create-other-window):
3398 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3399
3400 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3401 (Info-prev, Info-up, Info-speedbar-goto-node)
3402 (info-display-manual): Use switch-to-buffer.
3403 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3404
3405 * mail/sendmail.el (mail): Use switch-to-buffer.
3406 (mail-recover): Use switch-to-buffer-other-window.
3407
3408 * cmuscheme.el (run-scheme, switch-to-scheme):
3409 * ielm.el (ielm):
3410 * shell.el (shell):
3411 * net/rlogin.el (rlogin):
3412 * net/telnet.el (telnet, rsh):
3413 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3414
10195bd6
AS
34152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3416
3417 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3418
b322f63a
LMI
34192011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3420
39d7fed6
LMI
3421 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3422 so don't mention it (bug#9301).
ba5a81f1 3423 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3424
ee0e9f11
LMI
3425 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3426 match `x', `w32' and `ns', like the manual says (bug#9029).
3427
0b1c89c1 3428 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3429 (process-kill-buffer-query-function): Mention the buffer name in
3430 the query.
0b1c89c1 3431
77549ea8
LMI
3432 * image-mode.el (image-next-line): The line parameter is mandatory
3433 (bug#9258).
3434
803ef892
LMI
3435 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3436 which can be useful (bug#9301).
3437
12980837
LMI
3438 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3439
91054f8f
LMI
3440 * subr.el (match-string): Mention that the current buffer should
3441 be the same as the search was done in (bug#9282).
3442
b322f63a
LMI
3443 * facemenu.el: Disable the remove-* commands if the mark isn't
3444 active (bug#9162).
3445
3199b96f
CY
34462011-09-10 Chong Yidong <cyd@stupidchicken.com>
3447
3448 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3449 of display-buffer.
3450 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3451
3452 * replace.el (occur-mode-goto-occurrence)
3453 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3454 and display-buffer.
3455
3456 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3457 display-buffer.
3458
3459 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3460 special-display and same-window variables.
3461 (mail-other-window): Use switch-to-buffer-other-window.
3462 (mail-other-frame): USe switch-to-buffer-other-frame.
3463
393a301e
SM
3464 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3465 Use display-buffer-other-frame.
3199b96f
CY
3466 (gdb-display-gdb-buffer): Use pop-to-buffer.
3467
3468 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3469
3470 * progmodes/python.el: Don't set same-window-buffer-names.
3471
3472 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3473
3474 * window.el (display-buffer-alist): Add *Python*.
3475
8319e0bf
CY
34762011-09-10 Chong Yidong <cyd@stupidchicken.com>
3477
3478 * window.el (display-buffer-alist): Add entry for buffers
3479 previously handled same-window-*.
3480 (display-buffer-alist, display-buffer-default-action)
3481 (display-buffer-overriding-action): Mark as risky.
3482 (display-buffer-alist): Document action function changes.
3483 (display-buffer--same-window-action)
3484 (display-buffer--other-frame-action): New variables.
3485 (switch-to-buffer, display-buffer-other-frame): Use them.
3486 (display-buffer): Rename reuse-frame entry to reusable-frames.
3487 (display-buffer-reuse-selected-window): Function deleted.
3488 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3489 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3490 (display-buffer-special): New function.
3491 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3492 display-buffer-reuse-or-pop-window. Split off special-display
3493 part into display-buffer-special.
3494 (display-buffer-use-some-window): Don't perform any special
3495 pop-up-frames handling.
3496 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3497 (display-buffer--maybe-same-window): Rename from
0d3ff375 3498 display-buffer-maybe-same-window.
8319e0bf 3499
919a69aa
CY
3500 * info.el: Don't set same-window-regexps.
3501 (info-setup): New function.
3502 (info-other-window, info): Call it.
3503
3504 * cus-edit.el: Don't set same-window-regexps.
3505 (customize-group): New argument.
3506 (customize-group-other-window): Use it.
3507 (customize-face, customize-face-other-window): Likewise.
3508 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3509
8319e0bf
CY
3510 * net/rlogin.el:
3511 * net/telnet.el:
3512 * progmodes/gud.el: Don't set same-window-regexps.
3513
3514 * cmuscheme.el:
3515 * ielm.el:
3516 * shell.el:
3517 * mail/sendmail.el:
3518 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3519
25173000
JL
35202011-09-10 Juri Linkov <juri@jurta.org>
3521
3522 * isearch.el (isearch-edit-string): Remove obsolete mention of
3523 `C-w' (`isearch-yank-word-or-char') from docstring.
3524 (isearch-query-replace): Fix typo in docstring (bug#9466).
3525
056e44ef
JL
35262011-09-10 Juri Linkov <juri@jurta.org>
3527
3528 * paren.el (show-paren-function): Don't show escaped parens.
3529 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3530
c3760c17
EZ
35312011-09-10 Eli Zaretskii <eliz@gnu.org>
3532
3533 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3534 (mm-default-file-encoding): Remove autoload forms, they are
3535 replaced with autoload cookies in mml.el and mm-encode.el.
3536 (mail-add-attachment): New command.
3537 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3538 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3539 the doc string.
3540 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3541
fece895e
RT
35422011-09-10 Reuben Thomas <rrt@sc3d.org>
3543
e69df516
SM
3544 * simple.el (count-words-region): Use buffer if there's no region
3545 (bug#9429).
fece895e 3546
5e68ce4a
JL
35472011-09-09 Juri Linkov <juri@jurta.org>
3548
3549 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3550 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3551 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3552
0a6b9622
AM
35532011-09-09 Alan Mackenzie <acm@muc.de>
3554
3555 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3556 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3557
14a29deb
EZ
35582011-09-09 Eli Zaretskii <eliz@gnu.org>
3559
3560 Fix for Savannah bug#9392.
3561 * simple.el (mail-encode-mml): New defvar.
3562
3563 * mail/rmail.el (mail-encode-mml): Add a defvar.
3564 (rmail-enable-mime-composing): Default to t.
3565 (rmail-forward): Use MIME method of forwarding only if both
3566 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3567 Set mail-encode-mml non-nil if the MIME method was used.
3568
3569 * mail/sendmail.el (mml-to-mime): Add autoload form.
3570 (mail-encode-mml): Add a defvar.
3571 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3572 to nil.
3573 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3574 message through mml-to-mime, and reset mail-encode-mml to nil.
3575
28c45130
GM
35762011-09-09 Glenn Morris <rgm@gnu.org>
3577
3578 * woman.el (woman-if-body): When processing an .el block,
3579 do not delete the next .el block as well. (Bug#9447)
69f4b618 3580 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3581
9b1c252e
MR
35822011-09-08 Martin Rudalics <rudalics@gmx.at>
3583
3584 * window.el (window-deletable-p): Make sure window is live before
3585 invoking window-prev-buffers.
3586
567457e3
LL
35872011-09-08 Leo Liu <sdl.web@gmail.com>
3588
3589 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3590
97f05794
JL
35912011-09-08 Juri Linkov <juri@jurta.org>
3592
3593 * progmodes/compile.el (compilation-environment): Make it
3594 a defcustom (bug#8340).
3595
8b0874b5
MR
35962011-09-08 Martin Rudalics <rudalics@gmx.at>
3597
3598 * window.el (frame-auto-delete): Rename to window-auto-delete.
3599 Make it control auto-deletion of windows and/or frames.
3600 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3601 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3602 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3603 Rewrite handling of case when window/frame can be deleted.
3604 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3605 argument t. (Bug#9456)
8b0874b5 3606
4feb6e73
CY
36072011-09-07 Chong Yidong <cyd@stupidchicken.com>
3608
3609 * help-mode.el (help-mode): Restore autoload.
3610
91ab9c13
JL
36112011-09-07 Juri Linkov <juri@jurta.org>
3612
3613 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3614 `compilation-environment'. Set buffer-local
3615 `compilation-environment' to `thisenv' later after (funcall mode).
3616 (Bug#8340)
3617
3618 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3619 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3620 instead of replacing its value. (Bug#8340)
3621
0527e251
JL
36222011-09-07 Juri Linkov <juri@jurta.org>
3623
3624 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3625 based on text properties put by `grep-filter' instead of matching
3626 escape sequences.
3627 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3628 to the value of `grep-error-screen-columns' (bug#9438).
3629
249f792c
JL
36302011-09-07 Juri Linkov <juri@jurta.org>
3631
3632 * simple.el (next-error-highlight, next-error-highlight-no-select):
3633 Doc fix (bug#9432).
3634
ff7271b9
OT
36352011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3636
3637 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3638 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3639
183fc730
LL
36402011-09-07 Leo Liu <sdl.web@gmail.com>
3641
3642 * net/rcirc.el (rcirc-mode): Conditionally initialize
3643 rcirc-input-ring.
3644
77694924
SM
36452011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * emacs-lisp/find-func.el (find-function-C-source): Only set
3648 find-function-C-source-directory after checking that we found a source
3649 file there (bug#9440).
3650
d809b8eb
AM
36512011-09-06 Alan Mackenzie <acm@muc.de>
3652
3653 * isearch.el (isearch-other-meta-char): Wherever a key list is
3654 unread, "unread" the prefix arg, too. This fixes bug #8901.
3655
453de99f
OG
36562011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3657
3658 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3659
90439906
JL
36602011-09-05 Juri Linkov <juri@jurta.org>
3661
3662 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3663
f62bd846
JL
36642011-09-05 Juri Linkov <juri@jurta.org>
3665
3666 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3667 keeping point where processing of grep matches begins, and
3668 continue to delete remaining escape sequences from the same point.
3669 (grep-filter): Make leading zero optional in "0?1;31m" because
3670 git-grep emits "\033[1;31m" escape sequences unlike expected
3671 "\033[01;31m" as GNU Grep does (bug#9408).
3672 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3673
045820ec
JL
36742011-09-05 Juri Linkov <juri@jurta.org>
3675
3676 * subr.el (y-or-n-p): Capitalize "yes".
3677
f5e29b9b
MA
36782011-09-04 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3681 `tramp-cache-unload-hook' where appropriate.
3682 (tramp-methods): Rename `tramp-remote-sh' to
3683 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3684 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3685
3686 * net/tramp-sh.el (top): Don't require 'shell.
3687 (tramp-methods): Add `tramp-remote-shell' and
3688 `tramp-remote-shell-args' entries.
3689 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3690 (tramp-sh-handle-shell-command): Remove.
3691 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3692 Use `tramp-remote-shell'.
3693
2784c434
CY
36942011-09-03 Chong Yidong <cyd@stupidchicken.com>
3695
393a301e 3696 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3697 (sendmail-query-once): Save directly to send-mail-function.
3698 Update message-send-mail-function too.
3699
3700 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3701
464cdf56
CS
37022011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3703
3704 * progmodes/python.el (python-mode-map): Use correct function to
3705 start python interpreter from menu-bar (as reported by Geert
3706 Kloosterman).
3707 (inferior-python-mode-map): Fix typo.
393a301e 3708 (python-shell-map): Remove.
464cdf56 3709
d37e5c87
DD
37102011-09-03 Deniz Dogan <deniz@dogan.se>
3711
3712 * net/rcirc.el (rcirc-print): Simplify code for
3713 rcirc-scroll-show-maximum-output. There is no need to walk
3714 through all windows to find the right one.
3715
f3ada0ee
CS
37162011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3717
3718 * help.el (help-return-method): Doc fix.
3719
1f3c99ca
MR
37202011-09-03 Martin Rudalics <rudalics@gmx.at>
3721
3722 * window.el (window-deletable-p): Don't return a non-nil value
3723 when there's a buffer that was shown in the window before.
3724 (Bug#9419)
393a301e
SM
3725 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3726 Set window's previous buffers to nil.
1f3c99ca 3727
a3cf097f
EZ
37282011-09-03 Eli Zaretskii <eliz@gnu.org>
3729
3730 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3731 newline before and after the tag line, so it doesn't interfere
3732 with determining the paragraph direction of bidirectional text.
3733
3d03de90
LL
37342011-09-03 Leo Liu <sdl.web@gmail.com>
3735
3736 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3737
c3313451
CY
37382011-09-02 Chong Yidong <cyd@stupidchicken.com>
3739
393a301e 3740 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3741 (pop-to-buffer): Change interactive spec. Pass second argument
3742 directly to display-buffer.
3743 (display-buffer): Fix interactive spec. Use functionp to
3744 distinguish between a function and a list of functions.
3745
3746 * abbrev.el (edit-abbrevs):
3747 * arc-mode.el (archive-extract):
3748 * autoinsert.el (auto-insert):
3749 * bookmark.el (bookmark-bmenu-list):
3750 * files.el (find-file):
3751 * view.el (view-buffer):
3752 * progmodes/compile.el (compilation-goto-locus):
3753 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3754
89894cd8
CY
37552011-09-02 Chong Yidong <cyd@stupidchicken.com>
3756
3757 * window.el (display-buffer-alist): Doc fix.
3758 (display-buffer): Add docstring. Don't treat
3759 display-buffer-default specially.
3760 (display-buffer-reuse-selected-window)
3761 (display-buffer-same-window, display-buffer-maybe-same-window)
3762 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3763 (display-buffer-pop-up-window)
3764 (display-buffer-reuse-or-pop-window)
3765 (display-buffer-use-some-window): New functions.
3766 (display-buffer-default-action): Use them.
393a301e 3767 (display-buffer-default): Delete.
89894cd8
CY
3768 (pop-to-buffer-1): Fix choice of actions.
3769
ae0bc9fb
SM
37702011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * minibuffer.el (completion--insert-strings): Don't get confused by
3773 completion entries that end with an LF char.
3774
e9d90883
EZ
37752011-09-01 Eli Zaretskii <eliz@gnu.org>
3776
3777 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3778
437014c8
CY
37792011-09-01 Chong Yidong <cyd@stupidchicken.com>
3780
3781 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3782 (display-buffer-same-window, display-buffer-other-window):
3783 New functions.
437014c8
CY
3784 (pop-to-buffer-1): New function. Use the above.
3785 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3786 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3787
3788 * view.el (view-buffer-other-window, view-buffer-other-frame):
3789 Just use pop-to-buffer.
3790
a5e063d5
TV
37912011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3792
3793 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3794
793d32bb
WH
37952011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3796
3797 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3798
d65e4c15
RS
37992011-08-31 Richard Stallman <rms@gnu.org>
3800
3801 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3802 of the separation of rmail-view-buffer from rmail-buffer.
3803 If you say no to "replace original", the decrypt is in the
3804 view buffer. If you say yes, the decrypt goes into the
3805 rmail buffer also.
3806
f818cd2a
MR
38072011-08-31 Martin Rudalics <rudalics@gmx.at>
3808
3809 * window.el (display-buffer-window): Rewrite doc-string.
3810 (display-buffer-record-window): New function.
3811 (display-buffer-macro-specifiers)
3812 (display-buffer-even-window-sizes, display-buffer-set-height)
3813 (display-buffer-set-width, display-buffer-in-window)
3814 (display-buffer-reuse-window, display-buffer-split-specifiers)
3815 (display-buffer-side-specifiers, display-buffer-split-window-1)
3816 (display-buffer-split-window, display-buffer-split-atom-window)
3817 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3818 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3819 (display-buffer-other-window-means-other-frame)
3820 (display-buffer-normalize-special)
3821 (display-buffer-normalize-default)
3822 (display-buffer-normalize-argument)
3823 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3824 (display-buffer-normalize-specifiers, display-buffer-frame)
3825 (display-buffer-same-window, display-buffer-same-frame)
3826 (display-buffer-other-window)
3827 (display-buffer-same-frame-other-window)
3828 (display-buffer-other-frame, pop-to-buffer-same-window)
3829 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3830 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3831 (switch-to-buffer-same-frame)
3832 (switch-to-buffer-other-window-same-frame)
3833 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3834 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3835 (display-buffer-alist-set): Remove.
3836 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3837 (special-display-regexps, special-display-function):
3838 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3839 parameter.
3840 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3841 (special-display-frame-alist, special-display-popup-frame)
3842 (same-window-buffer-names, same-window-regexps, same-window-p)
3843 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3844 (split-window-preferred-function, split-height-threshold)
3845 (split-width-threshold, window-splittable-p)
3846 (split-window-sensibly, window--try-to-split-window)
3847 (window--frame-usable-p, even-window-heights)
3848 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3849 (window--display-buffer-2, display-buffer-other-frame):
3850 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3851 (display-buffer-default, display-buffer-assq-regexp): New functions.
3852 (display-buffer-alist): Rewrite doc-string.
3853 (display-buffer-default-action)
3854 (display-buffer-overriding-action): New variables.
3855 (display-buffer, switch-to-buffer): Rewrite.
3856 (pop-to-buffer): Restore Emacs 23 behavior but use
3857 window-normalize-buffer-to-display.
3858 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3859 Restore Emacs 23 behavior but use
3860 window-normalize-buffer-to-switch-to.
3861 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3862 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3863 Rewrite using Emacs 23 options.
f818cd2a 3864
5bc3b51d
MA
38652011-08-31 Michael Albinus <michael.albinus@gmx.de>
3866
3867 * net/tramp.el (tramp-root-regexp): Remove.
3868 (tramp-completion-file-name-regexp-unified)
3869 (tramp-completion-file-name-regexp-separate)
3870 (tramp-completion-file-name-regexp-url): Don't use leading volume
3871 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3872 (tramp-drop-volume-letter): Simplify definition.
3873 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3874
b1a4f8e1
SM
38752011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3878 (bug#9356).
3879
5664fa7b
RT
38802011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3881
b1a4f8e1 3882 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3883
9a45d6c3
JL
38842011-08-29 Juri Linkov <juri@jurta.org>
3885
3886 * isearch.el (isearch-done): Don't display message "Mark saved"
3887 when arg `edit' is non-nil to prevent its flicker in the echo area.
3888
fb87e0fb
CY
38892011-08-28 Chong Yidong <cyd@stupidchicken.com>
3890
3891 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3892 obsolete packages for deletion.
3893
09ac1c2a
CS
38942011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3895
3896 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3897 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3898 view-mode from help-mode.
3899 (help-xref-override-view-map): Remove.
3900 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3901 view-mode is not used anymore.
3902
7a1ff57f
CY
39032011-08-28 Chong Yidong <cyd@stupidchicken.com>
3904
3905 * server.el (server-port): Doc fix.
3906
b9696605
CY
3907 * cus-theme.el (custom-theme-choose-mode): Inherit from
3908 special-mode (Bug#9124).
3909 (custom-theme-choose-mode-map): Add special-mode to parent.
3910
ef8cdf8c
AM
39112011-08-28 Alan Mackenzie <acm@muc.de>
3912
3913 * progmodes/cc-fonts.el
3914 (c-make-font-lock-BO-decl-search-function): New function.
3915 (c-basic-matchers-after - "Fontify the clauses after various
3916 keywords"): Extract the three keyword lists for the 3 erroneous
3917 constructs from the list of four, and use the new function above
3918 in place of an old one.
3919
27de4e20
DD
39202011-08-28 Deniz Dogan <deniz@dogan.se>
3921
3922 * net/rcirc.el (rcirc-insert-prev-input)
3923 (rcirc-insert-next-input): Remove unused argument.
3924
356a3681
SM
39252011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3928
3fc9b218
AM
39292011-08-27 Alan Mackenzie <acm@muc.de>
3930
3931 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3932 handle function pointer parameters properly.
3933
538a061c
MR
39342011-08-27 Martin Rudalics <rudalics@gmx.at>
3935
3936 * window.el (display-buffer-reuse-window): Fix case where
3937 selected window was reused with non-nil OTHER-WINDOW argument.
3938 (Bug#9381)
3939
35b1c40c
DD
39402011-08-27 Deniz Dogan <deniz@dogan.se>
3941
3942 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3943 oftc's NickServ messages.
3944
2f6a3e79
GM
39452011-08-27 Glenn Morris <rgm@gnu.org>
3946
3947 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3948
7254299e
CY
39492011-08-26 Chong Yidong <cyd@stupidchicken.com>
3950
3951 * emacs-lisp/package.el (package-install): Call package-initialize
3952 if called interactively.
3953
f8ccf167
LL
39542011-08-26 Leo Liu <sdl.web@gmail.com>
3955
3956 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3957
3e8cd5ce
JL
39582011-08-25 Juri Linkov <juri@jurta.org>
3959
3960 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3961 `search-whitespace-regexp' (bug#9364).
3962
93eb7113
JL
39632011-08-25 Juri Linkov <juri@jurta.org>
3964
3965 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3966 `regexp-search-ring' to their global values to protect from
3967 updating by `read-from-minibuffer' (bug#9185).
3968
f65d1611
JL
39692011-08-25 Juri Linkov <juri@jurta.org>
3970
3971 * textmodes/ispell.el (ispell-command-loop): Add newline
3972 at the end of the "Use option `i'..." line.
3973
f1cf7a31
JL
39742011-08-25 Juri Linkov <juri@jurta.org>
3975
3976 * battery.el (display-battery-mode): If `battery-status-function'
3977 or `battery-mode-line-format' is nil, display the message and set
3978 `display-battery-mode' to nil (bug#9363).
3979
0c95fcf7
EZ
39802011-08-25 Eli Zaretskii <eliz@gnu.org>
3981
3982 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3983 bidi-string-mark-left-to-right; they are unnecessary now.
3984
a2ebe600
DD
39852011-08-25 Deniz Dogan <deniz@dogan.se>
3986
3987 * net/quickurl.el: Documentation typo fixes.
3988
e4ed06f1
CY
39892011-08-25 Chong Yidong <cyd@stupidchicken.com>
3990
3991 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3992
e5f1c99e
GM
39932011-08-25 Glenn Morris <rgm@gnu.org>
3994
b2948976
GM
3995 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3996
e5f1c99e
GM
3997 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3998 (smtpmail-via-smtp): Handle nil response from smtp.
3999
f22f4808
JL
40002011-08-24 Juri Linkov <juri@jurta.org>
4001
4002 * proced.el (proced-marked): Inherit from `error' instead of
4003 `font-lock-warning-face'.
4004
4005 * ibuffer.el (ibuffer-marked-face): Change default face from
4006 `font-lock-warning-face' to `warning'.
4007 (ibuffer-deletion-face): Change default face from
4008 `font-lock-type-face' to `error'.
4009
4010 * battery.el (battery-update): Use the face `error' instead of
4011 `font-lock-warning-face' (bug#6117).
4012
6a93965e
JL
40132011-08-24 Juri Linkov <juri@jurta.org>
4014
4015 * faces.el (success): Change face color from "Green3" to
4016 "ForestGreen" on light background (bug#9353).
4017
1ed43b09
CY
40182011-08-24 Chong Yidong <cyd@stupidchicken.com>
4019
5664fa7b
RT
4020 * window.el (quit-window): Rename from quit-restore-window.
4021 Use same arglist as old quit-window.
1ed43b09
CY
4022 (frame-auto-delete): Doc fix.
4023
4024 * view.el (view-mode-exit): Use quit-window.
4025
11dcdbb2
JL
40262011-08-24 Juri Linkov <juri@jurta.org>
4027
4028 * isearch.el (isearch-ring-adjust1): Start visiting previous
4029 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4030 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4031 for empty search string (when the last search string is reused
4032 automatically) to adjust the isearch ring to the last element and
4033 prepare the correct index for further M-p commands (bug#9185).
4034
de62b4df
KH
40352011-08-24 Kenichi Handa <handa@m17n.org>
4036
4037 * international/ucs-normalize.el: If decomposition property of
4038 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4039 nil.
4040 (nfd, nfkd): Likewise.
4041
963b492b
SM
40422011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4043
4044 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4045 from process filters aren't reliably transmitted to the surrounding
4046 accept-process-output.
4047 (mpc-proc-check): New function.
4048 (mpc-proc-sync): Use it (bug#8293)
4049
93b6b5e1
SM
40502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4053 Add compatibility functions (bug#9313).
4054
bca633fb
EZ
40552011-08-23 Eli Zaretskii <eliz@gnu.org>
4056
b177498a
EZ
4057 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4058
6df6ae42 4059 * international/uni-bidi.el: Regenerate.
bca633fb 4060
0902a04e
KH
40612011-08-23 Kenichi Handa <handa@m17n.org>
4062
4063 * international/charprop.el:
4064 * international/uni-bidi.el:
4065 * international/uni-category.el:
4066 * international/uni-combining.el:
4067 * international/uni-comment.el:
4068 * international/uni-decimal.el:
4069 * international/uni-decomposition.el:
4070 * international/uni-digit.el:
4071 * international/uni-lowercase.el:
4072 * international/uni-mirrored.el:
4073 * international/uni-name.el:
4074 * international/uni-numeric.el:
4075 * international/uni-old-name.el:
4076 * international/uni-titlecase.el:
4077 * international/uni-uppercase.el: Regenerate.
4078
3bbf23bc
MR
40792011-08-23 Martin Rudalics <rudalics@gmx.at>
4080
4081 * help.el (help-window-setup): Fix message displayed when other
4082 window is reused. (Bug#9341)
4083
b3fd59bd
SM
40842011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4085
1802e444
SM
4086 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4087 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4088
b3fd59bd
SM
4089 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4090 Mark obsolete.
4091 * shell.el (shell-parse-pcomplete-arguments): New function.
4092 (shell-completion-vars): Use it instead (bug#9160).
4093
4eb61348
SM
40942011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4095
867cab74
SM
4096 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4097 strings and comments (bug#9333).
4098
4eb61348
SM
4099 * emacs-lisp/debug.el (debug-arglist): New function.
4100 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4101 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4102
262a1439
JL
41032011-08-22 Juri Linkov <juri@jurta.org>
4104
56ee679c
JL
4105 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4106 Revert regexp that highlights output switches to its old
4107 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4108
262a1439
JL
4109 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4110 to check for empty output (bug#9226).
4111
f13f86fb
CY
41122011-08-22 Chong Yidong <cyd@stupidchicken.com>
4113
4114 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4115 symbol-constituent as the default, as that stops font-lock from
4116 working properly (Bug#8843).
4117
c65c9622
LMI
41182011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4119
4120 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4121 `coding-system-for-*' around the process open call to avoid
4122 auth-source side effects.
e7f2c178 4123 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4124 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4125 probe hangs.
c65c9622 4126
23a8a5ab
CY
41272011-08-21 Chong Yidong <cyd@stupidchicken.com>
4128
ff98b2dd
CY
4129 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4130
23a8a5ab
CY
4131 * emacs-lisp/find-func.el (find-function-noselect): New arg
4132 lisp-only.
4133
4134 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4135 signal an error for built-in functions (Bug#6664).
4136
f5e3c598
LMI
41372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4138
4139 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4140 (smtpmail-try-auth-methods): Use it.
4141
a3f2468a
CY
41422011-08-21 Chong Yidong <cyd@stupidchicken.com>
4143
2c34e8da
CY
4144 * font-lock.el (font-lock-fontify-region)
4145 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4146 (font-lock-default-unfontify-buffer)
4147 (font-lock-default-fontify-region)
4148 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4149
b3fd59bd
SM
4150 * progmodes/compile.el (compilation-error-properties):
4151 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4152 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4153 `ant' regexp.
ee31aabc 4154
a3f2468a
CY
4155 * net/browse-url.el (browse-url-firefox): Don't call
4156 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4157
8e999f70
GM
41582011-08-20 Glenn Morris <rgm@gnu.org>
4159
c21a496a
GM
4160 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4161
59ee0542
GM
4162 * tutorial.el (tutorial--default-keys): Update some default bindings.
4163
8e999f70
GM
4164 * files.el (hack-local-variables): Fully ignore case for "mode:".
4165
e3715033
AM
41662011-08-20 Alan Mackenzie <acm@muc.de>
4167
4168 Resolve invalid use of a regexp in regexp-opt.
4169
4d61f28d
JB
4170 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4171 detection for a java annotation.
e3715033 4172
4d61f28d 4173 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4174 detection for a java annotation.
4175
4d61f28d
JB
4176 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4177 handling for java.
e3715033
AM
4178 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4179
04ed2e9c
CY
41802011-08-20 Chong Yidong <cyd@stupidchicken.com>
4181
4182 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4183 (Bug#9274).
4184
826cee64
AM
41852011-08-20 Alan Mackenzie <acm@muc.de>
4186
58179cce 4187 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4188 such a construct. Mainly for when jit-lock etc. starts a chunk
4189 here.
4190
58179cce 4191 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4192 variable.
58179cce 4193 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4194 c-make-font-lock-search-function.
4195 (c-make-font-lock-search-function): Use the above function.
4196 (c-make-font-lock-context-search-function): New function.
4197 (c-cpp-matchers): Enhance the preprocessor expression case with
4198 the above function
4199 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4200 which takes an expression.
4201
4202 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4203
13009bd8
MR
42042011-08-20 Martin Rudalics <rudalics@gmx.at>
4205
4206 * window.el (display-buffer-reuse-window)
4207 (display-buffer-pop-up-window): Don't reuse or split a side
4208 window.
4209
9234ff7f
GM
42102011-08-19 Glenn Morris <rgm@gnu.org>
4211
4212 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4213 Downcase "Mode:". (Bug#9331)
9234ff7f 4214
f635daa1
CY
42152011-08-18 Chong Yidong <cyd@stupidchicken.com>
4216
4217 * international/characters.el: Add L and R categories.
4218
4219 * subr.el (bidi-string-mark-left-to-right): Rename from
4220 string-mark-left-to-right. Use category search.
4221
4222 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4223
bc987f8b
JL
42242011-08-18 Juri Linkov <juri@jurta.org>
4225
4226 * faces.el (error, warning, success): New faces with definitions
4227 copied from old default values of `font-lock-warning-face',
4228 `compilation-warning', `compilation-info' (bug#6117).
4229
4230 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4231
4232 * progmodes/compile.el (compilation-error): Inherit from `error'.
4233 (compilation-warning): Inherit from `warning'.
4234 (compilation-info): Inherit from `success'.
4235
4236 * dired.el (dired-marked): Inherit from `warning'.
4237 (dired-flagged): Inherit from `error'.
4238
57173b96
LMI
42392011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4240
3e79eb87
LMI
4241 * mail/smtpmail.el (auth-source): Require to avoid problems with
4242 binding variables (bug#9298). Also clean up some unused
4243 autoloads.
4244
b3fd59bd
SM
4245 * net/network-stream.el (network-stream-open-starttls):
4246 Support using starttls.el without using gnutls-cli.
57173b96 4247
02b404de
JL
42482011-08-17 Juri Linkov <juri@jurta.org>
4249
4250 * progmodes/grep.el (rgrep): Handle the case when
4251 `grep-find-command' is a cons cell (bug#9278).
4252
8c9177f2
MR
42532011-08-17 Martin Rudalics <rudalics@gmx.at>
4254
4255 * window.el (display-buffer-pop-up-frame): Run frame creation
4256 function with BUFFER current (as special-display-popup-frame
4257 does). Reported by Drew Adams.
4258
3644a0ab
DU
42592011-08-17 Daiki Ueno <ueno@unixuser.org>
4260
4261 * epa-mail.el: Simplify GnuPG group expansion using
4262 epg-expand-group.
4263 (epa-mail-group-alist, epa-mail-group-modtime)
4264 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4265 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4266 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4267 Remove.
4268
5e617bc2 42692011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4270
4271 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4272
9c4aeabf
AM
42732011-08-16 Alan Mackenzie <acm@muc.de>
4274
4275 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4276 Correct, to avoid the inside of macros.
4277
3a99bf64
RS
42782011-08-16 Richard Stallman <rms@gnu.org>
4279
04963aa8
RS
4280 * epa-mail.el: Handle GnuPG group definitions.
4281 (epa-mail-group-alist, epa-mail-group-modtime)
4282 (epa-mail-gnupg-conf-file): New variables.
4283 (epa-mail-parse-groups, epa-mail-sync-groups)
4284 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4285 (epa-mail-expand-recipients): New functions.
4286 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4287
177549d0
RS
4288 * mail/rmail.el (rmail-epa-decrypt): New command.
4289
fe38beef
RS
4290 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4291 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4292 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4293 (epa-decrypt-armor-in-region): Make error message clearer.
4294
934eacb9
SM
42952011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4298 and "a2b" to "ab" for `prefix'.
4299
d024fb4e
CY
43002011-08-14 Chong Yidong <cyd@stupidchicken.com>
4301
4302 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4303 filter groups.
de148fee
CY
4304 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4305 Fourquet (Bug#8804).
d024fb4e 4306
62f1ca49
JB
43072011-08-12 Juanma Barranquero <lekktu@gmail.com>
4308
4309 * startup.el (argi): Declare as global variable (bug#9275).
4310
9ccaaa4b
CY
43112011-08-12 Chong Yidong <cyd@stupidchicken.com>
4312
4313 * subr.el (string-mark-left-to-right): Search the entire string
4314 for RTL script, not just the terminating character. Doc fix.
4315
a3dae87a
SM
43162011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4317
6cd18349
SM
4318 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4319 New function.
4320 (js--regexp-literal, js-syntax-propertize-function): Remove.
4321 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4322 (js-mode-map): Don't rebind electric keys.
4323 (js-insert-and-indent): Remove.
4324 (js-mode): Setup electric-layout and electric-indent instead.
4325
a3dae87a
SM
4326 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4327
9d5cb631
DU
43282011-08-12 Daiki Ueno <ueno@unixuser.org>
4329
4330 * epa.el (epa-progress-callback-function): Fix the logic of
4331 displaying progress.
4332 * epa-file.el (epa-file-insert-file-contents): Make progress
4333 display more user-friendly.
4334 (epa-file-write-region): Ditto.
4335
3e26a4a2
CY
43362011-08-10 Chong Yidong <cyd@stupidchicken.com>
4337
4338 * subr.el (string-mark-left-to-right): New function.
4339
4340 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4341 Use string-mark-left-to-right.
4342 (list-buffers-noselect): Caller changed.
4343
a3dae87a
SM
4344 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4345 Use string-mark-left-to-right.
3e26a4a2
CY
4346 (tabulated-list-print): Recenter after moving point.
4347
ac8cf6e6
JL
43482011-08-10 Juri Linkov <juri@jurta.org>
4349
4350 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4351 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4352 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4353
8d96c9a4
CY
43542011-08-09 Chong Yidong <cyd@stupidchicken.com>
4355
4356 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4357 (Bug#7554).
4358
7be1c708 43592011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4360
4361 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4362 character. (Bug#6594)
4363
37e11a63
CY
43642011-08-08 Chong Yidong <cyd@stupidchicken.com>
4365
839dde57
CY
4366 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4367 (image-dired--with-db-file): New macro.
4368 (image-dired-write-tags, image-dired-remove-tag)
4369 (image-dired-create-gallery-lists, image-dired-write-comments)
4370 (image-dired-get-comment, image-dired-mark-tagged-files)
4371 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4372 (image-dired-gallery-generate): Use insert-file-contents.
4373
37e11a63
CY
4374 * time.el (display-time-world-list, display-time-world-display):
4375 * time-stamp.el (time-stamp-string):
4376 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4377 set-time-zone-rule (Bug#7337).
4378
0b4946c4
DU
43792011-08-08 Daiki Ueno <ueno@unixuser.org>
4380
4381 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4382 (epg-error-to-string, epg-errors-to-string): New function.
4383 (epg-wait-for-completion): Reverse errors list.
4384 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4385 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4386 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4387 (epg-sign-keys, epg-generate-key-from-file)
4388 (epg-generate-key-from-string): Format errors by using
4389 epg-errors-to-string (bug#9255).
4390 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4391
75bfc667
JL
43922011-08-07 Juri Linkov <juri@jurta.org>
4393
4394 * faces.el (list-faces-display): Remove extra angle bracket
4395 from `help-mode-map'.
4396
4397 * info.el (Info-history-toc-nodes): Doc fix.
4398
4399 * longlines.el (longlines-mode): Doc fix.
4400
673e08bb
SM
44012011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4640dd88
SM
4403 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4404 of statements and in a few more cases (bug#9183).
4405
673e08bb
SM
4406 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4407 New functions.
4408 (cl-transform-lambda): Use them (bug#9239).
4409
89b3f019
MR
44102011-08-05 Martin Rudalics <rudalics@gmx.at>
4411
4412 * window.el (display-buffer-same-window)
4413 (display-buffer-same-frame, display-buffer-other-window)
4414 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4415 (pop-to-buffer-other-window)
4416 (pop-to-buffer-same-frame-other-window)
4417 (pop-to-buffer-other-frame): Make them defuns.
4418 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4419
640c8776
SM
44202011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * subr.el (make-composed-keymap): Move from C. Change calling
4423 convention, and improve docstring to bring attention to a subtle point.
4424 * minibuffer.el (completing-read-default): Adjust accordingly.
4425
63648a95
MA
44262011-08-03 Michael Albinus <michael.albinus@gmx.de>
4427
4428 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4429 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4430
4431 * net/trampver.el: Update release number.
4432
b796c9b7
SM
44332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4436 "in" (bug#9190).
4437
2239d7d5
LMI
44382011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4439
e07dd7c3
LMI
4440 * mail/sendmail.el (sendmail-query-once): Restore the current
4441 buffer after querying (bug#9074).
4442
0e6a2bd7
LMI
4443 * dired.el (dired-flagged): Use different faces for marked and
4444 flagged files (bug#6117).
4445
ce887515
LMI
4446 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4447 (bug#4433).
4448
92f2affc
LMI
4449 * ido.el (ido-mode): Switch off the message if called
4450 non-interactively.
4451
57d5aff0
LMI
4452 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4453 before 587, since it appears that that's more likely to work for
4454 more people.
4455
98cd6c18 4456 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4457 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4458 exist.
4459
b96dec83
LMI
4460 * info.el: Remove the `Info-beginning-of-buffer' function
4461 (bug#8325).
4462
b796c9b7
SM
4463 * net/network-stream.el (network-stream-open-starttls):
4464 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4465
d90e2ea0
MR
44662011-08-01 Martin Rudalics <rudalics@gmx.at>
4467
4468 * window.el (display-buffer-in-window): Don't set dedicated status
4469 of window here (Bug#9215).
4470 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4471 (display-buffer-pop-up-side-window)
b796c9b7 4472 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4473
cca09170
SM
44742011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4477 before binding generated-autoload-file.
4478
027b979c
DD
44792011-08-01 Deniz Dogan <deniz@dogan.se>
4480
4481 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4482
3c7ee4f3
MA
44832011-07-30 Michael Albinus <michael.albinus@gmx.de>
4484
4485 Sync with Tramp 2.2.2.
4486
4487 * net/trampver.el: Update release number.
4488
2cc8e51a
JL
44892011-07-30 Juri Linkov <juri@jurta.org>
4490
4491 * dired-aux.el (dired-touch-initial): Remove function.
4492 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4493 current time, and `default' to the last modification time of the
4494 current marked file (bug#6887).
4495
a514d856
JM
44962011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4497
4498 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4499 numeric argument to read-number (bug#9163).
a514d856 4500
8a7eddd7
MA
45012011-07-27 Michael Albinus <michael.albinus@gmx.de>
4502
4503 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4504 connection process, it could be nil.
4505
1ddd96f5
LL
45062011-07-27 Leo Liu <sdl.web@gmail.com>
4507
4508 Simplify url handling in rcirc-mode.
4509
4510 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4511 (rcirc-browse-url-at-mouse): Remove.
4512 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4513
b248a85d
AM
45142011-07-26 Alan Mackenzie <acm@muc.de>
4515
4516 Fontify bitfield declarations properly.
4517
4518 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4519 (c-symbol-chars): Now exported as a lang variable.
4520 (c-not-primitive-type-keywords): New lang variable.
4521
4522 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4523 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4524 parsed as a bitfield declaration.
b248a85d 4525
b796c9b7
SM
4526 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4527 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4528 (c-punctuation-in): New function.
4529 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4530 declarations properly.
4531
68575ab0
UJ
45322011-07-26 Ulf Jasper <ulf.jasper@web.de>
4533
4534 * calendar/icalendar.el (icalendar--all-events): Take care of
4535 multiple vcalendars in a single file.
b796c9b7 4536 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4537
0f0a88b9
DD
45382011-07-25 Deniz Dogan <deniz@dogan.se>
4539
4540 * image.el (insert-image): Clarifying docstring.
4541
0b3f36df
MA
45422011-07-24 Michael Albinus <michael.albinus@gmx.de>
4543
4544 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4545 `tramp-send-command-and-check' if there is no error.
4546 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4547
a9901f61
AM
45482011-07-22 Alan Mackenzie <acm@muc.de>
4549
4550 Prevent cc-langs.elc being loaded at run time.
4551
4552 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4553 cc-langs.
4554
4d61f28d 4555 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4556 "(require 'cc-langs)". Quote a form so it will evaluate at
4557 (cc-mode's) compilation time.
4558
11d074b2
MA
45592011-07-22 Michael Albinus <michael.albinus@gmx.de>
4560
4561 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4562 loading. (Bug#9114)
4563
938b94c8
MR
45642011-07-21 Martin Rudalics <rudalics@gmx.at>
4565
4566 * window.el (display-buffer-pop-up-window)
4567 (display-buffer-pop-up-side-window)
4568 (display-buffer-in-side-window): Call display-buffer-set-height
4569 and display-buffer-set-width after setting the new window's
b796c9b7 4570 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4571
bfa4f190
SS
45722011-07-20 Sam Steingold <sds@gnu.org>
4573
4574 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4575 (etags-tags-included-tables): Call `convert-standard-filename' on
4576 the file names contained in TAGS so that windows Emacs can handle
4577 TAGS files created by cygwin ctags.
4578
8ca42262
LMI
45792011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4580
4581 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4582 which apparently didn't work.
4583
5db2afd2 45842011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4585
5db2afd2
RW
4586 * proced.el (proced-send-signal): For *Marked Processes* buffer
4587 put point at beginning of buffer.
4588
92e15d10
SB
45892011-07-19 Stephen Berman <stephen.berman@gmx.net>
4590
4591 * proced.el (proced-format): Make header lines align with the text
4592 (bug#1779).
4593
1bfd59e5
LMI
45942011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4595
4596 * view.el (view-buffer): Allow running in `special' modes if we're
4597 visiting a file (bug#8615).
4598
f5aae37c
MR
45992011-07-19 Martin Rudalics <rudalics@gmx.at>
4600
4601 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4602 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4603 New functions.
f5aae37c
MR
4604 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4605 more accurately.
4606
bf2c1571
AM
46072011-07-18 Alan Mackenzie <acm@muc.de>
4608
4609 Fontify declarators properly when, e.g., a jit-lock chunk begins
4610 inside a declaration.
4611
4612 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4613
b796c9b7
SM
4614 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4615 New function.
bf2c1571
AM
4616 (c-complex-decl-matchers): Insert reference to
4617 c-font-lock-enclosing-decls.
4618
4619 * progmodes/cc-engine.el (c-backward-single-comment):
4620 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4621 to nil around calls to (forward-comment -1).
4622
4e190b80
LMI
46232011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4624
12dc863d
LMI
4625 * image.el (put-image): Doc typo fix.
4626
a762e966
LMI
4627 * progmodes/etags.el (tags-search): Doc typo fix.
4628
4e190b80
LMI
4629 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4630 password if we get errors 550 to 554.
4631
f019fb21
LMI
46322011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4633
b796c9b7 4634 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4635
81746738
LMI
4636 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4637 indentation character (bug#6380).
4638
3ee3a1b5
LMI
4639 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4640
c82f64de
LMI
4641 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4642 to clarify what the problem is (bug#4291).
4643
f019fb21
LMI
4644 * simple.el (current-kill): Clarify what
4645 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4646 (auto-fill-mode): Document `auto-fill-function' in relation to
4647 `auto-fill-mode' (bug#2470).
f019fb21 4648
0794775d
LM
46492011-07-16 Lawrence Mitchell <wence@gmx.li>
4650
4651 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4652 method if slot is read-only (bug#9035).
4653
be39b8cc
MR
46542011-07-16 Martin Rudalics <rudalics@gmx.at>
4655
b796c9b7 4656 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4657 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4658 selected before, see discussion of (Bug#8615), (Bug#6954).
4659 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4660
6ccf7859
GM
46612011-07-15 Glenn Morris <rgm@gnu.org>
4662
4663 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4664 Respect help-form.
6ccf7859 4665
87e86684
LM
46662011-07-09 Lawrence Mitchell <wence@gmx.li>
4667
4668 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4669 (gnutls-negotiate): Use it.
4670
d6066239
LMI
46712011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4672
b796c9b7
SM
4673 * net/gnutls.el (gnutls-negotiate):
4674 Upcase `gnutls-algorithm-priority'.
d6066239 4675
bd23ebc0
GM
46762011-07-15 Glenn Morris <rgm@gnu.org>
4677
c65bca65
GM
4678 * jka-compr.el (jka-compr-verbose): Move from here...
4679 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4680 Add missing :version tag.
4681 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4682
478615cc
LMI
46832011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4684
7b41decb
LMI
4685 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4686 (gnutls-negotiate): Use it.
4687
dbc44fcd
LMI
4688 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4689
06789f97
LMI
4690 * info.el (Info-beginning-of-buffer): New command.
4691 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4692 announcing `b' as the key (bug#8325).
ab896c37 4693 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4694
c39da690
LMI
4695 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4696
3aa5f34b
LMI
4697 * international/mule-cmds.el
4698 (describe-specified-language-support): Make the error message
4699 clearer (bug#8905).
4700
4bf0979f
LMI
4701 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4702
478615cc
LMI
4703 * isearch.el (isearch-barrier): Add a doc string, since it's
4704 mentioned in a function doc string (bug#8678).
4705
75c68aa1
MR
47062011-07-15 Martin Rudalics <rudalics@gmx.at>
4707
4708 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4709 buffer argument (Bug#9083) and self-identifying label argument.
4710
a7c33da2
GM
47112011-07-15 Glenn Morris <rgm@gnu.org>
4712
4713 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4714
2f5c6024
LMI
47152011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4716
4717 * man.el (Man-fontify-manpage): Fix message when formatting the
4718 man page (bug#7929).
4719
0bb23927 47202011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4721
4722 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4723 argument LRM; if non-nil, append an invisible LRM character to the
4724 buffer name.
4725 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4726 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4727 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4728 paragraph direction.
cce4b0a7 4729
621ef9ab
LMI
47302011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4731
d1583c48
LMI
4732 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4733 the man page name (bug#7929).
4734
6a57fb5f
LMI
4735 * image.el (put-image): Mention the `put-image' overlay property
4736 (bug#7834).
4737
d7956b14
LMI
4738 * scroll-bar.el (set-scroll-bar-mode): Mention that
4739 `scroll-bar-mode' lists the values (bug#7772).
4740
5b2d4a66
LMI
4741 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4742 command (bug#7729).
4743
7509a874
LMI
4744 * rect.el (apply-on-rectangle): Return the point after the last
4745 operation.
4746 (string-rectangle): Go to the point after the last operation
4747 (bug#7522).
4748
4fe74b19
LMI
4749 * printing.el (pr-toggle-region): Clarify the documentation
4750 slightly (bug#7493).
4751
b796c9b7
SM
4752 * time.el (display-time-update):
4753 Allow `display-time-mail-function' to return nil (bug#7158).
4754 Fix suggested by Detlev Zundel.
ab283561 4755
fc233c9d
LMI
4756 * vc/diff.el (diff): Clarify the order the file names are read
4757 (bug#7111).
4758
43f5740b
LMI
4759 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4760 the doc string (bug#7015).
4761
f2182a76
LMI
4762 * font-lock.el (font-lock-maximum-decoration): Mention what
4763 numeric levels mean (bug#6935).
4764
621ef9ab
LMI
4765 * startup.el (initial-buffer-choice): Don't mention the `none'
4766 selection, which is against policy.
4767
adc47434
MR
47682011-07-14 Martin Rudalics <rudalics@gmx.at>
4769
b796c9b7
SM
4770 * window.el (display-buffer-normalize-special):
4771 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4772
7e5bfb8f
EZ
47732011-07-14 Eli Zaretskii <eliz@gnu.org>
4774
4775 * subr.el (version<, version<=, version=): Mention "-CVS" and
4776 "-12345" alpha version numbers.
4777
27fa387a
CY
47782011-07-14 Chong Yidong <cyd@stupidchicken.com>
4779
4780 * bindings.el: Add advertised binding for set-mark-command
4781 (Bug#5772).
4782
8bdfa064
CY
47832011-07-14 Chong Yidong <cyd@stupidchicken.com>
4784
4785 * bindings.el (mode-line-other-buffer):
4786 * bookmark.el (bookmark-bmenu-2-window):
4787 * bs.el (bs-cycle-next, bs-cycle-previous):
4788 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4789 switch-to-buffer.
4790
4791 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4792 Delete.
8bdfa064 4793
5eba16a3
JB
47942011-07-14 Juanma Barranquero <lekktu@gmail.com>
4795
4796 * follow.el (follow-debug-message, follow-redisplay):
4797 * jka-cmpr-hook.el (with-auto-compression-mode):
4798 Fix typos in docstrings.
4799
15853710
LMI
48002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4801
a28e4607
LMI
4802 * subr.el (with-silent-modifications): Clarify somewhat what the
4803 macro inhibits (bug#6525).
4804
15853710
LMI
4805 * simple.el (eval-expression): Note what it does if called
4806 interactively (bug#6495).
4807
bee0fcef
CY
48082011-07-13 Chong Yidong <cyd@stupidchicken.com>
4809
b796c9b7
SM
4810 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4811 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4812
4813 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4814 Remove switch-to-buffer.
4815
58274504
LMI
48162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4817
bd2fcc8d
LMI
4818 * files.el (make-directory): Clarify that an error will be raised
4819 if there's an error (bug#6397).
4820
0f04b32c
LMI
4821 * startup.el (initial-buffer-choice): Add `none' as a choice
4822 (bug#6234).
4823
465c5fc8
LMI
4824 * subr.el (add-hook): Clarify section about buffer-local hooks
4825 (bug#6218).
4826
58274504
LMI
4827 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4828
bead9a43
JB
48292011-07-13 Juanma Barranquero <lekktu@gmail.com>
4830
4831 * tabify.el (untabify): Preserve the current column so that point
4832 doesn't move (bug#6032).
4833
3af98a7b
LMI
48342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4835
b796c9b7
SM
4836 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4837 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4838
6240145a
GM
48392011-07-13 Glenn Morris <rgm@gnu.org>
4840
4841 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4842 (dired-insert-directory): Give a message the first time
4843 if ls is found not to support --dired.
4844
1d8c2ccc
LMI
48452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4846
4847 * simple.el (toggle-truncate-lines): Clarify what is toggled
4848 (bug#5580). Text by Drew Adams.
4849
5fc4038e
CY
48502011-07-13 Chong Yidong <cyd@stupidchicken.com>
4851
4852 * simple.el (blink-matching-open): Make the error message from the
4853 last change less verbose.
4854
bf6012e5
DN
48552011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4856
4857 * font-lock.el (font-lock-comment-face): Use the high contrast
4858 "yellow" color for font-lock-comment-face on low color terminals
4859 using a dark background color (bug#4221).
4860
343c3b5a
LMI
48612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4862
7e9505c5
LMI
4863 * dired.el (dired-insert-set-properties): Make the doc string
4864 reflect what it does now (bug#5325).
4865
c26fdcf5
LMI
4866 * simple.el (blink-matching-open): Say that we were unable to find
4867 the match within the limit, if we're limited (bug#5122).
4868
bb388cc5
LMI
4869 * international/mule-cmds.el (prefer-coding-system): Add an
4870 example (bug#4869).
4871
343c3b5a
LMI
4872 * progmodes/etags.el (tags-search): Document `file-list-form'
4873 (bug#4731).
4874
2a517d45
LM
48752011-07-13 Lawrence Mitchell <wence@gmx.li>
4876
4877 * net/browse-url.el (browse-url-default-browser)
4878 (browse-url-browser-function): Make the default browser choice a
4879 bit more logical (bug#4300). Also clean up the doc string.
4880
b6c78ef2
JB
48812011-07-13 Juanma Barranquero <lekktu@gmail.com>
4882
4883 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4884 binary endings (bug#4440).
4885
1c4dd947
LMI
48862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4887
a2014063
LMI
4888 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4889 which can be pretty annoying (bug#8971).
4890
9c9c2d88
LMI
4891 * jka-compr.el (jka-compr-verbose): New variable, and use
4892 throughout (bug#8971).
4893
1c4dd947
LMI
4894 * info.el (Info-find-file): Fall back on the installation
4895 directory if we can't find the info node anywhere else.
4896
a1c9f41b
SO
48972011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4898
4899 * vc/vc.el (vc-revert-file):
4900 Don't set file time-stamp in the past. (Bug#5181)
4901
536f3d36
LMI
49022011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4903
7152b011
LMI
4904 * files.el (after-find-file): Give a better error message when
4905 trying to find a symlink that points to a file that doesn't exist
4906 (bug#4398).
4907
536f3d36
LMI
4908 * progmodes/cc-vars.el: Remove (probably) misleading comment
4909 (bug#4396).
4910
460c0fba
JB
49112011-07-12 Johan Bockgård <bojohan@gnu.org>
4912
4913 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4914
7a6bda45
CY
49152011-07-12 Chong Yidong <cyd@stupidchicken.com>
4916
4917 * mouse-sel.el: Hack restoring functionality, while keeping
4918 compatibility with 2010-07-03 changes to mouse selection.
4919 (mouse-sel-primary-overlay): New var.
4920 (mouse-sel-selection-alist): Use it.
4921 (mouse-sel-mode): Doc fix; remove points that are default features
4922 of mouse.el.
4923
c79598ef
JB
49242011-07-12 Johan Bockgård <bojohan@gnu.org>
4925
4926 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4927 Fix previous fix (bug#2490).
4928
ff8be6ef
RW
49292011-07-12 Roland Winkler <winkler@gnu.org>
4930
b796c9b7
SM
4931 * textmodes/bibtex.el (bibtex-initialize):
4932 Use pop-to-buffer-same-window.
ff8be6ef
RW
4933 (bibtex-search-entries): Fix interactive call.
4934
296ba3ee
LMI
49352011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4936
f5242a02 4937 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4938 Fontise bytecomp Error lines more correctly (bug#2490).
4939 Fix suggested by Johan Bockgård.
f5242a02 4940
296ba3ee
LMI
4941 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4942
4943 * dired-x.el (dired-guess-default): Use `delete-dups'.
4944
f69fd0d2
CY
49452011-07-12 Chong Yidong <cyd@stupidchicken.com>
4946
4947 * dired.el (dired-mark-prompt):
4948 * dired-aux.el (dired-read-shell-command): Doc fix.
4949
eab5dc07
LMI
49502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4951
b796c9b7
SM
4952 * mail/sendmail.el (sendmail-query-once):
4953 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4954 emacs -Q.
4955
4956 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4957
eab5dc07
LMI
4958 * cus-edit.el (custom-file): Take an optional no-error variable.
4959 (customize-save-variable): Set the variable, and give a warning if
4960 running under "emacs -q".
4961
a1e65d42
JB
49622011-07-11 Juanma Barranquero <lekktu@gmail.com>
4963
4964 * loadhist.el (unload-feature-special-hooks):
4965 Add `auto-coding-functions', `fill-nobreak-predicate' and
4966 `find-directory-functions' (bug#5327).
4967
1d52da10
LMI
49682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4969
be958f1d
LMI
4970 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4971
5bedb26c
LMI
4972 * cus-edit.el (custom-guess-name-alist): -alist variables should
4973 use the `alist' type (bug#3120). Suggested by Drew Adams.
4974
1d52da10
LMI
4975 * printing.el: Add documentation to all the `pr-toggle-' commands.
4976
cd394be1 49772011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4978
4979 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4980 backends where it makes sense (bug#2623).
4981
dcc88d8a
LMI
49822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4983
c3de9feb
LMI
4984 * dired-x.el (dired-guess-default): Remove duplicate shell command
4985 entries (bug#2028).
8a93078b 4986 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4987 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4988
dcc88d8a
LMI
4989 * subr.el (remove-duplicates): New conveniency function.
4990
505e3645
LMI
49912011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4992
4993 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4994 (bug#1526).
4995
49962011-07-10 Martin Rudalics <rudalics@gmx.at>
4997
4998 * window.el (display-buffer-normalize-default): Don't invert
4999 meaning of even-window-heights. Reported by Eli Zaretskii
5000 <eliz@gnu.org>.
5001
455e4fa1
BR
50022011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5003
5004 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5005
8e0bc3e9
CY
50062011-07-10 Chong Yidong <cyd@stupidchicken.com>
5007
5008 * window.el (display-buffer): Fix arguments to
5009 display-buffer-reuse-window in last change.
5010
fa7c3228
CY
5011 * faces.el (link): Use a less saturated blue on light backgrounds.
5012
5013 * startup.el (fancy-startup-text, fancy-about-text)
5014 (fancy-startup-tail): Use font-lock faces, for background safety.
5015
c0a7f300
BN
50162011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5017
b796c9b7
SM
5018 * emulation/viper-cmd.el (viper-change-state-to-vi):
5019 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5020
4dc2a129
MR
50212011-07-09 Martin Rudalics <rudalics@gmx.at>
5022
5023 * window.el (display-buffer-default-specifiers): Remove.
5024 (display-buffer-macro-specifiers): Remove default specifiers.
5025 (display-buffer-alist): Default to nil.
b796c9b7 5026 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5027 (display-buffer-pop-up-window): Allow splitting internal
5028 windows. Check whether a live window was created.
5029 (display-buffer-other-window-means-other-frame)
5030 (display-buffer-normalize-arguments): Rename to
5031 display-buffer-normalize-argument and rewrite. Set the
5032 other-window specifier.
5033 (display-buffer-normalize-special): New function.
5034 (display-buffer-normalize-options): Rename to
5035 display-buffer-normalize-default and rewrite.
5036 (display-buffer-normalize-options-inhibit): Remove.
5037 (display-buffer-normalize-specifiers): Rewrite.
5038 (display-buffer): Process other-window specifier and call
5039 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5040 more faithfully.
b796c9b7 5041 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5042 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5043 (display-buffer-in-window, display-buffer-alist-set):
5044 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5045 <tassilo@member.fsf.org>.
5046
2d43b8c9
LL
50472011-07-09 Leo Liu <sdl.web@gmail.com>
5048
5049 * register.el (insert-register): Restore accidental change on
5050 2011-06-26. (Bug#9028)
5051
7f9b7c53
GM
50522011-07-09 Glenn Morris <rgm@gnu.org>
5053
5054 * subr.el (remq): Handle the empty list. (Bug#9024)
5055
f042cfd8
AS
50562011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5057
5058 * mail/sendmail.el (send-mail-function): No longer delay custom
5059 initialization.
5060 * custom.el (custom-initialize-delay): Doc fix.
5061
856b2f11
SM
50622011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5065
afae1d68
MA
50662011-07-08 Michael Albinus <michael.albinus@gmx.de>
5067
5068 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5069 human-friendly prompt.
5070
0757af94
SM
50712011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5074 provided by a particular plugin.
5075
d760b731
LMI
50762011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5077
5078 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5079 save customizations (with "emacs -Q"), just set the variable
5080 instead of erroring out.
5081
5082 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5083
cd79ce90
JL
50842011-07-08 Juri Linkov <juri@jurta.org>
5085
5086 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5087 (archive-zip-update-case): Use 7z if found by `executable-find'.
5088 The order of searching the available programs is the same as in
5089 `archive-zip-extract' (bug#8968).
5090
14cc04aa
CY
50912011-07-07 Chong Yidong <cyd@stupidchicken.com>
5092
5093 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5094 (menu-bar-options-menu): Tweak descriptions.
5095
0a1848ec
LMI
50962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5097
5098 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5099 menu items into verb phrases (bug#1421). Also refill to fit under
5100 80 columns.
5101
f5bd0689
CY
51022011-07-07 Chong Yidong <cyd@stupidchicken.com>
5103
538e85c6
CY
5104 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5105 (Info-read-node-name): Doc fix (Bug#1084).
5106
f5bd0689
CY
5107 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5108 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5109 (end-of-sexp, beginning-of-sexp)
5110 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5111 (forward-symbol, forward-same-syntax, word-at-point)
5112 (sentence-at-point): Doc fix (Bug#1144).
5113
56ec5115
LMI
51142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5115
f3f8e37f
LMI
5116 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5117 should cover it (bug#1281).
5118
0757af94 5119 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5120
e9fce1ac 5121 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5122 negotiation fails, then possibly try again with a non-encrypted
5123 connection (bug#9017).
5124
56ec5115
LMI
5125 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5126 be used.
5127
c2f9aec8
RS
51282011-07-07 Richard Stallman <rms@gnu.org>
5129
5130 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5131 property, and handle its changed format.
5132 Look for the correct line number.
5133 Use file's line contents (but not past first =) to find
5134 correct line in message.
5135
ef7b981d 51362011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5137
5138 * international/characters.el (build-unicode-category-table):
5139 Delete it.
0757af94 5140 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5141
0757af94 5142 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5143 to src/chartab.c.
5144 (get-char-code-property): Call unicode-property-table-internal to
5145 load a file. Call get-unicode-property-internal where necessary.
5146 (put-char-code-property): Call unicode-property-table-internal to
5147 load a file. Call put-unicode-property-internal where necessary.
5148 put-unicode-property-internal where necessary.
0757af94
SM
5149 (char-code-property-description):
5150 Call unicode-property-table-internal to load a file.
c805dec0
KH
5151
5152 * international/charprop.el:
5153 * international/uni-bidi.el:
5154 * international/uni-category.el:
5155 * international/uni-combining.el:
5156 * international/uni-comment.el:
5157 * international/uni-decimal.el:
5158 * international/uni-decomposition.el:
5159 * international/uni-digit.el:
5160 * international/uni-lowercase.el:
5161 * international/uni-mirrored.el:
5162 * international/uni-name.el:
5163 * international/uni-numeric.el:
5164 * international/uni-old-name.el:
5165 * international/uni-titlecase.el:
5166 * international/uni-uppercase.el: Regenerate.
5167
5168 * loadup.el: Load international/charprop.el before
5169 international/characters.
5170
e14b388a
CY
51712011-07-07 Chong Yidong <cyd@stupidchicken.com>
5172
5173 * window.el (next-buffer, previous-buffer): Signal an error if
5174 called from a minibuffer window.
5175
5176 * bindings.el: Revert 2011-07-04 change.
5177
354cf0ba
RS
51782011-07-06 Richard Stallman <rms@gnu.org>
5179
5180 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5181 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5182 Treat markers like ints.
5183 (rmail-mime-entity): Doc fix.
5184
a48868a7
LMI
51852011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5186
4906cd3d
LMI
5187 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5188 defcustom again for backwards compatibility.
5189
e0457abe
LMI
5190 * simple.el (shell-command-on-region): Fill.
5191
d67f7e1f
LMI
5192 * dired-aux.el (dired-kill-line): Add a doc string.
5193
fe204702
LMI
5194 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5195 to "\\sw\\|\\s_" (bug#358).
5196
a48868a7
LMI
5197 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5198 (dired-unmark-backward): Ditto.
5199 (dired-flag-backup-files): Ditto.
5200
5201 * dired-x.el (dired-mark-sexp): Ditto.
5202
aa8a705c
RS
52032011-07-06 Richard Stallman <rms@gnu.org>
5204
5205 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5206 (rmail-mime-entity): New arg TRUNCATED.
5207 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5208 New functions.
5209 (rmail-mime-save): Warn if entity is truncated.
5210 (rmail-mime-toggle-hidden): Likewise, for showing.
5211 (rmail-mime-process-multipart): Record when an entity is truncated.
5212
a9a936b9
RS
5213 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5214 if ENTITY is a string.
5215
1f2b92cb
LMI
52162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5217
f4f73198 5218 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5219 of faces when `M-C-x'-ing their definitions (bug#8378).
5220 Also clean up the code slightly.
f4f73198 5221
12b16734 5222 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5223 because that makes the colors go away.
12b16734 5224
f0691d22
LMI
5225 * mail/sendmail.el (send-mail-function): Change the default to
5226 `sendmail-query-once'.
9e87df06 5227 (sendmail-query-once): Add an autoload cookie.
f0691d22 5228
1f2b92cb
LMI
5229 * net/network-stream.el (network-stream-open-starttls): Try using
5230 a plain connection even if the server offered STARTTLS, and we
5231 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5232 capability. This should make smtpmail.el work in slightly more
5233 configurations.
5234
1cdd2a1b
MA
52352011-07-06 Michael Albinus <michael.albinus@gmx.de>
5236
5237 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5238 New defun.
5239 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5240
fbcc67e2
MM
52412011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5242
5243 * progmodes/sql.el: Version 3.0
0757af94 5244 (sql-product-alist): Add product :completion-object,
fbcc67e2 5245 :completion-column, and :statement attributes.
0757af94 5246 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5247 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5248 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5249 ansi keywords.
5250 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5251 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5252 (sql-oracle-show-reserved-words): New function for development.
5253 (sql-product-font-lock): Simplify for source code buffers.
5254 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5255 New functions.
5256 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5257 (sql-mode-map): Add statement movement functions.
5258 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5259 New variable.
fbcc67e2
MM
5260 (sql-statement-regexp, sql-beginning-of-statement)
5261 (sql-end-of-statement, sql-signum): New functions.
0757af94 5262 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5263 (sql-show-sqli-buffer): Bug fix.
5264 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5265 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5266 with sql-interactive-mode.
5267 (sql-save-connection): Save buffer local settings.
0757af94 5268 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5269 (sql-product-interactive): Bug fix.
5270 (sql-preoutput-hold): New variable.
5271 (sql-interactive-remove-continuation-prompt): Bug fixes.
5272 (sql-debug-redirect): New variable.
5273 (sql-str-literal): New function.
5274 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5275 Redesign.
fbcc67e2
MM
5276 (sql-oracle-save-settings, sql-oracle-restore-settings)
5277 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5278 (sql-completion-object, sql-completion-column)
5279 (sql-completion-sqlbuf): New variables.
5280 (sql-build-completions-1, sql-build-completions)
5281 (sql-try-completion): New functions.
5282 (sql-read-table-name): Use them.
5283 (sql-contains-names): New buffer local variable.
5284 (sql-list-all, sql-list-table): Use it.
5285 (sql-oracle-completion-types): New variable.
5286 (sql-oracle-completion-object, sql-sqlite-completion-object)
5287 (sql-postgres-completion-object): New functions.
5288
d4eaeab1
GM
52892011-07-06 Glenn Morris <rgm@gnu.org>
5290
5291 * window.el (pop-to-buffer): Doc fix.
5292
322b7dab 52932011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5294
5295 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5296
322b7dab 52972011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5298
322b7dab 5299 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5300
322b7dab 5301 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5302
605dd5bf
CY
53032011-07-05 Chong Yidong <cyd@stupidchicken.com>
5304
5305 * button.el (button): Inherit from link face. Suggested by Dan
5306 Nicolaescu.
5307
7dbfa719
SM
53082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5309
3db614b0
SM
5310 * progmodes/gdb-mi.el: Fit in 80 columns.
5311 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5312 switch-to-buffer.
5313
7dbfa719
SM
5314 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5315 if imenu is simply not configured (bug#8941).
5316
919d884a
KM
53172011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5318
5319 * allout.el (allout-post-undo-hook): New allout outline-change
5320 event hook to signal undo activity.
5321 (allout-post-command-business): Run allout-post-undo-hook if an
5322 undo just occurred.
7dbfa719
SM
5323 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5324 * allout-widgets.el (allout-widgets-after-undo-function):
5325 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5326 in the vicinity of an undo.
5327 (allout-widgets-mode): Include allout-widgets-after-undo-function
5328 on the new allout-post-undo-hook.
5329
450a0f09
SM
53302011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5333 Let define-derived-mode define it.
5334 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5335 cycles of abbrev-table inheritance (bug#8998).
5336
2de69e00
RW
53372011-07-05 Roland Winkler <winkler@gnu.org>
5338
5339 * textmodes/bibtex.el: Add support for biblatex.
5340 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5341 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5342 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5343 (bibtex-entry-alist, bibtex-field-alist): New variables.
5344 (bibtex-entry-field-alist): Obsolete alias for
5345 bibtex-BibTeX-entry-alist.
5346 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5347 (bibtex-set-dialect): New command.
5348 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5349 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5350 Bind via bibtex-set-dialect.
2de69e00
RW
5351 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5352 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5353 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5354 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5355 Define via bibtex-set-dialect.
450a0f09
SM
5356 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5357 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5358 (bibtex-vec-push, bibtex-vec-incr): New functions.
5359 (bibtex-format-entry, bibtex-field-list)
5360 (bibtex-print-help-message, bibtex-validate)
5361 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5362
2dcdbdd9
SM
53632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * progmodes/compile.el (compilation-goto-locus):
5366 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5367 * bs.el (bs-cycle-next, bs-cycle-previous):
5368 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5369 * bindings.el (mode-line-other-buffer):
5370 * autoinsert.el (auto-insert):
5371 * arc-mode.el (archive-extract):
5372 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5373
b27640fe
JB
53742011-07-05 Juanma Barranquero <lekktu@gmail.com>
5375
5376 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5377 Fix check of `emacs-lock-unlockable-modes'.
5378 Coerce true values of `emacs-lock--try-unlocking' to t.
5379
53bbe3ad
JB
53802011-07-05 Juanma Barranquero <lekktu@gmail.com>
5381
5382 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5383 * emacs-lock.el: New file.
5384
1d3cdbc7
JD
53852011-07-05 Julien Danjou <julien@danjou.info>
5386
5387 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5388 than `boundp' to check if face is set.
5389
9173deec
JB
53902011-07-05 Juanma Barranquero <lekktu@gmail.com>
5391
5392 * register.el (registerv-make):
5393 * window.el (window-min-height): Fix typos in docstrings.
5394
869795d6
JD
53952011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5396
9173deec 5397 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5398 Update doc string.
5399
b768cdcd
JB
54002011-07-04 Juanma Barranquero <lekktu@gmail.com>
5401
5402 * server.el (server-execute): Catch quit and call
5403 `server-return-error' to pass the error back to emacsclient and
5404 close the connection (bug#8942).
5405
13aa217b
KM
54062011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5407
5408 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5409 insecure exception for current topic. Also note that auto-saves
5410 are handled differently.
5411
5412 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5413 State variables for tracking auto-save inhibition situation.
5414
5415 (allout-write-contents-hook-handler): Rename from
5416 'allout-write-file-hook-handler', and describe how it depends on
5417 write-contents-functions sensitivity to non-nil value to prevent
5418 file write.
5419
5420 (allout-auto-save-hook-handler): Remove. auto-save does not check
5421 this in individual buffers, only in the starting buffer, so this
5422 is not the right way for us to inhibit auto-save in a buffer
5423 according to its condition.
5424
5425 (allout-mode): Use new allout-write-contents-hook-handler, and
5426 only with write-contents-functions. Remove auto-save provisions -
5427 they're implemented elsewhere.
5428
5429 (allout-before-change-handler): If undo is in progress, note that
5430 for attention of allout-post-command-business.
5431
5432 (allout-post-command-business): If the command we're following was
5433 an undo, check for change in the status of encrypted items and
5434 adjust auto-save inhibitions accordingly.
5435
5436 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5437 according to whether there are or aren't any plain-text topics
5438 pending encryption.
5439
2dcdbdd9 5440 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5441 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5442 if there are plain-text topics pending encryption.
13aa217b
KM
5443
5444 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5445 buffer-saved-size and some allout state to not inhibit auto-saves
5446 if there are no longer any plain-text topics pending encryption.
5447
0757af94
SM
5448 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5449 No longer provide for exemption of the current topic.
13aa217b 5450
ac89b32c
JL
54512011-07-04 Juri Linkov <juri@jurta.org>
5452
5453 Add 7z operations to delete and save changed members (bug#8968).
5454 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5455 New defcustoms.
5456 (archive-7z-write-file-member): New function.
5457 (archive-7z-summarize): Fix the number of dashes in the
5458 listing output.
5459
8fa39615
SM
54602011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5461
5462 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5463 (bug#8958).
5464
2f11b3f1
CY
54652011-07-04 Chong Yidong <cyd@stupidchicken.com>
5466
d66fef2b
CY
5467 * bindings.el: Ignore next-buffer and previous-buffer in
5468 minibuffer-local-map.
5469
2f11b3f1
CY
5470 * font-lock.el (font-lock-builtin-face): Change light background
5471 color to dark slate blue (Bug#6693).
5472
f932a347
WD
54732011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5474
5475 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5476
c8af70e1
SM
54772011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5480 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5481 Add switch-to-buffer.
5482
f158badc
LMI
54832011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5484
5485 * isearch.el (isearch-search-fun-function): Clarify further the
5486 meaning of the function returned.
5487
6d95bd46
MA
54882011-07-04 Michael Albinus <michael.albinus@gmx.de>
5489
5490 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5491
5492 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5493 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5494 Use it.
5495 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5496 `tramp-default-remote-path' does not exist.
5497 (tramp-send-command-and-read): New optional argument NOERROR.
5498 (tramp-open-connection-setup-interactive-shell)
5499 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5500 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5501 (tramp-process-sentinel): Flush also process' connection property.
5502 (tramp-sh-handle-start-file-process): Do not set process
5503 sentinel. It is done now ...
5504 (tramp-maybe-open-connection): ... here. (Bug#8929)
5505
909e6b67
MK
55062011-07-04 MON KEY <monkey@sandpframing.com>
5507
5508 * play/animate.el (animate-string): Doc fixes and allow changing
5509 the buffer name (bug#5417).
5510
55112011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5512
c8af70e1 5513 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5514
f34755dc
PE
55152011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5516
396cec72
PE
5517 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5518 This is simpler and helps future-proof the code.
5519 (timer-until): Use time-subtract and float-time.
08235028 5520 (timer--time-less-p): Use time-less-p.
f34755dc 5521
56e6cc31
JB
55222011-07-04 Juanma Barranquero <lekktu@gmail.com>
5523
3abb79e5
JB
5524 * type-break.el (timep): Use the value of `float-time' to avoid a
5525 byte-compiler warning.
5526
56e6cc31
JB
5527 * server.el (server-eval-and-print): Return any result, even nil.
5528
7b9430b4
PE
55292011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5530
5531 * type-break.el: Accept time formats that the builtins accept.
5532 (timep, type-break-time-difference): Accept any format that
5533 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5534 This is simpler and helps future-proof the code.
5535 (type-break-time-difference): Round rather than ignoring
5536 subseconds components.
5537
3034e9e7
LMI
55382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539
5540 * info.el (Info-apropos-matches): Make non-interactive, since it
5541 doesn't seem to do anything useful as a command (bug#8829).
5542
1485f4c0
CY
55432011-07-03 Chong Yidong <cyd@stupidchicken.com>
5544
5545 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5546 Move from faces.el.
1485f4c0
CY
5547 (frame-default-terminal-background): New function.
5548
5549 * custom.el (custom-push-theme): Don't record faces in `changed'
5550 theme; this doesn't work correctly for per-frame face settings.
5551 (disable-theme): Use face-set-after-frame-default to reset faces.
5552 (custom--frame-color-default): New function.
5553
9fa3dd45
LMI
55542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5555
c8af70e1 5556 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5557 (bug#8769).
5558
6cbbc20c
KR
55592011-03-29 Kevin Ryde <user42@zip.com.au>
5560
5561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5562 `perl-Test2' extend to match possible "fail #N" rep count
5563 (bug#8377).
5564
c7f98048
LMI
55652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5566
65676592
LMI
5567 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5568 `smtpmail-via-smtp' now returns the error instead of nil.
5569
c7f98048
LMI
5570 * isearch.el (isearch-search-fun-function): Clarify the doc string
5571 (bug#8101).
5572
56e6cc31 55732011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5574
5575 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5576 unnecessary spaces (bug#8987).
5577
2b216704
LMI
55782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5579
5580 * net/network-stream.el (open-network-stream): Use the
5581 :end-of-capability command thoughout.
5582
55832011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5584
5585 * net/network-stream.el (open-network-stream): Add the
5586 :end-of-capability command parameter, used by pop3.el.
5587
36adf6ce
LMI
55882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5589
1ca0da0e
LMI
5590 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5591
fc00f69c
LMI
5592 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5593 for list)" (bug#6475).
5594
28fd8759 5595 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5596 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5597 an error (bug#6297).
5598
0dd8b6da
LMI
5599 * man.el (Man-reference-regexp): Allow matching possible
5600 word-wrapped references (bug#6289).
5601
ce1438d6
LMI
5602 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5603 for consistency with the other vc buffers (bug#6197).
5604 (vc-checkin): Ditto.
5605
5606 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5607
36adf6ce
LMI
5608 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5609
e83cc1f7
LMI
56102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5611
8a20ca4c
LMI
5612 * custom.el (defcustom): Clarify that :set is only used in the
5613 Customize user interface (bug#6089).
5614
83319045
LMI
5615 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5616 associated with a file, refuse to run instead of erroring out
5617 (bug#6084).
5618
a8392169
LMI
5619 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5620 the doc string, since it appears that using `fill-column' always
5621 controls the width (bug#7845).
5622
e83cc1f7
LMI
5623 * simple.el (shell-command-on-region): Say where the error output
5624 went if `shell-command-default-error-buffer' is set (bug#6857).
5625
e47ca23b
KM
56262011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5627
5628 * allout.el (allout-yank-processing): Adjust cursor position for
5629 backwards-deleted space.
5630
5631 (allout-rebullet-heading): Register changes with
5632 allout-exposure-changed-hook, so the modified topic is properly
5633 decorated.
5634
5cf56143
LMI
56352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5636
08549772
LMI
5637 * minibuffer.el (completion-in-region): Document PREDICATE
5638 (bug#7136).
5639
48e96771
LMI
5640 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5641 of keyword/argument pairs (bug#6904).
5642
c8af70e1
SM
5643 * replace.el (multi-occur):
5644 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5645
e17d05e2
LMI
56462011-07-02 Drew Adams <drew.adams@oracle.com>
5647
5648 * dired.el (dired-mark-if): Make the message about whether it's
5649 marking or unmarking clearer (bug#8523).
5650
063b0e45
LMI
56512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5652
5653 * disp-table.el (display-table-print-array): New function.
5654 (describe-display-table): Use it to print the vectors more pretty
5655 (Bug#8859).
5656
28545e04
MR
56572011-07-02 Martin Rudalics <rudalics@gmx.at>
5658
5659 * window.el (window-state-get-1): Don't assign clone numbers.
5660 Add clone-of item to list of window parameters.
5661 (window-state-put-2): Don't process clone numbers.
5662 (display-buffer-alist): Fix doc-string.
5663
3349e122
SM
56642011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * subr.el (remq): Don't allocate if it's not needed.
5667 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5668 (keymap--merge-bindings): New functions.
5669 (keymap-canonicalize): Use them to refine the canonicalization.
5670 * minibuffer.el (minibuffer-local-completion-map)
5671 (minibuffer-local-must-match-map): Move initialization from C.
5672 (minibuffer-local-filename-completion-map): Move initialization from C;
5673 don't inherit from anything here.
5674 (minibuffer-local-filename-must-match-map): Make obsolete.
5675 (completing-read-default): Use make-composed-keymap to combine
5676 minibuffer-local-filename-completion-map with either
5677 minibuffer-local-must-match-map or
5678 minibuffer-local-filename-completion-map.
5679
d224ac83
GM
56802011-07-01 Glenn Morris <rgm@gnu.org>
5681
3de63bf8
GM
5682 * type-break.el (type-break-time-sum): Use dolist.
5683
d224ac83
GM
5684 * textmodes/flyspell.el (flyspell-word-search-backward):
5685 Replace CL function.
5686
1a1e3f32
SM
56872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5688
fe3f64d5
SM
5689 * mouse.el (mouse--strip-first-event): New function.
5690 (function-key-map): Use it to map fringe clicks to normal clicks
5691 by default.
5692
eb604e34
SM
5693 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5694 (vc-bzr-revision-completion-table): Add support for annotate and date.
5695
1a1e3f32
SM
5696 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5697 inherit from parent.
5698
5bd35902
LMI
56992011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700
ace6c69c 5701 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5702 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5703
191e2bed
LMI
5704 * dired.el (dired-mode): Fix up the doc string as suggested by
5705 Drew Adams (bug#8817).
5706
5bd35902
LMI
5707 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5708 cookie, since the manual says that it should be possible to add
5709 this function to `find-file-hook' (bug#8709).
5710
eee8207a
TZ
57112011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5712
5713 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5714 here. Noted Ted Zlatanov as the maintainer.
5715 (cfengine-common-settings, cfengine-common-syntax): New functions
5716 to set up common things between `cfengine-mode' and
5717 `cfengine3-mode'.
5718 (cfengine3-mode): New mode.
5719 (cfengine3-defuns cfengine3-defuns-regex
5720 (cfengine3-class-selector-regex cfengine3-category-regex)
5721 (cfengine3-vartypes cfengine3-font-lock-keywords)
5722 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5723 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5724
36b148cf
MA
57252011-07-01 Michael Albinus <michael.albinus@gmx.de>
5726
5727 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5728
5729 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5730
0bf4ba9a
MR
57312011-07-01 Martin Rudalics <rudalics@gmx.at>
5732
5733 * window.el (same-window-buffer-names, same-window-regexps)
5734 (same-window-p, special-display-frame-alist)
5735 (special-display-popup-frame, special-display-function)
5736 (special-display-buffer-names, special-display-regexps)
5737 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5738 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5739 (split-window-preferred-function, split-height-threshold)
5740 (split-width-threshold, even-window-heights)
5741 (display-buffer-mark-dedicated, window-splittable-p)
5742 (split-window-sensibly, window-safely-shrinkable-p):
5743 Un-obsolete.
5744 (display-buffer): Don't spread args with function specifier
5745 because special-display-popup-frame won't like it.
5746
35837f51
PE
57472011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5748
d0672f86
PE
5749 Time-stamp simplifications and fixes.
5750 These improve accuracy slightly, and future-proof the code
5751 against some potential changes to current-time format.
5752
b9444d97
PE
5753 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5754 by using time-since and float-time.
5755
0ef923dc
PE
5756 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5757 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5758 + NNN microseconds".
5759
2f81380d
PE
5760 * type-break.el (type-break-time-sum): Rewrite using time-add.
5761
845b5c3e
PE
5762 * play/hanoi.el (hanoi-current-time-float): Remove.
5763 All uses replaced by float-time.
5764
ee6f1be0
PE
5765 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5766 This yields a more-accurate answer.
5767 (rng-time-to-float): Remove; no longer needed.
5768
fe955043
PE
5769 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5770
5777162a
PE
5771 * calendar/timeclock.el (timeclock-seconds-to-time):
5772 Defalias to seconds-to-time, since they're the same thing.
5773
3103f8b6 5774 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5775 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5776 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5777
0e61a35f
SM
57782011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * window.el (bury-buffer): Don't iconify the only frame.
5781 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5782 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5783
ddd63a1e
CY
57842011-07-01 Chong Yidong <cyd@stupidchicken.com>
5785
0e61a35f
SM
5786 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5787 Add mouse-yank-primary.
ddd63a1e 5788
055f4923
TZ
57892011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5790
5791 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5792
6a2fb145
SM
57932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5796 (find-library-name): Use it to find relative load names when provided
5797 absolute file name (bug#8803).
5798
fd4983f2
LMI
57992011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5800
887d14ad
LMI
5801 * textmodes/flyspell.el (flyspell-word): Consider words that
5802 differ only in case as potential doublons (bug#5687).
5803
c53dc7fc
LMI
5804 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5805 Remove two rather uninteresting debugging-like messages to make
5806 debbugs.el more silent.
5807
fd4983f2
LMI
5808 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5809 a password-like phrase.
5810
b14c0c55
AM
58112011-06-30 Mastake YAMATO <yamato@redhat.com>
5812
5813 * progmodes/cc-guess.el: New file.
5814
6a2fb145 5815 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5816
5817 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5818 derived from `c-basic-common-init'.
5819
5820 * progmodes/cc-mode.el (top-level): Require cc-guess.
5821 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5822
1fa280a3
LM
58232011-06-30 Lawrence Mitchell <wence@gmx.li>
5824
5825 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5826
e6597158
AM
58272011-06-30 Alan Mackenzie <acm@muc.de>
5828
1fa280a3
LM
5829 * progmodes/cc-engine.el (c-guess-continued-construct):
5830 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5831 lock is disabled. Name this case as "CASE G".
5832
68ba37fb
KM
58332011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5834
5835 * allout.el (allout-yank-processing): Fix injection of extra space
5836 between bullet and non-whitespace character in first topic when
5837 pasting, ensuring that the actual spacing in the pasted topic
5838 following the bullet char is preserved. This extra space was
5839 causing pasted encrypted topics to get a decrypted status even
5840 when the content was actually still encrypted. Now the decryption
5841 status from before the paste is preserved.
5842
5843 (allout-flag-region): Set all allout overlays so they evaporate
5844 when reduced to zero length (evanescent), to prevent overlay
5845 leakage.
5846
887a0b34
GM
58472011-06-30 Glenn Morris <rgm@gnu.org>
5848
94b9acce
GM
5849 * w32-fns.el (w32-charset-info-alist): Declare.
5850
1d9b46d4
GM
5851 * find-dired.el (find-grep-options): Simplify.
5852
cc232200
GM
5853 * term/ns-win.el (ns-set-resource): Declare.
5854
28e77c46
GM
5855 * ses.el (row, col): Declare dynamic variables honestly.
5856
887a0b34
GM
5857 * textmodes/reftex-parse.el (index-tags): Declare.
5858
658d8eb8
CY
58592011-06-30 Chong Yidong <cyd@stupidchicken.com>
5860
5861 * cus-edit.el (customize-push-and-save): New function.
5862
5863 * files.el (hack-local-variables-confirm): Use it.
5864
1fa280a3
LM
5865 * custom.el (load-theme): New arg NO-CONFIRM.
5866 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5867 (custom-enabled-themes): Doc fix.
5868
5869 * cus-theme.el (customize-create-theme)
5870 (custom-theme-merge-theme): Callers to load-theme changed.
5871
bb617717
LMI
58722011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5873
d61bdd5d
LMI
5874 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5875 short URLs have at least one dot in them (bug #7614).
5876
bb617717
LMI
5877 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5878 nil, because using a pty is apparently too slow (bug #895).
5879
2f31f37a
LMI
58802011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5881
5882 * mail/sendmail.el (sendmail-query-once): New function.
5883 (sendmail-query-once-function): New variable.
5884
3076b24e
GM
58852011-06-29 Glenn Morris <rgm@gnu.org>
5886
faf2a174
GM
5887 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5888
3076b24e
GM
5889 * ses.el (top-level): Require cl when compiling.
5890 (ses-set-localvars): Fix error statement.
5891 Call it at compile time to silence a storm of warnings.
5892
5386012d
MR
58932011-06-29 Martin Rudalics <rudalics@gmx.at>
5894
5895 * window.el (normalize-live-buffer): Rename to
5896 window-normalize-buffer.
5897 (normalize-live-frame): Rename to window-normalize-frame.
5898 (normalize-any-window): Rename to window-normalize-any-window.
5899 (normalize-live-window): Rename to window-normalize-live-window.
5900 (make-window-atom): Rename to window-make-atom.
5901 (window-resize-reset): Rename to window--resize-reset.
5902 (window-resize-reset-1): Rename to window--resize-reset-1.
5903 (resize-mini-window): Rename to window--resize-mini-window.
5904 (resize-subwindows-skip-p): Rename to
5905 window--resize-subwindows-skip-p.
5906 (resize-subwindows-normal): Rename to
5907 window--resize-subwindows-normal.
5908 (resize-subwindows): Rename to window--resize-subwindows.
5909 (resize-other-windows): Rename to window--resize-siblings.
5910 (resize-this-window): Rename to window--resize-this-window.
5911 (resize-root-window): Rename to window--resize-root-window.
5912 (resize-root-window-vertically): Rename to
5913 window--resize-root-window-vertically.
5914 (normalize-buffer-to-display): Rename to
5915 window-normalize-buffer-to-display.
5916 (normalize-buffer-to-switch-to): Rename to
5917 window-normalize-buffer-to-switch-to.
5918 Correspondingly update all callers of the functions listed
5919 above.
5920 (display-buffer-alist, display-buffer-normalize-arguments)
5921 (display-buffer-normalize-options, display-buffer)
5922 (display-buffer-alist-set): Use "function" instead of
5923 "fun-with-args".
5924
1176868d
CY
59252011-06-28 Chong Yidong <cyd@stupidchicken.com>
5926
5927 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5928 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5929 debbugs.gnu.org. Mention acknowledgment email.
5930
20a7a65f
LMI
59312011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5932
5933 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5934 buffer multibyteness, since it shouldn't matter.
5935
5f45cca5
MR
59362011-06-28 Martin Rudalics <rudalics@gmx.at>
5937
5938 * window.el (display-buffer-in-side-window): Handle dedicated
5939 windows as in display-buffer-reuse-window.
5940 (display-buffer-normalize-alist): Use value of override
5941 specifier.
5942 (display-buffer-normalize-specifiers): Use value of
5943 other-window-means-other-frame specifier.
5944 (display-buffer-alist): Rewrite some texts in widgets.
5945 (display-buffer): Spread arguments when calling function
5946 specified by fun-with-args.
5947
ad85fe1f
DD
59482011-06-28 Deniz Dogan <deniz@dogan.se>
5949
1fa280a3
LM
5950 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5951 Unnest `let'.
da68c4c8 5952
ad85fe1f
DD
5953 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5954 selectors (Bug#5732).
ec49bd31 5955 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5956
a08cc025
JA
59572011-06-27 Jari Aalto <jari.aalto@cante.net>
5958
5959 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5960 (eshell-ls-date-format): New defcustom.
5961 (eshell-ls-file): Use it.
5962
e2b551c5
SM
59632011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5966
8982b231
KY
59672011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5968
5969 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5970 (ange-ftp-make-tmp-name): New arg.
5971 (ange-ftp-file-local-copy): Use it.
5972
36c9fa27
J
59732011-06-27 Jambunathan K <kjambunathan@gmail.com>
5974
5975 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5976 no-conversion (Bug#8870).
5977
d68443dc
MR
59782011-06-27 Martin Rudalics <rudalics@gmx.at>
5979
5980 * window.el (window-right, window-left, window-child)
5981 (window-child-count, window-last-child)
5982 (window-iso-combination-p, walk-window-tree-1)
5983 (window-atom-check-1, window-tree-1, delete-window)
5984 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5985 new naming conventions - window-vchild, window-hchild,
5986 window-next and window-prev are now called window-top-child,
5987 window-left-child, window-next-sibling and window-prev-sibling
5988 respectively.
d615d6d2
MR
5989 (resize-window-reset): Rename to window-resize-reset.
5990 (resize-window-reset-1): Rename to window-resize-reset-1.
5991 (resize-window): Rename to window-resize.
5992 (window-min-height, window-min-width)
5993 (resize-mini-window, resize-this-window, resize-root-window)
5994 (resize-root-window-vertically, adjust-window-trailing-edge)
5995 (enlarge-window, shrink-window, maximize-window)
5996 (minimize-window, delete-window, quit-restore-window)
5997 (split-window, balance-windows, balance-windows-area-adjust)
5998 (balance-windows-area, window-state-put-2)
5999 (display-buffer-even-window-sizes, display-buffer-set-height)
6000 (display-buffer-set-width, set-window-text-height)
6001 (fit-window-to-buffer): Rename all "resize-window" prefixed
6002 calls to use the "window-resize" prefix convention.
6003 (display-buffer-alist): Fix symbol for label specifier.
6004 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6005 corresponding specifier.
6006 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6007
b6458526
VB
60082011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6009
6010 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6011 convention.
6012 (ses-call-printer): Does not pass an empty string to formatter when the
6013 cell is empty to keep from barking printer Calc math-format-value.
6014
d31fd9ac
RS
60152011-06-27 Richard Stallman <rms@gnu.org>
6016
43d5bf84
RS
6017 * battery.el (battery-mode-line-limit): New variable.
6018 (battery-update): Handle it.
6019
d31fd9ac
RS
6020 * mail/rmailmm.el (rmail-mime-process-multipart):
6021 Handle truncated messages.
6022
819a6054
GM
60232011-06-27 Glenn Morris <rgm@gnu.org>
6024
6025 * progmodes/flymake.el (flymake-err-line-patterns):
6026 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6027
cedc73f2
VB
60282011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6029
819a6054 6030 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6031 (ses--clean-!, ses--clean-_): New functions.
6032 (ses-range): Add configurability of readout order, and conversion
6033 to Calc vector.
6034
5e5d49b6
VB
6035 * ses.el (ses-repair-cell-reference-all): New function.
6036 (ses-cell-symbol): Set macro as safe, so that it can be used in
6037 formulas.
6038
56e6cc31 6039 * ses.el: Update cycle detection algorithm.
90ca8b49 6040 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6041 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6042 (ses-set-localvars): New function.
6043 (ses-make-cell): Add property-list as a cell element.
6044 (ses-cell-property-get-fun, ses-cell-property-get)
6045 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6046 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6047 New functions.
90ca8b49
VB
6048 (ses-cell-property-set, ses-cell-property-pop)
6049 (ses-cell-property-get-handle): New macro.
6050 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6051 New aliases, used for code readability.
6052 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6053 cycle detection.
6054 (ses-self-reference-early-detection): New defcustom.
fac916bf 6055 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6056 (ses-mode): Use ses-set-localvars.
6057 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6058 before lauching the update processing.
6059 (ses-initialize-Dijkstra-attempt): New function.
6060 (ses-recalculate-cell): Update for cycle detection based on
6061 Dijkstra algorithm.
6062
2bb63e81
VB
6063 * ses.el: Fix commenting and indenting convention.
6064
c9d29fb8
SM
60652011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * bs.el (bs-cycle-next): Complete last change.
6068
d8e4b68b
JB
60692011-06-27 Drew Adams <drew.adams@oracle.com>
6070
6071 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6072
40098786
LMI
60732011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6074
c9d29fb8
SM
6075 * net/network-stream.el (network-stream-open-starttls):
6076 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6077 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6078
40098786
LMI
6079 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6080 to binary to possibly avoid line encoding issues on Windows (among
6081 other things).
6082
468d09d4
LMI
60832011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6084
6085 * net/network-stream.el (open-network-stream): Return an :error
6086 saying what the problem was, if possible.
6087
6088 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6089 server.
6090
6091 * net/network-stream.el (network-stream-open-starttls): If we
6092 wanted to use STARTTLS, and the server offered it, but we weren't
6093 able to because we had no STARTTLS support, then close the connection.
6094 (open-network-stream): Return an :error element, if present.
6095
16f07dd7
CY
60962011-06-26 Chong Yidong <cyd@stupidchicken.com>
6097
88821ca0
CY
6098 * hl-line.el (hl-line-sticky-flag): Doc fix.
6099 (global-hl-line-sticky-flag): New option (Bug#8323).
6100 (global-hl-line-highlight): Obey it.
6101
16f07dd7
CY
6102 * vc/vc.el (vc-revert-show-diff): Default to t.
6103
6b5ccddf
KM
61042011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6105
c9d29fb8
SM
6106 * allout-widgets.el (allout-widgets-post-command-business):
6107 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6108 undecorated when an isearch is continued past, and isearch
6109 automatically collapses them. This leads to "widget leaks", where
6110 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6111 hidden widgets can slow down cursor travel, substantially.
6112 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6113 so we're doing without this nicety.
6114
6115 (allout-widgets-tally-string): Don't try to do a hash-table-count
6116 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6117 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6118 *Messages* when allout-widgets-maintain-tally is t.
6119
355f2e07
MR
61202011-06-26 Martin Rudalics <rudalics@gmx.at>
6121
6122 * window.el (display-buffer-normalize-argument): Rename to
6123 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6124 LABEL argument. Respect special-display-function when popping up
6125 a new frame. Fix code searching for a window showing the buffer
6126 on another frame.
c9d29fb8
SM
6127 (display-buffer-normalize-specifiers):
6128 Call display-buffer-normalize-arguments.
355f2e07
MR
6129 (display-buffer-in-window): Don't undedicate the window if its
6130 buffer remains the same.
6131 Reported by Drew Adams <drew.adams@oracle.com>.
6132 (display-buffer-alist): Add choice for same-window macro
6133 specfier.
6134 (display-buffer): Mention special meaning of LABEL argument in
6135 doc-string. Fix quoting. Don't pop up a new frame even as
6136 fallback.
6137
7ca8fc42
JB
61382011-06-26 Juanma Barranquero <lekktu@gmail.com>
6139
6140 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6141 avoid deleting the current window in some cases (bug#8911).
6142
bc312254
AS
61432011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6144
6145 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6146 (Bug#8934)
6147
2db18f3f
LMI
61482011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6149
c9d29fb8
SM
6150 * net/network-stream.el (network-stream-open-starttls):
6151 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6152 (network-stream-open-tls): Ditto.
6153
6302e0d3
LL
61542011-06-26 Leo Liu <sdl.web@gmail.com>
6155
6156 * register.el (registerv): New struct.
6157 (registerv-make): New function.
c9d29fb8
SM
6158 (jump-to-register, describe-register-1, insert-register):
6159 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6160 struct. (Bug#8415)
6161
5fdd4046
CY
61622011-06-26 Chong Yidong <cyd@stupidchicken.com>
6163
2afef60a
CY
6164 * vc/vc.el (vc-revert-show-diff): New defcustom.
6165 (vc-diff-internal): New arg specifying diff buffer.
6166 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6167 reuse an existing *vc-diff* buffer (Bug#8927).
6168
5fdd4046
CY
6169 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6170
e93db24a
GM
61712011-06-26 Glenn Morris <rgm@gnu.org>
6172
6173 * progmodes/f90.el (f90-critical-indent): New option.
6174 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6175 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6176 (f90-mode): Doc fix.
6177 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6178 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6179 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6180 (f90-match-end): Handle block, critical.
6181
eefff499
GM
61822011-06-25 Glenn Morris <rgm@gnu.org>
6183
f6ba4cc9
GM
6184 * calendar/diary-lib.el (diary-included-files): Doc fix.
6185 (diary-include-files): New function, extracted from
6186 diary-include-other-diary-files and diary-mark-included-diary-files.
6187 (diary-include-other-diary-files, diary-mark-included-diary-files):
6188 Just call diary-include-files.
6189 (diary-mark-entries): Reset diary-included-files on first call.
6190
16712304
GM
6191 * calendar/diary-lib.el (diary-mark-entries)
6192 (diary-mark-included-diary-files):
6193 Visit included diary-files in temp buffers.
6194
5d8e0d43
GM
6195 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6196 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6197 (f90-start-block-re, f90-imenu-generic-expression)
6198 (f90-looking-at-program-block-start, f90-no-block-limit):
6199 Add support for submodules.
6200
ccf7a5d5
GM
6201 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6202 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6203
11fdef7d 62042011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6205
6206 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6207 buffer-file-type before setting its value, to avoid disastrous
eefff499 6208 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6209
74f53697
JB
62102011-06-25 Juanma Barranquero <lekktu@gmail.com>
6211
6212 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6213
6214 * ses.el (ses-unload-function):
6215 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6216
6217 * proced.el (proced-unload-function):
6218 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6219
18a4ce5e
AR
62202011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6221
6222 * server.el (server-create-window-system-frame): Add parameters arg.
6223 (server-process-filter): Doc fix. Handle frame-parameters.
6224
519d22cc
JB
62252011-06-25 Juanma Barranquero <lekktu@gmail.com>
6226
6227 Fix bug#8730, bug#8781.
6228
6229 * loadhist.el (unload--set-major-mode): New function.
6230 (unload-feature): Use it.
6231
6232 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6233 (python-unload-function): New function.
6234
c206f5b0
SM
62352011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6236
6237 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6238
f9ad64f3
GS
62392011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6240
6241 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6242 the candidates list.
6243
7d0da90e
JB
62442011-06-24 Juanma Barranquero <lekktu@gmail.com>
6245
6246 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6247
14b4e83d
RS
62482011-06-23 Richard Stallman <rms@gnu.org>
6249
6250 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6251 (rmail-variables): Set next-error-move-function.
6252 (rmail-what-message): Take argument POS.
6253 (rmail-next-error-move): New function.
6254
273d2baf
SM
62552011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6258 messages for adjacent non-terminals.
6259
56c2cc9a
RS
62602011-06-23 Richard Stallman <rms@gnu.org>
6261
6262 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6263 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6264 (rmail-start-mail): Don't specify use of rmail-mail-return;
6265 that's done by mail-bury now.
6266 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6267
d59eb518
MA
62682011-06-23 Michael Albinus <michael.albinus@gmx.de>
6269
6270 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6271 SIZE is a number.
6272
02cfc6d6
MR
62732011-06-23 Martin Rudalics <rudalics@gmx.at>
6274
6275 * window.el (get-lru-window, get-mru-window)
6276 (get-largest-window): Never return a minibuffer window.
6277 (display-buffer-pop-up-window): Fix a bug that could lead to
6278 reusing the minibuffer window.
6279 (display-buffer): Pass original specifier argument to
6280 display-buffer-function instead of the normalized one.
6281 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6282
4e323265
LL
62832011-06-22 Leo Liu <sdl.web@gmail.com>
6284
6285 * minibuffer.el (completing-read-function)
6286 (completing-read-default): Move from minibuf.c
6287
7a70468f
RS
62882011-06-22 Richard Stallman <rms@gnu.org>
6289
50718fc2
RS
6290 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6291 to Rmail even if not started by a special Rmail command.
6292
7a70468f
RS
6293 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6294 Copy the buffer currently showing just one message.
6295
297dde5a
RW
62962011-06-22 Roland Winkler <winkler@gnu.org>
6297
6298 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6299 (bibtex-clean-entry): First delete the old key so that a
6300 customized algorithm for generating the new key does not get
6301 confused by the old key.
6302 (bibtex-url): Obey regexp of first step.
6303 (bibtex-search-entries): Do not use add-to-list with local
6304 list-var.
6305
97bb1093
LMI
63062011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6307
6308 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6309 stored a user name, then query for the password first, instead of
6310 waiting for SMTP to give an error message and the trying again.
6311
1c0f1a19
JD
63122011-06-22 Lawrence Mitchell <wence@gmx.li>
6313
6314 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6315 BUFFER in call-process.
6316
396f7c9d
LMI
63172011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6318
6319 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6320 QUIT twice.
ddb7ffee
LMI
6321 (smtpmail-try-auth-methods): Require user name and password from
6322 auth-source.
396f7c9d 6323
8998d1b3
MR
63242011-06-22 Martin Rudalics <rudalics@gmx.at>
6325
6326 * window.el (display-buffer-default-specifiers)
6327 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6328 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6329 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6330
6331 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6332 (special-display-frame-alist, special-display-popup-frame):
6333 Remove duplicate declarations. These are now in window.el.
6334
4ea31e07
LMI
63352011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6336
c9d29fb8
SM
6337 * mail/smtpmail.el (smtpmail-via-smtp):
6338 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6339 server supports it. SMTP servers that support STARTTLS commonly
6340 require it.
6341
6342 * net/network-stream.el (network-stream-open-starttls): Support
6343 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6344 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6345
95f41d9a
LMI
6346 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6347 upgrades with `open-network-stream', and rely solely on
6348 auth-source for all credentials. Big changes throughout the file,
6349 but in particular:
c9d29fb8
SM
6350 (smtpmail-auth-credentials): Remove.
6351 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6352 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6353 MAIL FROM, too.
95f41d9a 6354
c9d29fb8
SM
6355 * net/network-stream.el (network-stream-open-starttls):
6356 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6357 STARTTLS.
6358 (auth-source): Require.
6359 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6360 (network-stream-certificate): Change cert-cert to cert and
6361 cert-key to key.
4ea31e07 6362
065ec2c7
MA
63632011-06-21 Michael Albinus <michael.albinus@gmx.de>
6364
6365 * net/tramp-cache.el (top): Don't load the persistency file when
6366 "emacs -Q" has been called.
6367
cd93b359
DR
63682011-06-21 Tim Harper <timcharper@gmail.com>
6369
d8e4b68b
JB
6370 * term/ns-win.el (ns-initialize-window-system):
6371 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6372 resource to NO as it is not yet supported by the NS port.
6373
ae9c0411
JB
63742011-06-21 Juanma Barranquero <lekktu@gmail.com>
6375
6376 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6377 (list-dynamic-libraries): ...not here.
6378
7f3f739f
LL
63792011-06-21 Leo Liu <sdl.web@gmail.com>
6380
6381 * subr.el (sha1): Implement sha1 using secure-hash.
6382
327c8fb1
MR
63832011-06-21 Martin Rudalics <rudalics@gmx.at>
6384
6385 * window.el (display-buffer-alist): In default value do not
6386 enforce searching a window on any but the selected frame.
6387 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6388 (display-buffer-select-window): Remove function.
6389 (display-buffer-in-window): When a window on another frame gets
6390 reused, do not select it any more but just raise its frame if
6391 necessary (Bug#8851) and (Bug#8856).
6392 (display-buffer-normalize-options): Handle pop-up-frames related
6393 options more faithfully.
6394 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6395 window if it is on another frame.
c9d29fb8
SM
6396 (display-buffer-alist, display-buffer-default-specifiers):
6397 Don't make new frame unsplittable by default.
9e9de014
MR
6398 (display-buffer-normalize-argument): Fix doc-string typo and use
6399 'same-frame-other-window instead of 'other-window when associating
6400 with display-buffer-macro-specifiers.
327c8fb1 6401
7cf3f556
VB
64022011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6403
6404 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6405 New functions.
6406 (5x5-mode-map, 5x5-mode-menu): Bind them.
6407 (5x5-draw-grid): Tweak the solver's rendering.
6408
60a406cf
SM
64092011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6412 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6413
d8e4b68b 64142011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6415
6416 * menu-bar.el: Use function variable instead of switch-to-buffer.
6417 (menu-bar-select-buffer-function): New variable.
60a406cf 6418 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6419
478d6f95
SM
64202011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6423 variable's status.
6424
ca530739
JD
64252011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6426
6427 * x-dnd.el (x-dnd-version-from-flags)
6428 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6429 and long as number (Bug#8899).
6430 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6431
bcd70d97
SM
64322011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6433
60a406cf 6434 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6435 (completion-try-completion, completion-all-completions): Compute the
6436 metadata argument if it's missing; make it optional (bug#8795).
6437
60a406cf 6438 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6439 (widget-complete): Use new :completion-function property.
6440 (widget-completions-at-point): New function.
6441 (default): Use :completion-function instead of :complete.
60a406cf
SM
6442 (widget-default-completions): Rename from widget-default-complete;
6443 Rewrite.
bcd70d97
SM
6444 (widget-string-complete, widget-file-complete, widget-color-complete):
6445 Remove functions.
6446 (file, symbol, function, variable, coding-system, color):
6447 * international/mule-cmds.el (default-input-method, charset)
6448 (language-info-custom-alist):
6449 * cus-edit.el (face): Use new property :completions.
6450
6451 * progmodes/pascal.el (pascal-completions-at-point): New function.
6452 (pascal-mode): Use it.
6453 (pascal-mode-map): Use completion-at-point.
6454 (pascal-toggle-completions): Make obsolete.
6455 (pascal-complete-word, pascal-show-completions):
6456 * progmodes/octave-mod.el (octave-complete-symbol):
6457 Redefine as obsolete alias.
6458 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6459 Signal absence of completion info for old Octave,
6460 (inferior-octave-complete): Redefine as obsolete alias.
6461 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6462 (meta-completions-at-point): Rename from meta-complete-symbol and
6463 adapt it for use on completion-at-point-functions.
6464 (meta-common-mode): Use it.
6465 (meta-looking-at-backward, meta-match-buffer): Remove.
6466 (meta-complete-symbol): Redefine as obsolete alias.
6467 (meta-common-mode-map): Use completion-at-point.
6468 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6469 (makefile-mode-map): Use completion-at-point.
6470 (makefile-completions-at-point): Rename from makefile-complete and
6471 adapt it for use on completion-at-point-functions.
6472 (makefile-mode): Use it.
6473 (makefile-complete): Redefine as obsolete alias.
6474
aebf69c8
DD
64752011-06-20 Deniz Dogan <deniz@dogan.se>
6476
6477 * net/rcirc.el: Delete trailing whitespaces once and for all.
6478
bfbbb27d
DC
64792011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6480
6481 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6482
d264a46b
CY
64832011-06-19 Chong Yidong <cyd@stupidchicken.com>
6484
4ca009e5
CY
6485 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6486
d264a46b
CY
6487 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6488
fbf5b3ce
MR
64892011-06-19 Martin Rudalics <rudalics@gmx.at>
6490
6491 * window.el (display-buffer-other-window-means-other-frame):
6492 Call display-buffer-normalize-alist.
6493 (display-buffer-normalize-specifiers-1): Rename to
6494 display-buffer-normalize-argument. New argument other-frame.
6495 Rewrite.
6496 (display-buffer-normalize-specifiers-2): Rename to
6497 display-buffer-normalize-options.
6498 (display-buffer-normalize-alist-1): New function.
6499 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6500 display-buffer-normalize-alist.
6501 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6502 (display-buffer-normalize-options-inhibit): New variable.
6503 (display-buffer-normalize-specifiers): Rewrite calling
6504 display-buffer-normalize-alist,
6505 display-buffer-normalize-argument, and
6506 display-buffer-normalize-options. Don't call the latter if
6507 display-buffer-normalize-options-inhibit is non-nil.
6508 (frame-auto-delete): New option.
6509 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6510 (window-list-no-nils, window-state-ignored-parameters)
6511 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6512 (window-state-put-1, window-state-put-2, window-state-put):
6513 New functions.
9a028c23
MR
6514 (display-buffer-normalize-options): Move special-display-p group
6515 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6516
6d10d800
CY
65172011-06-18 Chong Yidong <cyd@stupidchicken.com>
6518
6420d28b
CY
6519 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6520 groups (Bug#8776).
6521 (rx-submatch-n): New function.
6522 (rx): Document it.
6523
ddb8b596
CY
6524 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6525 (Bug#8768).
6526
6527 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6528
77080289
CY
6529 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6530
61dfb316
CY
6531 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6532 anytime existing face settings are present (Bug#8889).
6533
6d10d800
CY
6534 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6535 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6536 Remove unused argument.
6537
be3fb2b8
MR
65382011-06-18 Martin Rudalics <rudalics@gmx.at>
6539
bcd70d97
SM
6540 * window.el (display-buffer-default-specifiers):
6541 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6542 pop-up-window-min-width, and another reuse-window specifier
6543 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6544 (display-buffer-normalize-specifiers-2):
6545 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6546 pop-up-windows is unset. Add a reuse-window specifier for the
6547 case popping up a new window fails.
6548 (special-display-popup-frame): Remove double quoting.
28dec25a 6549 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6550
1c6d8c76
SM
65512011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6554 according to comint-completion-addsuffix.
6555
6556 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6557 (pcomplete-suffix-list): Mark as obsolete.
6558 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6559 pcomplete-seen in the closure.
6560 (pcomplete-comint-setup): Setup completion-at-point as well.
6561 (pcomplete--entries): New function.
6562 (pcomplete--env-regexp): New var.
6563 (pcomplete-entries): Rewrite to work with partial-completion and
6564 without relying on pcomplete-suffix-list.
6565 (pcomplete-pare-list): Remove, unused.
6566
25aef8b8
MR
65672011-06-17 Martin Rudalics <rudalics@gmx.at>
6568
6569 * window.el (display-buffer-alist): Set pop-up-window-min-height
6570 and pop-up-window-min-width in default value. Reported by
6571 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6572 other-window-means-other-frame.
6573 (display-buffer-macro-specifiers): Comment out entry for
6574 other-window specifier.
6575 (display-buffer-other-window-means-other-frame): New function.
6576 (display-buffer-normalize-specifiers-1): New arguments
6577 buffer-name and label. Treat other-window case specially.
6578 (display-buffer-normalize-specifiers-2): Treat other-window case
6579 specially.
6580 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6581 (display-buffer-normalize-specifiers):
6582 Call display-buffer-normalize-specifiers-3.
25aef8b8 6583
dbad4f69
MR
65842011-06-17 Martin Rudalics <rudalics@gmx.at>
6585
6586 * window.el (same-window-p): Fix two typos introduced when
6587 adding with-no-warnings.
d1067961
MR
6588 (display-buffer-normalize-specifiers-1): Don't check
6589 pop-up-frames for 'unset initialization.
6590 (display-buffer-normalize-specifiers-2): Major rewrite using
6591 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6592 (pop-up-frames, display-buffer-reuse-frames)
6593 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6594 Suggested by David Engster <deng@randomsample.de>.
6595 (even-window-heights): Initialize to 'unset.
6596 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6597 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6598 other window case.
dbad4f69 6599
9b9c9e3a
MR
66002011-06-16 Martin Rudalics <rudalics@gmx.at>
6601
bcd70d97
SM
6602 * window.el (display-buffer-normalize-specifiers-1):
6603 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6604 second argument of display-buffer (Bug#8865).
981d5c09
MR
6605 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6606 (switch-to-buffer-other-window-same-frame)
6607 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6608 Adams (Bug#8875).
9c2755e9
MR
6609 (display-buffer): Don't check noninteractive when calling
6610 display-buffer-pop-up-frame.
6611 (display-buffer-pop-up-frame): Never pop up a frame in
6612 noninteractive mode (Bug#8857).
67222e1d
MR
6613 (enlarge-window, shrink-window): Don't report an error when the
6614 window can't be resized as requested (Bug#8862).
9b9c9e3a 6615
2b75be67
SM
66162011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6617
9ffdd3ba
SM
6618 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6619
cb581a67
SM
6620 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6621
2b75be67
SM
6622 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6623
8c0e3589
AM
66242011-06-15 Alan Mackenzie <acm@muc.de>
6625
cb581a67
SM
6626 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6627 for declarators, disable knr checking to speed up for normal files.
6628 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6629
b96e6cde
LMI
66302011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6631
4bba86e6
LMI
6632 * net/network-stream.el (open-network-stream): Add the keyword
6633 :always-query-capabilities for the case where you want to force a
6634 `plain' network connection, but the protocol still requires the
6635 capabilitiy command (i.e., SMTP and EHLO).
6636
2b75be67 6637 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6638 consistency with other `-live-p' functions.
6639
efdcdbf8
SM
66402011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * window.el (same-window-buffer-names, same-window-regexps)
6643 (special-display-frame-alist, special-display-popup-frame)
6644 (special-display-function, special-display-buffer-names)
6645 (special-display-regexps, pop-up-frame-alist)
6646 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6647 (pop-up-windows, split-window-preferred-function)
6648 (split-height-threshold, split-width-threshold, even-window-heights)
6649 (display-buffer-mark-dedicated): Don't encourage the use of
6650 display-buffer-alist from Elisp code.
6651
c5cde042
DN
66522011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6653
6654 * progmodes/python.el (python-mode): Derive from prog-mode.
6655 * progmodes/ps-mode.el (ps-mode):
6656 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6657 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6658 * progmodes/ld-script.el (ld-script-mode): Likewise.
6659
baa1c9ab
MR
66602011-06-15 Martin Rudalics <rudalics@gmx.at>
6661
6662 * window.el (display-buffer-alist): Trim default value to avoid
6663 popping up a new frame (Bug#8857) or reusing an arbitrary window
6664 on another frame.
6665 (display-buffer): Do not fall back on popping up a new frame in
6666 batch mode (Bug#8857).
6667
c5dd5a51
CY
66682011-06-14 Chong Yidong <cyd@stupidchicken.com>
6669
6670 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6671 (custom-theme-summary): New function.
6672 (customize-themes): Use it.
6673
d647b7c4
GM
66742011-06-13 Glenn Morris <rgm@gnu.org>
6675
6676 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6677
9481c002
MR
66782011-06-13 Martin Rudalics <rudalics@gmx.at>
6679
357f93d2
MR
6680 * help.el (help-window): Remove variable.
6681 (help-window-point-marker, temp-buffer-max-height)
6682 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6683 (help-print-return-message): Don't set help-window.
6684 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6685 (help-window-setup-finish): Remove.
6686 (help-window-display-message, help-window-setup)
6687 (with-help-window): Major rewrite based on new
6688 display-buffer-window variable.
6689
6690 * help-mode.el (help-mode-finish): Remove help-window related
6691 code.
6692
6693 * view.el (view-exits-all-viewing-windows): Remove reference to
6694 view-return-to-alist in doc-string.
6695 (view-return-to-alist): Make obsolete.
6696 (view-buffer): Call pop-to-buffer-same-window and remove
6697 undo-window code.
6698 (view-buffer-other-window): Call pop-to-buffer-other-window and
6699 simplify code. Ignore second argument.
6700 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6701 simplify code. Ignore second argument.
6702 (view-return-to-alist-update): Make obsolete.
6703 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6704 Rewrite using quit-restore window parameters.
2b75be67
SM
6705 (view-mode-exit): Rename second argument to EXIT-ONLY.
6706 Rewrite using quit-restore-window.
357f93d2
MR
6707 (View-exit, View-exit-and-edit, View-leave, View-quit)
6708 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6709 appropriate arguments.
6710 (view-end-message): Use quit-restore window parameter.
6711
9481c002
MR
6712 * window.el (display-buffer-function): Rewrite doc-string.
6713 (display-buffer-window, display-buffer-alist): New variables.
6714 (display-buffer-split-specifiers)
6715 (display-buffer-side-specifiers)
6716 (display-buffer-macro-specifiers): New constants.
6717 (display-buffer-even-window-sizes, display-buffer-set-height)
6718 (display-buffer-set-width, display-buffer-select-window)
6719 (display-buffer-in-window, display-buffer-reuse-window)
6720 (display-buffer-split-window-1, display-buffer-split-window)
6721 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6722 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6723 (display-buffer-in-side-window, normalize-buffer-to-display)
6724 (display-buffer-normalize-specifiers-1)
6725 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6726 (display-buffer-normalize-specifiers, display-buffer-frame):
6727 New functions.
9481c002
MR
6728 (display-buffer): Major rewrite.
6729 (display-buffer-other-window, display-buffer-other-frame)
6730 (pop-to-buffer, switch-to-buffer-other-window)
6731 (switch-to-buffer-other-frame): Rewrite.
6732 (display-buffer-same-window, display-buffer-same-frame)
6733 (display-buffer-same-frame-other-window)
6734 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6735 (pop-to-buffer-other-window)
6736 (pop-to-buffer-same-frame-other-window)
6737 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6738 (switch-to-buffer-other-window-same-frame): New functions.
6739 (same-window-p, special-display-p): Rewrite disabling warnings.
6740 Make obsolete.
6741 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6742 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6743 Make obsolete
6744 (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, split-window-preferred-function)
6749 (split-height-threshold, split-width-threshold)
6750 (even-window-heights): Make obsolete.
6751
9db51aca
GM
67522011-06-12 Glenn Morris <rgm@gnu.org>
6753
6754 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6755 Misc simplifications.
9db51aca 6756
39cffb44
MR
67572011-06-12 Martin Rudalics <rudalics@gmx.at>
6758
6759 * window.el (window-safely-shrinkable-p): Restore function which
6760 was inadvertently removed in change from 2011-06-11. Declare as
6761 obsolete.
6762
2b75be67
SM
6763 * calendar/calendar.el (calendar-generate-window):
6764 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6765 window-safely-shrinkable-p.
6766
a8955be7
GM
67672011-06-12 Glenn Morris <rgm@gnu.org>
6768
6769 * progmodes/fortran.el (fortran-mode-syntax-table):
6770 * progmodes/f90.el (f90-mode-syntax-table):
6771 Set % to punctuation. (Bug#8820)
6772 (f90-find-tag-default): Remove, no longer needed.
6773
f0d4059d
DC
67742011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6775
6776 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6777
1100a63c
CY
67782011-06-11 Chong Yidong <cyd@stupidchicken.com>
6779
6780 * image.el (image-animated-p): Return animation delay in seconds.
6781 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6782 (image-animate-timeout): Remove DELAY argument. Don't assume
6783 every subimage has the same delay; get it from image-animated-p.
6784 (image-animate): Caller changed.
6785
def722bf
MA
67862011-06-11 Michael Albinus <michael.albinus@gmx.de>
6787
6788 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6789 to ignored backtrace functions.
6790
0a2bb1a9
GM
67912011-06-11 Glenn Morris <rgm@gnu.org>
6792
6793 * calendar/appt.el (appt-disp-window-function): Doc fix.
6794 (appt-check): Handle overlapping appointments. (Bug#8337)
6795
6198ccd0
MR
67962011-06-11 Martin Rudalics <rudalics@gmx.at>
6797
6798 * window.el (window-tree-1, window-tree): New functions, moving
6799 the latter to window.el.
6800 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6801 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6802 (bw-refresh-edges): Remove.
6803 (balance-windows-1, balance-windows-2): New functions.
6804 (balance-windows): Rewrite in terms of window tree functions,
6805 balance-windows-1 and balance-windows-2.
6806 (bw-adjust-window): Remove.
6807 (balance-windows-area-adjust): New function with functionality of
6808 bw-adjust-window but using resize-window.
2b75be67
SM
6809 (set-window-text-height): Rewrite doc-string.
6810 Use normalize-live-window and resize-window.
6811 (enlarge-window-horizontally, shrink-window-horizontally):
6812 Rename argument to DELTA.
6198ccd0
MR
6813 (window-buffer-height): New function.
6814 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6815 Rewrite using new window resize routines.
2b75be67
SM
6816 (kill-buffer-and-window, mouse-autoselect-window-select):
6817 Use ignore-errors instead of condition-case.
6198ccd0
MR
6818 (quit-window): Call delete-frame instead of delete-windows-on
6819 for the only buffer on frame.
6820
9397e56f
MR
68212011-06-10 Martin Rudalics <rudalics@gmx.at>
6822
6823 * loadup.el (top-level): Load window before files for the sake
6824 of replace-buffer-in-windows.
6825
6826 * files.el (read-buffer-to-switch)
6827 (switch-to-buffer-other-window)
2b75be67
SM
6828 (switch-to-buffer-other-frame, display-buffer-other-frame):
6829 Move to window.el.
9397e56f
MR
6830
6831 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6832 (previous-buffer): Move to window.el.
6833
6834 * bindings.el (unbury-buffer): Move to window.el.
6835
6836 * window.el (delete-other-windows-vertically): Move after
6837 definition of delete-other-windows.
6838 (other-window, delete-windows-on, replace-buffer-in-windows):
6839 Move here from window.c.
6840 (record-window-buffer, unrecord-window-buffer)
6841 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6842 (switch-to-next-buffer): New functions.
6843 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6844 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6845 (previous-buffer): Move here from simple.el.
6846 Call switch-to-prev-buffer.
9397e56f
MR
6847 (bury-buffer): Move here from buffer.c. Switch to previous
6848 buffer when window cannot be deleted.
6849 (unbury-buffer): Move here from bindings.el.
6850 (ctl-x-map): Move binding for other-window from window.c to
6851 here.
6852 (read-buffer-to-switch, switch-to-buffer-other-window)
6853 (switch-to-buffer-other-frame): Move here from files.el.
6854 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6855 (switch-to-buffer): Move here from buffer.c.
6856 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6857
562dd5e9
MR
68582011-06-10 Martin Rudalics <rudalics@gmx.at>
6859
6860 * window.el (window-min-height, window-min-width): Move here
6861 from window.c. Add defcustoms and rewrite doc-strings.
6862 (resize-mini-window, resize-window): New functions.
6863 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6864 Move here from window.c.
6865 (maximize-window, minimize-window): New functions.
6866 (delete-window, delete-other-windows, split-window): Move here
6867 from window.c.
6868 (window-split-min-size): New function.
6869 (split-window-keep-point): Mention split-window-above-each-other
6870 instead of split-window-vertically.
2b75be67 6871 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6872 Rename split-window-vertically to split-window-above-each-other
6873 and provide defalias for old definition.
6874 (split-window-side-by-side, split-window-horizontally):
6875 Rename split-window-horizontally to split-window-side-by-side
6876 and provide defalias for the old definition.
562dd5e9
MR
6877 (ctl-x-map): Move bindings for delete-window,
6878 delete-other-windows and enlarge-window here from window.c.
6879 Replace bindings for split-window-vertically and
6880 split-window-horizontally by bindings for
6881 split-window-above-each-other and split-window-side-by-side.
6882
6883 * cus-start.el (all): Remove entries for window-min-height and
6884 window-min-width. Add entries for window-splits and
6885 window-nest.
6886
f0da764a
GM
68872011-06-09 Glenn Morris <rgm@gnu.org>
6888
80675c21
GM
6889 * calendar/appt.el (appt-mode-line): New function.
6890 (appt-check, appt-disp-window): Use it.
6891
f0da764a
GM
6892 * files.el (hack-one-local-variable-eval-safep):
6893 Allow minor-modes with explicit +/-1 arguments.
6894
59f623b7
TZ
68952011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6896
6897 * term/xterm.el (xterm): Add defgroup.
6898 (xterm-extra-capabilities): Add defcustom to supply known xterm
6899 capabilities, skip querying them, or query them (default).
6900 (terminal-init-xterm): Use it.
6901 (terminal-init-xterm-modify-other-keys): New function to set up
6902 modifyOtherKeys support to simplify `terminal-init-xterm'.
6903
9aab8e0d
MR
69042011-06-09 Martin Rudalics <rudalics@gmx.at>
6905
6906 * window.el (resize-window-reset, resize-window-reset-1)
6907 (resize-subwindows-skip-p, resize-subwindows-normal)
6908 (resize-subwindows, resize-other-windows, resize-this-window)
6909 (resize-root-window, resize-root-window-vertically)
6910 (window-deletable-p, window-or-subwindow-p)
6911 (frame-root-window-p): New functions.
6912
e8b08aee
GM
69132011-06-09 Glenn Morris <rgm@gnu.org>
6914
6915 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6916 (ange-ftp-get-files): Use it.
6917
254c37a5
AK
69182011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6919
6920 * mail/sendmail.el (mail-recover-1, mail-recover):
6921 * files.el (recover-file, recover-session):
6922 Handle dired-listing-switches not being just a single short option.
6923
35d7dbd3
GM
69242011-06-09 Glenn Morris <rgm@gnu.org>
6925
6926 * calendar/appt.el (appt-display-message, appt-disp-window):
6927 Handle lists of appointments.
6928
387522b2
MR
69292011-06-08 Martin Rudalics <rudalics@gmx.at>
6930
2b75be67
SM
6931 * window.el (one-window-p): Move down in code.
6932 Rewrite doc-string.
6933 (window-current-scroll-bars): Rewrite doc-string.
6934 Normalize live window argument.
387522b2
MR
6935 (walk-windows, get-window-with-predicate, count-windows):
6936 Rewrite doc-string. Use window-list-1.
6937 (window-in-direction-2, window-in-direction, get-mru-window):
6938 New functions.
6939
d8e4b68b 69402011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6941
6942 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6943 Doc fix (Bug#8713).
6944
69452011-06-08 Chong Yidong <cyd@stupidchicken.com>
6946
6947 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6948
69492011-06-08 Juanma Barranquero <lekktu@gmail.com>
6950
6951 * loadhist.el (unload-feature-special-hooks):
6952 Add `comint-output-filter-functions'.
6953
0de12c52
IK
69542011-06-08 Ivan Kanis <gnu@kanis.fr>
6955
6956 * calendar/appt.el (appt-check): Move some initializations into the let.
6957
f3d1777e
MR
69582011-06-08 Martin Rudalics <rudalics@gmx.at>
6959
6960 * window.el (window-height): Defalias to window-total-height.
6961 (window-width): Defalias to window-body-width.
6962
18af70d0
CY
69632011-06-07 Chong Yidong <cyd@stupidchicken.com>
6964
6965 * image-mode.el (image-toggle-animation): New command.
6966 (image-mode-map): Bind it to RET.
6967 (image-mode): Update message.
6968 (image-toggle-display-image): Avoid a spurious cache flush.
6969 (image-transform-rotation): Doc fix.
6970 (image-transform-properties): Return quickly in the normal case.
6971 (image-animate-loop): Rename from image-animate-max-time.
6972
2b75be67 6973 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6974 (create-animated-image): Remove unnecessary function.
6975 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6976 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6977 (image-animate-timer): Use car-safe.
6978 (image-animate-timeout): Rename argument.
6979
190b47e6
MR
69802011-06-07 Martin Rudalics <rudalics@gmx.at>
6981
6982 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6983 window.c. Rename first argument to ALL-FRAMES.
6984 Rephrase doc-strings.
6985 (get-buffer-window-list): Rewrite using window-list-1.
6986 Rephrase doc-string.
a1511caf
MR
6987 (window-safe-min-height, window-safe-min-width): New constants.
6988 (window-size-ignore, window-min-size, window-min-size-1)
6989 (window-sizable, window-sizable-p, window-size-fixed-1)
6990 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6991 (window-max-delta-1, window-max-delta, window-resizable)
6992 (window-resizable-p, window-total-height, window-total-width)
6993 (window-body-width): New functions.
6994 (window-full-height-p, window-full-width-p): Rewrite using
6995 window-total-size.
6996 (window-body-height): Rewrite using window-body-size.
190b47e6 6997
85cc1f11
MR
69982011-06-06 Martin Rudalics <rudalics@gmx.at>
6999
7000 * window.el (window-right, window-left, window-child)
7001 (window-child-count, window-last-child, window-any-p)
7002 (normalize-live-buffer, normalize-live-frame)
7003 (normalize-any-window, normalize-live-window)
7004 (window-iso-combination-p, window-iso-combined-p)
7005 (window-iso-combinations)
7006 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7007 (windows-with-parameter, window-with-parameter)
7008 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7009 (window-atom-check, window-side-check, window-check):
7010 New functions.
85cc1f11
MR
7011 (ignore-window-parameters, window-sides, window-sides-vertical)
7012 (window-sides-slots): New variables.
7013 (window-size-fixed): Move down in code. Minor doc-string fix.
7014
e7156492
AS
70152011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7016
7017 * comint.el (comint-dynamic-complete-as-filename)
7018 (comint-dynamic-complete-filename): Correctly call
7019 completion-in-region.
7020
7e821d0d
DD
70212011-06-05 Deniz Dogan <deniz@dogan.se>
7022
7023 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7024 in last change.
7025
ac09b8a1
DD
70262011-06-05 Deniz Dogan <deniz@dogan.se>
7027
7028 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7029 (rcirc): Use it to prompt for encryption.
7030
34699b85
RW
70312011-06-05 Roland Winkler <winkler@gnu.org>
7032
7033 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7034 (bibtex-search-entries): New command bound to C-c C-a.
7035 (bibtex-display-entries): New function.
7036
004dedd3
RW
70372011-06-05 Roland Winkler <winkler@gnu.org>
7038
7039 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7040 (bibtex-insert-kill): After yanking insert newline if necessary.
7041 (bibtex-initialize): Call bibtex-string-files-init only once.
7042 (bibtex-mode): Do not call easy-menu-add.
7043 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7044 (bibtex-yank): Set arg properly if nil.
7045
022fe7ce
RW
70462011-06-05 Roland Winkler <winkler@gnu.org>
7047
2b75be67
SM
7048 * textmodes/bibtex.el (bibtex-search-entry-globally):
7049 New variable.
022fe7ce
RW
7050 (bibtex-search-entry): Use it.
7051
b7c3692a
RW
70522011-06-05 Roland Winkler <winkler@gnu.org>
7053
7054 * textmodes/bibtex.el (bibtex-entry-format): New option
7055 sort-fields.
7056 (bibtex-format-entry, bibtex-reformat): Honor this option.
7057 (bibtex-parse-entry): Return fields in proper order.
7058
8eda563d
JB
70592011-06-05 Juanma Barranquero <lekktu@gmail.com>
7060
7061 * doc-view.el (doc-view-remove-if): Move computation of result out
7062 of `dolist' to silence misleading lexical-binding warning.
7063
7dbe3dbc
CY
70642011-06-04 Chong Yidong <cyd@stupidchicken.com>
7065
7066 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7067 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7068
0c33dd17
MA
70692011-06-04 Michael Albinus <michael.albinus@gmx.de>
7070
7071 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7072 "SunOS 5.10".
7073
f8f91c2b
MA
70742011-06-04 Michael Albinus <michael.albinus@gmx.de>
7075
7076 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7077 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7078 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7079 (tramp-parse-putty):
7080 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7081 (tramp-completion-function-alist-ssh)
7082 (tramp-completion-function-alist-telnet)
7083 (tramp-completion-function-alist-su)
7084 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7085 cookie.
7086
7087 * net/tramp-ftp.el:
7088 * net/tramp-sh.el:
7089 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7090 load "tramp.el" `tramp-set-completion-function'.
7091
e17d9003
SM
70922011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * shell.el: Require and use pcomplete.
7095 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7096 (shell-completion-vars): Set pcomplete-default-completion-function.
7097
6c4cab03
DD
70982011-06-04 Deniz Dogan <deniz@dogan.se>
7099
7100 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7101 `memq' (Bug#8799).
7102
ea9fafe0
SM
71032011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7106
b3e945d3
JB
71072011-06-02 Juanma Barranquero <lekktu@gmail.com>
7108
7109 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7110 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7111 * vc/log-view.el (log-view-beginning-of-defun):
7112 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7113 (smerge-refine-forward, smerge-refine-chopup-region):
7114 Silence warning for unused `dotimes' counter variables.
7115
7d520089
SM
71162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7117
7118 * net/tramp.el (tramp-with-progress-reporter): Rename from
7119 with-progress-reporter. Use `declare'.
7120 * net/tramp-smb.el:
7121 * net/tramp-sh.el:
7122 * net/tramp-gvfs.el: Update all uses.
7123
a1c2400f
JB
71242011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7125
7126 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7127 buffer isn't killed before making it current.
7128
2403c841
SM
71292011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 Silence various byte-compiler warnings.
7132 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7133 `access-type' and new obsolescence format.
7134 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7135 new format.
7136 (byte-compile-check-variable): New `access-type' argument.
7137 Only warn if the access-type is obsolete.
7138 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7139 (byte-compile-variable-set): Adjust callers.
7140 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7141 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7142 setting it as obsolete.
7143 * simple.el (minibuffer-completing-symbol):
7144 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7145 access as obsolete.
7146 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7147 obsolete yet.
7148 * international/quail.el (quail-mouse-choose-completion): Remove unused
7149 code referring to obsolete var.
7150 (quail-choose-completion-string): Remove.
7151 * server.el (server-clients-with, server-kill-buffer-query-function)
7152 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7153 * proced.el (proced-send-signal):
7154 * emacs-lisp/lisp.el (lisp-complete-symbol):
7155 Replace completion-annotate-function with completion-extra-properties.
7156
2462470b
SM
71572011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7158
fb5b2591
SM
7159 * simple.el (goto-line): Use read-number.
7160 (overriding-map-is-bound): Remove.
7161 (saved-overriding-map): Change default.
7162 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7163 Take the map as argument.
7164 (universal-argument, negative-argument, digit-argument): Use it.
7165 (restore-overriding-map): Adjust.
7166 (do-auto-fill): Use fill-forward-paragraph.
7167 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7168
fd6fa53f
SM
7169 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7170 (minibuffer-inactive-mode): New major mode.
7171 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7172 the *Messages* buffer" hack.
7173 (mouse-popup-menubar): Don't burp if the event is a normal key.
7174
2462470b
SM
7175 Miscellaneous tweaks.
7176 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7177 lexical scoping as in subr.el's dolist and dotimes.
7178 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7179 Silence compiler warning.
7180 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7181 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7182 * international/ccl.el (ccl-compile): Trivial simplification.
7183 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7184 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7185 `printflag' argument.
7186 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7187 Purecopy the whole obsolescence data.
7188
108bf785
LL
71892011-06-01 Leo Liu <sdl.web@gmail.com>
7190
7191 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7192 improve doc-string as suggested by Marco Pessotto
7193 <melmothx@gmail.com>.
7194 (rcirc-print): Fix last change.
7195
30a23501
SM
71962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * minibuffer.el (complete-with-action): Return nil for the metadata and
7199 boundaries of non-functional tables.
7200 (completion-table-dynamic): Return nil for the metadata.
7201 (completion-table-with-terminator): Add default case, using
7202 complete-with-action.
7203 (completion--metadata): New function.
7204 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7205 to try and avoid pathological performance problems.
7206 (completion--embedded-envvar-table): Return `category' metadata.
7207
bcd54f83
LMI
72082011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7209
7210 * subr.el (process-alive-p): New tiny convenience function.
7211
e227544d
SM
72122011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7215 content but also its previous major mode.
7216
e8296fdc
HE
72172011-05-31 Helmut Eller <eller.helmut@gmail.com>
7218
4d61f28d 7219 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7220 *Backtrace* buffer when we exit with C-M-c.
7221
620c53a6
SM
72222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * minibuffer.el: Add metadata method to completion tables.
7225 (completion-category-overrides): New defcustom.
7226 (completion-metadata, completion--field-metadata)
7227 (completion-metadata-get, completion--styles)
7228 (completion--cycle-threshold): New functions.
7229 (completion-try-completion, completion-all-completions):
7230 Add `metadata' argument to choose completion-styles.
7231 (completion--do-completion): Use metadata to choose cycling.
7232 (completion-all-sorted-completions): Use metadata for sorting.
7233 Remove :completion-cycle-penalty which is not needed any more.
7234 (completion--try-word-completion): Add `metadata' argument.
7235 (minibuffer-completion-help): Check metadata for annotation function
7236 and sorting.
7237 (completion-file-name-table): Return `category' metadata.
7238 (minibuffer-completing-file-name): Make obsolete.
7239 * simple.el (minibuffer-completing-symbol): Make obsolete.
7240 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7241 completion-try-completion.
7242
1257e755
SM
72432011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7246
3767e706
LL
72472011-05-30 Leo Liu <sdl.web@gmail.com>
7248
7249 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7250 (rcirc-print): Decode all incoming messages (bug#8744).
7251 (rcirc-decode-coding-system): Allow value nil for automatic coding
7252 system detection.
3767e706 7253
d1a5d56a
GM
72542011-06-01 Glenn Morris <rgm@gnu.org>
7255
7256 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7257
e8cbec34
CY
72582011-05-29 Chong Yidong <cyd@stupidchicken.com>
7259
7260 * image.el (image-animate-max-time): Allow nil and t values.
7261 Default to nil.
7262 (create-animated-image): Doc fix.
7263 (image-animate-start): Remove second arg; just use
7264 image-animate-max-time.
7265 (image-animate-timeout): Doc fix. Args changed.
7266
7267 * image-mode.el (image-toggle-display-image): Ensure that the
7268 image spec passed to the animate timer is the same object as in
58179cce 7269 the buffer's display property (Bug#6981).
e8cbec34
CY
7270 (image-transform-properties): Doc fix.
7271
7272 * image.el (image-animate-max-time): Default to nil.
7273
159daf87
MR
72742011-05-29 Martin Rudalics <rudalics@gmx.at>
7275
7276 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7277 entire buffer list (Bug#8184).
7278
d66c4c7c
CY
72792011-05-29 Chong Yidong <cyd@stupidchicken.com>
7280
7281 * image.el (imagemagick-types-inhibit)
7282 (imagemagick-register-types): Doc fix.
7283
80aec780
DD
72842011-05-29 Deniz Dogan <deniz@dogan.se>
7285
7286 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7287 default.
7288
1dd3c2d9
CY
72892011-05-29 Chong Yidong <cyd@stupidchicken.com>
7290
7291 * select.el: Don't perform clipboard-manager saving in hooks;
7292 leave the hooks empty.
7293
60e56523
LL
72942011-05-28 Leo Liu <sdl.web@gmail.com>
7295
7296 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7297 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7298 (occur-edit-mode): New major mode (Bug#8463).
7299 (occur-after-change-function): New function.
7300 (occur-engine): Give Occur tags a read-only property.
7301
2b1e1a22
KR
73022011-05-28 Kevin Ryde <user42@zip.com.au>
7303
7304 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7305
5d344e88
CY
73062011-05-28 Chong Yidong <cyd@stupidchicken.com>
7307
8e6ca83d
CY
7308 * bindings.el (help-echo): Make the initial non-indicator dash
7309 empty on graphical terminals (Bug#7295).
7310
5d344e88
CY
7311 * files.el (auto-mode-alist): Move config rule after the
7312 in-stripping one (Bug#8547).
7313
bfbbace7
CY
7314 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7315
fbeba6e2
CY
7316 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7317 setting (Bug#8740).
7318
60ed8c72
AA
73192011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7320
4ac619f0
AA
7321 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7322 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7323 (Bug#8539).
60ed8c72 7324
23db196e
CY
73252011-05-28 Chong Yidong <cyd@stupidchicken.com>
7326
7327 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7328
5012f24c
DK
73292011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7330
7331 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7332 (hs-hide-block-at-point, hs-find-block-beginning)
7333 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7334 (Bug#8279).
7335
6a639b16
GM
73362011-05-28 Glenn Morris <rgm@gnu.org>
7337
7338 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7339
d43eaf2c
CY
73402011-05-28 Chong Yidong <cyd@stupidchicken.com>
7341
5199bde1
CY
7342 * help-fns.el (describe-function-1): If the function is a derived
7343 major mode, print the parent mode.
7344
d43eaf2c
CY
7345 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7346 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7347
423428a8
SM
73482011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7349
0ff8e1ba 7350 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7351 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7352 * progmodes/etags.el (tags-completion-at-point-function):
7353 * info-look.el (info-lookup-completions-at-point): Mark as
7354 non-exclusive.
7355 (info-complete): Adjust accordingly.
7356
423428a8
SM
7357 * info-look.el: Convert to lexical-binding and completion-at-point.
7358 (info-lookup-completions-at-point): New function.
7359 (info-complete): Use it and completion-in-region.
7360
b74aa22b
DA
73612011-05-28 Drew Adams <drew.adams@oracle.com>
7362
7363 * isearch.el: Let M-e start with point at the first mismatched char.
7364 (isearch-fail-pos): New function.
7365 (isearch-edit-string): Use it.
7366
66e2e71d
DK
73672011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7368
7369 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7370
eb95d01d
TC
73712009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7372
7373 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7374 traversal functions for avl-trees.
7375 (avl-tree--stack): New struct.
7376 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7377 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7378 (avl-tree--do-enter): Add optional `updatefun' arg.
7379 Change return value.
eb95d01d 7380 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7381 (avl-tree--do-delete): Add `test' and `nilflag' args.
7382 Change return value.
eb95d01d
TC
7383 (avl-tree-member): Add optional `nilflag'
7384 (avl-tree-member-p): New function.
7385 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7386 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7387 (avl-tree-stack-empty-p): New functions.
7388
3769ddcf
TC
73892009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7390
7391 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7392 avl-tree--del-balance1 and make it work both ways.
7393 (avl-tree--del-balance2): Remove.
7394 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7395 make it work both ways.
7396 (avl-tree--enter-balance2): Remove.
7397 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7398 New macros.
7399 (avl-tree--mapc, avl-tree-map): Add direction argument.
7400
eb95d01d 74012011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7402
7403 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7404
a9f737ee
CY
74052011-05-27 Chong Yidong <cyd@stupidchicken.com>
7406
7407 * select.el: Support clipboard managers with built-in function
7408 x-clipboard-manager-save, via delete-frame-functions and
7409 kill-emacs-hook.
7410 (xselect-convert-to-targets): Add MULTIPLE target to list.
7411 (xselect-convert-to-save-targets): New function.
7412
c92a1e54
KH
74132011-05-27 Kenichi Handa <handa@m17n.org>
7414
7415 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7416 let-binding rfc2047-encode-encoded-words to nil.
7417
e145f188
GM
74182011-05-27 Glenn Morris <rgm@gnu.org>
7419
5ec8a862
GM
7420 * mail/emacsbug.el: Don't require url-util.
7421
4b29d9fb
GM
7422 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7423
e145f188
GM
7424 * files.el (set-auto-mode):
7425 Also respect mode: entries at the end of the file. (Bug#8586)
7426
7d15102b
GM
74272011-05-26 Glenn Morris <rgm@gnu.org>
7428
98f593b8
GM
7429 * files.el (hack-local-variables-prop-line, hack-local-variables):
7430 Downcase mode names, as seems to be traditional.
27b48e63 7431 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7432
7d15102b
GM
7433 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7434 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7435
51d5b4ec
JD
74362011-05-25 Julien Danjou <julien@danjou.info>
7437
7438 * textmodes/rst.el (rst-define-level-faces): Do not define face
7439 symbol if it is already defined.
7440
91513f63
VB
74412011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7442
7443 * play/5x5.el (5x5-new-game, 5x5-randomize):
7444 Reset 5x5-solver-output to nil when a new grid is cast.
7445 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7446 these debugging traces, as defmacro breaks the compiled code.
7447
4d90d6d0
DK
74482011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7449
7450 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7451
e1b90ef6
LL
74522011-05-24 Leo Liu <sdl.web@gmail.com>
7453
7454 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7455 (vc-bzr-sha1): Adapt.
7456
d8e4b68b 7457 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7458
7459 * bindings.el: Provide sha1 feature.
7460
db0406bb 74612011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7462
7463 * mail/sendmail.el: Require `rfc2047'.
7464 (mail-insert-from-field): Do not perform RFC2047 encoding.
7465 (mail-encode-header): New function.
7466 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7467 buffer to the return value of select-message-coding-system.
7468 Call mail-encode-header.
b8d747b9
KH
7469
7470 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7471
db0406bb 74722011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7473
4d90d6d0
DK
7474 * mail/supercite.el (sc-default-cite-frame):
7475 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7476
eb8a5e9b
GM
74772011-05-24 Glenn Morris <rgm@gnu.org>
7478
f8630703
GM
7479 * progmodes/python.el (brm-menu): Declare.
7480
8831bbed
GM
7481 * emulation/viper.el (viper-set-hooks): Declare.
7482
eb8a5e9b
GM
7483 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7484 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7485 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7486 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7487 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7488 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7489
a2a25d24
SM
74902011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 Add an :exit-function for completion-at-point.
7493
7494 * minibuffer.el (completion--done): New fun.
7495 (completion--do-completion): Use it. New arg `expect-exact'.
7496 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7497 since completion--do-completion does it for us now.
7498 (minibuffer-force-complete): Use completion--done and
7499 completion--replace. Handle sole-completion case with more care.
7500 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7501 (completion-extra-properties): New var.
7502 (completion-annotate-function): Make obsolete.
7503 (minibuffer-completion-help): Adjust accordingly.
7504 Use completion-list-insert-choice-function.
7505 (completion-at-point, completion-help-at-point):
7506 Bind completion-extra-properties.
7507 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7508 * simple.el (completion-list-insert-choice-function): New var.
7509 (completion-setup-function): Preserve it.
7510 (choose-completion): Pay attention to it, shuffle the code a bit.
7511 (choose-completion-string): New arg `insert-function'.
7512
7513 * textmodes/bibtex.el: Convert to lexical binding.
7514 (bibtex-mode-map): Use completion-at-point.
7515 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7516 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7517 (bibtex-complete): Define as obsolete alias.
7518 (bibtex-complete-internal): Remove.
7519 (bibtex-format-entry): Remove unused sub-group in regexp.
7520 * shell.el (shell--command-completion-data)
7521 (shell-environment-variable-completion):
7522 * pcomplete.el (pcomplete-completions-at-point):
7523 * comint.el (comint--complete-file-name-data): Use :exit-function
7524 instead of completion-table-with-terminator so it also works for
7525 choose-completion.
7526
e44e373d
SM
75272011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7528
4f91a816
SM
7529 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7530
782fc819
SM
7531 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7532 (bug#8710).
7533
e44e373d
SM
7534 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7535
381987c3
KM
75362011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7537
7538 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7539 customization variable and implement: If non-nil, auto-fill will
7540 be inhibited while on topic's header line.
7541
b776bc70
VB
75422011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7543
7544 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7545 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7546 always have a solution in grid size = 5 cases.
7547 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7548 (5x5-solver-output, 5x5-log-buffer): New vars.
7549 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7550 Make these variables buffer local to achieve 5x5 multi-session-ness.
7551 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7552 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7553 (5x5-solve-suggest): New funs.
7554 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7555 randomize a grid so that we ensure that there is always a solution.
7556 (5x5-make-random-grid): Allow other movement than flipping.
7557
7de88b6e
KR
75582011-05-23 Kevin Ryde <user42@zip.com.au>
7559
7560 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7561 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7562 advice and passes PREDICATE.
7563
b1ef1257
SM
75642011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7565
bbca48fe
SM
7566 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7567 byte-compile-lambda if it's actually a lambda.
7568
b1ef1257
SM
7569 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7570 Fix function quoting. Use backquote better.
7571
92a9cc65
YS
75722011-05-22 Yuanle Song <sylecn@gmail.com>
7573
7574 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7575 matching (Bug#8516).
7576
f0fb8059
JA
75772011-01-22 Jari Aalto <jari.aalto@cante.net>
7578
7579 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7580 different face (Bug#8178).
7581
d5b44c93
CY
75822011-05-22 Chong Yidong <cyd@stupidchicken.com>
7583
7584 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7585 defface (Bug#8144).
7586
79106a44
SM
75872011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7588
9c848d8a
SM
7589 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7590 funcall as well (bug#8712). Warn when performing those conversions.
7591 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7592
79106a44
SM
7593 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7594
88dfa756
GM
75952011-05-22 Glenn Morris <rgm@gnu.org>
7596
7597 * files.el (hack-local-variables-prop-line): Small simplifications.
7598 (hack-local-variables, hack-local-variables-prop-line):
7599 If MODE-ONLY, return the mode, rather than just `t'.
7600
b7cf2c79
SM
76012011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7604
3f1a8558
GM
76052011-05-21 Glenn Morris <rgm@gnu.org>
7606
7e4ccca3
GM
7607 * files.el (hack-local-variables-prop-line, hack-local-variables):
7608 If only interested in the mode, don't bother doing the other stuff.
7609
637d46ca
GM
7610 * image-mode.el (image-after-revert-hook):
7611 Redraw all frames on which the image is visible. (Bug#8567)
7612
973d955b
GM
7613 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7614
3f1a8558
GM
7615 * wid-edit.el (widget-checklist-match-inline):
7616 Fix 2011-04-19 change. (Bug#8649)
7617
96479927
SM
76182011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7619
1dcf791f
SM
7620 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7621 Also allow singlespace after single-letter capitals followed by a dot.
7622
96479927
SM
7623 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7624 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7625
35fd0881
N
76262011-05-20 Nix <nix@esperi.org.uk>
7627
7628 * files.el (basic-save-buffer-2):
7629 Fix handling of break-hardlink-on-save with non-existent files.
7630
82745640
DD
76312011-05-19 Deniz Dogan <deniz@dogan.se>
7632
7633 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7634 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7635
4a720484
GM
76362011-05-19 Glenn Morris <rgm@gnu.org>
7637
d1f21341
GM
7638 * progmodes/f90.el (f90-type-def-re):
7639 Handle "type, bind(c)". (Bug#8691)
7640
4a720484
GM
7641 * emacs-lisp/autoload.el (batch-update-autoloads):
7642 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7643
2fb0a219
MA
76442011-05-18 Michael Albinus <michael.albinus@gmx.de>
7645
7646 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7647 property for the correct connection in case of multihops.
7648
e565dd37
GM
76492011-05-18 Glenn Morris <rgm@gnu.org>
7650
c2571358 7651 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7652 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7653
e565dd37
GM
7654 Rationalize calendar handling of day and month abbrev-arrays.
7655 * calendar/calendar.el (calendar-customized-p): New function.
7656 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7657 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7658 Add :set function.
7659 (calendar-abbrev-length, calendar-day-abbrev-array)
7660 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7661 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7662 Elements may no longer be nil.
7663 (calendar-day-name, calendar-month-name):
7664 Update for changed nature of abbrev arrays.
7665 * calendar/diary-lib.el (diary-name-pattern):
7666 Update for changed nature of abbrev arrays.
7667 (diary-mark-entries-1): Update calendar-make-alist calls.
7668 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7669 * calendar/cal-html.el (cal-html-day-abbrev-array):
7670 Simply inherit from calendar-day-abbrev-array.
7671
1d99a745
SM
76722011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * progmodes/grep.el (grep-mode): Disable default
7675 compilation-directory-matcher setting (bug#8684).
7676
7c1d9aa0
MA
76772011-05-17 Michael Albinus <michael.albinus@gmx.de>
7678
7679 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7680 instead of "head" and "tail". There were problems with SunOS 5.9,
7681 and it performs better.
7682
3952e9d8
GM
76832011-05-17 Glenn Morris <rgm@gnu.org>
7684
2dd12e7f
GM
7685 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7686
e4157b9c
GM
7687 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7688 Replace obsolete function.
7689
8e249bbd
GM
7690 * shell.el (pcomplete-parse-arguments-function): Declare.
7691
3952e9d8
GM
7692 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7693 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7694 (appt-check): Doc fixes.
7695 (appt-disp-window-function, appt-delete-window-function):
7696 Remove needless special case in custom :type.
7697 (appt-display-count): Default to 0, not nil.
7698 (appt-check): Reset appt-display-count to 0, not nil.
7699
c71a0d48 77002011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7701
c71a0d48
GM
7702 * progmodes/python.el (python-font-lock-keywords):
7703 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7704
31d55be9
SM
77052011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7708
3bfacb2f
KR
77092011-05-16 Kevin Ryde <user42@zip.com.au>
7710
7711 * info-look.el (makefile-automake-mode): New setups, looking in
7712 automake manual, then makefile-mode.
7713 (makefile-mode): Remove automake manual, have it just in
7714 makefile-automake-mode since there's various things different or
7715 not relevant to plain make.
7716 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7717 believe a hypothetical automake-mode would go to makefile-mode,
7718 not the other way around.
7719
c8e83751
CY
77202011-05-15 Chong Yidong <cyd@stupidchicken.com>
7721
5e9e35cd
CY
7722 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7723 hunk-end tags (Bug#8672).
7724
c8e83751
CY
7725 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7726 vc-annotate-show-diff-revision-at-line (Bug#8671).
7727
50b23e5a
GM
77282011-05-14 Glenn Morris <rgm@gnu.org>
7729
7210a739
GM
7730 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7731 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7732 (change-log-font-lock-keywords): Also handle multiple author lines
7733 with leading tabs. (Bug#8644)
7210a739 7734
4691905a
GM
7735 * calendar/appt.el (appt-check): Rename some local variables.
7736 Some simplification/reordering.
7737
50b23e5a
GM
7738 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7739 (feedmail-sendmail-f-doesnt-sell-me-out)
7740 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7741 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7742 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7743 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7744 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7745 (feedmail-binmail-gnulinuxish-template):
7746 Rename from feedmail-binmail-linuxish-template.
7747 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7748 Use insert-buffer-substring.
7749
215cda7c
BC
77502011-05-14 Bill Carpenter <bill@carpenter.org>
7751
7752 * mail/feedmail.el (feedmail-patch-level): Increase.
7753 (feedmail-debug): New custom group.
7754 (feedmail-confirm-outgoing-timeout)
7755 (feedmail-sendmail-f-doesnt-sell-me-out)
7756 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7757 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7758 (feedmail-sender-line, feedmail-from-line)
7759 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7760 (feedmail-spray-this-address)
215cda7c
BC
7761 (feedmail-spray-address-fiddle-plex-list)
7762 (feedmail-queue-use-send-time-for-date)
7763 (feedmail-queue-use-send-time-for-message-id)
7764 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7765 (feedmail-buffer-eating-function):
7766 Doc fixes.
7767 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7768 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7769 (feedmail-message-action-scroll-down): New functions.
7770 (feedmail-queue-directory, feedmail-queue-draft-directory):
7771 Use expand-file-name.
7772 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7773 Remove C-v help entry.
7774 (feedmail-queue-buffer-file-name): New variable.
7775 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7776 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7777 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7778 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7779 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7780 (feedmail-message-action-toggle-spray)
7781 (feedmail-run-the-queue-no-prompts)
7782 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7783 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7784 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7785 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7786 (feedmail-envelope-deducer, feedmail-fiddle-from)
7787 (feedmail-fiddle-sender, feedmail-default-date-generator)
7788 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7789 (feedmail-fiddle-spray-address)
7790 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7791 (feedmail-fiddle-list-of-fiddle-plexes)
7792 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7793 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7794 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7795 Change default. Doc fix.
7796 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7797 (feedmail-binmail-linuxish-template): New constant.
7798 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7799 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7800 (feedmail-send-it): Add debug call.
7801 Use feedmail-queue-buffer-file-name, and
7802 feedmail-send-it-immediately-wrapper.
7803 (feedmail-message-action-send): Add debug call.
7804 Use feedmail-send-it-immediately-wrapper.
7805 (feedmail-queue-express-to-queue): Add debug call.
7806 Run feedmail-queue-express-hook.
7807 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7808 (feedmail-message-action-help-blat):
7809 Rename from feedmail-queue-send-edit-prompt-help-first.
7810 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7811 Check line-endings. Handle errors better.
7812 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7813 Doc fix. Add debug call.
7814 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7815 Use feedmail-queue-send-edit-prompt-inner.
7816 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7817 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7818 from feedmail-queue-send-edit-prompt.
7819 (feedmail-queue-send-edit-prompt-help)
7820 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7821 (feedmail-tidy-up-slug): Add debug call.
7822 Respect feedmail-queue-slug-suspect-regexp.
7823 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7824 (feedmail-dump-message-to-queue): Add debug call.
7825 Expand queue-directory.
7826 (feedmail-dump-message-to-queue): Change message slightly.
7827 Use feedmail-say-chatter.
7828 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7829 (feedmail-send-it-immediately-wrapper): New function.
7830 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7831 Insert empty string rather than newline. Handle full-frame case.
7832 Use catch/throw. Use feedmail-say-chatter.
7833 (feedmail-fiddle-from): Try mail-host-address.
7834 (feedmail-default-message-id-generator): Doc fix.
7835 Bind system-time-locale. Handle missing end.
7836 (feedmail-fiddle-x-mailer): Add debug call.
7837 Handle feedmail-x-mailer-line being nil.
7838 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7839 Add debug call. Use buffer-substring-no-properties.
7840 (feedmail-say-debug, feedmail-say-chatter): New functions.
7841 (feedmail-find-eoh): Give an explicit error.
7842
42c7e61e
UJ
78432011-05-13 Ulf Jasper <ulf.jasper@web.de>
7844
c2571358 7845 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7846 family from helvetica to sans.
c2571358 7847 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7848 etc/images/newsticker.
7849
c2571358 7850 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7851 family from helvetica to sans.
7852
7853 * net/newst-plainview.el (newsticker-new-item-face)
7854 (newsticker-old-item-face, newsticker-immortal-item-face)
7855 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7856 (newsticker-statistics-face): Change default family from
42c7e61e 7857 helvetica to sans.
c2571358 7858 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7859 etc/images/newsticker.
7860
7861 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7862 (newsticker--process-auto-mark-filter-match): : Tell user about
7863 auto-marking.
7864
8497a297
DV
78652011-05-13 Didier Verna <didier@xemacs.org>
7866
7867 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7868 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7869 TODO entries.
8497a297
DV
7870 (lisp-lambda-list-keyword-parameter-indentation)
7871 (lisp-lambda-list-keyword-parameter-alignment)
7872 (lisp-lambda-list-keyword-alignment): New customizable user options.
7873 (lisp-indent-defun-method): Improve docstring.
7874 (extended-loop-p): Fix comment.
7875 (lisp-indent-lambda-list-keywords-regexp): New variable.
7876 (lisp-indent-lambda-list): New function.
7877 (lisp-indent-259): Use it.
7878 (lisp-indent-defmethod): Support for more than one
7879 method qualifier and properly indent methods lambda-lists.
7880 (defgeneric): Provide a missing common-lisp-indent-function property.
7881
f278f87f
SM
78822011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7885 bounds for the empty string (bug#8667).
7886
5233edd7
GM
78872011-05-13 Glenn Morris <rgm@gnu.org>
7888
5237a44f
GM
7889 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7890
8340026c 7891 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7892 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7893
5233edd7 7894 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7895 (appt-time-msg-list): Doc fix.
a5464014 7896 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7897
92d10796
AS
78982011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7899
7900 * progmodes/ld-script.el (ld-script-keywords)
7901 (ld-script-builtins): Update keywords list.
7902
914a0ae1
SM
79032011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7904
c89be45f
SM
7905 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7906
914a0ae1
SM
7907 * shell.el (shell-completion-vars): New function.
7908 (shell-mode):
7909 * simple.el (read-shell-command): Use it.
7910 (blink-matching-open): No need for " [...]" in minibuffer-message.
7911
98dc3df3
GM
79122011-05-12 Glenn Morris <rgm@gnu.org>
7913
7914 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7915 (appt-check): Simplify.
7916
d2fc7e3d 79172011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7918
4d61f28d 7919 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7920 literal "/dev/null".
7921
d2fc7e3d 79222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7923
7924 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7925 Fix typo.
7926
d2fc7e3d 79272011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7928
3f254caa
SM
7929 * progmodes/which-func.el (which-function):
7930 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7931 which might not be defined (Bug#8260).
7932
d45885f7
GM
79332011-05-12 Glenn Morris <rgm@gnu.org>
7934
7935 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7936 Let byte-compile-initial-macro-environment always take precedence.
7937
488086f4
SM
79382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * net/rcirc.el: Add support for SSL/TLS connections.
7941 (rcirc-server-alist): New field `encryption'.
7942 (rcirc): Check `encryption' settings.
7943 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7944 Merge make-local-variable into `set'.
7945 (rcirc--connection-open-p): New function.
7946 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7947 the process is not a network process (e.g. running gnutls-cli).
7948 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7949 Make rcirc-(en|de)code-coding-system local here.
7950 (rcirc-mode): Merge make-local-variable into `set'.
7951 (rcirc-parent-buffer): Make permanent buffer-local.
7952 (rcirc-multiline-minor-mode): Don't do it here.
7953 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7954 there's no server buffer.
7955
7d3b9d44
GM
79562011-05-11 Glenn Morris <rgm@gnu.org>
7957
f64049c6
GM
7958 * newcomment.el (comment-kill): Prefix "unused" local.
7959
93c9df73
GM
7960 * term/w32console.el (get-screen-color): Declare.
7961
7d3b9d44
GM
7962 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7963 Handle symbol elements of byte-compile-initial-macro-environment.
7964
9e2dd53f
LL
79652011-05-10 Leo Liu <sdl.web@gmail.com>
7966
488086f4
SM
7967 * bookmark.el (bookmark-bmenu-mode-map):
7968 Bind bookmark-bmenu-search to `/'.
8b340240 7969
9e2dd53f 7970 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7971 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7972 (Footnote-unicode): New function.
7973 (footnote-style-alist): Add unicode style to the list.
7974 (footnote-style): Doc fix.
9e2dd53f 7975
79b70037
GM
79762011-05-10 Jim Meyering <meyering@redhat.com>
7977
7978 Fix doubled-word typos.
7979 * international/quail.el (quail-insert-kbd-layout): and and -> and
7980 * kermit.el: and and -> and
7981 * net/ldap.el (ldap-search-internal): to to -> to
7982 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7983 * progmodes/js.el (js-mode): and and -> and
7984 * textmodes/artist.el (artist-move-to-xy): at at -> at
7985 (artist-draw-region-trim-line-endings): if if -> if
7986 And Safetyc -> Safety.
7987 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7988
b8f82dc1 79892011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7990 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7991
7992 * files.el (hack-one-local-variable-eval-safep):
7993 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7994
4f99f44b
GM
79952011-05-10 Glenn Morris <rgm@gnu.org>
7996
7997 * calendar/diary-lib.el (diary-list-entries-hook)
7998 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7999 (diary-nongregorian-marking-hook, diary-list-entries)
8000 (diary-include-other-diary-files, diary-mark-entries)
8001 (diary-mark-included-diary-files): Doc fixes.
8002
84f29e6b
JB
80032011-05-09 Juanma Barranquero <lekktu@gmail.com>
8004
8005 * misc.el: Require tabulated-list.el during compilation.
8006
9bedd73a
CY
80072011-05-09 Chong Yidong <cyd@stupidchicken.com>
8008
488086f4
SM
8009 * progmodes/compile.el (compilation-start):
8010 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8011 (compilation-filter-hook): Doc fix.
8012
797c735c
DD
80132011-05-09 Deniz Dogan <deniz@dogan.se>
8014
8015 * wdired.el: Remove outdated installation comment. Fix usage
8016 comment.
8017
5f4b1dfe
JB
80182011-05-09 Juanma Barranquero <lekktu@gmail.com>
8019
8020 * misc.el: Implement new command `list-dynamic-libraries'.
8021 (list-dynamic-libraries--loaded-only-p): New variable.
8022 (list-dynamic-libraries--refresh): New function.
8023 (list-dynamic-libraries): New command.
8024
4c44026c
CY
80252011-05-09 Chong Yidong <cyd@stupidchicken.com>
8026
488086f4
SM
8027 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8028 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8029 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8030 higher priority to avoid clobbering by gnu.
8031
027f966d
CY
80322011-05-08 Chong Yidong <cyd@stupidchicken.com>
8033
8034 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8035 if the face has existing theme settings (Bug#8454).
8036
085f5d7d
CY
80372011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8038
488086f4
SM
8039 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8040 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8041
2a86a00c
RS
8042 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8043 special file names `.' and `..' (Bug#8259).
8044
d9c54a06
CY
80452011-05-08 Chong Yidong <cyd@stupidchicken.com>
8046
488086f4
SM
8047 * progmodes/grep.el (grep-mode-font-lock-keywords):
8048 Remove buffer-changing entries.
d9c54a06
CY
8049 (grep-filter): New function.
8050 (grep-mode): Add it to compilation-filter-hook.
8051
8052 * progmodes/compile.el (compilation-filter-hook)
8053 (compilation-filter-start): New defvars.
8054 (compilation-filter): Call compilation-filter-hook prior to
8055 updating the process mark.
8056
c4662635
SM
80572011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8060
b0512a1d
EZ
80612011-05-07 Eli Zaretskii <eliz@gnu.org>
8062
605c9376
EZ
8063 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8064 mailclient-send-it even if window-system is nil. (Bug#8595)
8065
c4662635
SM
8066 * term/w32console.el (terminal-init-w32console):
8067 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8068 background-mode. (Bug#8597)
8069
d1dc2cc2
SM
80702011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8073 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8074 New functions.
8075 (defgeneric, eieio--defmethod): Use them.
8076 (eieio-defgeneric): Remove.
8077 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8078
915d1300
GM
80792011-05-07 Glenn Morris <rgm@gnu.org>
8080
a3961c3e
GM
8081 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8082 Use let rather than let*.
8083 (timeclock-find-discrep): Remove unused local.
8084
314347b9
GM
8085 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8086
915d1300
GM
8087 * calendar/appt.el (appt-time-msg-list): Doc fix.
8088
275b59b0
NF
80892011-05-06 Noah Friedman <friedman@splode.com>
8090
8091 * apropos.el (apropos-print-doc): Only use
8092 emacs-lisp-docstring-fill-column when it is bound to an integer,
8093 per that variable's documentation.
8094
6c19f744
SM
80952011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8098 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8099
60f884b2
GM
81002011-05-06 Glenn Morris <rgm@gnu.org>
8101
5006e634
GM
8102 * calendar/appt.el (appt-message-warning-time): Doc fix.
8103 (appt-warning-time-regexp): New option.
8104 (appt-make-list): Respect appt-message-warning-time.
8105
548d0a63
GM
8106 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8107 New options.
8108 (diary-add-to-list): Strip comments from the displayed string.
8109 (diary-mode): Set comment-start and comment-end.
8110
60f884b2
GM
8111 * vc/diff-mode.el (smerge-refine-subst): Declare.
8112 (diff-refine-hunk): Don't require smerge-mode when compiling.
8113
989681bb
JB
81142011-05-06 Juanma Barranquero <lekktu@gmail.com>
8115
8116 * simple.el (list-processes): Return nil as the docstring says.
8117
a6bc05e1
MA
81182011-05-05 Michael Albinus <michael.albinus@gmx.de>
8119
8120 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8121 to "".
8122 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8123 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8124 determining of binary transfer. (Bug#7383)
8125
23c22e9a
MA
81262011-05-05 Michael Albinus <michael.albinus@gmx.de>
8127
c4662635
SM
8128 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8129 Fix port computation bug. (Bug#8618)
23c22e9a 8130
0bff894f
GM
81312011-05-05 Glenn Morris <rgm@gnu.org>
8132
b8296902
GM
8133 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8134
1f522ce8
GM
8135 * simple.el (shell-dynamic-complete-functions)
8136 (comint-dynamic-complete-functions): Declare.
8137
cf5bee67
GM
8138 * net/network-stream.el (gnutls-negotiate):
8139 * simple.el (tabulated-list-print): Fix declarations.
8140
8141 * progmodes/gud.el (syntax-symbol, syntax-point):
8142 Remove unnecessary and incorrect declarations.
8143
0bff894f
GM
8144 * emacs-lisp/check-declare.el (check-declare-scan):
8145 Handle byte-compile-initial-macro-environment in bytecomp.el
8146
9869b3ae
SM
81472011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 Fix earlier half-done eieio-defmethod change (bug#8338).
8150 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8151 Streamline and change calling convention.
8152 (defmethod): Adjust accordingly and simplify.
8153 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8154 new eieio--defmethod.
8155 (slot-boundp): Minor CSE simplification.
8156
9c1d5ac5
MZ
81572011-05-05 Milan Zamazal <pdm@zamazal.org>
8158
8159 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8160 (glasses-make-readable): Use glasses-separate-capital-groups.
8161
455c834e
JB
81622011-05-05 Juanma Barranquero <lekktu@gmail.com>
8163
8164 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8165 (warning-series): Doc fix.
8166 (display-warning): Don't try to create the buffer if we just found it.
8167
9ed7c8cb
CY
81682011-05-04 Chong Yidong <cyd@stupidchicken.com>
8169
8170 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8171 (autoload-find-generated-file): New function.
8172 (generate-file-autoloads): Bind generated-autoload-file to
8173 buffer-file-name.
9869b3ae
SM
8174 (update-file-autoloads, update-directory-autoloads):
8175 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8176 output file (Bug#7989).
8177 (batch-update-autoloads): Doc fix.
8178
0898ca10
JB
81792011-05-04 Juanma Barranquero <lekktu@gmail.com>
8180
8181 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8182
31dfb76c
GM
81832011-05-04 Glenn Morris <rgm@gnu.org>
8184
f330b642
GM
8185 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8186 function, so it follows changes in calendar-date-style.
8187 (diary-fancy-date-matcher): New function.
8188 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8189 (diary-fancy-font-lock-fontify-region-function):
8190 Use diary-fancy-date-pattern as a function.
8191
31dfb76c
GM
8192 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8193 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8194
48e79d6a
TZ
81952011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8196
8197 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8198 instead of positional arguments. Allow :keylist and :crlfiles
8199 arguments.
8200 (open-gnutls-stream): Call it.
8201
8202 * net/network-stream.el (network-stream-open-starttls): Adjust to
8203 call `gnutls-negotiate' with :process and :hostname arguments.
8204
dd5a5ee0
SM
82052011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8206
ef80fc09
SM
8207 * minibuffer.el (completion--message): New function.
8208 (completion--do-completion, minibuffer-complete)
8209 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8210 (completion--do-completion): Don't ignore completion-auto-help when in
8211 icomplete-mode.
8212
dd5a5ee0
SM
8213 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8214 internal encoding (e.g. tibetan zero is not whitespace).
8215 (global-whitespace-mode): Prefer save-current-buffer.
8216 (whitespace-trailing-regexp): Remove useless save-match-data.
8217 (whitespace-empty-at-bob-regexp): Minor simplification.
8218
b7d22a83
CY
82192011-05-03 Chong Yidong <cyd@stupidchicken.com>
8220
8221 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8222
5192af46
AM
82232011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8224
8225 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8226 Use `concat' to create string for insertion.
5192af46 8227
5767d190
SM
82282011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8231 Avoid open-line which runs post-self-insert-hook.
8232 (bibtex-fill-entry): Remove unused `end' var.
8233
bf242939
AM
82342011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8235
5767d190
SM
8236 * textmodes/ispell.el (ispell-add-per-file-word-list):
8237 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8238
25666126
LL
82392011-05-03 Leo Liu <sdl.web@gmail.com>
8240
8241 * isearch.el (isearch-yank-pop): New command.
5767d190 8242 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8243 (isearch-forward): Mention it.
8244
52d3c2d0
SM
82452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8246
1bcace58
SM
8247 * simple.el (minibuffer-complete-shell-command): Remove.
8248 (minibuffer-local-shell-command-map): Use completion-at-point.
8249 (read-shell-command): Setup completion vars here instead.
8250 (read-expression-map): Bind TAB to symbol completion.
8251
52d3c2d0
SM
8252 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8253 error directly rather via storing it into `results'.
8254
35813471
LL
82552011-05-02 Leo Liu <sdl.web@gmail.com>
8256
8257 * vc/diff.el: Fix description.
8258
e793a940
LMI
82592011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8260
8261 * server.el (server-eval-at): New function.
8262
8de66e05
LMI
82632011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8264
8265 * net/network-stream.el (open-network-stream): Take a :nowait
8266 parameter and pass it on to `make-network-process'.
8267 (network-stream-open-plain): Ditto.
8268
dcb79f20
AS
82692011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8270
8271 * faces.el (face-spec-set-match-display): Don't match toolkit
8272 options on terminal frames.
8273
14a7fbd8
SM
82742011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8275
7eabc1be
SM
8276 * progmodes/pascal.el: Use lexical binding.
8277 (pascal-mode-map): Remove author preferences.
8278
14a7fbd8
SM
8279 * pcomplete.el (pcomplete-std-complete): Don't abuse
8280 completion-at-point.
8281
50f84510
JB
82822011-04-28 Juanma Barranquero <lekktu@gmail.com>
8283
6e087a44
JB
8284 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8285 removing code that has been dead since 1991 or so.
8286
50f84510
JB
8287 * startup.el (command-line): When warning about "_emacs", use a
8288 delayed warning to allow the user to filter it out.
8289
0ba690bd
DD
82902011-04-28 Deniz Dogan <deniz@dogan.se>
8291
8292 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8293 user has not joined.
8294
08abfaad
SM
82952011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8298 aren't any completions at point.
8299
638f053a
JB
83002011-04-28 Juanma Barranquero <lekktu@gmail.com>
8301
8302 * subr.el (display-delayed-warnings): New function.
8303 (delayed-warnings-hook): New variable.
8304
8fff8daa
SM
83052011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8306
08abfaad
SM
8307 * minibuffer.el (completion-at-point, completion-help-at-point):
8308 Don't presume that a given completion-at-point-function will always
8309 use the same calling convention.
8310
8fff8daa
SM
8311 * pcomplete.el (pcomplete-completions-at-point):
8312 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8313 pcomplete-seen is non-nil.
8314 (pcomplete-comint-setup): Also recognize the new comint/shell
8315 completion functions.
8316 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8317 pcomplete-seen is non-nil.
8318
841a1577 83192011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8320
841a1577 8321 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8322 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8323 the first character in the entry. This allows for code to add its
211ec907
UJ
8324 own uid to the entry.
8325 (icalendar--convert-float-to-ical): Add export of
8326 `diary-float'-entries save for those with the optional DAY
8327 argument.
8328
2a782793
DC
83292011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8330
8331 * subr.el (shell-quote-argument): Use alternate escaping strategy
8332 when we spot a variable reference in a string.
8333
0438ce91
DC
83342011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8335
8336 * cus-start.el (all): Define customization for debug-on-event.
8337
841a1577 83382011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8339
8340 * subr.el (shell-quote-argument): Escape correctly under Windows.
8341
d090ed6c
SM
83422011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8345
bfd31217
MA
83462011-04-25 Michael Albinus <michael.albinus@gmx.de>
8347
d090ed6c
SM
8348 * net/tramp.el (tramp-process-actions): Add POS argument.
8349 Delete region between POS and (pos).
bfd31217 8350
d090ed6c
SM
8351 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8352 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8353 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8354
8355 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8356 position in `tramp-process-actions' call.
8357
8358 * net/trampver.el: Update release number.
8359
e92f3bd3
SM
83602011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8361
850256b5
SM
8362 * custom.el (defcustom): Obey lexical-binding.
8363
e92f3bd3
SM
8364 Fix octave-inf completion problems reported by Alexander Klimov.
8365 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8366 Inherit from octave-mode-syntax-table.
8367 (inferior-octave-mode): Set info-lookup-mode.
8368 (inferior-octave-completion-at-point): New function.
8369 (inferior-octave-complete): Use it and completion-in-region.
8370 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8371 comint-filename-completion.
8372 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8373 symbol elements which shouldn't be word elements.
8374 (octave-font-lock-keywords, octave-beginning-of-defun)
8375 (octave-function-header-regexp): Adjust regexps accordingly.
8376 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8377
cd22b309
JB
83782011-04-25 Juanma Barranquero <lekktu@gmail.com>
8379
8380 * net/gnutls.el (gnutls-errorp): Declare before first use.
8381
8b492194
TZ
83822011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8383
8384 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8385 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8386 default trustfile exists before going to use it. Add missing
5a5fa834 8387 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8388 Reported by Claudio Bley <claudio.bley@gmail.com>.
8389 (open-gnutls-stream): Add usage example.
8390
8391 * net/network-stream.el (network-stream-open-starttls): Give host
8392 parameter to `gnutls-negotiate'.
8393 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8394 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8395
841a1577 83962011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8397
cd22b309
JB
8398 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8399 Use correct match group (bug#8438).
05842630 8400
3ba7869c
CY
84012011-04-24 Chong Yidong <cyd@stupidchicken.com>
8402
512e3ae1
CY
8403 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8404 (package-menu--generate): New arg specifying packages to show.
8405 (package-menu-refresh, package-menu-execute, list-packages):
8406 Callers changed.
8407 (package-show-package-list): New function, replacing deleted
8408 package--list-packages (renamed because it is non-internal).
8409
8410 * finder.el (finder-list-matches): Use package-show-package-list
8411 instead of deleted package--list-packages.
8412
e92f3bd3
SM
8413 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8414 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8415 (vc-annotate-mode-map): Bind it to RET.
8416
7031be6d
UR
84172011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8418
8419 * progmodes/etags.el (next-file): Don't use set-buffer to change
8420 buffers (Bug#8478).
8421
4ef177aa
CY
84222011-04-24 Chong Yidong <cyd@stupidchicken.com>
8423
c8d173eb
CY
8424 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8425
4ef177aa
CY
8426 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8427 (apropos-accumulator): Doc fix.
8428 (apropos-function, apropos-macro, apropos-command)
8429 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8430 (apropos-plist): Add face property.
8431 (apropos-symbols-internal): Fix indentation.
8432 (apropos-print): Simplify help, and recognize apropos-multi-type.
8433 (apropos-print-doc): Use button-type-get to extract the button's
8434 face property. Fill docstring (Bug#8352).
8435
4ffd0d6b 84362011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8437
8438 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8439
c6c32125 8440 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8441 (mpuz-mode-map): Use mapc.
c6c32125
JB
8442 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8443 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8444 Fix typos in docstrings.
8445
58d468b4
JB
8446 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8447 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8448
6470c3c6
JB
8449 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8450
4ffd0d6b 84512011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8452
8453 * minibuffer.el (completion--do-completion): Avoid the "Next char
8454 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8455
3ad8bad0
CY
8456 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8457 mouse-2 into unread-command-events, it is interpreted correctly.
8458
71d73c9c 8459 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8460 (image-toggle-display): Doc fix.
71d73c9c 8461
841a1577 84622011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8463
4ffd0d6b
GM
8464 * textmodes/page.el (what-page): Use line-number-at-pos to
8465 calculate line number (Bug#6825).
6e1dbaa9 8466
c2fb1b60
JB
84672011-04-22 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8470 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8471 Pass argument NO-DEFAULT to `find-tag-interactive'.
8472
e02f48d7
JB
84732011-04-22 Juanma Barranquero <lekktu@gmail.com>
8474
8475 Lexical-binding cleanup.
8476
8477 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8478 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8479 * progmodes/ada-prj.el (ada-prj-initialize-values)
8480 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8481 (ada-prj-show-value):
8482 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8483 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8484 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8485 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8486 * progmodes/bug-reference.el (bug-reference-push-button):
8487 * progmodes/fortran.el (fortran-line-length):
8488 * progmodes/glasses.el (glasses-change):
8489 * progmodes/octave-mod.el (octave-fill-paragraph):
8490 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8491 (python-pdbtrack-grub-for-buffer, python-sentinel):
8492 * progmodes/sql.el (sql-save-connection):
8493 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8494 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8495 Mark unused parameters.
8496
8497 * progmodes/compile.el (compilation--flush-directory-cache)
8498 (compilation--flush-parse, compile-internal): Mark unused parameters.
8499 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8500 (compilation-next-error-function): Remove unused variable `timestamp'.
8501
8502 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8503 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8504
8505 * progmodes/dcl-mode.el (dcl-end-of-command):
8506 Remove unused variable `start'.
8507 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8508 (dcl-option-value-basic, dcl-option-value-offset)
8509 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8510 Mark unused parameters.
8511 (dcl-save-local-variable): Remove unused variable `val'.
8512 (mode): Declare.
8513
8514 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8515 Mark unused parameters.
8516 (delphi-ignore-changes): Move before first use.
8517 (delphi-charset-token-at): Remove unused variable `start'.
8518 (delphi-else-start): Remove unused variable `if-count'.
8519 (delphi-comment-block-start, delphi-comment-block-end):
8520 Remove unused variable `kind'.
8521 (delphi-indent-line): Remove unused variable `new-point'.
8522
8523 * progmodes/ebrowse.el (ebrowse-files-list)
8524 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8525 Mark unused parameters. Don't quote `lambda'.
8526 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8527 Don't quote `lambda'.
8528 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8529 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8530 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8531 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8532 Use `ignore-errors'.
8533 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8534 (ebrowse-view/find-file-and-search-pattern)
8535 (ebrowse-view/find-member-declaration/definition):
8536 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8537 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8538 Rename parameter PREFIX-ARG to PREFIX.
8539 (ebrowse-tags-read-name): Remove unused variables `start' and
8540 `member-info'.
8541 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8542 to `tags-file'.
8543
8544 * progmodes/etags.el (local-find-tag-hook): Declare.
8545 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8546 Mark unused parameters.
8547
8548 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8549 (executable-interpret): Mark unused parameter.
8550
8551 * progmodes/flymake.el (flymake-process-sentinel)
8552 (flymake-after-change-function)
8553 (flymake-create-temp-with-folder-structure)
8554 (flymake-get-include-dirs-dot): Mark unused parameters.
8555 (flymake-safe-delete-directory): Remove unused variable `err'.
8556
8557 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8558 (speedbar-timer-fn, speedbar-line-text)
8559 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8560 (speedbar-center-buffer-smartly): Declare functions.
8561 (gdb-find-watch-expression): Remove unused variable `array'.
8562 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8563 (gdb-starting): Mark unused parameters.
8564 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8565 (gdb-table-string): Remove unused variable `res'.
8566 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8567 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8568 (gdb-display-buffer): Remove unused variable `cur-size'.
8569
8570 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8571 allow lexical-binding compilation.
8572 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8573 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8574 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8575 Mark unused parameters.
8576 (gud-gdb-marker-filter): Remove unused variable `match'.
8577 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8578 lambda expressions and funcall them, instead of using `fset'.
8579
8580 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8581 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8582
8583 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8584 variable `header-beg'; use `let'.
8585
8586 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8587 `restart', `last-sexp' and `at-do'.
8588
8589 * progmodes/js.el (js--debug): Mark unused parameter.
8590 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8591 (js--splice-into-items): Remove unused variable `item'.
8592 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8593
8594 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8595 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8596 (makefile-complete): Remove unused variable `try'.
8597 (makefile-fill-paragraph, makefile-match-function-end):
8598 Mark unused parameters.
8599
8600 * progmodes/octave-inf.el (inferior-octave-complete):
8601 Remove unused variable `proc'.
8602 (inferior-octave-output-digest): Mark unused parameter.
8603
8604 * progmodes/perl-mode.el (perl-calculate-indent):
8605 Remove unused variable `err'.
8606
8607 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8608 (prolog-indent-line): Mark unused parameters.
8609 (prolog-indent-line): Remove unused variable `beg'.
8610
8611 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8612 (reporter-dont-compact-list): Declare.
8613
8614 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8615 Remove unused variable `char'.
8616 (sh-debug): Mark unused parameter.
8617 (sh-get-indent-info): Remove unused variable `start'.
8618 (sh-calculate-indent): Remove unused variable `var'.
8619
8620 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8621 (simula-electric-keyword): Remove unused variable `null'.
8622 (simula-search-backward, simula-search-forward): Remove unused
8623 variables `begin' and `end'.
8624
8625 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8626 Remove unused variable `pos'.
8627 (vera-electric-tab, vera-comment-uncomment-region):
8628 Mark unused parameters.
8629 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8630
7ede3b65
CY
86312011-04-22 Chong Yidong <cyd@stupidchicken.com>
8632
8633 * emacs-lisp/package.el (package--builtins, package-alist)
8634 (package-load-descriptor, package-built-in-p, package-activate)
8635 (define-package, package-installed-p)
8636 (package-compute-transaction, package-buffer-info)
8637 (package--push): Doc fix. Distinguish more clearly between
8638 version strings and version lists.
8639
121656e9
JB
86402011-04-21 Juanma Barranquero <lekktu@gmail.com>
8641
8642 Lexical-binding cleanup.
8643
8644 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8645 (5x5-make-mutate-best):
8646 * play/fortune.el (fortune-in-buffer):
8647 * play/gomoku.el (gomoku-init-display):
8648 * play/solitaire.el (solitaire, solitaire-do-check):
8649 * play/tetris.el (tetris-default-update-speed-function):
8650 Mark unused parameters.
8651
8652 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8653 (bubbles--shift): Remove unused variable `char-org'.
8654 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8655 (bubbles--show-images): Remove unused variable `char'.
8656
8657 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8658 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8659 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8660 (decipher-analyze-buffer): Use ?\s.
8661 (decipher-make-checkpoint): Remove unused variable `mapping'.
8662
8663 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8664
8665 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8666 Remove unused variable `result'; use `let'.
8667
8668 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8669 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8670 (gametree-children-shown-p, gametree-compute-reduced-score):
8671 Use `ignore-errors'.
8672
8673 * play/handwrite.el (ps-lpr-switches): Declare.
8674 (handwrite): Remove unused variables `pmin' and `lastp'.
8675
8676 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8677
8678 * play/landmark.el (landmark-init-display)
8679 (landmark-update-naught-weights): Mark unused parameters.
8680 (landmark-y): Remove unused variable `noise'. Simplify.
8681 (landmark-human-plays): Remove unused variable `score'.
8682
8683 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8684 (mpuz-try-proposal): Remove unused variable `game'.
8685
8686 * play/zone.el (life-patterns): Declare.
8687
80f499c7
JB
86882011-04-20 Juanma Barranquero <lekktu@gmail.com>
8689
8690 * vc/vc.el (ediff-vc-internal): Declare function.
8691
024ff170
SM
86922011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8693
c0a193ea
SM
8694 * shell.el: Use lexical-binding and std completion UI.
8695 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8696 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8697 comint-preoutput-filter-functions rather than on
8698 comint-output-filter-functions.
8699 (shell-command-completion, shell--command-completion-data)
8700 (shell-filename-completion, shell-environment-variable-completion)
8701 (shell-c-a-p-replace-by-expanded-directory): New functions.
8702 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8703 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8704 (shell-dynamic-complete-environment-variable): Use them.
8705 (shell-dynamic-complete-as-environment-variable)
8706 (shell-dynamic-complete-as-command): Remove.
8707 (shell-match-partial-variable): Match past point.
8708 * comint.el: Clean up use of completion-at-point-functions.
8709 (comint-completion-at-point): New function.
8710 (comint-mode): Use it completion-at-point-functions.
8711 (comint-dynamic-complete): Make it obsolete.
8712 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8713 (comint-c-a-p-replace-by-expanded-history): New function.
8714 (comint-dynamic-complete-functions)
8715 (comint-replace-by-expanded-history): Use it.
8716 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8717 termination strings. Try harder to avoid second try-completion.
8718 (completion-in-region-mode-map): Disable bindings that don't work yet.
8719
2dbaa080
SM
8720 * comint.el: Use lexical-binding. Require CL.
8721 (comint-dynamic-complete-functions): Use comint-filename-completion.
8722 (comint-completion-addsuffix): Tweak custom type.
8723 (comint-filename-completion, comint--common-suffix)
8724 (comint--common-quoted-suffix, comint--table-subvert)
8725 (comint--complete-file-name-data): New functions.
8726 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8727 (comint-dynamic-list-filename-completions): Use them.
8728 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8729
2dbaa080
SM
8730 * minibuffer.el (completion-in-region-mode):
8731 Keep completion-in-region-mode--predicate global.
8732 (completion-in-region--postch):
8733 Assume completion-in-region-mode--predicate is not null.
8734
c79a6f38
SM
8735 * progmodes/flymake.el (flymake-start-syntax-check-process):
8736 Obey `dir'. Simplify.
8737
024ff170
SM
8738 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8739 we're in VC after all.
8740
1c6c854e
CS
87412011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8742
8743 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8744 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8745 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8746
bed7f140
SM
87472011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8748
332e62ab
SM
8749 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8750 add sanity check.
8751
bed7f140
SM
8752 * obsolete/erc-hecomplete.el: Make obsolete.
8753 * obsolete/: Standardize obsolescence info in the header.
8754
f195c582
GM
87552011-04-20 Glenn Morris <rgm@gnu.org>
8756
8757 * calendar/solar.el (solar-horizontal-coordinates):
8758 Use the longitude argument rather than `calendar-longitude'.
8759 (solar-date-next-longitude): Remove unused locals.
8760
cb79b8c0
VJL
87612011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8762
8763 * whitespace.el: New version 13.2.1.
8764
87652011-04-20 felix <EmacsWiki> (tiny change)
8766
d8e4b68b 8767 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8768 switching between major modes on a file.
8769
602ea69d
SM
87702011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8773 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8774 multi-line comments as well.
8775
06b60517
JB
87762011-04-19 Juanma Barranquero <lekktu@gmail.com>
8777
8778 Lexical-binding cleanup.
8779
8780 * arc-mode.el (archive-mode-revert):
8781 * cmuscheme.el (scheme-interactively-start-process):
8782 * custom.el (custom-initialize-delay):
8783 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8784 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8785 * emacs-lock.el (emacs-lock-clear-sentinel):
8786 * ezimage.el (defezimage):
8787 * follow.el (follow-avoid-tail-recenter):
8788 * fringe.el (set-fringe-mode-1):
8789 * generic-x.el (bat-generic-mode-compile):
8790 * help-mode.el (help-info-variable, help-do-xref)
8791 (help-mode-revert-buffer):
8792 * help.el (view-emacs-todo):
8793 * iswitchb.el (iswitchb-completion-help):
8794 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8795 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8796 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8797 * locate.el (locate-update):
8798 * longlines.el (longlines-encode-region)
8799 (longlines-after-change-function):
8800 * outline.el (outline-isearch-open-invisible):
8801 * ps-def.el (declare-function, charset-dimension, char-width)
8802 (encode-char):
8803 * ps-mule.el (ps-mule-plot-string):
8804 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8805 (recentf-edit-list-select, recentf-edit-list-validate)
8806 (recentf-open-files-action):
8807 * rect.el (delete-whitespace-rectangle-line)
8808 (rectangle-number-line-callback):
8809 * register.el (window-configuration-to-register)
8810 (frame-configuration-to-register):
8811 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8812 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8813 (xselect-convert-to-targets, xselect-convert-to-delete)
8814 (xselect-convert-to-filename, xselect-convert-to-charpos)
8815 (xselect-convert-to-lineno, xselect-convert-to-colno)
8816 (xselect-convert-to-os, xselect-convert-to-host)
8817 (xselect-convert-to-user, xselect-convert-to-class)
8818 (xselect-convert-to-name, xselect-convert-to-integer)
8819 (xselect-convert-to-atom, xselect-convert-to-identity):
8820 * subr.el (declare, ignore, process-kill-without-query)
8821 (text-clone-maintain):
8822 * terminal.el (te-get-char, te-tic-sentinel):
8823 * tool-bar.el (tool-bar-make-keymap):
8824 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8825 * type-break.el (type-break-mode, type-break-noninteractive-query):
8826 * view.el (View-back-to-mark):
8827 * wid-browse.el (widget-browse-action, widget-browse-widget)
8828 (widget-browse-widgets, widget-browse-sexp):
8829 * widget.el (define-widget-keywords):
8830 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8831 Mark unused parameters.
8832
8833 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8834 (align-areas): Remove unused variable `look'.
8835 (align-region): Remove unused variables `real-end' and `pos-list'.
8836
8837 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8838
8839 * bindings.el (mode-line-modified, mode-line-remote):
8840 Mark unused parameters.
8841 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8842
8843 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8844 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8845
8846 * comint.el (comint-history-isearch-pop-state)
8847 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8848 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8849 (comint-substitute-in-file-name): Doc fix.
8850
8851 * completion.el (cmpl-statistics-block): Mark unused parameter.
8852 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8853 (save-completions-to-file, load-completions-from-file):
8854 Remove unused local variable `e'.
8855
8856 * composite.el (compose-chars): Remove unused variable `len'.
8857 (lgstring-insert-glyph): Remove unused variable `g'.
8858 (compose-glyph-string): Remove unused variables `ascent',
8859 `descent', `lbearing' and `rbearing'.
8860 (compose-glyph-string-relative): Remove unused variables
8861 `lbearing', `rbearing' and `wadjust'.
8862 (compose-gstring-for-graphic): Remove unused variables `header',
8863 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8864 (compose-gstring-for-terminal): Remove unused variables `header'
8865 and `nchars'. Use `let', not `let*'.
8866
8867 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8868 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8869 (Custom-buffer-done, custom-buffer-create-internal)
8870 (custom-browse-visibility-action, custom-browse-group-tag-action)
8871 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8872 (widget-magic-mouse-down-action, custom-toggle-parent)
8873 (custom-add-parent-links, custom-toggle-hide-variable)
8874 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8875 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8876 (custom-face-menu-create, custom-variable-menu-create, get)
8877 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8878 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8879 (customize-apropos): Remove unused variable `tests'.
8880 (custom-group-value-create): Remove unused variable `hidden-p'.
8881 (sort-fold-case): Declare.
8882
8883 * cus-theme.el (custom-reset-standard-faces-list)
8884 (custom-reset-standard-variables-list): Declare.
8885 (customize-create-theme, custom-theme-revert, custom-theme-write)
8886 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8887 Mark unused parameters.
8888
8889 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8890
8891 * delim-col.el (delimit-columns-max): Move defvar before first use.
8892
8893 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8894 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8895
8896 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8897 (auto-insert): Declare.
8898 (desktop-restore-file-buffer): Rename desktop-* parameters;
8899 mark unused ones.
8900 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8901 (desktop-buffer): Rename desktop-* parameters.
8902
8903 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8904 (dframe-reposition-frame-xemacs, dframe-help-echo)
8905 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8906 Mark unused parameters.
8907
8908 * dired-aux.el (backup-extract-version-start, overwrite-query)
8909 (overwrite-backup-query, rename-regexp-query)
8910 (rename-non-directory-query): Declare.
8911 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8912 (dired-add-entry): Remove unused variable `orig-file-name'.
8913 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8914 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8915 `dired-copy-preserve-time' directly.
8916 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8917 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8918
8919 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8920 (dired-virtual-revert, dired-make-relative-symlink):
8921 Mark unused parameters.
8922 (manual-program): Declare.
8923 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8924 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8925 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8926
8927 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8928
8929 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8930
8931 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8932 Declare.
8933
8934 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8935
8936 * electric.el (Electric-command-loop): Rename parameter
8937 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8938
8939 * expand.el (expand-in-literal): Remove unused variable `here'.
8940
8941 * facemenu.el (facemenu-add-new-color):
8942 Remove unused variable `docstring'.
8943
8944 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8945 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8946 (face-attr-construct): Mark unused parameter. Doc fix.
8947 (read-color): Remove unused variable `hex-string'.
8948
8949 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8950 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8951 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8952 (display-buffer-other-frame): Remove unused variable `old-window'.
8953 (kill-buffer-hook): Declare.
8954 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8955 Mark unused parameters.
8956 (after-find-file): Pass 1 to `auto-save-mode', not t.
8957
8958 * files-x.el (auto-insert): Declare.
8959 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8960
8961 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8962 variable `buf'. Mark unused parameter.
06b60517
JB
8963 (find-lisp-insert-directory): Mark unused parameter.
8964
8965 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8966 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8967 (format-common-tail): Remove, unused.
8968 (format-deannotate-region): Remove unused variable `loc'.
8969 (format-annotate-region): Remove unused variable `p'.
8970 (format-annotate-single-property-change): Remove unused variables
8971 `default' and `tail'.
8972
8973 * forms.el (read-file-filter): Declare.
8974 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8975
8976 * frame.el (frame-creation-function-alist): Mark unused parameter.
8977 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8978
8979 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8980 Remove unused parameters.
8981 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8982 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8983
8984 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8985 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8986 (hfy-prepare-tag-map): Mark unused parameters.
8987 (htmlfontify-buffer): Use `called-interactively-p'.
8988
8989 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8990 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8991 (ibuffer-do-occur): Mark unused parameters.
8992 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8993 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8994
8995 * ibuffer.el: Don't quote `lambda'.
8996 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8997 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8998 Mark unused parameters.
8999
9000 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9001 (ido-completing-read): Mark unused parameters.
9002 (ido-copy-current-word): Mark unused parameters;
9003 remove unused variable `name'.
9004 (ido-sort-merged-list): Remove unused parameter `dirs'.
9005
9006 * ielm.el (ielm-input-sender): Mark unused parameter.
9007 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9008 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9009 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9010 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9011 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9012
9013 * image-dired.el (image-dired-display-thumbs): Remove unused
9014 variables `curr-file' and `count'.
9015 (image-dired-remove-tag): Remove unused variable `start'.
9016 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9017 variable `curr-file'
9018 (image-dired-rotate-original): Remove unused variable `temp-file'.
9019 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9020 Remove unused variable `file'.
9021 (image-dired-gallery-generate): Remove unused variable `curr'.
9022 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9023
9024 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9025
9026 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9027
9028 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9029
9030 * isearch.el (minibuffer-history-symbol): Declare.
9031 (isearch-edit-string): Remove unused variable `err'.
9032 (isearch-message-prefix, isearch-message-suffix):
9033 Mark unused parameters.
9034
9035 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9036
9037 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9038
9039 * makesum.el (double-column): Remove unused variable `cnt'.
9040
9041 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9042 (ido-ignore-item-temp-list): Declare.
9043
9044 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9045 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9046 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9047 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9048 `mouse-col-delta'.
9049
9050 * mouse-sel.el (mouse-extend-internal):
9051 Remove unused variable `orig-window-frame'.
9052
9053 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9054 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9055 Move declarations before first use.
9056 (pcomplete-opt): Mark unused parameters; doc fix.
9057
9058 * proced.el (proced-revert): Mark unused parameter.
9059 (proced-send-signal): Remove unused variable `err'.
9060
9061 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9062 Rename parameter PREFIX-ARG to ARG.
9063 (ps-basic-plot-string, ps-basic-plot-whitespace):
9064 Mark unused parameters.
9065
9066 * replace.el (replace-count): Define.
9067 (occur-revert-function): Mark unused parameters.
9068 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9069 (isearch-case-fold-search, isearch-string): Declare.
9070 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9071 bind `case-fold-search'. Remove unused variables `beg' and `end',
9072 and simplify.
9073 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9074 COUNT and bind `replace-count'.
9075 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9076 to COUNT.
9077
9078 * savehist.el (print-readably, print-string-length): Declare.
9079
9080 * shadowfile.el (shadow-expand-cluster-in-file-name):
9081 Remove unused variable `cluster'.
9082 (shadow-copy-file): Remove unused variable `i'.
9083 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9084 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9085 (shadow-define-literal-group, shadow-define-regexp-group)
9086 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9087
9088 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9089 (shell): Use `called-interactively-p'.
9090 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9091
9092 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9093 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9094 (delete-backward-char): Remove unused variable `ocol'.
9095 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9096 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9097 (event-apply-hyper-modifier, event-apply-shift-modifier)
9098 (event-apply-control-modifier, event-apply-meta-modifier):
9099 Mark unused parameters.
9100 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9101 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9102
9103 * speedbar.el (speedbar-ignored-directory-expressions)
9104 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9105 (speedbar-find-file, speedbar-dir-follow)
9106 (speedbar-directory-buttons-follow, speedbar-tag-find)
9107 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9108 (speedbar-buffers-line-directory, speedbar-buffer-click):
9109 Mark unused parameters.
9110 (speedbar-tag-file): Remove unused variable `mode'.
9111 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9112
9113 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9114
9115 * talk.el (talk): Remove unused variable `display'.
9116
9117 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9118 (tar-write-region-annotate): Mark unused parameter.
9119
9120 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9121 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9122 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9123 warning by another.
9124
9125 * time-stamp.el (time-stamp-string-preprocess):
9126 Remove unused variable `require-padding'.
9127
9128 * tree-widget.el (widget-glyph-enable): Declare.
9129 (tree-widget-action): Mark unused parameter.
9130
9131 * w32-fns.el (x-get-selection): Mark unused parameter.
9132 (autoload-make-program, generated-autoload-file): Declare.
9133
9134 * wdired.el (wdired-revert): Mark unused parameters.
9135 (wdired-xcase-word): Remove unused variable `err'.
9136
9137 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9138 (whitespace-help-scroll): Remove unused variable `data-help'.
9139
9140 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9141 (widget-image-insert, widget-after-change, default)
9142 (widget-default-format-handler, widget-default-notify)
9143 (widget-default-prompt-value, widget-info-link-action)
9144 (widget-url-link-action, widget-function-link-action)
9145 (widget-variable-link-action, widget-file-link-action)
9146 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9147 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9148 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9149 (widget-insert-button-action, widget-delete-button-action, visibility)
9150 (widget-documentation-link-action, widget-documentation-string-action)
9151 (widget-const-prompt-value, widget-regexp-match, symbol)
9152 (widget-coding-system-prompt-value)
9153 (widget-key-sequence-value-to-external, sexp)
9154 (widget-sexp-value-to-internal, character, vector, cons)
9155 (widget-choice-prompt-value, widget-boolean-prompt-value)
9156 (widget-color--choose-action): Mark unused parameters.
9157 (widget-item-match-inline, widget-choice-match-inline)
9158 (widget-checklist-match, widget-checklist-match-inline)
9159 (widget-group-match): Rename parameter VALUES to VALS.
9160 (widget-field-value-set): Remove unused variable `size'.
9161 (widget-color-action): Remove unused variables `value' and `start'.
9162
9163 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9164 variable `dir'. Doc fix.
06b60517
JB
9165 (windmove-find-other-window): Don't pass it.
9166
9167 * window.el (count-windows): Mark unused parameter.
9168 (bw-adjust-window): Remove unused variable `err'.
9169
9170 * woman.el (woman-file-name): Remove unused variable `default'.
9171 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9172 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9173 (global-font-lock-mode): Declare.
9174 (woman-decode-region): Mark unused parameter.
9175 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9176
9177 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9178 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9179 (x-dnd-handle-moz-url): Remove unused variable `title'.
9180 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9181
9182 * xml.el (xml-parse-tag, xml-parse-attlist):
9183 Remove unused variable `pos'.
9184
bc4f7f3d
GM
91852011-04-19 Glenn Morris <rgm@gnu.org>
9186
9187 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9188 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9189 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9190 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9191 * calendar/cal-html.el (cal-html-insert-minical):
9192 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9193 (calendar-mark-date-pattern):
9194 Prefix "unused" locals.
9195
9196 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9197 optional argument `style'.
9198
9199 * calendar/appt.el (appt-make-list):
9200 * calendar/cal-china.el (calendar-chinese-date-string):
9201 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9202 (diary-hebrew-yahrzeit):
9203 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9204 * calendar/calendar.el (calendar-generate-window):
9205 * calendar/time-date.el (time-to-days):
9206 Remove unused local variables.
9207
16a43933
CY
92082011-04-18 Chong Yidong <cyd@stupidchicken.com>
9209
9210 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9211 glyphless-char-display table.
9212 (tabulated-list-glyphless-char-display): New var.
9213
7eed1860
SS
92142011-04-18 Sam Steingold <sds@gnu.org>
9215
9216 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9217 to acknowledgments.
9218
4d2d1ccd
GM
92192011-04-17 Glenn Morris <rgm@gnu.org>
9220
9221 * calendar/diary-lib.el (diary-sexp-entry):
9222 * calendar/holidays.el (holiday-sexp):
9223 Set debug-on-error rather than the removed stack-trace-on-error.
9224
239da61d
GM
92252011-04-16 Glenn Morris <rgm@gnu.org>
9226
9227 * progmodes/f90.el: Use lexical-binding.
9228 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9229
8b05752a
SM
92302011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9231
daca8ba5
SM
9232 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9233 (mail-mode): Setup mailalias completion here instead.
9234 * mail/mailalias.el: Use lexical-binding.
9235 (pattern, mailalias-done): Declare dynamic.
9236 (mail-completion-at-point-function): New function, from mail-complete.
9237 (mail-complete): Use it.
9238 (mail-completion-expand): New function.
9239 (mail-get-names): Use it.
9240 (mail-directory, mail-directory-process, mail-directory-stream):
9241 Don't use `pattern' for lexically bound arg.
9242
6f542485
SM
9243 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9244
037e7c3f
SM
9245 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9246 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9247 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9248
8b05752a
SM
9249 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9250 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9251 (byte-interactive-p): Define them again, for use when inlining
9252 old code.
9253
49093f60
JB
92542011-04-15 Juanma Barranquero <lekktu@gmail.com>
9255
9256 * loadup.el: Use `string-to-number', not `string-to-int'.
9257
b5b8e7de
SM
92582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9261 gud-gdb-complete-command.
9262 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9263 (gud-gdb-completion-at-point): New function.
9264 (gud-gdb-completions): Remove.
9265
f42efeb5
MA
92662011-04-14 Michael Albinus <michael.albinus@gmx.de>
9267
49093f60
JB
9268 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9269 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9270 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9271 whether `executable-find' is bound.
f42efeb5
MA
9272
9273 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9274
e240cc21
SM
92752011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * minibuffer.el (completion-in-region-mode-predicate)
9278 (completion-in-region-mode--predicate): New vars.
9279 (completion-in-region, completion-in-region--postch)
9280 (completion-in-region-mode): Use them.
9281 (completion--capf-wrapper): Also return the hook function.
9282 (completion-at-point, completion-help-at-point):
9283 Adjust and provide a predicate.
c2bd2ab0
SM
9284
9285 Preserve arg names for advice of subr and lexical functions (bug#8457).
9286 * help-fns.el (help-function-arglist): Consolidate the subr and
9287 new-byte-code cases. Add argument `preserve-names' to extract names
9288 from the docstring when needed.
9289 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9290 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9291 (ad-arglist): Use help-function-arglist's new arg.
9292 (ad-definition-type): Use cond.
9293
c183f693
JB
92942011-04-13 Juanma Barranquero <lekktu@gmail.com>
9295
06641a47
JB
9296 * autorevert.el (auto-revert-handler):
9297 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9298 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9299 Don't quote lambda.
9300
c183f693
JB
9301 * image-mode.el (image-transform-set-scale):
9302 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9303
1e3b6001
G
93042011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9305
9306 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9307 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9308 Upgrades via gnutls-cli are too slow to be done opportunistically.
9309
2d6af8dd
JB
93102011-04-12 Juanma Barranquero <lekktu@gmail.com>
9311
9312 * dframe.el (dframe-current-frame): Remove spurious quote.
9313
c0749a51
GM
93142011-04-12 Glenn Morris <rgm@gnu.org>
9315
088d0d61
GM
9316 * calendar/cal-tex.el (cal-tex-end-document):
9317 Try to automatically use latin1 input if needed.
9318
c0749a51
GM
9319 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9320 Don't try to cons a mark onto an empty element.
9321
5c90fde0
LL
93222011-04-11 Leo Liu <sdl.web@gmail.com>
9323
9324 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9325 buffers.
9326 (ido-kill-buffer-at-head): Support killing virtual buffers.
9327
369e974d
CY
93282011-04-10 Chong Yidong <cyd@stupidchicken.com>
9329
9330 * minibuffer.el (completion-show-inline-help): New var.
9331 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9332 (minibuffer-force-complete, minibuffer-complete-word):
9333 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9334
9335 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9336 to avoid interference from inline help (Bug#5849).
9337
37f1c930
LL
93382011-04-10 Leo Liu <sdl.web@gmail.com>
9339
099c39a4
JB
9340 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9341 Fix typo.
37f1c930 9342
a32d4040
CY
93432011-04-09 Chong Yidong <cyd@stupidchicken.com>
9344
9345 * image-mode.el (image-toggle-display-image): Signal an error if
9346 not in Image mode.
9347 (image-transform-mode, image-transform-resize)
9348 (image-transform-set-rotation): Doc fix.
daca8ba5 9349 (image-transform-set-resize): Delete.
a32d4040
CY
9350 (image-transform-set-scale, image-transform-fit-to-height)
9351 (image-transform-fit-to-width): Handle image-toggle-display-image
9352 and image-transform-resize directly.
9353
099c39a4 93542011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9355
9356 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9357 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9358 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9359 (doc-view-mode-map): Add bindings for the new functions.
9360
099c39a4 93612011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9362
4d61f28d 9363 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9364 Fix typo in docstring.
9365
3726838a
EZ
93662011-04-08 Eli Zaretskii <eliz@gnu.org>
9367
04f33f1e
EZ
9368 * files.el (file-size-human-readable): Produce one digit after
9369 decimal, like "ls -lh" does.
9370
9371 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9372 the file size representation.
9373
3726838a
EZ
9374 * simple.el (list-processes): If async subprocesses are not
9375 available, error out with a clear error message.
9376
cbb59342
CY
93772011-04-08 Chong Yidong <cyd@stupidchicken.com>
9378
9379 * help.el (help-form-show): New function, to be called from C.
9380 Put help-form output in a buffer named differently than *Help*.
9381
e3971c44
EZ
93822011-04-08 Eli Zaretskii <eliz@gnu.org>
9383
9384 * files.el (file-size-human-readable): New function.
9385
9386 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9387 computing the representation inline. Don't require `cl'.
9388
12544bbe
GM
93892011-04-08 Glenn Morris <rgm@gnu.org>
9390
a1de6c6a
GM
9391 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9392
3c4671f4
GM
9393 * net/browse-url.el (browse-url-firefox):
9394 Test system-type, not system-configuration.
9395
b605679c
GM
9396 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9397 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9398 Use log-edit-empty-buffer-p. (Bug#7598)
9399
56442f0c
GM
9400 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9401 (rlogin-mode-map): Initialize in the defvar.
9402 (rlogin): Use ignore-errors.
9403
12544bbe
GM
9404 * replace.el (occur-mode-map): Some fixes for menu items.
9405
eb237b0f
AH
94062011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9407
9408 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9409
7d668f2c
CY
94102011-04-06 Chong Yidong <cyd@stupidchicken.com>
9411
e67a13ab
CY
9412 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9413 issuing unused warnings.
9414
9415 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9416 macro directly.
9417
7d668f2c
CY
9418 * simple.el: Lisp reimplement of list-processes. Based on an
9419 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9420 (process-menu-mode): New major mode.
9421 (list-processes--refresh, list-processes):
9422 (process-menu-visit-buffer): New functions.
9423
9424 * files.el (save-buffers-kill-emacs): Don't assume any return
9425 value of list-processes, which is undocumented anyway.
9426
a83ec3c9
CY
94272011-04-06 Chong Yidong <cyd@stupidchicken.com>
9428
9429 * emacs-lisp/tabulated-list.el: New file.
9430
e91a96fe
CY
9431 * emacs-lisp/package.el: Use Tabulated List mode.
9432 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9433 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9434 table format using Tabulated List mode variables.
9435 (package--push): New macro, replacing package-list-maybe-add.
9436 (package-menu--generate): Use package--push. Renamed from
9437 package--generate-package-list.
9438 (package-menu-refresh, list-packages): Use it.
daca8ba5 9439 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9440 Return insertion data instead of inserting it directly.
099c39a4
JB
9441 (package-menu-describe-package, package-menu-execute):
9442 Use tabulated-list-get-id.
e91a96fe
CY
9443 (package-menu-mark-delete, package-menu-mark-install)
9444 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9445 (package-menu-mark-obsolete-for-deletion):
9446 Use tabulated-list-put-tag.
e91a96fe
CY
9447 (package--list-packages, package-menu-revert)
9448 (package-menu-get-package, package-menu-get-version)
9449 (package-menu-sort-by-column): Functions deleted.
9450 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9451 (package-menu--status-predicate, package-menu--version-predicate)
9452 (package-menu--name-predicate)
9453 (package-menu--description-predicate): Handle arguments in the
9454 Tabulated List format.
9455 (package-list-packages-no-fetch): Call list-packages.
9456
3e214b50
JB
94572011-04-06 Juanma Barranquero <lekktu@gmail.com>
9458
9459 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9460 (after-find-file): Don't bind it.
3e214b50
JB
9461 (revert-buffer-in-progress-p): New variable.
9462 (revert-buffer): Bind it.
9463 Pass nil for `after-find-file-from-revert-buffer'.
9464
9465 * saveplace.el (save-place-find-file-hook): Use new variable
9466 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9467
3f0f1700
GM
94682011-04-06 Glenn Morris <rgm@gnu.org>
9469
c0274801
GM
9470 * Makefile.in (AUTOGEN_VCS): New variable.
9471 (autoloads): Use $AUTOGEN_VCS.
9472
3f0f1700
GM
9473 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9474 * calendar/calendar.el (calendar-mode-map):
9475 Check for toolkit scroll bars. (Bug#8305)
9476
41ea9e48
CY
94772011-04-05 Chong Yidong <cyd@stupidchicken.com>
9478
9479 * minibuffer.el (completion-in-region--postch)
9480 (completion-in-region-mode): Remove unnecessary messages.
9481
6194c800
JB
94822011-04-05 Juanma Barranquero <lekktu@gmail.com>
9483
33256f14
JB
9484 * font-lock.el (font-lock-refresh-defaults):
9485 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9486 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9487
6194c800
JB
9488 * info.el (Info-directory-list, Info-read-node-name-2)
9489 (Info-split-parameter-string): Doc fixes.
9490 (Info-virtual-nodes): Reflow docstring.
9491 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9492 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9493 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9494 Fix typos in docstrings.
9495 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9496 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9497 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9498 (Info-restore-desktop-buffer): Mark unused parameters.
9499 (Info-directory-find-file, Info-directory-find-node)
9500 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9501 (Info-virtual-index-find-node, Info-apropos-find-file)
9502 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9503 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9504 (Info-virtual-index): Remove unused local variable `nodename'.
9505
b87a8200 95062011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9507
b87a8200
DD
9508 * net/rcirc.el: Update my e-mail address.
9509 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9510
3b2ff876
CY
95112011-04-05 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * startup.el (command-line): Save the cursor's theme-face
9514 directly, instead of using face-override-spec.
9515
9516 * custom.el (load-theme): Minor optimization in assigning faces.
9517
8d17e7ca
JB
95182011-04-04 Juanma Barranquero <lekktu@gmail.com>
9519
9520 * help-fns.el (describe-variable): Complete all variables having
9521 documentation, including keywords.
9522 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9523
2fbc1934
JB
95242011-04-04 Juanma Barranquero <lekktu@gmail.com>
9525
9526 Convert to lexical-binding.
9527
9528 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9529 (bs--get-marked-string, bs--get-modified-string)
9530 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9531 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9532 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9533
9534 * ehelp.el (electric-help-execute-extended)
9535 (electric-help-ctrl-x-prefix):
9536 * hexl.el (hexl-revert-buffer-function):
9537 * linum.el (linum-after-change, linum-after-scroll):
9538 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9539
9540 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9541
74f50695
DU
95422011-04-04 Daiki Ueno <ueno@unixuser.org>
9543
9544 * epa-dired.el:
9545 * epa-mail.el:
9546 * epa-hook.el:
9547 * epa-file.el:
9548 * epa.el:
9549 * epg.el: Use lexical binding.
9550
c11325f7
CY
95512011-04-03 Chong Yidong <cyd@stupidchicken.com>
9552
0d9e9a12
CY
9553 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9554
c11325f7 9555 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9556 dictionary case for flyspell-mark-duplications-exceptions.
9557 Use regexp matching for languages.
c11325f7
CY
9558 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9559 default dictionary (Bug#7926).
9560
da91b5f2
CY
95612011-04-02 Chong Yidong <cyd@stupidchicken.com>
9562
099c39a4
JB
9563 * emacs-lisp/package.el (package--with-work-buffer):
9564 Recognize https URLs.
da91b5f2 9565
099c39a4
JB
9566 * net/network-stream.el: Move from gnus/proto-stream.el.
9567 Change prefix to network-stream throughout.
da91b5f2
CY
9568 (open-protocol-stream): Merge into open-network-stream, leaving
9569 open-protocol-stream as an alias. Handle nil BUFFER args.
9570
9571 * subr.el (open-network-stream): Move to net/network-stream.el.
9572
afa8e9f6
GM
95732011-04-02 Glenn Morris <rgm@gnu.org>
9574
1d2e369d
GM
9575 * find-dired.el (find-exec-terminator): New option.
9576 (find-ls-option): Test for -ls support.
9577 (find-ls-subdir-switches): Test for -b in find-ls-option.
9578 (find-dired, find-grep-dired): Doc fixes.
9579 (find-dired): Use find-exec-terminator.
9580
8abb7da8 9581 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9582 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9583 (find-name-arg): Remove purecopy.
8abb7da8 9584
f3ca7378
GM
9585 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9586 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9587 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9588 accordingly. Don't add the null-device if not needed.
9589
afa8e9f6
GM
9590 * files.el (save-some-buffers): Doc fix.
9591
35eae264
EZ
95922011-04-02 Eli Zaretskii <eliz@gnu.org>
9593
9594 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9595
26b51db5
JB
95962011-04-01 Juanma Barranquero <lekktu@gmail.com>
9597
9598 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9599 Use `dolist' rather than `mapcar'.
9600
7200d79c
SM
96012011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9602
03408648 9603 Add lexical binding.
7200d79c 9604
03408648
SM
9605 * subr.el (apply-partially): Use new closures rather than CL.
9606 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9607 (dolist, dotimes): Use slightly different expansion for lexical code.
9608 (functionp): Move to C.
9609 (letrec): New macro.
9610 (with-wrapper-hook): Use it and apply-partially instead of CL.
9611 (eval-after-load): Preserve lexical-binding.
9612 (save-window-excursion, with-output-to-temp-buffer): Turn them
9613 into macros.
7200d79c 9614
03408648
SM
9615 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9616
9617 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9618 than the arglist.
9619 (help-add-fundoc-usage): Don't add `Not documented'.
9620 (help-function-arglist): Handle closures, subroutines, and new
9621 byte-code-functions.
9622 (help-make-usage): Remove leading underscores.
9623 (describe-function-1): Handle closures.
9624 (describe-variable): Use special-variable-p for completion.
9625
9626 * files.el (lexical-binding): Declare safe.
f488fb65 9627
03408648
SM
9628 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9629 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9630 (pcase): Add `let' pattern.
9631 Change memoization so it actually works.
9632 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9633 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9634 <let>: New case.
f488fb65 9635
03408648
SM
9636 * emacs-lisp/macroexp.el: Use lexical binding.
9637 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9638 Don't convert ' to #' without checking that it's indeed quoting
9639 a lambda.
9640
9641 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9642 Use eval-sexp-add-defvars.
03408648
SM
9643 (eval-sexp-add-defvars): New fun.
9644
9645 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9646
9647 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9648 Don't autoload.
9649 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9650 than the internal `byte-compile-lambda'.
9651 (defmethod): Don't hide code under quotes.
9652 (eieio-defmethod): New `code' argument.
9653
9654 * emacs-lisp/eieio-comp.el: Remove.
9655
9656 * emacs-lisp/edebug.el (edebug-eval-defun)
9657 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9658 (edebug-toggle): Avoid `eval'.
9659
9660 * emacs-lisp/disass.el (disassemble-internal): Handle new
9661 `closure' objects.
9662 (disassemble-1): Handle new byte codes.
9663
9664 * emacs-lisp/cl.el (pushnew): Silence warning.
9665
9666 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9667 (cl-byte-compile-throw): Remove.
9668 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9669
9670 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9671 closures.
9672
9673 * emacs-lisp/cconv.el: New file.
9674
9675 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9676 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9677 (byte-compile-initial-macro-environment):
9678 Handle declare-function here.
9679 (byte-compile--lexical-environment): New var.
9680 (byte-stack-ref, byte-stack-set, byte-discardN)
9681 (byte-discardN-preserve-tos): New lap codes.
9682 (byte-interactive-p): Don't use any more.
9683 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9684 New macros.
9685 (byte-compile-lapcode): Use them and handle new lap codes.
9686 (byte-compile-obsolete): Remove.
9687 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9688 (byte-compile-arglist-warn): Check late def of inlinable funs.
9689 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9690 since they should have been expanded by now.
9691 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9692 (byte-compile-from-buffer): Remove unused second arg.
9693 (byte-compile-preprocess): New function.
9694 (byte-compile-toplevel-file-form): New function to distinguish
9695 file-form calls from outside from file-form calls from hunk-handlers.
9696 (byte-compile-file-form): Simplify.
9697 (byte-compile-file-form-defsubst): Remove.
9698 (byte-compile-file-form-defmumble): Simplify now that
9699 byte-compile-lambda always returns a byte-code-function.
9700 (byte-compile): Preprocess.
9701 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9702 Remove, not used any more.
9703 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9704 (byte-compile-make-args-desc): New funs.
9705 (byte-compile-lambda): Handle lexical functions. Always return
9706 a byte-code-function.
9707 (byte-compile-reserved-constants): New var, to make up room for
9708 closed-over variables.
9709 (byte-compile-constants-vector): Obey it.
9710 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9711 (byte-compile-macroexpand-declare-function): New function.
9712 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9713 byte-code-functions.
9714 (byte-compile-form): Check obsolescence here.
9715 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9716 (byte-compile-variable-ref): Remove.
9717 (byte-compile-dynamic-variable-op): New fun.
9718 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9719 (byte-compile-variable-set): New funs.
9720 (byte-compile-discard): Add 2 args.
9721 (byte-compile-stack-ref, byte-compile-stack-set)
9722 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9723 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9724 macroexpand-all instead.
9725 (byte-compile-quote-form): Remove.
9726 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9727 (byte-compile-bind, byte-compile-unbind): New funs.
9728 (byte-compile-let): Handle let* and lexical binding.
9729 (byte-compile-let*): Remove.
9730 (byte-compile-catch, byte-compile-unwind-protect)
9731 (byte-compile-track-mouse, byte-compile-condition-case):
9732 Handle a new :fun-body form, used for lexical scoping.
9733 (byte-compile-save-window-excursion)
9734 (byte-compile-with-output-to-temp-buffer): Remove.
9735 (byte-compile-defun): Simplify.
9736 (byte-compile-stack-adjustment): New fun.
9737 (byte-compile-out): Use it.
9738 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9739
9740 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9741 handler any more.
9742
9743 * emacs-lisp/byte-opt.el: Use lexical binding.
9744 (byte-inline-lapcode): Remove (to bytecomp).
9745 (byte-compile-inline-expand): Pay attention to inlining to/from
9746 lexically bound code.
9747 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9748 any more.
9749 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9750 any more and don't call compiler-macros.
9751 (byte-compile-splice-in-already-compiled-code): Remove.
9752 (byte-code): Don't inline any more.
9753 (disassemble-offset): Receive `bytes' as argument rather than via
9754 dynamic scoping.
9755 (byte-compile-tag-number): Declare before first use.
9756 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9757 `return' even if make-spliceable.
9758 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9759 obsolete interactive-p.
9760 (byte-optimize-lapcode): Optimize new lap-codes.
9761 Don't trip up on new form of `byte-constant' lap code.
9762
9763 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9764
9765 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9766
9767 * custom.el (custom-initialize-default, custom-declare-variable):
9768 Use `defvar'.
9769
9770 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9771 New variables.
9772 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9773 (COMPILE_FIRST): Add macroexp and cconv.
9774 * makefile.w32-in: Mirror changes in Makefile.in.
9775
9776 * vc/cvs-status.el:
9777 * vc/diff-mode.el:
9778 * vc/log-edit.el:
9779 * vc/log-view.el:
9780 * vc/smerge-mode.el:
9781 * textmodes/bibtex-style.el:
9782 * textmodes/css.el:
9783 * startup.el:
9784 * uniquify.el:
da91b5f2
CY
9785 * minibuffer.el:
9786 * newcomment.el:
9787 * reveal.el:
9788 * server.el:
9789 * mpc.el:
9790 * emacs-lisp/smie.el:
9791 * doc-view.el:
9792 * dired.el:
03408648
SM
9793 * abbrev.el: Use lexical binding.
9794
0f0c1f27
EZ
97952011-04-01 Eli Zaretskii <eliz@gnu.org>
9796
9797 * info.el (info-display-manual): New function.
9798
c82b2579
SM
97992011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9802
221ddf68
TH
98032011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9804
9805 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9806 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9807
cba6e77e
GM
98082011-03-31 Glenn Morris <rgm@gnu.org>
9809
e040639f
GM
9810 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9811
cba6e77e
GM
9812 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9813
6d0f1c9e
CS
98142011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9815
9816 * progmodes/python.el (python-default-interpreter)
9817 (python-python-command-args, python-jython-command-args)
9818 (python-which-shell, python-which-args, python-which-bufname)
9819 (python-file-queue, python-comint-output-filter-function)
9820 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9821 variables and functions.
9822
3e2d70fd
SM
98232011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9826 (completion-in-region-mode): New minor mode.
9827 (completion-in-region): Use it.
9828 (completion-in-region--data, completion-in-region-mode-map): New vars.
9829 (completion-in-region--postch): New function.
9830 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9831 New vars.
9832 (completion--capf-wrapper): New function.
9833 (completion-at-point): Use it to track well-behavedness of
9834 hook functions.
9835 (completion-help-at-point): New command.
9836
f3e4086c
JM
98372011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9838
9839 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9840 syntax class to search for whitespace on a single line
9841 (Message-ID: <4D938140.4030905@redhat.com>).
9842
eb7ffc14
LL
98432011-03-30 Leo Liu <sdl.web@gmail.com>
9844
9845 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9846 New commands.
9847 (edit-abbrevs-map): Bind them here.
9848 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9849
d806ab68
KM
98502011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9851
9852 * allout.el (allout-hide-by-annotation, allout-flag-region):
9853 Reduce possibility of overlay leakage by making them volatile.
9854
9855 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9856 hash is not shared between buffers. Mode initialization is
9857 responsible for giving it a useful starting value.
9858 (allout-item-span): Reduce possibility of overlay leakage by
9859 making them volatile.
9860 (allout-widgets-count-buttons-in-region): Add diagnostic function
9861 for tracking down button overlay leaks.
9862
ea622834
LL
98632011-03-29 Leo Liu <sdl.web@gmail.com>
9864
9865 * ido.el (ido-read-internal): Use the default history var
9866 minibuffer-history if no HISTORY is specified.
9867
b62f8267
G
98682011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9869
03408648
SM
9870 * net/imap.el (imap-shell-open, imap-process-connection-type):
9871 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9872 Kerberos, SSL, other subprocesses.
9873
947b6566
LL
98742011-03-28 Leo Liu <sdl.web@gmail.com>
9875
9876 * abbrev.el (abbrev-table-empty-p): New function.
9877 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9878 nonempty ones. (Bug#5937)
9879
5ffb62aa
JD
98802011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9881
9882 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9883
7a097943
LL
98842011-03-27 Leo Liu <sdl.web@gmail.com>
9885
9886 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9887 for foreground and background colors.
9888 (ansi-color-make-color-map): Adapt.
9889
c5b40130
LL
98902011-03-25 Leo Liu <sdl.web@gmail.com>
9891
1f48f7d2
LL
9892 * midnight.el (midnight-time-float): Remove. Note it calculates
9893 the microsecond component incorrectly and seconds-to-time does the
9894 same job.
625897ec 9895 Remove redundant (require 'timer).
1f48f7d2 9896
c5b40130
LL
9897 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9898 (ido-completions): Remove unused arguments. (Bug#8329)
9899
d86d2721
SM
99002011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9901
9902 * minibuffer.el (completion--flush-all-sorted-completions):
9903 Remove itself from hook.
9904 (completion-at-point): Let the functions perform the completion
9905 immediately and return nil or t.
9906 * comint.el (comint-dynamic-complete-functions): Now identical to
9907 completion-at-point-functions.
9908 (comint-dynamic-list-input-ring): Remove unused var `index'.
9909 (comint--match-partial-filename, comint--unquote&expand-filename):
9910 New funs, split from comint-match-partial-filename.
9911 (comint-dynamic-complete): Use completion-at-point.
9912 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9913
e8974c48
DA
99142011-03-24 Drew Adams <drew.adams@oracle.com>
9915
9916 * thingatpt.el: Support `defun'.
9917
def71b5e
LL
99182011-03-23 Leo Liu <sdl.web@gmail.com>
9919
cb5af48e
LL
9920 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9921
def71b5e
LL
9922 * help-mode.el (help-mode-finish): Tweak regexp.
9923
927c53e7
GM
99242011-03-23 Glenn Morris <rgm@gnu.org>
9925
18d05bed
GM
9926 * eshell/esh-opt.el (eshell-eval-using-options):
9927 Do not bind unused local variable `eshell-option-stub'.
9928
927c53e7
GM
9929 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9930
9d0da923
JB
99312011-03-22 Juanma Barranquero <lekktu@gmail.com>
9932
9933 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9934 keymap variable in `with-no-warnings' to avoid a warning when the
9935 keymap has been already `defconst'ed.
9936
4b978a67
LL
99372011-03-22 Leo Liu <sdl.web@gmail.com>
9938
9939 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9940 encode all chars in abbrevs; otherwise use emacs-mule or
9941 utf-8-emacs. (Bug#8308)
9942
5fd62452
JB
99432011-03-22 Juanma Barranquero <lekktu@gmail.com>
9944
0b1596c6
JB
9945 * simple.el (backward-delete-char-untabify):
9946 Avoid warning about using `delete-backward-char'.
9947
5fd62452
JB
9948 * image.el (image-type-file-name-regexps): Make it variable.
9949 `imagemagick-register-types' modifies it, and the user may want
9950 to add new extensions for known image types.
9951 (imagemagick-register-types): Throw error if not using ImageMagick.
9952
0b4e93f1
LL
99532011-03-22 Leo Liu <sdl.web@gmail.com>
9954
9955 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9956 located before rcirc-prompt-end-marker.
9957 (rcirc-complete): Error if point is not after rcirc prompt.
9958 Handle the case when table is nil.
9882e214 9959 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9960
fccee4ab
CY
99612011-03-22 Chong Yidong <cyd@stupidchicken.com>
9962
9963 * custom.el (custom--inhibit-theme-enable): Make it affect only
9964 custom-theme-set-variables and custom-theme-set-faces.
9965 (provide-theme): Ignore custom--inhibit-theme-enable.
9966 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9967 (custom-enabling-themes): Delete variable.
d86d2721
SM
9968 (enable-theme): Accept only loaded themes as arguments.
9969 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9970 (custom-enabled-themes): Forbid themes from setting this.
9971 Eliminate use of custom-enabling-themes.
9972 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9973
af896da6
LL
99742011-03-21 Leo Liu <sdl.web@gmail.com>
9975
9976 * ido.el (ido-read-internal): Add ido-selected to history instead
9977 of user input.
9978
78f64af0
SM
99792011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * subr.el (deferred-action-list, deferred-action-function):
9982 Mark obsolete.
9983
b16ac1ec
LL
99842011-03-21 Leo Liu <sdl.web@gmail.com>
9985
810f7698
LL
9986 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9987 change on 2011-02-13 (bug#8309).
9988
b16ac1ec
LL
9989 * minibuffer.el (read-file-name-function): Change default value.
9990 (read-file-name--defaults): Rename from read-file-name-defaults.
9991 (read-file-name-default): Rename from read-file-name.
9992 (read-file-name): Call read-file-name-function.
9993
4e05e67e
GM
99942011-03-21 Glenn Morris <rgm@gnu.org>
9995
9996 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9997 Doc fixes.
9998
4359915b
CY
99992011-03-21 Chong Yidong <cyd@stupidchicken.com>
10000
10001 * cus-theme.el: Add missing provide statement.
10002 (customize-create-theme): Extract theme value correctly.
10003 (custom-theme-visit-theme): Autoload.
10004 (customize-create-theme): Prompt before inserting default faces.
10005
1fe275ee
JB
100062011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10007
10008 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10009 units and musical notes.
10010
cd394be1 100112011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10012
10013 * ido.el (ido-read-internal): Use completing-read-default.
10014 (ido-completing-read): Fix compatibility with completing-read.
10015
7d476bde
CO
100162011-03-20 Christian Ohler <ohler@gnu.org>
10017
10018 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10019 (ert-delete-all-tests): Use `called-interactively-p' rather than
10020 `interactive-p'.
10021 (ert--make-xrefs-region): Respect END.
10022
fe0fb33e
CY
100232011-03-19 Chong Yidong <cyd@stupidchicken.com>
10024
ff854b0b
CY
10025 * dired-aux.el (dired-create-directory): Signal an error if the
10026 directory already exists (Bug#8246).
10027
fe0fb33e
CY
10028 * facemenu.el (list-colors-display): Call list-faces-display
10029 inside with-help-window.
10030 (list-colors-print): Use display property to align the final
10031 column, instead of checking window-width.
10032
576bce32
EZ
100332011-03-19 Eli Zaretskii <eliz@gnu.org>
10034
4d61f28d 10035 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10036 windows-nt systems.
10037 (emerge-protect-metachars): Quote correctly for ms-dos and
10038 windows-nt systems.
10039
89c41d68 100402011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10041
10042 * info.el (info-initialize): Replace all uses of `:' with
10043 path-separator for compatibility with non-Unix systems.
10044 Cache quoting of path-separator. (Bug#8258)
10045
b14e3e21 100462011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10047
10048 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10049 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10050 (mouse-avoidance-mode): Fix typos in docstrings.
10051
4525ce3e
CY
100522011-03-19 Chong Yidong <cyd@stupidchicken.com>
10053
10054 * startup.el (package-subdirectory-regexp): Move from package.el.
10055 Omit \\` and \\', and let callers add them.
10056
10057 * emacs-lisp/package.el (package-strip-version)
10058 (package-load-all-descriptors): Add \\` and \\' to
10059 package-subdirectory-regexp before using it.
10060 (package-untar-buffer): New arg DIR; ensure that file untars only
10061 into this expected directory. Remove superfluous delete-region.
10062 (package-unpack): Caller changed.
10063 (package-tar-file-info): Use package-subdirectory-regexp.
10064
a904a09a 100652011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10066
a904a09a
SM
10067 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10068 diff-mode-shared-map (bug#8284).
10069 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10070
100712011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10072
10073 * calendar/time-date.el (format-seconds): Use assoc instead of
10074 assoc-string, since assoc-string doesn't exist in XEmacs.
10075
171fc304
JB
100762011-03-17 Juanma Barranquero <lekktu@gmail.com>
10077
10078 * custom.el (custom-known-themes): Reflow docstring.
10079 (custom-theme-load-path): Fix typo in docstring.
10080 (load-theme): Fix typo in error message.
10081 (custom-available-themes, custom-variable-theme-value):
10082 Use `let', not `let*'.
10083
d71990a1
JB
100842011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10085
10086 * calc/README: Mention inclusion of musical notes.
10087
10088 * calc/calc-units.el (calc-lu-quant): Rename from
10089 `calc-logunits-quantity'.
10090 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10091 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10092 (calc-db): Rename from `calc-dblevel'.
10093 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10094 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10095 (calc-np): Rename from `calc-nplevel'.
10096 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10097 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10098 (calc-lu-plus): Rename from `calc-logunits-add'.
10099 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10100 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10101 (calc-lu-minus): Rename from `calc-logunits-sub'.
10102 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10103 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10104 (calc-lu-times): Rename from `calc-logunits-mul'.
10105 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10106 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10107 (calc-lu-divide): Rename from `calc-logunits-div'.
10108 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10109 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10110
10111 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10112 functions being autoloaded.
10113
10114 * calc/calc.el (calc-lu-power-reference): Rename from
10115 `calc-logunits-power-reference'.
10116 (calc-lu-field-reference): Rename from
10117 `calc-logunits-field-reference'.
10118
10119 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10120
40c2934b
SM
101212011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * minibuffer.el (completion-all-sorted-completions):
10124 Use :completion-cycle-penalty text property if present.
10125
b0911414
KM
101262011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10127
10128 * allout.el (allout-yank-processing): Adjust for new rebulleting
10129 regime so bullet being yanked is used without prompting the user
10130 for a choice.
10131
8a05b668
JB
101322011-03-16 Juanma Barranquero <lekktu@gmail.com>
10133
10134 * startup.el (command-line): Warn the user that _emacs is deprecated.
10135
5ba5fb81
JB
101362011-03-16 Juanma Barranquero <lekktu@gmail.com>
10137
10138 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10139 (delphi-verbose, delphi-comment-face, delphi-string-face)
10140 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10141 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10142 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10143 (delphi-new-comment-line, delphi-font-lock-defaults)
10144 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10145 Fix typos in docstrings.
10146
2dab465b
KM
101472011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10148
5ba5fb81 10149 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10150 Invert the roles of character and string values for INSTEAD, so a
10151 string is used for the more common case of a defaulting prompt.
10152
0adf5618
SM
101532011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10154
10155 * progmodes/ruby-mode.el (ruby-backward-sexp):
10156 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10157 * play/gamegrid.el (gamegrid-make-face):
10158 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10159 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10160 * notifications.el (notifications-notify):
10161 * net/xesam.el (xesam-search-engines):
10162 * net/quickurl.el (quickurl-list-insert):
10163 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10164
d72700e5
CY
101652011-03-15 Chong Yidong <cyd@stupidchicken.com>
10166
10167 * startup.el (command-line): Update package subdirectory regexp.
10168
49c5410a
SM
101692011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10170
c6eee9aa
SM
10171 * allout.el (allout-abbreviate-flattened-numbering)
10172 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10173
49c5410a
SM
10174 * subr.el (read-char-choice): Only show the cursor after the prompt,
10175 not after the answer.
10176
047b2bb9
KR
101772011-03-15 Kevin Ryde <user42@zip.com.au>
10178
10179 * help-fns.el (variable-at-point): Skip leading quotes, if any
10180 (bug#8253).
10181
0a57d256
SM
101822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10185 warning message.
10186
77c992bc
MA
101872011-03-14 Michael Albinus <michael.albinus@gmx.de>
10188
10189 * shell.el (shell): When called interactively, offer to change the
10190 shell file name on remote hosts.
10191
eebc475d
TZ
101922011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10193
10194 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10195 integration for LDAP parameters. The host, base, user or binddn,
10196 and secret tokens can be specified in a netrc file, for instance.
10197 This is optional because an `auth-source' parameter must be
10198 specified in the search attributes.
10199
9d05d1ba
JB
102002011-03-13 Juanma Barranquero <lekktu@gmail.com>
10201
10202 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10203
09d9db2c
GM
102042011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10207 into declaration. Remove redundant and harmful binding.
10208
102092011-03-12 Eli Zaretskii <eliz@gnu.org>
10210
10211 * files.el (file-ownership-preserved-p): Pass `integer' as an
10212 explicit 2nd argument to `file-attributes'. If the file's owner
10213 is the Administrators group on Windows, and the current user is
10214 Administrator, consider that a match.
10215
10216 * server.el (server-ensure-safe-dir): Consider server directory
10217 safe on MS-Windows if its owner is the Administrators group while
10218 the current Emacs user is Administrator. Use `=' to compare
10219 numerical UIDs, since they could be integers or floats.
10220
219bd536
JB
102212011-03-12 Juanma Barranquero <lekktu@gmail.com>
10222
10223 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10224
f3afd36b
MA
102252011-03-12 Michael Albinus <michael.albinus@gmx.de>
10226
10227 Sync with Tramp 2.2.1.
10228
10229 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10230
10231 * net/trampver.el: Update release number.
10232
3aaaa6f1
SM
102332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10234
94642599
SM
10235 * progmodes/compile.el (compilation--previous-directory): Fix up
10236 various nil/dead-marker mismatches (bug#8014).
10237 (compilation-directory-properties, compilation-error-properties):
10238 Don't call it at a position past the one we're about to change.
10239
3aaaa6f1
SM
10240 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10241 Disable obsolescence warnings in the file that declares it.
10242
14239447
KM
102432011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10244
099c39a4
JB
10245 * allout-widgets.el (allout-widgets-tally):
10246 Initialize allout-widgets-tally as a hash table rather than nil to
10247 prevent mode-line redisplay warnings. Also, clarify the module
10248 description and fix a comment typo.
14239447 10249
135e287c
JB
102502011-03-11 Juanma Barranquero <lekktu@gmail.com>
10251
10252 * help-fns.el (describe-variable): Don't complete keywords.
10253 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10254
ffbf300e
CY
102552011-03-10 Chong Yidong <cyd@stupidchicken.com>
10256
ba08b241
CY
10257 * emacs-lisp/package.el (package-version-join): Impose a standard
10258 string representation for pre/alpha/beta version lists.
10259 (package-unpack-single): Standardize the directory name by passing
10260 it through package-version-join.
10261 (package-strip-rcs-id): Accept any version string that does not
10262 signal an error in version-to-list.
ffbf300e 10263
f346fd6b
MA
102642011-03-10 Michael Albinus <michael.albinus@gmx.de>
10265
10266 * simple.el (delete-trailing-whitespace): Return nil for the
10267 benefit of `write-file-functions'.
10268
ccb55d27
GM
102692011-03-10 Glenn Morris <rgm@gnu.org>
10270
5ceaac0c
GM
10271 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10272
02da65ff
GM
10273 * vc/vc-git.el (vc-git-program): New option.
10274 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10275 (vc-git--call): Use it.
10276
b2f603cc
GM
10277 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10278
5772caab
GM
10279 * cus-edit.el (Custom-newline): If no button at point, look
10280 for a subgroup button at start-of-line. (Bug#2298)
10281
ccb55d27
GM
10282 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10283
ec6ecaed
JD
102842011-03-10 Julien Danjou <julien@danjou.info>
10285
10286 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10287 `cursor-type' is nil.
10288
9d5aa01d
JB
102892011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10290
10291 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10292
b6a5875b
KM
102932011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10294
10295 * allout.el Summary: Change so yank of distinctive-bullet items
10296 preserves the existing header prefix, rebulleting it if necessary,
10297 rather than replacing it. This is necessary for proper operation
10298 of cooperative addons like allout-widgets.
1154d12e
JB
10299 (allout-make-topic-prefix, allout-rebullet-heading):
10300 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10301 value as alternate bullet to be used, instead of prompting the user
10302 for a bullet character.
b6a5875b 10303
ee545c35
MA
103042011-03-09 Michael Albinus <michael.albinus@gmx.de>
10305
d86d2721
SM
10306 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10307 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10308 `tramp-default-port'.
10309
c47971d7
DD
103102011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10311
10312 * net/rcirc.el (rcirc-handler-001): Remove useless
10313 with-rcirc-process-buffer.
10314 (rcirc-check-auth-status): Swap arguments to string-match.
10315
13522cb4
GM
103162011-03-09 Glenn Morris <rgm@gnu.org>
10317
0be6f4f1
GM
10318 * shell.el (shell-mode):
10319 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10320
13522cb4
GM
10321 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10322 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10323
515de2e3
CY
103242011-03-08 Chong Yidong <cyd@stupidchicken.com>
10325
10326 * emacs-lisp/package.el (package-refresh-contents)
10327 (package-menu-execute): Use condition-case-no-debug.
10328
b511b994
MA
103292011-03-08 Michael Albinus <michael.albinus@gmx.de>
10330
10331 * simple.el (shell-command-to-string): Use `process-file'.
10332
10333 * emacs-lisp/package.el (package-tar-file-info): Handle also
10334 remote files.
10335
d86d2721
SM
10336 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10337 Use `equal' for upload base check.
b511b994 10338
25bbfb31
AM
103392011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10340
10341 * textmodes/texinfo.el (texinfo-environments):
10342 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10343
be996521
GM
103442011-03-08 Glenn Morris <rgm@gnu.org>
10345
e9c8529f
GM
10346 * cus-start.el (cursor-in-non-selected-windows):
10347 Fix :set quoting oddness. (Bug#8192)
10348
be996521
GM
10349 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10350 in some setf expressions. (Bug#2159)
10351
2bb5649e
CY
103522011-03-08 Chong Yidong <cyd@stupidchicken.com>
10353
10354 * custom.el (custom-available-themes): Return themes in
10355 alphabetical order.
10356
33383987 10357See ChangeLog.15 for earlier changes.
e3d51b27
MR
10358
10359;; Local Variables:
10360;; coding: utf-8
e3d51b27
MR
10361;; End:
10362
acaf905b 10363 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10364
10365 This file is part of GNU Emacs.
10366
10367 GNU Emacs is free software: you can redistribute it and/or modify
10368 it under the terms of the GNU General Public License as published by
10369 the Free Software Foundation, either version 3 of the License, or
10370 (at your option) any later version.
10371
10372 GNU Emacs is distributed in the hope that it will be useful,
10373 but WITHOUT ANY WARRANTY; without even the implied warranty of
10374 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10375 GNU General Public License for more details.
10376
10377 You should have received a copy of the GNU General Public License
10378 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.