* configure.in: Allow Emacs to actually be built with xaw scroll-bars.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e58e988a
GM
12012-01-31 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case.
4
7a3f511d
GM
52012-01-30 Glenn Morris <rgm@gnu.org>
6
7 * emacs-lisp/authors.el (authors-fixed-entries):
8 Remove reference to deleted file rnewspost.el.
9
cb882333
JB
102012-01-29 Juanma Barranquero <lekktu@gmail.com>
11
12 * window.el (window-with-parameter): Remove unused variable `windows'.
13 (window--side-check): Remove unused variable `code'.
14 (window--resize-siblings): Remove unused variable `first'.
15 (adjust-window-trailing-edge): Remove unused variable `failed'.
16 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17 Use `let', not `let*'.
18 (balance-windows-2): Remove unused variable `found'.
19 (window--state-put-2): Remove unused variable `splits'.
20 (window-state-put): Remove unused variable `selected'.
21 (same-window-p): Use `string-match-p'.
22 (display-buffer-assq-regexp): Remove unused variable `value'.
23 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
24 Mark argument ALIST as ignored.
25 (pop-to-buffer): Remove unused variable `old-window'.
26
907201af
EZ
272012-01-29 Eli Zaretskii <eliz@gnu.org>
28
29 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
30 and .lzma compressed files.
31
ea162670
CY
322012-01-29 Chong Yidong <cyd@gnu.org>
33
5b95ee8a
CY
34 * frame.el (window-system-default-frame-alist): Doc fix.
35
ea162670
CY
36 * dynamic-setting.el (font-setting-change-default-font): Don't
37 change the default face if SET-FONT argument is non-nil (Bug#9982).
38
d6e6f4b1
SB
392012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
40
41 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
42
0f29fa41 432012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
44
45 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
46 breakpoints in files outside current directory (Bug#6098).
47
db174434
CY
482012-01-29 Chong Yidong <cyd@gnu.org>
49
6b25e4e2
SE
50 * progmodes/python.el: Require ansi-color at top-level.
51
db174434
CY
52 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define
53 and use in Emacs Lisp mode (Bug#9360).
54 (lisp-mode-abbrev-table): Add doc.
55 (lisp-mode-variables): Don't set local-abbrev-table.
56 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
57
e70ee681
RW
582012-01-28 Roland Winkler <winkler@gnu.org>
59
60 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
61
ace88aa2
RW
622012-01-28 Roland Winkler <winkler@gnu.org>
63
64 * textmodes/bibtex.el (bibtex-entry-alist): New function.
65 (bibtex-set-dialect): Use it. Either set global values of
66 dialect-dependent variables or bind these variables buffer-locally
67 (Bug#10254).
68 (bibtex-mode): Call bibtex-set-dialect via
69 hack-local-variables-hook.
70 (bibtex-dialect): Update docstring. Add
71 safe-local-variable predicate.
72 (bibtex-entry-alist, bibtex-field-alist): Initialize via
73 bibtex-set-dialect.
74 (bibtex-mode-map): Define menu for each dialect.
75 (bibtex-entry): Fix docstring.
76
93376c5b
CY
772012-01-28 Chong Yidong <cyd@gnu.org>
78
79 * eshell/esh-arg.el (eshell-quote-argument): New function.
80
81 * eshell/esh-ext.el (eshell-invoke-batch-file):
82 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
83 first arg to eshell-parse-command (Bug#10523).
84
4372494f
DA
852012-01-28 Drew Adams <drew.adams@oracle.com>
86
87 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
88 `default-directory' is non-nil.
89
4d4ec1f8
EZ
902012-01-28 Eli Zaretskii <eliz@gnu.org>
91
92 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
93 line that displays system-configuration-options. (Bug#9924)
94
7c188927
DA
952012-01-28 Drew Adams <drew.adams@oracle.com>
96
97 * descr-text.el (describe-char): Show information about POS, in
98 addition to information about the character at POS. Improve and
99 update the doc string. Change "code point" to "code point in
100 charset", to avoid confusion with the character's Unicode code
101 point shown above that. (Bug#10129)
102
e0da685a
EZ
1032012-01-28 Eli Zaretskii <eliz@gnu.org>
104
105 * descr-text.el (describe-char): Show the raw character, not only
106 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
107 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
108 for the reasons.
109
70550acf
PH
1102012-01-28 Phil Hagelberg <phil@hagelb.org>
111
112 * emacs-lisp/package.el (package-install): Run
80ed5304 113 package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 114
0ce8e868
CY
1152012-01-28 Chong Yidong <cyd@gnu.org>
116
cb882333
JB
117 * emacs-lisp/package.el (package-maybe-load-descriptor):
118 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
119 (package-maybe-load-descriptor): Use it.
120 (package-download-transaction): Fully load required packages
121 inside the loop, so that `require' calls work (Bug#10593).
122 (package-install): No need to call package-initialize now.
123
2e7f3bea
CY
1242012-01-28 Chong Yidong <cyd@gnu.org>
125
6e9bad14
CY
126 * simple.el (deactivate-mark): Doc fix (Bug#8614).
127
f823b8ca
CY
128 * tooltip.el (tooltip-mode): Doc fix.
129 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
130
2680c309
CY
131 * frame.el (set-cursor-color): Doc fix (Bug#352).
132
d7a9e63b
CY
133 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
134 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
135
2e7f3bea
CY
136 * cus-edit.el (custom-buffer-create-internal): Fix search button
137 action (Bug#10542).
2ae01800 138 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 139
fc4f7a23
EW
1402012-01-27 Eduard Wiebe <usenet@pusto.de>
141
142 * dired.el (dired-mark-files-regexp):
143 Include any subdirectory components. (Bug#10445)
144
7dd37071
ML
1452012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
146
147 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
148 Handle [host]:port syntax. (Bug#10533)
149
a268160b
AH
1502012-01-27 Alex Harsanyi <harsanyi@mac.com>
151
152 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
153
e43273ef
GM
1542012-01-26 Glenn Morris <rgm@gnu.org>
155
156 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
157 * term.el (term-raw-escape-map): Use Control-X-prefix.
158 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
159
1edf595d
MR
1602012-01-25 Martin Rudalics <rudalics@gmx.at>
161
162 * window.el (window-state-get, window--state-get-1): Don't deal
163 with fixed-sizeness of windows. Simplify code.
164
fa8eafef
JC
1652012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
166
167 * window.el (window--state-get-1, window--state-put-2): Don't
168 save and restore the mark.
169
0b21c100
CY
1702012-01-25 Chong Yidong <cyd@gnu.org>
171
172 * custom.el (custom-variable-p): Doc fix.
173
5ae1a6c8
GM
1742012-01-25 Glenn Morris <rgm@gnu.org>
175
40047858
GM
176 * dired.el (dired-goto-file): Handle some of the more common
177 characters that `ls -b' escapes. (Bug#10596)
178
5ddce96c
GM
179 * progmodes/compile.el (compilation-next-error-function):
180 Respect compilation-first-column in the "*compilation*" buffer.
181 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
182
5ae1a6c8
GM
183 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
184
b559f1a9
GM
1852012-01-24 Glenn Morris <rgm@gnu.org>
186
187 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
188
6725d21a
JD
1892012-01-24 Julien Danjou <julien@danjou.info>
190
191 * color.el (color-rgb-to-hsl): Fix value computing.
192 (color-hue-to-rgb): New function.
193 (color-hsl-to-rgb): New function.
194 (color-clamp, color-saturate-hsl, color-saturate-name)
195 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
196 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
197
70df4bbe
GM
1982012-01-24 Glenn Morris <rgm@gnu.org>
199
200 * vc/vc-rcs.el (vc-rcs-create-tag):
201 * vc/vc-sccs.el (vc-sccs-create-tag):
202 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
203
802a2ae2
ML
2042012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
205
206 * eshell/esh-util.el (eshell-read-hosts-file):
207 Skip comment lines. (Bug#10549)
208
d7128bb1
ML
209 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
210
d1a5c3b4
JB
2112012-01-23 Juanma Barranquero <lekktu@gmail.com>
212
2724d9c7
JB
213 * subr.el (display-delayed-warnings): Doc fix.
214 (collapse-delayed-warnings): New function to collapse identical
215 adjacent warnings.
216 (delayed-warnings-hook): Add it.
d1a5c3b4 217
a5509865
MA
2182012-01-22 Michael Albinus <michael.albinus@gmx.de>
219
220 * net/tramp.el (tramp-action-login): Set connection property "login-as".
221
222 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
223 properties, when "login-as" is set.
224
225 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
226 (tramp-default-user-alist): Don't add "pscp".
227 (tramp-do-copy-or-rename-file-out-of-band): Use connection
228 property "login-as", if set. (Bug#10530)
229
cc6d5805
MA
2302012-01-21 Michael Albinus <michael.albinus@gmx.de>
231
232 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
233 "plink1" and "psftp". (Bug#10530)
234
2352012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
236
237 * international/mule-cmds.el (prefer-coding-system): Show a
238 warning message if the default value of file-name-coding-system
239 was not changed.
240
f0960428
JC
2412012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
242
cb882333
JB
243 * windmove.el (windmove-reference-loc):
244 Fix windmove-reference-loc miscalculation.
f0960428 245
dd6f2a63
JB
2462012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
247
248 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
249 default unit.
250
7b447e9b
GM
2512012-01-21 Glenn Morris <rgm@gnu.org>
252
117a9ea1
GM
253 * international/mule.el (auto-coding-alist): Add .tbz.
254
7b447e9b
GM
255 * files.el (local-enable-local-variables): Doc fix.
256 (inhibit-local-variables-regexps): Rename from
257 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
258 Doc fix. Add some extensions from auto-coding-alist.
259 (inhibit-local-variables-suffixes):
260 Rename from inhibit-first-line-modes-suffixes. Doc fix.
261 (inhibit-local-variables-p):
262 New function, extracted from set-auto-mode-1.
263 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
264 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
265 (hack-local-variables): Doc fix. Make the mode-only case
266 respect enable-local-variables and friends.
267 Respect inhibit-local-variables-regexps for file-locals, but
268 not for directory-locals.
269 (set-visited-file-name):
270 Take account of inhibit-local-variables-regexps.
271 Whether it applies may change as the file name is changed.
272 * jka-cmpr-hook.el (jka-compr-install):
273 * jka-compr.el (jka-compr-uninstall):
274 Update for inhibit-first-line-modes-suffixes name change.
275
dd6e3cdd
MR
2762012-01-20 Martin Rudalics <rudalics@gmx.at>
277
278 * help-macro.el (make-help-screen): Temporarily restore original
279 binding for minor-mode-map-alist (Bug#10454).
280
0d0deb38
JD
2812012-01-19 Julien Danjou <julien@danjou.info>
282
283 * color.el (color-name-to-rgb): Use the white color to find the max
284 color component value and return correctly computed values.
285 (color-name-to-rgb): Add missing float conversion for max value.
286
34a02f46
MR
2872012-01-19 Martin Rudalics <rudalics@gmx.at>
288
289 * window.el (window--state-get-1, window-state-get): Do not use
290 special state value for window-persistent-parameters. Rename
291 argument IGNORE to WRITABLE. Rewrite doc-string.
292 (window--state-put-2): Reset all window parameters to nil before
293 assigning values of persistent parameters.
294
606c44c4
AM
2952012-01-18 Alan Mackenzie <acm@muc.de>
296
297 Eliminate sluggishness and hangs in fontification of "semicolon
298 deserts".
299
cb882333
JB
300 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
301 Change value 10000 -> 3000.
606c44c4
AM
302 (c-state-safe-place): Reformulate so it doesn't stack up an
303 infinite number of wrong entries in c-state-nonlit-pos-cache.
304 (c-determine-limit-get-base, c-determine-limit): New functions to
305 determine backward search limits disregarding literals.
306 (c-find-decl-spots): Amend commenting.
307 (c-cheap-inside-bracelist-p): New function which detects "={".
308
309 * progmodes/cc-fonts.el
310 (c-make-font-lock-BO-decl-search-function): Give a limit to a
311 backward search.
312 (c-font-lock-declarations): Fix an occurrence of point being
313 undefined. Check additionally for point being in a bracelist or
314 near a macro invocation without a semicolon so as to avoid a
315 fruitless time consuming search for a declarator. Give a more
316 precise search limit for declarators using the new
317 c-determine-limit.
318
f3860cea
GM
3192012-01-18 Glenn Morris <rgm@gnu.org>
320
321 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
322 (set-auto-mode): Doc fixes.
323
1db03b16
GM
3242012-01-17 Glenn Morris <rgm@gnu.org>
325
0e6038be
GM
326 * isearch.el (search-nonincremental-instead): Fix doc typo.
327
1db03b16
GM
328 * dired.el (dired-insert-directory): Handle newlines in directory name.
329 (dired-build-subdir-alist): Unescape newlines in directory name.
330
4cb0aa75
MA
3312012-01-17 Michael Albinus <michael.albinus@gmx.de>
332
333 * net/tramp.el (tramp-local-end-of-line): New defcustom.
334 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
335 (tramp-action-terminal): Use it. (Bug#10530)
336
1d00653d
SM
3372012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * minibuffer.el (completion--replace): Strip properties (bug#10062).
340
6a6ee00d
MR
3412012-01-16 Martin Rudalics <rudalics@gmx.at>
342
343 * window.el (window-state-ignored-parameters): Remove variable.
344 (window--state-get-1): Rename argument MARKERS to IGNORE.
345 Handle persistent window parameters. Make copy of clone-of
346 parameter only if requested. (Bug#10348)
347 (window--state-put-2): Install a window parameter only if it has
348 a non-nil value or an existing parameter shall be overwritten.
349
97912def
MA
3502012-01-15 Michael Albinus <michael.albinus@gmx.de>
351
352 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
353
688070a5
EZ
3542012-01-14 Eli Zaretskii <eliz@gnu.org>
355
356 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
357 don't pass the (nil) value of `upnode' to string-match.
358
301afadc
CY
3592012-01-14 Chong Yidong <cyd@gnu.org>
360
361 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 362 Fix values recognized by the cursorBlink resource.
301afadc 363
9e5788aa
PE
3642012-01-14 Paul Eggert <eggert@cs.ucla.edu>
365
366 * epg.el (epg--make-temp-file): Avoid permission race condition
367 when running on old Emacs versions (bug#10403).
368
3cdb7f5a
GM
3692012-01-14 Glenn Morris <rgm@gnu.org>
370
371 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
372
8c82b1b4
AM
3732012-01-13 Alan Mackenzie <acm@muc.de>
374
375 Fix filling for when filladapt mode is enabled.
376
377 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
378 c-mask-paragraph, pass in `fill-paragraph' rather than
379 `fill-region-as-paragraph'. (This is a reversion of a previous
380 change.)
381 * progmodes/cc-mode.el (c-basic-common-init): Make
382 fill-paragraph-handle-comment buffer local and set it to nil.
383
e517eda4
GM
3842012-01-13 Glenn Morris <rgm@gnu.org>
385
1498536e
GM
386 * dired.el (dired-switches-escape-p): New function.
387 (dired-insert-directory): Use dired-switches-escape-p.
388 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
389
e517eda4
GM
390 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
391
328f984d
GM
3922012-01-12 Glenn Morris <rgm@gnu.org>
393
394 * mail/sendmail.el (mail-mode): Update paragraph-separate for
395 changes in adaptive-fill-regexp. (Bug#10276)
396
2cc769a8
AM
3972012-01-11 Alan Mackenzie <acm@muc.de>
398
399 Fix Emacs bug #10463 - put `widen's around the critical spots.
400
1d00653d 401 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
402 widen around each invocation of c-state-pp-to-literal. Remove an
403 unused let variable.
404
e52c37fa
GM
4052012-01-11 Glenn Morris <rgm@gnu.org>
406
407 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 408 Doc fix.
e52c37fa 409
96f8741e
CY
4102012-01-10 Chong Yidong <cyd@gnu.org>
411
1d00653d
SM
412 * net/network-stream.el (network-stream-open-starttls):
413 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
414 response to the capability command.
415
b09a806e
GM
4162012-01-10 Glenn Morris <rgm@gnu.org>
417
418 * mail/unrmail.el (unrmail): Tweak previous change.
419
7655cb66
CY
4202012-01-09 Chong Yidong <cyd@gnu.org>
421
422 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
423
9d5a8f0b
AM
4242012-01-08 Alan Mackenzie <acm@muc.de>
425
426 Optimise font locking in long enum definitions.
427
428 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
429 arm to a cond form to handle enums.
430 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
431 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
432
9a0115ab 4332012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
434
435 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 436 (Bug#10401)
6bb72cbd 437
f186bb95
LMI
4382012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
439
29232a68
LMI
440 * faces.el (set-face-attribute): Clarify the meaning of the nil
441 frame (bug#10294).
442
4e5d086d
LMI
443 * subr.el (with-selected-frame): Mention that the selected frame
444 is restored (bug#9980).
445
8e66aebe
LMI
446 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
447 (bug#9759).
448
cd394be1 449 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
450 (password-read): Don't autoload unused function.
451
adf4e762
JB
4522012-01-07 Juanma Barranquero <lekktu@gmail.com>
453
454 * progmodes/which-func.el (which-func-mode): Turn into a
455 non-interactive function and mark as obsolete (bug#10428).
456
89bd9ccd
CY
4572012-01-06 Chong Yidong <cyd@gnu.org>
458
459 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
460 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
461 functions, along with 1 and -1.
462
4afee9d5
EZ
4632012-01-06 Eli Zaretskii <eliz@gnu.org>
464
465 * time.el (display-time-load-average)
466 (display-time-default-load-average): Doc fixes. See the thread
467 starting at
468 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
469 for the details.
470
536aea70
GM
4712012-01-06 Glenn Morris <rgm@gnu.org>
472
665ae865
GM
473 * mail/unrmail.el (unrmail): Give an explicit error if the input file
474 has no messages. (Bug#10377)
475
c869783d
GM
476 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
477 than Info-edit. (Bug#10385)
478
2bb4227e
GM
479 * time.el (display-time-load-average, display-time-next-load-average):
480 Doc fixes.
481
7d5944b9
GM
482 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
483 local setting of buffer-read-only to the input buffer. (Bug#10419)
484
536aea70
GM
485 * calendar/calendar.el (calendar-mode):
486 Locally set scroll-margin to 0. (Bug#10379)
487
7dccca16
UM
4882012-01-06 Ulrich Mueller <ulm@gentoo.org>
489
490 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
491
afbb7930
GM
4922012-01-05 Glenn Morris <rgm@gnu.org>
493
494 * eshell/em-unix.el (diff-no-select): Autoload it.
495 (eshell/diff): Use diff-no-select. (Bug#10420)
496
04482335
CY
4972012-01-05 Chong Yidong <cyd@gnu.org>
498
7baca3bc
CY
499 * shell.el (shell-dynamic-complete-functions): Revert last change.
500 (shell-command-completion-function): New function.
501 (shell-completion-vars): Use it to implement
502 shell-completion-execonly (Bug#10417).
503
04482335
CY
504 * custom.el (enable-theme): Don't set custom-safe-themes.
505
1d00653d
SM
506 * cus-theme.el (custom-theme-merge-theme):
507 Ignore custom-enabled-themes and custom-safe-themes.
04482335 508
bb5aa5d6
MM
5092012-01-05 Michael R. Mauger <mmaug@yahoo.com>
510
511 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
512 first prompt in `sql-interacive-mode'.
513 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 514 keywords.
bb5aa5d6
MM
515 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
516 (sql-product-interactive): Bug fix: Set `sql-buffer' in
517 context of original buffer. Invoke `sql-login-hook'.
518
a7183d7c
EZ
5192012-01-04 Eli Zaretskii <eliz@gnu.org>
520
521 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
522 letters in cite-prefix.
523
a1eacd1e
LMI
5242012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
525
526 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
527
787cdb34
CY
5282012-01-03 Chong Yidong <cyd@gnu.org>
529
1d00653d
SM
530 * shell.el (shell-dynamic-complete-functions):
531 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
532 comint-filename-completion first (Bug#10417).
533
30710442
RS
5342012-01-02 Richard Stallman <rms@gnu.org>
535
536 * battery.el (battery-status-function):
537 Detect when to use battery-yeeloong-sysfs.
538 (battery-echo-area-format): Add string for Yeeloong.
539 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
540 (battery-yeeloong-sysfs): New function.
541
f75bfc33
CY
5422012-01-02 Chong Yidong <cyd@gnu.org>
543
544 * dirtrack.el (dirtrack-list): Eliminate unused third element.
545 (dirtrack): Merge code for handling relative filenames in prompt
546 from shell-dir-cookie-watcher.
547 (dirtrack-debug-message): New arg to avoid excess format calls.
548
549 * shell.el (shell-dir-cookie-re): Variable deleted.
550 (shell-dir-cookie-watcher): Function deleted.
551 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
552 with dirtrack-mode.
553
651e947e
EZ
5542012-01-01 Eli Zaretskii <eliz@gnu.org>
555
1d00653d
SM
556 * term/w32-win.el (dynamic-library-alist) <gnutls>:
557 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
558 libgnutls-26.dll.
559
94d4c7dc
AS
5602011-12-31 Andreas Schwab <schwab@linux-m68k.org>
561
562 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
563
8d43f3cd
EZ
5642011-12-31 Eli Zaretskii <eliz@gnu.org>
565
566 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
567 headers of non-MIME messages, when rmail-enable-mime is non-nil.
568
98c8795a
MA
5692011-12-29 Michael Albinus <michael.albinus@gmx.de>
570
571 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
572 also for alternative shells.
573 (tramp-open-connection-setup-interactive-shell): Check, whether
574 the shell is a busybox.
575 (tramp-send-command): Don't suppress multiple prompts for
576 busyboxes, it hurts.
577
51281b32
CY
5782011-12-28 Chong Yidong <cyd@gnu.org>
579
580 * progmodes/gdb-mi.el (gdb-get-source-file-list)
581 (gdb-get-source-file): Move mode line update to
582 gdb-get-source-file (Bug#10087).
583
2170cb53
CY
5842011-12-25 Chong Yidong <cyd@gnu.org>
585
586 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
587 gud-gdb-marker-filter without taking it as an argument.
588 (gud-gdb-run-command-fetch-lines): Caller changed.
589 (gud-gdb-completion-function): New variable.
590 (gud-gdb-completion-at-point): Use it.
591 (gud-gdb-completions-1): Split from gud-gdb-completions.
592
593 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
594 function as separate arguments.
595 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
596 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
597 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
598 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
599 (gdb-stopped, def-gdb-auto-update-trigger)
600 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
601 (gdb-get-changed-registers, gdb-get-main-selected-frame):
602 Callers changed.
2170cb53
CY
603 (gud-gdbmi-completions): New function.
604 (gdb): Use it for generating the completion table.
605
be8b11bb
AM
6062011-12-24 Alan Mackenzie <acm@muc.de>
607
608 Introduce a mechanism to widen the region used in context font
1d00653d 609 locking. Use this to protect declarations from losing their contexts.
be8b11bb 610
1d00653d
SM
611 * progmodes/cc-langs.el (c-before-font-lock-functions):
612 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 613 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
614 functions to be run just before context (etc.) font locking.
615
616 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 617 New, functionality extracted from
be8b11bb 618 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 619 (c-in-after-change-fontification): New variable.
be8b11bb
AM
620 (c-after-change): Set c-in-after-change-fontification.
621 (c-set-fl-decl-start): Rejig its interface, so it can be called
622 from both after-change and context fontifying.
b81d40f0
JB
623 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
624 New functions.
625 (c-standard-font-lock-fontify-region-function): New variable.
626 (c-font-lock-fontify-region): New function.
be8b11bb 627
341cf6ac
JL
6282011-12-24 Juri Linkov <juri@jurta.org>
629
630 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
631 (Bug#10348)
632
bffcee0a
MA
6332011-12-23 Michael Albinus <michael.albinus@gmx.de>
634
635 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
636 existence of source file. (Bug#10325)
637
cb5e207c
AM
6382011-12-23 Alan Mackenzie <acm@muc.de>
639
640 Fix unstable fontification inside templates.
641
b81d40f0
JB
642 * progmodes/cc-langs.el (c-before-font-lock-functions):
643 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
644 additionally has c-set-fl-decl-start. The other languages (apart
645 from AWK) have that as a single entry.
646
b81d40f0
JB
647 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
648 The functionality for "local" declarations has been extracted to
cb5e207c
AM
649 c-set-fl-decl-start.
650
b81d40f0
JB
651 * progmodes/cc-mode.el (c-common-init, c-after-change):
652 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
653 (c-set-fl-decl-start): New function, extracted from
654 c-font-lock-enclosing-decls and enhanced.
655
60ff536c
JB
6562011-12-23 Juanma Barranquero <lekktu@gmail.com>
657
658 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
659
1c4757d6
JL
6602011-12-22 Juri Linkov <juri@jurta.org>
661
662 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
663
d031f2c7
CY
6642011-12-22 Chong Yidong <cyd@gnu.org>
665
666 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
667
bace743a
DA
6682011-12-21 Drew Adams <drew.adams@oracle.com>
669
670 * files.el (file-remote-p): Fix docstring. (Bug#10319)
671
728a1f2b
JC
6722011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
673
674 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
675
0d373f73
TZ
6762011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
677
fec0aaa4
TZ
678 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
679 highlighting and support. Fix up comments for capitalization.
680 (cfengine-mode-debug): New var.
681 (cfengine3-mode): Change the modeline indicator to "CFE3".
682 (cfengine3-font-lock-keywords): Improve defun highlighting.
683 (cfengine2-actions): Rename from `cfengine-actions'.
684 (cfengine2-font-lock-keywords): Rename from
685 `cfengine-font-lock-keywords'.
686 (cfengine2-imenu-expression): Rename from
687 `cfengine-imenu-expression'.
688 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
689 (cfengine2-beginning-of-defun): Rename from
690 `cfengine-beginning-of-defun'.
691 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
692 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
693 (cfengine2-mode): Rename from `cfengine-mode'. Change the
694 modeline indicator to "CFE2".
695 (cfengine-mode): Defalias to `cfengine-auto-mode'.
696 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 697
bc86f573
CY
6982011-12-21 Chong Yidong <cyd@gnu.org>
699
700 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
701 filename argument.
702
d45ba96b
MR
7032011-12-20 Martin Rudalics <rudalics@gmx.at>
704
705 * window.el (window-normalize-buffer-to-display): Remove.
706 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
707
a6198c90
CY
7082011-12-19 Chong Yidong <cyd@gnu.org>
709
710 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
711 Don't signal an error in a predicate function; return non-nil.
712 (vc-dir-mark-file): Move the error here.
713 (vc-dir-mark-unmark): If acting on the region, keep going if one
714 of the entries cannot be marked/unmarked.
715 (vc-dir-mark-all-files): If current entry is a directory, mark
716 only child files, as documented.
717
34c5fb55
VB
7182011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
719
720 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
721 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
722 addition.
723
c803b2b7
JD
7242011-12-18 Jan Djärv <jan.h.d@swipnet.se>
725
726 * term/ns-win.el (ns-get-selection-internal)
727 (ns-store-selection-internal): Declare.
1154d12e
JB
728 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
729 Declare as obsolete.
730 (ns-get-pasteboard, ns-paste-secondary):
731 Use ns-get-selection-internal.
732 (ns-set-pasteboard, ns-copy-including-secondary):
733 Use ns-store-selection-internal.
c803b2b7 734
9cff91f8 7352011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
736
737 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 738 (vc-deduce-fileset): Doc fix.
99a289d9 739
f16c898a
AS
7402011-12-16 Andreas Schwab <schwab@linux-m68k.org>
741
742 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
743
763237c4
SS
7442011-12-13 Sam Steingold <sds@gnu.org>
745
746 * man.el (Man-getpage-in-background): When running under a
747 window-system, ignore $MANWIDTH and $COLUMNS.
748
5fc1c122
KH
7492011-12-15 Kenichi Handa <handa@m17n.org>
750
751 * language/ethio-util.el: Change coding tag to utf-8-emacs.
752 (setup-ethiopic-environment-internal): Comment out key-binding for
753 ethio-toggle-punctuation.
754
13d49cbb
AM
7552011-12-13 Alan Mackenzie <acm@muc.de>
756
898169a2
AM
757 Add the switch statement to AWK Mode.
758
759 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
760 "default" to the keywords regexp.
761
762 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
763 expression as the rest.
1d00653d
SM
764 (c-nonlabel-token-key): Allow string literals for AWK.
765 Refactor for the other modes.
898169a2 766
13d49cbb 767 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 768 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
769 routines. Limit backward searching in c-font-lock-enclosing.decl.
770
771 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
772 pp-state and literal type in addition to the limits.
1d00653d 773 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 774 (c-state-literal-at): Use the above new defun.
1d00653d
SM
775 (c-slow-in-literal, c-fast-in-literal): Remove.
776 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
777
778 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
779 being in a literal. Add a limit for backward searching.
780
781 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
782 c-slow-in-literal.
783
15e0efc7
SM
7842011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
787
454592a6
MR
7882011-12-13 Martin Rudalics <rudalics@gmx.at>
789
790 * window.el (delete-other-windows): Use correct frame in call to
791 window-with-parameter.
792
87393f26
DP
7932011-12-12 Daniel Pfeiffer <occitan@t-online.de>
794
795 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
796 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
797 (makefile-gmake-statements, makefile-makepp-statements):
798 Use it and add new makepp keywords.
799 (makefile-makepp-font-lock-keywords): Add new patterns.
800 (makefile-match-function-end): Match new [...] and [[...]].
801
11636b22
JB
8022011-12-11 Juanma Barranquero <lekktu@gmail.com>
803
804 * ses.el (ses-call-printer-return, ses-cell-property-get)
805 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
806 (ses-create-cell-variable, ses-reset-header-string)
807 (ses-cell-set-formula, ses-repair-cell-reference-all)
808 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
809 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
810 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
811 (ses-aset-with-undo, ses-load, ses-truncate-cell)
812 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
813 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
814 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
815 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
816 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
817 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
818 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
819 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
820
cf018193
VB
8212011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
822
823 * ses.el: The overall change is to add cell renaming, that is
824 setting fancy names for cell symbols other than name matching
825 "\\`[A-Z]+[0-9]+\\'" regexp .
826 (ses-create-cell-variable): New defun.
827 (ses-relocate-formula): Relocate formulas only for cells the
828 symbols of which are not renamed, i.e. symbols whose names do not
829 match regexp "\\`[A-Z]+[0-9]+\\'".
830 (ses-relocate-all): Relocate values only for cells the symbols of
831 which are not renamed.
832 (ses-load): Create cells variables as the (ses-cell ...) are read,
833 in order to check row col consistency with cell symbol name only
834 for cells that are not renamed.
835 (ses-replace-name-in-formula): New defun.
836 (ses-rename-cell): New defun.
837
ee957461
CY
8382011-12-11 Chong Yidong <cyd@gnu.org>
839
840 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
841 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
842
9a9e9ef0
MR
8432011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
844
845 * window.el (other-window): Fix docstring.
846
92a8eba5
EZ
8472011-12-10 Eli Zaretskii <eliz@gnu.org>
848
849 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
850 `from' or `to' address before taking its substring.
851 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
852 encoded name is chopped in the middle of the encoded string, and
853 thus displayed encoded.
854
e152e577
JB
8552011-12-10 Juanma Barranquero <lekktu@gmail.com>
856
857 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
858
e5d84bfe
EZ
8592011-12-10 Eli Zaretskii <eliz@gnu.org>
860
861 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
862 to use texinfo-update-node and commands that call it if the
863 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 864 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
865 (texinfo-all-menus-update, texinfo-master-menu)
866 (texinfo-update-node, texinfo-every-node-update)
867 (texinfo-multiple-files-update): Doc fix. Warn against updating
868 all the @node lines.
869 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
870 argument is numeric. Explain better in the doc string what the
871 function really does.
872 (texinfo-insert-master-menu-list): Improve the error message
873 displayed if there's no menu in the Top node.
874 (Bug#2975) See also this thread:
e5d84bfe
EZ
875 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
876
1d84e9bb
MG
8772011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
878
879 * speedbar.el (speedbar-supported-extension-expressions):
880 Add .adb and .ads, commonly used for Ada source code (bug#10256).
881
382c953b
JB
8822011-12-09 Juanma Barranquero <lekktu@gmail.com>
883
884 * printing.el (pr-mode-alist):
885 * simple.el (filter-buffer-substring-functions)
886 (completion-list-insert-choice-function):
887 * window.el (window-with-parameter, window-atom-root)
888 (window-sides-slots, window-size-fixed, window-min-delta)
889 (window-max-delta, window--resize-mini-window)
890 (window--resize-child-windows-normal, window-tree)
891 (delete-other-windows, quit-window, split-window)
892 (display-buffer-record-window, special-display-buffer-names)
893 (special-display-regexps, special-display-popup-frame)
894 (same-window-p, split-window-sensibly)
895 (display-buffer-overriding-action, display-buffer-alist)
896 (display-buffer-base-action, display-buffer, switch-to-buffer)
897 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
898 (fit-window-to-buffer, recenter-positions)
899 (mouse-autoselect-window-state, mouse-autoselect-window-select):
900 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
901 and remove unneeded backslashes in docstrings.
902
39c9faef
SM
9032011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
904
98449af8
SM
905 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
906
39c9faef
SM
907 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
908 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
909 end in ".mk".
910 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
911 when reading the makefile (bug#10116).
912
86ed9fdc
SM
9132011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
916 (bug#10116).
917
5580f89d
GM
9182011-12-06 Glenn Morris <rgm@gnu.org>
919
920 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
921
28d3917c
CY
9222011-12-06 Chong Yidong <cyd@gnu.org>
923
924 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
925
a98edce9
JB
9262011-12-06 Juanma Barranquero <lekktu@gmail.com>
927
928 * textmodes/table.el (table-shorten-cell): Fix typo.
929
e65adfac
CG
9302011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
931
932 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
933
71cc0b74
EZ
9342011-12-05 Eli Zaretskii <eliz@gnu.org>
935
936 * descr-text.el (describe-char): Fix display of strong
937 right-to-left characters and directional embeddings and overrides.
938
939 * simple.el (what-cursor-position): Fix display of codepoints of
940 strong right-to-left characters.
941
315bc30d
CY
9422011-12-05 Chong Yidong <cyd@gnu.org>
943
944 * faces.el (read-color): Doc fix.
945
58a70b94
GM
9462011-12-05 Glenn Morris <rgm@gnu.org>
947
948 * align.el (align--set-marker): Add doc-string.
949 Don't try to move something that is not a marker. (Bug#10216)
950
5158face
GM
9512011-12-04 Glenn Morris <rgm@gnu.org>
952
953 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
954 overly zealous deletion of trailing whitespace.
955
520fca41
JB
9562011-12-04 Juanma Barranquero <lekktu@gmail.com>
957
958 * server.el (server-delete-client): On Windows, do not try to delete
959 the only terminal.
960 (server-process-filter): On Windows, treat requests for a tty frame as
961 if they were for a GUI frame if the running server is in GUI mode.
962
5e605a2e
GM
9632011-12-03 Glenn Morris <rgm@gnu.org>
964
965 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
966
5c3fe83f
SM
9672011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
968
6f5e57e7
SM
969 * electric.el: Streamline electric-indent's hook.
970 (electric-indent-chars): Revert to simple list.
971 (electric-indent-functions): New var.
972 (electric-indent-post-self-insert-function): Use it.
973
5c3fe83f
SM
974 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
975 there's no inferior buffer (bug#10196).
976 (prolog-consult-compile): Don't use toggle-read-only.
977
6bdac736
MA
9782011-12-02 Michael Albinus <michael.albinus@gmx.de>
979
980 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
981 interrupt. (Bug#10187)
982
6131ba7f
SM
9832011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
984
99c79fee
SM
985 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
986 (bug#9160).
987
6131ba7f
SM
988 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
989 (bug#10191).
990
cb0a02ea
JL
9912011-12-02 Juri Linkov <juri@jurta.org>
992
993 * info.el (Info-search): Display "end of manual" when Isearch
994 reaches the end of single-file Info manual. (Bug#9918)
995
66e0570c
EZ
9962011-12-02 Eli Zaretskii <eliz@gnu.org>
997
998 * isearch.el (isearch-message-prefix): Run the input method part
999 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1000
02b16839
JL
10012011-12-02 Juri Linkov <juri@jurta.org>
1002
1003 * isearch.el (isearch-occur): Use `word-search-regexp' for
1004 `isearch-word'.
1005 (isearch-search-and-update): Add condition for `isearch-word' and
1006 call `word-search-regexp'. (Bug#10145)
1007
0b950688
GM
10082011-12-01 Glenn Morris <rgm@gnu.org>
1009
1010 * eshell/em-hist.el (eshell-hist-initialize):
1011 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1012 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1013
9505c3c7
SM
10142011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1017
1bbe96b2 10182011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1019
a1beca85
SM
1020 * progmodes/verilog-mode.el (verilog-pretty-expr):
1021 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1022 verilog, such as += *= and the like.
1023 (verilog-assignment-operator-re): Regular expression to find the
1024 assigment operator in a verilog assignment.
1025 (verilog-assignment-operation-re): Regular expression to find an
1026 assignment statement for pretty-expr.
1027 (verilog-in-attribute-p): Query returns true if point is in an
1028 attribute context; used to skip these for expression line up from
1029 pretty-expr.
1030 (verilog-in-parameter-p): Query returns true if point is in an
1031 parameter definition context; used to skip these for expression
1032 line up from pretty-expr.
1033 (verilog-in-parenthesis-p): Query returns true if point is in a
1034 parenthetical expression, specifically ( ) but not [ ] or { };
1035 used by pretty-expr.
1036 (verilog-just-one-space): If there is no space, don't add one.
1037 (verilog-get-lineup-indent-2): Specifically skip just attribute
1038 contexts for expression lineup, rather than skipping all
1039 parenthetical expressions.
1040 (verilog-calculate-indent): Fix comment, and fix indent.
1041 (verilog-do-indent): Indent declarations in lists (suggested by
1042 Joachim Lechner).
1043 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1044 skeleton items.
1045 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1046 by Alain Mellan).
1047
1bbe96b2 10482011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1049
1050 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1051 parameters with embedded comments. Reported by Ray Stevens.
1052 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1053 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1054 Reported by Tim Holt.
1055 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1056 instantiated by upper module causing wrong expansion until AUTOed a
1057 second time. Reported by K C Buckenmaier.
1058 (verilog-diff-auto): Fix showing .* as a difference when
1059 `verilog-auto-star-save' off. Reported by Dan Dever.
1060 (verilog-auto-reset, verilog-read-always-signals)
1061 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1062 temporary signals in reset list if
1063 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1064 style to each signal's assignment type, bug381.
1065 Reported by Thomas Esposito.
6288f0ca
WS
1066 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1067 (verilog-uvm-statement-re): Support UVM indentation and
1068 highlighting, with old OVM keywords only.
a1beca85 1069 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1070 Support AUTOTIEOFF creating non-wire data types.
1071 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1072 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1073 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1074 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1075 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1076 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1077 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1078 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1079 non-numeric vector width. Reported by Alex Reed.
1080 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1081 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1082 (verilog-auto-delete-trailing-whitespace):
1083 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1084 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1085 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1086 Fix verilog-scan-cache corruption when running user AUTO expansion
1087 hooks that call indentation routines.
1088 (verilog-simplify-range-expression): Fix typo ignoring lower case
1089 identifiers.
1090 (verilog-delete-auto): Fix delete-autos to also remove user created
1091 automatics, as long as they start with AUTO.
1092 (verilog-batch-diff-auto, verilog-diff-auto)
1093 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1094 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1095 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1096 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1097 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1098 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1099 is disabled and its cache will get corrupt, causing AUTOS not to
1100 expand. Instead use only -quick functions.
1101 (verilog-scan-region): Fix scanning over escaped quotes.
1102 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1103 (verilog-re-search-backward-quick)
1104 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1105 related functions now ignore strings, to fix misparsing of strings
1106 with magic comments embedded in them.
a1beca85
SM
1107 (verilog-read-auto-template):
1108 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1109 Reported by Brad Dobbie.
1110 (verilog-read-auto-template):
1111 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1112 Reported by Brad Dobbie.
6288f0ca
WS
1113 (verilog-auto-inst, verilog-auto-inst-param)
1114 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1115 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1116 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1117 debugging templates without merge conflicts, bug357.
1118 Reported by Brad Dobbie.
1119 (verilog-read-auto-template):
1120 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1121 Reported by Brad Dobbie.
1122 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1123 abbrevs so user won't be asked to save.
1124 (verilog-read-auto-lisp-present): Fix to start at beginning of
1125 buffer in case called outside of verilog-auto.
1126 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1127 to "X-2". Reported by Matthew Myers.
1128 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1129 all inputs from module templates. Reported by Leith Johnson.
1130 (verilog-module-inside-filename-p): Fix locating programs as with
1131 modules.
1132 (verilog-auto-inst-port): Fix vl-width expressions when using
1133 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1134 (verilog-decls-get-regs, verilog-decls-get-signals,
1135 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1136 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1137 verilog-read-decls): Combine reg and wire structures into one var
1138 structure to represent SystemVerilog concepts.
1139 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1140 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1141 (verilog-auto-wire-type, verilog-insert-definition):
1142 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1143 SystemVerilog "logic" keyword instead of "wire"/"reg".
1144 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1145 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1146 ifdef or generate if so there's not a driver conflict).
1147 Reported by Matthew Myers.
1148 (verilog-auto-declare-nettype, verilog-insert-definition):
1149 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1150 `default_nettype none. Reported by Julian Gorfajn.
1151 (verilog-read-always-signals-recurse, verilog-read-decls)
1152 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1153 malformed end statement, bug325. Reported by Joshua Wise and
1154 Andrew Drake.
1155 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1156 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1157 when expanding .* in interfaces, bug320.
1158 Reported by Pierre-David Pfister.
6288f0ca 1159 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1160 name and open parenthesis, bug317.
1161 Reported by Pierre-David Pfister.
6288f0ca
WS
1162 (verilog-simplify-range-expression): Fix simplification of
1163 multiplications inside AUTOWIRE connections, bug303.
1164 (verilog-auto-inst-port): Support parameter expansion in
1165 multidimensional arrays.
1166 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1167 after "assert property". Reported by Julian Gorfajn.
1168 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1169 with multiplication, bug303.
1170 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1171 Reported by Jan Frode Lonnum.
1172
1bbe96b2
GM
11732011-11-30 Juanma Barranquero <lekktu@gmail.com>
1174
1175 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1176 (hfy-shell-file-name, hfy-shell):
1177 * international/fontset.el (x-decompose-font-name): Fix typos.
1178
11792011-11-29 Ken Brown <kbrown@cornell.edu>
1180
1181 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1182 (gdb-version): Remove defvar.
1183 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1184 (gdb-gud-context-command, gdb-non-stop-handler)
1185 (gdb-current-context-command, gdb-stopped): Use it.
1186 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1187 (gdb-non-stop-handler): Don't enable pretty-printing here.
1188 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1189 non-stop mode. Use the following.
1190 (gdb-check-target-async): New defun.
1191 (gud-watch, gdb-stopped): Fix whitespace.
1192 (gdb-get-source-file): Don't try to display the source file if
1193 `gdb-main-file' is nil.
1194
11952011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * align.el: Try to generate fewer markers (bug#10047).
1198 (align--set-marker): New macro.
1199 (align-region): Use it.
1200
c935221f
SM
12012011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1204
e70b5064
CY
12052011-11-29 Chong Yidong <cyd@gnu.org>
1206
1207 * indent.el (indent-for-tab-command, indent-according-to-mode):
1208 Doc fix.
1209 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1210
f3af92b7
MA
12112011-11-29 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1214 aware of remote file names. (Bug#10124)
1215
ed472be9
CY
12162011-11-29 Chong Yidong <cyd@gnu.org>
1217
1218 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1219
24510c22
SM
12202011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * files.el (find-file): Don't use force-same-window (bug#10144).
1223 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1224 use pop-to-buffer if the selected window can't be used.
1225 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1226
c60c3703
EZ
12272011-11-28 Eli Zaretskii <eliz@gnu.org>
1228
1229 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1230 special-mode-map.
1231
e95def75
CY
12322011-11-28 Chong Yidong <cyd@gnu.org>
1233
1234 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1235
c3f1c606
NR
12362011-11-27 Nick Roberts <nickrob@snap.net.nz>
1237
1238 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1239 gdb-get-source-file-list on gdb-create-source-file-list.
1240
00db469c
EZ
12412011-11-26 Eli Zaretskii <eliz@gnu.org>
1242
1243 * whitespace.el (whitespace-newline): Use a different foreground
1244 color for 16-color light-background displays.
1245
4ad3bc2a
CY
12462011-11-24 Chong Yidong <cyd@gnu.org>
1247
1248 * window.el (display-buffer--special-action): Doc fix.
1249
e9fce1ac
JB
12502011-11-25 Juanma Barranquero <lekktu@gmail.com>
1251
1252 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1253 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1254 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1255 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1256 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1257 (avl-tree-stack-first):
1258 * emacs-lisp/cconv.el (cconv--analyse-use):
1259 * net/gnutls.el (gnutls-negotiate): Fix typos.
1260
cb825e5d
GM
12612011-11-24 Glenn Morris <rgm@gnu.org>
1262
3adbe224
GM
1263 * lpr.el (lpr-windows-system, lpr-lp-system):
1264 * mail/binhex.el (binhex-begin-line):
1265 * progmodes/grep.el (grep-history, grep-find-history):
1266 * textmodes/flyspell.el:
1267 * vc/pcvs-defs.el (cvs-global-menu):
1268 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1269 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1270 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1271
321decc8
GM
1272 * net/tls.el: Fix case of "GnuTLS".
1273
420b63ad
GM
1274 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1275
cb825e5d
GM
1276 * version.el (emacs-build-system): Give it a doc-string.
1277
a0649f08
JL
12782011-11-24 Juri Linkov <juri@jurta.org>
1279
1280 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1281
c0bc0fd4
GM
12822011-11-24 Glenn Morris <rgm@gnu.org>
1283
1284 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1285 if called on a non-mime message just toggle the headers. (Bug#8006)
1286
20db1522
JB
12872011-11-24 Juanma Barranquero <lekktu@gmail.com>
1288
1289 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1290 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1291 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1292 (allout-rebullet-heading, allout-open-sibtopic)
1293 (allout-toggle-current-subtree-encryption)
1294 (allout-toggle-subtree-encryption, allout-encrypt-string)
1295 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1296 (allout-distinctive-bullets-string, allout-auto-activation):
1297 * window.el (window-normalize-buffer-to-display):
1298 * progmodes/verilog-mode.el (verilog-batch-indent):
1299 * textmodes/bibtex.el (bibtex-field-braces-opt)
1300 (bibtex-field-strings-opt):
1301 * vc/cvs-status.el (cvs-tree-merge):
1302 Fix typos.
1303
7262a87c
MA
13042011-11-23 Michael Albinus <michael.albinus@gmx.de>
1305
1306 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1307 `non-essential' to t, in order to avoid remote connections.
1308
283430a1
EZ
13092011-11-23 Eli Zaretskii <eliz@gnu.org>
1310
a1beca85
SM
1311 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1312 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1313 case-insensitively.
1314
d2992a38
ML
13152011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1316
1317 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1318
50419064
GM
13192011-11-23 Glenn Morris <rgm@gnu.org>
1320
da94eca1
GM
1321 * paths.el (rmail-file-name): Reformat the doc-string so that it
1322 is picked up.
1323
9aac4de2
GM
1324 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1325 (rmail-auto-file): Ignore case in the "special" field names,
1326 as mail-fetch-field does for all others.
1327
8038d2d2
GM
1328 * mail/rmail.el (rmail-forward):
1329 * mail/rmailkwd.el (rmail-set-label):
1330 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1331 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1332
f3fe222a
GM
1333 * mail/rmail.el (rmail-current-message): Doc fix.
1334
50419064
GM
1335 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1336
28109f49
SM
13372011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1340
394c65f1
GM
13412011-11-22 Glenn Morris <rgm@gnu.org>
1342
1343 * mail/rmailmm.el (test-rmail-mime-handler)
1344 (test-rmail-mime-bulk-handler)
1345 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1346
f2a0aa3a
JL
13472011-11-21 Juri Linkov <juri@jurta.org>
1348
1154d12e
JB
1349 * calc/calc.el (calc-read-key-sequence):
1350 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1351
9c34a344
LMI
13522011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1353
1354 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1355 Tell the caller that the next line needs recomputation, even
1356 though it doesn't start a sexp (bug#10094).
1357
f04a3be9
SM
13582011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1361
7978747f
SM
13622011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1363
f04a3be9
SM
1364 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1365 Use force-same-window.
7978747f 1366
fe7a3057
JB
13672011-11-20 Juanma Barranquero <lekktu@gmail.com>
1368
1369 * descr-text.el (describe-char-unicode-data):
1370 * json.el (json-string-escape):
1371 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1372 (Footnote-unicode, Footnote-style-p):
1373 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1374
24901d61
CY
13752011-11-20 Chong Yidong <cyd@gnu.org>
1376
1377 * window.el (replace-buffer-in-windows): Restore interactive spec.
1378
bac7ff22
SM
13792011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1380
24f3d7b9
SM
1381 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1382
bac7ff22
SM
1383 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1384 (byte-compile-global-not-obsolete-vars): New var.
1385 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1386 Use it.
1387 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1388
cd1181db
JB
13892011-11-20 Juanma Barranquero <lekktu@gmail.com>
1390
1391 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1392 * progmodes/pascal.el (electric-pascal-equal):
1393 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1394 * xml.el (xml-substitute-special): Fix typos.
1395
7fb18e9e
GM
13962011-11-20 Glenn Morris <rgm@gnu.org>
1397
1398 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1399 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1400 Doc fixes.
1401 (rmail-decode-mime-charset): Mark as obsolete.
1402
1403 * mail/rmailsum.el (rmail-message-regexp-p-1):
1404 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1405 Before using mime functions, check they are set. (Bug#10077)
1406
d5a6b3ba
JL
14072011-11-19 Juri Linkov <juri@jurta.org>
1408
1409 * info.el (Info-finder-find-node): Use `package--builtins' instead
1410 of `package-alist'. Use node names formed by the pattern "Keyword "
1411 and the keyword name.
1412
e981b61f
AS
14132011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1414
1d00653d 1415 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1416
3ffbc301
JL
14172011-11-19 Juri Linkov <juri@jurta.org>
1418
1419 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1420 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1421 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1422 `old-history', `old-history-forward'. Add let-binding
1423 `window-selected'. Remove calls to `kill-buffer',
1424 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1425 before calling `Info-find-node', so `Info-find-node-2' will reread
1426 the Info file. Restore window positions only when `window-selected'
1427 is non-nil.
1428
30c62133
JL
14292011-11-19 Juri Linkov <juri@jurta.org>
1430
1431 * isearch.el (isearch-lazy-highlight-new-loop):
1432 Remove condition `(not isearch-error)'. (Bug#9918)
1433
1434 * misearch.el (multi-isearch-search-fun): Add condition
1435 `(not bound)' to ignore lazy-highlighting search.
1436 Add the search-failed message "end of multi" when the end of
1437 multi-sequence is reached. Uncapitalize the search-failed
1438 message "Repeat for next buffer".
1439
1440 * info.el (Info-search): Add the search-failed message
1441 "end of the manual" when the end of the manual is reached
1442 in Isearch mode.
1443
645ca9cf
JL
14442011-11-19 Juri Linkov <juri@jurta.org>
1445
1446 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1447 Use non-destructive `remove' instead of `delete' because
1448 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1449 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1450
df754f66
JL
14512011-11-19 Juri Linkov <juri@jurta.org>
1452
1453 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1454 to nil instead of binding `search-ring' and `regexp-search-ring'.
1455 (Bug#9185)
1456
0e23d96a
EZ
14572011-11-19 Eli Zaretskii <eliz@gnu.org>
1458
1459 * simple.el (line-move): Force movement by logical lines for any
1460 hscrolled window, not only when auto-hscroll-mode is on.
1461 (line-move-visual): Update doc string to that effect. (Bug#10076)
1462
8a6ccb66
AS
14632011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1464
1465 * language/european.el (macintosh): Define as alias for mac-roman.
1466
49ae5b39
EZ
14672011-11-19 Eli Zaretskii <eliz@gnu.org>
1468
1469 * mail/rmailmm.el (rmail-mime-display-header)
1470 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1471 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1472 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1473 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1474 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1475 of a raw aref.
1476 (rmail-mime-entity-segment): To get past the tagline, move forward
1477 2 more lines, to account for the 2 empty lines that precede and
1478 follow the line with the buttons.
1479 (rmail-mime-update-tagline): Move one more line, to get past the
1480 empty line that follows the buttons in the tagline. (Bug#9520)
1481
c56cad4a
MR
14822011-11-19 Martin Rudalics <rudalics@gmx.at>
1483
1484 * window.el (window-max-delta-1, window-min-delta-1)
1485 (window-min-size-1, window-state-get-1, window-state-put-1)
1486 (window-state-put-2): Use "window--" prefix.
1487
cbe71af3
SM
14882011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1489
2ad52c60
SM
1490 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1491 (smie-warning-count): New var.
1492 (smie-set-prec2tab): Use it.
1493 (smie-bnf->prec2): Improve warnings. Add docstring.
1494 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1495 (smie-bnf--set-class): New function.
1496 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1497 corner case.
1498
6944dbc1
SM
1499 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1500 (compilation-error-properties, compilation-move-to-column):
1501 Handle compilation-first-column while in the target buffer.
1502
c400c4d7
SM
1503 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1504 Don't hardcode point-min==1.
1505
6dbe3e96
SM
1506 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1507 (eshell-rewrite-for-command): Remove workaround.
1508 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1509 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1510 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1511
cbe71af3
SM
1512 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1513
a8e1496d
GM
15142011-11-17 Glenn Morris <rgm@gnu.org>
1515
1516 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1517 Ignore buffer-local generated-autoload-file if it is the same
1518 as the global value. (Bug#10049)
1519
df85d315
JB
15202011-11-17 Juanma Barranquero <lekktu@gmail.com>
1521
1522 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1523 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1524 (reftex-toc-previous-heading, reftex-toc-max-level)
1525 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1526 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1527 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1528 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1529 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1530 (reftex-toc-rename-label, reftex-toc-visit-location)
1531 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1532 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1533 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1534 leaving "*toc*" only for references to the buffer.
1535
a0c2d0ae
MR
15362011-11-17 Martin Rudalics <rudalics@gmx.at>
1537
1538 * window.el (window-resize, delete-window, split-window):
1539 Replace window-splits by window-combination-resize.
1d00653d 1540 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1541
35c0bac8
GM
15422011-11-17 Glenn Morris <rgm@gnu.org>
1543
1544 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1545 Make bash entry derive from sh entry, not shell entry.
1546
d0c8fc8a
MA
15472011-11-16 Michael Albinus <michael.albinus@gmx.de>
1548
d0c8fc8a
MA
1549 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1550 properties of linked files. (Bug#9879)
1551
7262a87c
MA
1552 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1553 local file name.
1554
7877f373
JB
15552011-11-16 Juanma Barranquero <lekktu@gmail.com>
1556
1557 * menu-bar.el (menu-bar-file-menu):
1558 * printing.el (pr-ps-utility):
1559 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1560 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1561 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1562 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1563 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1564 (icalendar--convert-cyclic-to-ical)
1565 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1566 (icalendar--convert-ical-to-diary)
1567 (icalendar--convert-recurring-to-diary)
1568 (icalendar--convert-non-recurring-all-day-to-diary)
1569 (icalendar-import-format-sample):
1570 * progmodes/idlw-shell.el (idlwave-shell-mode):
1571 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1572 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1573 (vhdl-ps-print-init): Fix typos.
1574
10649b82
KM
15752011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1576
9d0cfcd6
GM
1577 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1578 FSF and collapse date sequence, obscure author/maintainer email address
1579 better, remove extra version line, track relocation of author's webpage.
10649b82 1580
9d0cfcd6
GM
1581 * progmodes/python.el (python-pdbtrack-input-prompt)
1582 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1583 regular python pdb prompts. Adjustments shamelessly taken exactly as
1584 suggested in EmacsWiki page (tiny change):
1585 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1586
58179cce
JB
15872011-11-16 Juanma Barranquero <lekktu@gmail.com>
1588
1589 * expand.el (expand-pos, expand-index, expand-point):
1590 Remove redundant info from docstring.
1591 (expand-add-abbrevs): Doc fix.
1592 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1593 (expand-sample-perl-mode-expand-list): Fix typos.
1594
1595 * net/dbus.el (dbus-event-member-name):
1596 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1597 * term/pc-win.el (msdos-create-frame-with-faces):
1598 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1599
b6f67890
MR
16002011-11-16 Martin Rudalics <rudalics@gmx.at>
1601
1602 * window.el (split-window, window-state-get-1)
1603 (window-state-put-1, window-state-put-2): Rename occurrences of
1604 window-nest to window-combination-limit.
1d00653d 1605 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1606
ce7ddba0
CY
16072011-11-16 Chong Yidong <cyd@gnu.org>
1608
1609 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1610 regexp (Bug#10033).
1611
3ae704f4
SM
16122011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1615 `completing-read' will remove *Completions* and will preserve
1616 current-buffer for us.
1617 (tmm-add-prompt): Users of *Completions* will always (re)set its
1618 major mode.
1619 (tmm-old-comp-map): Remove.
1620
6ad1cdde
GM
16212011-11-16 Glenn Morris <rgm@gnu.org>
1622
1623 * mail/rmailedit.el: Require rmailmm when compiling.
1624 (rmail-old-mime-state): New declaration.
1625 (rmail-edit-current-message): If editing a mime message,
1626 edit the "raw" message from the mbox buffer.
1627 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1628
d20faa20
GM
16292011-11-15 Glenn Morris <rgm@gnu.org>
1630
1631 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1632 which wasn't being used. Add optional arg to force given state.
1633 (rmail-mime): Add optional arg to force given state.
1634
c7015153
JB
16352011-11-15 Juanma Barranquero <lekktu@gmail.com>
1636
1637 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1638 * frame.el (display-mm-dimensions-alist):
1639 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1640 (outline-move-subtree-down):
1641 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1642 (newsticker--treeview-do-get-node):
1643 * net/quickurl.el (quickurl-list-buffer-name):
1644 * progmodes/dcl-mode.el (dcl-mode):
1645 * progmodes/gdb-mi.el (gdb-mapcar*):
1646 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1647
45261b50
GM
16482011-11-15 Glenn Morris <rgm@gnu.org>
1649
1650 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1651 in a boolean sense, so just make it a boolean, and fix the doc.
1652 (rmail-show-mime-function, rmail-mime-feature)
1653 (rmail-require-mime-maybe): Doc fixes.
1654 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1655
1656 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1657
0d26e0b6
JB
16582011-11-15 Juanma Barranquero <lekktu@gmail.com>
1659
1660 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1661 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1662 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1663 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1664
447f30f6
GM
16652011-11-15 Glenn Morris <rgm@gnu.org>
1666
672b871d
GM
1667 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1668 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1669 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1670 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1671 (rmail-mime, rmail-show-mime): Doc fixes.
1672
f6aa5bb1
GM
1673 * term/ns-win.el (mode-line-frame-identification):
1674 Leave it alone. (Bug#10051)
1675
947cd66b
GM
1676 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1677
447f30f6
GM
1678 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1679 Handle empty buffers. (Bug#9978)
1680
0b381c7e
JB
16812011-11-14 Juanma Barranquero <lekktu@gmail.com>
1682
1683 * international/mule.el (define-charset):
1684 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1685 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1686 * progmodes/verilog-mode.el (verilog-backward-token):
1687 * textmodes/ispell.el (lookup-words):
1688 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1689
71e027ac
GM
16902011-11-14 Glenn Morris <rgm@gnu.org>
1691
56632ce4
GM
1692 * progmodes/executable.el
1693 (executable-make-buffer-file-executable-if-script-p):
1694 Handle file-modes returning nil.
1695
40500957
GM
1696 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1697 message - not necessary, and causes problems. (Bug#9831)
1698
071c2340
GM
1699 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1700
d3cfca60
GM
1701 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1702
71e027ac
GM
1703 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1704 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1705 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1706
89d61221
MR
17072011-11-12 Martin Rudalics <rudalics@gmx.at>
1708
1709 * window.el (window-resize, delete-window): Use window-splits
1710 variable instead of function.
1711 (window-state-get-1, window-state-put-2, window-state-put):
1712 Don't deal with windows' splits status.
1713
98282f6f
GM
17142011-11-12 Glenn Morris <rgm@gnu.org>
1715
1716 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1717 (apropos-documentation): Doc fixes.
1718
40a8bdf6
JB
17192011-11-11 Juanma Barranquero <lekktu@gmail.com>
1720
1721 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1722 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1723
65bd19ff
SM
17242011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * electric.el (electric-indent-post-self-insert-function): Make it
1727 possible for a char to only indent in some circumstances.
1728 (electric-indent-mode): Simplify.
1729
54f9154c
MR
17302011-11-11 Martin Rudalics <rudalics@gmx.at>
1731
1732 * window.el (windows-with-parameter): Remove unused function.
1733 (windows-at-side): Rename to window-at-side-list.
1734 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1735 (window-side-check, window-size-ignore, window-size-fixed-1)
1736 (window-in-direction-2): Prefix with "window--".
1737 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1738
68cbc58b
GM
17392011-11-11 Glenn Morris <rgm@gnu.org>
1740
1741 * subr.el (eval-after-load): If FILE is already loaded,
1742 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1743
b2621720
GM
17442011-11-10 Glenn Morris <rgm@gnu.org>
1745
9a4de110
GM
1746 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1747 Call svn via vc-svn-command rather than vc-do-command.
1748 (vc-svn-command): Add --non-interactive. (Bug#9993)
1749 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1750
b2621720
GM
1751 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1752 Add toggle-read-only. (Bug#7292)
1753 * files.el (toggle-read-only): Mention that it should only
1754 be used interactively. (Bug#10006)
1755
1dce7193
SM
17562011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1757
d9ac1a1e
SM
1758 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1759 Adjust regexp for OCaml warnings.
1760
0c325082
SM
1761 * electric.el (electric-pair-post-self-insert-function): Let user
1762 turn it off buffer-locally (bug#9932).
1763
90132c14
SM
1764 * progmodes/python.el (python-beginning-of-statement):
1765 Rewrite (bug#2703).
1766
1dce7193
SM
1767 * progmodes/compile.el: Better handle TABs (bug#9749).
1768 (compilation-internal-error-properties)
1769 (compilation-next-error-function): Obey the target buffer's
1770 compilation-error-screen-columns.
1771
c4e7c63a
JB
17722011-11-09 Juanma Barranquero <lekktu@gmail.com>
1773
1774 * progmodes/meta-mode.el: Remove obsolete comments.
1775 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1776 Fix typos in docstrings.
1777
2cffd681
MR
17782011-11-09 Martin Rudalics <rudalics@gmx.at>
1779
1780 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1781 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1782 (window--resizable): New function. Make all callers of
1783 window-resizable call window--resizable instead.
1784 (window-resizable): Rewrite in terms of window--resizable.
1785
0edcba87
GM
17862011-11-08 Glenn Morris <rgm@gnu.org>
1787
1788 * progmodes/delphi.el (delphi-mode-syntax-table):
1789 Let define-derived-mode define a proper syntax table. (Bug#9994)
1790
4b0d61e3
SM
17912011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * window.el: Stay away from defsubst.
1794 (window-list-no-nils): Remove.
1795 (window-state-get-1, window-state-get): Use backquote instead.
1796
cd394be1 17972011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1798
4b0d61e3 1799 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1800 Fix incorrect use of default argument in `completing-read'.
1801
e1c2c6f2
MR
18022011-11-08 Martin Rudalics <rudalics@gmx.at>
1803
1804 * window.el (display-buffer-function, special-display-function):
1805 Mention display-buffer-record-window but do not mention
1806 help-setup parameter in doc-strings.
b3f4a882 1807 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1808
105216ed
CY
18092011-11-08 Chong Yidong <cyd@gnu.org>
1810
1811 * window.el (window-total-height, window-total-width): Doc fix.
1812 (window-body-size): Move from C.
1813 (window-body-height, window-body-width): Move to C.
1814
0a9f9ab5
SM
18152011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * window.el: Make special-display like display-buffer-alist (bug#9532).
1818 (display-buffer--special-action): New function, morphed
1819 from display-buffer--special.
1820 (display-buffer): Use it to handle special-display-buffers at higher
1821 priority (just after display-buffer-alist).
1822 (display-buffer-fallback-action, display-buffer--other-frame-action)
1823 (pop-to-buffer-same-window): Remove display-buffer--special.
1824
a769dd15
GM
18252011-11-07 Glenn Morris <rgm@gnu.org>
1826
1827 * calendar/cal-menu.el (cal-menu-set-date-title):
1828 Do nothing if not in a calendar. (Bug#9976)
1829
05a61ee3
SM
18302011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 * files.el (find-file): Always use selected-window.
1833
be7f5545
MR
18342011-11-07 Martin Rudalics <rudalics@gmx.at>
1835
1836 * window.el (window-combinations): Make WINDOW argument
1837 mandatory. Rewrite doc-string.
1838 (walk-window-subtree, window-atom-check, window-min-delta)
1839 (window-max-delta, window--resize-this-window)
1840 (window--resize-root-window-vertically, window-tree)
1841 (balance-windows, window-state-put): Rewrite doc-strings as to
1842 not mention the term "subwindow".
1843 (window--resize-subwindows-skip-p): Rename to
1844 window--resize-child-windows-skip-p.
1845 (window--resize-subwindows-normal): Rename to
1846 window--resize-child-windows-normal.
1847 (window--resize-subwindows): Rename to
1848 window--resize-child-windows.
1849 (window-or-subwindow-p): Rename to window--in-subtree-p.
1850
3c6702ef
ML
18512011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1852
1853 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1854 Ensure that mbox format messages end in two newlines (Bug#9974).
1855
49745b39
CY
18562011-11-06 Chong Yidong <cyd@gnu.org>
1857
1858 * window.el (window-combination-p): Function deleted; its
1859 side-effect is not used in any existing code.
1860 (window-combinations, window-combined-p): Call window-*-child
1861 directly.
1862
24300f5f
CY
18632011-11-05 Chong Yidong <cyd@gnu.org>
1864
1865 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1866 (window-size-ignore, window-state-get): Callers changed.
1867 (window-normalize-window): Rename from window-normalize-any-window.
1868 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1869 (window-normalize-live-window): Delete.
447f16b8
CY
1870 (window-combination-p, window-combined-p, window-combinations)
1871 (walk-window-subtree, window-atom-root, window-min-size)
1872 (window-sizable, window-sizable-p, window-size-fixed-p)
1873 (window-min-delta, window-max-delta, window-resizable)
1874 (window-resizable-p, window-full-height-p, window-full-width-p)
1875 (window-current-scroll-bars, window-point-1, set-window-point-1)
1876 (window-at-side-p, window-in-direction, window-resize)
1877 (adjust-window-trailing-edge, maximize-window, minimize-window)
1878 (window-deletable-p, delete-window, delete-other-windows)
1879 (record-window-buffer, unrecord-window-buffer)
1880 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1881 (quit-window, split-window, window-state-put)
1882 (set-window-text-height, fit-window-to-buffer)
1883 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1884
89bd5ee1
EZ
18852011-11-04 Eli Zaretskii <eliz@gnu.org>
1886
53479029
EZ
1887 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1888 rfc2047-decode-string.
1889 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1890 warnings.
1891
89bd5ee1
EZ
1892 * window.el (window-body-height, window-body-width): Mention in
1893 the doc string that the return values are in frame's canonical
1894 units. (Bug#9949)
1895
bd17fdee
AM
18962011-11-03 Alan Mackenzie <acm@muc.de>
1897
1898 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1899 change in cc-engine.el.
1900
acc825c5
SM
19012011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1904
1885e5b8
MR
19052011-11-02 Martin Rudalics <rudalics@gmx.at>
1906
1907 * window.el (quit-window): Call unrecord-window-buffer after
1908 showing another buffer in the window. (Bug#9937)
acc825c5 1909 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1910
ebe06da9
JB
19112011-11-02 Juanma Barranquero <lekktu@gmail.com>
1912
1913 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1914 Accept status with more than 9 shelves. (Bug#9935)
1915 Reported by Colin D Bennett <colin@gibibit.com>.
1916
4ee88440
MR
19172011-11-01 Martin Rudalics <rudalics@gmx.at>
1918
1919 * help.el (with-help-window): Don't reference
1920 temp-buffer-show-specifiers in doc-string.
1921
08e1d82c
AS
19222011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1923
1924 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1925 menu-item.
1926
84bd6e9e
VJL
19272011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1928
1929 * whitespace.el: New version 13.2.2.
1930 (whitespace-newline-mode): Disable properly. Reported by Sarah
1931 <EmacsWiki>.
1932
dba0634a
UJ
19332011-10-30 Ulf Jasper <ulf.jasper@web.de>
1934
1935 * net/newst-treeview.el: Remove "Time-stamp".
1936 (newsticker--group-manage-orphan-feeds): Do not call
1937 newsticker--treeview-tree-update.
db22a3c2
JB
1938 (newsticker-treeview-update, newsticker-treeview):
1939 Call newsticker--treeview-tree-update if necessary.
dba0634a 1940
3d8daefe
MR
19412011-10-30 Martin Rudalics <rudalics@gmx.at>
1942
1943 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1944 (window-iso-combinations): Remove "iso-" infix.
1945 Suggested by Chong Yidong.
3d8daefe
MR
1946 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1947 (window-max-delta-1, window-resize, window--resize-siblings)
1948 (window--resize-this-window, adjust-window-trailing-edge)
1949 (split-window, balance-windows-1)
1950 (shrink-window-if-larger-than-buffer):
1951 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1952 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1953
1bc4c3ae
SM
19542011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1957 in place (bug#9907).
1958 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1959 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1960 (eshell-structure-basic-command, eshell-rewrite-while-command)
1961 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1962 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1963 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1964 (eshell-do-pipelines-synchronously, eshell-eval-command):
1965 Use backquotes and prefer setq to set.
1966 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1967 (eshell-macrop): Use functionp.
c1e2f5fa 1968 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1969
30b65d9c
CY
19702011-10-30 Chong Yidong <cyd@gnu.org>
1971
1972 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1973 instead of set-mark (Bug#9810).
1974
2d197ffb
CY
19752011-10-30 Chong Yidong <cyd@gnu.org>
1976
1977 * window.el (split-window-below, split-window-right): Rename from
1978 split-window-above-each-other and split-window-side-by-side
1979 respectively. All callers changed.
1980 (split-window-sensibly, split-window-sensibly): Use them.
1981 (split-window-keep-point): Doc fix.
1982
1983 * isearch.el: Add isearch-scroll property to split-window-below
1984 and split-window-right.
1985
1986 * follow.el (follow-mode):
1987 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1988 * progmodes/ada-xref.el (ada-gdb-application):
1989 * emulation/vip.el (vip-buffer-in-two-windows):
1990 * image-dired.el (image-dired-dired-with-window-configuration):
1991 * dired-x.el (dired-do-find-marked-files):
1992 * dired.el (dired-pop-to-buffer):
1993 * bs.el (bs--show-with-configuration):
1994 * vc/emerge.el (emerge-setup-windows):
1995 * textmodes/two-column.el (2C-two-columns):
1996 * textmodes/reftex-toc.el (reftex-toc):
1997 * progmodes/gdb-mi.el (gdb-setup-windows):
1998 * progmodes/fortran.el (fortran-window-create):
1999 * net/newst-treeview.el (newsticker--treeview-window-init):
2000 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2001 * emulation/tpu-edt.el (tpu-gold-map):
2002 * emulation/crisp.el (crisp-mode-map):
2003 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2004
38bb2ca8
CY
20052011-10-29 Chong Yidong <cyd@gnu.org>
2006
aa4de341
CY
2007 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2008
e1eb5385
CY
2009 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2010
5d2ece3c
CY
2011 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2012 forged Ispell output (Bug#7904).
2013
38bb2ca8
CY
2014 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2015
d0af9f77
SM
20162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * doc-view.el: Avoid ugly errors about not finding nil.
2019 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2020 (doc-view-dvipdf-program, doc-view-unoconv-program)
2021 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2022 Avoid nil or absolute file name as default value.
2023 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2024
52bedd34
AM
20252011-10-28 Alan Mackenzie <acm@muc.de>
2026
db22a3c2 2027 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2028
7e43cfa5
AM
20292011-10-28 Alan Mackenzie <acm@muc.de>
2030
2031 Amend the handling of c-beginning/end-of-defun in nested declaration
2032 scopes.
2033
52bedd34
AM
2034 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2035 cc-langs.el. Change it to a defcustom.
7e43cfa5 2036
52bedd34
AM
2037 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2038 cc-vars.el.
7e43cfa5 2039
d0af9f77
SM
2040 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2041 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2042
52bedd34 2043 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2044 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2045 (c-widen-to-enclosing-decl-scope): New function.
2046 (c-while-widening-to-decl-block): New macro.
2047 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2048 outward for defun boundaries, and correspondingly change symbol
2049 `respect-enclosure' to `go-outward'.
2050 (c-declaration-limits): Change algorithm to report only the "innermost"
2051 defun's boundaries.
2052
1a2ce9ee
DD
20532011-10-28 Deniz Dogan <deniz@dogan.se>
2054
2055 * net/rcirc.el (rcirc-mode): Use hard newlines.
2056
bc97a826
AM
20572011-10-28 Alan Mackenzie <acm@muc.de>
2058
2059 Amend to indent and fontify macros "which include their own semicolon"
2060 correctly, using the "virtual semicolon" mechanism.
2061
52bedd34 2062 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2063
d0af9f77 2064 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2065 Recode to scan one line at a time rather than having \n and \r
58179cce 2066 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2067 (c-forward-label): Amend for virtual semicolons.
58179cce 2068 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2069
52bedd34
AM
2070 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2071 of the new C macros.
bc97a826 2072
52bedd34 2073 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2074 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2075 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2076 (c-opt-cpp-macro-define): Make into a full language variable.
2077 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2078 AWK Mode (including \n, \r) removed, no longer needed.
2079
d0af9f77
SM
2080 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2081 Invoke c-make-macro-with-semi-re.
bc97a826 2082
52bedd34
AM
2083 * progmodes/cc-vars.el (c-macro-with-semi-re):
2084 (c-macro-names-with-semicolon): New variables.
58179cce 2085 (c-make-macro-with-semi-re): New function.
bc97a826 2086
7a6c0941
SM
20872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * vc/log-edit.el: Fill empty field rather than adding new one.
2090 (log-edit-add-field): New function.
2091 (log-edit-insert-changelog): Use it.
2092
b0c4cdcf
ML
20932011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2094
2095 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2096
ee1f1da9
SM
20972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2100 (gdb--check-interpreter): New function.
2101 (gdb): Use it.
2102
51bc5f8b
GM
21032011-10-27 Glenn Morris <rgm@gnu.org>
2104
416a2c45
GM
2105 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2106 (least-positive-float, least-negative-float)
2107 (least-positive-normalized-float, least-negative-normalized-float)
2108 (float-epsilon, float-negative-epsilon):
2109 Remove unnecessary declarations.
2110
2111 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2112 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2113 (least-positive-float, least-negative-float)
2114 (least-positive-normalized-float, least-negative-normalized-float)
2115 (float-epsilon, float-negative-epsilon): Add doc-strings,
2116 based on those in cl.texi.
2117
51bc5f8b
GM
2118 * files.el (set-visited-file-name): If the major-mode changed,
2119 reload the local variables. (Bug#9796)
2120
15de15c6
CY
21212011-10-27 Chong Yidong <cyd@gnu.org>
2122
2123 * subr.el (change-major-mode-after-body-hook): New hook.
2124 (run-mode-hooks): Run it.
2125
ee1f1da9
SM
2126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2127 Use change-major-mode-before-body-hook.
15de15c6
CY
2128
2129 * simple.el (fundamental-mode):
2130 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2131 change introducing fundamental-mode-hook.
2132
5430d399
JB
21332011-10-26 Juanma Barranquero <lekktu@gmail.com>
2134
acc825c5 2135 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2136
ad74a69e
MA
21372011-10-26 Michael Albinus <michael.albinus@gmx.de>
2138
2139 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2140 tramp.el explicitly. (Bug#7583)
ad74a69e 2141
71d4c2a5
SM
21422011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * progmodes/octave-mod.el:
2145 * progmodes/octave-inf.el: Update maintainer.
2146
b1f6fa26
CY
21472011-10-26 Chong Yidong <cyd@gnu.org>
2148
2149 * subr.el (with-wrapper-hook): Rewrite doc.
2150
3f04efd6
MA
21512011-10-25 Michael Albinus <michael.albinus@gmx.de>
2152
2153 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2154 filenames "/method:foo:". (Bug#9793)
3f04efd6 2155
410488d3
SM
21562011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2159 (bug#9865).
2160
c1ebb47e
GM
21612011-10-24 Glenn Morris <rgm@gnu.org>
2162
2163 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2164
7f5c46c7
MA
21652011-10-24 Michael Albinus <michael.albinus@gmx.de>
2166
2167 * notifications.el: Add the requirement of a running D-Bus session
2168 bus to the Commentary.
2169
db2440b6
JL
21702011-10-24 Juri Linkov <juri@jurta.org>
2171
2172 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2173 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2174 (Bug#9364)
2175
feecf435
JL
21762011-10-24 Juri Linkov <juri@jurta.org>
2177
2178 * info.el (Info-following-node-name-re): Add newline to the list
2179 of allowed characters for leading space. (Bug#9824)
2180
a3839de2
SM
21812011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2182
acc825c5
SM
2183 * progmodes/octave-inf.el (inferior-octave-mode-map):
2184 Fix C-c C-h binding.
a3839de2
SM
2185 * progmodes/octave-mod.el (octave-help): Remove.
2186
09388e76
MA
21872011-10-23 Michael Albinus <michael.albinus@gmx.de>
2188
2189 Sync with Tramp 2.2.3.
2190
2191 * net/tramp-cache.el (top): Pacify byte-compiler using
2192 `init-file-user' and `site-run-file'.
2193
2194 * net/trampver.el: Update release number.
2195
86c60681
CY
21962011-10-23 Chong Yidong <cyd@gnu.org>
2197
2198 * files.el (toggle-read-only): Remove obsolete comment about
2199 version control.
2200
2201 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2202 for toggle-read-only. Note that this hasn't called vc-next-action
2203 since 2008-05-02, though it wasn't documented at the time.
2204
a3839de2
SM
2205 * vc/ediff-init.el (ediff-toggle-read-only-function):
2206 Use toggle-read-only.
86c60681 2207
cd5495ff
AM
22082011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2209
2210 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2211 of c-parse-state.
2212
00b77525 2213 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2214 correct faulty logical expression.
cd5495ff
AM
2215 (c-parse-state-state, c-record-parse-state-state):
2216 (c-replay-parse-state-state): New defvar/defuns.
2217 (c-debug-parse-state): Use new functions.
2218
42ee24ed
MR
22192011-10-22 Martin Rudalics <rudalics@gmx.at>
2220
2221 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2222 last fix. Use window-in-direction correctly.
42ee24ed 2223
a7dee7e7
CY
22242011-10-21 Chong Yidong <cyd@gnu.org>
2225
2226 * progmodes/idlwave.el (idlwave-mode):
2227 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2228 require-final-newline; that's done in prog-mode.
2229 Suggested by Stefan Monnier.
a7dee7e7 2230
e07b9a6d
MR
22312011-10-21 Martin Rudalics <rudalics@gmx.at>
2232
2233 * mouse.el (mouse-drag-window-above)
2234 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2235 (mouse-drag-mode-line-1, mouse-drag-header-line)
2236 (mouse-drag-vertical-line-rightward-window): Remove.
2237 (mouse-drag-line): New function.
2238 (mouse-drag-mode-line, mouse-drag-header-line)
2239 (mouse-drag-vertical-line): Call mouse-drag-line.
2240 * window.el (window-at-side-p, windows-at-side): New functions.
2241
7e1361d9
UM
22422011-10-21 Ulrich Mueller <ulm@gentoo.org>
2243
2244 * tar-mode.el (tar-grind-file-mode):
2245 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2246
30fcaf3a
CY
22472011-10-21 Chong Yidong <cyd@gnu.org>
2248
2249 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2250 * progmodes/vera-mode.el (vera-mode):
2251 Use mode-require-final-newline.
30fcaf3a 2252
516eddb0
GM
22532011-10-20 Glenn Morris <rgm@gnu.org>
2254
db22a3c2 2255 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2256
10d5f513
CS
22572011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2258
2259 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2260
ac6c8639
CY
22612011-10-20 Chong Yidong <cyd@gnu.org>
2262
2263 * emulation/cua-base.el (cua-mode):
2264 * mail/footnote.el (footnote-mode):
2265 * mail/mailabbrev.el (mail-abbrevs-mode):
2266 * net/xesam.el (xesam-minor-mode):
2267 * progmodes/bug-reference.el (bug-reference-mode):
2268 * progmodes/cap-words.el (capitalized-words-mode):
2269 * progmodes/compile.el (compilation-minor-mode)
2270 (compilation-shell-minor-mode):
2271 * progmodes/gud.el (gud-tooltip-mode):
2272 * progmodes/hideif.el (hide-ifdef-mode):
2273 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2274 * progmodes/subword.el (subword-mode):
2275 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2276 * progmodes/which-func.el (which-function-mode):
2277 * term/tvi970.el (tvi970-set-keypad-mode):
2278 * term/vt100.el (vt100-wide-mode):
2279 * textmodes/flyspell.el (flyspell-mode):
2280 * textmodes/ispell.el (ispell-minor-mode):
2281 * textmodes/nroff-mode.el (nroff-electric-mode):
2282 * textmodes/paragraphs.el (use-hard-newlines):
2283 * textmodes/refill.el (refill-mode):
2284 * textmodes/reftex.el (reftex-mode):
2285 * textmodes/rst.el (rst-minor-mode):
2286 * textmodes/sgml-mode.el (html-autoview-mode)
2287 (sgml-electric-tag-pair-mode):
2288 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2289 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2290 * emulation/crisp.el (crisp-mode):
2291 * emacs-lisp/eldoc.el (eldoc-mode):
2292 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2293 minor mode behavior.
2294
aa42ab43
JL
22952011-10-19 Juri Linkov <juri@jurta.org>
2296
2297 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2298 the list of hard-coded chars with escape-glyph face.
2299
89400f1d
SM
23002011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2303
305c07f6
MA
23042011-10-19 Michael Albinus <michael.albinus@gmx.de>
2305
2306 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2307 running process.
2308
13754b54
GM
23092011-10-19 Glenn Morris <rgm@gnu.org>
2310
2311 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2312 Ignore ignored files. (Bug#9726)
2313
06e21633
CY
23142011-10-19 Chong Yidong <cyd@gnu.org>
2315
2316 Doc fix for minor modes, stating that an omitted argument enables
2317 the mode unconditionally when called from Lisp.
2318
2319 * abbrev.el (abbrev-mode):
2320 * allout.el (allout-mode):
2321 * autoinsert.el (auto-insert-mode):
2322 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2323 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2324 (global-auto-revert-mode):
2325 * battery.el (display-battery-mode):
2326 * composite.el (global-auto-composition-mode)
2327 (auto-composition-mode):
2328 * delsel.el (delete-selection-mode):
2329 * desktop.el (desktop-save-mode):
2330 * dired-x.el (dired-omit-mode):
2331 * dirtrack.el (dirtrack-mode):
2332 * doc-view.el (doc-view-minor-mode):
2333 * double.el (double-mode):
2334 * electric.el (electric-indent-mode, electric-pair-mode):
2335 * emacs-lock.el (emacs-lock-mode):
2336 * epa-hook.el (auto-encryption-mode):
2337 * follow.el (follow-mode):
2338 * font-core.el (font-lock-mode):
2339 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2340 * help.el (temp-buffer-resize-mode):
2341 * hilit-chg.el (highlight-changes-mode)
2342 (highlight-changes-visible-mode):
2343 * hi-lock.el (hi-lock-mode):
2344 * hl-line.el (hl-line-mode, global-hl-line-mode):
2345 * icomplete.el (icomplete-mode):
2346 * ido.el (ido-everywhere):
2347 * image-file.el (auto-image-file-mode):
2348 * image-mode.el (image-minor-mode):
2349 * iswitchb.el (iswitchb-mode):
2350 * jka-cmpr-hook.el (auto-compression-mode):
2351 * linum.el (linum-mode):
2352 * longlines.el (longlines-mode):
2353 * master.el (master-mode):
2354 * mb-depth.el (minibuffer-depth-indicate-mode):
2355 * menu-bar.el (menu-bar-mode):
2356 * minibuf-eldef.el (minibuffer-electric-default-mode):
2357 * mouse-sel.el (mouse-sel-mode):
2358 * msb.el (msb-mode):
2359 * mwheel.el (mouse-wheel-mode):
2360 * outline.el (outline-minor-mode):
2361 * paren.el (show-paren-mode):
2362 * recentf.el (recentf-mode):
2363 * reveal.el (reveal-mode, global-reveal-mode):
2364 * rfn-eshadow.el (file-name-shadow-mode):
2365 * ruler-mode.el (ruler-mode):
2366 * savehist.el (savehist-mode):
2367 * scroll-all.el (scroll-all-mode):
2368 * scroll-bar.el (scroll-bar-mode):
2369 * server.el (server-mode):
2370 * shell.el (shell-dirtrack-mode):
2371 * simple.el (auto-fill-mode, transient-mark-mode)
2372 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2373 (line-number-mode, column-number-mode, size-indication-mode)
2374 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2375 * strokes.el (strokes-mode):
2376 * time.el (display-time-mode):
2377 * t-mouse.el (gpm-mouse-mode):
2378 * tool-bar.el (tool-bar-mode):
2379 * tooltip.el (tooltip-mode):
2380 * type-break.el (type-break-mode-line-message-mode)
2381 (type-break-query-mode):
2382 * view.el (view-mode):
2383 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2384 (global-whitespace-mode, global-whitespace-newline-mode):
2385 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2386
a3839de2
SM
2387 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2388 Fix autogenerated docstring.
06e21633 2389
5214e501
JL
23902011-10-19 Juri Linkov <juri@jurta.org>
2391
2392 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2393 by checking environment variables "DESKTOP_SESSION" and
2394 "XDG_CURRENT_DESKTOP". (Bug#9779)
2395
195f8db9
JL
23962011-10-19 Juri Linkov <juri@jurta.org>
2397
2398 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2399 (browse-url-chromium-program, browse-url-chromium-arguments):
2400 New defcustoms.
2401 (browse-url-default-browser): Check for `browse-url-chromium' and
2402 call `browse-url-chromium-program'.
2403 (browse-url-chromium): New command. (Bug#9779)
2404
343a34ff
JB
24052011-10-18 Juanma Barranquero <lekktu@gmail.com>
2406
2407 * facemenu.el (list-colors-duplicates): On Windows, detect more
2408 duplicates by assuming that only colors matching "^System" are
2409 special "system colors". (Bug#9722)
2410
6978a151
SM
24112011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2414 to distinguish the author from the committer.
2415
6a80b297
MA
24162011-10-18 Michael Albinus <michael.albinus@gmx.de>
2417
2418 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2419
b31a5677
JK
24202011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2421
2422 * international/mule.el (sgml-html-meta-auto-coding-function):
2423 Add support for detecting encoding in HTML5 specified only as
2424 <meta charset="UTF-8">. Implementation just makes http-equiv and
2425 content-type parts from HTML4 encoding string optional. (Bug#9716)
2426
80c6d77f
GM
24272011-10-18 Glenn Morris <rgm@gnu.org>
2428
2429 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2430
08b0fee8
CY
24312011-10-18 Chong Yidong <cyd@gnu.org>
2432
2433 * faces.el (cursor): Doc fix.
2434
67e729a5
CY
24352011-10-17 Chong Yidong <cyd@gnu.org>
2436
2437 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2438
343a34ff 24392011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2440
2441 * dirtrack.el (dirtrack): Support shell buffers with path
2442 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2443
0bc06380
TZ
24442011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2445
2446 * json.el: Bump version to 1.3 and note change in History.
2447 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2448
8b79f3e0
SM
24492011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2450
5a7c536b
SM
2451 * comint.el (comint-insert-input, comint-send-input)
2452 (comint-get-old-input-default, comint-backward-matching-input)
2453 (comint-next-prompt): Use nil instead of `input' for field property of
2454 past user input (bug#114).
2455
96a8a0df
SM
2456 * minibuffer.el (completion--replace): Inherit surrounding properties
2457 (bug#114).
2458 (minibuffer-complete-and-exit): Use it.
2459
8b79f3e0
SM
2460 * comint.el (comint--table-subvert): Quote the all-completions output
2461 (bug#9160).
2462
b8f7ff0d
MR
24632011-10-17 Martin Rudalics <rudalics@gmx.at>
2464
8b79f3e0 2465 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2466
b8f7ff0d 2467 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2468 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2469 entries and separate them from frame entries.
2470
c235b555
GM
24712011-10-15 Glenn Morris <rgm@gnu.org>
2472
2473 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2474 Doc fixes.
2475
6bbfa6e1
CY
24762011-10-15 Chong Yidong <cyd@stupidchicken.com>
2477
8b79f3e0
SM
2478 * net/network-stream.el (network-stream-open-starttls):
2479 Improve detection of failure due to lack of TLS support.
ec5c990d 2480
6bbfa6e1
CY
2481 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2482 putting the input text in front and in bold.
2483
98488977
SM
24842011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2485
3d1337be
SM
2486 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2487
ee0b45e4
SM
2488 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2489 empty buffer.
2490
98488977
SM
2491 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2492 unread-command-events rather than pushing yet-another event.
2493
186f4720
EZ
24942011-10-14 Eli Zaretskii <eliz@gnu.org>
2495
2496 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2497 the explanation of the possible choices. Make the options passed
2498 to completing-read shorter.
2499
8b7a997c
AM
25002011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2501
2502 * textmodes/flyspell.el (flyspell-large-region): Make sure
2503 extended character mode is used if defined (Bug#1339).
2504
12587bbb
EZ
25052011-10-13 Eli Zaretskii <eliz@gnu.org>
2506
2507 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2508 character info for LRE, LRO, RLE, and RLO characters by appending
2509 an invisible PDF.
12587bbb 2510
bad41229
SM
25112011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2514 even in case of error; add debug spec; simplify data flow.
2515 (with-timeout-handler): Remove.
2516
28dbc92f
MA
25172011-10-12 Michael Albinus <michael.albinus@gmx.de>
2518
2519 Fix Bug#6019, Bug#9315.
2520
2521 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2522 complete `buffer-file-name', the local file name part could look
2523 remotely (for example on VMS).
2524
2525 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2526 `tramp-run-real-handler'.
2527 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2528 already quoted by '"'.
2529
2530 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2531 Let `file-name-handler-alist' be nil, the local file name part
2532 could look remotely (for example on VMS).
2533
e1b0b23a
SM
25342011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2537 from here...
2538 (flyspell-post-command-hook): ...to here.
2539
a120bde9
SM
25402011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2543 if not needed.
2544 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2545 using completion. Protect against "slow" callers.
2546 Remove the "message hack".
2547
7ce7717b
JL
25482011-10-11 Juri Linkov <juri@jurta.org>
2549
2550 * isearch.el (isearch-lazy-highlight-word): New variable.
2551 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2552 Use it. (Bug#9727)
2553
c02ee9d6
GM
25542011-10-11 Glenn Morris <rgm@gnu.org>
2555
2556 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2557 like f90-previous-statement does.
2558
93e616fd 25592011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2560
1f190e73 2561 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2562 only in interactive use, to avoid error.
2563
af7b6078
SM
25642011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * minibuffer.el (completion-file-name-table): Fix last change,
2567 i.e. ignore normal errors but not the other ones.
2568
0563dae9
MR
25692011-10-10 Martin Rudalics <rudalics@gmx.at>
2570
2571 * window.el (special-display-buffer-names)
2572 (special-display-regexps): Remove some remnants of earlier
2573 changes from doc-strings.
366ca7f3
MR
2574 (quit-windows-on): New function.
2575
2576 * vc/vc.el (vc-revert, vc-rollback):
2577 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2578 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2579 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2580
49677495
MR
25812011-10-09 Martin Rudalics <rudalics@gmx.at>
2582
2583 * window.el (frame-auto-hide-function): Add version tag.
2584 (Bug#9699)
2585
56f2d1e1
MA
25862011-10-09 Michael Albinus <michael.albinus@gmx.de>
2587
2588 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2589 condition.
2590
112a6592
LL
25912011-10-09 Leo Liu <sdl.web@gmail.com>
2592
2593 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2594 (Bug#9701)
2595
0812589b
GM
25962011-10-08 Glenn Morris <rgm@gnu.org>
2597
2598 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2599 before the first code statement zero indent. (Bug#9690)
2600
b2b0776e
CY
26012011-10-08 Chong Yidong <cyd@stupidchicken.com>
2602
2603 * simple.el (count-words-region): Always count in the region.
2604 Report the number of lines and characters too.
2605 (count-words): New command, which counts in the buffer if the
2606 region is inactive, as count-words-region used to.
2607 (count-words--message): New function. Handle plurals.
2608 (count-lines-region): Make it an alias for count-words-region.
2609
2610 * bindings.el (esc-map): Replace count-lines-region with
2611 count-words-region.
2612
c557cd6b
MR
26132011-10-08 Martin Rudalics <rudalics@gmx.at>
2614
2615 * window.el (window--delete): Delete dedicated frame
2616 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2617 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2618
61a57ef4 26192011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2620
2621 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2622
c3833279
CY
26232011-10-07 Chong Yidong <cyd@stupidchicken.com>
2624
2625 * bindings.el ([M-left],[M-right]): Bind to left-word and
2626 right-word respectively.
2627
21ce8245
GM
26282011-10-07 Glenn Morris <rgm@gnu.org>
2629
2630 * cus-start.el (debug-on-quit): Fix custom type.
2631
6d823bb2
LMI
26322011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2633
0181e193
LMI
2634 * subr.el (define-key-after): Clarify that the function is not
2635 useful for non-menu keymaps.
2636
6d823bb2
LMI
2637 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2638
8e3459ce 26392011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2640
21ce8245 2641 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2642 in current minibuffer (Fix bug with recursive minibuffers).
2643
a1c2d21e
CY
26442011-10-06 Chong Yidong <cyd@stupidchicken.com>
2645
2646 * progmodes/gdb-mi.el (gdb): Doc fix.
2647
5a4cf282
MR
26482011-10-05 Martin Rudalics <rudalics@gmx.at>
2649
2650 * window.el (frame-auto-hide-function): New option replacing
2651 frame-auto-delete. Suggested by Stefan Monnier.
2652 (window--delete): Call frame-auto-hide-function instead of
2653 investigating frame-auto-delete.
c96111ea
MR
2654 (window-point-1, set-window-point-1): New functions.
2655 (window-in-direction, record-window-buffer, window-state-get-1)
2656 (display-buffer-record-window): Use window-point-1 instead of
2657 window-point.
2658 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2659
9854542e
SM
26602011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2663
8943cfb0
GM
26642011-10-05 Glenn Morris <rgm@gnu.org>
2665
2666 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2667 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2668
647ab967
LL
26692011-10-05 Leo Liu <sdl.web@gmail.com>
2670
2671 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2672 works with buffer object.
2673
3ddfbced
SM
26742011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * mpc.el (mpc-tool-bar-map): Add labels.
2677
bdfa5dd2
GM
26782011-10-04 Glenn Morris <rgm@gnu.org>
2679
2680 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2681
0e2070b5
MR
26822011-10-04 Martin Rudalics <rudalics@gmx.at>
2683
2684 * window.el (window--delete): New function.
2685 (frame-auto-delete): Resuscitate option.
2686 (bury-buffer, replace-buffer-in-windows)
2687 (quit-window): Rewrite using window--delete.
2688 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2689 Pass display-buffer-mark-dedicated to window--display-buffer-2
2690 (Bug#9639).
2691
3dc61a09
SM
26922011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2693
915a9b64
SM
2694 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2695 returns a list (bug#9554). Add remote file name completion.
2696 * comint.el (comint--table-subvert): Curry and get quote&unquote
2697 functions as arguments.
2698 (comint--complete-file-name-data): Adjust call accordingly.
2699 * pcomplete.el (pcomplete--table-subvert): Remove.
2700 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2701
3dc61a09
SM
2702 * minibuffer.el (completion-table-case-fold): Use currying.
2703 (completion--styles-type, completion--cycling-threshold-type):
2704 New constants.
2705 (completion-styles, completion-category-overrides)
2706 (completion-cycle-threshold): Use them.
2707 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2708 completion-table-case-fold.
2709
8ea0a993
SB
27102011-10-03 Stephen Berman <stephen.berman@gmx.net>
2711
2712 * minibuffer.el (completion-category-overrides): Fix type of styles
2713 and add more user friendly tags (bug#9660).
2714
8c24b7f6
SM
27152011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2718 (mule-input-method-string): New widget.
2719 (default-input-method, language-info-custom-alist): Use it.
2720
428fe61a
SM
27212011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2722
32c1fffd
SM
2723 * pcomplete.el: Require comint.
2724 (pcomplete--common-suffix): Remove.
2725 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2726 (pcomplete--table-subvert): Sync with comint--table-subvert.
2727 (pcomplete--entries): Use comint-completion-file-name-table.
2728 * comint.el (comint-unquote-filename): Simplify.
2729 (comint-completion-file-name-table): New function (bug#9616).
2730 (comint--complete-file-name-data): Use it.
2731
428fe61a
SM
2732 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2733 (pcmpl-gnu-tar-buffer): Remove.
2734 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2735 around. Make sure pcomplete-suffix-list is only changed temporarily.
2736 Don't look inside the tar's file if it's too large.
428fe61a 2737
04c52e2f
CY
27382011-10-01 Chong Yidong <cyd@stupidchicken.com>
2739
ce3cefcc
CY
2740 * cus-edit.el (custom-mode-map):
2741 * epa.el (epa-key-list-mode-map):
2742 * man.el (Man-mode-map):
2743 * startup.el (splash-screen-keymap):
2744 * simple.el (special-mode-map): Use scroll-up-command and
2745 scroll-down-command.
2746
2747 * progmodes/idlw-help.el (idlwave-help-mode-map):
2748 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2749 * net/newst-plainview.el (newsticker-mode-map):
2750 * emulation/ws-mode.el (wordstar-mode-map):
2751 * emulation/vi.el (vi-com-map):
2752 * calc/calc-graph.el (calc-graph-show-dumb):
2753 * term/sun.el (terminal-init-sun):
2754 * term/ns-win.el (global-map):
2755 * progmodes/grep.el (grep-mode-map):
2756 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2757 * mail/rmail.el (rmail-mode-map):
2758 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2759
04c52e2f
CY
2760 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2761 custom-safe-themes as special.
2762
79adf8c8
JD
27632011-10-01 Julien Danjou <julien@danjou.info>
2764
2765 * notifications.el (notifications-notify): Fix docstring.
2766
63bd50d3
PS
27672011-10-01 Per Starbäck <per@starback.se>
2768
2769 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2770
199e4c7e
MR
27712011-09-30 Martin Rudalics <rudalics@gmx.at>
2772
2773 * startup.el (command-line-1): Fix last fix by inserting
2774 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2775 (Bug#9605) and (Bug#9636)
199e4c7e 2776
fe5f08dd
EZ
27772011-09-29 Eli Zaretskii <eliz@gnu.org>
2778
2779 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2780 window is hscrolled, move by logical lines. (Bug#9607)
2781 (line-move-visual): Update the doc string to the above effect.
2782
b5516bbd
MR
27832011-09-29 Martin Rudalics <rudalics@gmx.at>
2784
ccee00c0
MR
2785 * window.el (display-buffer-record-window): When WINDOW is the
2786 selected window use `point' instead of `window-point'. (Bug#9626)
2787
b5516bbd
MR
2788 * startup.el (command-line-1): Use insert-before-markers when
2789 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2790
b5516bbd
MR
2791 * help.el (help-window): Remove variable.
2792
52aa0014
GM
27932011-09-29 Glenn Morris <rgm@gnu.org>
2794
2795 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2796
df9a7357
JB
27972011-09-29 Juanma Barranquero <lekktu@gmail.com>
2798
2799 * descr-text.el (describe-char-categories): Accept category
2800 descriptions more than one line long.
2801
a8406c20
SM
28022011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2803
88d9610c
SM
2804 * simple.el (delete-trailing-whitespace): Fix last change.
2805
a5daf810
SM
2806 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2807 Don't confuse "y => 3" as the beginning of a `y' operation.
2808
a8406c20
SM
2809 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2810 object has more than 4 slots (bug#9613).
2811
a239d4e9
JB
28122011-09-28 Juanma Barranquero <lekktu@gmail.com>
2813
2814 * subr.el (with-output-to-temp-buffer):
2815 * net/quickurl.el (quickurl, quickurl-browse-url):
2816 Fix typos in docstrings.
2817
693fbdb6
EZ
28182011-09-27 Eli Zaretskii <eliz@gnu.org>
2819
2820 * minibuffer.el (completion-styles)
2821 (completion-category-overrides): Cross reference each other in doc
2822 strings.
2823
8b457e28
GM
28242011-09-27 Glenn Morris <rgm@gnu.org>
2825
2826 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2827 to split-string. (Bug#9606)
2828
85a16208
LMI
28292011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2830
2831 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2832 (bug#9615).
2833
502f9ebd
CY
28342011-09-27 Chong Yidong <cyd@stupidchicken.com>
2835
2836 * emacs-lisp/package.el (list-packages): Fix echo area message.
2837
7690bdea
LL
28382011-09-27 Leo Liu <sdl.web@gmail.com>
2839
2840 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2841
e2ee6f30
MA
28422011-09-25 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/dbus.el (dbus-unregister-object): Don't release services for
2845 registered signals. (Bug#9581)
2846
f3f98342
TZ
28472011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2848
2849 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2850 function that picks between cfengine 2 and 3 support
2851 automatically. Update docs accordingly.
2852
dd7aa8dd
KH
28532011-09-22 Kenichi Handa <handa@m17n.org>
2854
2855 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2856 ZERO.
2857 (indian-itrans-v5-table-for-tamil): New variable.
2858 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2859
3f2b07f8
KM
28602011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2861
2862 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2863 that's true if the current command involved collapsing of text.
2864 It's reset to false at the beginning of the next command.
2865 (allout-post-command-business): Move the cursor to the beginning
2866 of entry if the cursor is hidden and collapsing activity just
2867 happened.
2868
371d6a61
CY
28692011-09-24 Chong Yidong <cyd@stupidchicken.com>
2870
2871 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2872 tracking (Bug#9541).
2873
2ac2721a
UJ
28742011-09-24 Ulf Jasper <ulf.jasper@web.de>
2875
2876 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2877 (newsticker-show-news): Automatically load html rendering package
2878 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2879 because w3m-fill-column is let-bound" and the error "Symbol's value
2880 as variable is void: w3m-fill-column".
2ac2721a 2881
fac7ae53
MA
28822011-09-24 Michael Albinus <michael.albinus@gmx.de>
2883
2884 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2885 Release services only if they are defined. (Bug#9581)
2886
e08b633b
RS
28872011-09-23 Richard Stallman <rms@gnu.org>
2888
e488d29c
RS
2889 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2890 distinguish start of paragraph from start of its text.
2891
19c38752
RS
2892 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2893
e08b633b
RS
2894 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2895 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2896 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2897
0a39f27e
AS
28982011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2899
2900 * international/mule-diag.el (mule-diag): Insert a newline after
2901 each fontset description.
2902
db4e950d
SM
29032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * simple.el (delete-trailing-whitespace):
2906 Document last change; simplify.
2907
eca3f3ea
PW
29082011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2909
d68e189a
PW
2910 * simple.el (delete-trailing-whitespace): Also delete
2911 extra newlines at the end of the buffer.
2912
eca3f3ea
PW
2913 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2914 (picture-newline): Use forward-line so as to ignore fields.
2915
01c157cc
SM
29162011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * subr.el (with-wrapper-hook): Fix edebug spec.
2919
022de23e
LMI
29202011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2921
2922 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2923 (bug#4538).
2924
91683089
MA
29252011-09-23 Michael Albinus <michael.albinus@gmx.de>
2926
eca3f3ea
PW
2927 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2928 Fix nasty bug using wrong cached values.
91683089 2929
5bdd6fa4
AM
29302011-09-23 Alan Mackenzie <acm@muc.de>
2931
2932 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2933
97adfb97
CY
29342011-09-23 Chong Yidong <cyd@stupidchicken.com>
2935
2936 * window.el (pop-to-buffer): Ensure right window is selected if we
2937 chose another frame.
2938
d4ef2b50
EZ
29392011-09-22 Eli Zaretskii <eliz@gnu.org>
2940
2941 * simple.el (what-cursor-position): Use get-char-property-change
2942 and next-single-char-property-change, to be able to show display
2943 properties that come from overlays as well as text properties.
2944
72258fe5
CY
29452011-09-22 Chong Yidong <cyd@stupidchicken.com>
2946
2947 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2948
2949 * cmuscheme.el (run-scheme, switch-to-scheme):
2950 * cus-edit.el (customize-group, custom-buffer-create)
2951 (customize-browse):
2952 * info.el (info):
2953 * shell.el (shell):
2954 * mail/sendmail.el (mail):
2955 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2956
8f098516
RS
29572011-09-22 Richard Stallman <rms@gnu.org>
2958
2959 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2960 move back only to line beg, don't move back over blank lines.
2961
e74f1bb6
MA
29622011-09-22 Michael Albinus <michael.albinus@gmx.de>
2963
2964 * files.el (copy-directory): Set directory attributes only in case
2965 they could be retrieved from the source directory. (Bug#9565)
2966
bfeef8b6
DK
29672011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2968
2969 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2970 (hs-find-block-beginning, hs-hide-level-recursive):
2971 Ignore strings as well as comments. (Bug#9502)
2972
7e423bb8
AS
29732011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2974
2975 * progmodes/sql.el (sql-comint-postgres):
2976 Convert port number to a string. (Bug#9566)
2977
b4d72fcf
MR
29782011-09-22 Martin Rudalics <rudalics@gmx.at>
2979
2980 * window.el (quit-window): Undedicate window when switching to
2981 previous buffer. Reported by Thierry Volpiatto
2982 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2983 (special-display-popup-frame): When popping up a new frame reset
2984 its previous buffers to nil. Simplify code.
b4d72fcf 2985
a7b88dc6
MA
29862011-09-21 Michael Albinus <michael.albinus@gmx.de>
2987
2988 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2989 and process filter, as done also in `shell-command'.
2990
cf4eacfd
MR
29912011-09-21 Martin Rudalics <rudalics@gmx.at>
2992
eca3f3ea 2993 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2994 Call set-window-start with NOFORCE argument t.
2995 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2996 (quit-window): Reword doc-string. Handle new format of
2997 quit-restore parameter. Don't delete window if it has a
2998 previous buffer we can show instead of the present one.
2999 (display-buffer-record-window): Rewrite using a new format for
3000 the quit-restore window parameter
3001 (special-display-popup-frame, display-buffer-same-window)
3002 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3003 (display-buffer-pop-up-window, display-buffer-use-some-window):
3004 Adapt symbol passed to display-buffer-record-window.
3005 * help.el (help-window-setup): Handle new format of quit-restore
3006 parameter.
3007
8d28cb95
SM
30082011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3009
94ab793f
SM
3010 * faces.el (face-list): Fix docstring (bug#9564).
3011
8d28cb95
SM
3012 * window.el (display-buffer--action-function-custom-type):
3013 Don't include internal functions in the Custom interface.
3014
3820edeb
JL
30152011-09-20 Juri Linkov <juri@jurta.org>
3016
3017 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3018 (Info-forward-node, Info-backward-node, Info-next-preorder)
3019 (Info-last-preorder): Use it. (Bug#9528)
3020
5147931d
JL
30212011-09-20 Juri Linkov <juri@jurta.org>
3022
3023 * info.el (Info-last-preorder): Visit last menu item only when
3024 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3025
cf499a1a
JD
30262011-09-20 Julien Danjou <julien@danjou.info>
3027
3028 * password-cache.el (password-cache-remove): Remove entries even if the
3029 value is nil, so that password with a nil value (negative caching) is
3030 possible to invalidate.
3031
f84e2fe2
LM
30322011-09-20 Lawrence Mitchell <wence@gmx.li>
3033
3034 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3035 all whitespace around breakpoint. (Bug#9553)
3036 (f90-find-breakpoint): Only break at whitespace inside a comment.
3037
78054a46
SM
30382011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * minibuffer.el (completion-file-name-table): Keep track of errors.
3041 (completion-table-with-predicate): Handle the case where pred1 is nil.
3042 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3043
345083b2
SM
30442011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3045
e24e27be
SM
3046 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3047 (debugger-return-value): Signal an error if the debugging context does
3048 not await any return value.
3049
345083b2
SM
3050 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3051 * image-mode.el (image-toggle-display-text)
3052 (image-toggle-display-image): Stay away from evil `intangible'.
3053
08d355e3
LL
30542011-09-19 Leo Liu <sdl.web@gmail.com>
3055
3056 * replace.el (occur-revert-arguments): Make it permanent-local.
3057 (occur-mode): Don't call font-lock-defontify.
3058
f01da43f
CY
30592011-09-19 Chong Yidong <cyd@stupidchicken.com>
3060
3061 * net/ldap.el (ldap-search-internal): Don't push empty search
3062 result (Bug#9508).
3063
b6072fa6
SM
30642011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3065
3066 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3067
443d6696
MA
30682011-09-19 Michael Albinus <michael.albinus@gmx.de>
3069
3070 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3071 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3072
7cc6e154
JL
30732011-09-18 Juri Linkov <juri@jurta.org>
3074
3075 * buff-menu.el (Buffer-menu-mode-map):
3076 * dired.el (dired-mode-map):
3077 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3078 (lisp-interaction-mode-map):
3079 * emacs-lisp/package.el (package-menu-mode-map):
3080 * epa.el (epa-key-list-mode-map):
3081 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3082 (menu-bar-options-menu):
3083 * outline.el (outline-mode-menu-bar-map):
3084 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3085 * vc/vc-dir.el (vc-dir-menu-map):
3086 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3087 Capitalize non-function content words in menu item strings.
3088
3089 * dired.el (dired-mode-map): Add menu item for
3090 `image-dired-dired-toggle-marked-thumbs'.
3091
80302a81
JL
30922011-09-18 Juri Linkov <juri@jurta.org>
3093
3094 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3095 to `isearch-case-fold-search' and restore its original value
3096 after the `isearch-mode' call.
3097
46c5cf66
JL
30982011-09-18 Juri Linkov <juri@jurta.org>
3099
3100 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3101 because `zgrep' returns 1 for successful matches (bug#9226).
3102
d18b513b
JL
31032011-09-18 Juri Linkov <juri@jurta.org>
3104
3105 * info.el (Info-extract-menu-node-name): Check the second match
3106 for empty string (second test-case of bug#9528).
3107 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3108 intermediate nodes to the history (first test-case of bug#9528).
3109
72753f87
JL
31102011-09-18 Juri Linkov <juri@jurta.org>
3111
3112 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3113 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3114
c9384295
JL
31152011-09-18 Juri Linkov <juri@jurta.org>
3116
1154d12e
JB
3117 * info.el (Info-file-supports-index-cookies):
3118 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3119 outputs one more line for long file names (bug#4142).
c9384295 3120
d473dce8
CY
31212011-09-18 Chong Yidong <cyd@stupidchicken.com>
3122
3123 * newcomment.el (comment-normalize-vars): If prompting for
3124 comment-start, set comment-start-skip too (Bug#8424).
3125
2176854d
JB
31262011-09-18 Johan Bockgård <bojohan@gnu.org>
3127
3128 * icomplete.el: Fix previous fix of Bug#5849.
3129 (icomplete-mode): Don't set completion-show-inline-help.
3130 (icomplete-minibuffer-setup): Set completion-show-inline-help
3131 locally during icompletion.
3132
3aace4e4
CY
31332011-09-18 Chong Yidong <cyd@stupidchicken.com>
3134
c940224f
CY
3135 * woman.el (woman2-process-escapes): Don't delete unrecognized
3136 escapes (Bug#7843).
3137
3aace4e4
CY
3138 * files.el (inhibit-first-line-modes-regexps): Add image files.
3139 (hack-local-variables-prop-line): Return nil for malformed
3140 prop-lines (Bug#9044).
3141
710dec63
MA
31422011-09-18 Michael Albinus <michael.albinus@gmx.de>
3143
3144 * net/tramp.el (top): Don't require 'shell.
3145 (tramp-methods): Fix docstring.
3146 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3147 Return complete remote file name. Handle "smb" case.
3148 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3149 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3150
3151 * net/tramp-compat.el (top): Require 'shell.
3152
3153 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3154 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3155 `tramp-current-host'.
3156 (tramp-get-remote-tmpdir): Remove.
3157
3158 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3159 `tramp-tmpdir' entries.
3160 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3161 (tramp-smb-handle-file-attributes): Ignore errors.
3162 (tramp-smb-wait-for-output): Check also for process end.
3163
5d5ac8ec
LMI
31642011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3165
3166 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3167 when sending QUIT (bug#9312).
3168
8c0f49f0
CY
31692011-09-17 Chong Yidong <cyd@stupidchicken.com>
3170
3171 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3172 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3173 occur-mode-display-occurrence.
3174 (occur-edit-mode): Add usage message.
3175 (occur-cease-edit): New command.
3176 (occur-after-change-function): Use text properties to find the
3177 position of the prefix text.
3178 (occur-engine): Set stickiness of prefix text properties.
3179
8f1383f7
GM
31802011-09-17 Glenn Morris <rgm@gnu.org>
3181
3182 * progmodes/etags.el (complete-tag):
3183 Fix call to completion-in-region. (Bug#9526)
3184
744ba0e3
JL
31852011-09-17 Juri Linkov <juri@jurta.org>
3186
3187 * textmodes/ispell.el (ispell-word): Add to the error message
3188 the word, ispell program name and current dictionary (bug#9121).
3189 (ispell-tex-arg-end): Capitalize "error" in the error message.
3190
d9bbf400
AS
31912011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3192
3193 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3194 check. (Bug#4251)
3195
8da11505
JL
31962011-09-17 Juri Linkov <juri@jurta.org>
3197
3198 * window.el (window-safe-min-height, window-safe-min-width):
3199 Fix typos (followup to bug#9522).
3200
a91adc7e
SJ
32012011-09-17 Sven Joachim <svenjoac@gmx.de>
3202
3203 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3204
064f328a
EZ
32052011-09-16 Eli Zaretskii <eliz@gnu.org>
3206
3207 * simple.el (line-move): If goal-column is set, move by logical
3208 lines, not by display lines. (Bug#971)
3209 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3210 to reflect the above change.
3211
e69df516
SM
32122011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * image.el (imagemagick-register-types): Use regexp-opt.
3215
cbb0f9ab
CY
32162011-09-15 Chong Yidong <cyd@stupidchicken.com>
3217
3218 * window.el (display-buffer-base-action): Rename from
3219 display-buffer-default-action. Make default value empty.
3220 (display-buffer-overriding-action): Convert to defvar.
3221 (display-buffer-fallback-action): New var.
3222
25322144
CY
32232011-09-15 Chong Yidong <cyd@stupidchicken.com>
3224
3225 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3226 declaration.
3227 (package--add-to-archive-contents): If there is a duplicate entry
3228 with an older version, remove it.
3229 (package-menu-mark-delete, package-menu-mark-install)
3230 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3231 (package-menu-mark-obsolete-for-deletion):
3232 Use package-menu-get-status instead of a regexp search.
25322144
CY
3233 (package-menu-get-status): Use tabulated-list-entry.
3234 (package-menu-mark-upgrades): New command.
d770725a 3235 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3236 (package-menu-execute): Do installation before deletion.
3237 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3238 instead of checking major-mode.
3239 (package-menu--find-upgrades): New function.
3240
7520339c
LMI
32412011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3242
3243 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3244 passwords in the log buffer.
65a046c4
LMI
3245 (smtpmail-process-filter): Update the process marker so that the
3246 "broken by peer" status message is inserted in the right place.
7520339c 3247
d3c30954
SM
32482011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3fe48822
SM
3250 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3251 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3252 bibtex-completion-at-point-function.
3253 (bibtex-completion-at-point-function): Use them.
3254
1b8b3954
SM
3255 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3256
d3c30954
SM
3257 * mpc.el (mpc-constraints-tag-lookup): New function.
3258 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3259 also to browser "album|playlist".
3260
72779976
JL
32612011-09-14 Juri Linkov <juri@jurta.org>
3262
3263 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3264 (isearch-edit-string): Use length of `isearch-string' when
3265 `isearch-fail-pos' returns nil.
3266 (isearch-message): Remove duplicate code and call
3267 `isearch-fail-pos' with arg `t'.
3268
a0bf2bcd
CY
32692011-09-14 Chong Yidong <cyd@stupidchicken.com>
3270
17bb0a2d
CY
3271 * replace.el (occur-mode-goto-occurrence): Don't force using other
3272 window (Bug#9499).
3273
a0bf2bcd
CY
3274 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3275
f678e0b6
MR
32762011-09-14 Martin Rudalics <rudalics@gmx.at>
3277
3278 * window.el (display-buffer-window): Remove.
3279 (display-buffer-record-window): Use help-setup window parameter
3280 instead of variable display-buffer-window.
3281 (display-buffer-function, special-display-buffer-names)
3282 (special-display-function): Mention help-setup parameter instead
3283 of display-buffer-window in doc-string.
d3c30954
SM
3284 * help.el (help-window-setup): New argument help-window.
3285 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3286 Reword some messages.
3287 (with-help-window): Pass window used for displaying the buffer
3288 to help-window-setup. Don't set display-buffer-window.
3289
8e39b2e8
GM
32902011-09-13 Glenn Morris <rgm@gnu.org>
3291
3292 * emacs-lisp/debug.el (debugger-make-xrefs):
3293 Preserve point. (Bug#9462)
3294
85e9c04b
CY
32952011-09-13 Chong Yidong <cyd@stupidchicken.com>
3296
3297 * window.el (window-deletable-p): Use next-frame.
3298
1b36ed6a
MR
32992011-09-13 Martin Rudalics <rudalics@gmx.at>
3300
3301 * window.el (window-auto-delete): Remove.
3302 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3303 dedication and previous buffers.
1b36ed6a
MR
3304 (switch-to-prev-buffer): Don't delete window.
3305 (delete-windows-on): Delete a window's frame if and only if the
3306 window is dedicated.
3307 (replace-buffer-in-windows): Delete buffer's window or frame if
3308 and only if window is dedicated.
3309 (quit-window): Handle quit-restore as before last change.
4d61f28d 3310 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3311
ef8ef9fb
CY
33122011-09-13 Chong Yidong <cyd@stupidchicken.com>
3313
3314 * window.el (window-deletable-p): Never delete the last frame on a
3315 given terminal.
3316
b2cba41e
GM
33172011-09-13 Glenn Morris <rgm@gnu.org>
3318
3319 * help.el (describe-key-briefly): Copy previous standard-output change.
3320
51553db6 33212011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3322
3323 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3324
b7556719
GM
33252011-09-13 Glenn Morris <rgm@gnu.org>
3326
3327 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3328 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3329
64b51947
CY
33302011-09-12 Chong Yidong <cyd@stupidchicken.com>
3331
3332 * dired-aux.el (dired-mark-read-string): Don't return default
3333 value on empty input (Bug#9361).
3334 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3335 Omit initial minibuffer contents.
3336 (dired-do-chmod): Signal an error on empty input.
3337 (dired-mark-read-string): Don't return default on empty input.
3338
3339 * files.el (file-modes-symbolic-to-number): Doc fix.
3340
393a301e
SM
33412011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * international/mule-cmds.el (ucs-completions): Remove.
3344 (read-char-by-name): Use complete-with-action instead; add metadata.
3345
fa5660f9
CY
33462011-09-11 Chong Yidong <cyd@stupidchicken.com>
3347
3348 * window.el (display-buffer--action-function-custom-type)
3349 (display-buffer--action-custom-type): New vars.
3350 (display-buffer-alist, display-buffer-default-action)
3351 (display-buffer-overriding-action): Add defcustom types.
3352
4a592f66
CY
3353 * frame.el (delete-other-frames): Doc fix (Bug#276).
3354
73d56dbd
LMI
33552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3356
3357 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3358
37ac18a3
CY
33592011-09-11 Chong Yidong <cyd@stupidchicken.com>
3360
3361 Change modes that used same-window-* vars to use switch-to-buffer.
3362
3363 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3364 Use switch-to-buffer.
3365
3366 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3367 (customize-browse, custom-buffer-create-other-window):
3368 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3369
3370 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3371 (Info-prev, Info-up, Info-speedbar-goto-node)
3372 (info-display-manual): Use switch-to-buffer.
3373 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3374
3375 * mail/sendmail.el (mail): Use switch-to-buffer.
3376 (mail-recover): Use switch-to-buffer-other-window.
3377
3378 * cmuscheme.el (run-scheme, switch-to-scheme):
3379 * ielm.el (ielm):
3380 * shell.el (shell):
3381 * net/rlogin.el (rlogin):
3382 * net/telnet.el (telnet, rsh):
3383 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3384
10195bd6
AS
33852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3386
3387 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3388
b322f63a
LMI
33892011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3390
39d7fed6
LMI
3391 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3392 so don't mention it (bug#9301).
ba5a81f1 3393 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3394
ee0e9f11
LMI
3395 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3396 match `x', `w32' and `ns', like the manual says (bug#9029).
3397
0b1c89c1 3398 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3399 (process-kill-buffer-query-function): Mention the buffer name in
3400 the query.
0b1c89c1 3401
77549ea8
LMI
3402 * image-mode.el (image-next-line): The line parameter is mandatory
3403 (bug#9258).
3404
803ef892
LMI
3405 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3406 which can be useful (bug#9301).
3407
12980837
LMI
3408 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3409
91054f8f
LMI
3410 * subr.el (match-string): Mention that the current buffer should
3411 be the same as the search was done in (bug#9282).
3412
b322f63a
LMI
3413 * facemenu.el: Disable the remove-* commands if the mark isn't
3414 active (bug#9162).
3415
3199b96f
CY
34162011-09-10 Chong Yidong <cyd@stupidchicken.com>
3417
3418 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3419 of display-buffer.
3420 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3421
3422 * replace.el (occur-mode-goto-occurrence)
3423 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3424 and display-buffer.
3425
3426 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3427 display-buffer.
3428
3429 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3430 special-display and same-window variables.
3431 (mail-other-window): Use switch-to-buffer-other-window.
3432 (mail-other-frame): USe switch-to-buffer-other-frame.
3433
393a301e
SM
3434 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3435 Use display-buffer-other-frame.
3199b96f
CY
3436 (gdb-display-gdb-buffer): Use pop-to-buffer.
3437
3438 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3439
3440 * progmodes/python.el: Don't set same-window-buffer-names.
3441
3442 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3443
3444 * window.el (display-buffer-alist): Add *Python*.
3445
8319e0bf
CY
34462011-09-10 Chong Yidong <cyd@stupidchicken.com>
3447
3448 * window.el (display-buffer-alist): Add entry for buffers
3449 previously handled same-window-*.
3450 (display-buffer-alist, display-buffer-default-action)
3451 (display-buffer-overriding-action): Mark as risky.
3452 (display-buffer-alist): Document action function changes.
3453 (display-buffer--same-window-action)
3454 (display-buffer--other-frame-action): New variables.
3455 (switch-to-buffer, display-buffer-other-frame): Use them.
3456 (display-buffer): Rename reuse-frame entry to reusable-frames.
3457 (display-buffer-reuse-selected-window): Function deleted.
3458 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3459 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3460 (display-buffer-special): New function.
3461 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3462 display-buffer-reuse-or-pop-window. Split off special-display
3463 part into display-buffer-special.
3464 (display-buffer-use-some-window): Don't perform any special
3465 pop-up-frames handling.
3466 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3467 (display-buffer--maybe-same-window): Rename from
0d3ff375 3468 display-buffer-maybe-same-window.
8319e0bf 3469
919a69aa
CY
3470 * info.el: Don't set same-window-regexps.
3471 (info-setup): New function.
3472 (info-other-window, info): Call it.
3473
3474 * cus-edit.el: Don't set same-window-regexps.
3475 (customize-group): New argument.
3476 (customize-group-other-window): Use it.
3477 (customize-face, customize-face-other-window): Likewise.
3478 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3479
8319e0bf
CY
3480 * net/rlogin.el:
3481 * net/telnet.el:
3482 * progmodes/gud.el: Don't set same-window-regexps.
3483
3484 * cmuscheme.el:
3485 * ielm.el:
3486 * shell.el:
3487 * mail/sendmail.el:
3488 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3489
25173000
JL
34902011-09-10 Juri Linkov <juri@jurta.org>
3491
3492 * isearch.el (isearch-edit-string): Remove obsolete mention of
3493 `C-w' (`isearch-yank-word-or-char') from docstring.
3494 (isearch-query-replace): Fix typo in docstring (bug#9466).
3495
056e44ef
JL
34962011-09-10 Juri Linkov <juri@jurta.org>
3497
3498 * paren.el (show-paren-function): Don't show escaped parens.
3499 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3500
c3760c17
EZ
35012011-09-10 Eli Zaretskii <eliz@gnu.org>
3502
3503 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3504 (mm-default-file-encoding): Remove autoload forms, they are
3505 replaced with autoload cookies in mml.el and mm-encode.el.
3506 (mail-add-attachment): New command.
3507 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3508 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3509 the doc string.
3510 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3511
fece895e
RT
35122011-09-10 Reuben Thomas <rrt@sc3d.org>
3513
e69df516
SM
3514 * simple.el (count-words-region): Use buffer if there's no region
3515 (bug#9429).
fece895e 3516
5e68ce4a
JL
35172011-09-09 Juri Linkov <juri@jurta.org>
3518
3519 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3520 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3521 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3522
0a6b9622
AM
35232011-09-09 Alan Mackenzie <acm@muc.de>
3524
3525 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3526 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3527
14a29deb
EZ
35282011-09-09 Eli Zaretskii <eliz@gnu.org>
3529
3530 Fix for Savannah bug#9392.
3531 * simple.el (mail-encode-mml): New defvar.
3532
3533 * mail/rmail.el (mail-encode-mml): Add a defvar.
3534 (rmail-enable-mime-composing): Default to t.
3535 (rmail-forward): Use MIME method of forwarding only if both
3536 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3537 Set mail-encode-mml non-nil if the MIME method was used.
3538
3539 * mail/sendmail.el (mml-to-mime): Add autoload form.
3540 (mail-encode-mml): Add a defvar.
3541 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3542 to nil.
3543 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3544 message through mml-to-mime, and reset mail-encode-mml to nil.
3545
28c45130
GM
35462011-09-09 Glenn Morris <rgm@gnu.org>
3547
3548 * woman.el (woman-if-body): When processing an .el block,
3549 do not delete the next .el block as well. (Bug#9447)
69f4b618 3550 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3551
9b1c252e
MR
35522011-09-08 Martin Rudalics <rudalics@gmx.at>
3553
3554 * window.el (window-deletable-p): Make sure window is live before
3555 invoking window-prev-buffers.
3556
567457e3
LL
35572011-09-08 Leo Liu <sdl.web@gmail.com>
3558
3559 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3560
97f05794
JL
35612011-09-08 Juri Linkov <juri@jurta.org>
3562
3563 * progmodes/compile.el (compilation-environment): Make it
3564 a defcustom (bug#8340).
3565
8b0874b5
MR
35662011-09-08 Martin Rudalics <rudalics@gmx.at>
3567
3568 * window.el (frame-auto-delete): Rename to window-auto-delete.
3569 Make it control auto-deletion of windows and/or frames.
3570 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3571 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3572 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3573 Rewrite handling of case when window/frame can be deleted.
3574 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3575 argument t. (Bug#9456)
8b0874b5 3576
4feb6e73
CY
35772011-09-07 Chong Yidong <cyd@stupidchicken.com>
3578
3579 * help-mode.el (help-mode): Restore autoload.
3580
91ab9c13
JL
35812011-09-07 Juri Linkov <juri@jurta.org>
3582
3583 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3584 `compilation-environment'. Set buffer-local
3585 `compilation-environment' to `thisenv' later after (funcall mode).
3586 (Bug#8340)
3587
3588 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3589 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3590 instead of replacing its value. (Bug#8340)
3591
0527e251
JL
35922011-09-07 Juri Linkov <juri@jurta.org>
3593
3594 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3595 based on text properties put by `grep-filter' instead of matching
3596 escape sequences.
3597 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3598 to the value of `grep-error-screen-columns' (bug#9438).
3599
249f792c
JL
36002011-09-07 Juri Linkov <juri@jurta.org>
3601
3602 * simple.el (next-error-highlight, next-error-highlight-no-select):
3603 Doc fix (bug#9432).
3604
ff7271b9
OT
36052011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3606
3607 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3608 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3609
183fc730
LL
36102011-09-07 Leo Liu <sdl.web@gmail.com>
3611
3612 * net/rcirc.el (rcirc-mode): Conditionally initialize
3613 rcirc-input-ring.
3614
77694924
SM
36152011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * emacs-lisp/find-func.el (find-function-C-source): Only set
3618 find-function-C-source-directory after checking that we found a source
3619 file there (bug#9440).
3620
d809b8eb
AM
36212011-09-06 Alan Mackenzie <acm@muc.de>
3622
3623 * isearch.el (isearch-other-meta-char): Wherever a key list is
3624 unread, "unread" the prefix arg, too. This fixes bug #8901.
3625
453de99f
OG
36262011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3627
3628 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3629
90439906
JL
36302011-09-05 Juri Linkov <juri@jurta.org>
3631
3632 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3633
f62bd846
JL
36342011-09-05 Juri Linkov <juri@jurta.org>
3635
3636 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3637 keeping point where processing of grep matches begins, and
3638 continue to delete remaining escape sequences from the same point.
3639 (grep-filter): Make leading zero optional in "0?1;31m" because
3640 git-grep emits "\033[1;31m" escape sequences unlike expected
3641 "\033[01;31m" as GNU Grep does (bug#9408).
3642 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3643
045820ec
JL
36442011-09-05 Juri Linkov <juri@jurta.org>
3645
3646 * subr.el (y-or-n-p): Capitalize "yes".
3647
f5e29b9b
MA
36482011-09-04 Michael Albinus <michael.albinus@gmx.de>
3649
3650 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3651 `tramp-cache-unload-hook' where appropriate.
3652 (tramp-methods): Rename `tramp-remote-sh' to
3653 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3654 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3655
3656 * net/tramp-sh.el (top): Don't require 'shell.
3657 (tramp-methods): Add `tramp-remote-shell' and
3658 `tramp-remote-shell-args' entries.
3659 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3660 (tramp-sh-handle-shell-command): Remove.
3661 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3662 Use `tramp-remote-shell'.
3663
2784c434
CY
36642011-09-03 Chong Yidong <cyd@stupidchicken.com>
3665
393a301e 3666 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3667 (sendmail-query-once): Save directly to send-mail-function.
3668 Update message-send-mail-function too.
3669
3670 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3671
464cdf56
CS
36722011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3673
3674 * progmodes/python.el (python-mode-map): Use correct function to
3675 start python interpreter from menu-bar (as reported by Geert
3676 Kloosterman).
3677 (inferior-python-mode-map): Fix typo.
393a301e 3678 (python-shell-map): Remove.
464cdf56 3679
d37e5c87
DD
36802011-09-03 Deniz Dogan <deniz@dogan.se>
3681
3682 * net/rcirc.el (rcirc-print): Simplify code for
3683 rcirc-scroll-show-maximum-output. There is no need to walk
3684 through all windows to find the right one.
3685
f3ada0ee
CS
36862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3687
3688 * help.el (help-return-method): Doc fix.
3689
1f3c99ca
MR
36902011-09-03 Martin Rudalics <rudalics@gmx.at>
3691
3692 * window.el (window-deletable-p): Don't return a non-nil value
3693 when there's a buffer that was shown in the window before.
3694 (Bug#9419)
393a301e
SM
3695 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3696 Set window's previous buffers to nil.
1f3c99ca 3697
a3cf097f
EZ
36982011-09-03 Eli Zaretskii <eliz@gnu.org>
3699
3700 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3701 newline before and after the tag line, so it doesn't interfere
3702 with determining the paragraph direction of bidirectional text.
3703
3d03de90
LL
37042011-09-03 Leo Liu <sdl.web@gmail.com>
3705
3706 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3707
c3313451
CY
37082011-09-02 Chong Yidong <cyd@stupidchicken.com>
3709
393a301e 3710 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3711 (pop-to-buffer): Change interactive spec. Pass second argument
3712 directly to display-buffer.
3713 (display-buffer): Fix interactive spec. Use functionp to
3714 distinguish between a function and a list of functions.
3715
3716 * abbrev.el (edit-abbrevs):
3717 * arc-mode.el (archive-extract):
3718 * autoinsert.el (auto-insert):
3719 * bookmark.el (bookmark-bmenu-list):
3720 * files.el (find-file):
3721 * view.el (view-buffer):
3722 * progmodes/compile.el (compilation-goto-locus):
3723 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3724
89894cd8
CY
37252011-09-02 Chong Yidong <cyd@stupidchicken.com>
3726
3727 * window.el (display-buffer-alist): Doc fix.
3728 (display-buffer): Add docstring. Don't treat
3729 display-buffer-default specially.
3730 (display-buffer-reuse-selected-window)
3731 (display-buffer-same-window, display-buffer-maybe-same-window)
3732 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3733 (display-buffer-pop-up-window)
3734 (display-buffer-reuse-or-pop-window)
3735 (display-buffer-use-some-window): New functions.
3736 (display-buffer-default-action): Use them.
393a301e 3737 (display-buffer-default): Delete.
89894cd8
CY
3738 (pop-to-buffer-1): Fix choice of actions.
3739
ae0bc9fb
SM
37402011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * minibuffer.el (completion--insert-strings): Don't get confused by
3743 completion entries that end with an LF char.
3744
e9d90883
EZ
37452011-09-01 Eli Zaretskii <eliz@gnu.org>
3746
3747 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3748
437014c8
CY
37492011-09-01 Chong Yidong <cyd@stupidchicken.com>
3750
3751 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3752 (display-buffer-same-window, display-buffer-other-window):
3753 New functions.
437014c8
CY
3754 (pop-to-buffer-1): New function. Use the above.
3755 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3756 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3757
3758 * view.el (view-buffer-other-window, view-buffer-other-frame):
3759 Just use pop-to-buffer.
3760
a5e063d5
TV
37612011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3762
3763 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3764
793d32bb
WH
37652011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3766
3767 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3768
d65e4c15
RS
37692011-08-31 Richard Stallman <rms@gnu.org>
3770
3771 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3772 of the separation of rmail-view-buffer from rmail-buffer.
3773 If you say no to "replace original", the decrypt is in the
3774 view buffer. If you say yes, the decrypt goes into the
3775 rmail buffer also.
3776
f818cd2a
MR
37772011-08-31 Martin Rudalics <rudalics@gmx.at>
3778
3779 * window.el (display-buffer-window): Rewrite doc-string.
3780 (display-buffer-record-window): New function.
3781 (display-buffer-macro-specifiers)
3782 (display-buffer-even-window-sizes, display-buffer-set-height)
3783 (display-buffer-set-width, display-buffer-in-window)
3784 (display-buffer-reuse-window, display-buffer-split-specifiers)
3785 (display-buffer-side-specifiers, display-buffer-split-window-1)
3786 (display-buffer-split-window, display-buffer-split-atom-window)
3787 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3788 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3789 (display-buffer-other-window-means-other-frame)
3790 (display-buffer-normalize-special)
3791 (display-buffer-normalize-default)
3792 (display-buffer-normalize-argument)
3793 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3794 (display-buffer-normalize-specifiers, display-buffer-frame)
3795 (display-buffer-same-window, display-buffer-same-frame)
3796 (display-buffer-other-window)
3797 (display-buffer-same-frame-other-window)
3798 (display-buffer-other-frame, pop-to-buffer-same-window)
3799 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3800 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3801 (switch-to-buffer-same-frame)
3802 (switch-to-buffer-other-window-same-frame)
3803 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3804 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3805 (display-buffer-alist-set): Remove.
3806 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3807 (special-display-regexps, special-display-function):
3808 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3809 parameter.
3810 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3811 (special-display-frame-alist, special-display-popup-frame)
3812 (same-window-buffer-names, same-window-regexps, same-window-p)
3813 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3814 (split-window-preferred-function, split-height-threshold)
3815 (split-width-threshold, window-splittable-p)
3816 (split-window-sensibly, window--try-to-split-window)
3817 (window--frame-usable-p, even-window-heights)
3818 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3819 (window--display-buffer-2, display-buffer-other-frame):
3820 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3821 (display-buffer-default, display-buffer-assq-regexp): New functions.
3822 (display-buffer-alist): Rewrite doc-string.
3823 (display-buffer-default-action)
3824 (display-buffer-overriding-action): New variables.
3825 (display-buffer, switch-to-buffer): Rewrite.
3826 (pop-to-buffer): Restore Emacs 23 behavior but use
3827 window-normalize-buffer-to-display.
3828 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3829 Restore Emacs 23 behavior but use
3830 window-normalize-buffer-to-switch-to.
3831 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3832 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3833 Rewrite using Emacs 23 options.
f818cd2a 3834
5bc3b51d
MA
38352011-08-31 Michael Albinus <michael.albinus@gmx.de>
3836
3837 * net/tramp.el (tramp-root-regexp): Remove.
3838 (tramp-completion-file-name-regexp-unified)
3839 (tramp-completion-file-name-regexp-separate)
3840 (tramp-completion-file-name-regexp-url): Don't use leading volume
3841 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3842 (tramp-drop-volume-letter): Simplify definition.
3843 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3844
b1a4f8e1
SM
38452011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3848 (bug#9356).
3849
5664fa7b
RT
38502011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3851
b1a4f8e1 3852 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3853
9a45d6c3
JL
38542011-08-29 Juri Linkov <juri@jurta.org>
3855
3856 * isearch.el (isearch-done): Don't display message "Mark saved"
3857 when arg `edit' is non-nil to prevent its flicker in the echo area.
3858
fb87e0fb
CY
38592011-08-28 Chong Yidong <cyd@stupidchicken.com>
3860
3861 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3862 obsolete packages for deletion.
3863
09ac1c2a
CS
38642011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3865
3866 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3867 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3868 view-mode from help-mode.
3869 (help-xref-override-view-map): Remove.
3870 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3871 view-mode is not used anymore.
3872
7a1ff57f
CY
38732011-08-28 Chong Yidong <cyd@stupidchicken.com>
3874
3875 * server.el (server-port): Doc fix.
3876
b9696605
CY
3877 * cus-theme.el (custom-theme-choose-mode): Inherit from
3878 special-mode (Bug#9124).
3879 (custom-theme-choose-mode-map): Add special-mode to parent.
3880
ef8cdf8c
AM
38812011-08-28 Alan Mackenzie <acm@muc.de>
3882
3883 * progmodes/cc-fonts.el
3884 (c-make-font-lock-BO-decl-search-function): New function.
3885 (c-basic-matchers-after - "Fontify the clauses after various
3886 keywords"): Extract the three keyword lists for the 3 erroneous
3887 constructs from the list of four, and use the new function above
3888 in place of an old one.
3889
27de4e20
DD
38902011-08-28 Deniz Dogan <deniz@dogan.se>
3891
3892 * net/rcirc.el (rcirc-insert-prev-input)
3893 (rcirc-insert-next-input): Remove unused argument.
3894
356a3681
SM
38952011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3898
3fc9b218
AM
38992011-08-27 Alan Mackenzie <acm@muc.de>
3900
3901 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3902 handle function pointer parameters properly.
3903
538a061c
MR
39042011-08-27 Martin Rudalics <rudalics@gmx.at>
3905
3906 * window.el (display-buffer-reuse-window): Fix case where
3907 selected window was reused with non-nil OTHER-WINDOW argument.
3908 (Bug#9381)
3909
35b1c40c
DD
39102011-08-27 Deniz Dogan <deniz@dogan.se>
3911
3912 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3913 oftc's NickServ messages.
3914
2f6a3e79
GM
39152011-08-27 Glenn Morris <rgm@gnu.org>
3916
3917 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3918
7254299e
CY
39192011-08-26 Chong Yidong <cyd@stupidchicken.com>
3920
3921 * emacs-lisp/package.el (package-install): Call package-initialize
3922 if called interactively.
3923
f8ccf167
LL
39242011-08-26 Leo Liu <sdl.web@gmail.com>
3925
3926 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3927
3e8cd5ce
JL
39282011-08-25 Juri Linkov <juri@jurta.org>
3929
3930 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3931 `search-whitespace-regexp' (bug#9364).
3932
93eb7113
JL
39332011-08-25 Juri Linkov <juri@jurta.org>
3934
3935 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3936 `regexp-search-ring' to their global values to protect from
3937 updating by `read-from-minibuffer' (bug#9185).
3938
f65d1611
JL
39392011-08-25 Juri Linkov <juri@jurta.org>
3940
3941 * textmodes/ispell.el (ispell-command-loop): Add newline
3942 at the end of the "Use option `i'..." line.
3943
f1cf7a31
JL
39442011-08-25 Juri Linkov <juri@jurta.org>
3945
3946 * battery.el (display-battery-mode): If `battery-status-function'
3947 or `battery-mode-line-format' is nil, display the message and set
3948 `display-battery-mode' to nil (bug#9363).
3949
0c95fcf7
EZ
39502011-08-25 Eli Zaretskii <eliz@gnu.org>
3951
3952 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3953 bidi-string-mark-left-to-right; they are unnecessary now.
3954
a2ebe600
DD
39552011-08-25 Deniz Dogan <deniz@dogan.se>
3956
3957 * net/quickurl.el: Documentation typo fixes.
3958
e4ed06f1
CY
39592011-08-25 Chong Yidong <cyd@stupidchicken.com>
3960
3961 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3962
e5f1c99e
GM
39632011-08-25 Glenn Morris <rgm@gnu.org>
3964
b2948976
GM
3965 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3966
e5f1c99e
GM
3967 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3968 (smtpmail-via-smtp): Handle nil response from smtp.
3969
f22f4808
JL
39702011-08-24 Juri Linkov <juri@jurta.org>
3971
3972 * proced.el (proced-marked): Inherit from `error' instead of
3973 `font-lock-warning-face'.
3974
3975 * ibuffer.el (ibuffer-marked-face): Change default face from
3976 `font-lock-warning-face' to `warning'.
3977 (ibuffer-deletion-face): Change default face from
3978 `font-lock-type-face' to `error'.
3979
3980 * battery.el (battery-update): Use the face `error' instead of
3981 `font-lock-warning-face' (bug#6117).
3982
6a93965e
JL
39832011-08-24 Juri Linkov <juri@jurta.org>
3984
3985 * faces.el (success): Change face color from "Green3" to
3986 "ForestGreen" on light background (bug#9353).
3987
1ed43b09
CY
39882011-08-24 Chong Yidong <cyd@stupidchicken.com>
3989
5664fa7b
RT
3990 * window.el (quit-window): Rename from quit-restore-window.
3991 Use same arglist as old quit-window.
1ed43b09
CY
3992 (frame-auto-delete): Doc fix.
3993
3994 * view.el (view-mode-exit): Use quit-window.
3995
11dcdbb2
JL
39962011-08-24 Juri Linkov <juri@jurta.org>
3997
3998 * isearch.el (isearch-ring-adjust1): Start visiting previous
3999 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4000 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4001 for empty search string (when the last search string is reused
4002 automatically) to adjust the isearch ring to the last element and
4003 prepare the correct index for further M-p commands (bug#9185).
4004
de62b4df
KH
40052011-08-24 Kenichi Handa <handa@m17n.org>
4006
4007 * international/ucs-normalize.el: If decomposition property of
4008 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4009 nil.
4010 (nfd, nfkd): Likewise.
4011
963b492b
SM
40122011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4015 from process filters aren't reliably transmitted to the surrounding
4016 accept-process-output.
4017 (mpc-proc-check): New function.
4018 (mpc-proc-sync): Use it (bug#8293)
4019
93b6b5e1
SM
40202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4021
4022 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4023 Add compatibility functions (bug#9313).
4024
bca633fb
EZ
40252011-08-23 Eli Zaretskii <eliz@gnu.org>
4026
b177498a
EZ
4027 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4028
bca633fb
EZ
4029 * international/uni-bidi.el: Regenerated.
4030
0902a04e
KH
40312011-08-23 Kenichi Handa <handa@m17n.org>
4032
4033 * international/charprop.el:
4034 * international/uni-bidi.el:
4035 * international/uni-category.el:
4036 * international/uni-combining.el:
4037 * international/uni-comment.el:
4038 * international/uni-decimal.el:
4039 * international/uni-decomposition.el:
4040 * international/uni-digit.el:
4041 * international/uni-lowercase.el:
4042 * international/uni-mirrored.el:
4043 * international/uni-name.el:
4044 * international/uni-numeric.el:
4045 * international/uni-old-name.el:
4046 * international/uni-titlecase.el:
4047 * international/uni-uppercase.el: Regenerate.
4048
3bbf23bc
MR
40492011-08-23 Martin Rudalics <rudalics@gmx.at>
4050
4051 * help.el (help-window-setup): Fix message displayed when other
4052 window is reused. (Bug#9341)
4053
b3fd59bd
SM
40542011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4055
1802e444
SM
4056 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4057 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4058
b3fd59bd
SM
4059 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4060 Mark obsolete.
4061 * shell.el (shell-parse-pcomplete-arguments): New function.
4062 (shell-completion-vars): Use it instead (bug#9160).
4063
4eb61348
SM
40642011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4065
867cab74
SM
4066 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4067 strings and comments (bug#9333).
4068
4eb61348
SM
4069 * emacs-lisp/debug.el (debug-arglist): New function.
4070 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4071 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4072
262a1439
JL
40732011-08-22 Juri Linkov <juri@jurta.org>
4074
56ee679c
JL
4075 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4076 Revert regexp that highlights output switches to its old
4077 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4078
262a1439
JL
4079 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4080 to check for empty output (bug#9226).
4081
f13f86fb
CY
40822011-08-22 Chong Yidong <cyd@stupidchicken.com>
4083
4084 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4085 symbol-constituent as the default, as that stops font-lock from
4086 working properly (Bug#8843).
4087
c65c9622
LMI
40882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4089
4090 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4091 `coding-system-for-*' around the process open call to avoid
4092 auth-source side effects.
e7f2c178 4093 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4094 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4095 probe hangs.
c65c9622 4096
23a8a5ab
CY
40972011-08-21 Chong Yidong <cyd@stupidchicken.com>
4098
ff98b2dd
CY
4099 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4100
23a8a5ab
CY
4101 * emacs-lisp/find-func.el (find-function-noselect): New arg
4102 lisp-only.
4103
4104 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4105 signal an error for built-in functions (Bug#6664).
4106
f5e3c598
LMI
41072011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4108
4109 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4110 (smtpmail-try-auth-methods): Use it.
4111
a3f2468a
CY
41122011-08-21 Chong Yidong <cyd@stupidchicken.com>
4113
2c34e8da
CY
4114 * font-lock.el (font-lock-fontify-region)
4115 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4116 (font-lock-default-unfontify-buffer)
4117 (font-lock-default-fontify-region)
4118 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4119
b3fd59bd
SM
4120 * progmodes/compile.el (compilation-error-properties):
4121 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4122 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4123 `ant' regexp.
ee31aabc 4124
a3f2468a
CY
4125 * net/browse-url.el (browse-url-firefox): Don't call
4126 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4127
8e999f70
GM
41282011-08-20 Glenn Morris <rgm@gnu.org>
4129
c21a496a
GM
4130 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4131
59ee0542
GM
4132 * tutorial.el (tutorial--default-keys): Update some default bindings.
4133
8e999f70
GM
4134 * files.el (hack-local-variables): Fully ignore case for "mode:".
4135
e3715033
AM
41362011-08-20 Alan Mackenzie <acm@muc.de>
4137
4138 Resolve invalid use of a regexp in regexp-opt.
4139
4d61f28d
JB
4140 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4141 detection for a java annotation.
e3715033 4142
4d61f28d 4143 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4144 detection for a java annotation.
4145
4d61f28d
JB
4146 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4147 handling for java.
e3715033
AM
4148 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4149
04ed2e9c
CY
41502011-08-20 Chong Yidong <cyd@stupidchicken.com>
4151
4152 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4153 (Bug#9274).
4154
826cee64
AM
41552011-08-20 Alan Mackenzie <acm@muc.de>
4156
58179cce 4157 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4158 such a construct. Mainly for when jit-lock etc. starts a chunk
4159 here.
4160
58179cce 4161 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4162 variable.
58179cce 4163 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4164 c-make-font-lock-search-function.
4165 (c-make-font-lock-search-function): Use the above function.
4166 (c-make-font-lock-context-search-function): New function.
4167 (c-cpp-matchers): Enhance the preprocessor expression case with
4168 the above function
4169 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4170 which takes an expression.
4171
4172 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4173
13009bd8
MR
41742011-08-20 Martin Rudalics <rudalics@gmx.at>
4175
4176 * window.el (display-buffer-reuse-window)
4177 (display-buffer-pop-up-window): Don't reuse or split a side
4178 window.
4179
9234ff7f
GM
41802011-08-19 Glenn Morris <rgm@gnu.org>
4181
4182 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4183 Downcase "Mode:". (Bug#9331)
9234ff7f 4184
f635daa1
CY
41852011-08-18 Chong Yidong <cyd@stupidchicken.com>
4186
4187 * international/characters.el: Add L and R categories.
4188
4189 * subr.el (bidi-string-mark-left-to-right): Rename from
4190 string-mark-left-to-right. Use category search.
4191
4192 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4193
bc987f8b
JL
41942011-08-18 Juri Linkov <juri@jurta.org>
4195
4196 * faces.el (error, warning, success): New faces with definitions
4197 copied from old default values of `font-lock-warning-face',
4198 `compilation-warning', `compilation-info' (bug#6117).
4199
4200 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4201
4202 * progmodes/compile.el (compilation-error): Inherit from `error'.
4203 (compilation-warning): Inherit from `warning'.
4204 (compilation-info): Inherit from `success'.
4205
4206 * dired.el (dired-marked): Inherit from `warning'.
4207 (dired-flagged): Inherit from `error'.
4208
57173b96
LMI
42092011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4210
3e79eb87
LMI
4211 * mail/smtpmail.el (auth-source): Require to avoid problems with
4212 binding variables (bug#9298). Also clean up some unused
4213 autoloads.
4214
b3fd59bd
SM
4215 * net/network-stream.el (network-stream-open-starttls):
4216 Support using starttls.el without using gnutls-cli.
57173b96 4217
02b404de
JL
42182011-08-17 Juri Linkov <juri@jurta.org>
4219
4220 * progmodes/grep.el (rgrep): Handle the case when
4221 `grep-find-command' is a cons cell (bug#9278).
4222
8c9177f2
MR
42232011-08-17 Martin Rudalics <rudalics@gmx.at>
4224
4225 * window.el (display-buffer-pop-up-frame): Run frame creation
4226 function with BUFFER current (as special-display-popup-frame
4227 does). Reported by Drew Adams.
4228
3644a0ab
DU
42292011-08-17 Daiki Ueno <ueno@unixuser.org>
4230
4231 * epa-mail.el: Simplify GnuPG group expansion using
4232 epg-expand-group.
4233 (epa-mail-group-alist, epa-mail-group-modtime)
4234 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4235 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4236 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4237 Remove.
4238
5e617bc2 42392011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4240
4241 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4242
9c4aeabf
AM
42432011-08-16 Alan Mackenzie <acm@muc.de>
4244
4245 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4246 Correct, to avoid the inside of macros.
4247
3a99bf64
RS
42482011-08-16 Richard Stallman <rms@gnu.org>
4249
04963aa8
RS
4250 * epa-mail.el: Handle GnuPG group definitions.
4251 (epa-mail-group-alist, epa-mail-group-modtime)
4252 (epa-mail-gnupg-conf-file): New variables.
4253 (epa-mail-parse-groups, epa-mail-sync-groups)
4254 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4255 (epa-mail-expand-recipients): New functions.
4256 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4257
177549d0
RS
4258 * mail/rmail.el (rmail-epa-decrypt): New command.
4259
fe38beef
RS
4260 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4261 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4262 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4263 (epa-decrypt-armor-in-region): Make error message clearer.
4264
934eacb9
SM
42652011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4268 and "a2b" to "ab" for `prefix'.
4269
d024fb4e
CY
42702011-08-14 Chong Yidong <cyd@stupidchicken.com>
4271
4272 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4273 filter groups.
de148fee
CY
4274 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4275 Fourquet (Bug#8804).
d024fb4e 4276
62f1ca49
JB
42772011-08-12 Juanma Barranquero <lekktu@gmail.com>
4278
4279 * startup.el (argi): Declare as global variable (bug#9275).
4280
9ccaaa4b
CY
42812011-08-12 Chong Yidong <cyd@stupidchicken.com>
4282
4283 * subr.el (string-mark-left-to-right): Search the entire string
4284 for RTL script, not just the terminating character. Doc fix.
4285
a3dae87a
SM
42862011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4287
6cd18349
SM
4288 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4289 New function.
4290 (js--regexp-literal, js-syntax-propertize-function): Remove.
4291 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4292 (js-mode-map): Don't rebind electric keys.
4293 (js-insert-and-indent): Remove.
4294 (js-mode): Setup electric-layout and electric-indent instead.
4295
a3dae87a
SM
4296 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4297
9d5cb631
DU
42982011-08-12 Daiki Ueno <ueno@unixuser.org>
4299
4300 * epa.el (epa-progress-callback-function): Fix the logic of
4301 displaying progress.
4302 * epa-file.el (epa-file-insert-file-contents): Make progress
4303 display more user-friendly.
4304 (epa-file-write-region): Ditto.
4305
3e26a4a2
CY
43062011-08-10 Chong Yidong <cyd@stupidchicken.com>
4307
4308 * subr.el (string-mark-left-to-right): New function.
4309
4310 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4311 Use string-mark-left-to-right.
4312 (list-buffers-noselect): Caller changed.
4313
a3dae87a
SM
4314 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4315 Use string-mark-left-to-right.
3e26a4a2
CY
4316 (tabulated-list-print): Recenter after moving point.
4317
ac8cf6e6
JL
43182011-08-10 Juri Linkov <juri@jurta.org>
4319
4320 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4321 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4322 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4323
8d96c9a4
CY
43242011-08-09 Chong Yidong <cyd@stupidchicken.com>
4325
4326 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4327 (Bug#7554).
4328
7be1c708 43292011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4330
4331 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4332 character. (Bug#6594)
4333
37e11a63
CY
43342011-08-08 Chong Yidong <cyd@stupidchicken.com>
4335
839dde57
CY
4336 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4337 (image-dired--with-db-file): New macro.
4338 (image-dired-write-tags, image-dired-remove-tag)
4339 (image-dired-create-gallery-lists, image-dired-write-comments)
4340 (image-dired-get-comment, image-dired-mark-tagged-files)
4341 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4342 (image-dired-gallery-generate): Use insert-file-contents.
4343
37e11a63
CY
4344 * time.el (display-time-world-list, display-time-world-display):
4345 * time-stamp.el (time-stamp-string):
4346 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4347 set-time-zone-rule (Bug#7337).
4348
0b4946c4
DU
43492011-08-08 Daiki Ueno <ueno@unixuser.org>
4350
4351 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4352 (epg-error-to-string, epg-errors-to-string): New function.
4353 (epg-wait-for-completion): Reverse errors list.
4354 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4355 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4356 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4357 (epg-sign-keys, epg-generate-key-from-file)
4358 (epg-generate-key-from-string): Format errors by using
4359 epg-errors-to-string (bug#9255).
4360 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4361
75bfc667
JL
43622011-08-07 Juri Linkov <juri@jurta.org>
4363
4364 * faces.el (list-faces-display): Remove extra angle bracket
4365 from `help-mode-map'.
4366
4367 * info.el (Info-history-toc-nodes): Doc fix.
4368
4369 * longlines.el (longlines-mode): Doc fix.
4370
673e08bb
SM
43712011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4640dd88
SM
4373 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4374 of statements and in a few more cases (bug#9183).
4375
673e08bb
SM
4376 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4377 New functions.
4378 (cl-transform-lambda): Use them (bug#9239).
4379
89b3f019
MR
43802011-08-05 Martin Rudalics <rudalics@gmx.at>
4381
4382 * window.el (display-buffer-same-window)
4383 (display-buffer-same-frame, display-buffer-other-window)
4384 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4385 (pop-to-buffer-other-window)
4386 (pop-to-buffer-same-frame-other-window)
4387 (pop-to-buffer-other-frame): Make them defuns.
4388 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4389
640c8776
SM
43902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * subr.el (make-composed-keymap): Move from C. Change calling
4393 convention, and improve docstring to bring attention to a subtle point.
4394 * minibuffer.el (completing-read-default): Adjust accordingly.
4395
63648a95
MA
43962011-08-03 Michael Albinus <michael.albinus@gmx.de>
4397
4398 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4399 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4400
4401 * net/trampver.el: Update release number.
4402
b796c9b7
SM
44032011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4406 "in" (bug#9190).
4407
2239d7d5
LMI
44082011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4409
e07dd7c3
LMI
4410 * mail/sendmail.el (sendmail-query-once): Restore the current
4411 buffer after querying (bug#9074).
4412
0e6a2bd7
LMI
4413 * dired.el (dired-flagged): Use different faces for marked and
4414 flagged files (bug#6117).
4415
ce887515
LMI
4416 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4417 (bug#4433).
4418
92f2affc
LMI
4419 * ido.el (ido-mode): Switch off the message if called
4420 non-interactively.
4421
57d5aff0
LMI
4422 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4423 before 587, since it appears that that's more likely to work for
4424 more people.
4425
98cd6c18 4426 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4427 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4428 exist.
4429
b96dec83
LMI
4430 * info.el: Remove the `Info-beginning-of-buffer' function
4431 (bug#8325).
4432
b796c9b7
SM
4433 * net/network-stream.el (network-stream-open-starttls):
4434 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4435
d90e2ea0
MR
44362011-08-01 Martin Rudalics <rudalics@gmx.at>
4437
4438 * window.el (display-buffer-in-window): Don't set dedicated status
4439 of window here (Bug#9215).
4440 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4441 (display-buffer-pop-up-side-window)
b796c9b7 4442 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4443
cca09170
SM
44442011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4447 before binding generated-autoload-file.
4448
027b979c
DD
44492011-08-01 Deniz Dogan <deniz@dogan.se>
4450
4451 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4452
3c7ee4f3
MA
44532011-07-30 Michael Albinus <michael.albinus@gmx.de>
4454
4455 Sync with Tramp 2.2.2.
4456
4457 * net/trampver.el: Update release number.
4458
2cc8e51a
JL
44592011-07-30 Juri Linkov <juri@jurta.org>
4460
4461 * dired-aux.el (dired-touch-initial): Remove function.
4462 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4463 current time, and `default' to the last modification time of the
4464 current marked file (bug#6887).
4465
a514d856
JM
44662011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4467
4468 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4469 numeric argument to read-number (bug#9163).
a514d856 4470
8a7eddd7
MA
44712011-07-27 Michael Albinus <michael.albinus@gmx.de>
4472
4473 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4474 connection process, it could be nil.
4475
1ddd96f5
LL
44762011-07-27 Leo Liu <sdl.web@gmail.com>
4477
4478 Simplify url handling in rcirc-mode.
4479
4480 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4481 (rcirc-browse-url-at-mouse): Remove.
4482 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4483
b248a85d
AM
44842011-07-26 Alan Mackenzie <acm@muc.de>
4485
4486 Fontify bitfield declarations properly.
4487
4488 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4489 (c-symbol-chars): Now exported as a lang variable.
4490 (c-not-primitive-type-keywords): New lang variable.
4491
4492 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4493 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4494 parsed as a bitfield declaration.
b248a85d 4495
b796c9b7
SM
4496 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4497 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4498 (c-punctuation-in): New function.
4499 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4500 declarations properly.
4501
68575ab0
UJ
45022011-07-26 Ulf Jasper <ulf.jasper@web.de>
4503
4504 * calendar/icalendar.el (icalendar--all-events): Take care of
4505 multiple vcalendars in a single file.
b796c9b7 4506 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4507
0f0a88b9
DD
45082011-07-25 Deniz Dogan <deniz@dogan.se>
4509
4510 * image.el (insert-image): Clarifying docstring.
4511
0b3f36df
MA
45122011-07-24 Michael Albinus <michael.albinus@gmx.de>
4513
4514 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4515 `tramp-send-command-and-check' if there is no error.
4516 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4517
a9901f61
AM
45182011-07-22 Alan Mackenzie <acm@muc.de>
4519
4520 Prevent cc-langs.elc being loaded at run time.
4521
4522 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4523 cc-langs.
4524
4d61f28d 4525 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4526 "(require 'cc-langs)". Quote a form so it will evaluate at
4527 (cc-mode's) compilation time.
4528
11d074b2
MA
45292011-07-22 Michael Albinus <michael.albinus@gmx.de>
4530
4531 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4532 loading. (Bug#9114)
4533
938b94c8
MR
45342011-07-21 Martin Rudalics <rudalics@gmx.at>
4535
4536 * window.el (display-buffer-pop-up-window)
4537 (display-buffer-pop-up-side-window)
4538 (display-buffer-in-side-window): Call display-buffer-set-height
4539 and display-buffer-set-width after setting the new window's
b796c9b7 4540 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4541
bfa4f190
SS
45422011-07-20 Sam Steingold <sds@gnu.org>
4543
4544 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4545 (etags-tags-included-tables): Call `convert-standard-filename' on
4546 the file names contained in TAGS so that windows Emacs can handle
4547 TAGS files created by cygwin ctags.
4548
8ca42262
LMI
45492011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4550
4551 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4552 which apparently didn't work.
4553
5db2afd2 45542011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4555
5db2afd2
RW
4556 * proced.el (proced-send-signal): For *Marked Processes* buffer
4557 put point at beginning of buffer.
4558
92e15d10
SB
45592011-07-19 Stephen Berman <stephen.berman@gmx.net>
4560
4561 * proced.el (proced-format): Make header lines align with the text
4562 (bug#1779).
4563
1bfd59e5
LMI
45642011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4565
4566 * view.el (view-buffer): Allow running in `special' modes if we're
4567 visiting a file (bug#8615).
4568
f5aae37c
MR
45692011-07-19 Martin Rudalics <rudalics@gmx.at>
4570
4571 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4572 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4573 New functions.
f5aae37c
MR
4574 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4575 more accurately.
4576
bf2c1571
AM
45772011-07-18 Alan Mackenzie <acm@muc.de>
4578
4579 Fontify declarators properly when, e.g., a jit-lock chunk begins
4580 inside a declaration.
4581
4582 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4583
b796c9b7
SM
4584 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4585 New function.
bf2c1571
AM
4586 (c-complex-decl-matchers): Insert reference to
4587 c-font-lock-enclosing-decls.
4588
4589 * progmodes/cc-engine.el (c-backward-single-comment):
4590 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4591 to nil around calls to (forward-comment -1).
4592
4e190b80
LMI
45932011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4594
12dc863d
LMI
4595 * image.el (put-image): Doc typo fix.
4596
a762e966
LMI
4597 * progmodes/etags.el (tags-search): Doc typo fix.
4598
4e190b80
LMI
4599 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4600 password if we get errors 550 to 554.
4601
f019fb21
LMI
46022011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4603
b796c9b7 4604 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4605
81746738
LMI
4606 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4607 indentation character (bug#6380).
4608
3ee3a1b5
LMI
4609 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4610
c82f64de
LMI
4611 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4612 to clarify what the problem is (bug#4291).
4613
f019fb21
LMI
4614 * simple.el (current-kill): Clarify what
4615 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4616 (auto-fill-mode): Document `auto-fill-function' in relation to
4617 `auto-fill-mode' (bug#2470).
f019fb21 4618
0794775d
LM
46192011-07-16 Lawrence Mitchell <wence@gmx.li>
4620
4621 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4622 method if slot is read-only (bug#9035).
4623
be39b8cc
MR
46242011-07-16 Martin Rudalics <rudalics@gmx.at>
4625
b796c9b7 4626 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4627 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4628 selected before, see discussion of (Bug#8615), (Bug#6954).
4629 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4630
6ccf7859
GM
46312011-07-15 Glenn Morris <rgm@gnu.org>
4632
4633 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4634 Respect help-form.
6ccf7859 4635
87e86684
LM
46362011-07-09 Lawrence Mitchell <wence@gmx.li>
4637
4638 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4639 (gnutls-negotiate): Use it.
4640
d6066239
LMI
46412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4642
b796c9b7
SM
4643 * net/gnutls.el (gnutls-negotiate):
4644 Upcase `gnutls-algorithm-priority'.
d6066239 4645
bd23ebc0
GM
46462011-07-15 Glenn Morris <rgm@gnu.org>
4647
c65bca65
GM
4648 * jka-compr.el (jka-compr-verbose): Move from here...
4649 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4650 Add missing :version tag.
4651 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4652
478615cc
LMI
46532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4654
7b41decb
LMI
4655 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4656 (gnutls-negotiate): Use it.
4657
dbc44fcd
LMI
4658 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4659
06789f97
LMI
4660 * info.el (Info-beginning-of-buffer): New command.
4661 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4662 announcing `b' as the key (bug#8325).
ab896c37 4663 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4664
c39da690
LMI
4665 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4666
3aa5f34b
LMI
4667 * international/mule-cmds.el
4668 (describe-specified-language-support): Make the error message
4669 clearer (bug#8905).
4670
4bf0979f
LMI
4671 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4672
478615cc
LMI
4673 * isearch.el (isearch-barrier): Add a doc string, since it's
4674 mentioned in a function doc string (bug#8678).
4675
75c68aa1
MR
46762011-07-15 Martin Rudalics <rudalics@gmx.at>
4677
4678 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4679 buffer argument (Bug#9083) and self-identifying label argument.
4680
a7c33da2
GM
46812011-07-15 Glenn Morris <rgm@gnu.org>
4682
4683 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4684
2f5c6024
LMI
46852011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4686
4687 * man.el (Man-fontify-manpage): Fix message when formatting the
4688 man page (bug#7929).
4689
0bb23927 46902011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4691
4692 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4693 argument LRM; if non-nil, append an invisible LRM character to the
4694 buffer name.
4695 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4696 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4697 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4698 paragraph direction.
cce4b0a7 4699
621ef9ab
LMI
47002011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4701
d1583c48
LMI
4702 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4703 the man page name (bug#7929).
4704
6a57fb5f
LMI
4705 * image.el (put-image): Mention the `put-image' overlay property
4706 (bug#7834).
4707
d7956b14
LMI
4708 * scroll-bar.el (set-scroll-bar-mode): Mention that
4709 `scroll-bar-mode' lists the values (bug#7772).
4710
5b2d4a66
LMI
4711 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4712 command (bug#7729).
4713
7509a874
LMI
4714 * rect.el (apply-on-rectangle): Return the point after the last
4715 operation.
4716 (string-rectangle): Go to the point after the last operation
4717 (bug#7522).
4718
4fe74b19
LMI
4719 * printing.el (pr-toggle-region): Clarify the documentation
4720 slightly (bug#7493).
4721
b796c9b7
SM
4722 * time.el (display-time-update):
4723 Allow `display-time-mail-function' to return nil (bug#7158).
4724 Fix suggested by Detlev Zundel.
ab283561 4725
fc233c9d
LMI
4726 * vc/diff.el (diff): Clarify the order the file names are read
4727 (bug#7111).
4728
43f5740b
LMI
4729 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4730 the doc string (bug#7015).
4731
f2182a76
LMI
4732 * font-lock.el (font-lock-maximum-decoration): Mention what
4733 numeric levels mean (bug#6935).
4734
621ef9ab
LMI
4735 * startup.el (initial-buffer-choice): Don't mention the `none'
4736 selection, which is against policy.
4737
adc47434
MR
47382011-07-14 Martin Rudalics <rudalics@gmx.at>
4739
b796c9b7
SM
4740 * window.el (display-buffer-normalize-special):
4741 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4742
7e5bfb8f
EZ
47432011-07-14 Eli Zaretskii <eliz@gnu.org>
4744
4745 * subr.el (version<, version<=, version=): Mention "-CVS" and
4746 "-12345" alpha version numbers.
4747
27fa387a
CY
47482011-07-14 Chong Yidong <cyd@stupidchicken.com>
4749
4750 * bindings.el: Add advertised binding for set-mark-command
4751 (Bug#5772).
4752
8bdfa064
CY
47532011-07-14 Chong Yidong <cyd@stupidchicken.com>
4754
4755 * bindings.el (mode-line-other-buffer):
4756 * bookmark.el (bookmark-bmenu-2-window):
4757 * bs.el (bs-cycle-next, bs-cycle-previous):
4758 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4759 switch-to-buffer.
4760
4761 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4762 Delete.
8bdfa064 4763
5eba16a3
JB
47642011-07-14 Juanma Barranquero <lekktu@gmail.com>
4765
4766 * follow.el (follow-debug-message, follow-redisplay):
4767 * jka-cmpr-hook.el (with-auto-compression-mode):
4768 Fix typos in docstrings.
4769
15853710
LMI
47702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4771
a28e4607
LMI
4772 * subr.el (with-silent-modifications): Clarify somewhat what the
4773 macro inhibits (bug#6525).
4774
15853710
LMI
4775 * simple.el (eval-expression): Note what it does if called
4776 interactively (bug#6495).
4777
bee0fcef
CY
47782011-07-13 Chong Yidong <cyd@stupidchicken.com>
4779
b796c9b7
SM
4780 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4781 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4782
4783 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4784 Remove switch-to-buffer.
4785
58274504
LMI
47862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4787
bd2fcc8d
LMI
4788 * files.el (make-directory): Clarify that an error will be raised
4789 if there's an error (bug#6397).
4790
0f04b32c
LMI
4791 * startup.el (initial-buffer-choice): Add `none' as a choice
4792 (bug#6234).
4793
465c5fc8
LMI
4794 * subr.el (add-hook): Clarify section about buffer-local hooks
4795 (bug#6218).
4796
58274504
LMI
4797 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4798
bead9a43
JB
47992011-07-13 Juanma Barranquero <lekktu@gmail.com>
4800
4801 * tabify.el (untabify): Preserve the current column so that point
4802 doesn't move (bug#6032).
4803
3af98a7b
LMI
48042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4805
b796c9b7
SM
4806 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4807 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4808
6240145a
GM
48092011-07-13 Glenn Morris <rgm@gnu.org>
4810
4811 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4812 (dired-insert-directory): Give a message the first time
4813 if ls is found not to support --dired.
4814
1d8c2ccc
LMI
48152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4816
4817 * simple.el (toggle-truncate-lines): Clarify what is toggled
4818 (bug#5580). Text by Drew Adams.
4819
5fc4038e
CY
48202011-07-13 Chong Yidong <cyd@stupidchicken.com>
4821
4822 * simple.el (blink-matching-open): Make the error message from the
4823 last change less verbose.
4824
bf6012e5
DN
48252011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4826
4827 * font-lock.el (font-lock-comment-face): Use the high contrast
4828 "yellow" color for font-lock-comment-face on low color terminals
4829 using a dark background color (bug#4221).
4830
343c3b5a
LMI
48312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4832
7e9505c5
LMI
4833 * dired.el (dired-insert-set-properties): Make the doc string
4834 reflect what it does now (bug#5325).
4835
c26fdcf5
LMI
4836 * simple.el (blink-matching-open): Say that we were unable to find
4837 the match within the limit, if we're limited (bug#5122).
4838
bb388cc5
LMI
4839 * international/mule-cmds.el (prefer-coding-system): Add an
4840 example (bug#4869).
4841
343c3b5a
LMI
4842 * progmodes/etags.el (tags-search): Document `file-list-form'
4843 (bug#4731).
4844
2a517d45
LM
48452011-07-13 Lawrence Mitchell <wence@gmx.li>
4846
4847 * net/browse-url.el (browse-url-default-browser)
4848 (browse-url-browser-function): Make the default browser choice a
4849 bit more logical (bug#4300). Also clean up the doc string.
4850
b6c78ef2
JB
48512011-07-13 Juanma Barranquero <lekktu@gmail.com>
4852
4853 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4854 binary endings (bug#4440).
4855
1c4dd947
LMI
48562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4857
a2014063
LMI
4858 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4859 which can be pretty annoying (bug#8971).
4860
9c9c2d88
LMI
4861 * jka-compr.el (jka-compr-verbose): New variable, and use
4862 throughout (bug#8971).
4863
1c4dd947
LMI
4864 * info.el (Info-find-file): Fall back on the installation
4865 directory if we can't find the info node anywhere else.
4866
a1c9f41b
SO
48672011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4868
4869 * vc/vc.el (vc-revert-file):
4870 Don't set file time-stamp in the past. (Bug#5181)
4871
536f3d36
LMI
48722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4873
7152b011
LMI
4874 * files.el (after-find-file): Give a better error message when
4875 trying to find a symlink that points to a file that doesn't exist
4876 (bug#4398).
4877
536f3d36
LMI
4878 * progmodes/cc-vars.el: Remove (probably) misleading comment
4879 (bug#4396).
4880
460c0fba
JB
48812011-07-12 Johan Bockgård <bojohan@gnu.org>
4882
4883 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4884
7a6bda45
CY
48852011-07-12 Chong Yidong <cyd@stupidchicken.com>
4886
4887 * mouse-sel.el: Hack restoring functionality, while keeping
4888 compatibility with 2010-07-03 changes to mouse selection.
4889 (mouse-sel-primary-overlay): New var.
4890 (mouse-sel-selection-alist): Use it.
4891 (mouse-sel-mode): Doc fix; remove points that are default features
4892 of mouse.el.
4893
c79598ef
JB
48942011-07-12 Johan Bockgård <bojohan@gnu.org>
4895
4896 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4897 Fix previous fix (bug#2490).
4898
ff8be6ef
RW
48992011-07-12 Roland Winkler <winkler@gnu.org>
4900
b796c9b7
SM
4901 * textmodes/bibtex.el (bibtex-initialize):
4902 Use pop-to-buffer-same-window.
ff8be6ef
RW
4903 (bibtex-search-entries): Fix interactive call.
4904
296ba3ee
LMI
49052011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4906
f5242a02 4907 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4908 Fontise bytecomp Error lines more correctly (bug#2490).
4909 Fix suggested by Johan Bockgård.
f5242a02 4910
296ba3ee
LMI
4911 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4912
4913 * dired-x.el (dired-guess-default): Use `delete-dups'.
4914
f69fd0d2
CY
49152011-07-12 Chong Yidong <cyd@stupidchicken.com>
4916
4917 * dired.el (dired-mark-prompt):
4918 * dired-aux.el (dired-read-shell-command): Doc fix.
4919
eab5dc07
LMI
49202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4921
b796c9b7
SM
4922 * mail/sendmail.el (sendmail-query-once):
4923 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4924 emacs -Q.
4925
4926 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4927
eab5dc07
LMI
4928 * cus-edit.el (custom-file): Take an optional no-error variable.
4929 (customize-save-variable): Set the variable, and give a warning if
4930 running under "emacs -q".
4931
a1e65d42
JB
49322011-07-11 Juanma Barranquero <lekktu@gmail.com>
4933
4934 * loadhist.el (unload-feature-special-hooks):
4935 Add `auto-coding-functions', `fill-nobreak-predicate' and
4936 `find-directory-functions' (bug#5327).
4937
1d52da10
LMI
49382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4939
be958f1d
LMI
4940 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4941
5bedb26c
LMI
4942 * cus-edit.el (custom-guess-name-alist): -alist variables should
4943 use the `alist' type (bug#3120). Suggested by Drew Adams.
4944
1d52da10
LMI
4945 * printing.el: Add documentation to all the `pr-toggle-' commands.
4946
cd394be1 49472011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4948
4949 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4950 backends where it makes sense (bug#2623).
4951
dcc88d8a
LMI
49522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4953
c3de9feb
LMI
4954 * dired-x.el (dired-guess-default): Remove duplicate shell command
4955 entries (bug#2028).
8a93078b 4956 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4957 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4958
dcc88d8a
LMI
4959 * subr.el (remove-duplicates): New conveniency function.
4960
505e3645
LMI
49612011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4962
4963 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4964 (bug#1526).
4965
49662011-07-10 Martin Rudalics <rudalics@gmx.at>
4967
4968 * window.el (display-buffer-normalize-default): Don't invert
4969 meaning of even-window-heights. Reported by Eli Zaretskii
4970 <eliz@gnu.org>.
4971
455e4fa1
BR
49722011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4973
4974 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4975
8e0bc3e9
CY
49762011-07-10 Chong Yidong <cyd@stupidchicken.com>
4977
4978 * window.el (display-buffer): Fix arguments to
4979 display-buffer-reuse-window in last change.
4980
fa7c3228
CY
4981 * faces.el (link): Use a less saturated blue on light backgrounds.
4982
4983 * startup.el (fancy-startup-text, fancy-about-text)
4984 (fancy-startup-tail): Use font-lock faces, for background safety.
4985
c0a7f300
BN
49862011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4987
b796c9b7
SM
4988 * emulation/viper-cmd.el (viper-change-state-to-vi):
4989 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4990
4dc2a129
MR
49912011-07-09 Martin Rudalics <rudalics@gmx.at>
4992
4993 * window.el (display-buffer-default-specifiers): Remove.
4994 (display-buffer-macro-specifiers): Remove default specifiers.
4995 (display-buffer-alist): Default to nil.
b796c9b7 4996 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4997 (display-buffer-pop-up-window): Allow splitting internal
4998 windows. Check whether a live window was created.
4999 (display-buffer-other-window-means-other-frame)
5000 (display-buffer-normalize-arguments): Rename to
5001 display-buffer-normalize-argument and rewrite. Set the
5002 other-window specifier.
5003 (display-buffer-normalize-special): New function.
5004 (display-buffer-normalize-options): Rename to
5005 display-buffer-normalize-default and rewrite.
5006 (display-buffer-normalize-options-inhibit): Remove.
5007 (display-buffer-normalize-specifiers): Rewrite.
5008 (display-buffer): Process other-window specifier and call
5009 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5010 more faithfully.
b796c9b7 5011 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5012 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5013 (display-buffer-in-window, display-buffer-alist-set):
5014 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5015 <tassilo@member.fsf.org>.
5016
2d43b8c9
LL
50172011-07-09 Leo Liu <sdl.web@gmail.com>
5018
5019 * register.el (insert-register): Restore accidental change on
5020 2011-06-26. (Bug#9028)
5021
7f9b7c53
GM
50222011-07-09 Glenn Morris <rgm@gnu.org>
5023
5024 * subr.el (remq): Handle the empty list. (Bug#9024)
5025
f042cfd8
AS
50262011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5027
5028 * mail/sendmail.el (send-mail-function): No longer delay custom
5029 initialization.
5030 * custom.el (custom-initialize-delay): Doc fix.
5031
856b2f11
SM
50322011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5035
afae1d68
MA
50362011-07-08 Michael Albinus <michael.albinus@gmx.de>
5037
5038 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5039 human-friendly prompt.
5040
0757af94
SM
50412011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5044 provided by a particular plugin.
5045
d760b731
LMI
50462011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5047
5048 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5049 save customizations (with "emacs -Q"), just set the variable
5050 instead of erroring out.
5051
5052 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5053
cd79ce90
JL
50542011-07-08 Juri Linkov <juri@jurta.org>
5055
5056 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5057 (archive-zip-update-case): Use 7z if found by `executable-find'.
5058 The order of searching the available programs is the same as in
5059 `archive-zip-extract' (bug#8968).
5060
14cc04aa
CY
50612011-07-07 Chong Yidong <cyd@stupidchicken.com>
5062
5063 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5064 (menu-bar-options-menu): Tweak descriptions.
5065
0a1848ec
LMI
50662011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5067
5068 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5069 menu items into verb phrases (bug#1421). Also refill to fit under
5070 80 columns.
5071
f5bd0689
CY
50722011-07-07 Chong Yidong <cyd@stupidchicken.com>
5073
538e85c6
CY
5074 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5075 (Info-read-node-name): Doc fix (Bug#1084).
5076
f5bd0689
CY
5077 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5078 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5079 (end-of-sexp, beginning-of-sexp)
5080 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5081 (forward-symbol, forward-same-syntax, word-at-point)
5082 (sentence-at-point): Doc fix (Bug#1144).
5083
56ec5115
LMI
50842011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085
f3f8e37f
LMI
5086 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5087 should cover it (bug#1281).
5088
0757af94 5089 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5090
e9fce1ac 5091 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5092 negotiation fails, then possibly try again with a non-encrypted
5093 connection (bug#9017).
5094
56ec5115
LMI
5095 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5096 be used.
5097
c2f9aec8
RS
50982011-07-07 Richard Stallman <rms@gnu.org>
5099
5100 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5101 property, and handle its changed format.
5102 Look for the correct line number.
5103 Use file's line contents (but not past first =) to find
5104 correct line in message.
5105
ef7b981d 51062011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5107
5108 * international/characters.el (build-unicode-category-table):
5109 Delete it.
0757af94 5110 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5111
0757af94 5112 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5113 to src/chartab.c.
5114 (get-char-code-property): Call unicode-property-table-internal to
5115 load a file. Call get-unicode-property-internal where necessary.
5116 (put-char-code-property): Call unicode-property-table-internal to
5117 load a file. Call put-unicode-property-internal where necessary.
5118 put-unicode-property-internal where necessary.
0757af94
SM
5119 (char-code-property-description):
5120 Call unicode-property-table-internal to load a file.
c805dec0
KH
5121
5122 * international/charprop.el:
5123 * international/uni-bidi.el:
5124 * international/uni-category.el:
5125 * international/uni-combining.el:
5126 * international/uni-comment.el:
5127 * international/uni-decimal.el:
5128 * international/uni-decomposition.el:
5129 * international/uni-digit.el:
5130 * international/uni-lowercase.el:
5131 * international/uni-mirrored.el:
5132 * international/uni-name.el:
5133 * international/uni-numeric.el:
5134 * international/uni-old-name.el:
5135 * international/uni-titlecase.el:
5136 * international/uni-uppercase.el: Regenerate.
5137
5138 * loadup.el: Load international/charprop.el before
5139 international/characters.
5140
e14b388a
CY
51412011-07-07 Chong Yidong <cyd@stupidchicken.com>
5142
5143 * window.el (next-buffer, previous-buffer): Signal an error if
5144 called from a minibuffer window.
5145
5146 * bindings.el: Revert 2011-07-04 change.
5147
354cf0ba
RS
51482011-07-06 Richard Stallman <rms@gnu.org>
5149
5150 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5151 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5152 Treat markers like ints.
5153 (rmail-mime-entity): Doc fix.
5154
a48868a7
LMI
51552011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5156
4906cd3d
LMI
5157 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5158 defcustom again for backwards compatibility.
5159
e0457abe
LMI
5160 * simple.el (shell-command-on-region): Fill.
5161
d67f7e1f
LMI
5162 * dired-aux.el (dired-kill-line): Add a doc string.
5163
fe204702
LMI
5164 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5165 to "\\sw\\|\\s_" (bug#358).
5166
a48868a7
LMI
5167 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5168 (dired-unmark-backward): Ditto.
5169 (dired-flag-backup-files): Ditto.
5170
5171 * dired-x.el (dired-mark-sexp): Ditto.
5172
aa8a705c
RS
51732011-07-06 Richard Stallman <rms@gnu.org>
5174
5175 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5176 (rmail-mime-entity): New arg TRUNCATED.
5177 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5178 New functions.
5179 (rmail-mime-save): Warn if entity is truncated.
5180 (rmail-mime-toggle-hidden): Likewise, for showing.
5181 (rmail-mime-process-multipart): Record when an entity is truncated.
5182
a9a936b9
RS
5183 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5184 if ENTITY is a string.
5185
1f2b92cb
LMI
51862011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5187
f4f73198 5188 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5189 of faces when `M-C-x'-ing their definitions (bug#8378).
5190 Also clean up the code slightly.
f4f73198 5191
12b16734 5192 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5193 because that makes the colors go away.
12b16734 5194
f0691d22
LMI
5195 * mail/sendmail.el (send-mail-function): Change the default to
5196 `sendmail-query-once'.
9e87df06 5197 (sendmail-query-once): Add an autoload cookie.
f0691d22 5198
1f2b92cb
LMI
5199 * net/network-stream.el (network-stream-open-starttls): Try using
5200 a plain connection even if the server offered STARTTLS, and we
5201 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5202 capability. This should make smtpmail.el work in slightly more
5203 configurations.
5204
1cdd2a1b
MA
52052011-07-06 Michael Albinus <michael.albinus@gmx.de>
5206
5207 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5208 New defun.
5209 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5210
fbcc67e2
MM
52112011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5212
5213 * progmodes/sql.el: Version 3.0
0757af94 5214 (sql-product-alist): Add product :completion-object,
fbcc67e2 5215 :completion-column, and :statement attributes.
0757af94 5216 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5217 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5218 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5219 ansi keywords.
5220 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5221 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5222 (sql-oracle-show-reserved-words): New function for development.
5223 (sql-product-font-lock): Simplify for source code buffers.
5224 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5225 New functions.
5226 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5227 (sql-mode-map): Add statement movement functions.
5228 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5229 New variable.
fbcc67e2
MM
5230 (sql-statement-regexp, sql-beginning-of-statement)
5231 (sql-end-of-statement, sql-signum): New functions.
0757af94 5232 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5233 (sql-show-sqli-buffer): Bug fix.
5234 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5235 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5236 with sql-interactive-mode.
5237 (sql-save-connection): Save buffer local settings.
0757af94 5238 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5239 (sql-product-interactive): Bug fix.
5240 (sql-preoutput-hold): New variable.
5241 (sql-interactive-remove-continuation-prompt): Bug fixes.
5242 (sql-debug-redirect): New variable.
5243 (sql-str-literal): New function.
5244 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5245 Redesign.
fbcc67e2
MM
5246 (sql-oracle-save-settings, sql-oracle-restore-settings)
5247 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5248 (sql-completion-object, sql-completion-column)
5249 (sql-completion-sqlbuf): New variables.
5250 (sql-build-completions-1, sql-build-completions)
5251 (sql-try-completion): New functions.
5252 (sql-read-table-name): Use them.
5253 (sql-contains-names): New buffer local variable.
5254 (sql-list-all, sql-list-table): Use it.
5255 (sql-oracle-completion-types): New variable.
5256 (sql-oracle-completion-object, sql-sqlite-completion-object)
5257 (sql-postgres-completion-object): New functions.
5258
d4eaeab1
GM
52592011-07-06 Glenn Morris <rgm@gnu.org>
5260
5261 * window.el (pop-to-buffer): Doc fix.
5262
322b7dab 52632011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5264
5265 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5266
322b7dab 52672011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5268
322b7dab 5269 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5270
322b7dab 5271 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5272
605dd5bf
CY
52732011-07-05 Chong Yidong <cyd@stupidchicken.com>
5274
5275 * button.el (button): Inherit from link face. Suggested by Dan
5276 Nicolaescu.
5277
7dbfa719
SM
52782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5279
3db614b0
SM
5280 * progmodes/gdb-mi.el: Fit in 80 columns.
5281 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5282 switch-to-buffer.
5283
7dbfa719
SM
5284 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5285 if imenu is simply not configured (bug#8941).
5286
919d884a
KM
52872011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5288
5289 * allout.el (allout-post-undo-hook): New allout outline-change
5290 event hook to signal undo activity.
5291 (allout-post-command-business): Run allout-post-undo-hook if an
5292 undo just occurred.
7dbfa719
SM
5293 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5294 * allout-widgets.el (allout-widgets-after-undo-function):
5295 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5296 in the vicinity of an undo.
5297 (allout-widgets-mode): Include allout-widgets-after-undo-function
5298 on the new allout-post-undo-hook.
5299
450a0f09
SM
53002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5303 Let define-derived-mode define it.
5304 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5305 cycles of abbrev-table inheritance (bug#8998).
5306
2de69e00
RW
53072011-07-05 Roland Winkler <winkler@gnu.org>
5308
5309 * textmodes/bibtex.el: Add support for biblatex.
5310 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5311 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5312 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5313 (bibtex-entry-alist, bibtex-field-alist): New variables.
5314 (bibtex-entry-field-alist): Obsolete alias for
5315 bibtex-BibTeX-entry-alist.
5316 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5317 (bibtex-set-dialect): New command.
5318 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5319 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5320 Bind via bibtex-set-dialect.
2de69e00
RW
5321 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5322 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5323 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5324 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5325 Define via bibtex-set-dialect.
450a0f09
SM
5326 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5327 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5328 (bibtex-vec-push, bibtex-vec-incr): New functions.
5329 (bibtex-format-entry, bibtex-field-list)
5330 (bibtex-print-help-message, bibtex-validate)
5331 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5332
2dcdbdd9
SM
53332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * progmodes/compile.el (compilation-goto-locus):
5336 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5337 * bs.el (bs-cycle-next, bs-cycle-previous):
5338 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5339 * bindings.el (mode-line-other-buffer):
5340 * autoinsert.el (auto-insert):
5341 * arc-mode.el (archive-extract):
5342 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5343
b27640fe
JB
53442011-07-05 Juanma Barranquero <lekktu@gmail.com>
5345
5346 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5347 Fix check of `emacs-lock-unlockable-modes'.
5348 Coerce true values of `emacs-lock--try-unlocking' to t.
5349
53bbe3ad
JB
53502011-07-05 Juanma Barranquero <lekktu@gmail.com>
5351
5352 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5353 * emacs-lock.el: New file.
5354
1d3cdbc7
JD
53552011-07-05 Julien Danjou <julien@danjou.info>
5356
5357 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5358 than `boundp' to check if face is set.
5359
9173deec
JB
53602011-07-05 Juanma Barranquero <lekktu@gmail.com>
5361
5362 * register.el (registerv-make):
5363 * window.el (window-min-height): Fix typos in docstrings.
5364
869795d6
JD
53652011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5366
9173deec 5367 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5368 Update doc string.
5369
b768cdcd
JB
53702011-07-04 Juanma Barranquero <lekktu@gmail.com>
5371
5372 * server.el (server-execute): Catch quit and call
5373 `server-return-error' to pass the error back to emacsclient and
5374 close the connection (bug#8942).
5375
13aa217b
KM
53762011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5377
5378 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5379 insecure exception for current topic. Also note that auto-saves
5380 are handled differently.
5381
5382 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5383 State variables for tracking auto-save inhibition situation.
5384
5385 (allout-write-contents-hook-handler): Rename from
5386 'allout-write-file-hook-handler', and describe how it depends on
5387 write-contents-functions sensitivity to non-nil value to prevent
5388 file write.
5389
5390 (allout-auto-save-hook-handler): Remove. auto-save does not check
5391 this in individual buffers, only in the starting buffer, so this
5392 is not the right way for us to inhibit auto-save in a buffer
5393 according to its condition.
5394
5395 (allout-mode): Use new allout-write-contents-hook-handler, and
5396 only with write-contents-functions. Remove auto-save provisions -
5397 they're implemented elsewhere.
5398
5399 (allout-before-change-handler): If undo is in progress, note that
5400 for attention of allout-post-command-business.
5401
5402 (allout-post-command-business): If the command we're following was
5403 an undo, check for change in the status of encrypted items and
5404 adjust auto-save inhibitions accordingly.
5405
5406 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5407 according to whether there are or aren't any plain-text topics
5408 pending encryption.
5409
2dcdbdd9 5410 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5411 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5412 if there are plain-text topics pending encryption.
13aa217b
KM
5413
5414 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5415 buffer-saved-size and some allout state to not inhibit auto-saves
5416 if there are no longer any plain-text topics pending encryption.
5417
0757af94
SM
5418 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5419 No longer provide for exemption of the current topic.
13aa217b 5420
ac89b32c
JL
54212011-07-04 Juri Linkov <juri@jurta.org>
5422
5423 Add 7z operations to delete and save changed members (bug#8968).
5424 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5425 New defcustoms.
5426 (archive-7z-write-file-member): New function.
5427 (archive-7z-summarize): Fix the number of dashes in the
5428 listing output.
5429
8fa39615
SM
54302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5431
5432 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5433 (bug#8958).
5434
2f11b3f1
CY
54352011-07-04 Chong Yidong <cyd@stupidchicken.com>
5436
d66fef2b
CY
5437 * bindings.el: Ignore next-buffer and previous-buffer in
5438 minibuffer-local-map.
5439
2f11b3f1
CY
5440 * font-lock.el (font-lock-builtin-face): Change light background
5441 color to dark slate blue (Bug#6693).
5442
f932a347
WD
54432011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5444
5445 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5446
c8af70e1
SM
54472011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5450 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5451 Add switch-to-buffer.
5452
f158badc
LMI
54532011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5454
5455 * isearch.el (isearch-search-fun-function): Clarify further the
5456 meaning of the function returned.
5457
6d95bd46
MA
54582011-07-04 Michael Albinus <michael.albinus@gmx.de>
5459
5460 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5461
5462 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5463 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5464 Use it.
5465 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5466 `tramp-default-remote-path' does not exist.
5467 (tramp-send-command-and-read): New optional argument NOERROR.
5468 (tramp-open-connection-setup-interactive-shell)
5469 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5470 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5471 (tramp-process-sentinel): Flush also process' connection property.
5472 (tramp-sh-handle-start-file-process): Do not set process
5473 sentinel. It is done now ...
5474 (tramp-maybe-open-connection): ... here. (Bug#8929)
5475
909e6b67
MK
54762011-07-04 MON KEY <monkey@sandpframing.com>
5477
5478 * play/animate.el (animate-string): Doc fixes and allow changing
5479 the buffer name (bug#5417).
5480
54812011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5482
c8af70e1 5483 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5484
f34755dc
PE
54852011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5486
396cec72
PE
5487 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5488 This is simpler and helps future-proof the code.
5489 (timer-until): Use time-subtract and float-time.
08235028 5490 (timer--time-less-p): Use time-less-p.
f34755dc 5491
56e6cc31
JB
54922011-07-04 Juanma Barranquero <lekktu@gmail.com>
5493
3abb79e5
JB
5494 * type-break.el (timep): Use the value of `float-time' to avoid a
5495 byte-compiler warning.
5496
56e6cc31
JB
5497 * server.el (server-eval-and-print): Return any result, even nil.
5498
7b9430b4
PE
54992011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5500
5501 * type-break.el: Accept time formats that the builtins accept.
5502 (timep, type-break-time-difference): Accept any format that
5503 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5504 This is simpler and helps future-proof the code.
5505 (type-break-time-difference): Round rather than ignoring
5506 subseconds components.
5507
3034e9e7
LMI
55082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5509
5510 * info.el (Info-apropos-matches): Make non-interactive, since it
5511 doesn't seem to do anything useful as a command (bug#8829).
5512
1485f4c0
CY
55132011-07-03 Chong Yidong <cyd@stupidchicken.com>
5514
5515 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5516 Move from faces.el.
1485f4c0
CY
5517 (frame-default-terminal-background): New function.
5518
5519 * custom.el (custom-push-theme): Don't record faces in `changed'
5520 theme; this doesn't work correctly for per-frame face settings.
5521 (disable-theme): Use face-set-after-frame-default to reset faces.
5522 (custom--frame-color-default): New function.
5523
9fa3dd45
LMI
55242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5525
c8af70e1 5526 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5527 (bug#8769).
5528
6cbbc20c
KR
55292011-03-29 Kevin Ryde <user42@zip.com.au>
5530
5531 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5532 `perl-Test2' extend to match possible "fail #N" rep count
5533 (bug#8377).
5534
c7f98048
LMI
55352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5536
65676592
LMI
5537 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5538 `smtpmail-via-smtp' now returns the error instead of nil.
5539
c7f98048
LMI
5540 * isearch.el (isearch-search-fun-function): Clarify the doc string
5541 (bug#8101).
5542
56e6cc31 55432011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5544
5545 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5546 unnecessary spaces (bug#8987).
5547
2b216704
LMI
55482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5549
5550 * net/network-stream.el (open-network-stream): Use the
5551 :end-of-capability command thoughout.
5552
55532011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5554
5555 * net/network-stream.el (open-network-stream): Add the
5556 :end-of-capability command parameter, used by pop3.el.
5557
36adf6ce
LMI
55582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5559
1ca0da0e
LMI
5560 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5561
fc00f69c
LMI
5562 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5563 for list)" (bug#6475).
5564
28fd8759 5565 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5566 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5567 an error (bug#6297).
5568
0dd8b6da
LMI
5569 * man.el (Man-reference-regexp): Allow matching possible
5570 word-wrapped references (bug#6289).
5571
ce1438d6
LMI
5572 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5573 for consistency with the other vc buffers (bug#6197).
5574 (vc-checkin): Ditto.
5575
5576 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5577
36adf6ce
LMI
5578 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5579
e83cc1f7
LMI
55802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5581
8a20ca4c
LMI
5582 * custom.el (defcustom): Clarify that :set is only used in the
5583 Customize user interface (bug#6089).
5584
83319045
LMI
5585 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5586 associated with a file, refuse to run instead of erroring out
5587 (bug#6084).
5588
a8392169
LMI
5589 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5590 the doc string, since it appears that using `fill-column' always
5591 controls the width (bug#7845).
5592
e83cc1f7
LMI
5593 * simple.el (shell-command-on-region): Say where the error output
5594 went if `shell-command-default-error-buffer' is set (bug#6857).
5595
e47ca23b
KM
55962011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5597
5598 * allout.el (allout-yank-processing): Adjust cursor position for
5599 backwards-deleted space.
5600
5601 (allout-rebullet-heading): Register changes with
5602 allout-exposure-changed-hook, so the modified topic is properly
5603 decorated.
5604
5cf56143
LMI
56052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5606
08549772
LMI
5607 * minibuffer.el (completion-in-region): Document PREDICATE
5608 (bug#7136).
5609
48e96771
LMI
5610 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5611 of keyword/argument pairs (bug#6904).
5612
c8af70e1
SM
5613 * replace.el (multi-occur):
5614 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5615
e17d05e2
LMI
56162011-07-02 Drew Adams <drew.adams@oracle.com>
5617
5618 * dired.el (dired-mark-if): Make the message about whether it's
5619 marking or unmarking clearer (bug#8523).
5620
063b0e45
LMI
56212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5622
5623 * disp-table.el (display-table-print-array): New function.
5624 (describe-display-table): Use it to print the vectors more pretty
5625 (Bug#8859).
5626
28545e04
MR
56272011-07-02 Martin Rudalics <rudalics@gmx.at>
5628
5629 * window.el (window-state-get-1): Don't assign clone numbers.
5630 Add clone-of item to list of window parameters.
5631 (window-state-put-2): Don't process clone numbers.
5632 (display-buffer-alist): Fix doc-string.
5633
3349e122
SM
56342011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * subr.el (remq): Don't allocate if it's not needed.
5637 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5638 (keymap--merge-bindings): New functions.
5639 (keymap-canonicalize): Use them to refine the canonicalization.
5640 * minibuffer.el (minibuffer-local-completion-map)
5641 (minibuffer-local-must-match-map): Move initialization from C.
5642 (minibuffer-local-filename-completion-map): Move initialization from C;
5643 don't inherit from anything here.
5644 (minibuffer-local-filename-must-match-map): Make obsolete.
5645 (completing-read-default): Use make-composed-keymap to combine
5646 minibuffer-local-filename-completion-map with either
5647 minibuffer-local-must-match-map or
5648 minibuffer-local-filename-completion-map.
5649
d224ac83
GM
56502011-07-01 Glenn Morris <rgm@gnu.org>
5651
3de63bf8
GM
5652 * type-break.el (type-break-time-sum): Use dolist.
5653
d224ac83
GM
5654 * textmodes/flyspell.el (flyspell-word-search-backward):
5655 Replace CL function.
5656
1a1e3f32
SM
56572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5658
fe3f64d5
SM
5659 * mouse.el (mouse--strip-first-event): New function.
5660 (function-key-map): Use it to map fringe clicks to normal clicks
5661 by default.
5662
eb604e34
SM
5663 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5664 (vc-bzr-revision-completion-table): Add support for annotate and date.
5665
1a1e3f32
SM
5666 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5667 inherit from parent.
5668
5bd35902
LMI
56692011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5670
ace6c69c 5671 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5672 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5673
191e2bed
LMI
5674 * dired.el (dired-mode): Fix up the doc string as suggested by
5675 Drew Adams (bug#8817).
5676
5bd35902
LMI
5677 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5678 cookie, since the manual says that it should be possible to add
5679 this function to `find-file-hook' (bug#8709).
5680
eee8207a
TZ
56812011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5682
5683 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5684 here. Noted Ted Zlatanov as the maintainer.
5685 (cfengine-common-settings, cfengine-common-syntax): New functions
5686 to set up common things between `cfengine-mode' and
5687 `cfengine3-mode'.
5688 (cfengine3-mode): New mode.
5689 (cfengine3-defuns cfengine3-defuns-regex
5690 (cfengine3-class-selector-regex cfengine3-category-regex)
5691 (cfengine3-vartypes cfengine3-font-lock-keywords)
5692 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5693 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5694
36b148cf
MA
56952011-07-01 Michael Albinus <michael.albinus@gmx.de>
5696
5697 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5698
5699 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5700
0bf4ba9a
MR
57012011-07-01 Martin Rudalics <rudalics@gmx.at>
5702
5703 * window.el (same-window-buffer-names, same-window-regexps)
5704 (same-window-p, special-display-frame-alist)
5705 (special-display-popup-frame, special-display-function)
5706 (special-display-buffer-names, special-display-regexps)
5707 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5708 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5709 (split-window-preferred-function, split-height-threshold)
5710 (split-width-threshold, even-window-heights)
5711 (display-buffer-mark-dedicated, window-splittable-p)
5712 (split-window-sensibly, window-safely-shrinkable-p):
5713 Un-obsolete.
5714 (display-buffer): Don't spread args with function specifier
5715 because special-display-popup-frame won't like it.
5716
35837f51
PE
57172011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5718
d0672f86
PE
5719 Time-stamp simplifications and fixes.
5720 These improve accuracy slightly, and future-proof the code
5721 against some potential changes to current-time format.
5722
b9444d97
PE
5723 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5724 by using time-since and float-time.
5725
0ef923dc
PE
5726 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5727 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5728 + NNN microseconds".
5729
2f81380d
PE
5730 * type-break.el (type-break-time-sum): Rewrite using time-add.
5731
845b5c3e
PE
5732 * play/hanoi.el (hanoi-current-time-float): Remove.
5733 All uses replaced by float-time.
5734
ee6f1be0
PE
5735 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5736 This yields a more-accurate answer.
5737 (rng-time-to-float): Remove; no longer needed.
5738
fe955043
PE
5739 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5740
5777162a
PE
5741 * calendar/timeclock.el (timeclock-seconds-to-time):
5742 Defalias to seconds-to-time, since they're the same thing.
5743
3103f8b6 5744 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5745 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5746 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5747
0e61a35f
SM
57482011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * window.el (bury-buffer): Don't iconify the only frame.
5751 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5752 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5753
ddd63a1e
CY
57542011-07-01 Chong Yidong <cyd@stupidchicken.com>
5755
0e61a35f
SM
5756 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5757 Add mouse-yank-primary.
ddd63a1e 5758
055f4923
TZ
57592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5760
5761 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5762
6a2fb145
SM
57632011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5766 (find-library-name): Use it to find relative load names when provided
5767 absolute file name (bug#8803).
5768
fd4983f2
LMI
57692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5770
887d14ad
LMI
5771 * textmodes/flyspell.el (flyspell-word): Consider words that
5772 differ only in case as potential doublons (bug#5687).
5773
c53dc7fc
LMI
5774 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5775 Remove two rather uninteresting debugging-like messages to make
5776 debbugs.el more silent.
5777
fd4983f2
LMI
5778 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5779 a password-like phrase.
5780
b14c0c55
AM
57812011-06-30 Mastake YAMATO <yamato@redhat.com>
5782
5783 * progmodes/cc-guess.el: New file.
5784
6a2fb145 5785 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5786
5787 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5788 derived from `c-basic-common-init'.
5789
5790 * progmodes/cc-mode.el (top-level): Require cc-guess.
5791 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5792
1fa280a3
LM
57932011-06-30 Lawrence Mitchell <wence@gmx.li>
5794
5795 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5796
e6597158
AM
57972011-06-30 Alan Mackenzie <acm@muc.de>
5798
1fa280a3
LM
5799 * progmodes/cc-engine.el (c-guess-continued-construct):
5800 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5801 lock is disabled. Name this case as "CASE G".
5802
68ba37fb
KM
58032011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5804
5805 * allout.el (allout-yank-processing): Fix injection of extra space
5806 between bullet and non-whitespace character in first topic when
5807 pasting, ensuring that the actual spacing in the pasted topic
5808 following the bullet char is preserved. This extra space was
5809 causing pasted encrypted topics to get a decrypted status even
5810 when the content was actually still encrypted. Now the decryption
5811 status from before the paste is preserved.
5812
5813 (allout-flag-region): Set all allout overlays so they evaporate
5814 when reduced to zero length (evanescent), to prevent overlay
5815 leakage.
5816
887a0b34
GM
58172011-06-30 Glenn Morris <rgm@gnu.org>
5818
94b9acce
GM
5819 * w32-fns.el (w32-charset-info-alist): Declare.
5820
1d9b46d4
GM
5821 * find-dired.el (find-grep-options): Simplify.
5822
cc232200
GM
5823 * term/ns-win.el (ns-set-resource): Declare.
5824
28e77c46
GM
5825 * ses.el (row, col): Declare dynamic variables honestly.
5826
887a0b34
GM
5827 * textmodes/reftex-parse.el (index-tags): Declare.
5828
658d8eb8
CY
58292011-06-30 Chong Yidong <cyd@stupidchicken.com>
5830
5831 * cus-edit.el (customize-push-and-save): New function.
5832
5833 * files.el (hack-local-variables-confirm): Use it.
5834
1fa280a3
LM
5835 * custom.el (load-theme): New arg NO-CONFIRM.
5836 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5837 (custom-enabled-themes): Doc fix.
5838
5839 * cus-theme.el (customize-create-theme)
5840 (custom-theme-merge-theme): Callers to load-theme changed.
5841
bb617717
LMI
58422011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5843
d61bdd5d
LMI
5844 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5845 short URLs have at least one dot in them (bug #7614).
5846
bb617717
LMI
5847 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5848 nil, because using a pty is apparently too slow (bug #895).
5849
2f31f37a
LMI
58502011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5851
5852 * mail/sendmail.el (sendmail-query-once): New function.
5853 (sendmail-query-once-function): New variable.
5854
3076b24e
GM
58552011-06-29 Glenn Morris <rgm@gnu.org>
5856
faf2a174
GM
5857 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5858
3076b24e
GM
5859 * ses.el (top-level): Require cl when compiling.
5860 (ses-set-localvars): Fix error statement.
5861 Call it at compile time to silence a storm of warnings.
5862
5386012d
MR
58632011-06-29 Martin Rudalics <rudalics@gmx.at>
5864
5865 * window.el (normalize-live-buffer): Rename to
5866 window-normalize-buffer.
5867 (normalize-live-frame): Rename to window-normalize-frame.
5868 (normalize-any-window): Rename to window-normalize-any-window.
5869 (normalize-live-window): Rename to window-normalize-live-window.
5870 (make-window-atom): Rename to window-make-atom.
5871 (window-resize-reset): Rename to window--resize-reset.
5872 (window-resize-reset-1): Rename to window--resize-reset-1.
5873 (resize-mini-window): Rename to window--resize-mini-window.
5874 (resize-subwindows-skip-p): Rename to
5875 window--resize-subwindows-skip-p.
5876 (resize-subwindows-normal): Rename to
5877 window--resize-subwindows-normal.
5878 (resize-subwindows): Rename to window--resize-subwindows.
5879 (resize-other-windows): Rename to window--resize-siblings.
5880 (resize-this-window): Rename to window--resize-this-window.
5881 (resize-root-window): Rename to window--resize-root-window.
5882 (resize-root-window-vertically): Rename to
5883 window--resize-root-window-vertically.
5884 (normalize-buffer-to-display): Rename to
5885 window-normalize-buffer-to-display.
5886 (normalize-buffer-to-switch-to): Rename to
5887 window-normalize-buffer-to-switch-to.
5888 Correspondingly update all callers of the functions listed
5889 above.
5890 (display-buffer-alist, display-buffer-normalize-arguments)
5891 (display-buffer-normalize-options, display-buffer)
5892 (display-buffer-alist-set): Use "function" instead of
5893 "fun-with-args".
5894
1176868d
CY
58952011-06-28 Chong Yidong <cyd@stupidchicken.com>
5896
5897 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5898 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5899 debbugs.gnu.org. Mention acknowledgment email.
5900
20a7a65f
LMI
59012011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5902
5903 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5904 buffer multibyteness, since it shouldn't matter.
5905
5f45cca5
MR
59062011-06-28 Martin Rudalics <rudalics@gmx.at>
5907
5908 * window.el (display-buffer-in-side-window): Handle dedicated
5909 windows as in display-buffer-reuse-window.
5910 (display-buffer-normalize-alist): Use value of override
5911 specifier.
5912 (display-buffer-normalize-specifiers): Use value of
5913 other-window-means-other-frame specifier.
5914 (display-buffer-alist): Rewrite some texts in widgets.
5915 (display-buffer): Spread arguments when calling function
5916 specified by fun-with-args.
5917
ad85fe1f
DD
59182011-06-28 Deniz Dogan <deniz@dogan.se>
5919
1fa280a3
LM
5920 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5921 Unnest `let'.
da68c4c8 5922
ad85fe1f
DD
5923 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5924 selectors (Bug#5732).
ec49bd31 5925 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5926
a08cc025
JA
59272011-06-27 Jari Aalto <jari.aalto@cante.net>
5928
5929 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5930 (eshell-ls-date-format): New defcustom.
5931 (eshell-ls-file): Use it.
5932
e2b551c5
SM
59332011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5936
8982b231
KY
59372011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5938
5939 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5940 (ange-ftp-make-tmp-name): New arg.
5941 (ange-ftp-file-local-copy): Use it.
5942
36c9fa27
J
59432011-06-27 Jambunathan K <kjambunathan@gmail.com>
5944
5945 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5946 no-conversion (Bug#8870).
5947
d68443dc
MR
59482011-06-27 Martin Rudalics <rudalics@gmx.at>
5949
5950 * window.el (window-right, window-left, window-child)
5951 (window-child-count, window-last-child)
5952 (window-iso-combination-p, walk-window-tree-1)
5953 (window-atom-check-1, window-tree-1, delete-window)
5954 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5955 new naming conventions - window-vchild, window-hchild,
5956 window-next and window-prev are now called window-top-child,
5957 window-left-child, window-next-sibling and window-prev-sibling
5958 respectively.
d615d6d2
MR
5959 (resize-window-reset): Rename to window-resize-reset.
5960 (resize-window-reset-1): Rename to window-resize-reset-1.
5961 (resize-window): Rename to window-resize.
5962 (window-min-height, window-min-width)
5963 (resize-mini-window, resize-this-window, resize-root-window)
5964 (resize-root-window-vertically, adjust-window-trailing-edge)
5965 (enlarge-window, shrink-window, maximize-window)
5966 (minimize-window, delete-window, quit-restore-window)
5967 (split-window, balance-windows, balance-windows-area-adjust)
5968 (balance-windows-area, window-state-put-2)
5969 (display-buffer-even-window-sizes, display-buffer-set-height)
5970 (display-buffer-set-width, set-window-text-height)
5971 (fit-window-to-buffer): Rename all "resize-window" prefixed
5972 calls to use the "window-resize" prefix convention.
5973 (display-buffer-alist): Fix symbol for label specifier.
5974 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5975 corresponding specifier.
5976 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5977
b6458526
VB
59782011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5979
5980 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5981 convention.
5982 (ses-call-printer): Does not pass an empty string to formatter when the
5983 cell is empty to keep from barking printer Calc math-format-value.
5984
d31fd9ac
RS
59852011-06-27 Richard Stallman <rms@gnu.org>
5986
43d5bf84
RS
5987 * battery.el (battery-mode-line-limit): New variable.
5988 (battery-update): Handle it.
5989
d31fd9ac
RS
5990 * mail/rmailmm.el (rmail-mime-process-multipart):
5991 Handle truncated messages.
5992
819a6054
GM
59932011-06-27 Glenn Morris <rgm@gnu.org>
5994
5995 * progmodes/flymake.el (flymake-err-line-patterns):
5996 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5997
cedc73f2
VB
59982011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5999
819a6054 6000 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6001 (ses--clean-!, ses--clean-_): New functions.
6002 (ses-range): Add configurability of readout order, and conversion
6003 to Calc vector.
6004
5e5d49b6
VB
6005 * ses.el (ses-repair-cell-reference-all): New function.
6006 (ses-cell-symbol): Set macro as safe, so that it can be used in
6007 formulas.
6008
56e6cc31 6009 * ses.el: Update cycle detection algorithm.
90ca8b49 6010 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6011 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6012 (ses-set-localvars): New function.
6013 (ses-make-cell): Add property-list as a cell element.
6014 (ses-cell-property-get-fun, ses-cell-property-get)
6015 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6016 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6017 New functions.
90ca8b49
VB
6018 (ses-cell-property-set, ses-cell-property-pop)
6019 (ses-cell-property-get-handle): New macro.
6020 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6021 New aliases, used for code readability.
6022 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6023 cycle detection.
6024 (ses-self-reference-early-detection): New defcustom.
fac916bf 6025 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6026 (ses-mode): Use ses-set-localvars.
6027 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6028 before lauching the update processing.
6029 (ses-initialize-Dijkstra-attempt): New function.
6030 (ses-recalculate-cell): Update for cycle detection based on
6031 Dijkstra algorithm.
6032
2bb63e81
VB
6033 * ses.el: Fix commenting and indenting convention.
6034
c9d29fb8
SM
60352011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * bs.el (bs-cycle-next): Complete last change.
6038
d8e4b68b
JB
60392011-06-27 Drew Adams <drew.adams@oracle.com>
6040
6041 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6042
40098786
LMI
60432011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6044
c9d29fb8
SM
6045 * net/network-stream.el (network-stream-open-starttls):
6046 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6047 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6048
40098786
LMI
6049 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6050 to binary to possibly avoid line encoding issues on Windows (among
6051 other things).
6052
468d09d4
LMI
60532011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6054
6055 * net/network-stream.el (open-network-stream): Return an :error
6056 saying what the problem was, if possible.
6057
6058 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6059 server.
6060
6061 * net/network-stream.el (network-stream-open-starttls): If we
6062 wanted to use STARTTLS, and the server offered it, but we weren't
6063 able to because we had no STARTTLS support, then close the connection.
6064 (open-network-stream): Return an :error element, if present.
6065
16f07dd7
CY
60662011-06-26 Chong Yidong <cyd@stupidchicken.com>
6067
88821ca0
CY
6068 * hl-line.el (hl-line-sticky-flag): Doc fix.
6069 (global-hl-line-sticky-flag): New option (Bug#8323).
6070 (global-hl-line-highlight): Obey it.
6071
16f07dd7
CY
6072 * vc/vc.el (vc-revert-show-diff): Default to t.
6073
6b5ccddf
KM
60742011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6075
c9d29fb8
SM
6076 * allout-widgets.el (allout-widgets-post-command-business):
6077 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6078 undecorated when an isearch is continued past, and isearch
6079 automatically collapses them. This leads to "widget leaks", where
6080 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6081 hidden widgets can slow down cursor travel, substantially.
6082 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6083 so we're doing without this nicety.
6084
6085 (allout-widgets-tally-string): Don't try to do a hash-table-count
6086 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6087 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6088 *Messages* when allout-widgets-maintain-tally is t.
6089
355f2e07
MR
60902011-06-26 Martin Rudalics <rudalics@gmx.at>
6091
6092 * window.el (display-buffer-normalize-argument): Rename to
6093 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6094 LABEL argument. Respect special-display-function when popping up
6095 a new frame. Fix code searching for a window showing the buffer
6096 on another frame.
c9d29fb8
SM
6097 (display-buffer-normalize-specifiers):
6098 Call display-buffer-normalize-arguments.
355f2e07
MR
6099 (display-buffer-in-window): Don't undedicate the window if its
6100 buffer remains the same.
6101 Reported by Drew Adams <drew.adams@oracle.com>.
6102 (display-buffer-alist): Add choice for same-window macro
6103 specfier.
6104 (display-buffer): Mention special meaning of LABEL argument in
6105 doc-string. Fix quoting. Don't pop up a new frame even as
6106 fallback.
6107
7ca8fc42
JB
61082011-06-26 Juanma Barranquero <lekktu@gmail.com>
6109
6110 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6111 avoid deleting the current window in some cases (bug#8911).
6112
bc312254
AS
61132011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6114
6115 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6116 (Bug#8934)
6117
2db18f3f
LMI
61182011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6119
c9d29fb8
SM
6120 * net/network-stream.el (network-stream-open-starttls):
6121 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6122 (network-stream-open-tls): Ditto.
6123
6302e0d3
LL
61242011-06-26 Leo Liu <sdl.web@gmail.com>
6125
6126 * register.el (registerv): New struct.
6127 (registerv-make): New function.
c9d29fb8
SM
6128 (jump-to-register, describe-register-1, insert-register):
6129 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6130 struct. (Bug#8415)
6131
5fdd4046
CY
61322011-06-26 Chong Yidong <cyd@stupidchicken.com>
6133
2afef60a
CY
6134 * vc/vc.el (vc-revert-show-diff): New defcustom.
6135 (vc-diff-internal): New arg specifying diff buffer.
6136 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6137 reuse an existing *vc-diff* buffer (Bug#8927).
6138
5fdd4046
CY
6139 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6140
e93db24a
GM
61412011-06-26 Glenn Morris <rgm@gnu.org>
6142
6143 * progmodes/f90.el (f90-critical-indent): New option.
6144 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6145 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6146 (f90-mode): Doc fix.
6147 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6148 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6149 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6150 (f90-match-end): Handle block, critical.
6151
eefff499
GM
61522011-06-25 Glenn Morris <rgm@gnu.org>
6153
f6ba4cc9
GM
6154 * calendar/diary-lib.el (diary-included-files): Doc fix.
6155 (diary-include-files): New function, extracted from
6156 diary-include-other-diary-files and diary-mark-included-diary-files.
6157 (diary-include-other-diary-files, diary-mark-included-diary-files):
6158 Just call diary-include-files.
6159 (diary-mark-entries): Reset diary-included-files on first call.
6160
16712304
GM
6161 * calendar/diary-lib.el (diary-mark-entries)
6162 (diary-mark-included-diary-files):
6163 Visit included diary-files in temp buffers.
6164
5d8e0d43
GM
6165 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6166 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6167 (f90-start-block-re, f90-imenu-generic-expression)
6168 (f90-looking-at-program-block-start, f90-no-block-limit):
6169 Add support for submodules.
6170
ccf7a5d5
GM
6171 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6172 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6173
11fdef7d 61742011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6175
6176 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6177 buffer-file-type before setting its value, to avoid disastrous
eefff499 6178 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6179
74f53697
JB
61802011-06-25 Juanma Barranquero <lekktu@gmail.com>
6181
6182 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6183
6184 * ses.el (ses-unload-function):
6185 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6186
6187 * proced.el (proced-unload-function):
6188 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6189
18a4ce5e
AR
61902011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6191
6192 * server.el (server-create-window-system-frame): Add parameters arg.
6193 (server-process-filter): Doc fix. Handle frame-parameters.
6194
519d22cc
JB
61952011-06-25 Juanma Barranquero <lekktu@gmail.com>
6196
6197 Fix bug#8730, bug#8781.
6198
6199 * loadhist.el (unload--set-major-mode): New function.
6200 (unload-feature): Use it.
6201
6202 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6203 (python-unload-function): New function.
6204
c206f5b0
SM
62052011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6208
f9ad64f3
GS
62092011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6210
6211 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6212 the candidates list.
6213
7d0da90e
JB
62142011-06-24 Juanma Barranquero <lekktu@gmail.com>
6215
6216 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6217
14b4e83d
RS
62182011-06-23 Richard Stallman <rms@gnu.org>
6219
6220 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6221 (rmail-variables): Set next-error-move-function.
6222 (rmail-what-message): Take argument POS.
6223 (rmail-next-error-move): New function.
6224
273d2baf
SM
62252011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6228 messages for adjacent non-terminals.
6229
56c2cc9a
RS
62302011-06-23 Richard Stallman <rms@gnu.org>
6231
6232 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6233 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6234 (rmail-start-mail): Don't specify use of rmail-mail-return;
6235 that's done by mail-bury now.
6236 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6237
d59eb518
MA
62382011-06-23 Michael Albinus <michael.albinus@gmx.de>
6239
6240 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6241 SIZE is a number.
6242
02cfc6d6
MR
62432011-06-23 Martin Rudalics <rudalics@gmx.at>
6244
6245 * window.el (get-lru-window, get-mru-window)
6246 (get-largest-window): Never return a minibuffer window.
6247 (display-buffer-pop-up-window): Fix a bug that could lead to
6248 reusing the minibuffer window.
6249 (display-buffer): Pass original specifier argument to
6250 display-buffer-function instead of the normalized one.
6251 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6252
4e323265
LL
62532011-06-22 Leo Liu <sdl.web@gmail.com>
6254
6255 * minibuffer.el (completing-read-function)
6256 (completing-read-default): Move from minibuf.c
6257
7a70468f
RS
62582011-06-22 Richard Stallman <rms@gnu.org>
6259
50718fc2
RS
6260 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6261 to Rmail even if not started by a special Rmail command.
6262
7a70468f
RS
6263 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6264 Copy the buffer currently showing just one message.
6265
297dde5a
RW
62662011-06-22 Roland Winkler <winkler@gnu.org>
6267
6268 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6269 (bibtex-clean-entry): First delete the old key so that a
6270 customized algorithm for generating the new key does not get
6271 confused by the old key.
6272 (bibtex-url): Obey regexp of first step.
6273 (bibtex-search-entries): Do not use add-to-list with local
6274 list-var.
6275
97bb1093
LMI
62762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6277
6278 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6279 stored a user name, then query for the password first, instead of
6280 waiting for SMTP to give an error message and the trying again.
6281
1c0f1a19
JD
62822011-06-22 Lawrence Mitchell <wence@gmx.li>
6283
6284 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6285 BUFFER in call-process.
6286
396f7c9d
LMI
62872011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6288
6289 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6290 QUIT twice.
ddb7ffee
LMI
6291 (smtpmail-try-auth-methods): Require user name and password from
6292 auth-source.
396f7c9d 6293
8998d1b3
MR
62942011-06-22 Martin Rudalics <rudalics@gmx.at>
6295
6296 * window.el (display-buffer-default-specifiers)
6297 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6298 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6299 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6300
6301 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6302 (special-display-frame-alist, special-display-popup-frame):
6303 Remove duplicate declarations. These are now in window.el.
6304
4ea31e07
LMI
63052011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6306
c9d29fb8
SM
6307 * mail/smtpmail.el (smtpmail-via-smtp):
6308 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6309 server supports it. SMTP servers that support STARTTLS commonly
6310 require it.
6311
6312 * net/network-stream.el (network-stream-open-starttls): Support
6313 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6314 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6315
95f41d9a
LMI
6316 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6317 upgrades with `open-network-stream', and rely solely on
6318 auth-source for all credentials. Big changes throughout the file,
6319 but in particular:
c9d29fb8
SM
6320 (smtpmail-auth-credentials): Remove.
6321 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6322 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6323 MAIL FROM, too.
95f41d9a 6324
c9d29fb8
SM
6325 * net/network-stream.el (network-stream-open-starttls):
6326 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6327 STARTTLS.
6328 (auth-source): Require.
6329 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6330 (network-stream-certificate): Change cert-cert to cert and
6331 cert-key to key.
4ea31e07 6332
065ec2c7
MA
63332011-06-21 Michael Albinus <michael.albinus@gmx.de>
6334
6335 * net/tramp-cache.el (top): Don't load the persistency file when
6336 "emacs -Q" has been called.
6337
cd93b359
DR
63382011-06-21 Tim Harper <timcharper@gmail.com>
6339
d8e4b68b
JB
6340 * term/ns-win.el (ns-initialize-window-system):
6341 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6342 resource to NO as it is not yet supported by the NS port.
6343
ae9c0411
JB
63442011-06-21 Juanma Barranquero <lekktu@gmail.com>
6345
6346 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6347 (list-dynamic-libraries): ...not here.
6348
7f3f739f
LL
63492011-06-21 Leo Liu <sdl.web@gmail.com>
6350
6351 * subr.el (sha1): Implement sha1 using secure-hash.
6352
327c8fb1
MR
63532011-06-21 Martin Rudalics <rudalics@gmx.at>
6354
6355 * window.el (display-buffer-alist): In default value do not
6356 enforce searching a window on any but the selected frame.
6357 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6358 (display-buffer-select-window): Remove function.
6359 (display-buffer-in-window): When a window on another frame gets
6360 reused, do not select it any more but just raise its frame if
6361 necessary (Bug#8851) and (Bug#8856).
6362 (display-buffer-normalize-options): Handle pop-up-frames related
6363 options more faithfully.
6364 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6365 window if it is on another frame.
c9d29fb8
SM
6366 (display-buffer-alist, display-buffer-default-specifiers):
6367 Don't make new frame unsplittable by default.
9e9de014
MR
6368 (display-buffer-normalize-argument): Fix doc-string typo and use
6369 'same-frame-other-window instead of 'other-window when associating
6370 with display-buffer-macro-specifiers.
327c8fb1 6371
7cf3f556
VB
63722011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6373
6374 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6375 New functions.
6376 (5x5-mode-map, 5x5-mode-menu): Bind them.
6377 (5x5-draw-grid): Tweak the solver's rendering.
6378
60a406cf
SM
63792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6382 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6383
d8e4b68b 63842011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6385
6386 * menu-bar.el: Use function variable instead of switch-to-buffer.
6387 (menu-bar-select-buffer-function): New variable.
60a406cf 6388 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6389
478d6f95
SM
63902011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6393 variable's status.
6394
ca530739
JD
63952011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6396
6397 * x-dnd.el (x-dnd-version-from-flags)
6398 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6399 and long as number (Bug#8899).
6400 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6401
bcd70d97
SM
64022011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6403
60a406cf 6404 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6405 (completion-try-completion, completion-all-completions): Compute the
6406 metadata argument if it's missing; make it optional (bug#8795).
6407
60a406cf 6408 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6409 (widget-complete): Use new :completion-function property.
6410 (widget-completions-at-point): New function.
6411 (default): Use :completion-function instead of :complete.
60a406cf
SM
6412 (widget-default-completions): Rename from widget-default-complete;
6413 Rewrite.
bcd70d97
SM
6414 (widget-string-complete, widget-file-complete, widget-color-complete):
6415 Remove functions.
6416 (file, symbol, function, variable, coding-system, color):
6417 * international/mule-cmds.el (default-input-method, charset)
6418 (language-info-custom-alist):
6419 * cus-edit.el (face): Use new property :completions.
6420
6421 * progmodes/pascal.el (pascal-completions-at-point): New function.
6422 (pascal-mode): Use it.
6423 (pascal-mode-map): Use completion-at-point.
6424 (pascal-toggle-completions): Make obsolete.
6425 (pascal-complete-word, pascal-show-completions):
6426 * progmodes/octave-mod.el (octave-complete-symbol):
6427 Redefine as obsolete alias.
6428 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6429 Signal absence of completion info for old Octave,
6430 (inferior-octave-complete): Redefine as obsolete alias.
6431 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6432 (meta-completions-at-point): Rename from meta-complete-symbol and
6433 adapt it for use on completion-at-point-functions.
6434 (meta-common-mode): Use it.
6435 (meta-looking-at-backward, meta-match-buffer): Remove.
6436 (meta-complete-symbol): Redefine as obsolete alias.
6437 (meta-common-mode-map): Use completion-at-point.
6438 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6439 (makefile-mode-map): Use completion-at-point.
6440 (makefile-completions-at-point): Rename from makefile-complete and
6441 adapt it for use on completion-at-point-functions.
6442 (makefile-mode): Use it.
6443 (makefile-complete): Redefine as obsolete alias.
6444
aebf69c8
DD
64452011-06-20 Deniz Dogan <deniz@dogan.se>
6446
6447 * net/rcirc.el: Delete trailing whitespaces once and for all.
6448
bfbbb27d
DC
64492011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6450
6451 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6452
d264a46b
CY
64532011-06-19 Chong Yidong <cyd@stupidchicken.com>
6454
4ca009e5
CY
6455 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6456
d264a46b
CY
6457 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6458
fbf5b3ce
MR
64592011-06-19 Martin Rudalics <rudalics@gmx.at>
6460
6461 * window.el (display-buffer-other-window-means-other-frame):
6462 Call display-buffer-normalize-alist.
6463 (display-buffer-normalize-specifiers-1): Rename to
6464 display-buffer-normalize-argument. New argument other-frame.
6465 Rewrite.
6466 (display-buffer-normalize-specifiers-2): Rename to
6467 display-buffer-normalize-options.
6468 (display-buffer-normalize-alist-1): New function.
6469 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6470 display-buffer-normalize-alist.
6471 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6472 (display-buffer-normalize-options-inhibit): New variable.
6473 (display-buffer-normalize-specifiers): Rewrite calling
6474 display-buffer-normalize-alist,
6475 display-buffer-normalize-argument, and
6476 display-buffer-normalize-options. Don't call the latter if
6477 display-buffer-normalize-options-inhibit is non-nil.
6478 (frame-auto-delete): New option.
6479 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6480 (window-list-no-nils, window-state-ignored-parameters)
6481 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6482 (window-state-put-1, window-state-put-2, window-state-put):
6483 New functions.
9a028c23
MR
6484 (display-buffer-normalize-options): Move special-display-p group
6485 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6486
6d10d800
CY
64872011-06-18 Chong Yidong <cyd@stupidchicken.com>
6488
6420d28b
CY
6489 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6490 groups (Bug#8776).
6491 (rx-submatch-n): New function.
6492 (rx): Document it.
6493
ddb8b596
CY
6494 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6495 (Bug#8768).
6496
6497 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6498
77080289
CY
6499 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6500
61dfb316
CY
6501 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6502 anytime existing face settings are present (Bug#8889).
6503
6d10d800
CY
6504 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6505 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6506 Remove unused argument.
6507
be3fb2b8
MR
65082011-06-18 Martin Rudalics <rudalics@gmx.at>
6509
bcd70d97
SM
6510 * window.el (display-buffer-default-specifiers):
6511 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6512 pop-up-window-min-width, and another reuse-window specifier
6513 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6514 (display-buffer-normalize-specifiers-2):
6515 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6516 pop-up-windows is unset. Add a reuse-window specifier for the
6517 case popping up a new window fails.
6518 (special-display-popup-frame): Remove double quoting.
28dec25a 6519 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6520
1c6d8c76
SM
65212011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6524 according to comint-completion-addsuffix.
6525
6526 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6527 (pcomplete-suffix-list): Mark as obsolete.
6528 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6529 pcomplete-seen in the closure.
6530 (pcomplete-comint-setup): Setup completion-at-point as well.
6531 (pcomplete--entries): New function.
6532 (pcomplete--env-regexp): New var.
6533 (pcomplete-entries): Rewrite to work with partial-completion and
6534 without relying on pcomplete-suffix-list.
6535 (pcomplete-pare-list): Remove, unused.
6536
25aef8b8
MR
65372011-06-17 Martin Rudalics <rudalics@gmx.at>
6538
6539 * window.el (display-buffer-alist): Set pop-up-window-min-height
6540 and pop-up-window-min-width in default value. Reported by
6541 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6542 other-window-means-other-frame.
6543 (display-buffer-macro-specifiers): Comment out entry for
6544 other-window specifier.
6545 (display-buffer-other-window-means-other-frame): New function.
6546 (display-buffer-normalize-specifiers-1): New arguments
6547 buffer-name and label. Treat other-window case specially.
6548 (display-buffer-normalize-specifiers-2): Treat other-window case
6549 specially.
6550 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6551 (display-buffer-normalize-specifiers):
6552 Call display-buffer-normalize-specifiers-3.
25aef8b8 6553
dbad4f69
MR
65542011-06-17 Martin Rudalics <rudalics@gmx.at>
6555
6556 * window.el (same-window-p): Fix two typos introduced when
6557 adding with-no-warnings.
d1067961
MR
6558 (display-buffer-normalize-specifiers-1): Don't check
6559 pop-up-frames for 'unset initialization.
6560 (display-buffer-normalize-specifiers-2): Major rewrite using
6561 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6562 (pop-up-frames, display-buffer-reuse-frames)
6563 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6564 Suggested by David Engster <deng@randomsample.de>.
6565 (even-window-heights): Initialize to 'unset.
6566 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6567 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6568 other window case.
dbad4f69 6569
9b9c9e3a
MR
65702011-06-16 Martin Rudalics <rudalics@gmx.at>
6571
bcd70d97
SM
6572 * window.el (display-buffer-normalize-specifiers-1):
6573 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6574 second argument of display-buffer (Bug#8865).
981d5c09
MR
6575 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6576 (switch-to-buffer-other-window-same-frame)
6577 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6578 Adams (Bug#8875).
9c2755e9
MR
6579 (display-buffer): Don't check noninteractive when calling
6580 display-buffer-pop-up-frame.
6581 (display-buffer-pop-up-frame): Never pop up a frame in
6582 noninteractive mode (Bug#8857).
67222e1d
MR
6583 (enlarge-window, shrink-window): Don't report an error when the
6584 window can't be resized as requested (Bug#8862).
9b9c9e3a 6585
2b75be67
SM
65862011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6587
9ffdd3ba
SM
6588 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6589
cb581a67
SM
6590 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6591
2b75be67
SM
6592 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6593
8c0e3589
AM
65942011-06-15 Alan Mackenzie <acm@muc.de>
6595
cb581a67
SM
6596 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6597 for declarators, disable knr checking to speed up for normal files.
6598 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6599
b96e6cde
LMI
66002011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6601
4bba86e6
LMI
6602 * net/network-stream.el (open-network-stream): Add the keyword
6603 :always-query-capabilities for the case where you want to force a
6604 `plain' network connection, but the protocol still requires the
6605 capabilitiy command (i.e., SMTP and EHLO).
6606
2b75be67 6607 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6608 consistency with other `-live-p' functions.
6609
efdcdbf8
SM
66102011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * window.el (same-window-buffer-names, same-window-regexps)
6613 (special-display-frame-alist, special-display-popup-frame)
6614 (special-display-function, special-display-buffer-names)
6615 (special-display-regexps, pop-up-frame-alist)
6616 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6617 (pop-up-windows, split-window-preferred-function)
6618 (split-height-threshold, split-width-threshold, even-window-heights)
6619 (display-buffer-mark-dedicated): Don't encourage the use of
6620 display-buffer-alist from Elisp code.
6621
c5cde042
DN
66222011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6623
6624 * progmodes/python.el (python-mode): Derive from prog-mode.
6625 * progmodes/ps-mode.el (ps-mode):
6626 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6627 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6628 * progmodes/ld-script.el (ld-script-mode): Likewise.
6629
baa1c9ab
MR
66302011-06-15 Martin Rudalics <rudalics@gmx.at>
6631
6632 * window.el (display-buffer-alist): Trim default value to avoid
6633 popping up a new frame (Bug#8857) or reusing an arbitrary window
6634 on another frame.
6635 (display-buffer): Do not fall back on popping up a new frame in
6636 batch mode (Bug#8857).
6637
c5dd5a51
CY
66382011-06-14 Chong Yidong <cyd@stupidchicken.com>
6639
6640 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6641 (custom-theme-summary): New function.
6642 (customize-themes): Use it.
6643
d647b7c4
GM
66442011-06-13 Glenn Morris <rgm@gnu.org>
6645
6646 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6647
9481c002
MR
66482011-06-13 Martin Rudalics <rudalics@gmx.at>
6649
357f93d2
MR
6650 * help.el (help-window): Remove variable.
6651 (help-window-point-marker, temp-buffer-max-height)
6652 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6653 (help-print-return-message): Don't set help-window.
6654 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6655 (help-window-setup-finish): Remove.
6656 (help-window-display-message, help-window-setup)
6657 (with-help-window): Major rewrite based on new
6658 display-buffer-window variable.
6659
6660 * help-mode.el (help-mode-finish): Remove help-window related
6661 code.
6662
6663 * view.el (view-exits-all-viewing-windows): Remove reference to
6664 view-return-to-alist in doc-string.
6665 (view-return-to-alist): Make obsolete.
6666 (view-buffer): Call pop-to-buffer-same-window and remove
6667 undo-window code.
6668 (view-buffer-other-window): Call pop-to-buffer-other-window and
6669 simplify code. Ignore second argument.
6670 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6671 simplify code. Ignore second argument.
6672 (view-return-to-alist-update): Make obsolete.
6673 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6674 Rewrite using quit-restore window parameters.
2b75be67
SM
6675 (view-mode-exit): Rename second argument to EXIT-ONLY.
6676 Rewrite using quit-restore-window.
357f93d2
MR
6677 (View-exit, View-exit-and-edit, View-leave, View-quit)
6678 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6679 appropriate arguments.
6680 (view-end-message): Use quit-restore window parameter.
6681
9481c002
MR
6682 * window.el (display-buffer-function): Rewrite doc-string.
6683 (display-buffer-window, display-buffer-alist): New variables.
6684 (display-buffer-split-specifiers)
6685 (display-buffer-side-specifiers)
6686 (display-buffer-macro-specifiers): New constants.
6687 (display-buffer-even-window-sizes, display-buffer-set-height)
6688 (display-buffer-set-width, display-buffer-select-window)
6689 (display-buffer-in-window, display-buffer-reuse-window)
6690 (display-buffer-split-window-1, display-buffer-split-window)
6691 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6692 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6693 (display-buffer-in-side-window, normalize-buffer-to-display)
6694 (display-buffer-normalize-specifiers-1)
6695 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6696 (display-buffer-normalize-specifiers, display-buffer-frame):
6697 New functions.
9481c002
MR
6698 (display-buffer): Major rewrite.
6699 (display-buffer-other-window, display-buffer-other-frame)
6700 (pop-to-buffer, switch-to-buffer-other-window)
6701 (switch-to-buffer-other-frame): Rewrite.
6702 (display-buffer-same-window, display-buffer-same-frame)
6703 (display-buffer-same-frame-other-window)
6704 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6705 (pop-to-buffer-other-window)
6706 (pop-to-buffer-same-frame-other-window)
6707 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6708 (switch-to-buffer-other-window-same-frame): New functions.
6709 (same-window-p, special-display-p): Rewrite disabling warnings.
6710 Make obsolete.
6711 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6712 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6713 Make obsolete
6714 (same-window-buffer-names, same-window-regexps)
6715 (special-display-frame-alist, special-display-popup-frame)
6716 (special-display-function, special-display-buffer-names)
6717 (special-display-regexps, pop-up-frame-alist)
6718 (pop-up-frame-function, split-window-preferred-function)
6719 (split-height-threshold, split-width-threshold)
6720 (even-window-heights): Make obsolete.
6721
9db51aca
GM
67222011-06-12 Glenn Morris <rgm@gnu.org>
6723
6724 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6725 Misc simplifications.
9db51aca 6726
39cffb44
MR
67272011-06-12 Martin Rudalics <rudalics@gmx.at>
6728
6729 * window.el (window-safely-shrinkable-p): Restore function which
6730 was inadvertently removed in change from 2011-06-11. Declare as
6731 obsolete.
6732
2b75be67
SM
6733 * calendar/calendar.el (calendar-generate-window):
6734 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6735 window-safely-shrinkable-p.
6736
a8955be7
GM
67372011-06-12 Glenn Morris <rgm@gnu.org>
6738
6739 * progmodes/fortran.el (fortran-mode-syntax-table):
6740 * progmodes/f90.el (f90-mode-syntax-table):
6741 Set % to punctuation. (Bug#8820)
6742 (f90-find-tag-default): Remove, no longer needed.
6743
f0d4059d
DC
67442011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6745
6746 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6747
1100a63c
CY
67482011-06-11 Chong Yidong <cyd@stupidchicken.com>
6749
6750 * image.el (image-animated-p): Return animation delay in seconds.
6751 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6752 (image-animate-timeout): Remove DELAY argument. Don't assume
6753 every subimage has the same delay; get it from image-animated-p.
6754 (image-animate): Caller changed.
6755
def722bf
MA
67562011-06-11 Michael Albinus <michael.albinus@gmx.de>
6757
6758 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6759 to ignored backtrace functions.
6760
0a2bb1a9
GM
67612011-06-11 Glenn Morris <rgm@gnu.org>
6762
6763 * calendar/appt.el (appt-disp-window-function): Doc fix.
6764 (appt-check): Handle overlapping appointments. (Bug#8337)
6765
6198ccd0
MR
67662011-06-11 Martin Rudalics <rudalics@gmx.at>
6767
6768 * window.el (window-tree-1, window-tree): New functions, moving
6769 the latter to window.el.
6770 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6771 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6772 (bw-refresh-edges): Remove.
6773 (balance-windows-1, balance-windows-2): New functions.
6774 (balance-windows): Rewrite in terms of window tree functions,
6775 balance-windows-1 and balance-windows-2.
6776 (bw-adjust-window): Remove.
6777 (balance-windows-area-adjust): New function with functionality of
6778 bw-adjust-window but using resize-window.
2b75be67
SM
6779 (set-window-text-height): Rewrite doc-string.
6780 Use normalize-live-window and resize-window.
6781 (enlarge-window-horizontally, shrink-window-horizontally):
6782 Rename argument to DELTA.
6198ccd0
MR
6783 (window-buffer-height): New function.
6784 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6785 Rewrite using new window resize routines.
2b75be67
SM
6786 (kill-buffer-and-window, mouse-autoselect-window-select):
6787 Use ignore-errors instead of condition-case.
6198ccd0
MR
6788 (quit-window): Call delete-frame instead of delete-windows-on
6789 for the only buffer on frame.
6790
9397e56f
MR
67912011-06-10 Martin Rudalics <rudalics@gmx.at>
6792
6793 * loadup.el (top-level): Load window before files for the sake
6794 of replace-buffer-in-windows.
6795
6796 * files.el (read-buffer-to-switch)
6797 (switch-to-buffer-other-window)
2b75be67
SM
6798 (switch-to-buffer-other-frame, display-buffer-other-frame):
6799 Move to window.el.
9397e56f
MR
6800
6801 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6802 (previous-buffer): Move to window.el.
6803
6804 * bindings.el (unbury-buffer): Move to window.el.
6805
6806 * window.el (delete-other-windows-vertically): Move after
6807 definition of delete-other-windows.
6808 (other-window, delete-windows-on, replace-buffer-in-windows):
6809 Move here from window.c.
6810 (record-window-buffer, unrecord-window-buffer)
6811 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6812 (switch-to-next-buffer): New functions.
6813 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6814 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6815 (previous-buffer): Move here from simple.el.
6816 Call switch-to-prev-buffer.
9397e56f
MR
6817 (bury-buffer): Move here from buffer.c. Switch to previous
6818 buffer when window cannot be deleted.
6819 (unbury-buffer): Move here from bindings.el.
6820 (ctl-x-map): Move binding for other-window from window.c to
6821 here.
6822 (read-buffer-to-switch, switch-to-buffer-other-window)
6823 (switch-to-buffer-other-frame): Move here from files.el.
6824 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6825 (switch-to-buffer): Move here from buffer.c.
6826 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6827
562dd5e9
MR
68282011-06-10 Martin Rudalics <rudalics@gmx.at>
6829
6830 * window.el (window-min-height, window-min-width): Move here
6831 from window.c. Add defcustoms and rewrite doc-strings.
6832 (resize-mini-window, resize-window): New functions.
6833 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6834 Move here from window.c.
6835 (maximize-window, minimize-window): New functions.
6836 (delete-window, delete-other-windows, split-window): Move here
6837 from window.c.
6838 (window-split-min-size): New function.
6839 (split-window-keep-point): Mention split-window-above-each-other
6840 instead of split-window-vertically.
2b75be67 6841 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6842 Rename split-window-vertically to split-window-above-each-other
6843 and provide defalias for old definition.
6844 (split-window-side-by-side, split-window-horizontally):
6845 Rename split-window-horizontally to split-window-side-by-side
6846 and provide defalias for the old definition.
562dd5e9
MR
6847 (ctl-x-map): Move bindings for delete-window,
6848 delete-other-windows and enlarge-window here from window.c.
6849 Replace bindings for split-window-vertically and
6850 split-window-horizontally by bindings for
6851 split-window-above-each-other and split-window-side-by-side.
6852
6853 * cus-start.el (all): Remove entries for window-min-height and
6854 window-min-width. Add entries for window-splits and
6855 window-nest.
6856
f0da764a
GM
68572011-06-09 Glenn Morris <rgm@gnu.org>
6858
80675c21
GM
6859 * calendar/appt.el (appt-mode-line): New function.
6860 (appt-check, appt-disp-window): Use it.
6861
f0da764a
GM
6862 * files.el (hack-one-local-variable-eval-safep):
6863 Allow minor-modes with explicit +/-1 arguments.
6864
59f623b7
TZ
68652011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6866
6867 * term/xterm.el (xterm): Add defgroup.
6868 (xterm-extra-capabilities): Add defcustom to supply known xterm
6869 capabilities, skip querying them, or query them (default).
6870 (terminal-init-xterm): Use it.
6871 (terminal-init-xterm-modify-other-keys): New function to set up
6872 modifyOtherKeys support to simplify `terminal-init-xterm'.
6873
9aab8e0d
MR
68742011-06-09 Martin Rudalics <rudalics@gmx.at>
6875
6876 * window.el (resize-window-reset, resize-window-reset-1)
6877 (resize-subwindows-skip-p, resize-subwindows-normal)
6878 (resize-subwindows, resize-other-windows, resize-this-window)
6879 (resize-root-window, resize-root-window-vertically)
6880 (window-deletable-p, window-or-subwindow-p)
6881 (frame-root-window-p): New functions.
6882
e8b08aee
GM
68832011-06-09 Glenn Morris <rgm@gnu.org>
6884
6885 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6886 (ange-ftp-get-files): Use it.
6887
254c37a5
AK
68882011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6889
6890 * mail/sendmail.el (mail-recover-1, mail-recover):
6891 * files.el (recover-file, recover-session):
6892 Handle dired-listing-switches not being just a single short option.
6893
35d7dbd3
GM
68942011-06-09 Glenn Morris <rgm@gnu.org>
6895
6896 * calendar/appt.el (appt-display-message, appt-disp-window):
6897 Handle lists of appointments.
6898
387522b2
MR
68992011-06-08 Martin Rudalics <rudalics@gmx.at>
6900
2b75be67
SM
6901 * window.el (one-window-p): Move down in code.
6902 Rewrite doc-string.
6903 (window-current-scroll-bars): Rewrite doc-string.
6904 Normalize live window argument.
387522b2
MR
6905 (walk-windows, get-window-with-predicate, count-windows):
6906 Rewrite doc-string. Use window-list-1.
6907 (window-in-direction-2, window-in-direction, get-mru-window):
6908 New functions.
6909
d8e4b68b 69102011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6911
6912 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6913 Doc fix (Bug#8713).
6914
69152011-06-08 Chong Yidong <cyd@stupidchicken.com>
6916
6917 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6918
69192011-06-08 Juanma Barranquero <lekktu@gmail.com>
6920
6921 * loadhist.el (unload-feature-special-hooks):
6922 Add `comint-output-filter-functions'.
6923
0de12c52
IK
69242011-06-08 Ivan Kanis <gnu@kanis.fr>
6925
6926 * calendar/appt.el (appt-check): Move some initializations into the let.
6927
f3d1777e
MR
69282011-06-08 Martin Rudalics <rudalics@gmx.at>
6929
6930 * window.el (window-height): Defalias to window-total-height.
6931 (window-width): Defalias to window-body-width.
6932
18af70d0
CY
69332011-06-07 Chong Yidong <cyd@stupidchicken.com>
6934
6935 * image-mode.el (image-toggle-animation): New command.
6936 (image-mode-map): Bind it to RET.
6937 (image-mode): Update message.
6938 (image-toggle-display-image): Avoid a spurious cache flush.
6939 (image-transform-rotation): Doc fix.
6940 (image-transform-properties): Return quickly in the normal case.
6941 (image-animate-loop): Rename from image-animate-max-time.
6942
2b75be67 6943 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6944 (create-animated-image): Remove unnecessary function.
6945 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6946 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6947 (image-animate-timer): Use car-safe.
6948 (image-animate-timeout): Rename argument.
6949
190b47e6
MR
69502011-06-07 Martin Rudalics <rudalics@gmx.at>
6951
6952 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6953 window.c. Rename first argument to ALL-FRAMES.
6954 Rephrase doc-strings.
6955 (get-buffer-window-list): Rewrite using window-list-1.
6956 Rephrase doc-string.
a1511caf
MR
6957 (window-safe-min-height, window-safe-min-width): New constants.
6958 (window-size-ignore, window-min-size, window-min-size-1)
6959 (window-sizable, window-sizable-p, window-size-fixed-1)
6960 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6961 (window-max-delta-1, window-max-delta, window-resizable)
6962 (window-resizable-p, window-total-height, window-total-width)
6963 (window-body-width): New functions.
6964 (window-full-height-p, window-full-width-p): Rewrite using
6965 window-total-size.
6966 (window-body-height): Rewrite using window-body-size.
190b47e6 6967
85cc1f11
MR
69682011-06-06 Martin Rudalics <rudalics@gmx.at>
6969
6970 * window.el (window-right, window-left, window-child)
6971 (window-child-count, window-last-child, window-any-p)
6972 (normalize-live-buffer, normalize-live-frame)
6973 (normalize-any-window, normalize-live-window)
6974 (window-iso-combination-p, window-iso-combined-p)
6975 (window-iso-combinations)
6976 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6977 (windows-with-parameter, window-with-parameter)
6978 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6979 (window-atom-check, window-side-check, window-check):
6980 New functions.
85cc1f11
MR
6981 (ignore-window-parameters, window-sides, window-sides-vertical)
6982 (window-sides-slots): New variables.
6983 (window-size-fixed): Move down in code. Minor doc-string fix.
6984
e7156492
AS
69852011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6986
6987 * comint.el (comint-dynamic-complete-as-filename)
6988 (comint-dynamic-complete-filename): Correctly call
6989 completion-in-region.
6990
7e821d0d
DD
69912011-06-05 Deniz Dogan <deniz@dogan.se>
6992
6993 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6994 in last change.
6995
ac09b8a1
DD
69962011-06-05 Deniz Dogan <deniz@dogan.se>
6997
6998 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6999 (rcirc): Use it to prompt for encryption.
7000
34699b85
RW
70012011-06-05 Roland Winkler <winkler@gnu.org>
7002
7003 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7004 (bibtex-search-entries): New command bound to C-c C-a.
7005 (bibtex-display-entries): New function.
7006
004dedd3
RW
70072011-06-05 Roland Winkler <winkler@gnu.org>
7008
7009 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7010 (bibtex-insert-kill): After yanking insert newline if necessary.
7011 (bibtex-initialize): Call bibtex-string-files-init only once.
7012 (bibtex-mode): Do not call easy-menu-add.
7013 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7014 (bibtex-yank): Set arg properly if nil.
7015
022fe7ce
RW
70162011-06-05 Roland Winkler <winkler@gnu.org>
7017
2b75be67
SM
7018 * textmodes/bibtex.el (bibtex-search-entry-globally):
7019 New variable.
022fe7ce
RW
7020 (bibtex-search-entry): Use it.
7021
b7c3692a
RW
70222011-06-05 Roland Winkler <winkler@gnu.org>
7023
7024 * textmodes/bibtex.el (bibtex-entry-format): New option
7025 sort-fields.
7026 (bibtex-format-entry, bibtex-reformat): Honor this option.
7027 (bibtex-parse-entry): Return fields in proper order.
7028
8eda563d
JB
70292011-06-05 Juanma Barranquero <lekktu@gmail.com>
7030
7031 * doc-view.el (doc-view-remove-if): Move computation of result out
7032 of `dolist' to silence misleading lexical-binding warning.
7033
7dbe3dbc
CY
70342011-06-04 Chong Yidong <cyd@stupidchicken.com>
7035
7036 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7037 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7038
0c33dd17
MA
70392011-06-04 Michael Albinus <michael.albinus@gmx.de>
7040
7041 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7042 "SunOS 5.10".
7043
f8f91c2b
MA
70442011-06-04 Michael Albinus <michael.albinus@gmx.de>
7045
7046 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7047 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7048 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7049 (tramp-parse-putty):
7050 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7051 (tramp-completion-function-alist-ssh)
7052 (tramp-completion-function-alist-telnet)
7053 (tramp-completion-function-alist-su)
7054 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7055 cookie.
7056
7057 * net/tramp-ftp.el:
7058 * net/tramp-sh.el:
7059 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7060 load "tramp.el" `tramp-set-completion-function'.
7061
e17d9003
SM
70622011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * shell.el: Require and use pcomplete.
7065 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7066 (shell-completion-vars): Set pcomplete-default-completion-function.
7067
6c4cab03
DD
70682011-06-04 Deniz Dogan <deniz@dogan.se>
7069
7070 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7071 `memq' (Bug#8799).
7072
ea9fafe0
SM
70732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7076
b3e945d3
JB
70772011-06-02 Juanma Barranquero <lekktu@gmail.com>
7078
7079 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7080 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7081 * vc/log-view.el (log-view-beginning-of-defun):
7082 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7083 (smerge-refine-forward, smerge-refine-chopup-region):
7084 Silence warning for unused `dotimes' counter variables.
7085
7d520089
SM
70862011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * net/tramp.el (tramp-with-progress-reporter): Rename from
7089 with-progress-reporter. Use `declare'.
7090 * net/tramp-smb.el:
7091 * net/tramp-sh.el:
7092 * net/tramp-gvfs.el: Update all uses.
7093
a1c2400f
JB
70942011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7095
7096 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7097 buffer isn't killed before making it current.
7098
2403c841
SM
70992011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 Silence various byte-compiler warnings.
7102 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7103 `access-type' and new obsolescence format.
7104 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7105 new format.
7106 (byte-compile-check-variable): New `access-type' argument.
7107 Only warn if the access-type is obsolete.
7108 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7109 (byte-compile-variable-set): Adjust callers.
7110 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7111 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7112 setting it as obsolete.
7113 * simple.el (minibuffer-completing-symbol):
7114 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7115 access as obsolete.
7116 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7117 obsolete yet.
7118 * international/quail.el (quail-mouse-choose-completion): Remove unused
7119 code referring to obsolete var.
7120 (quail-choose-completion-string): Remove.
7121 * server.el (server-clients-with, server-kill-buffer-query-function)
7122 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7123 * proced.el (proced-send-signal):
7124 * emacs-lisp/lisp.el (lisp-complete-symbol):
7125 Replace completion-annotate-function with completion-extra-properties.
7126
2462470b
SM
71272011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7128
fb5b2591
SM
7129 * simple.el (goto-line): Use read-number.
7130 (overriding-map-is-bound): Remove.
7131 (saved-overriding-map): Change default.
7132 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7133 Take the map as argument.
7134 (universal-argument, negative-argument, digit-argument): Use it.
7135 (restore-overriding-map): Adjust.
7136 (do-auto-fill): Use fill-forward-paragraph.
7137 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7138
fd6fa53f
SM
7139 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7140 (minibuffer-inactive-mode): New major mode.
7141 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7142 the *Messages* buffer" hack.
7143 (mouse-popup-menubar): Don't burp if the event is a normal key.
7144
2462470b
SM
7145 Miscellaneous tweaks.
7146 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7147 lexical scoping as in subr.el's dolist and dotimes.
7148 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7149 Silence compiler warning.
7150 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7151 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7152 * international/ccl.el (ccl-compile): Trivial simplification.
7153 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7154 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7155 `printflag' argument.
7156 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7157 Purecopy the whole obsolescence data.
7158
108bf785
LL
71592011-06-01 Leo Liu <sdl.web@gmail.com>
7160
7161 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7162 improve doc-string as suggested by Marco Pessotto
7163 <melmothx@gmail.com>.
7164 (rcirc-print): Fix last change.
7165
30a23501
SM
71662011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * minibuffer.el (complete-with-action): Return nil for the metadata and
7169 boundaries of non-functional tables.
7170 (completion-table-dynamic): Return nil for the metadata.
7171 (completion-table-with-terminator): Add default case, using
7172 complete-with-action.
7173 (completion--metadata): New function.
7174 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7175 to try and avoid pathological performance problems.
7176 (completion--embedded-envvar-table): Return `category' metadata.
7177
bcd54f83
LMI
71782011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179
7180 * subr.el (process-alive-p): New tiny convenience function.
7181
e227544d
SM
71822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7185 content but also its previous major mode.
7186
e8296fdc
HE
71872011-05-31 Helmut Eller <eller.helmut@gmail.com>
7188
4d61f28d 7189 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7190 *Backtrace* buffer when we exit with C-M-c.
7191
620c53a6
SM
71922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * minibuffer.el: Add metadata method to completion tables.
7195 (completion-category-overrides): New defcustom.
7196 (completion-metadata, completion--field-metadata)
7197 (completion-metadata-get, completion--styles)
7198 (completion--cycle-threshold): New functions.
7199 (completion-try-completion, completion-all-completions):
7200 Add `metadata' argument to choose completion-styles.
7201 (completion--do-completion): Use metadata to choose cycling.
7202 (completion-all-sorted-completions): Use metadata for sorting.
7203 Remove :completion-cycle-penalty which is not needed any more.
7204 (completion--try-word-completion): Add `metadata' argument.
7205 (minibuffer-completion-help): Check metadata for annotation function
7206 and sorting.
7207 (completion-file-name-table): Return `category' metadata.
7208 (minibuffer-completing-file-name): Make obsolete.
7209 * simple.el (minibuffer-completing-symbol): Make obsolete.
7210 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7211 completion-try-completion.
7212
1257e755
SM
72132011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7216
3767e706
LL
72172011-05-30 Leo Liu <sdl.web@gmail.com>
7218
7219 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7220 (rcirc-print): Decode all incoming messages (bug#8744).
7221 (rcirc-decode-coding-system): Allow value nil for automatic coding
7222 system detection.
3767e706 7223
d1a5d56a
GM
72242011-06-01 Glenn Morris <rgm@gnu.org>
7225
7226 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7227
e8cbec34
CY
72282011-05-29 Chong Yidong <cyd@stupidchicken.com>
7229
7230 * image.el (image-animate-max-time): Allow nil and t values.
7231 Default to nil.
7232 (create-animated-image): Doc fix.
7233 (image-animate-start): Remove second arg; just use
7234 image-animate-max-time.
7235 (image-animate-timeout): Doc fix. Args changed.
7236
7237 * image-mode.el (image-toggle-display-image): Ensure that the
7238 image spec passed to the animate timer is the same object as in
58179cce 7239 the buffer's display property (Bug#6981).
e8cbec34
CY
7240 (image-transform-properties): Doc fix.
7241
7242 * image.el (image-animate-max-time): Default to nil.
7243
159daf87
MR
72442011-05-29 Martin Rudalics <rudalics@gmx.at>
7245
7246 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7247 entire buffer list (Bug#8184).
7248
d66c4c7c
CY
72492011-05-29 Chong Yidong <cyd@stupidchicken.com>
7250
7251 * image.el (imagemagick-types-inhibit)
7252 (imagemagick-register-types): Doc fix.
7253
80aec780
DD
72542011-05-29 Deniz Dogan <deniz@dogan.se>
7255
7256 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7257 default.
7258
1dd3c2d9
CY
72592011-05-29 Chong Yidong <cyd@stupidchicken.com>
7260
7261 * select.el: Don't perform clipboard-manager saving in hooks;
7262 leave the hooks empty.
7263
60e56523
LL
72642011-05-28 Leo Liu <sdl.web@gmail.com>
7265
7266 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7267 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7268 (occur-edit-mode): New major mode (Bug#8463).
7269 (occur-after-change-function): New function.
7270 (occur-engine): Give Occur tags a read-only property.
7271
2b1e1a22
KR
72722011-05-28 Kevin Ryde <user42@zip.com.au>
7273
7274 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7275
5d344e88
CY
72762011-05-28 Chong Yidong <cyd@stupidchicken.com>
7277
8e6ca83d
CY
7278 * bindings.el (help-echo): Make the initial non-indicator dash
7279 empty on graphical terminals (Bug#7295).
7280
5d344e88
CY
7281 * files.el (auto-mode-alist): Move config rule after the
7282 in-stripping one (Bug#8547).
7283
bfbbace7
CY
7284 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7285
fbeba6e2
CY
7286 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7287 setting (Bug#8740).
7288
60ed8c72
AA
72892011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7290
4ac619f0
AA
7291 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7292 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7293 (Bug#8539).
60ed8c72 7294
23db196e
CY
72952011-05-28 Chong Yidong <cyd@stupidchicken.com>
7296
7297 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7298
5012f24c
DK
72992011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7300
7301 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7302 (hs-hide-block-at-point, hs-find-block-beginning)
7303 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7304 (Bug#8279).
7305
6a639b16
GM
73062011-05-28 Glenn Morris <rgm@gnu.org>
7307
7308 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7309
d43eaf2c
CY
73102011-05-28 Chong Yidong <cyd@stupidchicken.com>
7311
5199bde1
CY
7312 * help-fns.el (describe-function-1): If the function is a derived
7313 major mode, print the parent mode.
7314
d43eaf2c
CY
7315 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7316 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7317
423428a8
SM
73182011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7319
0ff8e1ba 7320 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7321 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7322 * progmodes/etags.el (tags-completion-at-point-function):
7323 * info-look.el (info-lookup-completions-at-point): Mark as
7324 non-exclusive.
7325 (info-complete): Adjust accordingly.
7326
423428a8
SM
7327 * info-look.el: Convert to lexical-binding and completion-at-point.
7328 (info-lookup-completions-at-point): New function.
7329 (info-complete): Use it and completion-in-region.
7330
b74aa22b
DA
73312011-05-28 Drew Adams <drew.adams@oracle.com>
7332
7333 * isearch.el: Let M-e start with point at the first mismatched char.
7334 (isearch-fail-pos): New function.
7335 (isearch-edit-string): Use it.
7336
66e2e71d
DK
73372011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7338
7339 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7340
eb95d01d
TC
73412009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7342
7343 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7344 traversal functions for avl-trees.
7345 (avl-tree--stack): New struct.
7346 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7347 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7348 (avl-tree--do-enter): Add optional `updatefun' arg.
7349 Change return value.
eb95d01d 7350 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7351 (avl-tree--do-delete): Add `test' and `nilflag' args.
7352 Change return value.
eb95d01d
TC
7353 (avl-tree-member): Add optional `nilflag'
7354 (avl-tree-member-p): New function.
7355 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7356 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7357 (avl-tree-stack-empty-p): New functions.
7358
3769ddcf
TC
73592009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7360
7361 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7362 avl-tree--del-balance1 and make it work both ways.
7363 (avl-tree--del-balance2): Remove.
7364 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7365 make it work both ways.
7366 (avl-tree--enter-balance2): Remove.
7367 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7368 New macros.
7369 (avl-tree--mapc, avl-tree-map): Add direction argument.
7370
eb95d01d 73712011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7372
7373 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7374
a9f737ee
CY
73752011-05-27 Chong Yidong <cyd@stupidchicken.com>
7376
7377 * select.el: Support clipboard managers with built-in function
7378 x-clipboard-manager-save, via delete-frame-functions and
7379 kill-emacs-hook.
7380 (xselect-convert-to-targets): Add MULTIPLE target to list.
7381 (xselect-convert-to-save-targets): New function.
7382
c92a1e54
KH
73832011-05-27 Kenichi Handa <handa@m17n.org>
7384
7385 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7386 let-binding rfc2047-encode-encoded-words to nil.
7387
e145f188
GM
73882011-05-27 Glenn Morris <rgm@gnu.org>
7389
5ec8a862
GM
7390 * mail/emacsbug.el: Don't require url-util.
7391
4b29d9fb
GM
7392 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7393
e145f188
GM
7394 * files.el (set-auto-mode):
7395 Also respect mode: entries at the end of the file. (Bug#8586)
7396
7d15102b
GM
73972011-05-26 Glenn Morris <rgm@gnu.org>
7398
98f593b8
GM
7399 * files.el (hack-local-variables-prop-line, hack-local-variables):
7400 Downcase mode names, as seems to be traditional.
27b48e63 7401 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7402
7d15102b
GM
7403 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7404 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7405
51d5b4ec
JD
74062011-05-25 Julien Danjou <julien@danjou.info>
7407
7408 * textmodes/rst.el (rst-define-level-faces): Do not define face
7409 symbol if it is already defined.
7410
91513f63
VB
74112011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7412
7413 * play/5x5.el (5x5-new-game, 5x5-randomize):
7414 Reset 5x5-solver-output to nil when a new grid is cast.
7415 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7416 these debugging traces, as defmacro breaks the compiled code.
7417
4d90d6d0
DK
74182011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7419
7420 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7421
e1b90ef6
LL
74222011-05-24 Leo Liu <sdl.web@gmail.com>
7423
7424 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7425 (vc-bzr-sha1): Adapt.
7426
d8e4b68b 7427 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7428
7429 * bindings.el: Provide sha1 feature.
7430
db0406bb 74312011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7432
7433 * mail/sendmail.el: Require `rfc2047'.
7434 (mail-insert-from-field): Do not perform RFC2047 encoding.
7435 (mail-encode-header): New function.
7436 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7437 buffer to the return value of select-message-coding-system.
7438 Call mail-encode-header.
b8d747b9
KH
7439
7440 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7441
db0406bb 74422011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7443
4d90d6d0
DK
7444 * mail/supercite.el (sc-default-cite-frame):
7445 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7446
eb8a5e9b
GM
74472011-05-24 Glenn Morris <rgm@gnu.org>
7448
f8630703
GM
7449 * progmodes/python.el (brm-menu): Declare.
7450
8831bbed
GM
7451 * emulation/viper.el (viper-set-hooks): Declare.
7452
eb8a5e9b
GM
7453 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7454 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7455 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7456 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7457 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7458 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7459
a2a25d24
SM
74602011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 Add an :exit-function for completion-at-point.
7463
7464 * minibuffer.el (completion--done): New fun.
7465 (completion--do-completion): Use it. New arg `expect-exact'.
7466 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7467 since completion--do-completion does it for us now.
7468 (minibuffer-force-complete): Use completion--done and
7469 completion--replace. Handle sole-completion case with more care.
7470 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7471 (completion-extra-properties): New var.
7472 (completion-annotate-function): Make obsolete.
7473 (minibuffer-completion-help): Adjust accordingly.
7474 Use completion-list-insert-choice-function.
7475 (completion-at-point, completion-help-at-point):
7476 Bind completion-extra-properties.
7477 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7478 * simple.el (completion-list-insert-choice-function): New var.
7479 (completion-setup-function): Preserve it.
7480 (choose-completion): Pay attention to it, shuffle the code a bit.
7481 (choose-completion-string): New arg `insert-function'.
7482
7483 * textmodes/bibtex.el: Convert to lexical binding.
7484 (bibtex-mode-map): Use completion-at-point.
7485 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7486 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7487 (bibtex-complete): Define as obsolete alias.
7488 (bibtex-complete-internal): Remove.
7489 (bibtex-format-entry): Remove unused sub-group in regexp.
7490 * shell.el (shell--command-completion-data)
7491 (shell-environment-variable-completion):
7492 * pcomplete.el (pcomplete-completions-at-point):
7493 * comint.el (comint--complete-file-name-data): Use :exit-function
7494 instead of completion-table-with-terminator so it also works for
7495 choose-completion.
7496
e44e373d
SM
74972011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7498
4f91a816
SM
7499 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7500
782fc819
SM
7501 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7502 (bug#8710).
7503
e44e373d
SM
7504 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7505
381987c3
KM
75062011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7507
7508 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7509 customization variable and implement: If non-nil, auto-fill will
7510 be inhibited while on topic's header line.
7511
b776bc70
VB
75122011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7513
7514 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7515 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7516 always have a solution in grid size = 5 cases.
7517 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7518 (5x5-solver-output, 5x5-log-buffer): New vars.
7519 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7520 Make these variables buffer local to achieve 5x5 multi-session-ness.
7521 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7522 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7523 (5x5-solve-suggest): New funs.
7524 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7525 randomize a grid so that we ensure that there is always a solution.
7526 (5x5-make-random-grid): Allow other movement than flipping.
7527
7de88b6e
KR
75282011-05-23 Kevin Ryde <user42@zip.com.au>
7529
7530 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7531 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7532 advice and passes PREDICATE.
7533
b1ef1257
SM
75342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7535
bbca48fe
SM
7536 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7537 byte-compile-lambda if it's actually a lambda.
7538
b1ef1257
SM
7539 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7540 Fix function quoting. Use backquote better.
7541
92a9cc65
YS
75422011-05-22 Yuanle Song <sylecn@gmail.com>
7543
7544 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7545 matching (Bug#8516).
7546
f0fb8059
JA
75472011-01-22 Jari Aalto <jari.aalto@cante.net>
7548
7549 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7550 different face (Bug#8178).
7551
d5b44c93
CY
75522011-05-22 Chong Yidong <cyd@stupidchicken.com>
7553
7554 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7555 defface (Bug#8144).
7556
79106a44
SM
75572011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7558
9c848d8a
SM
7559 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7560 funcall as well (bug#8712). Warn when performing those conversions.
7561 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7562
79106a44
SM
7563 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7564
88dfa756
GM
75652011-05-22 Glenn Morris <rgm@gnu.org>
7566
7567 * files.el (hack-local-variables-prop-line): Small simplifications.
7568 (hack-local-variables, hack-local-variables-prop-line):
7569 If MODE-ONLY, return the mode, rather than just `t'.
7570
b7cf2c79
SM
75712011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7574
3f1a8558
GM
75752011-05-21 Glenn Morris <rgm@gnu.org>
7576
7e4ccca3
GM
7577 * files.el (hack-local-variables-prop-line, hack-local-variables):
7578 If only interested in the mode, don't bother doing the other stuff.
7579
637d46ca
GM
7580 * image-mode.el (image-after-revert-hook):
7581 Redraw all frames on which the image is visible. (Bug#8567)
7582
973d955b
GM
7583 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7584
3f1a8558
GM
7585 * wid-edit.el (widget-checklist-match-inline):
7586 Fix 2011-04-19 change. (Bug#8649)
7587
96479927
SM
75882011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7589
1dcf791f
SM
7590 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7591 Also allow singlespace after single-letter capitals followed by a dot.
7592
96479927
SM
7593 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7594 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7595
35fd0881
N
75962011-05-20 Nix <nix@esperi.org.uk>
7597
7598 * files.el (basic-save-buffer-2):
7599 Fix handling of break-hardlink-on-save with non-existent files.
7600
82745640
DD
76012011-05-19 Deniz Dogan <deniz@dogan.se>
7602
7603 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7604 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7605
4a720484
GM
76062011-05-19 Glenn Morris <rgm@gnu.org>
7607
d1f21341
GM
7608 * progmodes/f90.el (f90-type-def-re):
7609 Handle "type, bind(c)". (Bug#8691)
7610
4a720484
GM
7611 * emacs-lisp/autoload.el (batch-update-autoloads):
7612 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7613
2fb0a219
MA
76142011-05-18 Michael Albinus <michael.albinus@gmx.de>
7615
7616 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7617 property for the correct connection in case of multihops.
7618
e565dd37
GM
76192011-05-18 Glenn Morris <rgm@gnu.org>
7620
c2571358 7621 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7622 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7623
e565dd37
GM
7624 Rationalize calendar handling of day and month abbrev-arrays.
7625 * calendar/calendar.el (calendar-customized-p): New function.
7626 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7627 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7628 Add :set function.
7629 (calendar-abbrev-length, calendar-day-abbrev-array)
7630 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7631 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7632 Elements may no longer be nil.
7633 (calendar-day-name, calendar-month-name):
7634 Update for changed nature of abbrev arrays.
7635 * calendar/diary-lib.el (diary-name-pattern):
7636 Update for changed nature of abbrev arrays.
7637 (diary-mark-entries-1): Update calendar-make-alist calls.
7638 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7639 * calendar/cal-html.el (cal-html-day-abbrev-array):
7640 Simply inherit from calendar-day-abbrev-array.
7641
1d99a745
SM
76422011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * progmodes/grep.el (grep-mode): Disable default
7645 compilation-directory-matcher setting (bug#8684).
7646
7c1d9aa0
MA
76472011-05-17 Michael Albinus <michael.albinus@gmx.de>
7648
7649 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7650 instead of "head" and "tail". There were problems with SunOS 5.9,
7651 and it performs better.
7652
3952e9d8
GM
76532011-05-17 Glenn Morris <rgm@gnu.org>
7654
2dd12e7f
GM
7655 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7656
e4157b9c
GM
7657 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7658 Replace obsolete function.
7659
8e249bbd
GM
7660 * shell.el (pcomplete-parse-arguments-function): Declare.
7661
3952e9d8
GM
7662 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7663 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7664 (appt-check): Doc fixes.
7665 (appt-disp-window-function, appt-delete-window-function):
7666 Remove needless special case in custom :type.
7667 (appt-display-count): Default to 0, not nil.
7668 (appt-check): Reset appt-display-count to 0, not nil.
7669
c71a0d48 76702011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7671
c71a0d48
GM
7672 * progmodes/python.el (python-font-lock-keywords):
7673 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7674
31d55be9
SM
76752011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7678
3bfacb2f
KR
76792011-05-16 Kevin Ryde <user42@zip.com.au>
7680
7681 * info-look.el (makefile-automake-mode): New setups, looking in
7682 automake manual, then makefile-mode.
7683 (makefile-mode): Remove automake manual, have it just in
7684 makefile-automake-mode since there's various things different or
7685 not relevant to plain make.
7686 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7687 believe a hypothetical automake-mode would go to makefile-mode,
7688 not the other way around.
7689
c8e83751
CY
76902011-05-15 Chong Yidong <cyd@stupidchicken.com>
7691
5e9e35cd
CY
7692 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7693 hunk-end tags (Bug#8672).
7694
c8e83751
CY
7695 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7696 vc-annotate-show-diff-revision-at-line (Bug#8671).
7697
50b23e5a
GM
76982011-05-14 Glenn Morris <rgm@gnu.org>
7699
7210a739
GM
7700 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7701 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7702 (change-log-font-lock-keywords): Also handle multiple author lines
7703 with leading tabs. (Bug#8644)
7210a739 7704
4691905a
GM
7705 * calendar/appt.el (appt-check): Rename some local variables.
7706 Some simplification/reordering.
7707
50b23e5a
GM
7708 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7709 (feedmail-sendmail-f-doesnt-sell-me-out)
7710 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7711 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7712 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7713 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7714 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7715 (feedmail-binmail-gnulinuxish-template):
7716 Rename from feedmail-binmail-linuxish-template.
7717 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7718 Use insert-buffer-substring.
7719
215cda7c
BC
77202011-05-14 Bill Carpenter <bill@carpenter.org>
7721
7722 * mail/feedmail.el (feedmail-patch-level): Increase.
7723 (feedmail-debug): New custom group.
7724 (feedmail-confirm-outgoing-timeout)
7725 (feedmail-sendmail-f-doesnt-sell-me-out)
7726 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7727 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7728 (feedmail-sender-line, feedmail-from-line)
7729 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7730 (feedmail-spray-this-address)
215cda7c
BC
7731 (feedmail-spray-address-fiddle-plex-list)
7732 (feedmail-queue-use-send-time-for-date)
7733 (feedmail-queue-use-send-time-for-message-id)
7734 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7735 (feedmail-buffer-eating-function):
7736 Doc fixes.
7737 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7738 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7739 (feedmail-message-action-scroll-down): New functions.
7740 (feedmail-queue-directory, feedmail-queue-draft-directory):
7741 Use expand-file-name.
7742 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7743 Remove C-v help entry.
7744 (feedmail-queue-buffer-file-name): New variable.
7745 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7746 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7747 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7748 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7749 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7750 (feedmail-message-action-toggle-spray)
7751 (feedmail-run-the-queue-no-prompts)
7752 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7753 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7754 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7755 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7756 (feedmail-envelope-deducer, feedmail-fiddle-from)
7757 (feedmail-fiddle-sender, feedmail-default-date-generator)
7758 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7759 (feedmail-fiddle-spray-address)
7760 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7761 (feedmail-fiddle-list-of-fiddle-plexes)
7762 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7763 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7764 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7765 Change default. Doc fix.
7766 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7767 (feedmail-binmail-linuxish-template): New constant.
7768 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7769 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7770 (feedmail-send-it): Add debug call.
7771 Use feedmail-queue-buffer-file-name, and
7772 feedmail-send-it-immediately-wrapper.
7773 (feedmail-message-action-send): Add debug call.
7774 Use feedmail-send-it-immediately-wrapper.
7775 (feedmail-queue-express-to-queue): Add debug call.
7776 Run feedmail-queue-express-hook.
7777 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7778 (feedmail-message-action-help-blat):
7779 Rename from feedmail-queue-send-edit-prompt-help-first.
7780 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7781 Check line-endings. Handle errors better.
7782 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7783 Doc fix. Add debug call.
7784 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7785 Use feedmail-queue-send-edit-prompt-inner.
7786 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7787 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7788 from feedmail-queue-send-edit-prompt.
7789 (feedmail-queue-send-edit-prompt-help)
7790 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7791 (feedmail-tidy-up-slug): Add debug call.
7792 Respect feedmail-queue-slug-suspect-regexp.
7793 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7794 (feedmail-dump-message-to-queue): Add debug call.
7795 Expand queue-directory.
7796 (feedmail-dump-message-to-queue): Change message slightly.
7797 Use feedmail-say-chatter.
7798 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7799 (feedmail-send-it-immediately-wrapper): New function.
7800 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7801 Insert empty string rather than newline. Handle full-frame case.
7802 Use catch/throw. Use feedmail-say-chatter.
7803 (feedmail-fiddle-from): Try mail-host-address.
7804 (feedmail-default-message-id-generator): Doc fix.
7805 Bind system-time-locale. Handle missing end.
7806 (feedmail-fiddle-x-mailer): Add debug call.
7807 Handle feedmail-x-mailer-line being nil.
7808 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7809 Add debug call. Use buffer-substring-no-properties.
7810 (feedmail-say-debug, feedmail-say-chatter): New functions.
7811 (feedmail-find-eoh): Give an explicit error.
7812
42c7e61e
UJ
78132011-05-13 Ulf Jasper <ulf.jasper@web.de>
7814
c2571358 7815 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7816 family from helvetica to sans.
c2571358 7817 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7818 etc/images/newsticker.
7819
c2571358 7820 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7821 family from helvetica to sans.
7822
7823 * net/newst-plainview.el (newsticker-new-item-face)
7824 (newsticker-old-item-face, newsticker-immortal-item-face)
7825 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7826 (newsticker-statistics-face): Change default family from
42c7e61e 7827 helvetica to sans.
c2571358 7828 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7829 etc/images/newsticker.
7830
7831 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7832 (newsticker--process-auto-mark-filter-match): : Tell user about
7833 auto-marking.
7834
8497a297
DV
78352011-05-13 Didier Verna <didier@xemacs.org>
7836
7837 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7838 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7839 TODO entries.
8497a297
DV
7840 (lisp-lambda-list-keyword-parameter-indentation)
7841 (lisp-lambda-list-keyword-parameter-alignment)
7842 (lisp-lambda-list-keyword-alignment): New customizable user options.
7843 (lisp-indent-defun-method): Improve docstring.
7844 (extended-loop-p): Fix comment.
7845 (lisp-indent-lambda-list-keywords-regexp): New variable.
7846 (lisp-indent-lambda-list): New function.
7847 (lisp-indent-259): Use it.
7848 (lisp-indent-defmethod): Support for more than one
7849 method qualifier and properly indent methods lambda-lists.
7850 (defgeneric): Provide a missing common-lisp-indent-function property.
7851
f278f87f
SM
78522011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7855 bounds for the empty string (bug#8667).
7856
5233edd7
GM
78572011-05-13 Glenn Morris <rgm@gnu.org>
7858
5237a44f
GM
7859 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7860
8340026c 7861 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7862 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7863
5233edd7 7864 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7865 (appt-time-msg-list): Doc fix.
a5464014 7866 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7867
92d10796
AS
78682011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7869
7870 * progmodes/ld-script.el (ld-script-keywords)
7871 (ld-script-builtins): Update keywords list.
7872
914a0ae1
SM
78732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7874
c89be45f
SM
7875 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7876
914a0ae1
SM
7877 * shell.el (shell-completion-vars): New function.
7878 (shell-mode):
7879 * simple.el (read-shell-command): Use it.
7880 (blink-matching-open): No need for " [...]" in minibuffer-message.
7881
98dc3df3
GM
78822011-05-12 Glenn Morris <rgm@gnu.org>
7883
7884 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7885 (appt-check): Simplify.
7886
d2fc7e3d 78872011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7888
4d61f28d 7889 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7890 literal "/dev/null".
7891
d2fc7e3d 78922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7893
7894 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7895 Fix typo.
7896
d2fc7e3d 78972011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7898
3f254caa
SM
7899 * progmodes/which-func.el (which-function):
7900 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7901 which might not be defined (Bug#8260).
7902
d45885f7
GM
79032011-05-12 Glenn Morris <rgm@gnu.org>
7904
7905 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7906 Let byte-compile-initial-macro-environment always take precedence.
7907
488086f4
SM
79082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * net/rcirc.el: Add support for SSL/TLS connections.
7911 (rcirc-server-alist): New field `encryption'.
7912 (rcirc): Check `encryption' settings.
7913 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7914 Merge make-local-variable into `set'.
7915 (rcirc--connection-open-p): New function.
7916 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7917 the process is not a network process (e.g. running gnutls-cli).
7918 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7919 Make rcirc-(en|de)code-coding-system local here.
7920 (rcirc-mode): Merge make-local-variable into `set'.
7921 (rcirc-parent-buffer): Make permanent buffer-local.
7922 (rcirc-multiline-minor-mode): Don't do it here.
7923 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7924 there's no server buffer.
7925
7d3b9d44
GM
79262011-05-11 Glenn Morris <rgm@gnu.org>
7927
f64049c6
GM
7928 * newcomment.el (comment-kill): Prefix "unused" local.
7929
93c9df73
GM
7930 * term/w32console.el (get-screen-color): Declare.
7931
7d3b9d44
GM
7932 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7933 Handle symbol elements of byte-compile-initial-macro-environment.
7934
9e2dd53f
LL
79352011-05-10 Leo Liu <sdl.web@gmail.com>
7936
488086f4
SM
7937 * bookmark.el (bookmark-bmenu-mode-map):
7938 Bind bookmark-bmenu-search to `/'.
8b340240 7939
9e2dd53f 7940 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7941 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7942 (Footnote-unicode): New function.
7943 (footnote-style-alist): Add unicode style to the list.
7944 (footnote-style): Doc fix.
9e2dd53f 7945
79b70037
GM
79462011-05-10 Jim Meyering <meyering@redhat.com>
7947
7948 Fix doubled-word typos.
7949 * international/quail.el (quail-insert-kbd-layout): and and -> and
7950 * kermit.el: and and -> and
7951 * net/ldap.el (ldap-search-internal): to to -> to
7952 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7953 * progmodes/js.el (js-mode): and and -> and
7954 * textmodes/artist.el (artist-move-to-xy): at at -> at
7955 (artist-draw-region-trim-line-endings): if if -> if
7956 And Safetyc -> Safety.
7957 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7958
b8f82dc1 79592011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7960 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7961
7962 * files.el (hack-one-local-variable-eval-safep):
7963 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7964
4f99f44b
GM
79652011-05-10 Glenn Morris <rgm@gnu.org>
7966
7967 * calendar/diary-lib.el (diary-list-entries-hook)
7968 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7969 (diary-nongregorian-marking-hook, diary-list-entries)
7970 (diary-include-other-diary-files, diary-mark-entries)
7971 (diary-mark-included-diary-files): Doc fixes.
7972
84f29e6b
JB
79732011-05-09 Juanma Barranquero <lekktu@gmail.com>
7974
7975 * misc.el: Require tabulated-list.el during compilation.
7976
9bedd73a
CY
79772011-05-09 Chong Yidong <cyd@stupidchicken.com>
7978
488086f4
SM
7979 * progmodes/compile.el (compilation-start):
7980 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7981 (compilation-filter-hook): Doc fix.
7982
797c735c
DD
79832011-05-09 Deniz Dogan <deniz@dogan.se>
7984
7985 * wdired.el: Remove outdated installation comment. Fix usage
7986 comment.
7987
5f4b1dfe
JB
79882011-05-09 Juanma Barranquero <lekktu@gmail.com>
7989
7990 * misc.el: Implement new command `list-dynamic-libraries'.
7991 (list-dynamic-libraries--loaded-only-p): New variable.
7992 (list-dynamic-libraries--refresh): New function.
7993 (list-dynamic-libraries): New command.
7994
4c44026c
CY
79952011-05-09 Chong Yidong <cyd@stupidchicken.com>
7996
488086f4
SM
7997 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7998 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7999 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8000 higher priority to avoid clobbering by gnu.
8001
027f966d
CY
80022011-05-08 Chong Yidong <cyd@stupidchicken.com>
8003
8004 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8005 if the face has existing theme settings (Bug#8454).
8006
085f5d7d
CY
80072011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8008
488086f4
SM
8009 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8010 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8011
2a86a00c
RS
8012 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8013 special file names `.' and `..' (Bug#8259).
8014
d9c54a06
CY
80152011-05-08 Chong Yidong <cyd@stupidchicken.com>
8016
488086f4
SM
8017 * progmodes/grep.el (grep-mode-font-lock-keywords):
8018 Remove buffer-changing entries.
d9c54a06
CY
8019 (grep-filter): New function.
8020 (grep-mode): Add it to compilation-filter-hook.
8021
8022 * progmodes/compile.el (compilation-filter-hook)
8023 (compilation-filter-start): New defvars.
8024 (compilation-filter): Call compilation-filter-hook prior to
8025 updating the process mark.
8026
c4662635
SM
80272011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8030
b0512a1d
EZ
80312011-05-07 Eli Zaretskii <eliz@gnu.org>
8032
605c9376
EZ
8033 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8034 mailclient-send-it even if window-system is nil. (Bug#8595)
8035
c4662635
SM
8036 * term/w32console.el (terminal-init-w32console):
8037 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8038 background-mode. (Bug#8597)
8039
d1dc2cc2
SM
80402011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8043 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8044 New functions.
8045 (defgeneric, eieio--defmethod): Use them.
8046 (eieio-defgeneric): Remove.
8047 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8048
915d1300
GM
80492011-05-07 Glenn Morris <rgm@gnu.org>
8050
a3961c3e
GM
8051 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8052 Use let rather than let*.
8053 (timeclock-find-discrep): Remove unused local.
8054
314347b9
GM
8055 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8056
915d1300
GM
8057 * calendar/appt.el (appt-time-msg-list): Doc fix.
8058
275b59b0
NF
80592011-05-06 Noah Friedman <friedman@splode.com>
8060
8061 * apropos.el (apropos-print-doc): Only use
8062 emacs-lisp-docstring-fill-column when it is bound to an integer,
8063 per that variable's documentation.
8064
6c19f744
SM
80652011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8068 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8069
60f884b2
GM
80702011-05-06 Glenn Morris <rgm@gnu.org>
8071
5006e634
GM
8072 * calendar/appt.el (appt-message-warning-time): Doc fix.
8073 (appt-warning-time-regexp): New option.
8074 (appt-make-list): Respect appt-message-warning-time.
8075
548d0a63
GM
8076 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8077 New options.
8078 (diary-add-to-list): Strip comments from the displayed string.
8079 (diary-mode): Set comment-start and comment-end.
8080
60f884b2
GM
8081 * vc/diff-mode.el (smerge-refine-subst): Declare.
8082 (diff-refine-hunk): Don't require smerge-mode when compiling.
8083
989681bb
JB
80842011-05-06 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * simple.el (list-processes): Return nil as the docstring says.
8087
a6bc05e1
MA
80882011-05-05 Michael Albinus <michael.albinus@gmx.de>
8089
8090 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8091 to "".
8092 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8093 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8094 determining of binary transfer. (Bug#7383)
8095
23c22e9a
MA
80962011-05-05 Michael Albinus <michael.albinus@gmx.de>
8097
c4662635
SM
8098 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8099 Fix port computation bug. (Bug#8618)
23c22e9a 8100
0bff894f
GM
81012011-05-05 Glenn Morris <rgm@gnu.org>
8102
b8296902
GM
8103 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8104
1f522ce8
GM
8105 * simple.el (shell-dynamic-complete-functions)
8106 (comint-dynamic-complete-functions): Declare.
8107
cf5bee67
GM
8108 * net/network-stream.el (gnutls-negotiate):
8109 * simple.el (tabulated-list-print): Fix declarations.
8110
8111 * progmodes/gud.el (syntax-symbol, syntax-point):
8112 Remove unnecessary and incorrect declarations.
8113
0bff894f
GM
8114 * emacs-lisp/check-declare.el (check-declare-scan):
8115 Handle byte-compile-initial-macro-environment in bytecomp.el
8116
9869b3ae
SM
81172011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 Fix earlier half-done eieio-defmethod change (bug#8338).
8120 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8121 Streamline and change calling convention.
8122 (defmethod): Adjust accordingly and simplify.
8123 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8124 new eieio--defmethod.
8125 (slot-boundp): Minor CSE simplification.
8126
9c1d5ac5
MZ
81272011-05-05 Milan Zamazal <pdm@zamazal.org>
8128
8129 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8130 (glasses-make-readable): Use glasses-separate-capital-groups.
8131
455c834e
JB
81322011-05-05 Juanma Barranquero <lekktu@gmail.com>
8133
8134 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8135 (warning-series): Doc fix.
8136 (display-warning): Don't try to create the buffer if we just found it.
8137
9ed7c8cb
CY
81382011-05-04 Chong Yidong <cyd@stupidchicken.com>
8139
8140 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8141 (autoload-find-generated-file): New function.
8142 (generate-file-autoloads): Bind generated-autoload-file to
8143 buffer-file-name.
9869b3ae
SM
8144 (update-file-autoloads, update-directory-autoloads):
8145 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8146 output file (Bug#7989).
8147 (batch-update-autoloads): Doc fix.
8148
0898ca10
JB
81492011-05-04 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8152
31dfb76c
GM
81532011-05-04 Glenn Morris <rgm@gnu.org>
8154
f330b642
GM
8155 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8156 function, so it follows changes in calendar-date-style.
8157 (diary-fancy-date-matcher): New function.
8158 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8159 (diary-fancy-font-lock-fontify-region-function):
8160 Use diary-fancy-date-pattern as a function.
8161
31dfb76c
GM
8162 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8163 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8164
48e79d6a
TZ
81652011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8166
8167 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8168 instead of positional arguments. Allow :keylist and :crlfiles
8169 arguments.
8170 (open-gnutls-stream): Call it.
8171
8172 * net/network-stream.el (network-stream-open-starttls): Adjust to
8173 call `gnutls-negotiate' with :process and :hostname arguments.
8174
dd5a5ee0
SM
81752011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8176
ef80fc09
SM
8177 * minibuffer.el (completion--message): New function.
8178 (completion--do-completion, minibuffer-complete)
8179 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8180 (completion--do-completion): Don't ignore completion-auto-help when in
8181 icomplete-mode.
8182
dd5a5ee0
SM
8183 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8184 internal encoding (e.g. tibetan zero is not whitespace).
8185 (global-whitespace-mode): Prefer save-current-buffer.
8186 (whitespace-trailing-regexp): Remove useless save-match-data.
8187 (whitespace-empty-at-bob-regexp): Minor simplification.
8188
b7d22a83
CY
81892011-05-03 Chong Yidong <cyd@stupidchicken.com>
8190
8191 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8192
5192af46
AM
81932011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8194
8195 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8196 Use `concat' to create string for insertion.
5192af46 8197
5767d190
SM
81982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8201 Avoid open-line which runs post-self-insert-hook.
8202 (bibtex-fill-entry): Remove unused `end' var.
8203
bf242939
AM
82042011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8205
5767d190
SM
8206 * textmodes/ispell.el (ispell-add-per-file-word-list):
8207 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8208
25666126
LL
82092011-05-03 Leo Liu <sdl.web@gmail.com>
8210
8211 * isearch.el (isearch-yank-pop): New command.
5767d190 8212 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8213 (isearch-forward): Mention it.
8214
52d3c2d0
SM
82152011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8216
1bcace58
SM
8217 * simple.el (minibuffer-complete-shell-command): Remove.
8218 (minibuffer-local-shell-command-map): Use completion-at-point.
8219 (read-shell-command): Setup completion vars here instead.
8220 (read-expression-map): Bind TAB to symbol completion.
8221
52d3c2d0
SM
8222 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8223 error directly rather via storing it into `results'.
8224
35813471
LL
82252011-05-02 Leo Liu <sdl.web@gmail.com>
8226
8227 * vc/diff.el: Fix description.
8228
e793a940
LMI
82292011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8230
8231 * server.el (server-eval-at): New function.
8232
8de66e05
LMI
82332011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8234
8235 * net/network-stream.el (open-network-stream): Take a :nowait
8236 parameter and pass it on to `make-network-process'.
8237 (network-stream-open-plain): Ditto.
8238
dcb79f20
AS
82392011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8240
8241 * faces.el (face-spec-set-match-display): Don't match toolkit
8242 options on terminal frames.
8243
14a7fbd8
SM
82442011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8245
7eabc1be
SM
8246 * progmodes/pascal.el: Use lexical binding.
8247 (pascal-mode-map): Remove author preferences.
8248
14a7fbd8
SM
8249 * pcomplete.el (pcomplete-std-complete): Don't abuse
8250 completion-at-point.
8251
50f84510
JB
82522011-04-28 Juanma Barranquero <lekktu@gmail.com>
8253
6e087a44
JB
8254 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8255 removing code that has been dead since 1991 or so.
8256
50f84510
JB
8257 * startup.el (command-line): When warning about "_emacs", use a
8258 delayed warning to allow the user to filter it out.
8259
0ba690bd
DD
82602011-04-28 Deniz Dogan <deniz@dogan.se>
8261
8262 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8263 user has not joined.
8264
08abfaad
SM
82652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8268 aren't any completions at point.
8269
638f053a
JB
82702011-04-28 Juanma Barranquero <lekktu@gmail.com>
8271
8272 * subr.el (display-delayed-warnings): New function.
8273 (delayed-warnings-hook): New variable.
8274
8fff8daa
SM
82752011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8276
08abfaad
SM
8277 * minibuffer.el (completion-at-point, completion-help-at-point):
8278 Don't presume that a given completion-at-point-function will always
8279 use the same calling convention.
8280
8fff8daa
SM
8281 * pcomplete.el (pcomplete-completions-at-point):
8282 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8283 pcomplete-seen is non-nil.
8284 (pcomplete-comint-setup): Also recognize the new comint/shell
8285 completion functions.
8286 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8287 pcomplete-seen is non-nil.
8288
841a1577 82892011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8290
841a1577 8291 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8292 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8293 the first character in the entry. This allows for code to add its
211ec907
UJ
8294 own uid to the entry.
8295 (icalendar--convert-float-to-ical): Add export of
8296 `diary-float'-entries save for those with the optional DAY
8297 argument.
8298
2a782793
DC
82992011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8300
8301 * subr.el (shell-quote-argument): Use alternate escaping strategy
8302 when we spot a variable reference in a string.
8303
0438ce91
DC
83042011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8305
8306 * cus-start.el (all): Define customization for debug-on-event.
8307
841a1577 83082011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8309
8310 * subr.el (shell-quote-argument): Escape correctly under Windows.
8311
d090ed6c
SM
83122011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8315
bfd31217
MA
83162011-04-25 Michael Albinus <michael.albinus@gmx.de>
8317
d090ed6c
SM
8318 * net/tramp.el (tramp-process-actions): Add POS argument.
8319 Delete region between POS and (pos).
bfd31217 8320
d090ed6c
SM
8321 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8322 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8323 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8324
8325 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8326 position in `tramp-process-actions' call.
8327
8328 * net/trampver.el: Update release number.
8329
e92f3bd3
SM
83302011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8331
850256b5
SM
8332 * custom.el (defcustom): Obey lexical-binding.
8333
e92f3bd3
SM
8334 Fix octave-inf completion problems reported by Alexander Klimov.
8335 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8336 Inherit from octave-mode-syntax-table.
8337 (inferior-octave-mode): Set info-lookup-mode.
8338 (inferior-octave-completion-at-point): New function.
8339 (inferior-octave-complete): Use it and completion-in-region.
8340 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8341 comint-filename-completion.
8342 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8343 symbol elements which shouldn't be word elements.
8344 (octave-font-lock-keywords, octave-beginning-of-defun)
8345 (octave-function-header-regexp): Adjust regexps accordingly.
8346 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8347
cd22b309
JB
83482011-04-25 Juanma Barranquero <lekktu@gmail.com>
8349
8350 * net/gnutls.el (gnutls-errorp): Declare before first use.
8351
8b492194
TZ
83522011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8353
8354 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8355 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8356 default trustfile exists before going to use it. Add missing
5a5fa834 8357 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8358 Reported by Claudio Bley <claudio.bley@gmail.com>.
8359 (open-gnutls-stream): Add usage example.
8360
8361 * net/network-stream.el (network-stream-open-starttls): Give host
8362 parameter to `gnutls-negotiate'.
8363 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8364 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8365
841a1577 83662011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8367
cd22b309
JB
8368 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8369 Use correct match group (bug#8438).
05842630 8370
3ba7869c
CY
83712011-04-24 Chong Yidong <cyd@stupidchicken.com>
8372
512e3ae1
CY
8373 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8374 (package-menu--generate): New arg specifying packages to show.
8375 (package-menu-refresh, package-menu-execute, list-packages):
8376 Callers changed.
8377 (package-show-package-list): New function, replacing deleted
8378 package--list-packages (renamed because it is non-internal).
8379
8380 * finder.el (finder-list-matches): Use package-show-package-list
8381 instead of deleted package--list-packages.
8382
e92f3bd3
SM
8383 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8384 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8385 (vc-annotate-mode-map): Bind it to RET.
8386
7031be6d
UR
83872011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8388
8389 * progmodes/etags.el (next-file): Don't use set-buffer to change
8390 buffers (Bug#8478).
8391
4ef177aa
CY
83922011-04-24 Chong Yidong <cyd@stupidchicken.com>
8393
c8d173eb
CY
8394 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8395
4ef177aa
CY
8396 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8397 (apropos-accumulator): Doc fix.
8398 (apropos-function, apropos-macro, apropos-command)
8399 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8400 (apropos-plist): Add face property.
8401 (apropos-symbols-internal): Fix indentation.
8402 (apropos-print): Simplify help, and recognize apropos-multi-type.
8403 (apropos-print-doc): Use button-type-get to extract the button's
8404 face property. Fill docstring (Bug#8352).
8405
4ffd0d6b 84062011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8407
8408 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8409
c6c32125 8410 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8411 (mpuz-mode-map): Use mapc.
c6c32125
JB
8412 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8413 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8414 Fix typos in docstrings.
8415
58d468b4
JB
8416 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8417 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8418
6470c3c6
JB
8419 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8420
4ffd0d6b 84212011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8422
8423 * minibuffer.el (completion--do-completion): Avoid the "Next char
8424 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8425
3ad8bad0
CY
8426 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8427 mouse-2 into unread-command-events, it is interpreted correctly.
8428
71d73c9c 8429 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8430 (image-toggle-display): Doc fix.
71d73c9c 8431
841a1577 84322011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8433
4ffd0d6b
GM
8434 * textmodes/page.el (what-page): Use line-number-at-pos to
8435 calculate line number (Bug#6825).
6e1dbaa9 8436
c2fb1b60
JB
84372011-04-22 Juanma Barranquero <lekktu@gmail.com>
8438
8439 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8440 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8441 Pass argument NO-DEFAULT to `find-tag-interactive'.
8442
e02f48d7
JB
84432011-04-22 Juanma Barranquero <lekktu@gmail.com>
8444
8445 Lexical-binding cleanup.
8446
8447 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8448 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8449 * progmodes/ada-prj.el (ada-prj-initialize-values)
8450 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8451 (ada-prj-show-value):
8452 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8453 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8454 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8455 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8456 * progmodes/bug-reference.el (bug-reference-push-button):
8457 * progmodes/fortran.el (fortran-line-length):
8458 * progmodes/glasses.el (glasses-change):
8459 * progmodes/octave-mod.el (octave-fill-paragraph):
8460 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8461 (python-pdbtrack-grub-for-buffer, python-sentinel):
8462 * progmodes/sql.el (sql-save-connection):
8463 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8464 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8465 Mark unused parameters.
8466
8467 * progmodes/compile.el (compilation--flush-directory-cache)
8468 (compilation--flush-parse, compile-internal): Mark unused parameters.
8469 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8470 (compilation-next-error-function): Remove unused variable `timestamp'.
8471
8472 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8473 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8474
8475 * progmodes/dcl-mode.el (dcl-end-of-command):
8476 Remove unused variable `start'.
8477 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8478 (dcl-option-value-basic, dcl-option-value-offset)
8479 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8480 Mark unused parameters.
8481 (dcl-save-local-variable): Remove unused variable `val'.
8482 (mode): Declare.
8483
8484 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8485 Mark unused parameters.
8486 (delphi-ignore-changes): Move before first use.
8487 (delphi-charset-token-at): Remove unused variable `start'.
8488 (delphi-else-start): Remove unused variable `if-count'.
8489 (delphi-comment-block-start, delphi-comment-block-end):
8490 Remove unused variable `kind'.
8491 (delphi-indent-line): Remove unused variable `new-point'.
8492
8493 * progmodes/ebrowse.el (ebrowse-files-list)
8494 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8495 Mark unused parameters. Don't quote `lambda'.
8496 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8497 Don't quote `lambda'.
8498 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8499 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8500 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8501 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8502 Use `ignore-errors'.
8503 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8504 (ebrowse-view/find-file-and-search-pattern)
8505 (ebrowse-view/find-member-declaration/definition):
8506 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8507 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8508 Rename parameter PREFIX-ARG to PREFIX.
8509 (ebrowse-tags-read-name): Remove unused variables `start' and
8510 `member-info'.
8511 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8512 to `tags-file'.
8513
8514 * progmodes/etags.el (local-find-tag-hook): Declare.
8515 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8516 Mark unused parameters.
8517
8518 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8519 (executable-interpret): Mark unused parameter.
8520
8521 * progmodes/flymake.el (flymake-process-sentinel)
8522 (flymake-after-change-function)
8523 (flymake-create-temp-with-folder-structure)
8524 (flymake-get-include-dirs-dot): Mark unused parameters.
8525 (flymake-safe-delete-directory): Remove unused variable `err'.
8526
8527 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8528 (speedbar-timer-fn, speedbar-line-text)
8529 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8530 (speedbar-center-buffer-smartly): Declare functions.
8531 (gdb-find-watch-expression): Remove unused variable `array'.
8532 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8533 (gdb-starting): Mark unused parameters.
8534 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8535 (gdb-table-string): Remove unused variable `res'.
8536 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8537 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8538 (gdb-display-buffer): Remove unused variable `cur-size'.
8539
8540 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8541 allow lexical-binding compilation.
8542 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8543 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8544 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8545 Mark unused parameters.
8546 (gud-gdb-marker-filter): Remove unused variable `match'.
8547 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8548 lambda expressions and funcall them, instead of using `fset'.
8549
8550 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8551 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8552
8553 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8554 variable `header-beg'; use `let'.
8555
8556 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8557 `restart', `last-sexp' and `at-do'.
8558
8559 * progmodes/js.el (js--debug): Mark unused parameter.
8560 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8561 (js--splice-into-items): Remove unused variable `item'.
8562 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8563
8564 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8565 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8566 (makefile-complete): Remove unused variable `try'.
8567 (makefile-fill-paragraph, makefile-match-function-end):
8568 Mark unused parameters.
8569
8570 * progmodes/octave-inf.el (inferior-octave-complete):
8571 Remove unused variable `proc'.
8572 (inferior-octave-output-digest): Mark unused parameter.
8573
8574 * progmodes/perl-mode.el (perl-calculate-indent):
8575 Remove unused variable `err'.
8576
8577 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8578 (prolog-indent-line): Mark unused parameters.
8579 (prolog-indent-line): Remove unused variable `beg'.
8580
8581 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8582 (reporter-dont-compact-list): Declare.
8583
8584 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8585 Remove unused variable `char'.
8586 (sh-debug): Mark unused parameter.
8587 (sh-get-indent-info): Remove unused variable `start'.
8588 (sh-calculate-indent): Remove unused variable `var'.
8589
8590 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8591 (simula-electric-keyword): Remove unused variable `null'.
8592 (simula-search-backward, simula-search-forward): Remove unused
8593 variables `begin' and `end'.
8594
8595 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8596 Remove unused variable `pos'.
8597 (vera-electric-tab, vera-comment-uncomment-region):
8598 Mark unused parameters.
8599 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8600
7ede3b65
CY
86012011-04-22 Chong Yidong <cyd@stupidchicken.com>
8602
8603 * emacs-lisp/package.el (package--builtins, package-alist)
8604 (package-load-descriptor, package-built-in-p, package-activate)
8605 (define-package, package-installed-p)
8606 (package-compute-transaction, package-buffer-info)
8607 (package--push): Doc fix. Distinguish more clearly between
8608 version strings and version lists.
8609
121656e9
JB
86102011-04-21 Juanma Barranquero <lekktu@gmail.com>
8611
8612 Lexical-binding cleanup.
8613
8614 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8615 (5x5-make-mutate-best):
8616 * play/fortune.el (fortune-in-buffer):
8617 * play/gomoku.el (gomoku-init-display):
8618 * play/solitaire.el (solitaire, solitaire-do-check):
8619 * play/tetris.el (tetris-default-update-speed-function):
8620 Mark unused parameters.
8621
8622 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8623 (bubbles--shift): Remove unused variable `char-org'.
8624 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8625 (bubbles--show-images): Remove unused variable `char'.
8626
8627 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8628 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8629 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8630 (decipher-analyze-buffer): Use ?\s.
8631 (decipher-make-checkpoint): Remove unused variable `mapping'.
8632
8633 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8634
8635 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8636 Remove unused variable `result'; use `let'.
8637
8638 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8639 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8640 (gametree-children-shown-p, gametree-compute-reduced-score):
8641 Use `ignore-errors'.
8642
8643 * play/handwrite.el (ps-lpr-switches): Declare.
8644 (handwrite): Remove unused variables `pmin' and `lastp'.
8645
8646 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8647
8648 * play/landmark.el (landmark-init-display)
8649 (landmark-update-naught-weights): Mark unused parameters.
8650 (landmark-y): Remove unused variable `noise'. Simplify.
8651 (landmark-human-plays): Remove unused variable `score'.
8652
8653 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8654 (mpuz-try-proposal): Remove unused variable `game'.
8655
8656 * play/zone.el (life-patterns): Declare.
8657
80f499c7
JB
86582011-04-20 Juanma Barranquero <lekktu@gmail.com>
8659
8660 * vc/vc.el (ediff-vc-internal): Declare function.
8661
024ff170
SM
86622011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8663
c0a193ea
SM
8664 * shell.el: Use lexical-binding and std completion UI.
8665 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8666 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8667 comint-preoutput-filter-functions rather than on
8668 comint-output-filter-functions.
8669 (shell-command-completion, shell--command-completion-data)
8670 (shell-filename-completion, shell-environment-variable-completion)
8671 (shell-c-a-p-replace-by-expanded-directory): New functions.
8672 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8673 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8674 (shell-dynamic-complete-environment-variable): Use them.
8675 (shell-dynamic-complete-as-environment-variable)
8676 (shell-dynamic-complete-as-command): Remove.
8677 (shell-match-partial-variable): Match past point.
8678 * comint.el: Clean up use of completion-at-point-functions.
8679 (comint-completion-at-point): New function.
8680 (comint-mode): Use it completion-at-point-functions.
8681 (comint-dynamic-complete): Make it obsolete.
8682 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8683 (comint-c-a-p-replace-by-expanded-history): New function.
8684 (comint-dynamic-complete-functions)
8685 (comint-replace-by-expanded-history): Use it.
8686 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8687 termination strings. Try harder to avoid second try-completion.
8688 (completion-in-region-mode-map): Disable bindings that don't work yet.
8689
2dbaa080
SM
8690 * comint.el: Use lexical-binding. Require CL.
8691 (comint-dynamic-complete-functions): Use comint-filename-completion.
8692 (comint-completion-addsuffix): Tweak custom type.
8693 (comint-filename-completion, comint--common-suffix)
8694 (comint--common-quoted-suffix, comint--table-subvert)
8695 (comint--complete-file-name-data): New functions.
8696 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8697 (comint-dynamic-list-filename-completions): Use them.
8698 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8699
2dbaa080
SM
8700 * minibuffer.el (completion-in-region-mode):
8701 Keep completion-in-region-mode--predicate global.
8702 (completion-in-region--postch):
8703 Assume completion-in-region-mode--predicate is not null.
8704
c79a6f38
SM
8705 * progmodes/flymake.el (flymake-start-syntax-check-process):
8706 Obey `dir'. Simplify.
8707
024ff170
SM
8708 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8709 we're in VC after all.
8710
1c6c854e
CS
87112011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8712
8713 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8714 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8715 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8716
bed7f140
SM
87172011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8718
332e62ab
SM
8719 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8720 add sanity check.
8721
bed7f140
SM
8722 * obsolete/erc-hecomplete.el: Make obsolete.
8723 * obsolete/: Standardize obsolescence info in the header.
8724
f195c582
GM
87252011-04-20 Glenn Morris <rgm@gnu.org>
8726
8727 * calendar/solar.el (solar-horizontal-coordinates):
8728 Use the longitude argument rather than `calendar-longitude'.
8729 (solar-date-next-longitude): Remove unused locals.
8730
cb79b8c0
VJL
87312011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8732
8733 * whitespace.el: New version 13.2.1.
8734
87352011-04-20 felix <EmacsWiki> (tiny change)
8736
d8e4b68b 8737 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8738 switching between major modes on a file.
8739
602ea69d
SM
87402011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8743 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8744 multi-line comments as well.
8745
06b60517
JB
87462011-04-19 Juanma Barranquero <lekktu@gmail.com>
8747
8748 Lexical-binding cleanup.
8749
8750 * arc-mode.el (archive-mode-revert):
8751 * cmuscheme.el (scheme-interactively-start-process):
8752 * custom.el (custom-initialize-delay):
8753 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8754 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8755 * emacs-lock.el (emacs-lock-clear-sentinel):
8756 * ezimage.el (defezimage):
8757 * follow.el (follow-avoid-tail-recenter):
8758 * fringe.el (set-fringe-mode-1):
8759 * generic-x.el (bat-generic-mode-compile):
8760 * help-mode.el (help-info-variable, help-do-xref)
8761 (help-mode-revert-buffer):
8762 * help.el (view-emacs-todo):
8763 * iswitchb.el (iswitchb-completion-help):
8764 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8765 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8766 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8767 * locate.el (locate-update):
8768 * longlines.el (longlines-encode-region)
8769 (longlines-after-change-function):
8770 * outline.el (outline-isearch-open-invisible):
8771 * ps-def.el (declare-function, charset-dimension, char-width)
8772 (encode-char):
8773 * ps-mule.el (ps-mule-plot-string):
8774 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8775 (recentf-edit-list-select, recentf-edit-list-validate)
8776 (recentf-open-files-action):
8777 * rect.el (delete-whitespace-rectangle-line)
8778 (rectangle-number-line-callback):
8779 * register.el (window-configuration-to-register)
8780 (frame-configuration-to-register):
8781 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8782 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8783 (xselect-convert-to-targets, xselect-convert-to-delete)
8784 (xselect-convert-to-filename, xselect-convert-to-charpos)
8785 (xselect-convert-to-lineno, xselect-convert-to-colno)
8786 (xselect-convert-to-os, xselect-convert-to-host)
8787 (xselect-convert-to-user, xselect-convert-to-class)
8788 (xselect-convert-to-name, xselect-convert-to-integer)
8789 (xselect-convert-to-atom, xselect-convert-to-identity):
8790 * subr.el (declare, ignore, process-kill-without-query)
8791 (text-clone-maintain):
8792 * terminal.el (te-get-char, te-tic-sentinel):
8793 * tool-bar.el (tool-bar-make-keymap):
8794 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8795 * type-break.el (type-break-mode, type-break-noninteractive-query):
8796 * view.el (View-back-to-mark):
8797 * wid-browse.el (widget-browse-action, widget-browse-widget)
8798 (widget-browse-widgets, widget-browse-sexp):
8799 * widget.el (define-widget-keywords):
8800 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8801 Mark unused parameters.
8802
8803 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8804 (align-areas): Remove unused variable `look'.
8805 (align-region): Remove unused variables `real-end' and `pos-list'.
8806
8807 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8808
8809 * bindings.el (mode-line-modified, mode-line-remote):
8810 Mark unused parameters.
8811 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8812
8813 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8814 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8815
8816 * comint.el (comint-history-isearch-pop-state)
8817 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8818 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8819 (comint-substitute-in-file-name): Doc fix.
8820
8821 * completion.el (cmpl-statistics-block): Mark unused parameter.
8822 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8823 (save-completions-to-file, load-completions-from-file):
8824 Remove unused local variable `e'.
8825
8826 * composite.el (compose-chars): Remove unused variable `len'.
8827 (lgstring-insert-glyph): Remove unused variable `g'.
8828 (compose-glyph-string): Remove unused variables `ascent',
8829 `descent', `lbearing' and `rbearing'.
8830 (compose-glyph-string-relative): Remove unused variables
8831 `lbearing', `rbearing' and `wadjust'.
8832 (compose-gstring-for-graphic): Remove unused variables `header',
8833 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8834 (compose-gstring-for-terminal): Remove unused variables `header'
8835 and `nchars'. Use `let', not `let*'.
8836
8837 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8838 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8839 (Custom-buffer-done, custom-buffer-create-internal)
8840 (custom-browse-visibility-action, custom-browse-group-tag-action)
8841 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8842 (widget-magic-mouse-down-action, custom-toggle-parent)
8843 (custom-add-parent-links, custom-toggle-hide-variable)
8844 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8845 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8846 (custom-face-menu-create, custom-variable-menu-create, get)
8847 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8848 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8849 (customize-apropos): Remove unused variable `tests'.
8850 (custom-group-value-create): Remove unused variable `hidden-p'.
8851 (sort-fold-case): Declare.
8852
8853 * cus-theme.el (custom-reset-standard-faces-list)
8854 (custom-reset-standard-variables-list): Declare.
8855 (customize-create-theme, custom-theme-revert, custom-theme-write)
8856 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8857 Mark unused parameters.
8858
8859 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8860
8861 * delim-col.el (delimit-columns-max): Move defvar before first use.
8862
8863 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8864 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8865
8866 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8867 (auto-insert): Declare.
8868 (desktop-restore-file-buffer): Rename desktop-* parameters;
8869 mark unused ones.
8870 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8871 (desktop-buffer): Rename desktop-* parameters.
8872
8873 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8874 (dframe-reposition-frame-xemacs, dframe-help-echo)
8875 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8876 Mark unused parameters.
8877
8878 * dired-aux.el (backup-extract-version-start, overwrite-query)
8879 (overwrite-backup-query, rename-regexp-query)
8880 (rename-non-directory-query): Declare.
8881 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8882 (dired-add-entry): Remove unused variable `orig-file-name'.
8883 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8884 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8885 `dired-copy-preserve-time' directly.
8886 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8887 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8888
8889 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8890 (dired-virtual-revert, dired-make-relative-symlink):
8891 Mark unused parameters.
8892 (manual-program): Declare.
8893 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8894 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8895 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8896
8897 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8898
8899 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8900
8901 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8902 Declare.
8903
8904 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8905
8906 * electric.el (Electric-command-loop): Rename parameter
8907 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8908
8909 * expand.el (expand-in-literal): Remove unused variable `here'.
8910
8911 * facemenu.el (facemenu-add-new-color):
8912 Remove unused variable `docstring'.
8913
8914 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8915 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8916 (face-attr-construct): Mark unused parameter. Doc fix.
8917 (read-color): Remove unused variable `hex-string'.
8918
8919 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8920 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8921 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8922 (display-buffer-other-frame): Remove unused variable `old-window'.
8923 (kill-buffer-hook): Declare.
8924 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8925 Mark unused parameters.
8926 (after-find-file): Pass 1 to `auto-save-mode', not t.
8927
8928 * files-x.el (auto-insert): Declare.
8929 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8930
8931 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8932 variable `buf'. Mark unused parameter.
06b60517
JB
8933 (find-lisp-insert-directory): Mark unused parameter.
8934
8935 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8936 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8937 (format-common-tail): Remove, unused.
8938 (format-deannotate-region): Remove unused variable `loc'.
8939 (format-annotate-region): Remove unused variable `p'.
8940 (format-annotate-single-property-change): Remove unused variables
8941 `default' and `tail'.
8942
8943 * forms.el (read-file-filter): Declare.
8944 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8945
8946 * frame.el (frame-creation-function-alist): Mark unused parameter.
8947 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8948
8949 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8950 Remove unused parameters.
8951 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8952 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8953
8954 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8955 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8956 (hfy-prepare-tag-map): Mark unused parameters.
8957 (htmlfontify-buffer): Use `called-interactively-p'.
8958
8959 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8960 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8961 (ibuffer-do-occur): Mark unused parameters.
8962 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8963 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8964
8965 * ibuffer.el: Don't quote `lambda'.
8966 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8967 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8968 Mark unused parameters.
8969
8970 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8971 (ido-completing-read): Mark unused parameters.
8972 (ido-copy-current-word): Mark unused parameters;
8973 remove unused variable `name'.
8974 (ido-sort-merged-list): Remove unused parameter `dirs'.
8975
8976 * ielm.el (ielm-input-sender): Mark unused parameter.
8977 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8978 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8979 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8980 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8981 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8982
8983 * image-dired.el (image-dired-display-thumbs): Remove unused
8984 variables `curr-file' and `count'.
8985 (image-dired-remove-tag): Remove unused variable `start'.
8986 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8987 variable `curr-file'
8988 (image-dired-rotate-original): Remove unused variable `temp-file'.
8989 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8990 Remove unused variable `file'.
8991 (image-dired-gallery-generate): Remove unused variable `curr'.
8992 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8993
8994 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8995
8996 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8997
8998 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8999
9000 * isearch.el (minibuffer-history-symbol): Declare.
9001 (isearch-edit-string): Remove unused variable `err'.
9002 (isearch-message-prefix, isearch-message-suffix):
9003 Mark unused parameters.
9004
9005 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9006
9007 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9008
9009 * makesum.el (double-column): Remove unused variable `cnt'.
9010
9011 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9012 (ido-ignore-item-temp-list): Declare.
9013
9014 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9015 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9016 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9017 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9018 `mouse-col-delta'.
9019
9020 * mouse-sel.el (mouse-extend-internal):
9021 Remove unused variable `orig-window-frame'.
9022
9023 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9024 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9025 Move declarations before first use.
9026 (pcomplete-opt): Mark unused parameters; doc fix.
9027
9028 * proced.el (proced-revert): Mark unused parameter.
9029 (proced-send-signal): Remove unused variable `err'.
9030
9031 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9032 Rename parameter PREFIX-ARG to ARG.
9033 (ps-basic-plot-string, ps-basic-plot-whitespace):
9034 Mark unused parameters.
9035
9036 * replace.el (replace-count): Define.
9037 (occur-revert-function): Mark unused parameters.
9038 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9039 (isearch-case-fold-search, isearch-string): Declare.
9040 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9041 bind `case-fold-search'. Remove unused variables `beg' and `end',
9042 and simplify.
9043 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9044 COUNT and bind `replace-count'.
9045 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9046 to COUNT.
9047
9048 * savehist.el (print-readably, print-string-length): Declare.
9049
9050 * shadowfile.el (shadow-expand-cluster-in-file-name):
9051 Remove unused variable `cluster'.
9052 (shadow-copy-file): Remove unused variable `i'.
9053 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9054 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9055 (shadow-define-literal-group, shadow-define-regexp-group)
9056 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9057
9058 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9059 (shell): Use `called-interactively-p'.
9060 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9061
9062 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9063 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9064 (delete-backward-char): Remove unused variable `ocol'.
9065 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9066 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9067 (event-apply-hyper-modifier, event-apply-shift-modifier)
9068 (event-apply-control-modifier, event-apply-meta-modifier):
9069 Mark unused parameters.
9070 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9071 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9072
9073 * speedbar.el (speedbar-ignored-directory-expressions)
9074 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9075 (speedbar-find-file, speedbar-dir-follow)
9076 (speedbar-directory-buttons-follow, speedbar-tag-find)
9077 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9078 (speedbar-buffers-line-directory, speedbar-buffer-click):
9079 Mark unused parameters.
9080 (speedbar-tag-file): Remove unused variable `mode'.
9081 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9082
9083 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9084
9085 * talk.el (talk): Remove unused variable `display'.
9086
9087 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9088 (tar-write-region-annotate): Mark unused parameter.
9089
9090 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9091 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9092 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9093 warning by another.
9094
9095 * time-stamp.el (time-stamp-string-preprocess):
9096 Remove unused variable `require-padding'.
9097
9098 * tree-widget.el (widget-glyph-enable): Declare.
9099 (tree-widget-action): Mark unused parameter.
9100
9101 * w32-fns.el (x-get-selection): Mark unused parameter.
9102 (autoload-make-program, generated-autoload-file): Declare.
9103
9104 * wdired.el (wdired-revert): Mark unused parameters.
9105 (wdired-xcase-word): Remove unused variable `err'.
9106
9107 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9108 (whitespace-help-scroll): Remove unused variable `data-help'.
9109
9110 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9111 (widget-image-insert, widget-after-change, default)
9112 (widget-default-format-handler, widget-default-notify)
9113 (widget-default-prompt-value, widget-info-link-action)
9114 (widget-url-link-action, widget-function-link-action)
9115 (widget-variable-link-action, widget-file-link-action)
9116 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9117 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9118 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9119 (widget-insert-button-action, widget-delete-button-action, visibility)
9120 (widget-documentation-link-action, widget-documentation-string-action)
9121 (widget-const-prompt-value, widget-regexp-match, symbol)
9122 (widget-coding-system-prompt-value)
9123 (widget-key-sequence-value-to-external, sexp)
9124 (widget-sexp-value-to-internal, character, vector, cons)
9125 (widget-choice-prompt-value, widget-boolean-prompt-value)
9126 (widget-color--choose-action): Mark unused parameters.
9127 (widget-item-match-inline, widget-choice-match-inline)
9128 (widget-checklist-match, widget-checklist-match-inline)
9129 (widget-group-match): Rename parameter VALUES to VALS.
9130 (widget-field-value-set): Remove unused variable `size'.
9131 (widget-color-action): Remove unused variables `value' and `start'.
9132
9133 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9134 variable `dir'. Doc fix.
06b60517
JB
9135 (windmove-find-other-window): Don't pass it.
9136
9137 * window.el (count-windows): Mark unused parameter.
9138 (bw-adjust-window): Remove unused variable `err'.
9139
9140 * woman.el (woman-file-name): Remove unused variable `default'.
9141 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9142 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9143 (global-font-lock-mode): Declare.
9144 (woman-decode-region): Mark unused parameter.
9145 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9146
9147 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9148 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9149 (x-dnd-handle-moz-url): Remove unused variable `title'.
9150 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9151
9152 * xml.el (xml-parse-tag, xml-parse-attlist):
9153 Remove unused variable `pos'.
9154
bc4f7f3d
GM
91552011-04-19 Glenn Morris <rgm@gnu.org>
9156
9157 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9158 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9159 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9160 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9161 * calendar/cal-html.el (cal-html-insert-minical):
9162 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9163 (calendar-mark-date-pattern):
9164 Prefix "unused" locals.
9165
9166 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9167 optional argument `style'.
9168
9169 * calendar/appt.el (appt-make-list):
9170 * calendar/cal-china.el (calendar-chinese-date-string):
9171 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9172 (diary-hebrew-yahrzeit):
9173 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9174 * calendar/calendar.el (calendar-generate-window):
9175 * calendar/time-date.el (time-to-days):
9176 Remove unused local variables.
9177
16a43933
CY
91782011-04-18 Chong Yidong <cyd@stupidchicken.com>
9179
9180 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9181 glyphless-char-display table.
9182 (tabulated-list-glyphless-char-display): New var.
9183
7eed1860
SS
91842011-04-18 Sam Steingold <sds@gnu.org>
9185
9186 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9187 to acknowledgments.
9188
4d2d1ccd
GM
91892011-04-17 Glenn Morris <rgm@gnu.org>
9190
9191 * calendar/diary-lib.el (diary-sexp-entry):
9192 * calendar/holidays.el (holiday-sexp):
9193 Set debug-on-error rather than the removed stack-trace-on-error.
9194
239da61d
GM
91952011-04-16 Glenn Morris <rgm@gnu.org>
9196
9197 * progmodes/f90.el: Use lexical-binding.
9198 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9199
8b05752a
SM
92002011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9201
daca8ba5
SM
9202 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9203 (mail-mode): Setup mailalias completion here instead.
9204 * mail/mailalias.el: Use lexical-binding.
9205 (pattern, mailalias-done): Declare dynamic.
9206 (mail-completion-at-point-function): New function, from mail-complete.
9207 (mail-complete): Use it.
9208 (mail-completion-expand): New function.
9209 (mail-get-names): Use it.
9210 (mail-directory, mail-directory-process, mail-directory-stream):
9211 Don't use `pattern' for lexically bound arg.
9212
6f542485
SM
9213 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9214
037e7c3f
SM
9215 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9216 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9217 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9218
8b05752a
SM
9219 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9220 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9221 (byte-interactive-p): Define them again, for use when inlining
9222 old code.
9223
49093f60
JB
92242011-04-15 Juanma Barranquero <lekktu@gmail.com>
9225
9226 * loadup.el: Use `string-to-number', not `string-to-int'.
9227
b5b8e7de
SM
92282011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9231 gud-gdb-complete-command.
9232 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9233 (gud-gdb-completion-at-point): New function.
9234 (gud-gdb-completions): Remove.
9235
f42efeb5
MA
92362011-04-14 Michael Albinus <michael.albinus@gmx.de>
9237
49093f60
JB
9238 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9239 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9240 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9241 whether `executable-find' is bound.
f42efeb5
MA
9242
9243 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9244
e240cc21
SM
92452011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * minibuffer.el (completion-in-region-mode-predicate)
9248 (completion-in-region-mode--predicate): New vars.
9249 (completion-in-region, completion-in-region--postch)
9250 (completion-in-region-mode): Use them.
9251 (completion--capf-wrapper): Also return the hook function.
9252 (completion-at-point, completion-help-at-point):
9253 Adjust and provide a predicate.
c2bd2ab0
SM
9254
9255 Preserve arg names for advice of subr and lexical functions (bug#8457).
9256 * help-fns.el (help-function-arglist): Consolidate the subr and
9257 new-byte-code cases. Add argument `preserve-names' to extract names
9258 from the docstring when needed.
9259 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9260 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9261 (ad-arglist): Use help-function-arglist's new arg.
9262 (ad-definition-type): Use cond.
9263
c183f693
JB
92642011-04-13 Juanma Barranquero <lekktu@gmail.com>
9265
06641a47
JB
9266 * autorevert.el (auto-revert-handler):
9267 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9268 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9269 Don't quote lambda.
9270
c183f693
JB
9271 * image-mode.el (image-transform-set-scale):
9272 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9273
1e3b6001
G
92742011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9275
9276 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9277 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9278 Upgrades via gnutls-cli are too slow to be done opportunistically.
9279
2d6af8dd
JB
92802011-04-12 Juanma Barranquero <lekktu@gmail.com>
9281
9282 * dframe.el (dframe-current-frame): Remove spurious quote.
9283
c0749a51
GM
92842011-04-12 Glenn Morris <rgm@gnu.org>
9285
088d0d61
GM
9286 * calendar/cal-tex.el (cal-tex-end-document):
9287 Try to automatically use latin1 input if needed.
9288
c0749a51
GM
9289 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9290 Don't try to cons a mark onto an empty element.
9291
5c90fde0
LL
92922011-04-11 Leo Liu <sdl.web@gmail.com>
9293
9294 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9295 buffers.
9296 (ido-kill-buffer-at-head): Support killing virtual buffers.
9297
369e974d
CY
92982011-04-10 Chong Yidong <cyd@stupidchicken.com>
9299
9300 * minibuffer.el (completion-show-inline-help): New var.
9301 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9302 (minibuffer-force-complete, minibuffer-complete-word):
9303 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9304
9305 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9306 to avoid interference from inline help (Bug#5849).
9307
37f1c930
LL
93082011-04-10 Leo Liu <sdl.web@gmail.com>
9309
099c39a4
JB
9310 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9311 Fix typo.
37f1c930 9312
a32d4040
CY
93132011-04-09 Chong Yidong <cyd@stupidchicken.com>
9314
9315 * image-mode.el (image-toggle-display-image): Signal an error if
9316 not in Image mode.
9317 (image-transform-mode, image-transform-resize)
9318 (image-transform-set-rotation): Doc fix.
daca8ba5 9319 (image-transform-set-resize): Delete.
a32d4040
CY
9320 (image-transform-set-scale, image-transform-fit-to-height)
9321 (image-transform-fit-to-width): Handle image-toggle-display-image
9322 and image-transform-resize directly.
9323
099c39a4 93242011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9325
9326 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9327 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9328 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9329 (doc-view-mode-map): Add bindings for the new functions.
9330
099c39a4 93312011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9332
4d61f28d 9333 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9334 Fix typo in docstring.
9335
3726838a
EZ
93362011-04-08 Eli Zaretskii <eliz@gnu.org>
9337
04f33f1e
EZ
9338 * files.el (file-size-human-readable): Produce one digit after
9339 decimal, like "ls -lh" does.
9340
9341 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9342 the file size representation.
9343
3726838a
EZ
9344 * simple.el (list-processes): If async subprocesses are not
9345 available, error out with a clear error message.
9346
cbb59342
CY
93472011-04-08 Chong Yidong <cyd@stupidchicken.com>
9348
9349 * help.el (help-form-show): New function, to be called from C.
9350 Put help-form output in a buffer named differently than *Help*.
9351
e3971c44
EZ
93522011-04-08 Eli Zaretskii <eliz@gnu.org>
9353
9354 * files.el (file-size-human-readable): New function.
9355
9356 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9357 computing the representation inline. Don't require `cl'.
9358
12544bbe
GM
93592011-04-08 Glenn Morris <rgm@gnu.org>
9360
a1de6c6a
GM
9361 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9362
3c4671f4
GM
9363 * net/browse-url.el (browse-url-firefox):
9364 Test system-type, not system-configuration.
9365
b605679c
GM
9366 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9367 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9368 Use log-edit-empty-buffer-p. (Bug#7598)
9369
56442f0c
GM
9370 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9371 (rlogin-mode-map): Initialize in the defvar.
9372 (rlogin): Use ignore-errors.
9373
12544bbe
GM
9374 * replace.el (occur-mode-map): Some fixes for menu items.
9375
eb237b0f
AH
93762011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9377
9378 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9379
7d668f2c
CY
93802011-04-06 Chong Yidong <cyd@stupidchicken.com>
9381
e67a13ab
CY
9382 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9383 issuing unused warnings.
9384
9385 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9386 macro directly.
9387
7d668f2c
CY
9388 * simple.el: Lisp reimplement of list-processes. Based on an
9389 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9390 (process-menu-mode): New major mode.
9391 (list-processes--refresh, list-processes):
9392 (process-menu-visit-buffer): New functions.
9393
9394 * files.el (save-buffers-kill-emacs): Don't assume any return
9395 value of list-processes, which is undocumented anyway.
9396
a83ec3c9
CY
93972011-04-06 Chong Yidong <cyd@stupidchicken.com>
9398
9399 * emacs-lisp/tabulated-list.el: New file.
9400
e91a96fe
CY
9401 * emacs-lisp/package.el: Use Tabulated List mode.
9402 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9403 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9404 table format using Tabulated List mode variables.
9405 (package--push): New macro, replacing package-list-maybe-add.
9406 (package-menu--generate): Use package--push. Renamed from
9407 package--generate-package-list.
9408 (package-menu-refresh, list-packages): Use it.
daca8ba5 9409 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9410 Return insertion data instead of inserting it directly.
099c39a4
JB
9411 (package-menu-describe-package, package-menu-execute):
9412 Use tabulated-list-get-id.
e91a96fe
CY
9413 (package-menu-mark-delete, package-menu-mark-install)
9414 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9415 (package-menu-mark-obsolete-for-deletion):
9416 Use tabulated-list-put-tag.
e91a96fe
CY
9417 (package--list-packages, package-menu-revert)
9418 (package-menu-get-package, package-menu-get-version)
9419 (package-menu-sort-by-column): Functions deleted.
9420 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9421 (package-menu--status-predicate, package-menu--version-predicate)
9422 (package-menu--name-predicate)
9423 (package-menu--description-predicate): Handle arguments in the
9424 Tabulated List format.
9425 (package-list-packages-no-fetch): Call list-packages.
9426
3e214b50
JB
94272011-04-06 Juanma Barranquero <lekktu@gmail.com>
9428
9429 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9430 (after-find-file): Don't bind it.
3e214b50
JB
9431 (revert-buffer-in-progress-p): New variable.
9432 (revert-buffer): Bind it.
9433 Pass nil for `after-find-file-from-revert-buffer'.
9434
9435 * saveplace.el (save-place-find-file-hook): Use new variable
9436 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9437
3f0f1700
GM
94382011-04-06 Glenn Morris <rgm@gnu.org>
9439
c0274801
GM
9440 * Makefile.in (AUTOGEN_VCS): New variable.
9441 (autoloads): Use $AUTOGEN_VCS.
9442
3f0f1700
GM
9443 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9444 * calendar/calendar.el (calendar-mode-map):
9445 Check for toolkit scroll bars. (Bug#8305)
9446
41ea9e48
CY
94472011-04-05 Chong Yidong <cyd@stupidchicken.com>
9448
9449 * minibuffer.el (completion-in-region--postch)
9450 (completion-in-region-mode): Remove unnecessary messages.
9451
6194c800
JB
94522011-04-05 Juanma Barranquero <lekktu@gmail.com>
9453
33256f14
JB
9454 * font-lock.el (font-lock-refresh-defaults):
9455 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9456 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9457
6194c800
JB
9458 * info.el (Info-directory-list, Info-read-node-name-2)
9459 (Info-split-parameter-string): Doc fixes.
9460 (Info-virtual-nodes): Reflow docstring.
9461 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9462 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9463 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9464 Fix typos in docstrings.
9465 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9466 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9467 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9468 (Info-restore-desktop-buffer): Mark unused parameters.
9469 (Info-directory-find-file, Info-directory-find-node)
9470 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9471 (Info-virtual-index-find-node, Info-apropos-find-file)
9472 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9473 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9474 (Info-virtual-index): Remove unused local variable `nodename'.
9475
b87a8200 94762011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9477
b87a8200
DD
9478 * net/rcirc.el: Update my e-mail address.
9479 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9480
3b2ff876
CY
94812011-04-05 Chong Yidong <cyd@stupidchicken.com>
9482
9483 * startup.el (command-line): Save the cursor's theme-face
9484 directly, instead of using face-override-spec.
9485
9486 * custom.el (load-theme): Minor optimization in assigning faces.
9487
8d17e7ca
JB
94882011-04-04 Juanma Barranquero <lekktu@gmail.com>
9489
9490 * help-fns.el (describe-variable): Complete all variables having
9491 documentation, including keywords.
9492 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9493
2fbc1934
JB
94942011-04-04 Juanma Barranquero <lekktu@gmail.com>
9495
9496 Convert to lexical-binding.
9497
9498 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9499 (bs--get-marked-string, bs--get-modified-string)
9500 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9501 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9502 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9503
9504 * ehelp.el (electric-help-execute-extended)
9505 (electric-help-ctrl-x-prefix):
9506 * hexl.el (hexl-revert-buffer-function):
9507 * linum.el (linum-after-change, linum-after-scroll):
9508 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9509
9510 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9511
74f50695
DU
95122011-04-04 Daiki Ueno <ueno@unixuser.org>
9513
9514 * epa-dired.el:
9515 * epa-mail.el:
9516 * epa-hook.el:
9517 * epa-file.el:
9518 * epa.el:
9519 * epg.el: Use lexical binding.
9520
c11325f7
CY
95212011-04-03 Chong Yidong <cyd@stupidchicken.com>
9522
0d9e9a12
CY
9523 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9524
c11325f7 9525 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9526 dictionary case for flyspell-mark-duplications-exceptions.
9527 Use regexp matching for languages.
c11325f7
CY
9528 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9529 default dictionary (Bug#7926).
9530
da91b5f2
CY
95312011-04-02 Chong Yidong <cyd@stupidchicken.com>
9532
099c39a4
JB
9533 * emacs-lisp/package.el (package--with-work-buffer):
9534 Recognize https URLs.
da91b5f2 9535
099c39a4
JB
9536 * net/network-stream.el: Move from gnus/proto-stream.el.
9537 Change prefix to network-stream throughout.
da91b5f2
CY
9538 (open-protocol-stream): Merge into open-network-stream, leaving
9539 open-protocol-stream as an alias. Handle nil BUFFER args.
9540
9541 * subr.el (open-network-stream): Move to net/network-stream.el.
9542
afa8e9f6
GM
95432011-04-02 Glenn Morris <rgm@gnu.org>
9544
1d2e369d
GM
9545 * find-dired.el (find-exec-terminator): New option.
9546 (find-ls-option): Test for -ls support.
9547 (find-ls-subdir-switches): Test for -b in find-ls-option.
9548 (find-dired, find-grep-dired): Doc fixes.
9549 (find-dired): Use find-exec-terminator.
9550
8abb7da8 9551 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9552 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9553 (find-name-arg): Remove purecopy.
8abb7da8 9554
f3ca7378
GM
9555 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9556 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9557 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9558 accordingly. Don't add the null-device if not needed.
9559
afa8e9f6
GM
9560 * files.el (save-some-buffers): Doc fix.
9561
35eae264
EZ
95622011-04-02 Eli Zaretskii <eliz@gnu.org>
9563
9564 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9565
26b51db5
JB
95662011-04-01 Juanma Barranquero <lekktu@gmail.com>
9567
9568 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9569 Use `dolist' rather than `mapcar'.
9570
7200d79c
SM
95712011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9572
03408648 9573 Add lexical binding.
7200d79c 9574
03408648
SM
9575 * subr.el (apply-partially): Use new closures rather than CL.
9576 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9577 (dolist, dotimes): Use slightly different expansion for lexical code.
9578 (functionp): Move to C.
9579 (letrec): New macro.
9580 (with-wrapper-hook): Use it and apply-partially instead of CL.
9581 (eval-after-load): Preserve lexical-binding.
9582 (save-window-excursion, with-output-to-temp-buffer): Turn them
9583 into macros.
7200d79c 9584
03408648
SM
9585 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9586
9587 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9588 than the arglist.
9589 (help-add-fundoc-usage): Don't add `Not documented'.
9590 (help-function-arglist): Handle closures, subroutines, and new
9591 byte-code-functions.
9592 (help-make-usage): Remove leading underscores.
9593 (describe-function-1): Handle closures.
9594 (describe-variable): Use special-variable-p for completion.
9595
9596 * files.el (lexical-binding): Declare safe.
f488fb65 9597
03408648
SM
9598 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9599 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9600 (pcase): Add `let' pattern.
9601 Change memoization so it actually works.
9602 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9603 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9604 <let>: New case.
f488fb65 9605
03408648
SM
9606 * emacs-lisp/macroexp.el: Use lexical binding.
9607 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9608 Don't convert ' to #' without checking that it's indeed quoting
9609 a lambda.
9610
9611 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9612 Use eval-sexp-add-defvars.
03408648
SM
9613 (eval-sexp-add-defvars): New fun.
9614
9615 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9616
9617 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9618 Don't autoload.
9619 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9620 than the internal `byte-compile-lambda'.
9621 (defmethod): Don't hide code under quotes.
9622 (eieio-defmethod): New `code' argument.
9623
9624 * emacs-lisp/eieio-comp.el: Remove.
9625
9626 * emacs-lisp/edebug.el (edebug-eval-defun)
9627 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9628 (edebug-toggle): Avoid `eval'.
9629
9630 * emacs-lisp/disass.el (disassemble-internal): Handle new
9631 `closure' objects.
9632 (disassemble-1): Handle new byte codes.
9633
9634 * emacs-lisp/cl.el (pushnew): Silence warning.
9635
9636 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9637 (cl-byte-compile-throw): Remove.
9638 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9639
9640 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9641 closures.
9642
9643 * emacs-lisp/cconv.el: New file.
9644
9645 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9646 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9647 (byte-compile-initial-macro-environment):
9648 Handle declare-function here.
9649 (byte-compile--lexical-environment): New var.
9650 (byte-stack-ref, byte-stack-set, byte-discardN)
9651 (byte-discardN-preserve-tos): New lap codes.
9652 (byte-interactive-p): Don't use any more.
9653 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9654 New macros.
9655 (byte-compile-lapcode): Use them and handle new lap codes.
9656 (byte-compile-obsolete): Remove.
9657 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9658 (byte-compile-arglist-warn): Check late def of inlinable funs.
9659 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9660 since they should have been expanded by now.
9661 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9662 (byte-compile-from-buffer): Remove unused second arg.
9663 (byte-compile-preprocess): New function.
9664 (byte-compile-toplevel-file-form): New function to distinguish
9665 file-form calls from outside from file-form calls from hunk-handlers.
9666 (byte-compile-file-form): Simplify.
9667 (byte-compile-file-form-defsubst): Remove.
9668 (byte-compile-file-form-defmumble): Simplify now that
9669 byte-compile-lambda always returns a byte-code-function.
9670 (byte-compile): Preprocess.
9671 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9672 Remove, not used any more.
9673 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9674 (byte-compile-make-args-desc): New funs.
9675 (byte-compile-lambda): Handle lexical functions. Always return
9676 a byte-code-function.
9677 (byte-compile-reserved-constants): New var, to make up room for
9678 closed-over variables.
9679 (byte-compile-constants-vector): Obey it.
9680 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9681 (byte-compile-macroexpand-declare-function): New function.
9682 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9683 byte-code-functions.
9684 (byte-compile-form): Check obsolescence here.
9685 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9686 (byte-compile-variable-ref): Remove.
9687 (byte-compile-dynamic-variable-op): New fun.
9688 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9689 (byte-compile-variable-set): New funs.
9690 (byte-compile-discard): Add 2 args.
9691 (byte-compile-stack-ref, byte-compile-stack-set)
9692 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9693 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9694 macroexpand-all instead.
9695 (byte-compile-quote-form): Remove.
9696 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9697 (byte-compile-bind, byte-compile-unbind): New funs.
9698 (byte-compile-let): Handle let* and lexical binding.
9699 (byte-compile-let*): Remove.
9700 (byte-compile-catch, byte-compile-unwind-protect)
9701 (byte-compile-track-mouse, byte-compile-condition-case):
9702 Handle a new :fun-body form, used for lexical scoping.
9703 (byte-compile-save-window-excursion)
9704 (byte-compile-with-output-to-temp-buffer): Remove.
9705 (byte-compile-defun): Simplify.
9706 (byte-compile-stack-adjustment): New fun.
9707 (byte-compile-out): Use it.
9708 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9709
9710 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9711 handler any more.
9712
9713 * emacs-lisp/byte-opt.el: Use lexical binding.
9714 (byte-inline-lapcode): Remove (to bytecomp).
9715 (byte-compile-inline-expand): Pay attention to inlining to/from
9716 lexically bound code.
9717 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9718 any more.
9719 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9720 any more and don't call compiler-macros.
9721 (byte-compile-splice-in-already-compiled-code): Remove.
9722 (byte-code): Don't inline any more.
9723 (disassemble-offset): Receive `bytes' as argument rather than via
9724 dynamic scoping.
9725 (byte-compile-tag-number): Declare before first use.
9726 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9727 `return' even if make-spliceable.
9728 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9729 obsolete interactive-p.
9730 (byte-optimize-lapcode): Optimize new lap-codes.
9731 Don't trip up on new form of `byte-constant' lap code.
9732
9733 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9734
9735 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9736
9737 * custom.el (custom-initialize-default, custom-declare-variable):
9738 Use `defvar'.
9739
9740 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9741 New variables.
9742 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9743 (COMPILE_FIRST): Add macroexp and cconv.
9744 * makefile.w32-in: Mirror changes in Makefile.in.
9745
9746 * vc/cvs-status.el:
9747 * vc/diff-mode.el:
9748 * vc/log-edit.el:
9749 * vc/log-view.el:
9750 * vc/smerge-mode.el:
9751 * textmodes/bibtex-style.el:
9752 * textmodes/css.el:
9753 * startup.el:
9754 * uniquify.el:
da91b5f2
CY
9755 * minibuffer.el:
9756 * newcomment.el:
9757 * reveal.el:
9758 * server.el:
9759 * mpc.el:
9760 * emacs-lisp/smie.el:
9761 * doc-view.el:
9762 * dired.el:
03408648
SM
9763 * abbrev.el: Use lexical binding.
9764
0f0c1f27
EZ
97652011-04-01 Eli Zaretskii <eliz@gnu.org>
9766
9767 * info.el (info-display-manual): New function.
9768
c82b2579
SM
97692011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9772
221ddf68
TH
97732011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9774
9775 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9776 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9777
cba6e77e
GM
97782011-03-31 Glenn Morris <rgm@gnu.org>
9779
e040639f
GM
9780 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9781
cba6e77e
GM
9782 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9783
6d0f1c9e
CS
97842011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9785
9786 * progmodes/python.el (python-default-interpreter)
9787 (python-python-command-args, python-jython-command-args)
9788 (python-which-shell, python-which-args, python-which-bufname)
9789 (python-file-queue, python-comint-output-filter-function)
9790 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9791 variables and functions.
9792
3e2d70fd
SM
97932011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9796 (completion-in-region-mode): New minor mode.
9797 (completion-in-region): Use it.
9798 (completion-in-region--data, completion-in-region-mode-map): New vars.
9799 (completion-in-region--postch): New function.
9800 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9801 New vars.
9802 (completion--capf-wrapper): New function.
9803 (completion-at-point): Use it to track well-behavedness of
9804 hook functions.
9805 (completion-help-at-point): New command.
9806
f3e4086c
JM
98072011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9808
9809 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9810 syntax class to search for whitespace on a single line
9811 (Message-ID: <4D938140.4030905@redhat.com>).
9812
eb7ffc14
LL
98132011-03-30 Leo Liu <sdl.web@gmail.com>
9814
9815 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9816 New commands.
9817 (edit-abbrevs-map): Bind them here.
9818 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9819
d806ab68
KM
98202011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9821
9822 * allout.el (allout-hide-by-annotation, allout-flag-region):
9823 Reduce possibility of overlay leakage by making them volatile.
9824
9825 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9826 hash is not shared between buffers. Mode initialization is
9827 responsible for giving it a useful starting value.
9828 (allout-item-span): Reduce possibility of overlay leakage by
9829 making them volatile.
9830 (allout-widgets-count-buttons-in-region): Add diagnostic function
9831 for tracking down button overlay leaks.
9832
ea622834
LL
98332011-03-29 Leo Liu <sdl.web@gmail.com>
9834
9835 * ido.el (ido-read-internal): Use the default history var
9836 minibuffer-history if no HISTORY is specified.
9837
b62f8267
G
98382011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9839
03408648
SM
9840 * net/imap.el (imap-shell-open, imap-process-connection-type):
9841 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9842 Kerberos, SSL, other subprocesses.
9843
947b6566
LL
98442011-03-28 Leo Liu <sdl.web@gmail.com>
9845
9846 * abbrev.el (abbrev-table-empty-p): New function.
9847 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9848 nonempty ones. (Bug#5937)
9849
5ffb62aa
JD
98502011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9851
9852 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9853
7a097943
LL
98542011-03-27 Leo Liu <sdl.web@gmail.com>
9855
9856 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9857 for foreground and background colors.
9858 (ansi-color-make-color-map): Adapt.
9859
c5b40130
LL
98602011-03-25 Leo Liu <sdl.web@gmail.com>
9861
1f48f7d2
LL
9862 * midnight.el (midnight-time-float): Remove. Note it calculates
9863 the microsecond component incorrectly and seconds-to-time does the
9864 same job.
625897ec 9865 Remove redundant (require 'timer).
1f48f7d2 9866
c5b40130
LL
9867 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9868 (ido-completions): Remove unused arguments. (Bug#8329)
9869
d86d2721
SM
98702011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * minibuffer.el (completion--flush-all-sorted-completions):
9873 Remove itself from hook.
9874 (completion-at-point): Let the functions perform the completion
9875 immediately and return nil or t.
9876 * comint.el (comint-dynamic-complete-functions): Now identical to
9877 completion-at-point-functions.
9878 (comint-dynamic-list-input-ring): Remove unused var `index'.
9879 (comint--match-partial-filename, comint--unquote&expand-filename):
9880 New funs, split from comint-match-partial-filename.
9881 (comint-dynamic-complete): Use completion-at-point.
9882 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9883
e8974c48
DA
98842011-03-24 Drew Adams <drew.adams@oracle.com>
9885
9886 * thingatpt.el: Support `defun'.
9887
def71b5e
LL
98882011-03-23 Leo Liu <sdl.web@gmail.com>
9889
cb5af48e
LL
9890 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9891
def71b5e
LL
9892 * help-mode.el (help-mode-finish): Tweak regexp.
9893
927c53e7
GM
98942011-03-23 Glenn Morris <rgm@gnu.org>
9895
18d05bed
GM
9896 * eshell/esh-opt.el (eshell-eval-using-options):
9897 Do not bind unused local variable `eshell-option-stub'.
9898
927c53e7
GM
9899 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9900
9d0da923
JB
99012011-03-22 Juanma Barranquero <lekktu@gmail.com>
9902
9903 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9904 keymap variable in `with-no-warnings' to avoid a warning when the
9905 keymap has been already `defconst'ed.
9906
4b978a67
LL
99072011-03-22 Leo Liu <sdl.web@gmail.com>
9908
9909 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9910 encode all chars in abbrevs; otherwise use emacs-mule or
9911 utf-8-emacs. (Bug#8308)
9912
5fd62452
JB
99132011-03-22 Juanma Barranquero <lekktu@gmail.com>
9914
0b1596c6
JB
9915 * simple.el (backward-delete-char-untabify):
9916 Avoid warning about using `delete-backward-char'.
9917
5fd62452
JB
9918 * image.el (image-type-file-name-regexps): Make it variable.
9919 `imagemagick-register-types' modifies it, and the user may want
9920 to add new extensions for known image types.
9921 (imagemagick-register-types): Throw error if not using ImageMagick.
9922
0b4e93f1
LL
99232011-03-22 Leo Liu <sdl.web@gmail.com>
9924
9925 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9926 located before rcirc-prompt-end-marker.
9927 (rcirc-complete): Error if point is not after rcirc prompt.
9928 Handle the case when table is nil.
9882e214 9929 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9930
fccee4ab
CY
99312011-03-22 Chong Yidong <cyd@stupidchicken.com>
9932
9933 * custom.el (custom--inhibit-theme-enable): Make it affect only
9934 custom-theme-set-variables and custom-theme-set-faces.
9935 (provide-theme): Ignore custom--inhibit-theme-enable.
9936 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9937 (custom-enabling-themes): Delete variable.
d86d2721
SM
9938 (enable-theme): Accept only loaded themes as arguments.
9939 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9940 (custom-enabled-themes): Forbid themes from setting this.
9941 Eliminate use of custom-enabling-themes.
9942 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9943
af896da6
LL
99442011-03-21 Leo Liu <sdl.web@gmail.com>
9945
9946 * ido.el (ido-read-internal): Add ido-selected to history instead
9947 of user input.
9948
78f64af0
SM
99492011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * subr.el (deferred-action-list, deferred-action-function):
9952 Mark obsolete.
9953
b16ac1ec
LL
99542011-03-21 Leo Liu <sdl.web@gmail.com>
9955
810f7698
LL
9956 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9957 change on 2011-02-13 (bug#8309).
9958
b16ac1ec
LL
9959 * minibuffer.el (read-file-name-function): Change default value.
9960 (read-file-name--defaults): Rename from read-file-name-defaults.
9961 (read-file-name-default): Rename from read-file-name.
9962 (read-file-name): Call read-file-name-function.
9963
4e05e67e
GM
99642011-03-21 Glenn Morris <rgm@gnu.org>
9965
9966 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9967 Doc fixes.
9968
4359915b
CY
99692011-03-21 Chong Yidong <cyd@stupidchicken.com>
9970
9971 * cus-theme.el: Add missing provide statement.
9972 (customize-create-theme): Extract theme value correctly.
9973 (custom-theme-visit-theme): Autoload.
9974 (customize-create-theme): Prompt before inserting default faces.
9975
1fe275ee
JB
99762011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9977
9978 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9979 units and musical notes.
9980
cd394be1 99812011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9982
9983 * ido.el (ido-read-internal): Use completing-read-default.
9984 (ido-completing-read): Fix compatibility with completing-read.
9985
7d476bde
CO
99862011-03-20 Christian Ohler <ohler@gnu.org>
9987
9988 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9989 (ert-delete-all-tests): Use `called-interactively-p' rather than
9990 `interactive-p'.
9991 (ert--make-xrefs-region): Respect END.
9992
fe0fb33e
CY
99932011-03-19 Chong Yidong <cyd@stupidchicken.com>
9994
ff854b0b
CY
9995 * dired-aux.el (dired-create-directory): Signal an error if the
9996 directory already exists (Bug#8246).
9997
fe0fb33e
CY
9998 * facemenu.el (list-colors-display): Call list-faces-display
9999 inside with-help-window.
10000 (list-colors-print): Use display property to align the final
10001 column, instead of checking window-width.
10002
576bce32
EZ
100032011-03-19 Eli Zaretskii <eliz@gnu.org>
10004
4d61f28d 10005 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10006 windows-nt systems.
10007 (emerge-protect-metachars): Quote correctly for ms-dos and
10008 windows-nt systems.
10009
89c41d68 100102011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10011
10012 * info.el (info-initialize): Replace all uses of `:' with
10013 path-separator for compatibility with non-Unix systems.
10014 Cache quoting of path-separator. (Bug#8258)
10015
b14e3e21 100162011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10017
10018 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10019 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10020 (mouse-avoidance-mode): Fix typos in docstrings.
10021
4525ce3e
CY
100222011-03-19 Chong Yidong <cyd@stupidchicken.com>
10023
10024 * startup.el (package-subdirectory-regexp): Move from package.el.
10025 Omit \\` and \\', and let callers add them.
10026
10027 * emacs-lisp/package.el (package-strip-version)
10028 (package-load-all-descriptors): Add \\` and \\' to
10029 package-subdirectory-regexp before using it.
10030 (package-untar-buffer): New arg DIR; ensure that file untars only
10031 into this expected directory. Remove superfluous delete-region.
10032 (package-unpack): Caller changed.
10033 (package-tar-file-info): Use package-subdirectory-regexp.
10034
a904a09a 100352011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10036
a904a09a
SM
10037 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10038 diff-mode-shared-map (bug#8284).
10039 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10040
100412011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10042
10043 * calendar/time-date.el (format-seconds): Use assoc instead of
10044 assoc-string, since assoc-string doesn't exist in XEmacs.
10045
171fc304
JB
100462011-03-17 Juanma Barranquero <lekktu@gmail.com>
10047
10048 * custom.el (custom-known-themes): Reflow docstring.
10049 (custom-theme-load-path): Fix typo in docstring.
10050 (load-theme): Fix typo in error message.
10051 (custom-available-themes, custom-variable-theme-value):
10052 Use `let', not `let*'.
10053
d71990a1
JB
100542011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10055
10056 * calc/README: Mention inclusion of musical notes.
10057
10058 * calc/calc-units.el (calc-lu-quant): Rename from
10059 `calc-logunits-quantity'.
10060 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10061 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10062 (calc-db): Rename from `calc-dblevel'.
10063 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10064 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10065 (calc-np): Rename from `calc-nplevel'.
10066 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10067 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10068 (calc-lu-plus): Rename from `calc-logunits-add'.
10069 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10070 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10071 (calc-lu-minus): Rename from `calc-logunits-sub'.
10072 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10073 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10074 (calc-lu-times): Rename from `calc-logunits-mul'.
10075 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10076 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10077 (calc-lu-divide): Rename from `calc-logunits-div'.
10078 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10079 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10080
10081 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10082 functions being autoloaded.
10083
10084 * calc/calc.el (calc-lu-power-reference): Rename from
10085 `calc-logunits-power-reference'.
10086 (calc-lu-field-reference): Rename from
10087 `calc-logunits-field-reference'.
10088
10089 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10090
40c2934b
SM
100912011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * minibuffer.el (completion-all-sorted-completions):
10094 Use :completion-cycle-penalty text property if present.
10095
b0911414
KM
100962011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10097
10098 * allout.el (allout-yank-processing): Adjust for new rebulleting
10099 regime so bullet being yanked is used without prompting the user
10100 for a choice.
10101
8a05b668
JB
101022011-03-16 Juanma Barranquero <lekktu@gmail.com>
10103
10104 * startup.el (command-line): Warn the user that _emacs is deprecated.
10105
5ba5fb81
JB
101062011-03-16 Juanma Barranquero <lekktu@gmail.com>
10107
10108 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10109 (delphi-verbose, delphi-comment-face, delphi-string-face)
10110 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10111 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10112 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10113 (delphi-new-comment-line, delphi-font-lock-defaults)
10114 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10115 Fix typos in docstrings.
10116
2dab465b
KM
101172011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10118
5ba5fb81 10119 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10120 Invert the roles of character and string values for INSTEAD, so a
10121 string is used for the more common case of a defaulting prompt.
10122
0adf5618
SM
101232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * progmodes/ruby-mode.el (ruby-backward-sexp):
10126 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10127 * play/gamegrid.el (gamegrid-make-face):
10128 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10129 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10130 * notifications.el (notifications-notify):
10131 * net/xesam.el (xesam-search-engines):
10132 * net/quickurl.el (quickurl-list-insert):
10133 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10134
d72700e5
CY
101352011-03-15 Chong Yidong <cyd@stupidchicken.com>
10136
10137 * startup.el (command-line): Update package subdirectory regexp.
10138
49c5410a
SM
101392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10140
c6eee9aa
SM
10141 * allout.el (allout-abbreviate-flattened-numbering)
10142 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10143
49c5410a
SM
10144 * subr.el (read-char-choice): Only show the cursor after the prompt,
10145 not after the answer.
10146
047b2bb9
KR
101472011-03-15 Kevin Ryde <user42@zip.com.au>
10148
10149 * help-fns.el (variable-at-point): Skip leading quotes, if any
10150 (bug#8253).
10151
0a57d256
SM
101522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10155 warning message.
10156
77c992bc
MA
101572011-03-14 Michael Albinus <michael.albinus@gmx.de>
10158
10159 * shell.el (shell): When called interactively, offer to change the
10160 shell file name on remote hosts.
10161
eebc475d
TZ
101622011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10163
10164 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10165 integration for LDAP parameters. The host, base, user or binddn,
10166 and secret tokens can be specified in a netrc file, for instance.
10167 This is optional because an `auth-source' parameter must be
10168 specified in the search attributes.
10169
9d05d1ba
JB
101702011-03-13 Juanma Barranquero <lekktu@gmail.com>
10171
10172 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10173
09d9db2c
GM
101742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10177 into declaration. Remove redundant and harmful binding.
10178
101792011-03-12 Eli Zaretskii <eliz@gnu.org>
10180
10181 * files.el (file-ownership-preserved-p): Pass `integer' as an
10182 explicit 2nd argument to `file-attributes'. If the file's owner
10183 is the Administrators group on Windows, and the current user is
10184 Administrator, consider that a match.
10185
10186 * server.el (server-ensure-safe-dir): Consider server directory
10187 safe on MS-Windows if its owner is the Administrators group while
10188 the current Emacs user is Administrator. Use `=' to compare
10189 numerical UIDs, since they could be integers or floats.
10190
219bd536
JB
101912011-03-12 Juanma Barranquero <lekktu@gmail.com>
10192
10193 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10194
f3afd36b
MA
101952011-03-12 Michael Albinus <michael.albinus@gmx.de>
10196
10197 Sync with Tramp 2.2.1.
10198
10199 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10200
10201 * net/trampver.el: Update release number.
10202
3aaaa6f1
SM
102032011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10204
94642599
SM
10205 * progmodes/compile.el (compilation--previous-directory): Fix up
10206 various nil/dead-marker mismatches (bug#8014).
10207 (compilation-directory-properties, compilation-error-properties):
10208 Don't call it at a position past the one we're about to change.
10209
3aaaa6f1
SM
10210 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10211 Disable obsolescence warnings in the file that declares it.
10212
14239447
KM
102132011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10214
099c39a4
JB
10215 * allout-widgets.el (allout-widgets-tally):
10216 Initialize allout-widgets-tally as a hash table rather than nil to
10217 prevent mode-line redisplay warnings. Also, clarify the module
10218 description and fix a comment typo.
14239447 10219
135e287c
JB
102202011-03-11 Juanma Barranquero <lekktu@gmail.com>
10221
10222 * help-fns.el (describe-variable): Don't complete keywords.
10223 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10224
ffbf300e
CY
102252011-03-10 Chong Yidong <cyd@stupidchicken.com>
10226
ba08b241
CY
10227 * emacs-lisp/package.el (package-version-join): Impose a standard
10228 string representation for pre/alpha/beta version lists.
10229 (package-unpack-single): Standardize the directory name by passing
10230 it through package-version-join.
10231 (package-strip-rcs-id): Accept any version string that does not
10232 signal an error in version-to-list.
ffbf300e 10233
f346fd6b
MA
102342011-03-10 Michael Albinus <michael.albinus@gmx.de>
10235
10236 * simple.el (delete-trailing-whitespace): Return nil for the
10237 benefit of `write-file-functions'.
10238
ccb55d27
GM
102392011-03-10 Glenn Morris <rgm@gnu.org>
10240
5ceaac0c
GM
10241 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10242
02da65ff
GM
10243 * vc/vc-git.el (vc-git-program): New option.
10244 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10245 (vc-git--call): Use it.
10246
b2f603cc
GM
10247 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10248
5772caab
GM
10249 * cus-edit.el (Custom-newline): If no button at point, look
10250 for a subgroup button at start-of-line. (Bug#2298)
10251
ccb55d27
GM
10252 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10253
ec6ecaed
JD
102542011-03-10 Julien Danjou <julien@danjou.info>
10255
10256 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10257 `cursor-type' is nil.
10258
9d5aa01d
JB
102592011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10260
10261 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10262
b6a5875b
KM
102632011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10264
10265 * allout.el Summary: Change so yank of distinctive-bullet items
10266 preserves the existing header prefix, rebulleting it if necessary,
10267 rather than replacing it. This is necessary for proper operation
10268 of cooperative addons like allout-widgets.
1154d12e
JB
10269 (allout-make-topic-prefix, allout-rebullet-heading):
10270 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10271 value as alternate bullet to be used, instead of prompting the user
10272 for a bullet character.
b6a5875b 10273
ee545c35
MA
102742011-03-09 Michael Albinus <michael.albinus@gmx.de>
10275
d86d2721
SM
10276 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10277 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10278 `tramp-default-port'.
10279
c47971d7
DD
102802011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10281
10282 * net/rcirc.el (rcirc-handler-001): Remove useless
10283 with-rcirc-process-buffer.
10284 (rcirc-check-auth-status): Swap arguments to string-match.
10285
13522cb4
GM
102862011-03-09 Glenn Morris <rgm@gnu.org>
10287
0be6f4f1
GM
10288 * shell.el (shell-mode):
10289 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10290
13522cb4
GM
10291 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10292 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10293
515de2e3
CY
102942011-03-08 Chong Yidong <cyd@stupidchicken.com>
10295
10296 * emacs-lisp/package.el (package-refresh-contents)
10297 (package-menu-execute): Use condition-case-no-debug.
10298
b511b994
MA
102992011-03-08 Michael Albinus <michael.albinus@gmx.de>
10300
10301 * simple.el (shell-command-to-string): Use `process-file'.
10302
10303 * emacs-lisp/package.el (package-tar-file-info): Handle also
10304 remote files.
10305
d86d2721
SM
10306 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10307 Use `equal' for upload base check.
b511b994 10308
25bbfb31
AM
103092011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10310
10311 * textmodes/texinfo.el (texinfo-environments):
10312 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10313
be996521
GM
103142011-03-08 Glenn Morris <rgm@gnu.org>
10315
e9c8529f
GM
10316 * cus-start.el (cursor-in-non-selected-windows):
10317 Fix :set quoting oddness. (Bug#8192)
10318
be996521
GM
10319 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10320 in some setf expressions. (Bug#2159)
10321
2bb5649e
CY
103222011-03-08 Chong Yidong <cyd@stupidchicken.com>
10323
10324 * custom.el (custom-available-themes): Return themes in
10325 alphabetical order.
10326
33383987 10327See ChangeLog.15 for earlier changes.
e3d51b27
MR
10328
10329;; Local Variables:
10330;; coding: utf-8
e3d51b27
MR
10331;; End:
10332
acaf905b 10333 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10334
10335 This file is part of GNU Emacs.
10336
10337 GNU Emacs is free software: you can redistribute it and/or modify
10338 it under the terms of the GNU General Public License as published by
10339 the Free Software Foundation, either version 3 of the License, or
10340 (at your option) any later version.
10341
10342 GNU Emacs is distributed in the hope that it will be useful,
10343 but WITHOUT ANY WARRANTY; without even the implied warranty of
10344 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10345 GNU General Public License for more details.
10346
10347 You should have received a copy of the GNU General Public License
10348 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.