Fix bug #9924 with long display of system-configuration-options in emacsbug.el.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4d4ec1f8
EZ
12012-01-28 Eli Zaretskii <eliz@gnu.org>
2
3 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4 line that displays system-configuration-options. (Bug#9924)
5
7c188927
DA
62012-01-28 Drew Adams <drew.adams@oracle.com>
7
8 * descr-text.el (describe-char): Show information about POS, in
9 addition to information about the character at POS. Improve and
10 update the doc string. Change "code point" to "code point in
11 charset", to avoid confusion with the character's Unicode code
12 point shown above that. (Bug#10129)
13
e0da685a
EZ
142012-01-28 Eli Zaretskii <eliz@gnu.org>
15
16 * descr-text.el (describe-char): Show the raw character, not only
17 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
18 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
19 for the reasons.
20
70550acf
PH
212012-01-28 Phil Hagelberg <phil@hagelb.org>
22
23 * emacs-lisp/package.el (package-install): Run
80ed5304 24 package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 25
0ce8e868
CY
262012-01-28 Chong Yidong <cyd@gnu.org>
27
28 * emacs-lisp/package.el (package-maybe-load-descriptor): New
29 function, split from package-maybe-load-descriptor.
30 (package-maybe-load-descriptor): Use it.
31 (package-download-transaction): Fully load required packages
32 inside the loop, so that `require' calls work (Bug#10593).
33 (package-install): No need to call package-initialize now.
34
2e7f3bea
CY
352012-01-28 Chong Yidong <cyd@gnu.org>
36
f823b8ca
CY
37 * tooltip.el (tooltip-mode): Doc fix.
38 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
39
2680c309
CY
40 * frame.el (set-cursor-color): Doc fix (Bug#352).
41
d7a9e63b
CY
42 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
43 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
44
2e7f3bea
CY
45 * cus-edit.el (custom-buffer-create-internal): Fix search button
46 action (Bug#10542).
2ae01800 47 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 48
fc4f7a23
EW
492012-01-27 Eduard Wiebe <usenet@pusto.de>
50
51 * dired.el (dired-mark-files-regexp):
52 Include any subdirectory components. (Bug#10445)
53
7dd37071
ML
542012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
55
56 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
57 Handle [host]:port syntax. (Bug#10533)
58
a268160b
AH
592012-01-27 Alex Harsanyi <harsanyi@mac.com>
60
61 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
62
e43273ef
GM
632012-01-26 Glenn Morris <rgm@gnu.org>
64
65 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
66 * term.el (term-raw-escape-map): Use Control-X-prefix.
67 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
68
1edf595d
MR
692012-01-25 Martin Rudalics <rudalics@gmx.at>
70
71 * window.el (window-state-get, window--state-get-1): Don't deal
72 with fixed-sizeness of windows. Simplify code.
73
fa8eafef
JC
742012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
75
76 * window.el (window--state-get-1, window--state-put-2): Don't
77 save and restore the mark.
78
0b21c100
CY
792012-01-25 Chong Yidong <cyd@gnu.org>
80
81 * custom.el (custom-variable-p): Doc fix.
82
5ae1a6c8
GM
832012-01-25 Glenn Morris <rgm@gnu.org>
84
40047858
GM
85 * dired.el (dired-goto-file): Handle some of the more common
86 characters that `ls -b' escapes. (Bug#10596)
87
5ddce96c
GM
88 * progmodes/compile.el (compilation-next-error-function):
89 Respect compilation-first-column in the "*compilation*" buffer.
90 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
91
5ae1a6c8
GM
92 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
93
b559f1a9
GM
942012-01-24 Glenn Morris <rgm@gnu.org>
95
96 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
97
6725d21a
JD
982012-01-24 Julien Danjou <julien@danjou.info>
99
100 * color.el (color-rgb-to-hsl): Fix value computing.
101 (color-hue-to-rgb): New function.
102 (color-hsl-to-rgb): New function.
103 (color-clamp, color-saturate-hsl, color-saturate-name)
104 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
105 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
106
70df4bbe
GM
1072012-01-24 Glenn Morris <rgm@gnu.org>
108
109 * vc/vc-rcs.el (vc-rcs-create-tag):
110 * vc/vc-sccs.el (vc-sccs-create-tag):
111 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
112
802a2ae2
ML
1132012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
114
115 * eshell/esh-util.el (eshell-read-hosts-file):
116 Skip comment lines. (Bug#10549)
117
d7128bb1
ML
118 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
119
d1a5c3b4
JB
1202012-01-23 Juanma Barranquero <lekktu@gmail.com>
121
2724d9c7
JB
122 * subr.el (display-delayed-warnings): Doc fix.
123 (collapse-delayed-warnings): New function to collapse identical
124 adjacent warnings.
125 (delayed-warnings-hook): Add it.
d1a5c3b4 126
a5509865
MA
1272012-01-22 Michael Albinus <michael.albinus@gmx.de>
128
129 * net/tramp.el (tramp-action-login): Set connection property "login-as".
130
131 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
132 properties, when "login-as" is set.
133
134 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
135 (tramp-default-user-alist): Don't add "pscp".
136 (tramp-do-copy-or-rename-file-out-of-band): Use connection
137 property "login-as", if set. (Bug#10530)
138
cc6d5805
MA
1392012-01-21 Michael Albinus <michael.albinus@gmx.de>
140
141 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
142 "plink1" and "psftp". (Bug#10530)
143
1442012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
145
146 * international/mule-cmds.el (prefer-coding-system): Show a
147 warning message if the default value of file-name-coding-system
148 was not changed.
149
f0960428
JC
1502012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
151
152 * windmove.el (windmove-reference-loc): Fix
153 windmove-reference-loc miscalculation.
154
dd6f2a63
JB
1552012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
156
157 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
158 default unit.
159
7b447e9b
GM
1602012-01-21 Glenn Morris <rgm@gnu.org>
161
117a9ea1
GM
162 * international/mule.el (auto-coding-alist): Add .tbz.
163
7b447e9b
GM
164 * files.el (local-enable-local-variables): Doc fix.
165 (inhibit-local-variables-regexps): Rename from
166 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
167 Doc fix. Add some extensions from auto-coding-alist.
168 (inhibit-local-variables-suffixes):
169 Rename from inhibit-first-line-modes-suffixes. Doc fix.
170 (inhibit-local-variables-p):
171 New function, extracted from set-auto-mode-1.
172 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
173 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
174 (hack-local-variables): Doc fix. Make the mode-only case
175 respect enable-local-variables and friends.
176 Respect inhibit-local-variables-regexps for file-locals, but
177 not for directory-locals.
178 (set-visited-file-name):
179 Take account of inhibit-local-variables-regexps.
180 Whether it applies may change as the file name is changed.
181 * jka-cmpr-hook.el (jka-compr-install):
182 * jka-compr.el (jka-compr-uninstall):
183 Update for inhibit-first-line-modes-suffixes name change.
184
dd6e3cdd
MR
1852012-01-20 Martin Rudalics <rudalics@gmx.at>
186
187 * help-macro.el (make-help-screen): Temporarily restore original
188 binding for minor-mode-map-alist (Bug#10454).
189
0d0deb38
JD
1902012-01-19 Julien Danjou <julien@danjou.info>
191
192 * color.el (color-name-to-rgb): Use the white color to find the max
193 color component value and return correctly computed values.
194 (color-name-to-rgb): Add missing float conversion for max value.
195
34a02f46
MR
1962012-01-19 Martin Rudalics <rudalics@gmx.at>
197
198 * window.el (window--state-get-1, window-state-get): Do not use
199 special state value for window-persistent-parameters. Rename
200 argument IGNORE to WRITABLE. Rewrite doc-string.
201 (window--state-put-2): Reset all window parameters to nil before
202 assigning values of persistent parameters.
203
606c44c4
AM
2042012-01-18 Alan Mackenzie <acm@muc.de>
205
206 Eliminate sluggishness and hangs in fontification of "semicolon
207 deserts".
208
209 * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
210 value 10000 -> 3000.
211 (c-state-safe-place): Reformulate so it doesn't stack up an
212 infinite number of wrong entries in c-state-nonlit-pos-cache.
213 (c-determine-limit-get-base, c-determine-limit): New functions to
214 determine backward search limits disregarding literals.
215 (c-find-decl-spots): Amend commenting.
216 (c-cheap-inside-bracelist-p): New function which detects "={".
217
218 * progmodes/cc-fonts.el
219 (c-make-font-lock-BO-decl-search-function): Give a limit to a
220 backward search.
221 (c-font-lock-declarations): Fix an occurrence of point being
222 undefined. Check additionally for point being in a bracelist or
223 near a macro invocation without a semicolon so as to avoid a
224 fruitless time consuming search for a declarator. Give a more
225 precise search limit for declarators using the new
226 c-determine-limit.
227
f3860cea
GM
2282012-01-18 Glenn Morris <rgm@gnu.org>
229
230 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
231 (set-auto-mode): Doc fixes.
232
1db03b16
GM
2332012-01-17 Glenn Morris <rgm@gnu.org>
234
0e6038be
GM
235 * isearch.el (search-nonincremental-instead): Fix doc typo.
236
1db03b16
GM
237 * dired.el (dired-insert-directory): Handle newlines in directory name.
238 (dired-build-subdir-alist): Unescape newlines in directory name.
239
4cb0aa75
MA
2402012-01-17 Michael Albinus <michael.albinus@gmx.de>
241
242 * net/tramp.el (tramp-local-end-of-line): New defcustom.
243 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
244 (tramp-action-terminal): Use it. (Bug#10530)
245
1d00653d
SM
2462012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * minibuffer.el (completion--replace): Strip properties (bug#10062).
249
6a6ee00d
MR
2502012-01-16 Martin Rudalics <rudalics@gmx.at>
251
252 * window.el (window-state-ignored-parameters): Remove variable.
253 (window--state-get-1): Rename argument MARKERS to IGNORE.
254 Handle persistent window parameters. Make copy of clone-of
255 parameter only if requested. (Bug#10348)
256 (window--state-put-2): Install a window parameter only if it has
257 a non-nil value or an existing parameter shall be overwritten.
258
97912def
MA
2592012-01-15 Michael Albinus <michael.albinus@gmx.de>
260
261 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
262
688070a5
EZ
2632012-01-14 Eli Zaretskii <eliz@gnu.org>
264
265 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
266 don't pass the (nil) value of `upnode' to string-match.
267
301afadc
CY
2682012-01-14 Chong Yidong <cyd@gnu.org>
269
270 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 271 Fix values recognized by the cursorBlink resource.
301afadc 272
9e5788aa
PE
2732012-01-14 Paul Eggert <eggert@cs.ucla.edu>
274
275 * epg.el (epg--make-temp-file): Avoid permission race condition
276 when running on old Emacs versions (bug#10403).
277
3cdb7f5a
GM
2782012-01-14 Glenn Morris <rgm@gnu.org>
279
280 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
281
8c82b1b4
AM
2822012-01-13 Alan Mackenzie <acm@muc.de>
283
284 Fix filling for when filladapt mode is enabled.
285
286 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
287 c-mask-paragraph, pass in `fill-paragraph' rather than
288 `fill-region-as-paragraph'. (This is a reversion of a previous
289 change.)
290 * progmodes/cc-mode.el (c-basic-common-init): Make
291 fill-paragraph-handle-comment buffer local and set it to nil.
292
e517eda4
GM
2932012-01-13 Glenn Morris <rgm@gnu.org>
294
1498536e
GM
295 * dired.el (dired-switches-escape-p): New function.
296 (dired-insert-directory): Use dired-switches-escape-p.
297 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
298
e517eda4
GM
299 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
300
328f984d
GM
3012012-01-12 Glenn Morris <rgm@gnu.org>
302
303 * mail/sendmail.el (mail-mode): Update paragraph-separate for
304 changes in adaptive-fill-regexp. (Bug#10276)
305
2cc769a8
AM
3062012-01-11 Alan Mackenzie <acm@muc.de>
307
308 Fix Emacs bug #10463 - put `widen's around the critical spots.
309
1d00653d 310 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
311 widen around each invocation of c-state-pp-to-literal. Remove an
312 unused let variable.
313
e52c37fa
GM
3142012-01-11 Glenn Morris <rgm@gnu.org>
315
316 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 317 Doc fix.
e52c37fa 318
96f8741e
CY
3192012-01-10 Chong Yidong <cyd@gnu.org>
320
1d00653d
SM
321 * net/network-stream.el (network-stream-open-starttls):
322 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
323 response to the capability command.
324
b09a806e
GM
3252012-01-10 Glenn Morris <rgm@gnu.org>
326
327 * mail/unrmail.el (unrmail): Tweak previous change.
328
7655cb66
CY
3292012-01-09 Chong Yidong <cyd@gnu.org>
330
331 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
332
9d5a8f0b
AM
3332012-01-08 Alan Mackenzie <acm@muc.de>
334
335 Optimise font locking in long enum definitions.
336
337 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
338 arm to a cond form to handle enums.
339 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
340 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
341
9a0115ab 3422012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
343
344 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 345 (Bug#10401)
6bb72cbd 346
f186bb95
LMI
3472012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
348
29232a68
LMI
349 * faces.el (set-face-attribute): Clarify the meaning of the nil
350 frame (bug#10294).
351
4e5d086d
LMI
352 * subr.el (with-selected-frame): Mention that the selected frame
353 is restored (bug#9980).
354
8e66aebe
LMI
355 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
356 (bug#9759).
357
cd394be1 358 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
359 (password-read): Don't autoload unused function.
360
adf4e762
JB
3612012-01-07 Juanma Barranquero <lekktu@gmail.com>
362
363 * progmodes/which-func.el (which-func-mode): Turn into a
364 non-interactive function and mark as obsolete (bug#10428).
365
89bd9ccd
CY
3662012-01-06 Chong Yidong <cyd@gnu.org>
367
368 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
369 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
370 functions, along with 1 and -1.
371
4afee9d5
EZ
3722012-01-06 Eli Zaretskii <eliz@gnu.org>
373
374 * time.el (display-time-load-average)
375 (display-time-default-load-average): Doc fixes. See the thread
376 starting at
377 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
378 for the details.
379
536aea70
GM
3802012-01-06 Glenn Morris <rgm@gnu.org>
381
665ae865
GM
382 * mail/unrmail.el (unrmail): Give an explicit error if the input file
383 has no messages. (Bug#10377)
384
c869783d
GM
385 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
386 than Info-edit. (Bug#10385)
387
2bb4227e
GM
388 * time.el (display-time-load-average, display-time-next-load-average):
389 Doc fixes.
390
7d5944b9
GM
391 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
392 local setting of buffer-read-only to the input buffer. (Bug#10419)
393
536aea70
GM
394 * calendar/calendar.el (calendar-mode):
395 Locally set scroll-margin to 0. (Bug#10379)
396
7dccca16
UM
3972012-01-06 Ulrich Mueller <ulm@gentoo.org>
398
399 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
400
afbb7930
GM
4012012-01-05 Glenn Morris <rgm@gnu.org>
402
403 * eshell/em-unix.el (diff-no-select): Autoload it.
404 (eshell/diff): Use diff-no-select. (Bug#10420)
405
04482335
CY
4062012-01-05 Chong Yidong <cyd@gnu.org>
407
7baca3bc
CY
408 * shell.el (shell-dynamic-complete-functions): Revert last change.
409 (shell-command-completion-function): New function.
410 (shell-completion-vars): Use it to implement
411 shell-completion-execonly (Bug#10417).
412
04482335
CY
413 * custom.el (enable-theme): Don't set custom-safe-themes.
414
1d00653d
SM
415 * cus-theme.el (custom-theme-merge-theme):
416 Ignore custom-enabled-themes and custom-safe-themes.
04482335 417
bb5aa5d6
MM
4182012-01-05 Michael R. Mauger <mmaug@yahoo.com>
419
420 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
421 first prompt in `sql-interacive-mode'.
422 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 423 keywords.
bb5aa5d6
MM
424 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
425 (sql-product-interactive): Bug fix: Set `sql-buffer' in
426 context of original buffer. Invoke `sql-login-hook'.
427
a7183d7c
EZ
4282012-01-04 Eli Zaretskii <eliz@gnu.org>
429
430 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
431 letters in cite-prefix.
432
a1eacd1e
LMI
4332012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
434
435 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
436
787cdb34
CY
4372012-01-03 Chong Yidong <cyd@gnu.org>
438
1d00653d
SM
439 * shell.el (shell-dynamic-complete-functions):
440 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
441 comint-filename-completion first (Bug#10417).
442
30710442
RS
4432012-01-02 Richard Stallman <rms@gnu.org>
444
445 * battery.el (battery-status-function):
446 Detect when to use battery-yeeloong-sysfs.
447 (battery-echo-area-format): Add string for Yeeloong.
448 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
449 (battery-yeeloong-sysfs): New function.
450
f75bfc33
CY
4512012-01-02 Chong Yidong <cyd@gnu.org>
452
453 * dirtrack.el (dirtrack-list): Eliminate unused third element.
454 (dirtrack): Merge code for handling relative filenames in prompt
455 from shell-dir-cookie-watcher.
456 (dirtrack-debug-message): New arg to avoid excess format calls.
457
458 * shell.el (shell-dir-cookie-re): Variable deleted.
459 (shell-dir-cookie-watcher): Function deleted.
460 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
461 with dirtrack-mode.
462
651e947e
EZ
4632012-01-01 Eli Zaretskii <eliz@gnu.org>
464
1d00653d
SM
465 * term/w32-win.el (dynamic-library-alist) <gnutls>:
466 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
467 libgnutls-26.dll.
468
94d4c7dc
AS
4692011-12-31 Andreas Schwab <schwab@linux-m68k.org>
470
471 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
472
8d43f3cd
EZ
4732011-12-31 Eli Zaretskii <eliz@gnu.org>
474
475 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
476 headers of non-MIME messages, when rmail-enable-mime is non-nil.
477
98c8795a
MA
4782011-12-29 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
481 also for alternative shells.
482 (tramp-open-connection-setup-interactive-shell): Check, whether
483 the shell is a busybox.
484 (tramp-send-command): Don't suppress multiple prompts for
485 busyboxes, it hurts.
486
51281b32
CY
4872011-12-28 Chong Yidong <cyd@gnu.org>
488
489 * progmodes/gdb-mi.el (gdb-get-source-file-list)
490 (gdb-get-source-file): Move mode line update to
491 gdb-get-source-file (Bug#10087).
492
2170cb53
CY
4932011-12-25 Chong Yidong <cyd@gnu.org>
494
495 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
496 gud-gdb-marker-filter without taking it as an argument.
497 (gud-gdb-run-command-fetch-lines): Caller changed.
498 (gud-gdb-completion-function): New variable.
499 (gud-gdb-completion-at-point): Use it.
500 (gud-gdb-completions-1): Split from gud-gdb-completions.
501
502 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
503 function as separate arguments.
504 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
505 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
506 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
507 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
508 (gdb-stopped, def-gdb-auto-update-trigger)
509 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
510 (gdb-get-changed-registers, gdb-get-main-selected-frame):
511 Callers changed.
2170cb53
CY
512 (gud-gdbmi-completions): New function.
513 (gdb): Use it for generating the completion table.
514
be8b11bb
AM
5152011-12-24 Alan Mackenzie <acm@muc.de>
516
517 Introduce a mechanism to widen the region used in context font
1d00653d 518 locking. Use this to protect declarations from losing their contexts.
be8b11bb 519
1d00653d
SM
520 * progmodes/cc-langs.el (c-before-font-lock-functions):
521 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 522 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
523 functions to be run just before context (etc.) font locking.
524
525 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 526 New, functionality extracted from
be8b11bb 527 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 528 (c-in-after-change-fontification): New variable.
be8b11bb
AM
529 (c-after-change): Set c-in-after-change-fontification.
530 (c-set-fl-decl-start): Rejig its interface, so it can be called
531 from both after-change and context fontifying.
b81d40f0
JB
532 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
533 New functions.
534 (c-standard-font-lock-fontify-region-function): New variable.
535 (c-font-lock-fontify-region): New function.
be8b11bb 536
341cf6ac
JL
5372011-12-24 Juri Linkov <juri@jurta.org>
538
539 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
540 (Bug#10348)
541
bffcee0a
MA
5422011-12-23 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
545 existence of source file. (Bug#10325)
546
cb5e207c
AM
5472011-12-23 Alan Mackenzie <acm@muc.de>
548
549 Fix unstable fontification inside templates.
550
b81d40f0
JB
551 * progmodes/cc-langs.el (c-before-font-lock-functions):
552 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
553 additionally has c-set-fl-decl-start. The other languages (apart
554 from AWK) have that as a single entry.
555
b81d40f0
JB
556 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
557 The functionality for "local" declarations has been extracted to
cb5e207c
AM
558 c-set-fl-decl-start.
559
b81d40f0
JB
560 * progmodes/cc-mode.el (c-common-init, c-after-change):
561 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
562 (c-set-fl-decl-start): New function, extracted from
563 c-font-lock-enclosing-decls and enhanced.
564
60ff536c
JB
5652011-12-23 Juanma Barranquero <lekktu@gmail.com>
566
567 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
568
1c4757d6
JL
5692011-12-22 Juri Linkov <juri@jurta.org>
570
571 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
572
d031f2c7
CY
5732011-12-22 Chong Yidong <cyd@gnu.org>
574
575 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
576
bace743a
DA
5772011-12-21 Drew Adams <drew.adams@oracle.com>
578
579 * files.el (file-remote-p): Fix docstring. (Bug#10319)
580
728a1f2b
JC
5812011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
582
583 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
584
0d373f73
TZ
5852011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
586
fec0aaa4
TZ
587 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
588 highlighting and support. Fix up comments for capitalization.
589 (cfengine-mode-debug): New var.
590 (cfengine3-mode): Change the modeline indicator to "CFE3".
591 (cfengine3-font-lock-keywords): Improve defun highlighting.
592 (cfengine2-actions): Rename from `cfengine-actions'.
593 (cfengine2-font-lock-keywords): Rename from
594 `cfengine-font-lock-keywords'.
595 (cfengine2-imenu-expression): Rename from
596 `cfengine-imenu-expression'.
597 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
598 (cfengine2-beginning-of-defun): Rename from
599 `cfengine-beginning-of-defun'.
600 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
601 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
602 (cfengine2-mode): Rename from `cfengine-mode'. Change the
603 modeline indicator to "CFE2".
604 (cfengine-mode): Defalias to `cfengine-auto-mode'.
605 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 606
bc86f573
CY
6072011-12-21 Chong Yidong <cyd@gnu.org>
608
609 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
610 filename argument.
611
d45ba96b
MR
6122011-12-20 Martin Rudalics <rudalics@gmx.at>
613
614 * window.el (window-normalize-buffer-to-display): Remove.
615 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
616
a6198c90
CY
6172011-12-19 Chong Yidong <cyd@gnu.org>
618
619 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
620 Don't signal an error in a predicate function; return non-nil.
621 (vc-dir-mark-file): Move the error here.
622 (vc-dir-mark-unmark): If acting on the region, keep going if one
623 of the entries cannot be marked/unmarked.
624 (vc-dir-mark-all-files): If current entry is a directory, mark
625 only child files, as documented.
626
34c5fb55
VB
6272011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
628
629 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
630 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
631 addition.
632
c803b2b7
JD
6332011-12-18 Jan Djärv <jan.h.d@swipnet.se>
634
635 * term/ns-win.el (ns-get-selection-internal)
636 (ns-store-selection-internal): Declare.
1154d12e
JB
637 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
638 Declare as obsolete.
639 (ns-get-pasteboard, ns-paste-secondary):
640 Use ns-get-selection-internal.
641 (ns-set-pasteboard, ns-copy-including-secondary):
642 Use ns-store-selection-internal.
c803b2b7 643
9cff91f8 6442011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
645
646 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 647 (vc-deduce-fileset): Doc fix.
99a289d9 648
f16c898a
AS
6492011-12-16 Andreas Schwab <schwab@linux-m68k.org>
650
651 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
652
763237c4
SS
6532011-12-13 Sam Steingold <sds@gnu.org>
654
655 * man.el (Man-getpage-in-background): When running under a
656 window-system, ignore $MANWIDTH and $COLUMNS.
657
5fc1c122
KH
6582011-12-15 Kenichi Handa <handa@m17n.org>
659
660 * language/ethio-util.el: Change coding tag to utf-8-emacs.
661 (setup-ethiopic-environment-internal): Comment out key-binding for
662 ethio-toggle-punctuation.
663
13d49cbb
AM
6642011-12-13 Alan Mackenzie <acm@muc.de>
665
898169a2
AM
666 Add the switch statement to AWK Mode.
667
668 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
669 "default" to the keywords regexp.
670
671 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
672 expression as the rest.
1d00653d
SM
673 (c-nonlabel-token-key): Allow string literals for AWK.
674 Refactor for the other modes.
898169a2 675
13d49cbb 676 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 677 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
678 routines. Limit backward searching in c-font-lock-enclosing.decl.
679
680 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
681 pp-state and literal type in addition to the limits.
1d00653d 682 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 683 (c-state-literal-at): Use the above new defun.
1d00653d
SM
684 (c-slow-in-literal, c-fast-in-literal): Remove.
685 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
686
687 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
688 being in a literal. Add a limit for backward searching.
689
690 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
691 c-slow-in-literal.
692
15e0efc7
SM
6932011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
696
454592a6
MR
6972011-12-13 Martin Rudalics <rudalics@gmx.at>
698
699 * window.el (delete-other-windows): Use correct frame in call to
700 window-with-parameter.
701
87393f26
DP
7022011-12-12 Daniel Pfeiffer <occitan@t-online.de>
703
704 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
705 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
706 (makefile-gmake-statements, makefile-makepp-statements):
707 Use it and add new makepp keywords.
708 (makefile-makepp-font-lock-keywords): Add new patterns.
709 (makefile-match-function-end): Match new [...] and [[...]].
710
11636b22
JB
7112011-12-11 Juanma Barranquero <lekktu@gmail.com>
712
713 * ses.el (ses-call-printer-return, ses-cell-property-get)
714 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
715 (ses-create-cell-variable, ses-reset-header-string)
716 (ses-cell-set-formula, ses-repair-cell-reference-all)
717 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
718 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
719 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
720 (ses-aset-with-undo, ses-load, ses-truncate-cell)
721 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
722 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
723 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
724 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
725 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
726 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
727 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
728 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
729
cf018193
VB
7302011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
731
732 * ses.el: The overall change is to add cell renaming, that is
733 setting fancy names for cell symbols other than name matching
734 "\\`[A-Z]+[0-9]+\\'" regexp .
735 (ses-create-cell-variable): New defun.
736 (ses-relocate-formula): Relocate formulas only for cells the
737 symbols of which are not renamed, i.e. symbols whose names do not
738 match regexp "\\`[A-Z]+[0-9]+\\'".
739 (ses-relocate-all): Relocate values only for cells the symbols of
740 which are not renamed.
741 (ses-load): Create cells variables as the (ses-cell ...) are read,
742 in order to check row col consistency with cell symbol name only
743 for cells that are not renamed.
744 (ses-replace-name-in-formula): New defun.
745 (ses-rename-cell): New defun.
746
ee957461
CY
7472011-12-11 Chong Yidong <cyd@gnu.org>
748
749 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
750 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
751
9a9e9ef0
MR
7522011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
753
754 * window.el (other-window): Fix docstring.
755
92a8eba5
EZ
7562011-12-10 Eli Zaretskii <eliz@gnu.org>
757
758 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
759 `from' or `to' address before taking its substring.
760 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
761 encoded name is chopped in the middle of the encoded string, and
762 thus displayed encoded.
763
e152e577
JB
7642011-12-10 Juanma Barranquero <lekktu@gmail.com>
765
766 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
767
e5d84bfe
EZ
7682011-12-10 Eli Zaretskii <eliz@gnu.org>
769
770 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
771 to use texinfo-update-node and commands that call it if the
772 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 773 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
774 (texinfo-all-menus-update, texinfo-master-menu)
775 (texinfo-update-node, texinfo-every-node-update)
776 (texinfo-multiple-files-update): Doc fix. Warn against updating
777 all the @node lines.
778 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
779 argument is numeric. Explain better in the doc string what the
780 function really does.
781 (texinfo-insert-master-menu-list): Improve the error message
782 displayed if there's no menu in the Top node.
783 (Bug#2975) See also this thread:
e5d84bfe
EZ
784 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
785
1d84e9bb
MG
7862011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
787
788 * speedbar.el (speedbar-supported-extension-expressions):
789 Add .adb and .ads, commonly used for Ada source code (bug#10256).
790
382c953b
JB
7912011-12-09 Juanma Barranquero <lekktu@gmail.com>
792
793 * printing.el (pr-mode-alist):
794 * simple.el (filter-buffer-substring-functions)
795 (completion-list-insert-choice-function):
796 * window.el (window-with-parameter, window-atom-root)
797 (window-sides-slots, window-size-fixed, window-min-delta)
798 (window-max-delta, window--resize-mini-window)
799 (window--resize-child-windows-normal, window-tree)
800 (delete-other-windows, quit-window, split-window)
801 (display-buffer-record-window, special-display-buffer-names)
802 (special-display-regexps, special-display-popup-frame)
803 (same-window-p, split-window-sensibly)
804 (display-buffer-overriding-action, display-buffer-alist)
805 (display-buffer-base-action, display-buffer, switch-to-buffer)
806 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
807 (fit-window-to-buffer, recenter-positions)
808 (mouse-autoselect-window-state, mouse-autoselect-window-select):
809 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
810 and remove unneeded backslashes in docstrings.
811
39c9faef
SM
8122011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
813
98449af8
SM
814 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
815
39c9faef
SM
816 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
817 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
818 end in ".mk".
819 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
820 when reading the makefile (bug#10116).
821
86ed9fdc
SM
8222011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
825 (bug#10116).
826
5580f89d
GM
8272011-12-06 Glenn Morris <rgm@gnu.org>
828
829 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
830
28d3917c
CY
8312011-12-06 Chong Yidong <cyd@gnu.org>
832
833 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
834
a98edce9
JB
8352011-12-06 Juanma Barranquero <lekktu@gmail.com>
836
837 * textmodes/table.el (table-shorten-cell): Fix typo.
838
e65adfac
CG
8392011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
840
841 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
842
71cc0b74
EZ
8432011-12-05 Eli Zaretskii <eliz@gnu.org>
844
845 * descr-text.el (describe-char): Fix display of strong
846 right-to-left characters and directional embeddings and overrides.
847
848 * simple.el (what-cursor-position): Fix display of codepoints of
849 strong right-to-left characters.
850
315bc30d
CY
8512011-12-05 Chong Yidong <cyd@gnu.org>
852
853 * faces.el (read-color): Doc fix.
854
58a70b94
GM
8552011-12-05 Glenn Morris <rgm@gnu.org>
856
857 * align.el (align--set-marker): Add doc-string.
858 Don't try to move something that is not a marker. (Bug#10216)
859
5158face
GM
8602011-12-04 Glenn Morris <rgm@gnu.org>
861
862 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
863 overly zealous deletion of trailing whitespace.
864
520fca41
JB
8652011-12-04 Juanma Barranquero <lekktu@gmail.com>
866
867 * server.el (server-delete-client): On Windows, do not try to delete
868 the only terminal.
869 (server-process-filter): On Windows, treat requests for a tty frame as
870 if they were for a GUI frame if the running server is in GUI mode.
871
5e605a2e
GM
8722011-12-03 Glenn Morris <rgm@gnu.org>
873
874 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
875
5c3fe83f
SM
8762011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
877
6f5e57e7
SM
878 * electric.el: Streamline electric-indent's hook.
879 (electric-indent-chars): Revert to simple list.
880 (electric-indent-functions): New var.
881 (electric-indent-post-self-insert-function): Use it.
882
5c3fe83f
SM
883 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
884 there's no inferior buffer (bug#10196).
885 (prolog-consult-compile): Don't use toggle-read-only.
886
6bdac736
MA
8872011-12-02 Michael Albinus <michael.albinus@gmx.de>
888
889 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
890 interrupt. (Bug#10187)
891
6131ba7f
SM
8922011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
893
99c79fee
SM
894 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
895 (bug#9160).
896
6131ba7f
SM
897 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
898 (bug#10191).
899
cb0a02ea
JL
9002011-12-02 Juri Linkov <juri@jurta.org>
901
902 * info.el (Info-search): Display "end of manual" when Isearch
903 reaches the end of single-file Info manual. (Bug#9918)
904
66e0570c
EZ
9052011-12-02 Eli Zaretskii <eliz@gnu.org>
906
907 * isearch.el (isearch-message-prefix): Run the input method part
908 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
909
02b16839
JL
9102011-12-02 Juri Linkov <juri@jurta.org>
911
912 * isearch.el (isearch-occur): Use `word-search-regexp' for
913 `isearch-word'.
914 (isearch-search-and-update): Add condition for `isearch-word' and
915 call `word-search-regexp'. (Bug#10145)
916
0b950688
GM
9172011-12-01 Glenn Morris <rgm@gnu.org>
918
919 * eshell/em-hist.el (eshell-hist-initialize):
920 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 921 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 922
9505c3c7
SM
9232011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
926
1bbe96b2 9272011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 928
a1beca85
SM
929 * progmodes/verilog-mode.el (verilog-pretty-expr):
930 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
931 verilog, such as += *= and the like.
932 (verilog-assignment-operator-re): Regular expression to find the
933 assigment operator in a verilog assignment.
934 (verilog-assignment-operation-re): Regular expression to find an
935 assignment statement for pretty-expr.
936 (verilog-in-attribute-p): Query returns true if point is in an
937 attribute context; used to skip these for expression line up from
938 pretty-expr.
939 (verilog-in-parameter-p): Query returns true if point is in an
940 parameter definition context; used to skip these for expression
941 line up from pretty-expr.
942 (verilog-in-parenthesis-p): Query returns true if point is in a
943 parenthetical expression, specifically ( ) but not [ ] or { };
944 used by pretty-expr.
945 (verilog-just-one-space): If there is no space, don't add one.
946 (verilog-get-lineup-indent-2): Specifically skip just attribute
947 contexts for expression lineup, rather than skipping all
948 parenthetical expressions.
949 (verilog-calculate-indent): Fix comment, and fix indent.
950 (verilog-do-indent): Indent declarations in lists (suggested by
951 Joachim Lechner).
952 (verilog-mode-abbrev-table): Populate abbrev mode with the various
953 skeleton items.
954 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
955 by Alain Mellan).
956
1bbe96b2 9572011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
958
959 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
960 parameters with embedded comments. Reported by Ray Stevens.
961 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
962 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
963 Reported by Tim Holt.
964 (verilog-auto): Fix AUTOing a upper module then AUTOing module
965 instantiated by upper module causing wrong expansion until AUTOed a
966 second time. Reported by K C Buckenmaier.
967 (verilog-diff-auto): Fix showing .* as a difference when
968 `verilog-auto-star-save' off. Reported by Dan Dever.
969 (verilog-auto-reset, verilog-read-always-signals)
970 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
971 temporary signals in reset list if
972 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
973 style to each signal's assignment type, bug381.
974 Reported by Thomas Esposito.
6288f0ca
WS
975 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
976 (verilog-uvm-statement-re): Support UVM indentation and
977 highlighting, with old OVM keywords only.
a1beca85 978 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
979 Support AUTOTIEOFF creating non-wire data types.
980 Suggested by Jonathan Greenlaw.
6288f0ca
WS
981 (verilog-auto-insert-lisp, verilog-delete-to-paren)
982 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
983 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
984 (verilog-read-sub-decls, verilog-read-sub-decls-line):
985 Fix mismatching parenthesis inside commented out code when deleting
382c953b 986 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
987 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
988 non-numeric vector width. Reported by Alex Reed.
989 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 990 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
991 (verilog-auto-delete-trailing-whitespace):
992 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
993 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
994 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
995 Fix verilog-scan-cache corruption when running user AUTO expansion
996 hooks that call indentation routines.
997 (verilog-simplify-range-expression): Fix typo ignoring lower case
998 identifiers.
999 (verilog-delete-auto): Fix delete-autos to also remove user created
1000 automatics, as long as they start with AUTO.
1001 (verilog-batch-diff-auto, verilog-diff-auto)
1002 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1003 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1004 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1005 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1006 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1007 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1008 is disabled and its cache will get corrupt, causing AUTOS not to
1009 expand. Instead use only -quick functions.
1010 (verilog-scan-region): Fix scanning over escaped quotes.
1011 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1012 (verilog-re-search-backward-quick)
1013 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1014 related functions now ignore strings, to fix misparsing of strings
1015 with magic comments embedded in them.
a1beca85
SM
1016 (verilog-read-auto-template):
1017 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1018 Reported by Brad Dobbie.
1019 (verilog-read-auto-template):
1020 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1021 Reported by Brad Dobbie.
6288f0ca
WS
1022 (verilog-auto-inst, verilog-auto-inst-param)
1023 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1024 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1025 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1026 debugging templates without merge conflicts, bug357.
1027 Reported by Brad Dobbie.
1028 (verilog-read-auto-template):
1029 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1030 Reported by Brad Dobbie.
1031 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1032 abbrevs so user won't be asked to save.
1033 (verilog-read-auto-lisp-present): Fix to start at beginning of
1034 buffer in case called outside of verilog-auto.
1035 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1036 to "X-2". Reported by Matthew Myers.
1037 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1038 all inputs from module templates. Reported by Leith Johnson.
1039 (verilog-module-inside-filename-p): Fix locating programs as with
1040 modules.
1041 (verilog-auto-inst-port): Fix vl-width expressions when using
1042 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1043 (verilog-decls-get-regs, verilog-decls-get-signals,
1044 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1045 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1046 verilog-read-decls): Combine reg and wire structures into one var
1047 structure to represent SystemVerilog concepts.
1048 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1049 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1050 (verilog-auto-wire-type, verilog-insert-definition):
1051 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1052 SystemVerilog "logic" keyword instead of "wire"/"reg".
1053 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1054 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1055 ifdef or generate if so there's not a driver conflict).
1056 Reported by Matthew Myers.
1057 (verilog-auto-declare-nettype, verilog-insert-definition):
1058 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1059 `default_nettype none. Reported by Julian Gorfajn.
1060 (verilog-read-always-signals-recurse, verilog-read-decls)
1061 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1062 malformed end statement, bug325. Reported by Joshua Wise and
1063 Andrew Drake.
1064 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1065 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1066 when expanding .* in interfaces, bug320.
1067 Reported by Pierre-David Pfister.
6288f0ca 1068 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1069 name and open parenthesis, bug317.
1070 Reported by Pierre-David Pfister.
6288f0ca
WS
1071 (verilog-simplify-range-expression): Fix simplification of
1072 multiplications inside AUTOWIRE connections, bug303.
1073 (verilog-auto-inst-port): Support parameter expansion in
1074 multidimensional arrays.
1075 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1076 after "assert property". Reported by Julian Gorfajn.
1077 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1078 with multiplication, bug303.
1079 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1080 Reported by Jan Frode Lonnum.
1081
1bbe96b2
GM
10822011-11-30 Juanma Barranquero <lekktu@gmail.com>
1083
1084 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1085 (hfy-shell-file-name, hfy-shell):
1086 * international/fontset.el (x-decompose-font-name): Fix typos.
1087
10882011-11-29 Ken Brown <kbrown@cornell.edu>
1089
1090 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1091 (gdb-version): Remove defvar.
1092 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1093 (gdb-gud-context-command, gdb-non-stop-handler)
1094 (gdb-current-context-command, gdb-stopped): Use it.
1095 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1096 (gdb-non-stop-handler): Don't enable pretty-printing here.
1097 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1098 non-stop mode. Use the following.
1099 (gdb-check-target-async): New defun.
1100 (gud-watch, gdb-stopped): Fix whitespace.
1101 (gdb-get-source-file): Don't try to display the source file if
1102 `gdb-main-file' is nil.
1103
11042011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * align.el: Try to generate fewer markers (bug#10047).
1107 (align--set-marker): New macro.
1108 (align-region): Use it.
1109
c935221f
SM
11102011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1113
e70b5064
CY
11142011-11-29 Chong Yidong <cyd@gnu.org>
1115
1116 * indent.el (indent-for-tab-command, indent-according-to-mode):
1117 Doc fix.
1118 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1119
f3af92b7
MA
11202011-11-29 Michael Albinus <michael.albinus@gmx.de>
1121
1122 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1123 aware of remote file names. (Bug#10124)
1124
ed472be9
CY
11252011-11-29 Chong Yidong <cyd@gnu.org>
1126
1127 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1128
24510c22
SM
11292011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * files.el (find-file): Don't use force-same-window (bug#10144).
1132 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1133 use pop-to-buffer if the selected window can't be used.
1134 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1135
c60c3703
EZ
11362011-11-28 Eli Zaretskii <eliz@gnu.org>
1137
1138 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1139 special-mode-map.
1140
e95def75
CY
11412011-11-28 Chong Yidong <cyd@gnu.org>
1142
1143 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1144
c3f1c606
NR
11452011-11-27 Nick Roberts <nickrob@snap.net.nz>
1146
1147 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1148 gdb-get-source-file-list on gdb-create-source-file-list.
1149
00db469c
EZ
11502011-11-26 Eli Zaretskii <eliz@gnu.org>
1151
1152 * whitespace.el (whitespace-newline): Use a different foreground
1153 color for 16-color light-background displays.
1154
4ad3bc2a
CY
11552011-11-24 Chong Yidong <cyd@gnu.org>
1156
1157 * window.el (display-buffer--special-action): Doc fix.
1158
e9fce1ac
JB
11592011-11-25 Juanma Barranquero <lekktu@gmail.com>
1160
1161 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1162 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1163 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1164 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1165 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1166 (avl-tree-stack-first):
1167 * emacs-lisp/cconv.el (cconv--analyse-use):
1168 * net/gnutls.el (gnutls-negotiate): Fix typos.
1169
cb825e5d
GM
11702011-11-24 Glenn Morris <rgm@gnu.org>
1171
3adbe224
GM
1172 * lpr.el (lpr-windows-system, lpr-lp-system):
1173 * mail/binhex.el (binhex-begin-line):
1174 * progmodes/grep.el (grep-history, grep-find-history):
1175 * textmodes/flyspell.el:
1176 * vc/pcvs-defs.el (cvs-global-menu):
1177 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1178 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1179 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1180
321decc8
GM
1181 * net/tls.el: Fix case of "GnuTLS".
1182
420b63ad
GM
1183 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1184
cb825e5d
GM
1185 * version.el (emacs-build-system): Give it a doc-string.
1186
a0649f08
JL
11872011-11-24 Juri Linkov <juri@jurta.org>
1188
1189 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1190
c0bc0fd4
GM
11912011-11-24 Glenn Morris <rgm@gnu.org>
1192
1193 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1194 if called on a non-mime message just toggle the headers. (Bug#8006)
1195
20db1522
JB
11962011-11-24 Juanma Barranquero <lekktu@gmail.com>
1197
1198 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1199 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1200 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1201 (allout-rebullet-heading, allout-open-sibtopic)
1202 (allout-toggle-current-subtree-encryption)
1203 (allout-toggle-subtree-encryption, allout-encrypt-string)
1204 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1205 (allout-distinctive-bullets-string, allout-auto-activation):
1206 * window.el (window-normalize-buffer-to-display):
1207 * progmodes/verilog-mode.el (verilog-batch-indent):
1208 * textmodes/bibtex.el (bibtex-field-braces-opt)
1209 (bibtex-field-strings-opt):
1210 * vc/cvs-status.el (cvs-tree-merge):
1211 Fix typos.
1212
7262a87c
MA
12132011-11-23 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1216 `non-essential' to t, in order to avoid remote connections.
1217
283430a1
EZ
12182011-11-23 Eli Zaretskii <eliz@gnu.org>
1219
a1beca85
SM
1220 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1221 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1222 case-insensitively.
1223
d2992a38
ML
12242011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1225
1226 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1227
50419064
GM
12282011-11-23 Glenn Morris <rgm@gnu.org>
1229
da94eca1
GM
1230 * paths.el (rmail-file-name): Reformat the doc-string so that it
1231 is picked up.
1232
9aac4de2
GM
1233 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1234 (rmail-auto-file): Ignore case in the "special" field names,
1235 as mail-fetch-field does for all others.
1236
8038d2d2
GM
1237 * mail/rmail.el (rmail-forward):
1238 * mail/rmailkwd.el (rmail-set-label):
1239 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1240 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1241
f3fe222a
GM
1242 * mail/rmail.el (rmail-current-message): Doc fix.
1243
50419064
GM
1244 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1245
28109f49
SM
12462011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1249
394c65f1
GM
12502011-11-22 Glenn Morris <rgm@gnu.org>
1251
1252 * mail/rmailmm.el (test-rmail-mime-handler)
1253 (test-rmail-mime-bulk-handler)
1254 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1255
f2a0aa3a
JL
12562011-11-21 Juri Linkov <juri@jurta.org>
1257
1154d12e
JB
1258 * calc/calc.el (calc-read-key-sequence):
1259 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1260
9c34a344
LMI
12612011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1262
1263 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1264 Tell the caller that the next line needs recomputation, even
1265 though it doesn't start a sexp (bug#10094).
1266
f04a3be9
SM
12672011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1270
7978747f
SM
12712011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1272
f04a3be9
SM
1273 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1274 Use force-same-window.
7978747f 1275
fe7a3057
JB
12762011-11-20 Juanma Barranquero <lekktu@gmail.com>
1277
1278 * descr-text.el (describe-char-unicode-data):
1279 * json.el (json-string-escape):
1280 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1281 (Footnote-unicode, Footnote-style-p):
1282 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1283
24901d61
CY
12842011-11-20 Chong Yidong <cyd@gnu.org>
1285
1286 * window.el (replace-buffer-in-windows): Restore interactive spec.
1287
bac7ff22
SM
12882011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1289
24f3d7b9
SM
1290 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1291
bac7ff22
SM
1292 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1293 (byte-compile-global-not-obsolete-vars): New var.
1294 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1295 Use it.
1296 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1297
cd1181db
JB
12982011-11-20 Juanma Barranquero <lekktu@gmail.com>
1299
1300 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1301 * progmodes/pascal.el (electric-pascal-equal):
1302 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1303 * xml.el (xml-substitute-special): Fix typos.
1304
7fb18e9e
GM
13052011-11-20 Glenn Morris <rgm@gnu.org>
1306
1307 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1308 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1309 Doc fixes.
1310 (rmail-decode-mime-charset): Mark as obsolete.
1311
1312 * mail/rmailsum.el (rmail-message-regexp-p-1):
1313 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1314 Before using mime functions, check they are set. (Bug#10077)
1315
d5a6b3ba
JL
13162011-11-19 Juri Linkov <juri@jurta.org>
1317
1318 * info.el (Info-finder-find-node): Use `package--builtins' instead
1319 of `package-alist'. Use node names formed by the pattern "Keyword "
1320 and the keyword name.
1321
e981b61f
AS
13222011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1323
1d00653d 1324 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1325
3ffbc301
JL
13262011-11-19 Juri Linkov <juri@jurta.org>
1327
1328 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1329 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1330 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1331 `old-history', `old-history-forward'. Add let-binding
1332 `window-selected'. Remove calls to `kill-buffer',
1333 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1334 before calling `Info-find-node', so `Info-find-node-2' will reread
1335 the Info file. Restore window positions only when `window-selected'
1336 is non-nil.
1337
30c62133
JL
13382011-11-19 Juri Linkov <juri@jurta.org>
1339
1340 * isearch.el (isearch-lazy-highlight-new-loop):
1341 Remove condition `(not isearch-error)'. (Bug#9918)
1342
1343 * misearch.el (multi-isearch-search-fun): Add condition
1344 `(not bound)' to ignore lazy-highlighting search.
1345 Add the search-failed message "end of multi" when the end of
1346 multi-sequence is reached. Uncapitalize the search-failed
1347 message "Repeat for next buffer".
1348
1349 * info.el (Info-search): Add the search-failed message
1350 "end of the manual" when the end of the manual is reached
1351 in Isearch mode.
1352
645ca9cf
JL
13532011-11-19 Juri Linkov <juri@jurta.org>
1354
1355 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1356 Use non-destructive `remove' instead of `delete' because
1357 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1358 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1359
df754f66
JL
13602011-11-19 Juri Linkov <juri@jurta.org>
1361
1362 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1363 to nil instead of binding `search-ring' and `regexp-search-ring'.
1364 (Bug#9185)
1365
0e23d96a
EZ
13662011-11-19 Eli Zaretskii <eliz@gnu.org>
1367
1368 * simple.el (line-move): Force movement by logical lines for any
1369 hscrolled window, not only when auto-hscroll-mode is on.
1370 (line-move-visual): Update doc string to that effect. (Bug#10076)
1371
8a6ccb66
AS
13722011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1373
1374 * language/european.el (macintosh): Define as alias for mac-roman.
1375
49ae5b39
EZ
13762011-11-19 Eli Zaretskii <eliz@gnu.org>
1377
1378 * mail/rmailmm.el (rmail-mime-display-header)
1379 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1380 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1381 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1382 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1383 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1384 of a raw aref.
1385 (rmail-mime-entity-segment): To get past the tagline, move forward
1386 2 more lines, to account for the 2 empty lines that precede and
1387 follow the line with the buttons.
1388 (rmail-mime-update-tagline): Move one more line, to get past the
1389 empty line that follows the buttons in the tagline. (Bug#9520)
1390
c56cad4a
MR
13912011-11-19 Martin Rudalics <rudalics@gmx.at>
1392
1393 * window.el (window-max-delta-1, window-min-delta-1)
1394 (window-min-size-1, window-state-get-1, window-state-put-1)
1395 (window-state-put-2): Use "window--" prefix.
1396
cbe71af3
SM
13972011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1398
2ad52c60
SM
1399 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1400 (smie-warning-count): New var.
1401 (smie-set-prec2tab): Use it.
1402 (smie-bnf->prec2): Improve warnings. Add docstring.
1403 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1404 (smie-bnf--set-class): New function.
1405 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1406 corner case.
1407
6944dbc1
SM
1408 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1409 (compilation-error-properties, compilation-move-to-column):
1410 Handle compilation-first-column while in the target buffer.
1411
c400c4d7
SM
1412 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1413 Don't hardcode point-min==1.
1414
6dbe3e96
SM
1415 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1416 (eshell-rewrite-for-command): Remove workaround.
1417 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1418 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1419 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1420
cbe71af3
SM
1421 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1422
a8e1496d
GM
14232011-11-17 Glenn Morris <rgm@gnu.org>
1424
1425 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1426 Ignore buffer-local generated-autoload-file if it is the same
1427 as the global value. (Bug#10049)
1428
df85d315
JB
14292011-11-17 Juanma Barranquero <lekktu@gmail.com>
1430
1431 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1432 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1433 (reftex-toc-previous-heading, reftex-toc-max-level)
1434 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1435 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1436 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1437 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1438 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1439 (reftex-toc-rename-label, reftex-toc-visit-location)
1440 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1441 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1442 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1443 leaving "*toc*" only for references to the buffer.
1444
a0c2d0ae
MR
14452011-11-17 Martin Rudalics <rudalics@gmx.at>
1446
1447 * window.el (window-resize, delete-window, split-window):
1448 Replace window-splits by window-combination-resize.
1d00653d 1449 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1450
35c0bac8
GM
14512011-11-17 Glenn Morris <rgm@gnu.org>
1452
1453 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1454 Make bash entry derive from sh entry, not shell entry.
1455
d0c8fc8a
MA
14562011-11-16 Michael Albinus <michael.albinus@gmx.de>
1457
d0c8fc8a
MA
1458 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1459 properties of linked files. (Bug#9879)
1460
7262a87c
MA
1461 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1462 local file name.
1463
7877f373
JB
14642011-11-16 Juanma Barranquero <lekktu@gmail.com>
1465
1466 * menu-bar.el (menu-bar-file-menu):
1467 * printing.el (pr-ps-utility):
1468 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1469 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1470 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1471 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1472 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1473 (icalendar--convert-cyclic-to-ical)
1474 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1475 (icalendar--convert-ical-to-diary)
1476 (icalendar--convert-recurring-to-diary)
1477 (icalendar--convert-non-recurring-all-day-to-diary)
1478 (icalendar-import-format-sample):
1479 * progmodes/idlw-shell.el (idlwave-shell-mode):
1480 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1481 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1482 (vhdl-ps-print-init): Fix typos.
1483
10649b82
KM
14842011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1485
9d0cfcd6
GM
1486 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1487 FSF and collapse date sequence, obscure author/maintainer email address
1488 better, remove extra version line, track relocation of author's webpage.
10649b82 1489
9d0cfcd6
GM
1490 * progmodes/python.el (python-pdbtrack-input-prompt)
1491 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1492 regular python pdb prompts. Adjustments shamelessly taken exactly as
1493 suggested in EmacsWiki page (tiny change):
1494 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1495
58179cce
JB
14962011-11-16 Juanma Barranquero <lekktu@gmail.com>
1497
1498 * expand.el (expand-pos, expand-index, expand-point):
1499 Remove redundant info from docstring.
1500 (expand-add-abbrevs): Doc fix.
1501 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1502 (expand-sample-perl-mode-expand-list): Fix typos.
1503
1504 * net/dbus.el (dbus-event-member-name):
1505 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1506 * term/pc-win.el (msdos-create-frame-with-faces):
1507 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1508
b6f67890
MR
15092011-11-16 Martin Rudalics <rudalics@gmx.at>
1510
1511 * window.el (split-window, window-state-get-1)
1512 (window-state-put-1, window-state-put-2): Rename occurrences of
1513 window-nest to window-combination-limit.
1d00653d 1514 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1515
ce7ddba0
CY
15162011-11-16 Chong Yidong <cyd@gnu.org>
1517
1518 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1519 regexp (Bug#10033).
1520
3ae704f4
SM
15212011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1524 `completing-read' will remove *Completions* and will preserve
1525 current-buffer for us.
1526 (tmm-add-prompt): Users of *Completions* will always (re)set its
1527 major mode.
1528 (tmm-old-comp-map): Remove.
1529
6ad1cdde
GM
15302011-11-16 Glenn Morris <rgm@gnu.org>
1531
1532 * mail/rmailedit.el: Require rmailmm when compiling.
1533 (rmail-old-mime-state): New declaration.
1534 (rmail-edit-current-message): If editing a mime message,
1535 edit the "raw" message from the mbox buffer.
1536 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1537
d20faa20
GM
15382011-11-15 Glenn Morris <rgm@gnu.org>
1539
1540 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1541 which wasn't being used. Add optional arg to force given state.
1542 (rmail-mime): Add optional arg to force given state.
1543
c7015153
JB
15442011-11-15 Juanma Barranquero <lekktu@gmail.com>
1545
1546 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1547 * frame.el (display-mm-dimensions-alist):
1548 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1549 (outline-move-subtree-down):
1550 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1551 (newsticker--treeview-do-get-node):
1552 * net/quickurl.el (quickurl-list-buffer-name):
1553 * progmodes/dcl-mode.el (dcl-mode):
1554 * progmodes/gdb-mi.el (gdb-mapcar*):
1555 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1556
45261b50
GM
15572011-11-15 Glenn Morris <rgm@gnu.org>
1558
1559 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1560 in a boolean sense, so just make it a boolean, and fix the doc.
1561 (rmail-show-mime-function, rmail-mime-feature)
1562 (rmail-require-mime-maybe): Doc fixes.
1563 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1564
1565 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1566
0d26e0b6
JB
15672011-11-15 Juanma Barranquero <lekktu@gmail.com>
1568
1569 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1570 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1571 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1572 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1573
447f30f6
GM
15742011-11-15 Glenn Morris <rgm@gnu.org>
1575
672b871d
GM
1576 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1577 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1578 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1579 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1580 (rmail-mime, rmail-show-mime): Doc fixes.
1581
f6aa5bb1
GM
1582 * term/ns-win.el (mode-line-frame-identification):
1583 Leave it alone. (Bug#10051)
1584
947cd66b
GM
1585 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1586
447f30f6
GM
1587 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1588 Handle empty buffers. (Bug#9978)
1589
0b381c7e
JB
15902011-11-14 Juanma Barranquero <lekktu@gmail.com>
1591
1592 * international/mule.el (define-charset):
1593 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1594 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1595 * progmodes/verilog-mode.el (verilog-backward-token):
1596 * textmodes/ispell.el (lookup-words):
1597 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1598
71e027ac
GM
15992011-11-14 Glenn Morris <rgm@gnu.org>
1600
56632ce4
GM
1601 * progmodes/executable.el
1602 (executable-make-buffer-file-executable-if-script-p):
1603 Handle file-modes returning nil.
1604
40500957
GM
1605 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1606 message - not necessary, and causes problems. (Bug#9831)
1607
071c2340
GM
1608 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1609
d3cfca60
GM
1610 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1611
71e027ac
GM
1612 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1613 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1614 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1615
89d61221
MR
16162011-11-12 Martin Rudalics <rudalics@gmx.at>
1617
1618 * window.el (window-resize, delete-window): Use window-splits
1619 variable instead of function.
1620 (window-state-get-1, window-state-put-2, window-state-put):
1621 Don't deal with windows' splits status.
1622
98282f6f
GM
16232011-11-12 Glenn Morris <rgm@gnu.org>
1624
1625 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1626 (apropos-documentation): Doc fixes.
1627
40a8bdf6
JB
16282011-11-11 Juanma Barranquero <lekktu@gmail.com>
1629
1630 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1631 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1632
65bd19ff
SM
16332011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * electric.el (electric-indent-post-self-insert-function): Make it
1636 possible for a char to only indent in some circumstances.
1637 (electric-indent-mode): Simplify.
1638
54f9154c
MR
16392011-11-11 Martin Rudalics <rudalics@gmx.at>
1640
1641 * window.el (windows-with-parameter): Remove unused function.
1642 (windows-at-side): Rename to window-at-side-list.
1643 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1644 (window-side-check, window-size-ignore, window-size-fixed-1)
1645 (window-in-direction-2): Prefix with "window--".
1646 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1647
68cbc58b
GM
16482011-11-11 Glenn Morris <rgm@gnu.org>
1649
1650 * subr.el (eval-after-load): If FILE is already loaded,
1651 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1652
b2621720
GM
16532011-11-10 Glenn Morris <rgm@gnu.org>
1654
9a4de110
GM
1655 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1656 Call svn via vc-svn-command rather than vc-do-command.
1657 (vc-svn-command): Add --non-interactive. (Bug#9993)
1658 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1659
b2621720
GM
1660 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1661 Add toggle-read-only. (Bug#7292)
1662 * files.el (toggle-read-only): Mention that it should only
1663 be used interactively. (Bug#10006)
1664
1dce7193
SM
16652011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1666
d9ac1a1e
SM
1667 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1668 Adjust regexp for OCaml warnings.
1669
0c325082
SM
1670 * electric.el (electric-pair-post-self-insert-function): Let user
1671 turn it off buffer-locally (bug#9932).
1672
90132c14
SM
1673 * progmodes/python.el (python-beginning-of-statement):
1674 Rewrite (bug#2703).
1675
1dce7193
SM
1676 * progmodes/compile.el: Better handle TABs (bug#9749).
1677 (compilation-internal-error-properties)
1678 (compilation-next-error-function): Obey the target buffer's
1679 compilation-error-screen-columns.
1680
c4e7c63a
JB
16812011-11-09 Juanma Barranquero <lekktu@gmail.com>
1682
1683 * progmodes/meta-mode.el: Remove obsolete comments.
1684 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1685 Fix typos in docstrings.
1686
2cffd681
MR
16872011-11-09 Martin Rudalics <rudalics@gmx.at>
1688
1689 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1690 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1691 (window--resizable): New function. Make all callers of
1692 window-resizable call window--resizable instead.
1693 (window-resizable): Rewrite in terms of window--resizable.
1694
0edcba87
GM
16952011-11-08 Glenn Morris <rgm@gnu.org>
1696
1697 * progmodes/delphi.el (delphi-mode-syntax-table):
1698 Let define-derived-mode define a proper syntax table. (Bug#9994)
1699
4b0d61e3
SM
17002011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * window.el: Stay away from defsubst.
1703 (window-list-no-nils): Remove.
1704 (window-state-get-1, window-state-get): Use backquote instead.
1705
cd394be1 17062011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1707
4b0d61e3 1708 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1709 Fix incorrect use of default argument in `completing-read'.
1710
e1c2c6f2
MR
17112011-11-08 Martin Rudalics <rudalics@gmx.at>
1712
1713 * window.el (display-buffer-function, special-display-function):
1714 Mention display-buffer-record-window but do not mention
1715 help-setup parameter in doc-strings.
b3f4a882 1716 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1717
105216ed
CY
17182011-11-08 Chong Yidong <cyd@gnu.org>
1719
1720 * window.el (window-total-height, window-total-width): Doc fix.
1721 (window-body-size): Move from C.
1722 (window-body-height, window-body-width): Move to C.
1723
0a9f9ab5
SM
17242011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * window.el: Make special-display like display-buffer-alist (bug#9532).
1727 (display-buffer--special-action): New function, morphed
1728 from display-buffer--special.
1729 (display-buffer): Use it to handle special-display-buffers at higher
1730 priority (just after display-buffer-alist).
1731 (display-buffer-fallback-action, display-buffer--other-frame-action)
1732 (pop-to-buffer-same-window): Remove display-buffer--special.
1733
a769dd15
GM
17342011-11-07 Glenn Morris <rgm@gnu.org>
1735
1736 * calendar/cal-menu.el (cal-menu-set-date-title):
1737 Do nothing if not in a calendar. (Bug#9976)
1738
05a61ee3
SM
17392011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * files.el (find-file): Always use selected-window.
1742
be7f5545
MR
17432011-11-07 Martin Rudalics <rudalics@gmx.at>
1744
1745 * window.el (window-combinations): Make WINDOW argument
1746 mandatory. Rewrite doc-string.
1747 (walk-window-subtree, window-atom-check, window-min-delta)
1748 (window-max-delta, window--resize-this-window)
1749 (window--resize-root-window-vertically, window-tree)
1750 (balance-windows, window-state-put): Rewrite doc-strings as to
1751 not mention the term "subwindow".
1752 (window--resize-subwindows-skip-p): Rename to
1753 window--resize-child-windows-skip-p.
1754 (window--resize-subwindows-normal): Rename to
1755 window--resize-child-windows-normal.
1756 (window--resize-subwindows): Rename to
1757 window--resize-child-windows.
1758 (window-or-subwindow-p): Rename to window--in-subtree-p.
1759
3c6702ef
ML
17602011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1761
1762 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1763 Ensure that mbox format messages end in two newlines (Bug#9974).
1764
49745b39
CY
17652011-11-06 Chong Yidong <cyd@gnu.org>
1766
1767 * window.el (window-combination-p): Function deleted; its
1768 side-effect is not used in any existing code.
1769 (window-combinations, window-combined-p): Call window-*-child
1770 directly.
1771
24300f5f
CY
17722011-11-05 Chong Yidong <cyd@gnu.org>
1773
1774 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1775 (window-size-ignore, window-state-get): Callers changed.
1776 (window-normalize-window): Rename from window-normalize-any-window.
1777 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1778 (window-normalize-live-window): Delete.
447f16b8
CY
1779 (window-combination-p, window-combined-p, window-combinations)
1780 (walk-window-subtree, window-atom-root, window-min-size)
1781 (window-sizable, window-sizable-p, window-size-fixed-p)
1782 (window-min-delta, window-max-delta, window-resizable)
1783 (window-resizable-p, window-full-height-p, window-full-width-p)
1784 (window-current-scroll-bars, window-point-1, set-window-point-1)
1785 (window-at-side-p, window-in-direction, window-resize)
1786 (adjust-window-trailing-edge, maximize-window, minimize-window)
1787 (window-deletable-p, delete-window, delete-other-windows)
1788 (record-window-buffer, unrecord-window-buffer)
1789 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1790 (quit-window, split-window, window-state-put)
1791 (set-window-text-height, fit-window-to-buffer)
1792 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1793
89bd5ee1
EZ
17942011-11-04 Eli Zaretskii <eliz@gnu.org>
1795
53479029
EZ
1796 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1797 rfc2047-decode-string.
1798 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1799 warnings.
1800
89bd5ee1
EZ
1801 * window.el (window-body-height, window-body-width): Mention in
1802 the doc string that the return values are in frame's canonical
1803 units. (Bug#9949)
1804
bd17fdee
AM
18052011-11-03 Alan Mackenzie <acm@muc.de>
1806
1807 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1808 change in cc-engine.el.
1809
acc825c5
SM
18102011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1813
1885e5b8
MR
18142011-11-02 Martin Rudalics <rudalics@gmx.at>
1815
1816 * window.el (quit-window): Call unrecord-window-buffer after
1817 showing another buffer in the window. (Bug#9937)
acc825c5 1818 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1819
ebe06da9
JB
18202011-11-02 Juanma Barranquero <lekktu@gmail.com>
1821
1822 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1823 Accept status with more than 9 shelves. (Bug#9935)
1824 Reported by Colin D Bennett <colin@gibibit.com>.
1825
4ee88440
MR
18262011-11-01 Martin Rudalics <rudalics@gmx.at>
1827
1828 * help.el (with-help-window): Don't reference
1829 temp-buffer-show-specifiers in doc-string.
1830
08e1d82c
AS
18312011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1832
1833 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1834 menu-item.
1835
84bd6e9e
VJL
18362011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1837
1838 * whitespace.el: New version 13.2.2.
1839 (whitespace-newline-mode): Disable properly. Reported by Sarah
1840 <EmacsWiki>.
1841
dba0634a
UJ
18422011-10-30 Ulf Jasper <ulf.jasper@web.de>
1843
1844 * net/newst-treeview.el: Remove "Time-stamp".
1845 (newsticker--group-manage-orphan-feeds): Do not call
1846 newsticker--treeview-tree-update.
db22a3c2
JB
1847 (newsticker-treeview-update, newsticker-treeview):
1848 Call newsticker--treeview-tree-update if necessary.
dba0634a 1849
3d8daefe
MR
18502011-10-30 Martin Rudalics <rudalics@gmx.at>
1851
1852 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1853 (window-iso-combinations): Remove "iso-" infix.
1854 Suggested by Chong Yidong.
3d8daefe
MR
1855 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1856 (window-max-delta-1, window-resize, window--resize-siblings)
1857 (window--resize-this-window, adjust-window-trailing-edge)
1858 (split-window, balance-windows-1)
1859 (shrink-window-if-larger-than-buffer):
1860 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1861 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1862
1bc4c3ae
SM
18632011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1866 in place (bug#9907).
1867 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1868 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1869 (eshell-structure-basic-command, eshell-rewrite-while-command)
1870 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1871 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1872 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1873 (eshell-do-pipelines-synchronously, eshell-eval-command):
1874 Use backquotes and prefer setq to set.
1875 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1876 (eshell-macrop): Use functionp.
c1e2f5fa 1877 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1878
30b65d9c
CY
18792011-10-30 Chong Yidong <cyd@gnu.org>
1880
1881 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1882 instead of set-mark (Bug#9810).
1883
2d197ffb
CY
18842011-10-30 Chong Yidong <cyd@gnu.org>
1885
1886 * window.el (split-window-below, split-window-right): Rename from
1887 split-window-above-each-other and split-window-side-by-side
1888 respectively. All callers changed.
1889 (split-window-sensibly, split-window-sensibly): Use them.
1890 (split-window-keep-point): Doc fix.
1891
1892 * isearch.el: Add isearch-scroll property to split-window-below
1893 and split-window-right.
1894
1895 * follow.el (follow-mode):
1896 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1897 * progmodes/ada-xref.el (ada-gdb-application):
1898 * emulation/vip.el (vip-buffer-in-two-windows):
1899 * image-dired.el (image-dired-dired-with-window-configuration):
1900 * dired-x.el (dired-do-find-marked-files):
1901 * dired.el (dired-pop-to-buffer):
1902 * bs.el (bs--show-with-configuration):
1903 * vc/emerge.el (emerge-setup-windows):
1904 * textmodes/two-column.el (2C-two-columns):
1905 * textmodes/reftex-toc.el (reftex-toc):
1906 * progmodes/gdb-mi.el (gdb-setup-windows):
1907 * progmodes/fortran.el (fortran-window-create):
1908 * net/newst-treeview.el (newsticker--treeview-window-init):
1909 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1910 * emulation/tpu-edt.el (tpu-gold-map):
1911 * emulation/crisp.el (crisp-mode-map):
1912 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1913
38bb2ca8
CY
19142011-10-29 Chong Yidong <cyd@gnu.org>
1915
aa4de341
CY
1916 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1917
e1eb5385
CY
1918 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1919
5d2ece3c
CY
1920 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1921 forged Ispell output (Bug#7904).
1922
38bb2ca8
CY
1923 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1924
d0af9f77
SM
19252011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * doc-view.el: Avoid ugly errors about not finding nil.
1928 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1929 (doc-view-dvipdf-program, doc-view-unoconv-program)
1930 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1931 Avoid nil or absolute file name as default value.
1932 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1933
52bedd34
AM
19342011-10-28 Alan Mackenzie <acm@muc.de>
1935
db22a3c2 1936 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1937
7e43cfa5
AM
19382011-10-28 Alan Mackenzie <acm@muc.de>
1939
1940 Amend the handling of c-beginning/end-of-defun in nested declaration
1941 scopes.
1942
52bedd34
AM
1943 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1944 cc-langs.el. Change it to a defcustom.
7e43cfa5 1945
52bedd34
AM
1946 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1947 cc-vars.el.
7e43cfa5 1948
d0af9f77
SM
1949 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1950 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1951
52bedd34 1952 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1953 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1954 (c-widen-to-enclosing-decl-scope): New function.
1955 (c-while-widening-to-decl-block): New macro.
1956 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1957 outward for defun boundaries, and correspondingly change symbol
1958 `respect-enclosure' to `go-outward'.
1959 (c-declaration-limits): Change algorithm to report only the "innermost"
1960 defun's boundaries.
1961
1a2ce9ee
DD
19622011-10-28 Deniz Dogan <deniz@dogan.se>
1963
1964 * net/rcirc.el (rcirc-mode): Use hard newlines.
1965
bc97a826
AM
19662011-10-28 Alan Mackenzie <acm@muc.de>
1967
1968 Amend to indent and fontify macros "which include their own semicolon"
1969 correctly, using the "virtual semicolon" mechanism.
1970
52bedd34 1971 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1972
d0af9f77 1973 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1974 Recode to scan one line at a time rather than having \n and \r
58179cce 1975 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1976 (c-forward-label): Amend for virtual semicolons.
58179cce 1977 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1978
52bedd34
AM
1979 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1980 of the new C macros.
bc97a826 1981
52bedd34 1982 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1983 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1984 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1985 (c-opt-cpp-macro-define): Make into a full language variable.
1986 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1987 AWK Mode (including \n, \r) removed, no longer needed.
1988
d0af9f77
SM
1989 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1990 Invoke c-make-macro-with-semi-re.
bc97a826 1991
52bedd34
AM
1992 * progmodes/cc-vars.el (c-macro-with-semi-re):
1993 (c-macro-names-with-semicolon): New variables.
58179cce 1994 (c-make-macro-with-semi-re): New function.
bc97a826 1995
7a6c0941
SM
19962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * vc/log-edit.el: Fill empty field rather than adding new one.
1999 (log-edit-add-field): New function.
2000 (log-edit-insert-changelog): Use it.
2001
b0c4cdcf
ML
20022011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2003
2004 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2005
ee1f1da9
SM
20062011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2009 (gdb--check-interpreter): New function.
2010 (gdb): Use it.
2011
51bc5f8b
GM
20122011-10-27 Glenn Morris <rgm@gnu.org>
2013
416a2c45
GM
2014 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2015 (least-positive-float, least-negative-float)
2016 (least-positive-normalized-float, least-negative-normalized-float)
2017 (float-epsilon, float-negative-epsilon):
2018 Remove unnecessary declarations.
2019
2020 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2021 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2022 (least-positive-float, least-negative-float)
2023 (least-positive-normalized-float, least-negative-normalized-float)
2024 (float-epsilon, float-negative-epsilon): Add doc-strings,
2025 based on those in cl.texi.
2026
51bc5f8b
GM
2027 * files.el (set-visited-file-name): If the major-mode changed,
2028 reload the local variables. (Bug#9796)
2029
15de15c6
CY
20302011-10-27 Chong Yidong <cyd@gnu.org>
2031
2032 * subr.el (change-major-mode-after-body-hook): New hook.
2033 (run-mode-hooks): Run it.
2034
ee1f1da9
SM
2035 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2036 Use change-major-mode-before-body-hook.
15de15c6
CY
2037
2038 * simple.el (fundamental-mode):
2039 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2040 change introducing fundamental-mode-hook.
2041
5430d399
JB
20422011-10-26 Juanma Barranquero <lekktu@gmail.com>
2043
acc825c5 2044 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2045
ad74a69e
MA
20462011-10-26 Michael Albinus <michael.albinus@gmx.de>
2047
2048 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2049 tramp.el explicitly. (Bug#7583)
ad74a69e 2050
71d4c2a5
SM
20512011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * progmodes/octave-mod.el:
2054 * progmodes/octave-inf.el: Update maintainer.
2055
b1f6fa26
CY
20562011-10-26 Chong Yidong <cyd@gnu.org>
2057
2058 * subr.el (with-wrapper-hook): Rewrite doc.
2059
3f04efd6
MA
20602011-10-25 Michael Albinus <michael.albinus@gmx.de>
2061
2062 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2063 filenames "/method:foo:". (Bug#9793)
3f04efd6 2064
410488d3
SM
20652011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2068 (bug#9865).
2069
c1ebb47e
GM
20702011-10-24 Glenn Morris <rgm@gnu.org>
2071
2072 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2073
7f5c46c7
MA
20742011-10-24 Michael Albinus <michael.albinus@gmx.de>
2075
2076 * notifications.el: Add the requirement of a running D-Bus session
2077 bus to the Commentary.
2078
db2440b6
JL
20792011-10-24 Juri Linkov <juri@jurta.org>
2080
2081 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2082 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2083 (Bug#9364)
2084
feecf435
JL
20852011-10-24 Juri Linkov <juri@jurta.org>
2086
2087 * info.el (Info-following-node-name-re): Add newline to the list
2088 of allowed characters for leading space. (Bug#9824)
2089
a3839de2
SM
20902011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2091
acc825c5
SM
2092 * progmodes/octave-inf.el (inferior-octave-mode-map):
2093 Fix C-c C-h binding.
a3839de2
SM
2094 * progmodes/octave-mod.el (octave-help): Remove.
2095
09388e76
MA
20962011-10-23 Michael Albinus <michael.albinus@gmx.de>
2097
2098 Sync with Tramp 2.2.3.
2099
2100 * net/tramp-cache.el (top): Pacify byte-compiler using
2101 `init-file-user' and `site-run-file'.
2102
2103 * net/trampver.el: Update release number.
2104
86c60681
CY
21052011-10-23 Chong Yidong <cyd@gnu.org>
2106
2107 * files.el (toggle-read-only): Remove obsolete comment about
2108 version control.
2109
2110 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2111 for toggle-read-only. Note that this hasn't called vc-next-action
2112 since 2008-05-02, though it wasn't documented at the time.
2113
a3839de2
SM
2114 * vc/ediff-init.el (ediff-toggle-read-only-function):
2115 Use toggle-read-only.
86c60681 2116
cd5495ff
AM
21172011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2118
2119 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2120 of c-parse-state.
2121
00b77525 2122 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2123 correct faulty logical expression.
cd5495ff
AM
2124 (c-parse-state-state, c-record-parse-state-state):
2125 (c-replay-parse-state-state): New defvar/defuns.
2126 (c-debug-parse-state): Use new functions.
2127
42ee24ed
MR
21282011-10-22 Martin Rudalics <rudalics@gmx.at>
2129
2130 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2131 last fix. Use window-in-direction correctly.
42ee24ed 2132
a7dee7e7
CY
21332011-10-21 Chong Yidong <cyd@gnu.org>
2134
2135 * progmodes/idlwave.el (idlwave-mode):
2136 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2137 require-final-newline; that's done in prog-mode.
2138 Suggested by Stefan Monnier.
a7dee7e7 2139
e07b9a6d
MR
21402011-10-21 Martin Rudalics <rudalics@gmx.at>
2141
2142 * mouse.el (mouse-drag-window-above)
2143 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2144 (mouse-drag-mode-line-1, mouse-drag-header-line)
2145 (mouse-drag-vertical-line-rightward-window): Remove.
2146 (mouse-drag-line): New function.
2147 (mouse-drag-mode-line, mouse-drag-header-line)
2148 (mouse-drag-vertical-line): Call mouse-drag-line.
2149 * window.el (window-at-side-p, windows-at-side): New functions.
2150
7e1361d9
UM
21512011-10-21 Ulrich Mueller <ulm@gentoo.org>
2152
2153 * tar-mode.el (tar-grind-file-mode):
2154 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2155
30fcaf3a
CY
21562011-10-21 Chong Yidong <cyd@gnu.org>
2157
2158 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2159 * progmodes/vera-mode.el (vera-mode):
2160 Use mode-require-final-newline.
30fcaf3a 2161
516eddb0
GM
21622011-10-20 Glenn Morris <rgm@gnu.org>
2163
db22a3c2 2164 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2165
10d5f513
CS
21662011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2167
2168 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2169
ac6c8639
CY
21702011-10-20 Chong Yidong <cyd@gnu.org>
2171
2172 * emulation/cua-base.el (cua-mode):
2173 * mail/footnote.el (footnote-mode):
2174 * mail/mailabbrev.el (mail-abbrevs-mode):
2175 * net/xesam.el (xesam-minor-mode):
2176 * progmodes/bug-reference.el (bug-reference-mode):
2177 * progmodes/cap-words.el (capitalized-words-mode):
2178 * progmodes/compile.el (compilation-minor-mode)
2179 (compilation-shell-minor-mode):
2180 * progmodes/gud.el (gud-tooltip-mode):
2181 * progmodes/hideif.el (hide-ifdef-mode):
2182 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2183 * progmodes/subword.el (subword-mode):
2184 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2185 * progmodes/which-func.el (which-function-mode):
2186 * term/tvi970.el (tvi970-set-keypad-mode):
2187 * term/vt100.el (vt100-wide-mode):
2188 * textmodes/flyspell.el (flyspell-mode):
2189 * textmodes/ispell.el (ispell-minor-mode):
2190 * textmodes/nroff-mode.el (nroff-electric-mode):
2191 * textmodes/paragraphs.el (use-hard-newlines):
2192 * textmodes/refill.el (refill-mode):
2193 * textmodes/reftex.el (reftex-mode):
2194 * textmodes/rst.el (rst-minor-mode):
2195 * textmodes/sgml-mode.el (html-autoview-mode)
2196 (sgml-electric-tag-pair-mode):
2197 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2198 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2199 * emulation/crisp.el (crisp-mode):
2200 * emacs-lisp/eldoc.el (eldoc-mode):
2201 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2202 minor mode behavior.
2203
aa42ab43
JL
22042011-10-19 Juri Linkov <juri@jurta.org>
2205
2206 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2207 the list of hard-coded chars with escape-glyph face.
2208
89400f1d
SM
22092011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2212
305c07f6
MA
22132011-10-19 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2216 running process.
2217
13754b54
GM
22182011-10-19 Glenn Morris <rgm@gnu.org>
2219
2220 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2221 Ignore ignored files. (Bug#9726)
2222
06e21633
CY
22232011-10-19 Chong Yidong <cyd@gnu.org>
2224
2225 Doc fix for minor modes, stating that an omitted argument enables
2226 the mode unconditionally when called from Lisp.
2227
2228 * abbrev.el (abbrev-mode):
2229 * allout.el (allout-mode):
2230 * autoinsert.el (auto-insert-mode):
2231 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2232 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2233 (global-auto-revert-mode):
2234 * battery.el (display-battery-mode):
2235 * composite.el (global-auto-composition-mode)
2236 (auto-composition-mode):
2237 * delsel.el (delete-selection-mode):
2238 * desktop.el (desktop-save-mode):
2239 * dired-x.el (dired-omit-mode):
2240 * dirtrack.el (dirtrack-mode):
2241 * doc-view.el (doc-view-minor-mode):
2242 * double.el (double-mode):
2243 * electric.el (electric-indent-mode, electric-pair-mode):
2244 * emacs-lock.el (emacs-lock-mode):
2245 * epa-hook.el (auto-encryption-mode):
2246 * follow.el (follow-mode):
2247 * font-core.el (font-lock-mode):
2248 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2249 * help.el (temp-buffer-resize-mode):
2250 * hilit-chg.el (highlight-changes-mode)
2251 (highlight-changes-visible-mode):
2252 * hi-lock.el (hi-lock-mode):
2253 * hl-line.el (hl-line-mode, global-hl-line-mode):
2254 * icomplete.el (icomplete-mode):
2255 * ido.el (ido-everywhere):
2256 * image-file.el (auto-image-file-mode):
2257 * image-mode.el (image-minor-mode):
2258 * iswitchb.el (iswitchb-mode):
2259 * jka-cmpr-hook.el (auto-compression-mode):
2260 * linum.el (linum-mode):
2261 * longlines.el (longlines-mode):
2262 * master.el (master-mode):
2263 * mb-depth.el (minibuffer-depth-indicate-mode):
2264 * menu-bar.el (menu-bar-mode):
2265 * minibuf-eldef.el (minibuffer-electric-default-mode):
2266 * mouse-sel.el (mouse-sel-mode):
2267 * msb.el (msb-mode):
2268 * mwheel.el (mouse-wheel-mode):
2269 * outline.el (outline-minor-mode):
2270 * paren.el (show-paren-mode):
2271 * recentf.el (recentf-mode):
2272 * reveal.el (reveal-mode, global-reveal-mode):
2273 * rfn-eshadow.el (file-name-shadow-mode):
2274 * ruler-mode.el (ruler-mode):
2275 * savehist.el (savehist-mode):
2276 * scroll-all.el (scroll-all-mode):
2277 * scroll-bar.el (scroll-bar-mode):
2278 * server.el (server-mode):
2279 * shell.el (shell-dirtrack-mode):
2280 * simple.el (auto-fill-mode, transient-mark-mode)
2281 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2282 (line-number-mode, column-number-mode, size-indication-mode)
2283 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2284 * strokes.el (strokes-mode):
2285 * time.el (display-time-mode):
2286 * t-mouse.el (gpm-mouse-mode):
2287 * tool-bar.el (tool-bar-mode):
2288 * tooltip.el (tooltip-mode):
2289 * type-break.el (type-break-mode-line-message-mode)
2290 (type-break-query-mode):
2291 * view.el (view-mode):
2292 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2293 (global-whitespace-mode, global-whitespace-newline-mode):
2294 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2295
a3839de2
SM
2296 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2297 Fix autogenerated docstring.
06e21633 2298
5214e501
JL
22992011-10-19 Juri Linkov <juri@jurta.org>
2300
2301 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2302 by checking environment variables "DESKTOP_SESSION" and
2303 "XDG_CURRENT_DESKTOP". (Bug#9779)
2304
195f8db9
JL
23052011-10-19 Juri Linkov <juri@jurta.org>
2306
2307 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2308 (browse-url-chromium-program, browse-url-chromium-arguments):
2309 New defcustoms.
2310 (browse-url-default-browser): Check for `browse-url-chromium' and
2311 call `browse-url-chromium-program'.
2312 (browse-url-chromium): New command. (Bug#9779)
2313
343a34ff
JB
23142011-10-18 Juanma Barranquero <lekktu@gmail.com>
2315
2316 * facemenu.el (list-colors-duplicates): On Windows, detect more
2317 duplicates by assuming that only colors matching "^System" are
2318 special "system colors". (Bug#9722)
2319
6978a151
SM
23202011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2323 to distinguish the author from the committer.
2324
6a80b297
MA
23252011-10-18 Michael Albinus <michael.albinus@gmx.de>
2326
2327 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2328
b31a5677
JK
23292011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2330
2331 * international/mule.el (sgml-html-meta-auto-coding-function):
2332 Add support for detecting encoding in HTML5 specified only as
2333 <meta charset="UTF-8">. Implementation just makes http-equiv and
2334 content-type parts from HTML4 encoding string optional. (Bug#9716)
2335
80c6d77f
GM
23362011-10-18 Glenn Morris <rgm@gnu.org>
2337
2338 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2339
08b0fee8
CY
23402011-10-18 Chong Yidong <cyd@gnu.org>
2341
2342 * faces.el (cursor): Doc fix.
2343
67e729a5
CY
23442011-10-17 Chong Yidong <cyd@gnu.org>
2345
2346 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2347
343a34ff 23482011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2349
2350 * dirtrack.el (dirtrack): Support shell buffers with path
2351 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2352
0bc06380
TZ
23532011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2354
2355 * json.el: Bump version to 1.3 and note change in History.
2356 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2357
8b79f3e0
SM
23582011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2359
5a7c536b
SM
2360 * comint.el (comint-insert-input, comint-send-input)
2361 (comint-get-old-input-default, comint-backward-matching-input)
2362 (comint-next-prompt): Use nil instead of `input' for field property of
2363 past user input (bug#114).
2364
96a8a0df
SM
2365 * minibuffer.el (completion--replace): Inherit surrounding properties
2366 (bug#114).
2367 (minibuffer-complete-and-exit): Use it.
2368
8b79f3e0
SM
2369 * comint.el (comint--table-subvert): Quote the all-completions output
2370 (bug#9160).
2371
b8f7ff0d
MR
23722011-10-17 Martin Rudalics <rudalics@gmx.at>
2373
8b79f3e0 2374 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2375
b8f7ff0d 2376 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2377 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2378 entries and separate them from frame entries.
2379
c235b555
GM
23802011-10-15 Glenn Morris <rgm@gnu.org>
2381
2382 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2383 Doc fixes.
2384
6bbfa6e1
CY
23852011-10-15 Chong Yidong <cyd@stupidchicken.com>
2386
8b79f3e0
SM
2387 * net/network-stream.el (network-stream-open-starttls):
2388 Improve detection of failure due to lack of TLS support.
ec5c990d 2389
6bbfa6e1
CY
2390 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2391 putting the input text in front and in bold.
2392
98488977
SM
23932011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2394
3d1337be
SM
2395 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2396
ee0b45e4
SM
2397 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2398 empty buffer.
2399
98488977
SM
2400 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2401 unread-command-events rather than pushing yet-another event.
2402
186f4720
EZ
24032011-10-14 Eli Zaretskii <eliz@gnu.org>
2404
2405 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2406 the explanation of the possible choices. Make the options passed
2407 to completing-read shorter.
2408
8b7a997c
AM
24092011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2410
2411 * textmodes/flyspell.el (flyspell-large-region): Make sure
2412 extended character mode is used if defined (Bug#1339).
2413
12587bbb
EZ
24142011-10-13 Eli Zaretskii <eliz@gnu.org>
2415
2416 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2417 character info for LRE, LRO, RLE, and RLO characters by appending
2418 an invisible PDF.
12587bbb 2419
bad41229
SM
24202011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2423 even in case of error; add debug spec; simplify data flow.
2424 (with-timeout-handler): Remove.
2425
28dbc92f
MA
24262011-10-12 Michael Albinus <michael.albinus@gmx.de>
2427
2428 Fix Bug#6019, Bug#9315.
2429
2430 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2431 complete `buffer-file-name', the local file name part could look
2432 remotely (for example on VMS).
2433
2434 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2435 `tramp-run-real-handler'.
2436 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2437 already quoted by '"'.
2438
2439 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2440 Let `file-name-handler-alist' be nil, the local file name part
2441 could look remotely (for example on VMS).
2442
e1b0b23a
SM
24432011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2446 from here...
2447 (flyspell-post-command-hook): ...to here.
2448
a120bde9
SM
24492011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2452 if not needed.
2453 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2454 using completion. Protect against "slow" callers.
2455 Remove the "message hack".
2456
7ce7717b
JL
24572011-10-11 Juri Linkov <juri@jurta.org>
2458
2459 * isearch.el (isearch-lazy-highlight-word): New variable.
2460 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2461 Use it. (Bug#9727)
2462
c02ee9d6
GM
24632011-10-11 Glenn Morris <rgm@gnu.org>
2464
2465 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2466 like f90-previous-statement does.
2467
93e616fd 24682011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2469
1f190e73 2470 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2471 only in interactive use, to avoid error.
2472
af7b6078
SM
24732011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 * minibuffer.el (completion-file-name-table): Fix last change,
2476 i.e. ignore normal errors but not the other ones.
2477
0563dae9
MR
24782011-10-10 Martin Rudalics <rudalics@gmx.at>
2479
2480 * window.el (special-display-buffer-names)
2481 (special-display-regexps): Remove some remnants of earlier
2482 changes from doc-strings.
366ca7f3
MR
2483 (quit-windows-on): New function.
2484
2485 * vc/vc.el (vc-revert, vc-rollback):
2486 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2487 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2488 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2489
49677495
MR
24902011-10-09 Martin Rudalics <rudalics@gmx.at>
2491
2492 * window.el (frame-auto-hide-function): Add version tag.
2493 (Bug#9699)
2494
56f2d1e1
MA
24952011-10-09 Michael Albinus <michael.albinus@gmx.de>
2496
2497 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2498 condition.
2499
112a6592
LL
25002011-10-09 Leo Liu <sdl.web@gmail.com>
2501
2502 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2503 (Bug#9701)
2504
0812589b
GM
25052011-10-08 Glenn Morris <rgm@gnu.org>
2506
2507 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2508 before the first code statement zero indent. (Bug#9690)
2509
b2b0776e
CY
25102011-10-08 Chong Yidong <cyd@stupidchicken.com>
2511
2512 * simple.el (count-words-region): Always count in the region.
2513 Report the number of lines and characters too.
2514 (count-words): New command, which counts in the buffer if the
2515 region is inactive, as count-words-region used to.
2516 (count-words--message): New function. Handle plurals.
2517 (count-lines-region): Make it an alias for count-words-region.
2518
2519 * bindings.el (esc-map): Replace count-lines-region with
2520 count-words-region.
2521
c557cd6b
MR
25222011-10-08 Martin Rudalics <rudalics@gmx.at>
2523
2524 * window.el (window--delete): Delete dedicated frame
2525 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2526 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2527
61a57ef4 25282011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2529
2530 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2531
c3833279
CY
25322011-10-07 Chong Yidong <cyd@stupidchicken.com>
2533
2534 * bindings.el ([M-left],[M-right]): Bind to left-word and
2535 right-word respectively.
2536
21ce8245
GM
25372011-10-07 Glenn Morris <rgm@gnu.org>
2538
2539 * cus-start.el (debug-on-quit): Fix custom type.
2540
6d823bb2
LMI
25412011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2542
0181e193
LMI
2543 * subr.el (define-key-after): Clarify that the function is not
2544 useful for non-menu keymaps.
2545
6d823bb2
LMI
2546 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2547
8e3459ce 25482011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2549
21ce8245 2550 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2551 in current minibuffer (Fix bug with recursive minibuffers).
2552
a1c2d21e
CY
25532011-10-06 Chong Yidong <cyd@stupidchicken.com>
2554
2555 * progmodes/gdb-mi.el (gdb): Doc fix.
2556
5a4cf282
MR
25572011-10-05 Martin Rudalics <rudalics@gmx.at>
2558
2559 * window.el (frame-auto-hide-function): New option replacing
2560 frame-auto-delete. Suggested by Stefan Monnier.
2561 (window--delete): Call frame-auto-hide-function instead of
2562 investigating frame-auto-delete.
c96111ea
MR
2563 (window-point-1, set-window-point-1): New functions.
2564 (window-in-direction, record-window-buffer, window-state-get-1)
2565 (display-buffer-record-window): Use window-point-1 instead of
2566 window-point.
2567 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2568
9854542e
SM
25692011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2572
8943cfb0
GM
25732011-10-05 Glenn Morris <rgm@gnu.org>
2574
2575 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2576 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2577
647ab967
LL
25782011-10-05 Leo Liu <sdl.web@gmail.com>
2579
2580 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2581 works with buffer object.
2582
3ddfbced
SM
25832011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * mpc.el (mpc-tool-bar-map): Add labels.
2586
bdfa5dd2
GM
25872011-10-04 Glenn Morris <rgm@gnu.org>
2588
2589 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2590
0e2070b5
MR
25912011-10-04 Martin Rudalics <rudalics@gmx.at>
2592
2593 * window.el (window--delete): New function.
2594 (frame-auto-delete): Resuscitate option.
2595 (bury-buffer, replace-buffer-in-windows)
2596 (quit-window): Rewrite using window--delete.
2597 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2598 Pass display-buffer-mark-dedicated to window--display-buffer-2
2599 (Bug#9639).
2600
3dc61a09
SM
26012011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2602
915a9b64
SM
2603 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2604 returns a list (bug#9554). Add remote file name completion.
2605 * comint.el (comint--table-subvert): Curry and get quote&unquote
2606 functions as arguments.
2607 (comint--complete-file-name-data): Adjust call accordingly.
2608 * pcomplete.el (pcomplete--table-subvert): Remove.
2609 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2610
3dc61a09
SM
2611 * minibuffer.el (completion-table-case-fold): Use currying.
2612 (completion--styles-type, completion--cycling-threshold-type):
2613 New constants.
2614 (completion-styles, completion-category-overrides)
2615 (completion-cycle-threshold): Use them.
2616 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2617 completion-table-case-fold.
2618
8ea0a993
SB
26192011-10-03 Stephen Berman <stephen.berman@gmx.net>
2620
2621 * minibuffer.el (completion-category-overrides): Fix type of styles
2622 and add more user friendly tags (bug#9660).
2623
8c24b7f6
SM
26242011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2627 (mule-input-method-string): New widget.
2628 (default-input-method, language-info-custom-alist): Use it.
2629
428fe61a
SM
26302011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2631
32c1fffd
SM
2632 * pcomplete.el: Require comint.
2633 (pcomplete--common-suffix): Remove.
2634 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2635 (pcomplete--table-subvert): Sync with comint--table-subvert.
2636 (pcomplete--entries): Use comint-completion-file-name-table.
2637 * comint.el (comint-unquote-filename): Simplify.
2638 (comint-completion-file-name-table): New function (bug#9616).
2639 (comint--complete-file-name-data): Use it.
2640
428fe61a
SM
2641 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2642 (pcmpl-gnu-tar-buffer): Remove.
2643 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2644 around. Make sure pcomplete-suffix-list is only changed temporarily.
2645 Don't look inside the tar's file if it's too large.
428fe61a 2646
04c52e2f
CY
26472011-10-01 Chong Yidong <cyd@stupidchicken.com>
2648
ce3cefcc
CY
2649 * cus-edit.el (custom-mode-map):
2650 * epa.el (epa-key-list-mode-map):
2651 * man.el (Man-mode-map):
2652 * startup.el (splash-screen-keymap):
2653 * simple.el (special-mode-map): Use scroll-up-command and
2654 scroll-down-command.
2655
2656 * progmodes/idlw-help.el (idlwave-help-mode-map):
2657 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2658 * net/newst-plainview.el (newsticker-mode-map):
2659 * emulation/ws-mode.el (wordstar-mode-map):
2660 * emulation/vi.el (vi-com-map):
2661 * calc/calc-graph.el (calc-graph-show-dumb):
2662 * term/sun.el (terminal-init-sun):
2663 * term/ns-win.el (global-map):
2664 * progmodes/grep.el (grep-mode-map):
2665 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2666 * mail/rmail.el (rmail-mode-map):
2667 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2668
04c52e2f
CY
2669 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2670 custom-safe-themes as special.
2671
79adf8c8
JD
26722011-10-01 Julien Danjou <julien@danjou.info>
2673
2674 * notifications.el (notifications-notify): Fix docstring.
2675
63bd50d3
PS
26762011-10-01 Per Starbäck <per@starback.se>
2677
2678 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2679
199e4c7e
MR
26802011-09-30 Martin Rudalics <rudalics@gmx.at>
2681
2682 * startup.el (command-line-1): Fix last fix by inserting
2683 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2684 (Bug#9605) and (Bug#9636)
199e4c7e 2685
fe5f08dd
EZ
26862011-09-29 Eli Zaretskii <eliz@gnu.org>
2687
2688 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2689 window is hscrolled, move by logical lines. (Bug#9607)
2690 (line-move-visual): Update the doc string to the above effect.
2691
b5516bbd
MR
26922011-09-29 Martin Rudalics <rudalics@gmx.at>
2693
ccee00c0
MR
2694 * window.el (display-buffer-record-window): When WINDOW is the
2695 selected window use `point' instead of `window-point'. (Bug#9626)
2696
b5516bbd
MR
2697 * startup.el (command-line-1): Use insert-before-markers when
2698 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2699
b5516bbd
MR
2700 * help.el (help-window): Remove variable.
2701
52aa0014
GM
27022011-09-29 Glenn Morris <rgm@gnu.org>
2703
2704 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2705
df9a7357
JB
27062011-09-29 Juanma Barranquero <lekktu@gmail.com>
2707
2708 * descr-text.el (describe-char-categories): Accept category
2709 descriptions more than one line long.
2710
a8406c20
SM
27112011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2712
88d9610c
SM
2713 * simple.el (delete-trailing-whitespace): Fix last change.
2714
a5daf810
SM
2715 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2716 Don't confuse "y => 3" as the beginning of a `y' operation.
2717
a8406c20
SM
2718 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2719 object has more than 4 slots (bug#9613).
2720
a239d4e9
JB
27212011-09-28 Juanma Barranquero <lekktu@gmail.com>
2722
2723 * subr.el (with-output-to-temp-buffer):
2724 * net/quickurl.el (quickurl, quickurl-browse-url):
2725 Fix typos in docstrings.
2726
693fbdb6
EZ
27272011-09-27 Eli Zaretskii <eliz@gnu.org>
2728
2729 * minibuffer.el (completion-styles)
2730 (completion-category-overrides): Cross reference each other in doc
2731 strings.
2732
8b457e28
GM
27332011-09-27 Glenn Morris <rgm@gnu.org>
2734
2735 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2736 to split-string. (Bug#9606)
2737
85a16208
LMI
27382011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2739
2740 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2741 (bug#9615).
2742
502f9ebd
CY
27432011-09-27 Chong Yidong <cyd@stupidchicken.com>
2744
2745 * emacs-lisp/package.el (list-packages): Fix echo area message.
2746
7690bdea
LL
27472011-09-27 Leo Liu <sdl.web@gmail.com>
2748
2749 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2750
e2ee6f30
MA
27512011-09-25 Michael Albinus <michael.albinus@gmx.de>
2752
2753 * net/dbus.el (dbus-unregister-object): Don't release services for
2754 registered signals. (Bug#9581)
2755
f3f98342
TZ
27562011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2757
2758 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2759 function that picks between cfengine 2 and 3 support
2760 automatically. Update docs accordingly.
2761
dd7aa8dd
KH
27622011-09-22 Kenichi Handa <handa@m17n.org>
2763
2764 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2765 ZERO.
2766 (indian-itrans-v5-table-for-tamil): New variable.
2767 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2768
3f2b07f8
KM
27692011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2770
2771 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2772 that's true if the current command involved collapsing of text.
2773 It's reset to false at the beginning of the next command.
2774 (allout-post-command-business): Move the cursor to the beginning
2775 of entry if the cursor is hidden and collapsing activity just
2776 happened.
2777
371d6a61
CY
27782011-09-24 Chong Yidong <cyd@stupidchicken.com>
2779
2780 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2781 tracking (Bug#9541).
2782
2ac2721a
UJ
27832011-09-24 Ulf Jasper <ulf.jasper@web.de>
2784
2785 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2786 (newsticker-show-news): Automatically load html rendering package
2787 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2788 because w3m-fill-column is let-bound" and the error "Symbol's value
2789 as variable is void: w3m-fill-column".
2ac2721a 2790
fac7ae53
MA
27912011-09-24 Michael Albinus <michael.albinus@gmx.de>
2792
2793 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2794 Release services only if they are defined. (Bug#9581)
2795
e08b633b
RS
27962011-09-23 Richard Stallman <rms@gnu.org>
2797
e488d29c
RS
2798 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2799 distinguish start of paragraph from start of its text.
2800
19c38752
RS
2801 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2802
e08b633b
RS
2803 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2804 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2805 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2806
0a39f27e
AS
28072011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2808
2809 * international/mule-diag.el (mule-diag): Insert a newline after
2810 each fontset description.
2811
db4e950d
SM
28122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * simple.el (delete-trailing-whitespace):
2815 Document last change; simplify.
2816
eca3f3ea
PW
28172011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2818
d68e189a
PW
2819 * simple.el (delete-trailing-whitespace): Also delete
2820 extra newlines at the end of the buffer.
2821
eca3f3ea
PW
2822 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2823 (picture-newline): Use forward-line so as to ignore fields.
2824
01c157cc
SM
28252011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * subr.el (with-wrapper-hook): Fix edebug spec.
2828
022de23e
LMI
28292011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2830
2831 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2832 (bug#4538).
2833
91683089
MA
28342011-09-23 Michael Albinus <michael.albinus@gmx.de>
2835
eca3f3ea
PW
2836 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2837 Fix nasty bug using wrong cached values.
91683089 2838
5bdd6fa4
AM
28392011-09-23 Alan Mackenzie <acm@muc.de>
2840
2841 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2842
97adfb97
CY
28432011-09-23 Chong Yidong <cyd@stupidchicken.com>
2844
2845 * window.el (pop-to-buffer): Ensure right window is selected if we
2846 chose another frame.
2847
d4ef2b50
EZ
28482011-09-22 Eli Zaretskii <eliz@gnu.org>
2849
2850 * simple.el (what-cursor-position): Use get-char-property-change
2851 and next-single-char-property-change, to be able to show display
2852 properties that come from overlays as well as text properties.
2853
72258fe5
CY
28542011-09-22 Chong Yidong <cyd@stupidchicken.com>
2855
2856 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2857
2858 * cmuscheme.el (run-scheme, switch-to-scheme):
2859 * cus-edit.el (customize-group, custom-buffer-create)
2860 (customize-browse):
2861 * info.el (info):
2862 * shell.el (shell):
2863 * mail/sendmail.el (mail):
2864 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2865
8f098516
RS
28662011-09-22 Richard Stallman <rms@gnu.org>
2867
2868 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2869 move back only to line beg, don't move back over blank lines.
2870
e74f1bb6
MA
28712011-09-22 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * files.el (copy-directory): Set directory attributes only in case
2874 they could be retrieved from the source directory. (Bug#9565)
2875
bfeef8b6
DK
28762011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2877
2878 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2879 (hs-find-block-beginning, hs-hide-level-recursive):
2880 Ignore strings as well as comments. (Bug#9502)
2881
7e423bb8
AS
28822011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2883
2884 * progmodes/sql.el (sql-comint-postgres):
2885 Convert port number to a string. (Bug#9566)
2886
b4d72fcf
MR
28872011-09-22 Martin Rudalics <rudalics@gmx.at>
2888
2889 * window.el (quit-window): Undedicate window when switching to
2890 previous buffer. Reported by Thierry Volpiatto
2891 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2892 (special-display-popup-frame): When popping up a new frame reset
2893 its previous buffers to nil. Simplify code.
b4d72fcf 2894
a7b88dc6
MA
28952011-09-21 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2898 and process filter, as done also in `shell-command'.
2899
cf4eacfd
MR
29002011-09-21 Martin Rudalics <rudalics@gmx.at>
2901
eca3f3ea 2902 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2903 Call set-window-start with NOFORCE argument t.
2904 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2905 (quit-window): Reword doc-string. Handle new format of
2906 quit-restore parameter. Don't delete window if it has a
2907 previous buffer we can show instead of the present one.
2908 (display-buffer-record-window): Rewrite using a new format for
2909 the quit-restore window parameter
2910 (special-display-popup-frame, display-buffer-same-window)
2911 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2912 (display-buffer-pop-up-window, display-buffer-use-some-window):
2913 Adapt symbol passed to display-buffer-record-window.
2914 * help.el (help-window-setup): Handle new format of quit-restore
2915 parameter.
2916
8d28cb95
SM
29172011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2918
94ab793f
SM
2919 * faces.el (face-list): Fix docstring (bug#9564).
2920
8d28cb95
SM
2921 * window.el (display-buffer--action-function-custom-type):
2922 Don't include internal functions in the Custom interface.
2923
3820edeb
JL
29242011-09-20 Juri Linkov <juri@jurta.org>
2925
2926 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2927 (Info-forward-node, Info-backward-node, Info-next-preorder)
2928 (Info-last-preorder): Use it. (Bug#9528)
2929
5147931d
JL
29302011-09-20 Juri Linkov <juri@jurta.org>
2931
2932 * info.el (Info-last-preorder): Visit last menu item only when
2933 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2934
cf499a1a
JD
29352011-09-20 Julien Danjou <julien@danjou.info>
2936
2937 * password-cache.el (password-cache-remove): Remove entries even if the
2938 value is nil, so that password with a nil value (negative caching) is
2939 possible to invalidate.
2940
f84e2fe2
LM
29412011-09-20 Lawrence Mitchell <wence@gmx.li>
2942
2943 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2944 all whitespace around breakpoint. (Bug#9553)
2945 (f90-find-breakpoint): Only break at whitespace inside a comment.
2946
78054a46
SM
29472011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * minibuffer.el (completion-file-name-table): Keep track of errors.
2950 (completion-table-with-predicate): Handle the case where pred1 is nil.
2951 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2952
345083b2
SM
29532011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2954
e24e27be
SM
2955 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2956 (debugger-return-value): Signal an error if the debugging context does
2957 not await any return value.
2958
345083b2
SM
2959 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2960 * image-mode.el (image-toggle-display-text)
2961 (image-toggle-display-image): Stay away from evil `intangible'.
2962
08d355e3
LL
29632011-09-19 Leo Liu <sdl.web@gmail.com>
2964
2965 * replace.el (occur-revert-arguments): Make it permanent-local.
2966 (occur-mode): Don't call font-lock-defontify.
2967
f01da43f
CY
29682011-09-19 Chong Yidong <cyd@stupidchicken.com>
2969
2970 * net/ldap.el (ldap-search-internal): Don't push empty search
2971 result (Bug#9508).
2972
b6072fa6
SM
29732011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2976
443d6696
MA
29772011-09-19 Michael Albinus <michael.albinus@gmx.de>
2978
2979 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2980 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2981
7cc6e154
JL
29822011-09-18 Juri Linkov <juri@jurta.org>
2983
2984 * buff-menu.el (Buffer-menu-mode-map):
2985 * dired.el (dired-mode-map):
2986 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2987 (lisp-interaction-mode-map):
2988 * emacs-lisp/package.el (package-menu-mode-map):
2989 * epa.el (epa-key-list-mode-map):
2990 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2991 (menu-bar-options-menu):
2992 * outline.el (outline-mode-menu-bar-map):
2993 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2994 * vc/vc-dir.el (vc-dir-menu-map):
2995 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2996 Capitalize non-function content words in menu item strings.
2997
2998 * dired.el (dired-mode-map): Add menu item for
2999 `image-dired-dired-toggle-marked-thumbs'.
3000
80302a81
JL
30012011-09-18 Juri Linkov <juri@jurta.org>
3002
3003 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3004 to `isearch-case-fold-search' and restore its original value
3005 after the `isearch-mode' call.
3006
46c5cf66
JL
30072011-09-18 Juri Linkov <juri@jurta.org>
3008
3009 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3010 because `zgrep' returns 1 for successful matches (bug#9226).
3011
d18b513b
JL
30122011-09-18 Juri Linkov <juri@jurta.org>
3013
3014 * info.el (Info-extract-menu-node-name): Check the second match
3015 for empty string (second test-case of bug#9528).
3016 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3017 intermediate nodes to the history (first test-case of bug#9528).
3018
72753f87
JL
30192011-09-18 Juri Linkov <juri@jurta.org>
3020
3021 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3022 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3023
c9384295
JL
30242011-09-18 Juri Linkov <juri@jurta.org>
3025
1154d12e
JB
3026 * info.el (Info-file-supports-index-cookies):
3027 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3028 outputs one more line for long file names (bug#4142).
c9384295 3029
d473dce8
CY
30302011-09-18 Chong Yidong <cyd@stupidchicken.com>
3031
3032 * newcomment.el (comment-normalize-vars): If prompting for
3033 comment-start, set comment-start-skip too (Bug#8424).
3034
2176854d
JB
30352011-09-18 Johan Bockgård <bojohan@gnu.org>
3036
3037 * icomplete.el: Fix previous fix of Bug#5849.
3038 (icomplete-mode): Don't set completion-show-inline-help.
3039 (icomplete-minibuffer-setup): Set completion-show-inline-help
3040 locally during icompletion.
3041
3aace4e4
CY
30422011-09-18 Chong Yidong <cyd@stupidchicken.com>
3043
c940224f
CY
3044 * woman.el (woman2-process-escapes): Don't delete unrecognized
3045 escapes (Bug#7843).
3046
3aace4e4
CY
3047 * files.el (inhibit-first-line-modes-regexps): Add image files.
3048 (hack-local-variables-prop-line): Return nil for malformed
3049 prop-lines (Bug#9044).
3050
710dec63
MA
30512011-09-18 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * net/tramp.el (top): Don't require 'shell.
3054 (tramp-methods): Fix docstring.
3055 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3056 Return complete remote file name. Handle "smb" case.
3057 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3058 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3059
3060 * net/tramp-compat.el (top): Require 'shell.
3061
3062 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3063 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3064 `tramp-current-host'.
3065 (tramp-get-remote-tmpdir): Remove.
3066
3067 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3068 `tramp-tmpdir' entries.
3069 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3070 (tramp-smb-handle-file-attributes): Ignore errors.
3071 (tramp-smb-wait-for-output): Check also for process end.
3072
5d5ac8ec
LMI
30732011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3074
3075 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3076 when sending QUIT (bug#9312).
3077
8c0f49f0
CY
30782011-09-17 Chong Yidong <cyd@stupidchicken.com>
3079
3080 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3081 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3082 occur-mode-display-occurrence.
3083 (occur-edit-mode): Add usage message.
3084 (occur-cease-edit): New command.
3085 (occur-after-change-function): Use text properties to find the
3086 position of the prefix text.
3087 (occur-engine): Set stickiness of prefix text properties.
3088
8f1383f7
GM
30892011-09-17 Glenn Morris <rgm@gnu.org>
3090
3091 * progmodes/etags.el (complete-tag):
3092 Fix call to completion-in-region. (Bug#9526)
3093
744ba0e3
JL
30942011-09-17 Juri Linkov <juri@jurta.org>
3095
3096 * textmodes/ispell.el (ispell-word): Add to the error message
3097 the word, ispell program name and current dictionary (bug#9121).
3098 (ispell-tex-arg-end): Capitalize "error" in the error message.
3099
d9bbf400
AS
31002011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3101
3102 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3103 check. (Bug#4251)
3104
8da11505
JL
31052011-09-17 Juri Linkov <juri@jurta.org>
3106
3107 * window.el (window-safe-min-height, window-safe-min-width):
3108 Fix typos (followup to bug#9522).
3109
a91adc7e
SJ
31102011-09-17 Sven Joachim <svenjoac@gmx.de>
3111
3112 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3113
064f328a
EZ
31142011-09-16 Eli Zaretskii <eliz@gnu.org>
3115
3116 * simple.el (line-move): If goal-column is set, move by logical
3117 lines, not by display lines. (Bug#971)
3118 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3119 to reflect the above change.
3120
e69df516
SM
31212011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 * image.el (imagemagick-register-types): Use regexp-opt.
3124
cbb0f9ab
CY
31252011-09-15 Chong Yidong <cyd@stupidchicken.com>
3126
3127 * window.el (display-buffer-base-action): Rename from
3128 display-buffer-default-action. Make default value empty.
3129 (display-buffer-overriding-action): Convert to defvar.
3130 (display-buffer-fallback-action): New var.
3131
25322144
CY
31322011-09-15 Chong Yidong <cyd@stupidchicken.com>
3133
3134 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3135 declaration.
3136 (package--add-to-archive-contents): If there is a duplicate entry
3137 with an older version, remove it.
3138 (package-menu-mark-delete, package-menu-mark-install)
3139 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3140 (package-menu-mark-obsolete-for-deletion):
3141 Use package-menu-get-status instead of a regexp search.
25322144
CY
3142 (package-menu-get-status): Use tabulated-list-entry.
3143 (package-menu-mark-upgrades): New command.
d770725a 3144 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3145 (package-menu-execute): Do installation before deletion.
3146 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3147 instead of checking major-mode.
3148 (package-menu--find-upgrades): New function.
3149
7520339c
LMI
31502011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3151
3152 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3153 passwords in the log buffer.
65a046c4
LMI
3154 (smtpmail-process-filter): Update the process marker so that the
3155 "broken by peer" status message is inserted in the right place.
7520339c 3156
d3c30954
SM
31572011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3fe48822
SM
3159 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3160 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3161 bibtex-completion-at-point-function.
3162 (bibtex-completion-at-point-function): Use them.
3163
1b8b3954
SM
3164 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3165
d3c30954
SM
3166 * mpc.el (mpc-constraints-tag-lookup): New function.
3167 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3168 also to browser "album|playlist".
3169
72779976
JL
31702011-09-14 Juri Linkov <juri@jurta.org>
3171
3172 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3173 (isearch-edit-string): Use length of `isearch-string' when
3174 `isearch-fail-pos' returns nil.
3175 (isearch-message): Remove duplicate code and call
3176 `isearch-fail-pos' with arg `t'.
3177
a0bf2bcd
CY
31782011-09-14 Chong Yidong <cyd@stupidchicken.com>
3179
17bb0a2d
CY
3180 * replace.el (occur-mode-goto-occurrence): Don't force using other
3181 window (Bug#9499).
3182
a0bf2bcd
CY
3183 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3184
f678e0b6
MR
31852011-09-14 Martin Rudalics <rudalics@gmx.at>
3186
3187 * window.el (display-buffer-window): Remove.
3188 (display-buffer-record-window): Use help-setup window parameter
3189 instead of variable display-buffer-window.
3190 (display-buffer-function, special-display-buffer-names)
3191 (special-display-function): Mention help-setup parameter instead
3192 of display-buffer-window in doc-string.
d3c30954
SM
3193 * help.el (help-window-setup): New argument help-window.
3194 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3195 Reword some messages.
3196 (with-help-window): Pass window used for displaying the buffer
3197 to help-window-setup. Don't set display-buffer-window.
3198
8e39b2e8
GM
31992011-09-13 Glenn Morris <rgm@gnu.org>
3200
3201 * emacs-lisp/debug.el (debugger-make-xrefs):
3202 Preserve point. (Bug#9462)
3203
85e9c04b
CY
32042011-09-13 Chong Yidong <cyd@stupidchicken.com>
3205
3206 * window.el (window-deletable-p): Use next-frame.
3207
1b36ed6a
MR
32082011-09-13 Martin Rudalics <rudalics@gmx.at>
3209
3210 * window.el (window-auto-delete): Remove.
3211 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3212 dedication and previous buffers.
1b36ed6a
MR
3213 (switch-to-prev-buffer): Don't delete window.
3214 (delete-windows-on): Delete a window's frame if and only if the
3215 window is dedicated.
3216 (replace-buffer-in-windows): Delete buffer's window or frame if
3217 and only if window is dedicated.
3218 (quit-window): Handle quit-restore as before last change.
4d61f28d 3219 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3220
ef8ef9fb
CY
32212011-09-13 Chong Yidong <cyd@stupidchicken.com>
3222
3223 * window.el (window-deletable-p): Never delete the last frame on a
3224 given terminal.
3225
b2cba41e
GM
32262011-09-13 Glenn Morris <rgm@gnu.org>
3227
3228 * help.el (describe-key-briefly): Copy previous standard-output change.
3229
51553db6 32302011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3231
3232 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3233
b7556719
GM
32342011-09-13 Glenn Morris <rgm@gnu.org>
3235
3236 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3237 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3238
64b51947
CY
32392011-09-12 Chong Yidong <cyd@stupidchicken.com>
3240
3241 * dired-aux.el (dired-mark-read-string): Don't return default
3242 value on empty input (Bug#9361).
3243 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3244 Omit initial minibuffer contents.
3245 (dired-do-chmod): Signal an error on empty input.
3246 (dired-mark-read-string): Don't return default on empty input.
3247
3248 * files.el (file-modes-symbolic-to-number): Doc fix.
3249
393a301e
SM
32502011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * international/mule-cmds.el (ucs-completions): Remove.
3253 (read-char-by-name): Use complete-with-action instead; add metadata.
3254
fa5660f9
CY
32552011-09-11 Chong Yidong <cyd@stupidchicken.com>
3256
3257 * window.el (display-buffer--action-function-custom-type)
3258 (display-buffer--action-custom-type): New vars.
3259 (display-buffer-alist, display-buffer-default-action)
3260 (display-buffer-overriding-action): Add defcustom types.
3261
4a592f66
CY
3262 * frame.el (delete-other-frames): Doc fix (Bug#276).
3263
73d56dbd
LMI
32642011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3265
3266 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3267
37ac18a3
CY
32682011-09-11 Chong Yidong <cyd@stupidchicken.com>
3269
3270 Change modes that used same-window-* vars to use switch-to-buffer.
3271
3272 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3273 Use switch-to-buffer.
3274
3275 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3276 (customize-browse, custom-buffer-create-other-window):
3277 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3278
3279 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3280 (Info-prev, Info-up, Info-speedbar-goto-node)
3281 (info-display-manual): Use switch-to-buffer.
3282 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3283
3284 * mail/sendmail.el (mail): Use switch-to-buffer.
3285 (mail-recover): Use switch-to-buffer-other-window.
3286
3287 * cmuscheme.el (run-scheme, switch-to-scheme):
3288 * ielm.el (ielm):
3289 * shell.el (shell):
3290 * net/rlogin.el (rlogin):
3291 * net/telnet.el (telnet, rsh):
3292 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3293
10195bd6
AS
32942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3295
3296 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3297
b322f63a
LMI
32982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3299
39d7fed6
LMI
3300 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3301 so don't mention it (bug#9301).
ba5a81f1 3302 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3303
ee0e9f11
LMI
3304 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3305 match `x', `w32' and `ns', like the manual says (bug#9029).
3306
0b1c89c1 3307 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3308 (process-kill-buffer-query-function): Mention the buffer name in
3309 the query.
0b1c89c1 3310
77549ea8
LMI
3311 * image-mode.el (image-next-line): The line parameter is mandatory
3312 (bug#9258).
3313
803ef892
LMI
3314 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3315 which can be useful (bug#9301).
3316
12980837
LMI
3317 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3318
91054f8f
LMI
3319 * subr.el (match-string): Mention that the current buffer should
3320 be the same as the search was done in (bug#9282).
3321
b322f63a
LMI
3322 * facemenu.el: Disable the remove-* commands if the mark isn't
3323 active (bug#9162).
3324
3199b96f
CY
33252011-09-10 Chong Yidong <cyd@stupidchicken.com>
3326
3327 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3328 of display-buffer.
3329 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3330
3331 * replace.el (occur-mode-goto-occurrence)
3332 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3333 and display-buffer.
3334
3335 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3336 display-buffer.
3337
3338 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3339 special-display and same-window variables.
3340 (mail-other-window): Use switch-to-buffer-other-window.
3341 (mail-other-frame): USe switch-to-buffer-other-frame.
3342
393a301e
SM
3343 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3344 Use display-buffer-other-frame.
3199b96f
CY
3345 (gdb-display-gdb-buffer): Use pop-to-buffer.
3346
3347 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3348
3349 * progmodes/python.el: Don't set same-window-buffer-names.
3350
3351 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3352
3353 * window.el (display-buffer-alist): Add *Python*.
3354
8319e0bf
CY
33552011-09-10 Chong Yidong <cyd@stupidchicken.com>
3356
3357 * window.el (display-buffer-alist): Add entry for buffers
3358 previously handled same-window-*.
3359 (display-buffer-alist, display-buffer-default-action)
3360 (display-buffer-overriding-action): Mark as risky.
3361 (display-buffer-alist): Document action function changes.
3362 (display-buffer--same-window-action)
3363 (display-buffer--other-frame-action): New variables.
3364 (switch-to-buffer, display-buffer-other-frame): Use them.
3365 (display-buffer): Rename reuse-frame entry to reusable-frames.
3366 (display-buffer-reuse-selected-window): Function deleted.
3367 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3368 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3369 (display-buffer-special): New function.
3370 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3371 display-buffer-reuse-or-pop-window. Split off special-display
3372 part into display-buffer-special.
3373 (display-buffer-use-some-window): Don't perform any special
3374 pop-up-frames handling.
3375 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3376 (display-buffer--maybe-same-window): Rename from
0d3ff375 3377 display-buffer-maybe-same-window.
8319e0bf 3378
919a69aa
CY
3379 * info.el: Don't set same-window-regexps.
3380 (info-setup): New function.
3381 (info-other-window, info): Call it.
3382
3383 * cus-edit.el: Don't set same-window-regexps.
3384 (customize-group): New argument.
3385 (customize-group-other-window): Use it.
3386 (customize-face, customize-face-other-window): Likewise.
3387 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3388
8319e0bf
CY
3389 * net/rlogin.el:
3390 * net/telnet.el:
3391 * progmodes/gud.el: Don't set same-window-regexps.
3392
3393 * cmuscheme.el:
3394 * ielm.el:
3395 * shell.el:
3396 * mail/sendmail.el:
3397 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3398
25173000
JL
33992011-09-10 Juri Linkov <juri@jurta.org>
3400
3401 * isearch.el (isearch-edit-string): Remove obsolete mention of
3402 `C-w' (`isearch-yank-word-or-char') from docstring.
3403 (isearch-query-replace): Fix typo in docstring (bug#9466).
3404
056e44ef
JL
34052011-09-10 Juri Linkov <juri@jurta.org>
3406
3407 * paren.el (show-paren-function): Don't show escaped parens.
3408 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3409
c3760c17
EZ
34102011-09-10 Eli Zaretskii <eliz@gnu.org>
3411
3412 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3413 (mm-default-file-encoding): Remove autoload forms, they are
3414 replaced with autoload cookies in mml.el and mm-encode.el.
3415 (mail-add-attachment): New command.
3416 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3417 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3418 the doc string.
3419 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3420
fece895e
RT
34212011-09-10 Reuben Thomas <rrt@sc3d.org>
3422
e69df516
SM
3423 * simple.el (count-words-region): Use buffer if there's no region
3424 (bug#9429).
fece895e 3425
5e68ce4a
JL
34262011-09-09 Juri Linkov <juri@jurta.org>
3427
3428 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3429 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3430 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3431
0a6b9622
AM
34322011-09-09 Alan Mackenzie <acm@muc.de>
3433
3434 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3435 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3436
14a29deb
EZ
34372011-09-09 Eli Zaretskii <eliz@gnu.org>
3438
3439 Fix for Savannah bug#9392.
3440 * simple.el (mail-encode-mml): New defvar.
3441
3442 * mail/rmail.el (mail-encode-mml): Add a defvar.
3443 (rmail-enable-mime-composing): Default to t.
3444 (rmail-forward): Use MIME method of forwarding only if both
3445 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3446 Set mail-encode-mml non-nil if the MIME method was used.
3447
3448 * mail/sendmail.el (mml-to-mime): Add autoload form.
3449 (mail-encode-mml): Add a defvar.
3450 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3451 to nil.
3452 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3453 message through mml-to-mime, and reset mail-encode-mml to nil.
3454
28c45130
GM
34552011-09-09 Glenn Morris <rgm@gnu.org>
3456
3457 * woman.el (woman-if-body): When processing an .el block,
3458 do not delete the next .el block as well. (Bug#9447)
69f4b618 3459 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3460
9b1c252e
MR
34612011-09-08 Martin Rudalics <rudalics@gmx.at>
3462
3463 * window.el (window-deletable-p): Make sure window is live before
3464 invoking window-prev-buffers.
3465
567457e3
LL
34662011-09-08 Leo Liu <sdl.web@gmail.com>
3467
3468 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3469
97f05794
JL
34702011-09-08 Juri Linkov <juri@jurta.org>
3471
3472 * progmodes/compile.el (compilation-environment): Make it
3473 a defcustom (bug#8340).
3474
8b0874b5
MR
34752011-09-08 Martin Rudalics <rudalics@gmx.at>
3476
3477 * window.el (frame-auto-delete): Rename to window-auto-delete.
3478 Make it control auto-deletion of windows and/or frames.
3479 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3480 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3481 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3482 Rewrite handling of case when window/frame can be deleted.
3483 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3484 argument t. (Bug#9456)
8b0874b5 3485
4feb6e73
CY
34862011-09-07 Chong Yidong <cyd@stupidchicken.com>
3487
3488 * help-mode.el (help-mode): Restore autoload.
3489
91ab9c13
JL
34902011-09-07 Juri Linkov <juri@jurta.org>
3491
3492 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3493 `compilation-environment'. Set buffer-local
3494 `compilation-environment' to `thisenv' later after (funcall mode).
3495 (Bug#8340)
3496
3497 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3498 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3499 instead of replacing its value. (Bug#8340)
3500
0527e251
JL
35012011-09-07 Juri Linkov <juri@jurta.org>
3502
3503 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3504 based on text properties put by `grep-filter' instead of matching
3505 escape sequences.
3506 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3507 to the value of `grep-error-screen-columns' (bug#9438).
3508
249f792c
JL
35092011-09-07 Juri Linkov <juri@jurta.org>
3510
3511 * simple.el (next-error-highlight, next-error-highlight-no-select):
3512 Doc fix (bug#9432).
3513
ff7271b9
OT
35142011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3515
3516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3517 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3518
183fc730
LL
35192011-09-07 Leo Liu <sdl.web@gmail.com>
3520
3521 * net/rcirc.el (rcirc-mode): Conditionally initialize
3522 rcirc-input-ring.
3523
77694924
SM
35242011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * emacs-lisp/find-func.el (find-function-C-source): Only set
3527 find-function-C-source-directory after checking that we found a source
3528 file there (bug#9440).
3529
d809b8eb
AM
35302011-09-06 Alan Mackenzie <acm@muc.de>
3531
3532 * isearch.el (isearch-other-meta-char): Wherever a key list is
3533 unread, "unread" the prefix arg, too. This fixes bug #8901.
3534
453de99f
OG
35352011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3536
3537 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3538
90439906
JL
35392011-09-05 Juri Linkov <juri@jurta.org>
3540
3541 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3542
f62bd846
JL
35432011-09-05 Juri Linkov <juri@jurta.org>
3544
3545 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3546 keeping point where processing of grep matches begins, and
3547 continue to delete remaining escape sequences from the same point.
3548 (grep-filter): Make leading zero optional in "0?1;31m" because
3549 git-grep emits "\033[1;31m" escape sequences unlike expected
3550 "\033[01;31m" as GNU Grep does (bug#9408).
3551 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3552
045820ec
JL
35532011-09-05 Juri Linkov <juri@jurta.org>
3554
3555 * subr.el (y-or-n-p): Capitalize "yes".
3556
f5e29b9b
MA
35572011-09-04 Michael Albinus <michael.albinus@gmx.de>
3558
3559 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3560 `tramp-cache-unload-hook' where appropriate.
3561 (tramp-methods): Rename `tramp-remote-sh' to
3562 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3563 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3564
3565 * net/tramp-sh.el (top): Don't require 'shell.
3566 (tramp-methods): Add `tramp-remote-shell' and
3567 `tramp-remote-shell-args' entries.
3568 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3569 (tramp-sh-handle-shell-command): Remove.
3570 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3571 Use `tramp-remote-shell'.
3572
2784c434
CY
35732011-09-03 Chong Yidong <cyd@stupidchicken.com>
3574
393a301e 3575 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3576 (sendmail-query-once): Save directly to send-mail-function.
3577 Update message-send-mail-function too.
3578
3579 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3580
464cdf56
CS
35812011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3582
3583 * progmodes/python.el (python-mode-map): Use correct function to
3584 start python interpreter from menu-bar (as reported by Geert
3585 Kloosterman).
3586 (inferior-python-mode-map): Fix typo.
393a301e 3587 (python-shell-map): Remove.
464cdf56 3588
d37e5c87
DD
35892011-09-03 Deniz Dogan <deniz@dogan.se>
3590
3591 * net/rcirc.el (rcirc-print): Simplify code for
3592 rcirc-scroll-show-maximum-output. There is no need to walk
3593 through all windows to find the right one.
3594
f3ada0ee
CS
35952011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3596
3597 * help.el (help-return-method): Doc fix.
3598
1f3c99ca
MR
35992011-09-03 Martin Rudalics <rudalics@gmx.at>
3600
3601 * window.el (window-deletable-p): Don't return a non-nil value
3602 when there's a buffer that was shown in the window before.
3603 (Bug#9419)
393a301e
SM
3604 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3605 Set window's previous buffers to nil.
1f3c99ca 3606
a3cf097f
EZ
36072011-09-03 Eli Zaretskii <eliz@gnu.org>
3608
3609 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3610 newline before and after the tag line, so it doesn't interfere
3611 with determining the paragraph direction of bidirectional text.
3612
3d03de90
LL
36132011-09-03 Leo Liu <sdl.web@gmail.com>
3614
3615 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3616
c3313451
CY
36172011-09-02 Chong Yidong <cyd@stupidchicken.com>
3618
393a301e 3619 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3620 (pop-to-buffer): Change interactive spec. Pass second argument
3621 directly to display-buffer.
3622 (display-buffer): Fix interactive spec. Use functionp to
3623 distinguish between a function and a list of functions.
3624
3625 * abbrev.el (edit-abbrevs):
3626 * arc-mode.el (archive-extract):
3627 * autoinsert.el (auto-insert):
3628 * bookmark.el (bookmark-bmenu-list):
3629 * files.el (find-file):
3630 * view.el (view-buffer):
3631 * progmodes/compile.el (compilation-goto-locus):
3632 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3633
89894cd8
CY
36342011-09-02 Chong Yidong <cyd@stupidchicken.com>
3635
3636 * window.el (display-buffer-alist): Doc fix.
3637 (display-buffer): Add docstring. Don't treat
3638 display-buffer-default specially.
3639 (display-buffer-reuse-selected-window)
3640 (display-buffer-same-window, display-buffer-maybe-same-window)
3641 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3642 (display-buffer-pop-up-window)
3643 (display-buffer-reuse-or-pop-window)
3644 (display-buffer-use-some-window): New functions.
3645 (display-buffer-default-action): Use them.
393a301e 3646 (display-buffer-default): Delete.
89894cd8
CY
3647 (pop-to-buffer-1): Fix choice of actions.
3648
ae0bc9fb
SM
36492011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * minibuffer.el (completion--insert-strings): Don't get confused by
3652 completion entries that end with an LF char.
3653
e9d90883
EZ
36542011-09-01 Eli Zaretskii <eliz@gnu.org>
3655
3656 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3657
437014c8
CY
36582011-09-01 Chong Yidong <cyd@stupidchicken.com>
3659
3660 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3661 (display-buffer-same-window, display-buffer-other-window):
3662 New functions.
437014c8
CY
3663 (pop-to-buffer-1): New function. Use the above.
3664 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3665 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3666
3667 * view.el (view-buffer-other-window, view-buffer-other-frame):
3668 Just use pop-to-buffer.
3669
a5e063d5
TV
36702011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3671
3672 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3673
793d32bb
WH
36742011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3675
3676 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3677
d65e4c15
RS
36782011-08-31 Richard Stallman <rms@gnu.org>
3679
3680 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3681 of the separation of rmail-view-buffer from rmail-buffer.
3682 If you say no to "replace original", the decrypt is in the
3683 view buffer. If you say yes, the decrypt goes into the
3684 rmail buffer also.
3685
f818cd2a
MR
36862011-08-31 Martin Rudalics <rudalics@gmx.at>
3687
3688 * window.el (display-buffer-window): Rewrite doc-string.
3689 (display-buffer-record-window): New function.
3690 (display-buffer-macro-specifiers)
3691 (display-buffer-even-window-sizes, display-buffer-set-height)
3692 (display-buffer-set-width, display-buffer-in-window)
3693 (display-buffer-reuse-window, display-buffer-split-specifiers)
3694 (display-buffer-side-specifiers, display-buffer-split-window-1)
3695 (display-buffer-split-window, display-buffer-split-atom-window)
3696 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3697 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3698 (display-buffer-other-window-means-other-frame)
3699 (display-buffer-normalize-special)
3700 (display-buffer-normalize-default)
3701 (display-buffer-normalize-argument)
3702 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3703 (display-buffer-normalize-specifiers, display-buffer-frame)
3704 (display-buffer-same-window, display-buffer-same-frame)
3705 (display-buffer-other-window)
3706 (display-buffer-same-frame-other-window)
3707 (display-buffer-other-frame, pop-to-buffer-same-window)
3708 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3709 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3710 (switch-to-buffer-same-frame)
3711 (switch-to-buffer-other-window-same-frame)
3712 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3713 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3714 (display-buffer-alist-set): Remove.
3715 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3716 (special-display-regexps, special-display-function):
3717 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3718 parameter.
3719 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3720 (special-display-frame-alist, special-display-popup-frame)
3721 (same-window-buffer-names, same-window-regexps, same-window-p)
3722 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3723 (split-window-preferred-function, split-height-threshold)
3724 (split-width-threshold, window-splittable-p)
3725 (split-window-sensibly, window--try-to-split-window)
3726 (window--frame-usable-p, even-window-heights)
3727 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3728 (window--display-buffer-2, display-buffer-other-frame):
3729 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3730 (display-buffer-default, display-buffer-assq-regexp): New functions.
3731 (display-buffer-alist): Rewrite doc-string.
3732 (display-buffer-default-action)
3733 (display-buffer-overriding-action): New variables.
3734 (display-buffer, switch-to-buffer): Rewrite.
3735 (pop-to-buffer): Restore Emacs 23 behavior but use
3736 window-normalize-buffer-to-display.
3737 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3738 Restore Emacs 23 behavior but use
3739 window-normalize-buffer-to-switch-to.
3740 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3741 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3742 Rewrite using Emacs 23 options.
f818cd2a 3743
5bc3b51d
MA
37442011-08-31 Michael Albinus <michael.albinus@gmx.de>
3745
3746 * net/tramp.el (tramp-root-regexp): Remove.
3747 (tramp-completion-file-name-regexp-unified)
3748 (tramp-completion-file-name-regexp-separate)
3749 (tramp-completion-file-name-regexp-url): Don't use leading volume
3750 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3751 (tramp-drop-volume-letter): Simplify definition.
3752 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3753
b1a4f8e1
SM
37542011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3757 (bug#9356).
3758
5664fa7b
RT
37592011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3760
b1a4f8e1 3761 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3762
9a45d6c3
JL
37632011-08-29 Juri Linkov <juri@jurta.org>
3764
3765 * isearch.el (isearch-done): Don't display message "Mark saved"
3766 when arg `edit' is non-nil to prevent its flicker in the echo area.
3767
fb87e0fb
CY
37682011-08-28 Chong Yidong <cyd@stupidchicken.com>
3769
3770 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3771 obsolete packages for deletion.
3772
09ac1c2a
CS
37732011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3774
3775 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3776 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3777 view-mode from help-mode.
3778 (help-xref-override-view-map): Remove.
3779 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3780 view-mode is not used anymore.
3781
7a1ff57f
CY
37822011-08-28 Chong Yidong <cyd@stupidchicken.com>
3783
3784 * server.el (server-port): Doc fix.
3785
b9696605
CY
3786 * cus-theme.el (custom-theme-choose-mode): Inherit from
3787 special-mode (Bug#9124).
3788 (custom-theme-choose-mode-map): Add special-mode to parent.
3789
ef8cdf8c
AM
37902011-08-28 Alan Mackenzie <acm@muc.de>
3791
3792 * progmodes/cc-fonts.el
3793 (c-make-font-lock-BO-decl-search-function): New function.
3794 (c-basic-matchers-after - "Fontify the clauses after various
3795 keywords"): Extract the three keyword lists for the 3 erroneous
3796 constructs from the list of four, and use the new function above
3797 in place of an old one.
3798
27de4e20
DD
37992011-08-28 Deniz Dogan <deniz@dogan.se>
3800
3801 * net/rcirc.el (rcirc-insert-prev-input)
3802 (rcirc-insert-next-input): Remove unused argument.
3803
356a3681
SM
38042011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3807
3fc9b218
AM
38082011-08-27 Alan Mackenzie <acm@muc.de>
3809
3810 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3811 handle function pointer parameters properly.
3812
538a061c
MR
38132011-08-27 Martin Rudalics <rudalics@gmx.at>
3814
3815 * window.el (display-buffer-reuse-window): Fix case where
3816 selected window was reused with non-nil OTHER-WINDOW argument.
3817 (Bug#9381)
3818
35b1c40c
DD
38192011-08-27 Deniz Dogan <deniz@dogan.se>
3820
3821 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3822 oftc's NickServ messages.
3823
2f6a3e79
GM
38242011-08-27 Glenn Morris <rgm@gnu.org>
3825
3826 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3827
7254299e
CY
38282011-08-26 Chong Yidong <cyd@stupidchicken.com>
3829
3830 * emacs-lisp/package.el (package-install): Call package-initialize
3831 if called interactively.
3832
f8ccf167
LL
38332011-08-26 Leo Liu <sdl.web@gmail.com>
3834
3835 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3836
3e8cd5ce
JL
38372011-08-25 Juri Linkov <juri@jurta.org>
3838
3839 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3840 `search-whitespace-regexp' (bug#9364).
3841
93eb7113
JL
38422011-08-25 Juri Linkov <juri@jurta.org>
3843
3844 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3845 `regexp-search-ring' to their global values to protect from
3846 updating by `read-from-minibuffer' (bug#9185).
3847
f65d1611
JL
38482011-08-25 Juri Linkov <juri@jurta.org>
3849
3850 * textmodes/ispell.el (ispell-command-loop): Add newline
3851 at the end of the "Use option `i'..." line.
3852
f1cf7a31
JL
38532011-08-25 Juri Linkov <juri@jurta.org>
3854
3855 * battery.el (display-battery-mode): If `battery-status-function'
3856 or `battery-mode-line-format' is nil, display the message and set
3857 `display-battery-mode' to nil (bug#9363).
3858
0c95fcf7
EZ
38592011-08-25 Eli Zaretskii <eliz@gnu.org>
3860
3861 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3862 bidi-string-mark-left-to-right; they are unnecessary now.
3863
a2ebe600
DD
38642011-08-25 Deniz Dogan <deniz@dogan.se>
3865
3866 * net/quickurl.el: Documentation typo fixes.
3867
e4ed06f1
CY
38682011-08-25 Chong Yidong <cyd@stupidchicken.com>
3869
3870 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3871
e5f1c99e
GM
38722011-08-25 Glenn Morris <rgm@gnu.org>
3873
b2948976
GM
3874 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3875
e5f1c99e
GM
3876 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3877 (smtpmail-via-smtp): Handle nil response from smtp.
3878
f22f4808
JL
38792011-08-24 Juri Linkov <juri@jurta.org>
3880
3881 * proced.el (proced-marked): Inherit from `error' instead of
3882 `font-lock-warning-face'.
3883
3884 * ibuffer.el (ibuffer-marked-face): Change default face from
3885 `font-lock-warning-face' to `warning'.
3886 (ibuffer-deletion-face): Change default face from
3887 `font-lock-type-face' to `error'.
3888
3889 * battery.el (battery-update): Use the face `error' instead of
3890 `font-lock-warning-face' (bug#6117).
3891
6a93965e
JL
38922011-08-24 Juri Linkov <juri@jurta.org>
3893
3894 * faces.el (success): Change face color from "Green3" to
3895 "ForestGreen" on light background (bug#9353).
3896
1ed43b09
CY
38972011-08-24 Chong Yidong <cyd@stupidchicken.com>
3898
5664fa7b
RT
3899 * window.el (quit-window): Rename from quit-restore-window.
3900 Use same arglist as old quit-window.
1ed43b09
CY
3901 (frame-auto-delete): Doc fix.
3902
3903 * view.el (view-mode-exit): Use quit-window.
3904
11dcdbb2
JL
39052011-08-24 Juri Linkov <juri@jurta.org>
3906
3907 * isearch.el (isearch-ring-adjust1): Start visiting previous
3908 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3909 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3910 for empty search string (when the last search string is reused
3911 automatically) to adjust the isearch ring to the last element and
3912 prepare the correct index for further M-p commands (bug#9185).
3913
de62b4df
KH
39142011-08-24 Kenichi Handa <handa@m17n.org>
3915
3916 * international/ucs-normalize.el: If decomposition property of
3917 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3918 nil.
3919 (nfd, nfkd): Likewise.
3920
963b492b
SM
39212011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3924 from process filters aren't reliably transmitted to the surrounding
3925 accept-process-output.
3926 (mpc-proc-check): New function.
3927 (mpc-proc-sync): Use it (bug#8293)
3928
93b6b5e1
SM
39292011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3932 Add compatibility functions (bug#9313).
3933
bca633fb
EZ
39342011-08-23 Eli Zaretskii <eliz@gnu.org>
3935
b177498a
EZ
3936 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3937
bca633fb
EZ
3938 * international/uni-bidi.el: Regenerated.
3939
0902a04e
KH
39402011-08-23 Kenichi Handa <handa@m17n.org>
3941
3942 * international/charprop.el:
3943 * international/uni-bidi.el:
3944 * international/uni-category.el:
3945 * international/uni-combining.el:
3946 * international/uni-comment.el:
3947 * international/uni-decimal.el:
3948 * international/uni-decomposition.el:
3949 * international/uni-digit.el:
3950 * international/uni-lowercase.el:
3951 * international/uni-mirrored.el:
3952 * international/uni-name.el:
3953 * international/uni-numeric.el:
3954 * international/uni-old-name.el:
3955 * international/uni-titlecase.el:
3956 * international/uni-uppercase.el: Regenerate.
3957
3bbf23bc
MR
39582011-08-23 Martin Rudalics <rudalics@gmx.at>
3959
3960 * help.el (help-window-setup): Fix message displayed when other
3961 window is reused. (Bug#9341)
3962
b3fd59bd
SM
39632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3964
1802e444
SM
3965 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3966 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3967
b3fd59bd
SM
3968 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3969 Mark obsolete.
3970 * shell.el (shell-parse-pcomplete-arguments): New function.
3971 (shell-completion-vars): Use it instead (bug#9160).
3972
4eb61348
SM
39732011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3974
867cab74
SM
3975 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3976 strings and comments (bug#9333).
3977
4eb61348
SM
3978 * emacs-lisp/debug.el (debug-arglist): New function.
3979 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3980 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3981
262a1439
JL
39822011-08-22 Juri Linkov <juri@jurta.org>
3983
56ee679c
JL
3984 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3985 Revert regexp that highlights output switches to its old
3986 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3987
262a1439
JL
3988 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3989 to check for empty output (bug#9226).
3990
f13f86fb
CY
39912011-08-22 Chong Yidong <cyd@stupidchicken.com>
3992
3993 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3994 symbol-constituent as the default, as that stops font-lock from
3995 working properly (Bug#8843).
3996
c65c9622
LMI
39972011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3998
3999 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4000 `coding-system-for-*' around the process open call to avoid
4001 auth-source side effects.
e7f2c178 4002 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4003 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4004 probe hangs.
c65c9622 4005
23a8a5ab
CY
40062011-08-21 Chong Yidong <cyd@stupidchicken.com>
4007
ff98b2dd
CY
4008 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4009
23a8a5ab
CY
4010 * emacs-lisp/find-func.el (find-function-noselect): New arg
4011 lisp-only.
4012
4013 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4014 signal an error for built-in functions (Bug#6664).
4015
f5e3c598
LMI
40162011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4017
4018 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4019 (smtpmail-try-auth-methods): Use it.
4020
a3f2468a
CY
40212011-08-21 Chong Yidong <cyd@stupidchicken.com>
4022
2c34e8da
CY
4023 * font-lock.el (font-lock-fontify-region)
4024 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4025 (font-lock-default-unfontify-buffer)
4026 (font-lock-default-fontify-region)
4027 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4028
b3fd59bd
SM
4029 * progmodes/compile.el (compilation-error-properties):
4030 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4031 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4032 `ant' regexp.
ee31aabc 4033
a3f2468a
CY
4034 * net/browse-url.el (browse-url-firefox): Don't call
4035 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4036
8e999f70
GM
40372011-08-20 Glenn Morris <rgm@gnu.org>
4038
c21a496a
GM
4039 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4040
59ee0542
GM
4041 * tutorial.el (tutorial--default-keys): Update some default bindings.
4042
8e999f70
GM
4043 * files.el (hack-local-variables): Fully ignore case for "mode:".
4044
e3715033
AM
40452011-08-20 Alan Mackenzie <acm@muc.de>
4046
4047 Resolve invalid use of a regexp in regexp-opt.
4048
4d61f28d
JB
4049 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4050 detection for a java annotation.
e3715033 4051
4d61f28d 4052 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4053 detection for a java annotation.
4054
4d61f28d
JB
4055 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4056 handling for java.
e3715033
AM
4057 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4058
04ed2e9c
CY
40592011-08-20 Chong Yidong <cyd@stupidchicken.com>
4060
4061 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4062 (Bug#9274).
4063
826cee64
AM
40642011-08-20 Alan Mackenzie <acm@muc.de>
4065
58179cce 4066 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4067 such a construct. Mainly for when jit-lock etc. starts a chunk
4068 here.
4069
58179cce 4070 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4071 variable.
58179cce 4072 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4073 c-make-font-lock-search-function.
4074 (c-make-font-lock-search-function): Use the above function.
4075 (c-make-font-lock-context-search-function): New function.
4076 (c-cpp-matchers): Enhance the preprocessor expression case with
4077 the above function
4078 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4079 which takes an expression.
4080
4081 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4082
13009bd8
MR
40832011-08-20 Martin Rudalics <rudalics@gmx.at>
4084
4085 * window.el (display-buffer-reuse-window)
4086 (display-buffer-pop-up-window): Don't reuse or split a side
4087 window.
4088
9234ff7f
GM
40892011-08-19 Glenn Morris <rgm@gnu.org>
4090
4091 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4092 Downcase "Mode:". (Bug#9331)
9234ff7f 4093
f635daa1
CY
40942011-08-18 Chong Yidong <cyd@stupidchicken.com>
4095
4096 * international/characters.el: Add L and R categories.
4097
4098 * subr.el (bidi-string-mark-left-to-right): Rename from
4099 string-mark-left-to-right. Use category search.
4100
4101 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4102
bc987f8b
JL
41032011-08-18 Juri Linkov <juri@jurta.org>
4104
4105 * faces.el (error, warning, success): New faces with definitions
4106 copied from old default values of `font-lock-warning-face',
4107 `compilation-warning', `compilation-info' (bug#6117).
4108
4109 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4110
4111 * progmodes/compile.el (compilation-error): Inherit from `error'.
4112 (compilation-warning): Inherit from `warning'.
4113 (compilation-info): Inherit from `success'.
4114
4115 * dired.el (dired-marked): Inherit from `warning'.
4116 (dired-flagged): Inherit from `error'.
4117
57173b96
LMI
41182011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4119
3e79eb87
LMI
4120 * mail/smtpmail.el (auth-source): Require to avoid problems with
4121 binding variables (bug#9298). Also clean up some unused
4122 autoloads.
4123
b3fd59bd
SM
4124 * net/network-stream.el (network-stream-open-starttls):
4125 Support using starttls.el without using gnutls-cli.
57173b96 4126
02b404de
JL
41272011-08-17 Juri Linkov <juri@jurta.org>
4128
4129 * progmodes/grep.el (rgrep): Handle the case when
4130 `grep-find-command' is a cons cell (bug#9278).
4131
8c9177f2
MR
41322011-08-17 Martin Rudalics <rudalics@gmx.at>
4133
4134 * window.el (display-buffer-pop-up-frame): Run frame creation
4135 function with BUFFER current (as special-display-popup-frame
4136 does). Reported by Drew Adams.
4137
3644a0ab
DU
41382011-08-17 Daiki Ueno <ueno@unixuser.org>
4139
4140 * epa-mail.el: Simplify GnuPG group expansion using
4141 epg-expand-group.
4142 (epa-mail-group-alist, epa-mail-group-modtime)
4143 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4144 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4145 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4146 Remove.
4147
5e617bc2 41482011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4149
4150 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4151
9c4aeabf
AM
41522011-08-16 Alan Mackenzie <acm@muc.de>
4153
4154 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4155 Correct, to avoid the inside of macros.
4156
3a99bf64
RS
41572011-08-16 Richard Stallman <rms@gnu.org>
4158
04963aa8
RS
4159 * epa-mail.el: Handle GnuPG group definitions.
4160 (epa-mail-group-alist, epa-mail-group-modtime)
4161 (epa-mail-gnupg-conf-file): New variables.
4162 (epa-mail-parse-groups, epa-mail-sync-groups)
4163 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4164 (epa-mail-expand-recipients): New functions.
4165 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4166
177549d0
RS
4167 * mail/rmail.el (rmail-epa-decrypt): New command.
4168
fe38beef
RS
4169 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4170 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4171 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4172 (epa-decrypt-armor-in-region): Make error message clearer.
4173
934eacb9
SM
41742011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4177 and "a2b" to "ab" for `prefix'.
4178
d024fb4e
CY
41792011-08-14 Chong Yidong <cyd@stupidchicken.com>
4180
4181 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4182 filter groups.
de148fee
CY
4183 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4184 Fourquet (Bug#8804).
d024fb4e 4185
62f1ca49
JB
41862011-08-12 Juanma Barranquero <lekktu@gmail.com>
4187
4188 * startup.el (argi): Declare as global variable (bug#9275).
4189
9ccaaa4b
CY
41902011-08-12 Chong Yidong <cyd@stupidchicken.com>
4191
4192 * subr.el (string-mark-left-to-right): Search the entire string
4193 for RTL script, not just the terminating character. Doc fix.
4194
a3dae87a
SM
41952011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4196
6cd18349
SM
4197 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4198 New function.
4199 (js--regexp-literal, js-syntax-propertize-function): Remove.
4200 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4201 (js-mode-map): Don't rebind electric keys.
4202 (js-insert-and-indent): Remove.
4203 (js-mode): Setup electric-layout and electric-indent instead.
4204
a3dae87a
SM
4205 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4206
9d5cb631
DU
42072011-08-12 Daiki Ueno <ueno@unixuser.org>
4208
4209 * epa.el (epa-progress-callback-function): Fix the logic of
4210 displaying progress.
4211 * epa-file.el (epa-file-insert-file-contents): Make progress
4212 display more user-friendly.
4213 (epa-file-write-region): Ditto.
4214
3e26a4a2
CY
42152011-08-10 Chong Yidong <cyd@stupidchicken.com>
4216
4217 * subr.el (string-mark-left-to-right): New function.
4218
4219 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4220 Use string-mark-left-to-right.
4221 (list-buffers-noselect): Caller changed.
4222
a3dae87a
SM
4223 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4224 Use string-mark-left-to-right.
3e26a4a2
CY
4225 (tabulated-list-print): Recenter after moving point.
4226
ac8cf6e6
JL
42272011-08-10 Juri Linkov <juri@jurta.org>
4228
4229 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4230 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4231 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4232
8d96c9a4
CY
42332011-08-09 Chong Yidong <cyd@stupidchicken.com>
4234
4235 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4236 (Bug#7554).
4237
7be1c708 42382011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4239
4240 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4241 character. (Bug#6594)
4242
37e11a63
CY
42432011-08-08 Chong Yidong <cyd@stupidchicken.com>
4244
839dde57
CY
4245 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4246 (image-dired--with-db-file): New macro.
4247 (image-dired-write-tags, image-dired-remove-tag)
4248 (image-dired-create-gallery-lists, image-dired-write-comments)
4249 (image-dired-get-comment, image-dired-mark-tagged-files)
4250 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4251 (image-dired-gallery-generate): Use insert-file-contents.
4252
37e11a63
CY
4253 * time.el (display-time-world-list, display-time-world-display):
4254 * time-stamp.el (time-stamp-string):
4255 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4256 set-time-zone-rule (Bug#7337).
4257
0b4946c4
DU
42582011-08-08 Daiki Ueno <ueno@unixuser.org>
4259
4260 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4261 (epg-error-to-string, epg-errors-to-string): New function.
4262 (epg-wait-for-completion): Reverse errors list.
4263 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4264 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4265 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4266 (epg-sign-keys, epg-generate-key-from-file)
4267 (epg-generate-key-from-string): Format errors by using
4268 epg-errors-to-string (bug#9255).
4269 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4270
75bfc667
JL
42712011-08-07 Juri Linkov <juri@jurta.org>
4272
4273 * faces.el (list-faces-display): Remove extra angle bracket
4274 from `help-mode-map'.
4275
4276 * info.el (Info-history-toc-nodes): Doc fix.
4277
4278 * longlines.el (longlines-mode): Doc fix.
4279
673e08bb
SM
42802011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4640dd88
SM
4282 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4283 of statements and in a few more cases (bug#9183).
4284
673e08bb
SM
4285 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4286 New functions.
4287 (cl-transform-lambda): Use them (bug#9239).
4288
89b3f019
MR
42892011-08-05 Martin Rudalics <rudalics@gmx.at>
4290
4291 * window.el (display-buffer-same-window)
4292 (display-buffer-same-frame, display-buffer-other-window)
4293 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4294 (pop-to-buffer-other-window)
4295 (pop-to-buffer-same-frame-other-window)
4296 (pop-to-buffer-other-frame): Make them defuns.
4297 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4298
640c8776
SM
42992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * subr.el (make-composed-keymap): Move from C. Change calling
4302 convention, and improve docstring to bring attention to a subtle point.
4303 * minibuffer.el (completing-read-default): Adjust accordingly.
4304
63648a95
MA
43052011-08-03 Michael Albinus <michael.albinus@gmx.de>
4306
4307 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4308 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4309
4310 * net/trampver.el: Update release number.
4311
b796c9b7
SM
43122011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4315 "in" (bug#9190).
4316
2239d7d5
LMI
43172011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4318
e07dd7c3
LMI
4319 * mail/sendmail.el (sendmail-query-once): Restore the current
4320 buffer after querying (bug#9074).
4321
0e6a2bd7
LMI
4322 * dired.el (dired-flagged): Use different faces for marked and
4323 flagged files (bug#6117).
4324
ce887515
LMI
4325 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4326 (bug#4433).
4327
92f2affc
LMI
4328 * ido.el (ido-mode): Switch off the message if called
4329 non-interactively.
4330
57d5aff0
LMI
4331 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4332 before 587, since it appears that that's more likely to work for
4333 more people.
4334
98cd6c18 4335 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4336 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4337 exist.
4338
b96dec83
LMI
4339 * info.el: Remove the `Info-beginning-of-buffer' function
4340 (bug#8325).
4341
b796c9b7
SM
4342 * net/network-stream.el (network-stream-open-starttls):
4343 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4344
d90e2ea0
MR
43452011-08-01 Martin Rudalics <rudalics@gmx.at>
4346
4347 * window.el (display-buffer-in-window): Don't set dedicated status
4348 of window here (Bug#9215).
4349 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4350 (display-buffer-pop-up-side-window)
b796c9b7 4351 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4352
cca09170
SM
43532011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4354
4355 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4356 before binding generated-autoload-file.
4357
027b979c
DD
43582011-08-01 Deniz Dogan <deniz@dogan.se>
4359
4360 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4361
3c7ee4f3
MA
43622011-07-30 Michael Albinus <michael.albinus@gmx.de>
4363
4364 Sync with Tramp 2.2.2.
4365
4366 * net/trampver.el: Update release number.
4367
2cc8e51a
JL
43682011-07-30 Juri Linkov <juri@jurta.org>
4369
4370 * dired-aux.el (dired-touch-initial): Remove function.
4371 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4372 current time, and `default' to the last modification time of the
4373 current marked file (bug#6887).
4374
a514d856
JM
43752011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4376
4377 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4378 numeric argument to read-number (bug#9163).
a514d856 4379
8a7eddd7
MA
43802011-07-27 Michael Albinus <michael.albinus@gmx.de>
4381
4382 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4383 connection process, it could be nil.
4384
1ddd96f5
LL
43852011-07-27 Leo Liu <sdl.web@gmail.com>
4386
4387 Simplify url handling in rcirc-mode.
4388
4389 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4390 (rcirc-browse-url-at-mouse): Remove.
4391 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4392
b248a85d
AM
43932011-07-26 Alan Mackenzie <acm@muc.de>
4394
4395 Fontify bitfield declarations properly.
4396
4397 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4398 (c-symbol-chars): Now exported as a lang variable.
4399 (c-not-primitive-type-keywords): New lang variable.
4400
4401 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4402 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4403 parsed as a bitfield declaration.
b248a85d 4404
b796c9b7
SM
4405 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4406 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4407 (c-punctuation-in): New function.
4408 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4409 declarations properly.
4410
68575ab0
UJ
44112011-07-26 Ulf Jasper <ulf.jasper@web.de>
4412
4413 * calendar/icalendar.el (icalendar--all-events): Take care of
4414 multiple vcalendars in a single file.
b796c9b7 4415 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4416
0f0a88b9
DD
44172011-07-25 Deniz Dogan <deniz@dogan.se>
4418
4419 * image.el (insert-image): Clarifying docstring.
4420
0b3f36df
MA
44212011-07-24 Michael Albinus <michael.albinus@gmx.de>
4422
4423 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4424 `tramp-send-command-and-check' if there is no error.
4425 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4426
a9901f61
AM
44272011-07-22 Alan Mackenzie <acm@muc.de>
4428
4429 Prevent cc-langs.elc being loaded at run time.
4430
4431 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4432 cc-langs.
4433
4d61f28d 4434 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4435 "(require 'cc-langs)". Quote a form so it will evaluate at
4436 (cc-mode's) compilation time.
4437
11d074b2
MA
44382011-07-22 Michael Albinus <michael.albinus@gmx.de>
4439
4440 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4441 loading. (Bug#9114)
4442
938b94c8
MR
44432011-07-21 Martin Rudalics <rudalics@gmx.at>
4444
4445 * window.el (display-buffer-pop-up-window)
4446 (display-buffer-pop-up-side-window)
4447 (display-buffer-in-side-window): Call display-buffer-set-height
4448 and display-buffer-set-width after setting the new window's
b796c9b7 4449 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4450
bfa4f190
SS
44512011-07-20 Sam Steingold <sds@gnu.org>
4452
4453 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4454 (etags-tags-included-tables): Call `convert-standard-filename' on
4455 the file names contained in TAGS so that windows Emacs can handle
4456 TAGS files created by cygwin ctags.
4457
8ca42262
LMI
44582011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4459
4460 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4461 which apparently didn't work.
4462
5db2afd2 44632011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4464
5db2afd2
RW
4465 * proced.el (proced-send-signal): For *Marked Processes* buffer
4466 put point at beginning of buffer.
4467
92e15d10
SB
44682011-07-19 Stephen Berman <stephen.berman@gmx.net>
4469
4470 * proced.el (proced-format): Make header lines align with the text
4471 (bug#1779).
4472
1bfd59e5
LMI
44732011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4474
4475 * view.el (view-buffer): Allow running in `special' modes if we're
4476 visiting a file (bug#8615).
4477
f5aae37c
MR
44782011-07-19 Martin Rudalics <rudalics@gmx.at>
4479
4480 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4481 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4482 New functions.
f5aae37c
MR
4483 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4484 more accurately.
4485
bf2c1571
AM
44862011-07-18 Alan Mackenzie <acm@muc.de>
4487
4488 Fontify declarators properly when, e.g., a jit-lock chunk begins
4489 inside a declaration.
4490
4491 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4492
b796c9b7
SM
4493 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4494 New function.
bf2c1571
AM
4495 (c-complex-decl-matchers): Insert reference to
4496 c-font-lock-enclosing-decls.
4497
4498 * progmodes/cc-engine.el (c-backward-single-comment):
4499 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4500 to nil around calls to (forward-comment -1).
4501
4e190b80
LMI
45022011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4503
12dc863d
LMI
4504 * image.el (put-image): Doc typo fix.
4505
a762e966
LMI
4506 * progmodes/etags.el (tags-search): Doc typo fix.
4507
4e190b80
LMI
4508 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4509 password if we get errors 550 to 554.
4510
f019fb21
LMI
45112011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4512
b796c9b7 4513 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4514
81746738
LMI
4515 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4516 indentation character (bug#6380).
4517
3ee3a1b5
LMI
4518 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4519
c82f64de
LMI
4520 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4521 to clarify what the problem is (bug#4291).
4522
f019fb21
LMI
4523 * simple.el (current-kill): Clarify what
4524 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4525 (auto-fill-mode): Document `auto-fill-function' in relation to
4526 `auto-fill-mode' (bug#2470).
f019fb21 4527
0794775d
LM
45282011-07-16 Lawrence Mitchell <wence@gmx.li>
4529
4530 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4531 method if slot is read-only (bug#9035).
4532
be39b8cc
MR
45332011-07-16 Martin Rudalics <rudalics@gmx.at>
4534
b796c9b7 4535 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4536 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4537 selected before, see discussion of (Bug#8615), (Bug#6954).
4538 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4539
6ccf7859
GM
45402011-07-15 Glenn Morris <rgm@gnu.org>
4541
4542 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4543 Respect help-form.
6ccf7859 4544
87e86684
LM
45452011-07-09 Lawrence Mitchell <wence@gmx.li>
4546
4547 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4548 (gnutls-negotiate): Use it.
4549
d6066239
LMI
45502011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4551
b796c9b7
SM
4552 * net/gnutls.el (gnutls-negotiate):
4553 Upcase `gnutls-algorithm-priority'.
d6066239 4554
bd23ebc0
GM
45552011-07-15 Glenn Morris <rgm@gnu.org>
4556
c65bca65
GM
4557 * jka-compr.el (jka-compr-verbose): Move from here...
4558 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4559 Add missing :version tag.
4560 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4561
478615cc
LMI
45622011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4563
7b41decb
LMI
4564 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4565 (gnutls-negotiate): Use it.
4566
dbc44fcd
LMI
4567 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4568
06789f97
LMI
4569 * info.el (Info-beginning-of-buffer): New command.
4570 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4571 announcing `b' as the key (bug#8325).
ab896c37 4572 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4573
c39da690
LMI
4574 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4575
3aa5f34b
LMI
4576 * international/mule-cmds.el
4577 (describe-specified-language-support): Make the error message
4578 clearer (bug#8905).
4579
4bf0979f
LMI
4580 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4581
478615cc
LMI
4582 * isearch.el (isearch-barrier): Add a doc string, since it's
4583 mentioned in a function doc string (bug#8678).
4584
75c68aa1
MR
45852011-07-15 Martin Rudalics <rudalics@gmx.at>
4586
4587 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4588 buffer argument (Bug#9083) and self-identifying label argument.
4589
a7c33da2
GM
45902011-07-15 Glenn Morris <rgm@gnu.org>
4591
4592 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4593
2f5c6024
LMI
45942011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4595
4596 * man.el (Man-fontify-manpage): Fix message when formatting the
4597 man page (bug#7929).
4598
0bb23927 45992011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4600
4601 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4602 argument LRM; if non-nil, append an invisible LRM character to the
4603 buffer name.
4604 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4605 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4606 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4607 paragraph direction.
cce4b0a7 4608
621ef9ab
LMI
46092011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4610
d1583c48
LMI
4611 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4612 the man page name (bug#7929).
4613
6a57fb5f
LMI
4614 * image.el (put-image): Mention the `put-image' overlay property
4615 (bug#7834).
4616
d7956b14
LMI
4617 * scroll-bar.el (set-scroll-bar-mode): Mention that
4618 `scroll-bar-mode' lists the values (bug#7772).
4619
5b2d4a66
LMI
4620 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4621 command (bug#7729).
4622
7509a874
LMI
4623 * rect.el (apply-on-rectangle): Return the point after the last
4624 operation.
4625 (string-rectangle): Go to the point after the last operation
4626 (bug#7522).
4627
4fe74b19
LMI
4628 * printing.el (pr-toggle-region): Clarify the documentation
4629 slightly (bug#7493).
4630
b796c9b7
SM
4631 * time.el (display-time-update):
4632 Allow `display-time-mail-function' to return nil (bug#7158).
4633 Fix suggested by Detlev Zundel.
ab283561 4634
fc233c9d
LMI
4635 * vc/diff.el (diff): Clarify the order the file names are read
4636 (bug#7111).
4637
43f5740b
LMI
4638 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4639 the doc string (bug#7015).
4640
f2182a76
LMI
4641 * font-lock.el (font-lock-maximum-decoration): Mention what
4642 numeric levels mean (bug#6935).
4643
621ef9ab
LMI
4644 * startup.el (initial-buffer-choice): Don't mention the `none'
4645 selection, which is against policy.
4646
adc47434
MR
46472011-07-14 Martin Rudalics <rudalics@gmx.at>
4648
b796c9b7
SM
4649 * window.el (display-buffer-normalize-special):
4650 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4651
7e5bfb8f
EZ
46522011-07-14 Eli Zaretskii <eliz@gnu.org>
4653
4654 * subr.el (version<, version<=, version=): Mention "-CVS" and
4655 "-12345" alpha version numbers.
4656
27fa387a
CY
46572011-07-14 Chong Yidong <cyd@stupidchicken.com>
4658
4659 * bindings.el: Add advertised binding for set-mark-command
4660 (Bug#5772).
4661
8bdfa064
CY
46622011-07-14 Chong Yidong <cyd@stupidchicken.com>
4663
4664 * bindings.el (mode-line-other-buffer):
4665 * bookmark.el (bookmark-bmenu-2-window):
4666 * bs.el (bs-cycle-next, bs-cycle-previous):
4667 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4668 switch-to-buffer.
4669
4670 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4671 Delete.
8bdfa064 4672
5eba16a3
JB
46732011-07-14 Juanma Barranquero <lekktu@gmail.com>
4674
4675 * follow.el (follow-debug-message, follow-redisplay):
4676 * jka-cmpr-hook.el (with-auto-compression-mode):
4677 Fix typos in docstrings.
4678
15853710
LMI
46792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4680
a28e4607
LMI
4681 * subr.el (with-silent-modifications): Clarify somewhat what the
4682 macro inhibits (bug#6525).
4683
15853710
LMI
4684 * simple.el (eval-expression): Note what it does if called
4685 interactively (bug#6495).
4686
bee0fcef
CY
46872011-07-13 Chong Yidong <cyd@stupidchicken.com>
4688
b796c9b7
SM
4689 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4690 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4691
4692 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4693 Remove switch-to-buffer.
4694
58274504
LMI
46952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4696
bd2fcc8d
LMI
4697 * files.el (make-directory): Clarify that an error will be raised
4698 if there's an error (bug#6397).
4699
0f04b32c
LMI
4700 * startup.el (initial-buffer-choice): Add `none' as a choice
4701 (bug#6234).
4702
465c5fc8
LMI
4703 * subr.el (add-hook): Clarify section about buffer-local hooks
4704 (bug#6218).
4705
58274504
LMI
4706 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4707
bead9a43
JB
47082011-07-13 Juanma Barranquero <lekktu@gmail.com>
4709
4710 * tabify.el (untabify): Preserve the current column so that point
4711 doesn't move (bug#6032).
4712
3af98a7b
LMI
47132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4714
b796c9b7
SM
4715 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4716 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4717
6240145a
GM
47182011-07-13 Glenn Morris <rgm@gnu.org>
4719
4720 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4721 (dired-insert-directory): Give a message the first time
4722 if ls is found not to support --dired.
4723
1d8c2ccc
LMI
47242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4725
4726 * simple.el (toggle-truncate-lines): Clarify what is toggled
4727 (bug#5580). Text by Drew Adams.
4728
5fc4038e
CY
47292011-07-13 Chong Yidong <cyd@stupidchicken.com>
4730
4731 * simple.el (blink-matching-open): Make the error message from the
4732 last change less verbose.
4733
bf6012e5
DN
47342011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4735
4736 * font-lock.el (font-lock-comment-face): Use the high contrast
4737 "yellow" color for font-lock-comment-face on low color terminals
4738 using a dark background color (bug#4221).
4739
343c3b5a
LMI
47402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4741
7e9505c5
LMI
4742 * dired.el (dired-insert-set-properties): Make the doc string
4743 reflect what it does now (bug#5325).
4744
c26fdcf5
LMI
4745 * simple.el (blink-matching-open): Say that we were unable to find
4746 the match within the limit, if we're limited (bug#5122).
4747
bb388cc5
LMI
4748 * international/mule-cmds.el (prefer-coding-system): Add an
4749 example (bug#4869).
4750
343c3b5a
LMI
4751 * progmodes/etags.el (tags-search): Document `file-list-form'
4752 (bug#4731).
4753
2a517d45
LM
47542011-07-13 Lawrence Mitchell <wence@gmx.li>
4755
4756 * net/browse-url.el (browse-url-default-browser)
4757 (browse-url-browser-function): Make the default browser choice a
4758 bit more logical (bug#4300). Also clean up the doc string.
4759
b6c78ef2
JB
47602011-07-13 Juanma Barranquero <lekktu@gmail.com>
4761
4762 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4763 binary endings (bug#4440).
4764
1c4dd947
LMI
47652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4766
a2014063
LMI
4767 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4768 which can be pretty annoying (bug#8971).
4769
9c9c2d88
LMI
4770 * jka-compr.el (jka-compr-verbose): New variable, and use
4771 throughout (bug#8971).
4772
1c4dd947
LMI
4773 * info.el (Info-find-file): Fall back on the installation
4774 directory if we can't find the info node anywhere else.
4775
a1c9f41b
SO
47762011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4777
4778 * vc/vc.el (vc-revert-file):
4779 Don't set file time-stamp in the past. (Bug#5181)
4780
536f3d36
LMI
47812011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4782
7152b011
LMI
4783 * files.el (after-find-file): Give a better error message when
4784 trying to find a symlink that points to a file that doesn't exist
4785 (bug#4398).
4786
536f3d36
LMI
4787 * progmodes/cc-vars.el: Remove (probably) misleading comment
4788 (bug#4396).
4789
460c0fba
JB
47902011-07-12 Johan Bockgård <bojohan@gnu.org>
4791
4792 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4793
7a6bda45
CY
47942011-07-12 Chong Yidong <cyd@stupidchicken.com>
4795
4796 * mouse-sel.el: Hack restoring functionality, while keeping
4797 compatibility with 2010-07-03 changes to mouse selection.
4798 (mouse-sel-primary-overlay): New var.
4799 (mouse-sel-selection-alist): Use it.
4800 (mouse-sel-mode): Doc fix; remove points that are default features
4801 of mouse.el.
4802
c79598ef
JB
48032011-07-12 Johan Bockgård <bojohan@gnu.org>
4804
4805 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4806 Fix previous fix (bug#2490).
4807
ff8be6ef
RW
48082011-07-12 Roland Winkler <winkler@gnu.org>
4809
b796c9b7
SM
4810 * textmodes/bibtex.el (bibtex-initialize):
4811 Use pop-to-buffer-same-window.
ff8be6ef
RW
4812 (bibtex-search-entries): Fix interactive call.
4813
296ba3ee
LMI
48142011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4815
f5242a02 4816 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4817 Fontise bytecomp Error lines more correctly (bug#2490).
4818 Fix suggested by Johan Bockgård.
f5242a02 4819
296ba3ee
LMI
4820 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4821
4822 * dired-x.el (dired-guess-default): Use `delete-dups'.
4823
f69fd0d2
CY
48242011-07-12 Chong Yidong <cyd@stupidchicken.com>
4825
4826 * dired.el (dired-mark-prompt):
4827 * dired-aux.el (dired-read-shell-command): Doc fix.
4828
eab5dc07
LMI
48292011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4830
b796c9b7
SM
4831 * mail/sendmail.el (sendmail-query-once):
4832 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4833 emacs -Q.
4834
4835 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4836
eab5dc07
LMI
4837 * cus-edit.el (custom-file): Take an optional no-error variable.
4838 (customize-save-variable): Set the variable, and give a warning if
4839 running under "emacs -q".
4840
a1e65d42
JB
48412011-07-11 Juanma Barranquero <lekktu@gmail.com>
4842
4843 * loadhist.el (unload-feature-special-hooks):
4844 Add `auto-coding-functions', `fill-nobreak-predicate' and
4845 `find-directory-functions' (bug#5327).
4846
1d52da10
LMI
48472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4848
be958f1d
LMI
4849 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4850
5bedb26c
LMI
4851 * cus-edit.el (custom-guess-name-alist): -alist variables should
4852 use the `alist' type (bug#3120). Suggested by Drew Adams.
4853
1d52da10
LMI
4854 * printing.el: Add documentation to all the `pr-toggle-' commands.
4855
cd394be1 48562011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4857
4858 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4859 backends where it makes sense (bug#2623).
4860
dcc88d8a
LMI
48612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4862
c3de9feb
LMI
4863 * dired-x.el (dired-guess-default): Remove duplicate shell command
4864 entries (bug#2028).
8a93078b 4865 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4866 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4867
dcc88d8a
LMI
4868 * subr.el (remove-duplicates): New conveniency function.
4869
505e3645
LMI
48702011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4871
4872 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4873 (bug#1526).
4874
48752011-07-10 Martin Rudalics <rudalics@gmx.at>
4876
4877 * window.el (display-buffer-normalize-default): Don't invert
4878 meaning of even-window-heights. Reported by Eli Zaretskii
4879 <eliz@gnu.org>.
4880
455e4fa1
BR
48812011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4882
4883 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4884
8e0bc3e9
CY
48852011-07-10 Chong Yidong <cyd@stupidchicken.com>
4886
4887 * window.el (display-buffer): Fix arguments to
4888 display-buffer-reuse-window in last change.
4889
fa7c3228
CY
4890 * faces.el (link): Use a less saturated blue on light backgrounds.
4891
4892 * startup.el (fancy-startup-text, fancy-about-text)
4893 (fancy-startup-tail): Use font-lock faces, for background safety.
4894
c0a7f300
BN
48952011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4896
b796c9b7
SM
4897 * emulation/viper-cmd.el (viper-change-state-to-vi):
4898 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4899
4dc2a129
MR
49002011-07-09 Martin Rudalics <rudalics@gmx.at>
4901
4902 * window.el (display-buffer-default-specifiers): Remove.
4903 (display-buffer-macro-specifiers): Remove default specifiers.
4904 (display-buffer-alist): Default to nil.
b796c9b7 4905 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4906 (display-buffer-pop-up-window): Allow splitting internal
4907 windows. Check whether a live window was created.
4908 (display-buffer-other-window-means-other-frame)
4909 (display-buffer-normalize-arguments): Rename to
4910 display-buffer-normalize-argument and rewrite. Set the
4911 other-window specifier.
4912 (display-buffer-normalize-special): New function.
4913 (display-buffer-normalize-options): Rename to
4914 display-buffer-normalize-default and rewrite.
4915 (display-buffer-normalize-options-inhibit): Remove.
4916 (display-buffer-normalize-specifiers): Rewrite.
4917 (display-buffer): Process other-window specifier and call
4918 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4919 more faithfully.
b796c9b7 4920 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4921 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4922 (display-buffer-in-window, display-buffer-alist-set):
4923 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4924 <tassilo@member.fsf.org>.
4925
2d43b8c9
LL
49262011-07-09 Leo Liu <sdl.web@gmail.com>
4927
4928 * register.el (insert-register): Restore accidental change on
4929 2011-06-26. (Bug#9028)
4930
7f9b7c53
GM
49312011-07-09 Glenn Morris <rgm@gnu.org>
4932
4933 * subr.el (remq): Handle the empty list. (Bug#9024)
4934
f042cfd8
AS
49352011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4936
4937 * mail/sendmail.el (send-mail-function): No longer delay custom
4938 initialization.
4939 * custom.el (custom-initialize-delay): Doc fix.
4940
856b2f11
SM
49412011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4944
afae1d68
MA
49452011-07-08 Michael Albinus <michael.albinus@gmx.de>
4946
4947 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4948 human-friendly prompt.
4949
0757af94
SM
49502011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4953 provided by a particular plugin.
4954
d760b731
LMI
49552011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4956
4957 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4958 save customizations (with "emacs -Q"), just set the variable
4959 instead of erroring out.
4960
4961 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4962
cd79ce90
JL
49632011-07-08 Juri Linkov <juri@jurta.org>
4964
4965 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4966 (archive-zip-update-case): Use 7z if found by `executable-find'.
4967 The order of searching the available programs is the same as in
4968 `archive-zip-extract' (bug#8968).
4969
14cc04aa
CY
49702011-07-07 Chong Yidong <cyd@stupidchicken.com>
4971
4972 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4973 (menu-bar-options-menu): Tweak descriptions.
4974
0a1848ec
LMI
49752011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4976
4977 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4978 menu items into verb phrases (bug#1421). Also refill to fit under
4979 80 columns.
4980
f5bd0689
CY
49812011-07-07 Chong Yidong <cyd@stupidchicken.com>
4982
538e85c6
CY
4983 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4984 (Info-read-node-name): Doc fix (Bug#1084).
4985
f5bd0689
CY
4986 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4987 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4988 (end-of-sexp, beginning-of-sexp)
4989 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4990 (forward-symbol, forward-same-syntax, word-at-point)
4991 (sentence-at-point): Doc fix (Bug#1144).
4992
56ec5115
LMI
49932011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4994
f3f8e37f
LMI
4995 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4996 should cover it (bug#1281).
4997
0757af94 4998 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4999
e9fce1ac 5000 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5001 negotiation fails, then possibly try again with a non-encrypted
5002 connection (bug#9017).
5003
56ec5115
LMI
5004 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5005 be used.
5006
c2f9aec8
RS
50072011-07-07 Richard Stallman <rms@gnu.org>
5008
5009 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5010 property, and handle its changed format.
5011 Look for the correct line number.
5012 Use file's line contents (but not past first =) to find
5013 correct line in message.
5014
ef7b981d 50152011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5016
5017 * international/characters.el (build-unicode-category-table):
5018 Delete it.
0757af94 5019 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5020
0757af94 5021 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5022 to src/chartab.c.
5023 (get-char-code-property): Call unicode-property-table-internal to
5024 load a file. Call get-unicode-property-internal where necessary.
5025 (put-char-code-property): Call unicode-property-table-internal to
5026 load a file. Call put-unicode-property-internal where necessary.
5027 put-unicode-property-internal where necessary.
0757af94
SM
5028 (char-code-property-description):
5029 Call unicode-property-table-internal to load a file.
c805dec0
KH
5030
5031 * international/charprop.el:
5032 * international/uni-bidi.el:
5033 * international/uni-category.el:
5034 * international/uni-combining.el:
5035 * international/uni-comment.el:
5036 * international/uni-decimal.el:
5037 * international/uni-decomposition.el:
5038 * international/uni-digit.el:
5039 * international/uni-lowercase.el:
5040 * international/uni-mirrored.el:
5041 * international/uni-name.el:
5042 * international/uni-numeric.el:
5043 * international/uni-old-name.el:
5044 * international/uni-titlecase.el:
5045 * international/uni-uppercase.el: Regenerate.
5046
5047 * loadup.el: Load international/charprop.el before
5048 international/characters.
5049
e14b388a
CY
50502011-07-07 Chong Yidong <cyd@stupidchicken.com>
5051
5052 * window.el (next-buffer, previous-buffer): Signal an error if
5053 called from a minibuffer window.
5054
5055 * bindings.el: Revert 2011-07-04 change.
5056
354cf0ba
RS
50572011-07-06 Richard Stallman <rms@gnu.org>
5058
5059 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5060 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5061 Treat markers like ints.
5062 (rmail-mime-entity): Doc fix.
5063
a48868a7
LMI
50642011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5065
4906cd3d
LMI
5066 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5067 defcustom again for backwards compatibility.
5068
e0457abe
LMI
5069 * simple.el (shell-command-on-region): Fill.
5070
d67f7e1f
LMI
5071 * dired-aux.el (dired-kill-line): Add a doc string.
5072
fe204702
LMI
5073 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5074 to "\\sw\\|\\s_" (bug#358).
5075
a48868a7
LMI
5076 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5077 (dired-unmark-backward): Ditto.
5078 (dired-flag-backup-files): Ditto.
5079
5080 * dired-x.el (dired-mark-sexp): Ditto.
5081
aa8a705c
RS
50822011-07-06 Richard Stallman <rms@gnu.org>
5083
5084 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5085 (rmail-mime-entity): New arg TRUNCATED.
5086 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5087 New functions.
5088 (rmail-mime-save): Warn if entity is truncated.
5089 (rmail-mime-toggle-hidden): Likewise, for showing.
5090 (rmail-mime-process-multipart): Record when an entity is truncated.
5091
a9a936b9
RS
5092 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5093 if ENTITY is a string.
5094
1f2b92cb
LMI
50952011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
f4f73198 5097 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5098 of faces when `M-C-x'-ing their definitions (bug#8378).
5099 Also clean up the code slightly.
f4f73198 5100
12b16734 5101 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5102 because that makes the colors go away.
12b16734 5103
f0691d22
LMI
5104 * mail/sendmail.el (send-mail-function): Change the default to
5105 `sendmail-query-once'.
9e87df06 5106 (sendmail-query-once): Add an autoload cookie.
f0691d22 5107
1f2b92cb
LMI
5108 * net/network-stream.el (network-stream-open-starttls): Try using
5109 a plain connection even if the server offered STARTTLS, and we
5110 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5111 capability. This should make smtpmail.el work in slightly more
5112 configurations.
5113
1cdd2a1b
MA
51142011-07-06 Michael Albinus <michael.albinus@gmx.de>
5115
5116 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5117 New defun.
5118 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5119
fbcc67e2
MM
51202011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5121
5122 * progmodes/sql.el: Version 3.0
0757af94 5123 (sql-product-alist): Add product :completion-object,
fbcc67e2 5124 :completion-column, and :statement attributes.
0757af94 5125 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5126 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5127 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5128 ansi keywords.
5129 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5130 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5131 (sql-oracle-show-reserved-words): New function for development.
5132 (sql-product-font-lock): Simplify for source code buffers.
5133 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5134 New functions.
5135 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5136 (sql-mode-map): Add statement movement functions.
5137 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5138 New variable.
fbcc67e2
MM
5139 (sql-statement-regexp, sql-beginning-of-statement)
5140 (sql-end-of-statement, sql-signum): New functions.
0757af94 5141 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5142 (sql-show-sqli-buffer): Bug fix.
5143 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5144 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5145 with sql-interactive-mode.
5146 (sql-save-connection): Save buffer local settings.
0757af94 5147 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5148 (sql-product-interactive): Bug fix.
5149 (sql-preoutput-hold): New variable.
5150 (sql-interactive-remove-continuation-prompt): Bug fixes.
5151 (sql-debug-redirect): New variable.
5152 (sql-str-literal): New function.
5153 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5154 Redesign.
fbcc67e2
MM
5155 (sql-oracle-save-settings, sql-oracle-restore-settings)
5156 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5157 (sql-completion-object, sql-completion-column)
5158 (sql-completion-sqlbuf): New variables.
5159 (sql-build-completions-1, sql-build-completions)
5160 (sql-try-completion): New functions.
5161 (sql-read-table-name): Use them.
5162 (sql-contains-names): New buffer local variable.
5163 (sql-list-all, sql-list-table): Use it.
5164 (sql-oracle-completion-types): New variable.
5165 (sql-oracle-completion-object, sql-sqlite-completion-object)
5166 (sql-postgres-completion-object): New functions.
5167
d4eaeab1
GM
51682011-07-06 Glenn Morris <rgm@gnu.org>
5169
5170 * window.el (pop-to-buffer): Doc fix.
5171
322b7dab 51722011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5173
5174 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5175
322b7dab 51762011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5177
322b7dab 5178 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5179
322b7dab 5180 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5181
605dd5bf
CY
51822011-07-05 Chong Yidong <cyd@stupidchicken.com>
5183
5184 * button.el (button): Inherit from link face. Suggested by Dan
5185 Nicolaescu.
5186
7dbfa719
SM
51872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5188
3db614b0
SM
5189 * progmodes/gdb-mi.el: Fit in 80 columns.
5190 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5191 switch-to-buffer.
5192
7dbfa719
SM
5193 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5194 if imenu is simply not configured (bug#8941).
5195
919d884a
KM
51962011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5197
5198 * allout.el (allout-post-undo-hook): New allout outline-change
5199 event hook to signal undo activity.
5200 (allout-post-command-business): Run allout-post-undo-hook if an
5201 undo just occurred.
7dbfa719
SM
5202 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5203 * allout-widgets.el (allout-widgets-after-undo-function):
5204 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5205 in the vicinity of an undo.
5206 (allout-widgets-mode): Include allout-widgets-after-undo-function
5207 on the new allout-post-undo-hook.
5208
450a0f09
SM
52092011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5212 Let define-derived-mode define it.
5213 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5214 cycles of abbrev-table inheritance (bug#8998).
5215
2de69e00
RW
52162011-07-05 Roland Winkler <winkler@gnu.org>
5217
5218 * textmodes/bibtex.el: Add support for biblatex.
5219 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5220 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5221 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5222 (bibtex-entry-alist, bibtex-field-alist): New variables.
5223 (bibtex-entry-field-alist): Obsolete alias for
5224 bibtex-BibTeX-entry-alist.
5225 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5226 (bibtex-set-dialect): New command.
5227 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5228 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5229 Bind via bibtex-set-dialect.
2de69e00
RW
5230 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5231 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5232 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5233 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5234 Define via bibtex-set-dialect.
450a0f09
SM
5235 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5236 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5237 (bibtex-vec-push, bibtex-vec-incr): New functions.
5238 (bibtex-format-entry, bibtex-field-list)
5239 (bibtex-print-help-message, bibtex-validate)
5240 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5241
2dcdbdd9
SM
52422011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * progmodes/compile.el (compilation-goto-locus):
5245 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5246 * bs.el (bs-cycle-next, bs-cycle-previous):
5247 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5248 * bindings.el (mode-line-other-buffer):
5249 * autoinsert.el (auto-insert):
5250 * arc-mode.el (archive-extract):
5251 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5252
b27640fe
JB
52532011-07-05 Juanma Barranquero <lekktu@gmail.com>
5254
5255 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5256 Fix check of `emacs-lock-unlockable-modes'.
5257 Coerce true values of `emacs-lock--try-unlocking' to t.
5258
53bbe3ad
JB
52592011-07-05 Juanma Barranquero <lekktu@gmail.com>
5260
5261 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5262 * emacs-lock.el: New file.
5263
1d3cdbc7
JD
52642011-07-05 Julien Danjou <julien@danjou.info>
5265
5266 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5267 than `boundp' to check if face is set.
5268
9173deec
JB
52692011-07-05 Juanma Barranquero <lekktu@gmail.com>
5270
5271 * register.el (registerv-make):
5272 * window.el (window-min-height): Fix typos in docstrings.
5273
869795d6
JD
52742011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5275
9173deec 5276 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5277 Update doc string.
5278
b768cdcd
JB
52792011-07-04 Juanma Barranquero <lekktu@gmail.com>
5280
5281 * server.el (server-execute): Catch quit and call
5282 `server-return-error' to pass the error back to emacsclient and
5283 close the connection (bug#8942).
5284
13aa217b
KM
52852011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5286
5287 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5288 insecure exception for current topic. Also note that auto-saves
5289 are handled differently.
5290
5291 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5292 State variables for tracking auto-save inhibition situation.
5293
5294 (allout-write-contents-hook-handler): Rename from
5295 'allout-write-file-hook-handler', and describe how it depends on
5296 write-contents-functions sensitivity to non-nil value to prevent
5297 file write.
5298
5299 (allout-auto-save-hook-handler): Remove. auto-save does not check
5300 this in individual buffers, only in the starting buffer, so this
5301 is not the right way for us to inhibit auto-save in a buffer
5302 according to its condition.
5303
5304 (allout-mode): Use new allout-write-contents-hook-handler, and
5305 only with write-contents-functions. Remove auto-save provisions -
5306 they're implemented elsewhere.
5307
5308 (allout-before-change-handler): If undo is in progress, note that
5309 for attention of allout-post-command-business.
5310
5311 (allout-post-command-business): If the command we're following was
5312 an undo, check for change in the status of encrypted items and
5313 adjust auto-save inhibitions accordingly.
5314
5315 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5316 according to whether there are or aren't any plain-text topics
5317 pending encryption.
5318
2dcdbdd9 5319 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5320 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5321 if there are plain-text topics pending encryption.
13aa217b
KM
5322
5323 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5324 buffer-saved-size and some allout state to not inhibit auto-saves
5325 if there are no longer any plain-text topics pending encryption.
5326
0757af94
SM
5327 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5328 No longer provide for exemption of the current topic.
13aa217b 5329
ac89b32c
JL
53302011-07-04 Juri Linkov <juri@jurta.org>
5331
5332 Add 7z operations to delete and save changed members (bug#8968).
5333 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5334 New defcustoms.
5335 (archive-7z-write-file-member): New function.
5336 (archive-7z-summarize): Fix the number of dashes in the
5337 listing output.
5338
8fa39615
SM
53392011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5342 (bug#8958).
5343
2f11b3f1
CY
53442011-07-04 Chong Yidong <cyd@stupidchicken.com>
5345
d66fef2b
CY
5346 * bindings.el: Ignore next-buffer and previous-buffer in
5347 minibuffer-local-map.
5348
2f11b3f1
CY
5349 * font-lock.el (font-lock-builtin-face): Change light background
5350 color to dark slate blue (Bug#6693).
5351
f932a347
WD
53522011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5353
5354 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5355
c8af70e1
SM
53562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5359 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5360 Add switch-to-buffer.
5361
f158badc
LMI
53622011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5363
5364 * isearch.el (isearch-search-fun-function): Clarify further the
5365 meaning of the function returned.
5366
6d95bd46
MA
53672011-07-04 Michael Albinus <michael.albinus@gmx.de>
5368
5369 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5370
5371 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5372 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5373 Use it.
5374 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5375 `tramp-default-remote-path' does not exist.
5376 (tramp-send-command-and-read): New optional argument NOERROR.
5377 (tramp-open-connection-setup-interactive-shell)
5378 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5379 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5380 (tramp-process-sentinel): Flush also process' connection property.
5381 (tramp-sh-handle-start-file-process): Do not set process
5382 sentinel. It is done now ...
5383 (tramp-maybe-open-connection): ... here. (Bug#8929)
5384
909e6b67
MK
53852011-07-04 MON KEY <monkey@sandpframing.com>
5386
5387 * play/animate.el (animate-string): Doc fixes and allow changing
5388 the buffer name (bug#5417).
5389
53902011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5391
c8af70e1 5392 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5393
f34755dc
PE
53942011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5395
396cec72
PE
5396 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5397 This is simpler and helps future-proof the code.
5398 (timer-until): Use time-subtract and float-time.
08235028 5399 (timer--time-less-p): Use time-less-p.
f34755dc 5400
56e6cc31
JB
54012011-07-04 Juanma Barranquero <lekktu@gmail.com>
5402
3abb79e5
JB
5403 * type-break.el (timep): Use the value of `float-time' to avoid a
5404 byte-compiler warning.
5405
56e6cc31
JB
5406 * server.el (server-eval-and-print): Return any result, even nil.
5407
7b9430b4
PE
54082011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5409
5410 * type-break.el: Accept time formats that the builtins accept.
5411 (timep, type-break-time-difference): Accept any format that
5412 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5413 This is simpler and helps future-proof the code.
5414 (type-break-time-difference): Round rather than ignoring
5415 subseconds components.
5416
3034e9e7
LMI
54172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5418
5419 * info.el (Info-apropos-matches): Make non-interactive, since it
5420 doesn't seem to do anything useful as a command (bug#8829).
5421
1485f4c0
CY
54222011-07-03 Chong Yidong <cyd@stupidchicken.com>
5423
5424 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5425 Move from faces.el.
1485f4c0
CY
5426 (frame-default-terminal-background): New function.
5427
5428 * custom.el (custom-push-theme): Don't record faces in `changed'
5429 theme; this doesn't work correctly for per-frame face settings.
5430 (disable-theme): Use face-set-after-frame-default to reset faces.
5431 (custom--frame-color-default): New function.
5432
9fa3dd45
LMI
54332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5434
c8af70e1 5435 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5436 (bug#8769).
5437
6cbbc20c
KR
54382011-03-29 Kevin Ryde <user42@zip.com.au>
5439
5440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5441 `perl-Test2' extend to match possible "fail #N" rep count
5442 (bug#8377).
5443
c7f98048
LMI
54442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5445
65676592
LMI
5446 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5447 `smtpmail-via-smtp' now returns the error instead of nil.
5448
c7f98048
LMI
5449 * isearch.el (isearch-search-fun-function): Clarify the doc string
5450 (bug#8101).
5451
56e6cc31 54522011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5453
5454 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5455 unnecessary spaces (bug#8987).
5456
2b216704
LMI
54572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5458
5459 * net/network-stream.el (open-network-stream): Use the
5460 :end-of-capability command thoughout.
5461
54622011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5463
5464 * net/network-stream.el (open-network-stream): Add the
5465 :end-of-capability command parameter, used by pop3.el.
5466
36adf6ce
LMI
54672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5468
1ca0da0e
LMI
5469 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5470
fc00f69c
LMI
5471 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5472 for list)" (bug#6475).
5473
28fd8759 5474 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5475 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5476 an error (bug#6297).
5477
0dd8b6da
LMI
5478 * man.el (Man-reference-regexp): Allow matching possible
5479 word-wrapped references (bug#6289).
5480
ce1438d6
LMI
5481 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5482 for consistency with the other vc buffers (bug#6197).
5483 (vc-checkin): Ditto.
5484
5485 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5486
36adf6ce
LMI
5487 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5488
e83cc1f7
LMI
54892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5490
8a20ca4c
LMI
5491 * custom.el (defcustom): Clarify that :set is only used in the
5492 Customize user interface (bug#6089).
5493
83319045
LMI
5494 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5495 associated with a file, refuse to run instead of erroring out
5496 (bug#6084).
5497
a8392169
LMI
5498 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5499 the doc string, since it appears that using `fill-column' always
5500 controls the width (bug#7845).
5501
e83cc1f7
LMI
5502 * simple.el (shell-command-on-region): Say where the error output
5503 went if `shell-command-default-error-buffer' is set (bug#6857).
5504
e47ca23b
KM
55052011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5506
5507 * allout.el (allout-yank-processing): Adjust cursor position for
5508 backwards-deleted space.
5509
5510 (allout-rebullet-heading): Register changes with
5511 allout-exposure-changed-hook, so the modified topic is properly
5512 decorated.
5513
5cf56143
LMI
55142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5515
08549772
LMI
5516 * minibuffer.el (completion-in-region): Document PREDICATE
5517 (bug#7136).
5518
48e96771
LMI
5519 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5520 of keyword/argument pairs (bug#6904).
5521
c8af70e1
SM
5522 * replace.el (multi-occur):
5523 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5524
e17d05e2
LMI
55252011-07-02 Drew Adams <drew.adams@oracle.com>
5526
5527 * dired.el (dired-mark-if): Make the message about whether it's
5528 marking or unmarking clearer (bug#8523).
5529
063b0e45
LMI
55302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5531
5532 * disp-table.el (display-table-print-array): New function.
5533 (describe-display-table): Use it to print the vectors more pretty
5534 (Bug#8859).
5535
28545e04
MR
55362011-07-02 Martin Rudalics <rudalics@gmx.at>
5537
5538 * window.el (window-state-get-1): Don't assign clone numbers.
5539 Add clone-of item to list of window parameters.
5540 (window-state-put-2): Don't process clone numbers.
5541 (display-buffer-alist): Fix doc-string.
5542
3349e122
SM
55432011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * subr.el (remq): Don't allocate if it's not needed.
5546 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5547 (keymap--merge-bindings): New functions.
5548 (keymap-canonicalize): Use them to refine the canonicalization.
5549 * minibuffer.el (minibuffer-local-completion-map)
5550 (minibuffer-local-must-match-map): Move initialization from C.
5551 (minibuffer-local-filename-completion-map): Move initialization from C;
5552 don't inherit from anything here.
5553 (minibuffer-local-filename-must-match-map): Make obsolete.
5554 (completing-read-default): Use make-composed-keymap to combine
5555 minibuffer-local-filename-completion-map with either
5556 minibuffer-local-must-match-map or
5557 minibuffer-local-filename-completion-map.
5558
d224ac83
GM
55592011-07-01 Glenn Morris <rgm@gnu.org>
5560
3de63bf8
GM
5561 * type-break.el (type-break-time-sum): Use dolist.
5562
d224ac83
GM
5563 * textmodes/flyspell.el (flyspell-word-search-backward):
5564 Replace CL function.
5565
1a1e3f32
SM
55662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5567
fe3f64d5
SM
5568 * mouse.el (mouse--strip-first-event): New function.
5569 (function-key-map): Use it to map fringe clicks to normal clicks
5570 by default.
5571
eb604e34
SM
5572 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5573 (vc-bzr-revision-completion-table): Add support for annotate and date.
5574
1a1e3f32
SM
5575 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5576 inherit from parent.
5577
5bd35902
LMI
55782011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5579
ace6c69c 5580 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5581 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5582
191e2bed
LMI
5583 * dired.el (dired-mode): Fix up the doc string as suggested by
5584 Drew Adams (bug#8817).
5585
5bd35902
LMI
5586 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5587 cookie, since the manual says that it should be possible to add
5588 this function to `find-file-hook' (bug#8709).
5589
eee8207a
TZ
55902011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5591
5592 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5593 here. Noted Ted Zlatanov as the maintainer.
5594 (cfengine-common-settings, cfengine-common-syntax): New functions
5595 to set up common things between `cfengine-mode' and
5596 `cfengine3-mode'.
5597 (cfengine3-mode): New mode.
5598 (cfengine3-defuns cfengine3-defuns-regex
5599 (cfengine3-class-selector-regex cfengine3-category-regex)
5600 (cfengine3-vartypes cfengine3-font-lock-keywords)
5601 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5602 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5603
36b148cf
MA
56042011-07-01 Michael Albinus <michael.albinus@gmx.de>
5605
5606 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5607
5608 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5609
0bf4ba9a
MR
56102011-07-01 Martin Rudalics <rudalics@gmx.at>
5611
5612 * window.el (same-window-buffer-names, same-window-regexps)
5613 (same-window-p, special-display-frame-alist)
5614 (special-display-popup-frame, special-display-function)
5615 (special-display-buffer-names, special-display-regexps)
5616 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5617 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5618 (split-window-preferred-function, split-height-threshold)
5619 (split-width-threshold, even-window-heights)
5620 (display-buffer-mark-dedicated, window-splittable-p)
5621 (split-window-sensibly, window-safely-shrinkable-p):
5622 Un-obsolete.
5623 (display-buffer): Don't spread args with function specifier
5624 because special-display-popup-frame won't like it.
5625
35837f51
PE
56262011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5627
d0672f86
PE
5628 Time-stamp simplifications and fixes.
5629 These improve accuracy slightly, and future-proof the code
5630 against some potential changes to current-time format.
5631
b9444d97
PE
5632 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5633 by using time-since and float-time.
5634
0ef923dc
PE
5635 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5636 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5637 + NNN microseconds".
5638
2f81380d
PE
5639 * type-break.el (type-break-time-sum): Rewrite using time-add.
5640
845b5c3e
PE
5641 * play/hanoi.el (hanoi-current-time-float): Remove.
5642 All uses replaced by float-time.
5643
ee6f1be0
PE
5644 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5645 This yields a more-accurate answer.
5646 (rng-time-to-float): Remove; no longer needed.
5647
fe955043
PE
5648 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5649
5777162a
PE
5650 * calendar/timeclock.el (timeclock-seconds-to-time):
5651 Defalias to seconds-to-time, since they're the same thing.
5652
3103f8b6 5653 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5654 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5655 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5656
0e61a35f
SM
56572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * window.el (bury-buffer): Don't iconify the only frame.
5660 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5661 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5662
ddd63a1e
CY
56632011-07-01 Chong Yidong <cyd@stupidchicken.com>
5664
0e61a35f
SM
5665 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5666 Add mouse-yank-primary.
ddd63a1e 5667
055f4923
TZ
56682011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5669
5670 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5671
6a2fb145
SM
56722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5673
5674 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5675 (find-library-name): Use it to find relative load names when provided
5676 absolute file name (bug#8803).
5677
fd4983f2
LMI
56782011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5679
887d14ad
LMI
5680 * textmodes/flyspell.el (flyspell-word): Consider words that
5681 differ only in case as potential doublons (bug#5687).
5682
c53dc7fc
LMI
5683 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5684 Remove two rather uninteresting debugging-like messages to make
5685 debbugs.el more silent.
5686
fd4983f2
LMI
5687 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5688 a password-like phrase.
5689
b14c0c55
AM
56902011-06-30 Mastake YAMATO <yamato@redhat.com>
5691
5692 * progmodes/cc-guess.el: New file.
5693
6a2fb145 5694 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5695
5696 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5697 derived from `c-basic-common-init'.
5698
5699 * progmodes/cc-mode.el (top-level): Require cc-guess.
5700 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5701
1fa280a3
LM
57022011-06-30 Lawrence Mitchell <wence@gmx.li>
5703
5704 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5705
e6597158
AM
57062011-06-30 Alan Mackenzie <acm@muc.de>
5707
1fa280a3
LM
5708 * progmodes/cc-engine.el (c-guess-continued-construct):
5709 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5710 lock is disabled. Name this case as "CASE G".
5711
68ba37fb
KM
57122011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5713
5714 * allout.el (allout-yank-processing): Fix injection of extra space
5715 between bullet and non-whitespace character in first topic when
5716 pasting, ensuring that the actual spacing in the pasted topic
5717 following the bullet char is preserved. This extra space was
5718 causing pasted encrypted topics to get a decrypted status even
5719 when the content was actually still encrypted. Now the decryption
5720 status from before the paste is preserved.
5721
5722 (allout-flag-region): Set all allout overlays so they evaporate
5723 when reduced to zero length (evanescent), to prevent overlay
5724 leakage.
5725
887a0b34
GM
57262011-06-30 Glenn Morris <rgm@gnu.org>
5727
94b9acce
GM
5728 * w32-fns.el (w32-charset-info-alist): Declare.
5729
1d9b46d4
GM
5730 * find-dired.el (find-grep-options): Simplify.
5731
cc232200
GM
5732 * term/ns-win.el (ns-set-resource): Declare.
5733
28e77c46
GM
5734 * ses.el (row, col): Declare dynamic variables honestly.
5735
887a0b34
GM
5736 * textmodes/reftex-parse.el (index-tags): Declare.
5737
658d8eb8
CY
57382011-06-30 Chong Yidong <cyd@stupidchicken.com>
5739
5740 * cus-edit.el (customize-push-and-save): New function.
5741
5742 * files.el (hack-local-variables-confirm): Use it.
5743
1fa280a3
LM
5744 * custom.el (load-theme): New arg NO-CONFIRM.
5745 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5746 (custom-enabled-themes): Doc fix.
5747
5748 * cus-theme.el (customize-create-theme)
5749 (custom-theme-merge-theme): Callers to load-theme changed.
5750
bb617717
LMI
57512011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5752
d61bdd5d
LMI
5753 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5754 short URLs have at least one dot in them (bug #7614).
5755
bb617717
LMI
5756 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5757 nil, because using a pty is apparently too slow (bug #895).
5758
2f31f37a
LMI
57592011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5760
5761 * mail/sendmail.el (sendmail-query-once): New function.
5762 (sendmail-query-once-function): New variable.
5763
3076b24e
GM
57642011-06-29 Glenn Morris <rgm@gnu.org>
5765
faf2a174
GM
5766 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5767
3076b24e
GM
5768 * ses.el (top-level): Require cl when compiling.
5769 (ses-set-localvars): Fix error statement.
5770 Call it at compile time to silence a storm of warnings.
5771
5386012d
MR
57722011-06-29 Martin Rudalics <rudalics@gmx.at>
5773
5774 * window.el (normalize-live-buffer): Rename to
5775 window-normalize-buffer.
5776 (normalize-live-frame): Rename to window-normalize-frame.
5777 (normalize-any-window): Rename to window-normalize-any-window.
5778 (normalize-live-window): Rename to window-normalize-live-window.
5779 (make-window-atom): Rename to window-make-atom.
5780 (window-resize-reset): Rename to window--resize-reset.
5781 (window-resize-reset-1): Rename to window--resize-reset-1.
5782 (resize-mini-window): Rename to window--resize-mini-window.
5783 (resize-subwindows-skip-p): Rename to
5784 window--resize-subwindows-skip-p.
5785 (resize-subwindows-normal): Rename to
5786 window--resize-subwindows-normal.
5787 (resize-subwindows): Rename to window--resize-subwindows.
5788 (resize-other-windows): Rename to window--resize-siblings.
5789 (resize-this-window): Rename to window--resize-this-window.
5790 (resize-root-window): Rename to window--resize-root-window.
5791 (resize-root-window-vertically): Rename to
5792 window--resize-root-window-vertically.
5793 (normalize-buffer-to-display): Rename to
5794 window-normalize-buffer-to-display.
5795 (normalize-buffer-to-switch-to): Rename to
5796 window-normalize-buffer-to-switch-to.
5797 Correspondingly update all callers of the functions listed
5798 above.
5799 (display-buffer-alist, display-buffer-normalize-arguments)
5800 (display-buffer-normalize-options, display-buffer)
5801 (display-buffer-alist-set): Use "function" instead of
5802 "fun-with-args".
5803
1176868d
CY
58042011-06-28 Chong Yidong <cyd@stupidchicken.com>
5805
5806 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5807 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5808 debbugs.gnu.org. Mention acknowledgment email.
5809
20a7a65f
LMI
58102011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5811
5812 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5813 buffer multibyteness, since it shouldn't matter.
5814
5f45cca5
MR
58152011-06-28 Martin Rudalics <rudalics@gmx.at>
5816
5817 * window.el (display-buffer-in-side-window): Handle dedicated
5818 windows as in display-buffer-reuse-window.
5819 (display-buffer-normalize-alist): Use value of override
5820 specifier.
5821 (display-buffer-normalize-specifiers): Use value of
5822 other-window-means-other-frame specifier.
5823 (display-buffer-alist): Rewrite some texts in widgets.
5824 (display-buffer): Spread arguments when calling function
5825 specified by fun-with-args.
5826
ad85fe1f
DD
58272011-06-28 Deniz Dogan <deniz@dogan.se>
5828
1fa280a3
LM
5829 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5830 Unnest `let'.
da68c4c8 5831
ad85fe1f
DD
5832 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5833 selectors (Bug#5732).
ec49bd31 5834 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5835
a08cc025
JA
58362011-06-27 Jari Aalto <jari.aalto@cante.net>
5837
5838 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5839 (eshell-ls-date-format): New defcustom.
5840 (eshell-ls-file): Use it.
5841
e2b551c5
SM
58422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5845
8982b231
KY
58462011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5847
5848 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5849 (ange-ftp-make-tmp-name): New arg.
5850 (ange-ftp-file-local-copy): Use it.
5851
36c9fa27
J
58522011-06-27 Jambunathan K <kjambunathan@gmail.com>
5853
5854 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5855 no-conversion (Bug#8870).
5856
d68443dc
MR
58572011-06-27 Martin Rudalics <rudalics@gmx.at>
5858
5859 * window.el (window-right, window-left, window-child)
5860 (window-child-count, window-last-child)
5861 (window-iso-combination-p, walk-window-tree-1)
5862 (window-atom-check-1, window-tree-1, delete-window)
5863 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5864 new naming conventions - window-vchild, window-hchild,
5865 window-next and window-prev are now called window-top-child,
5866 window-left-child, window-next-sibling and window-prev-sibling
5867 respectively.
d615d6d2
MR
5868 (resize-window-reset): Rename to window-resize-reset.
5869 (resize-window-reset-1): Rename to window-resize-reset-1.
5870 (resize-window): Rename to window-resize.
5871 (window-min-height, window-min-width)
5872 (resize-mini-window, resize-this-window, resize-root-window)
5873 (resize-root-window-vertically, adjust-window-trailing-edge)
5874 (enlarge-window, shrink-window, maximize-window)
5875 (minimize-window, delete-window, quit-restore-window)
5876 (split-window, balance-windows, balance-windows-area-adjust)
5877 (balance-windows-area, window-state-put-2)
5878 (display-buffer-even-window-sizes, display-buffer-set-height)
5879 (display-buffer-set-width, set-window-text-height)
5880 (fit-window-to-buffer): Rename all "resize-window" prefixed
5881 calls to use the "window-resize" prefix convention.
5882 (display-buffer-alist): Fix symbol for label specifier.
5883 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5884 corresponding specifier.
5885 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5886
b6458526
VB
58872011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5888
5889 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5890 convention.
5891 (ses-call-printer): Does not pass an empty string to formatter when the
5892 cell is empty to keep from barking printer Calc math-format-value.
5893
d31fd9ac
RS
58942011-06-27 Richard Stallman <rms@gnu.org>
5895
43d5bf84
RS
5896 * battery.el (battery-mode-line-limit): New variable.
5897 (battery-update): Handle it.
5898
d31fd9ac
RS
5899 * mail/rmailmm.el (rmail-mime-process-multipart):
5900 Handle truncated messages.
5901
819a6054
GM
59022011-06-27 Glenn Morris <rgm@gnu.org>
5903
5904 * progmodes/flymake.el (flymake-err-line-patterns):
5905 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5906
cedc73f2
VB
59072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5908
819a6054 5909 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5910 (ses--clean-!, ses--clean-_): New functions.
5911 (ses-range): Add configurability of readout order, and conversion
5912 to Calc vector.
5913
5e5d49b6
VB
5914 * ses.el (ses-repair-cell-reference-all): New function.
5915 (ses-cell-symbol): Set macro as safe, so that it can be used in
5916 formulas.
5917
56e6cc31 5918 * ses.el: Update cycle detection algorithm.
90ca8b49 5919 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5920 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5921 (ses-set-localvars): New function.
5922 (ses-make-cell): Add property-list as a cell element.
5923 (ses-cell-property-get-fun, ses-cell-property-get)
5924 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5925 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5926 New functions.
90ca8b49
VB
5927 (ses-cell-property-set, ses-cell-property-pop)
5928 (ses-cell-property-get-handle): New macro.
5929 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5930 New aliases, used for code readability.
5931 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5932 cycle detection.
5933 (ses-self-reference-early-detection): New defcustom.
fac916bf 5934 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5935 (ses-mode): Use ses-set-localvars.
5936 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5937 before lauching the update processing.
5938 (ses-initialize-Dijkstra-attempt): New function.
5939 (ses-recalculate-cell): Update for cycle detection based on
5940 Dijkstra algorithm.
5941
2bb63e81
VB
5942 * ses.el: Fix commenting and indenting convention.
5943
c9d29fb8
SM
59442011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * bs.el (bs-cycle-next): Complete last change.
5947
d8e4b68b
JB
59482011-06-27 Drew Adams <drew.adams@oracle.com>
5949
5950 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5951
40098786
LMI
59522011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5953
c9d29fb8
SM
5954 * net/network-stream.el (network-stream-open-starttls):
5955 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5956 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5957
40098786
LMI
5958 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5959 to binary to possibly avoid line encoding issues on Windows (among
5960 other things).
5961
468d09d4
LMI
59622011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5963
5964 * net/network-stream.el (open-network-stream): Return an :error
5965 saying what the problem was, if possible.
5966
5967 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5968 server.
5969
5970 * net/network-stream.el (network-stream-open-starttls): If we
5971 wanted to use STARTTLS, and the server offered it, but we weren't
5972 able to because we had no STARTTLS support, then close the connection.
5973 (open-network-stream): Return an :error element, if present.
5974
16f07dd7
CY
59752011-06-26 Chong Yidong <cyd@stupidchicken.com>
5976
88821ca0
CY
5977 * hl-line.el (hl-line-sticky-flag): Doc fix.
5978 (global-hl-line-sticky-flag): New option (Bug#8323).
5979 (global-hl-line-highlight): Obey it.
5980
16f07dd7
CY
5981 * vc/vc.el (vc-revert-show-diff): Default to t.
5982
6b5ccddf
KM
59832011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5984
c9d29fb8
SM
5985 * allout-widgets.el (allout-widgets-post-command-business):
5986 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5987 undecorated when an isearch is continued past, and isearch
5988 automatically collapses them. This leads to "widget leaks", where
5989 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5990 hidden widgets can slow down cursor travel, substantially.
5991 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5992 so we're doing without this nicety.
5993
5994 (allout-widgets-tally-string): Don't try to do a hash-table-count
5995 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5996 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5997 *Messages* when allout-widgets-maintain-tally is t.
5998
355f2e07
MR
59992011-06-26 Martin Rudalics <rudalics@gmx.at>
6000
6001 * window.el (display-buffer-normalize-argument): Rename to
6002 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6003 LABEL argument. Respect special-display-function when popping up
6004 a new frame. Fix code searching for a window showing the buffer
6005 on another frame.
c9d29fb8
SM
6006 (display-buffer-normalize-specifiers):
6007 Call display-buffer-normalize-arguments.
355f2e07
MR
6008 (display-buffer-in-window): Don't undedicate the window if its
6009 buffer remains the same.
6010 Reported by Drew Adams <drew.adams@oracle.com>.
6011 (display-buffer-alist): Add choice for same-window macro
6012 specfier.
6013 (display-buffer): Mention special meaning of LABEL argument in
6014 doc-string. Fix quoting. Don't pop up a new frame even as
6015 fallback.
6016
7ca8fc42
JB
60172011-06-26 Juanma Barranquero <lekktu@gmail.com>
6018
6019 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6020 avoid deleting the current window in some cases (bug#8911).
6021
bc312254
AS
60222011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6023
6024 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6025 (Bug#8934)
6026
2db18f3f
LMI
60272011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6028
c9d29fb8
SM
6029 * net/network-stream.el (network-stream-open-starttls):
6030 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6031 (network-stream-open-tls): Ditto.
6032
6302e0d3
LL
60332011-06-26 Leo Liu <sdl.web@gmail.com>
6034
6035 * register.el (registerv): New struct.
6036 (registerv-make): New function.
c9d29fb8
SM
6037 (jump-to-register, describe-register-1, insert-register):
6038 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6039 struct. (Bug#8415)
6040
5fdd4046
CY
60412011-06-26 Chong Yidong <cyd@stupidchicken.com>
6042
2afef60a
CY
6043 * vc/vc.el (vc-revert-show-diff): New defcustom.
6044 (vc-diff-internal): New arg specifying diff buffer.
6045 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6046 reuse an existing *vc-diff* buffer (Bug#8927).
6047
5fdd4046
CY
6048 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6049
e93db24a
GM
60502011-06-26 Glenn Morris <rgm@gnu.org>
6051
6052 * progmodes/f90.el (f90-critical-indent): New option.
6053 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6054 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6055 (f90-mode): Doc fix.
6056 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6057 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6058 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6059 (f90-match-end): Handle block, critical.
6060
eefff499
GM
60612011-06-25 Glenn Morris <rgm@gnu.org>
6062
f6ba4cc9
GM
6063 * calendar/diary-lib.el (diary-included-files): Doc fix.
6064 (diary-include-files): New function, extracted from
6065 diary-include-other-diary-files and diary-mark-included-diary-files.
6066 (diary-include-other-diary-files, diary-mark-included-diary-files):
6067 Just call diary-include-files.
6068 (diary-mark-entries): Reset diary-included-files on first call.
6069
16712304
GM
6070 * calendar/diary-lib.el (diary-mark-entries)
6071 (diary-mark-included-diary-files):
6072 Visit included diary-files in temp buffers.
6073
5d8e0d43
GM
6074 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6075 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6076 (f90-start-block-re, f90-imenu-generic-expression)
6077 (f90-looking-at-program-block-start, f90-no-block-limit):
6078 Add support for submodules.
6079
ccf7a5d5
GM
6080 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6081 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6082
11fdef7d 60832011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6084
6085 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6086 buffer-file-type before setting its value, to avoid disastrous
eefff499 6087 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6088
74f53697
JB
60892011-06-25 Juanma Barranquero <lekktu@gmail.com>
6090
6091 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6092
6093 * ses.el (ses-unload-function):
6094 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6095
6096 * proced.el (proced-unload-function):
6097 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6098
18a4ce5e
AR
60992011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6100
6101 * server.el (server-create-window-system-frame): Add parameters arg.
6102 (server-process-filter): Doc fix. Handle frame-parameters.
6103
519d22cc
JB
61042011-06-25 Juanma Barranquero <lekktu@gmail.com>
6105
6106 Fix bug#8730, bug#8781.
6107
6108 * loadhist.el (unload--set-major-mode): New function.
6109 (unload-feature): Use it.
6110
6111 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6112 (python-unload-function): New function.
6113
c206f5b0
SM
61142011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6117
f9ad64f3
GS
61182011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6119
6120 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6121 the candidates list.
6122
7d0da90e
JB
61232011-06-24 Juanma Barranquero <lekktu@gmail.com>
6124
6125 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6126
14b4e83d
RS
61272011-06-23 Richard Stallman <rms@gnu.org>
6128
6129 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6130 (rmail-variables): Set next-error-move-function.
6131 (rmail-what-message): Take argument POS.
6132 (rmail-next-error-move): New function.
6133
273d2baf
SM
61342011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6137 messages for adjacent non-terminals.
6138
56c2cc9a
RS
61392011-06-23 Richard Stallman <rms@gnu.org>
6140
6141 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6142 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6143 (rmail-start-mail): Don't specify use of rmail-mail-return;
6144 that's done by mail-bury now.
6145 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6146
d59eb518
MA
61472011-06-23 Michael Albinus <michael.albinus@gmx.de>
6148
6149 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6150 SIZE is a number.
6151
02cfc6d6
MR
61522011-06-23 Martin Rudalics <rudalics@gmx.at>
6153
6154 * window.el (get-lru-window, get-mru-window)
6155 (get-largest-window): Never return a minibuffer window.
6156 (display-buffer-pop-up-window): Fix a bug that could lead to
6157 reusing the minibuffer window.
6158 (display-buffer): Pass original specifier argument to
6159 display-buffer-function instead of the normalized one.
6160 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6161
4e323265
LL
61622011-06-22 Leo Liu <sdl.web@gmail.com>
6163
6164 * minibuffer.el (completing-read-function)
6165 (completing-read-default): Move from minibuf.c
6166
7a70468f
RS
61672011-06-22 Richard Stallman <rms@gnu.org>
6168
50718fc2
RS
6169 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6170 to Rmail even if not started by a special Rmail command.
6171
7a70468f
RS
6172 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6173 Copy the buffer currently showing just one message.
6174
297dde5a
RW
61752011-06-22 Roland Winkler <winkler@gnu.org>
6176
6177 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6178 (bibtex-clean-entry): First delete the old key so that a
6179 customized algorithm for generating the new key does not get
6180 confused by the old key.
6181 (bibtex-url): Obey regexp of first step.
6182 (bibtex-search-entries): Do not use add-to-list with local
6183 list-var.
6184
97bb1093
LMI
61852011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6186
6187 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6188 stored a user name, then query for the password first, instead of
6189 waiting for SMTP to give an error message and the trying again.
6190
1c0f1a19
JD
61912011-06-22 Lawrence Mitchell <wence@gmx.li>
6192
6193 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6194 BUFFER in call-process.
6195
396f7c9d
LMI
61962011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6197
6198 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6199 QUIT twice.
ddb7ffee
LMI
6200 (smtpmail-try-auth-methods): Require user name and password from
6201 auth-source.
396f7c9d 6202
8998d1b3
MR
62032011-06-22 Martin Rudalics <rudalics@gmx.at>
6204
6205 * window.el (display-buffer-default-specifiers)
6206 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6207 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6208 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6209
6210 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6211 (special-display-frame-alist, special-display-popup-frame):
6212 Remove duplicate declarations. These are now in window.el.
6213
4ea31e07
LMI
62142011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6215
c9d29fb8
SM
6216 * mail/smtpmail.el (smtpmail-via-smtp):
6217 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6218 server supports it. SMTP servers that support STARTTLS commonly
6219 require it.
6220
6221 * net/network-stream.el (network-stream-open-starttls): Support
6222 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6223 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6224
95f41d9a
LMI
6225 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6226 upgrades with `open-network-stream', and rely solely on
6227 auth-source for all credentials. Big changes throughout the file,
6228 but in particular:
c9d29fb8
SM
6229 (smtpmail-auth-credentials): Remove.
6230 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6231 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6232 MAIL FROM, too.
95f41d9a 6233
c9d29fb8
SM
6234 * net/network-stream.el (network-stream-open-starttls):
6235 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6236 STARTTLS.
6237 (auth-source): Require.
6238 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6239 (network-stream-certificate): Change cert-cert to cert and
6240 cert-key to key.
4ea31e07 6241
065ec2c7
MA
62422011-06-21 Michael Albinus <michael.albinus@gmx.de>
6243
6244 * net/tramp-cache.el (top): Don't load the persistency file when
6245 "emacs -Q" has been called.
6246
cd93b359
DR
62472011-06-21 Tim Harper <timcharper@gmail.com>
6248
d8e4b68b
JB
6249 * term/ns-win.el (ns-initialize-window-system):
6250 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6251 resource to NO as it is not yet supported by the NS port.
6252
ae9c0411
JB
62532011-06-21 Juanma Barranquero <lekktu@gmail.com>
6254
6255 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6256 (list-dynamic-libraries): ...not here.
6257
7f3f739f
LL
62582011-06-21 Leo Liu <sdl.web@gmail.com>
6259
6260 * subr.el (sha1): Implement sha1 using secure-hash.
6261
327c8fb1
MR
62622011-06-21 Martin Rudalics <rudalics@gmx.at>
6263
6264 * window.el (display-buffer-alist): In default value do not
6265 enforce searching a window on any but the selected frame.
6266 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6267 (display-buffer-select-window): Remove function.
6268 (display-buffer-in-window): When a window on another frame gets
6269 reused, do not select it any more but just raise its frame if
6270 necessary (Bug#8851) and (Bug#8856).
6271 (display-buffer-normalize-options): Handle pop-up-frames related
6272 options more faithfully.
6273 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6274 window if it is on another frame.
c9d29fb8
SM
6275 (display-buffer-alist, display-buffer-default-specifiers):
6276 Don't make new frame unsplittable by default.
9e9de014
MR
6277 (display-buffer-normalize-argument): Fix doc-string typo and use
6278 'same-frame-other-window instead of 'other-window when associating
6279 with display-buffer-macro-specifiers.
327c8fb1 6280
7cf3f556
VB
62812011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6282
6283 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6284 New functions.
6285 (5x5-mode-map, 5x5-mode-menu): Bind them.
6286 (5x5-draw-grid): Tweak the solver's rendering.
6287
60a406cf
SM
62882011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6291 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6292
d8e4b68b 62932011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6294
6295 * menu-bar.el: Use function variable instead of switch-to-buffer.
6296 (menu-bar-select-buffer-function): New variable.
60a406cf 6297 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6298
478d6f95
SM
62992011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6302 variable's status.
6303
ca530739
JD
63042011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6305
6306 * x-dnd.el (x-dnd-version-from-flags)
6307 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6308 and long as number (Bug#8899).
6309 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6310
bcd70d97
SM
63112011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6312
60a406cf 6313 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6314 (completion-try-completion, completion-all-completions): Compute the
6315 metadata argument if it's missing; make it optional (bug#8795).
6316
60a406cf 6317 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6318 (widget-complete): Use new :completion-function property.
6319 (widget-completions-at-point): New function.
6320 (default): Use :completion-function instead of :complete.
60a406cf
SM
6321 (widget-default-completions): Rename from widget-default-complete;
6322 Rewrite.
bcd70d97
SM
6323 (widget-string-complete, widget-file-complete, widget-color-complete):
6324 Remove functions.
6325 (file, symbol, function, variable, coding-system, color):
6326 * international/mule-cmds.el (default-input-method, charset)
6327 (language-info-custom-alist):
6328 * cus-edit.el (face): Use new property :completions.
6329
6330 * progmodes/pascal.el (pascal-completions-at-point): New function.
6331 (pascal-mode): Use it.
6332 (pascal-mode-map): Use completion-at-point.
6333 (pascal-toggle-completions): Make obsolete.
6334 (pascal-complete-word, pascal-show-completions):
6335 * progmodes/octave-mod.el (octave-complete-symbol):
6336 Redefine as obsolete alias.
6337 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6338 Signal absence of completion info for old Octave,
6339 (inferior-octave-complete): Redefine as obsolete alias.
6340 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6341 (meta-completions-at-point): Rename from meta-complete-symbol and
6342 adapt it for use on completion-at-point-functions.
6343 (meta-common-mode): Use it.
6344 (meta-looking-at-backward, meta-match-buffer): Remove.
6345 (meta-complete-symbol): Redefine as obsolete alias.
6346 (meta-common-mode-map): Use completion-at-point.
6347 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6348 (makefile-mode-map): Use completion-at-point.
6349 (makefile-completions-at-point): Rename from makefile-complete and
6350 adapt it for use on completion-at-point-functions.
6351 (makefile-mode): Use it.
6352 (makefile-complete): Redefine as obsolete alias.
6353
aebf69c8
DD
63542011-06-20 Deniz Dogan <deniz@dogan.se>
6355
6356 * net/rcirc.el: Delete trailing whitespaces once and for all.
6357
bfbbb27d
DC
63582011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6359
6360 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6361
d264a46b
CY
63622011-06-19 Chong Yidong <cyd@stupidchicken.com>
6363
4ca009e5
CY
6364 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6365
d264a46b
CY
6366 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6367
fbf5b3ce
MR
63682011-06-19 Martin Rudalics <rudalics@gmx.at>
6369
6370 * window.el (display-buffer-other-window-means-other-frame):
6371 Call display-buffer-normalize-alist.
6372 (display-buffer-normalize-specifiers-1): Rename to
6373 display-buffer-normalize-argument. New argument other-frame.
6374 Rewrite.
6375 (display-buffer-normalize-specifiers-2): Rename to
6376 display-buffer-normalize-options.
6377 (display-buffer-normalize-alist-1): New function.
6378 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6379 display-buffer-normalize-alist.
6380 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6381 (display-buffer-normalize-options-inhibit): New variable.
6382 (display-buffer-normalize-specifiers): Rewrite calling
6383 display-buffer-normalize-alist,
6384 display-buffer-normalize-argument, and
6385 display-buffer-normalize-options. Don't call the latter if
6386 display-buffer-normalize-options-inhibit is non-nil.
6387 (frame-auto-delete): New option.
6388 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6389 (window-list-no-nils, window-state-ignored-parameters)
6390 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6391 (window-state-put-1, window-state-put-2, window-state-put):
6392 New functions.
9a028c23
MR
6393 (display-buffer-normalize-options): Move special-display-p group
6394 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6395
6d10d800
CY
63962011-06-18 Chong Yidong <cyd@stupidchicken.com>
6397
6420d28b
CY
6398 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6399 groups (Bug#8776).
6400 (rx-submatch-n): New function.
6401 (rx): Document it.
6402
ddb8b596
CY
6403 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6404 (Bug#8768).
6405
6406 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6407
77080289
CY
6408 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6409
61dfb316
CY
6410 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6411 anytime existing face settings are present (Bug#8889).
6412
6d10d800
CY
6413 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6414 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6415 Remove unused argument.
6416
be3fb2b8
MR
64172011-06-18 Martin Rudalics <rudalics@gmx.at>
6418
bcd70d97
SM
6419 * window.el (display-buffer-default-specifiers):
6420 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6421 pop-up-window-min-width, and another reuse-window specifier
6422 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6423 (display-buffer-normalize-specifiers-2):
6424 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6425 pop-up-windows is unset. Add a reuse-window specifier for the
6426 case popping up a new window fails.
6427 (special-display-popup-frame): Remove double quoting.
28dec25a 6428 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6429
1c6d8c76
SM
64302011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6433 according to comint-completion-addsuffix.
6434
6435 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6436 (pcomplete-suffix-list): Mark as obsolete.
6437 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6438 pcomplete-seen in the closure.
6439 (pcomplete-comint-setup): Setup completion-at-point as well.
6440 (pcomplete--entries): New function.
6441 (pcomplete--env-regexp): New var.
6442 (pcomplete-entries): Rewrite to work with partial-completion and
6443 without relying on pcomplete-suffix-list.
6444 (pcomplete-pare-list): Remove, unused.
6445
25aef8b8
MR
64462011-06-17 Martin Rudalics <rudalics@gmx.at>
6447
6448 * window.el (display-buffer-alist): Set pop-up-window-min-height
6449 and pop-up-window-min-width in default value. Reported by
6450 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6451 other-window-means-other-frame.
6452 (display-buffer-macro-specifiers): Comment out entry for
6453 other-window specifier.
6454 (display-buffer-other-window-means-other-frame): New function.
6455 (display-buffer-normalize-specifiers-1): New arguments
6456 buffer-name and label. Treat other-window case specially.
6457 (display-buffer-normalize-specifiers-2): Treat other-window case
6458 specially.
6459 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6460 (display-buffer-normalize-specifiers):
6461 Call display-buffer-normalize-specifiers-3.
25aef8b8 6462
dbad4f69
MR
64632011-06-17 Martin Rudalics <rudalics@gmx.at>
6464
6465 * window.el (same-window-p): Fix two typos introduced when
6466 adding with-no-warnings.
d1067961
MR
6467 (display-buffer-normalize-specifiers-1): Don't check
6468 pop-up-frames for 'unset initialization.
6469 (display-buffer-normalize-specifiers-2): Major rewrite using
6470 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6471 (pop-up-frames, display-buffer-reuse-frames)
6472 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6473 Suggested by David Engster <deng@randomsample.de>.
6474 (even-window-heights): Initialize to 'unset.
6475 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6476 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6477 other window case.
dbad4f69 6478
9b9c9e3a
MR
64792011-06-16 Martin Rudalics <rudalics@gmx.at>
6480
bcd70d97
SM
6481 * window.el (display-buffer-normalize-specifiers-1):
6482 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6483 second argument of display-buffer (Bug#8865).
981d5c09
MR
6484 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6485 (switch-to-buffer-other-window-same-frame)
6486 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6487 Adams (Bug#8875).
9c2755e9
MR
6488 (display-buffer): Don't check noninteractive when calling
6489 display-buffer-pop-up-frame.
6490 (display-buffer-pop-up-frame): Never pop up a frame in
6491 noninteractive mode (Bug#8857).
67222e1d
MR
6492 (enlarge-window, shrink-window): Don't report an error when the
6493 window can't be resized as requested (Bug#8862).
9b9c9e3a 6494
2b75be67
SM
64952011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6496
9ffdd3ba
SM
6497 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6498
cb581a67
SM
6499 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6500
2b75be67
SM
6501 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6502
8c0e3589
AM
65032011-06-15 Alan Mackenzie <acm@muc.de>
6504
cb581a67
SM
6505 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6506 for declarators, disable knr checking to speed up for normal files.
6507 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6508
b96e6cde
LMI
65092011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6510
4bba86e6
LMI
6511 * net/network-stream.el (open-network-stream): Add the keyword
6512 :always-query-capabilities for the case where you want to force a
6513 `plain' network connection, but the protocol still requires the
6514 capabilitiy command (i.e., SMTP and EHLO).
6515
2b75be67 6516 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6517 consistency with other `-live-p' functions.
6518
efdcdbf8
SM
65192011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * window.el (same-window-buffer-names, same-window-regexps)
6522 (special-display-frame-alist, special-display-popup-frame)
6523 (special-display-function, special-display-buffer-names)
6524 (special-display-regexps, pop-up-frame-alist)
6525 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6526 (pop-up-windows, split-window-preferred-function)
6527 (split-height-threshold, split-width-threshold, even-window-heights)
6528 (display-buffer-mark-dedicated): Don't encourage the use of
6529 display-buffer-alist from Elisp code.
6530
c5cde042
DN
65312011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6532
6533 * progmodes/python.el (python-mode): Derive from prog-mode.
6534 * progmodes/ps-mode.el (ps-mode):
6535 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6536 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6537 * progmodes/ld-script.el (ld-script-mode): Likewise.
6538
baa1c9ab
MR
65392011-06-15 Martin Rudalics <rudalics@gmx.at>
6540
6541 * window.el (display-buffer-alist): Trim default value to avoid
6542 popping up a new frame (Bug#8857) or reusing an arbitrary window
6543 on another frame.
6544 (display-buffer): Do not fall back on popping up a new frame in
6545 batch mode (Bug#8857).
6546
c5dd5a51
CY
65472011-06-14 Chong Yidong <cyd@stupidchicken.com>
6548
6549 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6550 (custom-theme-summary): New function.
6551 (customize-themes): Use it.
6552
d647b7c4
GM
65532011-06-13 Glenn Morris <rgm@gnu.org>
6554
6555 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6556
9481c002
MR
65572011-06-13 Martin Rudalics <rudalics@gmx.at>
6558
357f93d2
MR
6559 * help.el (help-window): Remove variable.
6560 (help-window-point-marker, temp-buffer-max-height)
6561 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6562 (help-print-return-message): Don't set help-window.
6563 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6564 (help-window-setup-finish): Remove.
6565 (help-window-display-message, help-window-setup)
6566 (with-help-window): Major rewrite based on new
6567 display-buffer-window variable.
6568
6569 * help-mode.el (help-mode-finish): Remove help-window related
6570 code.
6571
6572 * view.el (view-exits-all-viewing-windows): Remove reference to
6573 view-return-to-alist in doc-string.
6574 (view-return-to-alist): Make obsolete.
6575 (view-buffer): Call pop-to-buffer-same-window and remove
6576 undo-window code.
6577 (view-buffer-other-window): Call pop-to-buffer-other-window and
6578 simplify code. Ignore second argument.
6579 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6580 simplify code. Ignore second argument.
6581 (view-return-to-alist-update): Make obsolete.
6582 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6583 Rewrite using quit-restore window parameters.
2b75be67
SM
6584 (view-mode-exit): Rename second argument to EXIT-ONLY.
6585 Rewrite using quit-restore-window.
357f93d2
MR
6586 (View-exit, View-exit-and-edit, View-leave, View-quit)
6587 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6588 appropriate arguments.
6589 (view-end-message): Use quit-restore window parameter.
6590
9481c002
MR
6591 * window.el (display-buffer-function): Rewrite doc-string.
6592 (display-buffer-window, display-buffer-alist): New variables.
6593 (display-buffer-split-specifiers)
6594 (display-buffer-side-specifiers)
6595 (display-buffer-macro-specifiers): New constants.
6596 (display-buffer-even-window-sizes, display-buffer-set-height)
6597 (display-buffer-set-width, display-buffer-select-window)
6598 (display-buffer-in-window, display-buffer-reuse-window)
6599 (display-buffer-split-window-1, display-buffer-split-window)
6600 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6601 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6602 (display-buffer-in-side-window, normalize-buffer-to-display)
6603 (display-buffer-normalize-specifiers-1)
6604 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6605 (display-buffer-normalize-specifiers, display-buffer-frame):
6606 New functions.
9481c002
MR
6607 (display-buffer): Major rewrite.
6608 (display-buffer-other-window, display-buffer-other-frame)
6609 (pop-to-buffer, switch-to-buffer-other-window)
6610 (switch-to-buffer-other-frame): Rewrite.
6611 (display-buffer-same-window, display-buffer-same-frame)
6612 (display-buffer-same-frame-other-window)
6613 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6614 (pop-to-buffer-other-window)
6615 (pop-to-buffer-same-frame-other-window)
6616 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6617 (switch-to-buffer-other-window-same-frame): New functions.
6618 (same-window-p, special-display-p): Rewrite disabling warnings.
6619 Make obsolete.
6620 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6621 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6622 Make obsolete
6623 (same-window-buffer-names, same-window-regexps)
6624 (special-display-frame-alist, special-display-popup-frame)
6625 (special-display-function, special-display-buffer-names)
6626 (special-display-regexps, pop-up-frame-alist)
6627 (pop-up-frame-function, split-window-preferred-function)
6628 (split-height-threshold, split-width-threshold)
6629 (even-window-heights): Make obsolete.
6630
9db51aca
GM
66312011-06-12 Glenn Morris <rgm@gnu.org>
6632
6633 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6634 Misc simplifications.
9db51aca 6635
39cffb44
MR
66362011-06-12 Martin Rudalics <rudalics@gmx.at>
6637
6638 * window.el (window-safely-shrinkable-p): Restore function which
6639 was inadvertently removed in change from 2011-06-11. Declare as
6640 obsolete.
6641
2b75be67
SM
6642 * calendar/calendar.el (calendar-generate-window):
6643 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6644 window-safely-shrinkable-p.
6645
a8955be7
GM
66462011-06-12 Glenn Morris <rgm@gnu.org>
6647
6648 * progmodes/fortran.el (fortran-mode-syntax-table):
6649 * progmodes/f90.el (f90-mode-syntax-table):
6650 Set % to punctuation. (Bug#8820)
6651 (f90-find-tag-default): Remove, no longer needed.
6652
f0d4059d
DC
66532011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6654
6655 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6656
1100a63c
CY
66572011-06-11 Chong Yidong <cyd@stupidchicken.com>
6658
6659 * image.el (image-animated-p): Return animation delay in seconds.
6660 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6661 (image-animate-timeout): Remove DELAY argument. Don't assume
6662 every subimage has the same delay; get it from image-animated-p.
6663 (image-animate): Caller changed.
6664
def722bf
MA
66652011-06-11 Michael Albinus <michael.albinus@gmx.de>
6666
6667 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6668 to ignored backtrace functions.
6669
0a2bb1a9
GM
66702011-06-11 Glenn Morris <rgm@gnu.org>
6671
6672 * calendar/appt.el (appt-disp-window-function): Doc fix.
6673 (appt-check): Handle overlapping appointments. (Bug#8337)
6674
6198ccd0
MR
66752011-06-11 Martin Rudalics <rudalics@gmx.at>
6676
6677 * window.el (window-tree-1, window-tree): New functions, moving
6678 the latter to window.el.
6679 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6680 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6681 (bw-refresh-edges): Remove.
6682 (balance-windows-1, balance-windows-2): New functions.
6683 (balance-windows): Rewrite in terms of window tree functions,
6684 balance-windows-1 and balance-windows-2.
6685 (bw-adjust-window): Remove.
6686 (balance-windows-area-adjust): New function with functionality of
6687 bw-adjust-window but using resize-window.
2b75be67
SM
6688 (set-window-text-height): Rewrite doc-string.
6689 Use normalize-live-window and resize-window.
6690 (enlarge-window-horizontally, shrink-window-horizontally):
6691 Rename argument to DELTA.
6198ccd0
MR
6692 (window-buffer-height): New function.
6693 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6694 Rewrite using new window resize routines.
2b75be67
SM
6695 (kill-buffer-and-window, mouse-autoselect-window-select):
6696 Use ignore-errors instead of condition-case.
6198ccd0
MR
6697 (quit-window): Call delete-frame instead of delete-windows-on
6698 for the only buffer on frame.
6699
9397e56f
MR
67002011-06-10 Martin Rudalics <rudalics@gmx.at>
6701
6702 * loadup.el (top-level): Load window before files for the sake
6703 of replace-buffer-in-windows.
6704
6705 * files.el (read-buffer-to-switch)
6706 (switch-to-buffer-other-window)
2b75be67
SM
6707 (switch-to-buffer-other-frame, display-buffer-other-frame):
6708 Move to window.el.
9397e56f
MR
6709
6710 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6711 (previous-buffer): Move to window.el.
6712
6713 * bindings.el (unbury-buffer): Move to window.el.
6714
6715 * window.el (delete-other-windows-vertically): Move after
6716 definition of delete-other-windows.
6717 (other-window, delete-windows-on, replace-buffer-in-windows):
6718 Move here from window.c.
6719 (record-window-buffer, unrecord-window-buffer)
6720 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6721 (switch-to-next-buffer): New functions.
6722 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6723 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6724 (previous-buffer): Move here from simple.el.
6725 Call switch-to-prev-buffer.
9397e56f
MR
6726 (bury-buffer): Move here from buffer.c. Switch to previous
6727 buffer when window cannot be deleted.
6728 (unbury-buffer): Move here from bindings.el.
6729 (ctl-x-map): Move binding for other-window from window.c to
6730 here.
6731 (read-buffer-to-switch, switch-to-buffer-other-window)
6732 (switch-to-buffer-other-frame): Move here from files.el.
6733 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6734 (switch-to-buffer): Move here from buffer.c.
6735 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6736
562dd5e9
MR
67372011-06-10 Martin Rudalics <rudalics@gmx.at>
6738
6739 * window.el (window-min-height, window-min-width): Move here
6740 from window.c. Add defcustoms and rewrite doc-strings.
6741 (resize-mini-window, resize-window): New functions.
6742 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6743 Move here from window.c.
6744 (maximize-window, minimize-window): New functions.
6745 (delete-window, delete-other-windows, split-window): Move here
6746 from window.c.
6747 (window-split-min-size): New function.
6748 (split-window-keep-point): Mention split-window-above-each-other
6749 instead of split-window-vertically.
2b75be67 6750 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6751 Rename split-window-vertically to split-window-above-each-other
6752 and provide defalias for old definition.
6753 (split-window-side-by-side, split-window-horizontally):
6754 Rename split-window-horizontally to split-window-side-by-side
6755 and provide defalias for the old definition.
562dd5e9
MR
6756 (ctl-x-map): Move bindings for delete-window,
6757 delete-other-windows and enlarge-window here from window.c.
6758 Replace bindings for split-window-vertically and
6759 split-window-horizontally by bindings for
6760 split-window-above-each-other and split-window-side-by-side.
6761
6762 * cus-start.el (all): Remove entries for window-min-height and
6763 window-min-width. Add entries for window-splits and
6764 window-nest.
6765
f0da764a
GM
67662011-06-09 Glenn Morris <rgm@gnu.org>
6767
80675c21
GM
6768 * calendar/appt.el (appt-mode-line): New function.
6769 (appt-check, appt-disp-window): Use it.
6770
f0da764a
GM
6771 * files.el (hack-one-local-variable-eval-safep):
6772 Allow minor-modes with explicit +/-1 arguments.
6773
59f623b7
TZ
67742011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6775
6776 * term/xterm.el (xterm): Add defgroup.
6777 (xterm-extra-capabilities): Add defcustom to supply known xterm
6778 capabilities, skip querying them, or query them (default).
6779 (terminal-init-xterm): Use it.
6780 (terminal-init-xterm-modify-other-keys): New function to set up
6781 modifyOtherKeys support to simplify `terminal-init-xterm'.
6782
9aab8e0d
MR
67832011-06-09 Martin Rudalics <rudalics@gmx.at>
6784
6785 * window.el (resize-window-reset, resize-window-reset-1)
6786 (resize-subwindows-skip-p, resize-subwindows-normal)
6787 (resize-subwindows, resize-other-windows, resize-this-window)
6788 (resize-root-window, resize-root-window-vertically)
6789 (window-deletable-p, window-or-subwindow-p)
6790 (frame-root-window-p): New functions.
6791
e8b08aee
GM
67922011-06-09 Glenn Morris <rgm@gnu.org>
6793
6794 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6795 (ange-ftp-get-files): Use it.
6796
254c37a5
AK
67972011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6798
6799 * mail/sendmail.el (mail-recover-1, mail-recover):
6800 * files.el (recover-file, recover-session):
6801 Handle dired-listing-switches not being just a single short option.
6802
35d7dbd3
GM
68032011-06-09 Glenn Morris <rgm@gnu.org>
6804
6805 * calendar/appt.el (appt-display-message, appt-disp-window):
6806 Handle lists of appointments.
6807
387522b2
MR
68082011-06-08 Martin Rudalics <rudalics@gmx.at>
6809
2b75be67
SM
6810 * window.el (one-window-p): Move down in code.
6811 Rewrite doc-string.
6812 (window-current-scroll-bars): Rewrite doc-string.
6813 Normalize live window argument.
387522b2
MR
6814 (walk-windows, get-window-with-predicate, count-windows):
6815 Rewrite doc-string. Use window-list-1.
6816 (window-in-direction-2, window-in-direction, get-mru-window):
6817 New functions.
6818
d8e4b68b 68192011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6820
6821 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6822 Doc fix (Bug#8713).
6823
68242011-06-08 Chong Yidong <cyd@stupidchicken.com>
6825
6826 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6827
68282011-06-08 Juanma Barranquero <lekktu@gmail.com>
6829
6830 * loadhist.el (unload-feature-special-hooks):
6831 Add `comint-output-filter-functions'.
6832
0de12c52
IK
68332011-06-08 Ivan Kanis <gnu@kanis.fr>
6834
6835 * calendar/appt.el (appt-check): Move some initializations into the let.
6836
f3d1777e
MR
68372011-06-08 Martin Rudalics <rudalics@gmx.at>
6838
6839 * window.el (window-height): Defalias to window-total-height.
6840 (window-width): Defalias to window-body-width.
6841
18af70d0
CY
68422011-06-07 Chong Yidong <cyd@stupidchicken.com>
6843
6844 * image-mode.el (image-toggle-animation): New command.
6845 (image-mode-map): Bind it to RET.
6846 (image-mode): Update message.
6847 (image-toggle-display-image): Avoid a spurious cache flush.
6848 (image-transform-rotation): Doc fix.
6849 (image-transform-properties): Return quickly in the normal case.
6850 (image-animate-loop): Rename from image-animate-max-time.
6851
2b75be67 6852 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6853 (create-animated-image): Remove unnecessary function.
6854 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6855 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6856 (image-animate-timer): Use car-safe.
6857 (image-animate-timeout): Rename argument.
6858
190b47e6
MR
68592011-06-07 Martin Rudalics <rudalics@gmx.at>
6860
6861 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6862 window.c. Rename first argument to ALL-FRAMES.
6863 Rephrase doc-strings.
6864 (get-buffer-window-list): Rewrite using window-list-1.
6865 Rephrase doc-string.
a1511caf
MR
6866 (window-safe-min-height, window-safe-min-width): New constants.
6867 (window-size-ignore, window-min-size, window-min-size-1)
6868 (window-sizable, window-sizable-p, window-size-fixed-1)
6869 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6870 (window-max-delta-1, window-max-delta, window-resizable)
6871 (window-resizable-p, window-total-height, window-total-width)
6872 (window-body-width): New functions.
6873 (window-full-height-p, window-full-width-p): Rewrite using
6874 window-total-size.
6875 (window-body-height): Rewrite using window-body-size.
190b47e6 6876
85cc1f11
MR
68772011-06-06 Martin Rudalics <rudalics@gmx.at>
6878
6879 * window.el (window-right, window-left, window-child)
6880 (window-child-count, window-last-child, window-any-p)
6881 (normalize-live-buffer, normalize-live-frame)
6882 (normalize-any-window, normalize-live-window)
6883 (window-iso-combination-p, window-iso-combined-p)
6884 (window-iso-combinations)
6885 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6886 (windows-with-parameter, window-with-parameter)
6887 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6888 (window-atom-check, window-side-check, window-check):
6889 New functions.
85cc1f11
MR
6890 (ignore-window-parameters, window-sides, window-sides-vertical)
6891 (window-sides-slots): New variables.
6892 (window-size-fixed): Move down in code. Minor doc-string fix.
6893
e7156492
AS
68942011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6895
6896 * comint.el (comint-dynamic-complete-as-filename)
6897 (comint-dynamic-complete-filename): Correctly call
6898 completion-in-region.
6899
7e821d0d
DD
69002011-06-05 Deniz Dogan <deniz@dogan.se>
6901
6902 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6903 in last change.
6904
ac09b8a1
DD
69052011-06-05 Deniz Dogan <deniz@dogan.se>
6906
6907 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6908 (rcirc): Use it to prompt for encryption.
6909
34699b85
RW
69102011-06-05 Roland Winkler <winkler@gnu.org>
6911
6912 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6913 (bibtex-search-entries): New command bound to C-c C-a.
6914 (bibtex-display-entries): New function.
6915
004dedd3
RW
69162011-06-05 Roland Winkler <winkler@gnu.org>
6917
6918 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6919 (bibtex-insert-kill): After yanking insert newline if necessary.
6920 (bibtex-initialize): Call bibtex-string-files-init only once.
6921 (bibtex-mode): Do not call easy-menu-add.
6922 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6923 (bibtex-yank): Set arg properly if nil.
6924
022fe7ce
RW
69252011-06-05 Roland Winkler <winkler@gnu.org>
6926
2b75be67
SM
6927 * textmodes/bibtex.el (bibtex-search-entry-globally):
6928 New variable.
022fe7ce
RW
6929 (bibtex-search-entry): Use it.
6930
b7c3692a
RW
69312011-06-05 Roland Winkler <winkler@gnu.org>
6932
6933 * textmodes/bibtex.el (bibtex-entry-format): New option
6934 sort-fields.
6935 (bibtex-format-entry, bibtex-reformat): Honor this option.
6936 (bibtex-parse-entry): Return fields in proper order.
6937
8eda563d
JB
69382011-06-05 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * doc-view.el (doc-view-remove-if): Move computation of result out
6941 of `dolist' to silence misleading lexical-binding warning.
6942
7dbe3dbc
CY
69432011-06-04 Chong Yidong <cyd@stupidchicken.com>
6944
6945 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6946 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6947
0c33dd17
MA
69482011-06-04 Michael Albinus <michael.albinus@gmx.de>
6949
6950 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6951 "SunOS 5.10".
6952
f8f91c2b
MA
69532011-06-04 Michael Albinus <michael.albinus@gmx.de>
6954
6955 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6956 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6957 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6958 (tramp-parse-putty):
6959 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6960 (tramp-completion-function-alist-ssh)
6961 (tramp-completion-function-alist-telnet)
6962 (tramp-completion-function-alist-su)
6963 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6964 cookie.
6965
6966 * net/tramp-ftp.el:
6967 * net/tramp-sh.el:
6968 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6969 load "tramp.el" `tramp-set-completion-function'.
6970
e17d9003
SM
69712011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * shell.el: Require and use pcomplete.
6974 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6975 (shell-completion-vars): Set pcomplete-default-completion-function.
6976
6c4cab03
DD
69772011-06-04 Deniz Dogan <deniz@dogan.se>
6978
6979 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6980 `memq' (Bug#8799).
6981
ea9fafe0
SM
69822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6985
b3e945d3
JB
69862011-06-02 Juanma Barranquero <lekktu@gmail.com>
6987
6988 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6989 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6990 * vc/log-view.el (log-view-beginning-of-defun):
6991 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6992 (smerge-refine-forward, smerge-refine-chopup-region):
6993 Silence warning for unused `dotimes' counter variables.
6994
7d520089
SM
69952011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * net/tramp.el (tramp-with-progress-reporter): Rename from
6998 with-progress-reporter. Use `declare'.
6999 * net/tramp-smb.el:
7000 * net/tramp-sh.el:
7001 * net/tramp-gvfs.el: Update all uses.
7002
a1c2400f
JB
70032011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7004
7005 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7006 buffer isn't killed before making it current.
7007
2403c841
SM
70082011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 Silence various byte-compiler warnings.
7011 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7012 `access-type' and new obsolescence format.
7013 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7014 new format.
7015 (byte-compile-check-variable): New `access-type' argument.
7016 Only warn if the access-type is obsolete.
7017 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7018 (byte-compile-variable-set): Adjust callers.
7019 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7020 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7021 setting it as obsolete.
7022 * simple.el (minibuffer-completing-symbol):
7023 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7024 access as obsolete.
7025 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7026 obsolete yet.
7027 * international/quail.el (quail-mouse-choose-completion): Remove unused
7028 code referring to obsolete var.
7029 (quail-choose-completion-string): Remove.
7030 * server.el (server-clients-with, server-kill-buffer-query-function)
7031 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7032 * proced.el (proced-send-signal):
7033 * emacs-lisp/lisp.el (lisp-complete-symbol):
7034 Replace completion-annotate-function with completion-extra-properties.
7035
2462470b
SM
70362011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7037
fb5b2591
SM
7038 * simple.el (goto-line): Use read-number.
7039 (overriding-map-is-bound): Remove.
7040 (saved-overriding-map): Change default.
7041 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7042 Take the map as argument.
7043 (universal-argument, negative-argument, digit-argument): Use it.
7044 (restore-overriding-map): Adjust.
7045 (do-auto-fill): Use fill-forward-paragraph.
7046 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7047
fd6fa53f
SM
7048 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7049 (minibuffer-inactive-mode): New major mode.
7050 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7051 the *Messages* buffer" hack.
7052 (mouse-popup-menubar): Don't burp if the event is a normal key.
7053
2462470b
SM
7054 Miscellaneous tweaks.
7055 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7056 lexical scoping as in subr.el's dolist and dotimes.
7057 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7058 Silence compiler warning.
7059 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7060 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7061 * international/ccl.el (ccl-compile): Trivial simplification.
7062 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7063 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7064 `printflag' argument.
7065 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7066 Purecopy the whole obsolescence data.
7067
108bf785
LL
70682011-06-01 Leo Liu <sdl.web@gmail.com>
7069
7070 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7071 improve doc-string as suggested by Marco Pessotto
7072 <melmothx@gmail.com>.
7073 (rcirc-print): Fix last change.
7074
30a23501
SM
70752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * minibuffer.el (complete-with-action): Return nil for the metadata and
7078 boundaries of non-functional tables.
7079 (completion-table-dynamic): Return nil for the metadata.
7080 (completion-table-with-terminator): Add default case, using
7081 complete-with-action.
7082 (completion--metadata): New function.
7083 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7084 to try and avoid pathological performance problems.
7085 (completion--embedded-envvar-table): Return `category' metadata.
7086
bcd54f83
LMI
70872011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7088
7089 * subr.el (process-alive-p): New tiny convenience function.
7090
e227544d
SM
70912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7094 content but also its previous major mode.
7095
e8296fdc
HE
70962011-05-31 Helmut Eller <eller.helmut@gmail.com>
7097
4d61f28d 7098 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7099 *Backtrace* buffer when we exit with C-M-c.
7100
620c53a6
SM
71012011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7102
7103 * minibuffer.el: Add metadata method to completion tables.
7104 (completion-category-overrides): New defcustom.
7105 (completion-metadata, completion--field-metadata)
7106 (completion-metadata-get, completion--styles)
7107 (completion--cycle-threshold): New functions.
7108 (completion-try-completion, completion-all-completions):
7109 Add `metadata' argument to choose completion-styles.
7110 (completion--do-completion): Use metadata to choose cycling.
7111 (completion-all-sorted-completions): Use metadata for sorting.
7112 Remove :completion-cycle-penalty which is not needed any more.
7113 (completion--try-word-completion): Add `metadata' argument.
7114 (minibuffer-completion-help): Check metadata for annotation function
7115 and sorting.
7116 (completion-file-name-table): Return `category' metadata.
7117 (minibuffer-completing-file-name): Make obsolete.
7118 * simple.el (minibuffer-completing-symbol): Make obsolete.
7119 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7120 completion-try-completion.
7121
1257e755
SM
71222011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7125
3767e706
LL
71262011-05-30 Leo Liu <sdl.web@gmail.com>
7127
7128 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7129 (rcirc-print): Decode all incoming messages (bug#8744).
7130 (rcirc-decode-coding-system): Allow value nil for automatic coding
7131 system detection.
3767e706 7132
d1a5d56a
GM
71332011-06-01 Glenn Morris <rgm@gnu.org>
7134
7135 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7136
e8cbec34
CY
71372011-05-29 Chong Yidong <cyd@stupidchicken.com>
7138
7139 * image.el (image-animate-max-time): Allow nil and t values.
7140 Default to nil.
7141 (create-animated-image): Doc fix.
7142 (image-animate-start): Remove second arg; just use
7143 image-animate-max-time.
7144 (image-animate-timeout): Doc fix. Args changed.
7145
7146 * image-mode.el (image-toggle-display-image): Ensure that the
7147 image spec passed to the animate timer is the same object as in
58179cce 7148 the buffer's display property (Bug#6981).
e8cbec34
CY
7149 (image-transform-properties): Doc fix.
7150
7151 * image.el (image-animate-max-time): Default to nil.
7152
159daf87
MR
71532011-05-29 Martin Rudalics <rudalics@gmx.at>
7154
7155 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7156 entire buffer list (Bug#8184).
7157
d66c4c7c
CY
71582011-05-29 Chong Yidong <cyd@stupidchicken.com>
7159
7160 * image.el (imagemagick-types-inhibit)
7161 (imagemagick-register-types): Doc fix.
7162
80aec780
DD
71632011-05-29 Deniz Dogan <deniz@dogan.se>
7164
7165 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7166 default.
7167
1dd3c2d9
CY
71682011-05-29 Chong Yidong <cyd@stupidchicken.com>
7169
7170 * select.el: Don't perform clipboard-manager saving in hooks;
7171 leave the hooks empty.
7172
60e56523
LL
71732011-05-28 Leo Liu <sdl.web@gmail.com>
7174
7175 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7176 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7177 (occur-edit-mode): New major mode (Bug#8463).
7178 (occur-after-change-function): New function.
7179 (occur-engine): Give Occur tags a read-only property.
7180
2b1e1a22
KR
71812011-05-28 Kevin Ryde <user42@zip.com.au>
7182
7183 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7184
5d344e88
CY
71852011-05-28 Chong Yidong <cyd@stupidchicken.com>
7186
8e6ca83d
CY
7187 * bindings.el (help-echo): Make the initial non-indicator dash
7188 empty on graphical terminals (Bug#7295).
7189
5d344e88
CY
7190 * files.el (auto-mode-alist): Move config rule after the
7191 in-stripping one (Bug#8547).
7192
bfbbace7
CY
7193 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7194
fbeba6e2
CY
7195 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7196 setting (Bug#8740).
7197
60ed8c72
AA
71982011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7199
4ac619f0
AA
7200 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7201 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7202 (Bug#8539).
60ed8c72 7203
23db196e
CY
72042011-05-28 Chong Yidong <cyd@stupidchicken.com>
7205
7206 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7207
5012f24c
DK
72082011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7209
7210 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7211 (hs-hide-block-at-point, hs-find-block-beginning)
7212 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7213 (Bug#8279).
7214
6a639b16
GM
72152011-05-28 Glenn Morris <rgm@gnu.org>
7216
7217 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7218
d43eaf2c
CY
72192011-05-28 Chong Yidong <cyd@stupidchicken.com>
7220
5199bde1
CY
7221 * help-fns.el (describe-function-1): If the function is a derived
7222 major mode, print the parent mode.
7223
d43eaf2c
CY
7224 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7225 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7226
423428a8
SM
72272011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7228
0ff8e1ba 7229 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7230 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7231 * progmodes/etags.el (tags-completion-at-point-function):
7232 * info-look.el (info-lookup-completions-at-point): Mark as
7233 non-exclusive.
7234 (info-complete): Adjust accordingly.
7235
423428a8
SM
7236 * info-look.el: Convert to lexical-binding and completion-at-point.
7237 (info-lookup-completions-at-point): New function.
7238 (info-complete): Use it and completion-in-region.
7239
b74aa22b
DA
72402011-05-28 Drew Adams <drew.adams@oracle.com>
7241
7242 * isearch.el: Let M-e start with point at the first mismatched char.
7243 (isearch-fail-pos): New function.
7244 (isearch-edit-string): Use it.
7245
66e2e71d
DK
72462011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7247
7248 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7249
eb95d01d
TC
72502009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7251
7252 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7253 traversal functions for avl-trees.
7254 (avl-tree--stack): New struct.
7255 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7256 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7257 (avl-tree--do-enter): Add optional `updatefun' arg.
7258 Change return value.
eb95d01d 7259 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7260 (avl-tree--do-delete): Add `test' and `nilflag' args.
7261 Change return value.
eb95d01d
TC
7262 (avl-tree-member): Add optional `nilflag'
7263 (avl-tree-member-p): New function.
7264 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7265 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7266 (avl-tree-stack-empty-p): New functions.
7267
3769ddcf
TC
72682009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7269
7270 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7271 avl-tree--del-balance1 and make it work both ways.
7272 (avl-tree--del-balance2): Remove.
7273 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7274 make it work both ways.
7275 (avl-tree--enter-balance2): Remove.
7276 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7277 New macros.
7278 (avl-tree--mapc, avl-tree-map): Add direction argument.
7279
eb95d01d 72802011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7281
7282 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7283
a9f737ee
CY
72842011-05-27 Chong Yidong <cyd@stupidchicken.com>
7285
7286 * select.el: Support clipboard managers with built-in function
7287 x-clipboard-manager-save, via delete-frame-functions and
7288 kill-emacs-hook.
7289 (xselect-convert-to-targets): Add MULTIPLE target to list.
7290 (xselect-convert-to-save-targets): New function.
7291
c92a1e54
KH
72922011-05-27 Kenichi Handa <handa@m17n.org>
7293
7294 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7295 let-binding rfc2047-encode-encoded-words to nil.
7296
e145f188
GM
72972011-05-27 Glenn Morris <rgm@gnu.org>
7298
5ec8a862
GM
7299 * mail/emacsbug.el: Don't require url-util.
7300
4b29d9fb
GM
7301 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7302
e145f188
GM
7303 * files.el (set-auto-mode):
7304 Also respect mode: entries at the end of the file. (Bug#8586)
7305
7d15102b
GM
73062011-05-26 Glenn Morris <rgm@gnu.org>
7307
98f593b8
GM
7308 * files.el (hack-local-variables-prop-line, hack-local-variables):
7309 Downcase mode names, as seems to be traditional.
27b48e63 7310 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7311
7d15102b
GM
7312 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7313 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7314
51d5b4ec
JD
73152011-05-25 Julien Danjou <julien@danjou.info>
7316
7317 * textmodes/rst.el (rst-define-level-faces): Do not define face
7318 symbol if it is already defined.
7319
91513f63
VB
73202011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7321
7322 * play/5x5.el (5x5-new-game, 5x5-randomize):
7323 Reset 5x5-solver-output to nil when a new grid is cast.
7324 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7325 these debugging traces, as defmacro breaks the compiled code.
7326
4d90d6d0
DK
73272011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7328
7329 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7330
e1b90ef6
LL
73312011-05-24 Leo Liu <sdl.web@gmail.com>
7332
7333 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7334 (vc-bzr-sha1): Adapt.
7335
d8e4b68b 7336 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7337
7338 * bindings.el: Provide sha1 feature.
7339
db0406bb 73402011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7341
7342 * mail/sendmail.el: Require `rfc2047'.
7343 (mail-insert-from-field): Do not perform RFC2047 encoding.
7344 (mail-encode-header): New function.
7345 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7346 buffer to the return value of select-message-coding-system.
7347 Call mail-encode-header.
b8d747b9
KH
7348
7349 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7350
db0406bb 73512011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7352
4d90d6d0
DK
7353 * mail/supercite.el (sc-default-cite-frame):
7354 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7355
eb8a5e9b
GM
73562011-05-24 Glenn Morris <rgm@gnu.org>
7357
f8630703
GM
7358 * progmodes/python.el (brm-menu): Declare.
7359
8831bbed
GM
7360 * emulation/viper.el (viper-set-hooks): Declare.
7361
eb8a5e9b
GM
7362 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7363 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7364 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7365 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7366 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7367 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7368
a2a25d24
SM
73692011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 Add an :exit-function for completion-at-point.
7372
7373 * minibuffer.el (completion--done): New fun.
7374 (completion--do-completion): Use it. New arg `expect-exact'.
7375 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7376 since completion--do-completion does it for us now.
7377 (minibuffer-force-complete): Use completion--done and
7378 completion--replace. Handle sole-completion case with more care.
7379 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7380 (completion-extra-properties): New var.
7381 (completion-annotate-function): Make obsolete.
7382 (minibuffer-completion-help): Adjust accordingly.
7383 Use completion-list-insert-choice-function.
7384 (completion-at-point, completion-help-at-point):
7385 Bind completion-extra-properties.
7386 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7387 * simple.el (completion-list-insert-choice-function): New var.
7388 (completion-setup-function): Preserve it.
7389 (choose-completion): Pay attention to it, shuffle the code a bit.
7390 (choose-completion-string): New arg `insert-function'.
7391
7392 * textmodes/bibtex.el: Convert to lexical binding.
7393 (bibtex-mode-map): Use completion-at-point.
7394 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7395 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7396 (bibtex-complete): Define as obsolete alias.
7397 (bibtex-complete-internal): Remove.
7398 (bibtex-format-entry): Remove unused sub-group in regexp.
7399 * shell.el (shell--command-completion-data)
7400 (shell-environment-variable-completion):
7401 * pcomplete.el (pcomplete-completions-at-point):
7402 * comint.el (comint--complete-file-name-data): Use :exit-function
7403 instead of completion-table-with-terminator so it also works for
7404 choose-completion.
7405
e44e373d
SM
74062011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7407
4f91a816
SM
7408 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7409
782fc819
SM
7410 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7411 (bug#8710).
7412
e44e373d
SM
7413 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7414
381987c3
KM
74152011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7416
7417 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7418 customization variable and implement: If non-nil, auto-fill will
7419 be inhibited while on topic's header line.
7420
b776bc70
VB
74212011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7422
7423 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7424 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7425 always have a solution in grid size = 5 cases.
7426 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7427 (5x5-solver-output, 5x5-log-buffer): New vars.
7428 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7429 Make these variables buffer local to achieve 5x5 multi-session-ness.
7430 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7431 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7432 (5x5-solve-suggest): New funs.
7433 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7434 randomize a grid so that we ensure that there is always a solution.
7435 (5x5-make-random-grid): Allow other movement than flipping.
7436
7de88b6e
KR
74372011-05-23 Kevin Ryde <user42@zip.com.au>
7438
7439 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7440 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7441 advice and passes PREDICATE.
7442
b1ef1257
SM
74432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7444
bbca48fe
SM
7445 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7446 byte-compile-lambda if it's actually a lambda.
7447
b1ef1257
SM
7448 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7449 Fix function quoting. Use backquote better.
7450
92a9cc65
YS
74512011-05-22 Yuanle Song <sylecn@gmail.com>
7452
7453 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7454 matching (Bug#8516).
7455
f0fb8059
JA
74562011-01-22 Jari Aalto <jari.aalto@cante.net>
7457
7458 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7459 different face (Bug#8178).
7460
d5b44c93
CY
74612011-05-22 Chong Yidong <cyd@stupidchicken.com>
7462
7463 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7464 defface (Bug#8144).
7465
79106a44
SM
74662011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7467
9c848d8a
SM
7468 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7469 funcall as well (bug#8712). Warn when performing those conversions.
7470 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7471
79106a44
SM
7472 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7473
88dfa756
GM
74742011-05-22 Glenn Morris <rgm@gnu.org>
7475
7476 * files.el (hack-local-variables-prop-line): Small simplifications.
7477 (hack-local-variables, hack-local-variables-prop-line):
7478 If MODE-ONLY, return the mode, rather than just `t'.
7479
b7cf2c79
SM
74802011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7483
3f1a8558
GM
74842011-05-21 Glenn Morris <rgm@gnu.org>
7485
7e4ccca3
GM
7486 * files.el (hack-local-variables-prop-line, hack-local-variables):
7487 If only interested in the mode, don't bother doing the other stuff.
7488
637d46ca
GM
7489 * image-mode.el (image-after-revert-hook):
7490 Redraw all frames on which the image is visible. (Bug#8567)
7491
973d955b
GM
7492 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7493
3f1a8558
GM
7494 * wid-edit.el (widget-checklist-match-inline):
7495 Fix 2011-04-19 change. (Bug#8649)
7496
96479927
SM
74972011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7498
1dcf791f
SM
7499 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7500 Also allow singlespace after single-letter capitals followed by a dot.
7501
96479927
SM
7502 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7503 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7504
35fd0881
N
75052011-05-20 Nix <nix@esperi.org.uk>
7506
7507 * files.el (basic-save-buffer-2):
7508 Fix handling of break-hardlink-on-save with non-existent files.
7509
82745640
DD
75102011-05-19 Deniz Dogan <deniz@dogan.se>
7511
7512 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7513 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7514
4a720484
GM
75152011-05-19 Glenn Morris <rgm@gnu.org>
7516
d1f21341
GM
7517 * progmodes/f90.el (f90-type-def-re):
7518 Handle "type, bind(c)". (Bug#8691)
7519
4a720484
GM
7520 * emacs-lisp/autoload.el (batch-update-autoloads):
7521 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7522
2fb0a219
MA
75232011-05-18 Michael Albinus <michael.albinus@gmx.de>
7524
7525 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7526 property for the correct connection in case of multihops.
7527
e565dd37
GM
75282011-05-18 Glenn Morris <rgm@gnu.org>
7529
c2571358 7530 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7531 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7532
e565dd37
GM
7533 Rationalize calendar handling of day and month abbrev-arrays.
7534 * calendar/calendar.el (calendar-customized-p): New function.
7535 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7536 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7537 Add :set function.
7538 (calendar-abbrev-length, calendar-day-abbrev-array)
7539 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7540 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7541 Elements may no longer be nil.
7542 (calendar-day-name, calendar-month-name):
7543 Update for changed nature of abbrev arrays.
7544 * calendar/diary-lib.el (diary-name-pattern):
7545 Update for changed nature of abbrev arrays.
7546 (diary-mark-entries-1): Update calendar-make-alist calls.
7547 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7548 * calendar/cal-html.el (cal-html-day-abbrev-array):
7549 Simply inherit from calendar-day-abbrev-array.
7550
1d99a745
SM
75512011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * progmodes/grep.el (grep-mode): Disable default
7554 compilation-directory-matcher setting (bug#8684).
7555
7c1d9aa0
MA
75562011-05-17 Michael Albinus <michael.albinus@gmx.de>
7557
7558 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7559 instead of "head" and "tail". There were problems with SunOS 5.9,
7560 and it performs better.
7561
3952e9d8
GM
75622011-05-17 Glenn Morris <rgm@gnu.org>
7563
2dd12e7f
GM
7564 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7565
e4157b9c
GM
7566 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7567 Replace obsolete function.
7568
8e249bbd
GM
7569 * shell.el (pcomplete-parse-arguments-function): Declare.
7570
3952e9d8
GM
7571 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7572 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7573 (appt-check): Doc fixes.
7574 (appt-disp-window-function, appt-delete-window-function):
7575 Remove needless special case in custom :type.
7576 (appt-display-count): Default to 0, not nil.
7577 (appt-check): Reset appt-display-count to 0, not nil.
7578
c71a0d48 75792011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7580
c71a0d48
GM
7581 * progmodes/python.el (python-font-lock-keywords):
7582 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7583
31d55be9
SM
75842011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7587
3bfacb2f
KR
75882011-05-16 Kevin Ryde <user42@zip.com.au>
7589
7590 * info-look.el (makefile-automake-mode): New setups, looking in
7591 automake manual, then makefile-mode.
7592 (makefile-mode): Remove automake manual, have it just in
7593 makefile-automake-mode since there's various things different or
7594 not relevant to plain make.
7595 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7596 believe a hypothetical automake-mode would go to makefile-mode,
7597 not the other way around.
7598
c8e83751
CY
75992011-05-15 Chong Yidong <cyd@stupidchicken.com>
7600
5e9e35cd
CY
7601 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7602 hunk-end tags (Bug#8672).
7603
c8e83751
CY
7604 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7605 vc-annotate-show-diff-revision-at-line (Bug#8671).
7606
50b23e5a
GM
76072011-05-14 Glenn Morris <rgm@gnu.org>
7608
7210a739
GM
7609 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7610 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7611 (change-log-font-lock-keywords): Also handle multiple author lines
7612 with leading tabs. (Bug#8644)
7210a739 7613
4691905a
GM
7614 * calendar/appt.el (appt-check): Rename some local variables.
7615 Some simplification/reordering.
7616
50b23e5a
GM
7617 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7618 (feedmail-sendmail-f-doesnt-sell-me-out)
7619 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7620 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7621 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7622 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7623 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7624 (feedmail-binmail-gnulinuxish-template):
7625 Rename from feedmail-binmail-linuxish-template.
7626 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7627 Use insert-buffer-substring.
7628
215cda7c
BC
76292011-05-14 Bill Carpenter <bill@carpenter.org>
7630
7631 * mail/feedmail.el (feedmail-patch-level): Increase.
7632 (feedmail-debug): New custom group.
7633 (feedmail-confirm-outgoing-timeout)
7634 (feedmail-sendmail-f-doesnt-sell-me-out)
7635 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7636 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7637 (feedmail-sender-line, feedmail-from-line)
7638 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7639 (feedmail-spray-this-address)
215cda7c
BC
7640 (feedmail-spray-address-fiddle-plex-list)
7641 (feedmail-queue-use-send-time-for-date)
7642 (feedmail-queue-use-send-time-for-message-id)
7643 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7644 (feedmail-buffer-eating-function):
7645 Doc fixes.
7646 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7647 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7648 (feedmail-message-action-scroll-down): New functions.
7649 (feedmail-queue-directory, feedmail-queue-draft-directory):
7650 Use expand-file-name.
7651 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7652 Remove C-v help entry.
7653 (feedmail-queue-buffer-file-name): New variable.
7654 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7655 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7656 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7657 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7658 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7659 (feedmail-message-action-toggle-spray)
7660 (feedmail-run-the-queue-no-prompts)
7661 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7662 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7663 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7664 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7665 (feedmail-envelope-deducer, feedmail-fiddle-from)
7666 (feedmail-fiddle-sender, feedmail-default-date-generator)
7667 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7668 (feedmail-fiddle-spray-address)
7669 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7670 (feedmail-fiddle-list-of-fiddle-plexes)
7671 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7672 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7673 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7674 Change default. Doc fix.
7675 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7676 (feedmail-binmail-linuxish-template): New constant.
7677 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7678 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7679 (feedmail-send-it): Add debug call.
7680 Use feedmail-queue-buffer-file-name, and
7681 feedmail-send-it-immediately-wrapper.
7682 (feedmail-message-action-send): Add debug call.
7683 Use feedmail-send-it-immediately-wrapper.
7684 (feedmail-queue-express-to-queue): Add debug call.
7685 Run feedmail-queue-express-hook.
7686 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7687 (feedmail-message-action-help-blat):
7688 Rename from feedmail-queue-send-edit-prompt-help-first.
7689 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7690 Check line-endings. Handle errors better.
7691 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7692 Doc fix. Add debug call.
7693 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7694 Use feedmail-queue-send-edit-prompt-inner.
7695 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7696 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7697 from feedmail-queue-send-edit-prompt.
7698 (feedmail-queue-send-edit-prompt-help)
7699 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7700 (feedmail-tidy-up-slug): Add debug call.
7701 Respect feedmail-queue-slug-suspect-regexp.
7702 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7703 (feedmail-dump-message-to-queue): Add debug call.
7704 Expand queue-directory.
7705 (feedmail-dump-message-to-queue): Change message slightly.
7706 Use feedmail-say-chatter.
7707 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7708 (feedmail-send-it-immediately-wrapper): New function.
7709 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7710 Insert empty string rather than newline. Handle full-frame case.
7711 Use catch/throw. Use feedmail-say-chatter.
7712 (feedmail-fiddle-from): Try mail-host-address.
7713 (feedmail-default-message-id-generator): Doc fix.
7714 Bind system-time-locale. Handle missing end.
7715 (feedmail-fiddle-x-mailer): Add debug call.
7716 Handle feedmail-x-mailer-line being nil.
7717 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7718 Add debug call. Use buffer-substring-no-properties.
7719 (feedmail-say-debug, feedmail-say-chatter): New functions.
7720 (feedmail-find-eoh): Give an explicit error.
7721
42c7e61e
UJ
77222011-05-13 Ulf Jasper <ulf.jasper@web.de>
7723
c2571358 7724 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7725 family from helvetica to sans.
c2571358 7726 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7727 etc/images/newsticker.
7728
c2571358 7729 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7730 family from helvetica to sans.
7731
7732 * net/newst-plainview.el (newsticker-new-item-face)
7733 (newsticker-old-item-face, newsticker-immortal-item-face)
7734 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7735 (newsticker-statistics-face): Change default family from
42c7e61e 7736 helvetica to sans.
c2571358 7737 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7738 etc/images/newsticker.
7739
7740 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7741 (newsticker--process-auto-mark-filter-match): : Tell user about
7742 auto-marking.
7743
8497a297
DV
77442011-05-13 Didier Verna <didier@xemacs.org>
7745
7746 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7747 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7748 TODO entries.
8497a297
DV
7749 (lisp-lambda-list-keyword-parameter-indentation)
7750 (lisp-lambda-list-keyword-parameter-alignment)
7751 (lisp-lambda-list-keyword-alignment): New customizable user options.
7752 (lisp-indent-defun-method): Improve docstring.
7753 (extended-loop-p): Fix comment.
7754 (lisp-indent-lambda-list-keywords-regexp): New variable.
7755 (lisp-indent-lambda-list): New function.
7756 (lisp-indent-259): Use it.
7757 (lisp-indent-defmethod): Support for more than one
7758 method qualifier and properly indent methods lambda-lists.
7759 (defgeneric): Provide a missing common-lisp-indent-function property.
7760
f278f87f
SM
77612011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7762
7763 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7764 bounds for the empty string (bug#8667).
7765
5233edd7
GM
77662011-05-13 Glenn Morris <rgm@gnu.org>
7767
5237a44f
GM
7768 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7769
8340026c 7770 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7771 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7772
5233edd7 7773 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7774 (appt-time-msg-list): Doc fix.
a5464014 7775 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7776
92d10796
AS
77772011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7778
7779 * progmodes/ld-script.el (ld-script-keywords)
7780 (ld-script-builtins): Update keywords list.
7781
914a0ae1
SM
77822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7783
c89be45f
SM
7784 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7785
914a0ae1
SM
7786 * shell.el (shell-completion-vars): New function.
7787 (shell-mode):
7788 * simple.el (read-shell-command): Use it.
7789 (blink-matching-open): No need for " [...]" in minibuffer-message.
7790
98dc3df3
GM
77912011-05-12 Glenn Morris <rgm@gnu.org>
7792
7793 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7794 (appt-check): Simplify.
7795
d2fc7e3d 77962011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7797
4d61f28d 7798 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7799 literal "/dev/null".
7800
d2fc7e3d 78012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7802
7803 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7804 Fix typo.
7805
d2fc7e3d 78062011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7807
3f254caa
SM
7808 * progmodes/which-func.el (which-function):
7809 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7810 which might not be defined (Bug#8260).
7811
d45885f7
GM
78122011-05-12 Glenn Morris <rgm@gnu.org>
7813
7814 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7815 Let byte-compile-initial-macro-environment always take precedence.
7816
488086f4
SM
78172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 * net/rcirc.el: Add support for SSL/TLS connections.
7820 (rcirc-server-alist): New field `encryption'.
7821 (rcirc): Check `encryption' settings.
7822 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7823 Merge make-local-variable into `set'.
7824 (rcirc--connection-open-p): New function.
7825 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7826 the process is not a network process (e.g. running gnutls-cli).
7827 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7828 Make rcirc-(en|de)code-coding-system local here.
7829 (rcirc-mode): Merge make-local-variable into `set'.
7830 (rcirc-parent-buffer): Make permanent buffer-local.
7831 (rcirc-multiline-minor-mode): Don't do it here.
7832 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7833 there's no server buffer.
7834
7d3b9d44
GM
78352011-05-11 Glenn Morris <rgm@gnu.org>
7836
f64049c6
GM
7837 * newcomment.el (comment-kill): Prefix "unused" local.
7838
93c9df73
GM
7839 * term/w32console.el (get-screen-color): Declare.
7840
7d3b9d44
GM
7841 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7842 Handle symbol elements of byte-compile-initial-macro-environment.
7843
9e2dd53f
LL
78442011-05-10 Leo Liu <sdl.web@gmail.com>
7845
488086f4
SM
7846 * bookmark.el (bookmark-bmenu-mode-map):
7847 Bind bookmark-bmenu-search to `/'.
8b340240 7848
9e2dd53f 7849 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7850 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7851 (Footnote-unicode): New function.
7852 (footnote-style-alist): Add unicode style to the list.
7853 (footnote-style): Doc fix.
9e2dd53f 7854
79b70037
GM
78552011-05-10 Jim Meyering <meyering@redhat.com>
7856
7857 Fix doubled-word typos.
7858 * international/quail.el (quail-insert-kbd-layout): and and -> and
7859 * kermit.el: and and -> and
7860 * net/ldap.el (ldap-search-internal): to to -> to
7861 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7862 * progmodes/js.el (js-mode): and and -> and
7863 * textmodes/artist.el (artist-move-to-xy): at at -> at
7864 (artist-draw-region-trim-line-endings): if if -> if
7865 And Safetyc -> Safety.
7866 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7867
b8f82dc1 78682011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7869 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7870
7871 * files.el (hack-one-local-variable-eval-safep):
7872 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7873
4f99f44b
GM
78742011-05-10 Glenn Morris <rgm@gnu.org>
7875
7876 * calendar/diary-lib.el (diary-list-entries-hook)
7877 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7878 (diary-nongregorian-marking-hook, diary-list-entries)
7879 (diary-include-other-diary-files, diary-mark-entries)
7880 (diary-mark-included-diary-files): Doc fixes.
7881
84f29e6b
JB
78822011-05-09 Juanma Barranquero <lekktu@gmail.com>
7883
7884 * misc.el: Require tabulated-list.el during compilation.
7885
9bedd73a
CY
78862011-05-09 Chong Yidong <cyd@stupidchicken.com>
7887
488086f4
SM
7888 * progmodes/compile.el (compilation-start):
7889 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7890 (compilation-filter-hook): Doc fix.
7891
797c735c
DD
78922011-05-09 Deniz Dogan <deniz@dogan.se>
7893
7894 * wdired.el: Remove outdated installation comment. Fix usage
7895 comment.
7896
5f4b1dfe
JB
78972011-05-09 Juanma Barranquero <lekktu@gmail.com>
7898
7899 * misc.el: Implement new command `list-dynamic-libraries'.
7900 (list-dynamic-libraries--loaded-only-p): New variable.
7901 (list-dynamic-libraries--refresh): New function.
7902 (list-dynamic-libraries): New command.
7903
4c44026c
CY
79042011-05-09 Chong Yidong <cyd@stupidchicken.com>
7905
488086f4
SM
7906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7907 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7908 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7909 higher priority to avoid clobbering by gnu.
7910
027f966d
CY
79112011-05-08 Chong Yidong <cyd@stupidchicken.com>
7912
7913 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7914 if the face has existing theme settings (Bug#8454).
7915
085f5d7d
CY
79162011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7917
488086f4
SM
7918 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7919 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7920
2a86a00c
RS
7921 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7922 special file names `.' and `..' (Bug#8259).
7923
d9c54a06
CY
79242011-05-08 Chong Yidong <cyd@stupidchicken.com>
7925
488086f4
SM
7926 * progmodes/grep.el (grep-mode-font-lock-keywords):
7927 Remove buffer-changing entries.
d9c54a06
CY
7928 (grep-filter): New function.
7929 (grep-mode): Add it to compilation-filter-hook.
7930
7931 * progmodes/compile.el (compilation-filter-hook)
7932 (compilation-filter-start): New defvars.
7933 (compilation-filter): Call compilation-filter-hook prior to
7934 updating the process mark.
7935
c4662635
SM
79362011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7939
b0512a1d
EZ
79402011-05-07 Eli Zaretskii <eliz@gnu.org>
7941
605c9376
EZ
7942 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7943 mailclient-send-it even if window-system is nil. (Bug#8595)
7944
c4662635
SM
7945 * term/w32console.el (terminal-init-w32console):
7946 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7947 background-mode. (Bug#8597)
7948
d1dc2cc2
SM
79492011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7950
7951 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7952 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7953 New functions.
7954 (defgeneric, eieio--defmethod): Use them.
7955 (eieio-defgeneric): Remove.
7956 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7957
915d1300
GM
79582011-05-07 Glenn Morris <rgm@gnu.org>
7959
a3961c3e
GM
7960 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7961 Use let rather than let*.
7962 (timeclock-find-discrep): Remove unused local.
7963
314347b9
GM
7964 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7965
915d1300
GM
7966 * calendar/appt.el (appt-time-msg-list): Doc fix.
7967
275b59b0
NF
79682011-05-06 Noah Friedman <friedman@splode.com>
7969
7970 * apropos.el (apropos-print-doc): Only use
7971 emacs-lisp-docstring-fill-column when it is bound to an integer,
7972 per that variable's documentation.
7973
6c19f744
SM
79742011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7977 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7978
60f884b2
GM
79792011-05-06 Glenn Morris <rgm@gnu.org>
7980
5006e634
GM
7981 * calendar/appt.el (appt-message-warning-time): Doc fix.
7982 (appt-warning-time-regexp): New option.
7983 (appt-make-list): Respect appt-message-warning-time.
7984
548d0a63
GM
7985 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7986 New options.
7987 (diary-add-to-list): Strip comments from the displayed string.
7988 (diary-mode): Set comment-start and comment-end.
7989
60f884b2
GM
7990 * vc/diff-mode.el (smerge-refine-subst): Declare.
7991 (diff-refine-hunk): Don't require smerge-mode when compiling.
7992
989681bb
JB
79932011-05-06 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * simple.el (list-processes): Return nil as the docstring says.
7996
a6bc05e1
MA
79972011-05-05 Michael Albinus <michael.albinus@gmx.de>
7998
7999 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8000 to "".
8001 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8002 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8003 determining of binary transfer. (Bug#7383)
8004
23c22e9a
MA
80052011-05-05 Michael Albinus <michael.albinus@gmx.de>
8006
c4662635
SM
8007 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8008 Fix port computation bug. (Bug#8618)
23c22e9a 8009
0bff894f
GM
80102011-05-05 Glenn Morris <rgm@gnu.org>
8011
b8296902
GM
8012 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8013
1f522ce8
GM
8014 * simple.el (shell-dynamic-complete-functions)
8015 (comint-dynamic-complete-functions): Declare.
8016
cf5bee67
GM
8017 * net/network-stream.el (gnutls-negotiate):
8018 * simple.el (tabulated-list-print): Fix declarations.
8019
8020 * progmodes/gud.el (syntax-symbol, syntax-point):
8021 Remove unnecessary and incorrect declarations.
8022
0bff894f
GM
8023 * emacs-lisp/check-declare.el (check-declare-scan):
8024 Handle byte-compile-initial-macro-environment in bytecomp.el
8025
9869b3ae
SM
80262011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 Fix earlier half-done eieio-defmethod change (bug#8338).
8029 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8030 Streamline and change calling convention.
8031 (defmethod): Adjust accordingly and simplify.
8032 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8033 new eieio--defmethod.
8034 (slot-boundp): Minor CSE simplification.
8035
9c1d5ac5
MZ
80362011-05-05 Milan Zamazal <pdm@zamazal.org>
8037
8038 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8039 (glasses-make-readable): Use glasses-separate-capital-groups.
8040
455c834e
JB
80412011-05-05 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8044 (warning-series): Doc fix.
8045 (display-warning): Don't try to create the buffer if we just found it.
8046
9ed7c8cb
CY
80472011-05-04 Chong Yidong <cyd@stupidchicken.com>
8048
8049 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8050 (autoload-find-generated-file): New function.
8051 (generate-file-autoloads): Bind generated-autoload-file to
8052 buffer-file-name.
9869b3ae
SM
8053 (update-file-autoloads, update-directory-autoloads):
8054 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8055 output file (Bug#7989).
8056 (batch-update-autoloads): Doc fix.
8057
0898ca10
JB
80582011-05-04 Juanma Barranquero <lekktu@gmail.com>
8059
8060 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8061
31dfb76c
GM
80622011-05-04 Glenn Morris <rgm@gnu.org>
8063
f330b642
GM
8064 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8065 function, so it follows changes in calendar-date-style.
8066 (diary-fancy-date-matcher): New function.
8067 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8068 (diary-fancy-font-lock-fontify-region-function):
8069 Use diary-fancy-date-pattern as a function.
8070
31dfb76c
GM
8071 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8072 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8073
48e79d6a
TZ
80742011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8075
8076 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8077 instead of positional arguments. Allow :keylist and :crlfiles
8078 arguments.
8079 (open-gnutls-stream): Call it.
8080
8081 * net/network-stream.el (network-stream-open-starttls): Adjust to
8082 call `gnutls-negotiate' with :process and :hostname arguments.
8083
dd5a5ee0
SM
80842011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8085
ef80fc09
SM
8086 * minibuffer.el (completion--message): New function.
8087 (completion--do-completion, minibuffer-complete)
8088 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8089 (completion--do-completion): Don't ignore completion-auto-help when in
8090 icomplete-mode.
8091
dd5a5ee0
SM
8092 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8093 internal encoding (e.g. tibetan zero is not whitespace).
8094 (global-whitespace-mode): Prefer save-current-buffer.
8095 (whitespace-trailing-regexp): Remove useless save-match-data.
8096 (whitespace-empty-at-bob-regexp): Minor simplification.
8097
b7d22a83
CY
80982011-05-03 Chong Yidong <cyd@stupidchicken.com>
8099
8100 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8101
5192af46
AM
81022011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8103
8104 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8105 Use `concat' to create string for insertion.
5192af46 8106
5767d190
SM
81072011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8110 Avoid open-line which runs post-self-insert-hook.
8111 (bibtex-fill-entry): Remove unused `end' var.
8112
bf242939
AM
81132011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8114
5767d190
SM
8115 * textmodes/ispell.el (ispell-add-per-file-word-list):
8116 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8117
25666126
LL
81182011-05-03 Leo Liu <sdl.web@gmail.com>
8119
8120 * isearch.el (isearch-yank-pop): New command.
5767d190 8121 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8122 (isearch-forward): Mention it.
8123
52d3c2d0
SM
81242011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8125
1bcace58
SM
8126 * simple.el (minibuffer-complete-shell-command): Remove.
8127 (minibuffer-local-shell-command-map): Use completion-at-point.
8128 (read-shell-command): Setup completion vars here instead.
8129 (read-expression-map): Bind TAB to symbol completion.
8130
52d3c2d0
SM
8131 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8132 error directly rather via storing it into `results'.
8133
35813471
LL
81342011-05-02 Leo Liu <sdl.web@gmail.com>
8135
8136 * vc/diff.el: Fix description.
8137
e793a940
LMI
81382011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8139
8140 * server.el (server-eval-at): New function.
8141
8de66e05
LMI
81422011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8143
8144 * net/network-stream.el (open-network-stream): Take a :nowait
8145 parameter and pass it on to `make-network-process'.
8146 (network-stream-open-plain): Ditto.
8147
dcb79f20
AS
81482011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8149
8150 * faces.el (face-spec-set-match-display): Don't match toolkit
8151 options on terminal frames.
8152
14a7fbd8
SM
81532011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8154
7eabc1be
SM
8155 * progmodes/pascal.el: Use lexical binding.
8156 (pascal-mode-map): Remove author preferences.
8157
14a7fbd8
SM
8158 * pcomplete.el (pcomplete-std-complete): Don't abuse
8159 completion-at-point.
8160
50f84510
JB
81612011-04-28 Juanma Barranquero <lekktu@gmail.com>
8162
6e087a44
JB
8163 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8164 removing code that has been dead since 1991 or so.
8165
50f84510
JB
8166 * startup.el (command-line): When warning about "_emacs", use a
8167 delayed warning to allow the user to filter it out.
8168
0ba690bd
DD
81692011-04-28 Deniz Dogan <deniz@dogan.se>
8170
8171 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8172 user has not joined.
8173
08abfaad
SM
81742011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8177 aren't any completions at point.
8178
638f053a
JB
81792011-04-28 Juanma Barranquero <lekktu@gmail.com>
8180
8181 * subr.el (display-delayed-warnings): New function.
8182 (delayed-warnings-hook): New variable.
8183
8fff8daa
SM
81842011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8185
08abfaad
SM
8186 * minibuffer.el (completion-at-point, completion-help-at-point):
8187 Don't presume that a given completion-at-point-function will always
8188 use the same calling convention.
8189
8fff8daa
SM
8190 * pcomplete.el (pcomplete-completions-at-point):
8191 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8192 pcomplete-seen is non-nil.
8193 (pcomplete-comint-setup): Also recognize the new comint/shell
8194 completion functions.
8195 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8196 pcomplete-seen is non-nil.
8197
841a1577 81982011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8199
841a1577 8200 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8201 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8202 the first character in the entry. This allows for code to add its
211ec907
UJ
8203 own uid to the entry.
8204 (icalendar--convert-float-to-ical): Add export of
8205 `diary-float'-entries save for those with the optional DAY
8206 argument.
8207
2a782793
DC
82082011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8209
8210 * subr.el (shell-quote-argument): Use alternate escaping strategy
8211 when we spot a variable reference in a string.
8212
0438ce91
DC
82132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8214
8215 * cus-start.el (all): Define customization for debug-on-event.
8216
841a1577 82172011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8218
8219 * subr.el (shell-quote-argument): Escape correctly under Windows.
8220
d090ed6c
SM
82212011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8224
bfd31217
MA
82252011-04-25 Michael Albinus <michael.albinus@gmx.de>
8226
d090ed6c
SM
8227 * net/tramp.el (tramp-process-actions): Add POS argument.
8228 Delete region between POS and (pos).
bfd31217 8229
d090ed6c
SM
8230 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8231 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8232 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8233
8234 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8235 position in `tramp-process-actions' call.
8236
8237 * net/trampver.el: Update release number.
8238
e92f3bd3
SM
82392011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8240
850256b5
SM
8241 * custom.el (defcustom): Obey lexical-binding.
8242
e92f3bd3
SM
8243 Fix octave-inf completion problems reported by Alexander Klimov.
8244 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8245 Inherit from octave-mode-syntax-table.
8246 (inferior-octave-mode): Set info-lookup-mode.
8247 (inferior-octave-completion-at-point): New function.
8248 (inferior-octave-complete): Use it and completion-in-region.
8249 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8250 comint-filename-completion.
8251 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8252 symbol elements which shouldn't be word elements.
8253 (octave-font-lock-keywords, octave-beginning-of-defun)
8254 (octave-function-header-regexp): Adjust regexps accordingly.
8255 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8256
cd22b309
JB
82572011-04-25 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * net/gnutls.el (gnutls-errorp): Declare before first use.
8260
8b492194
TZ
82612011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8262
8263 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8264 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8265 default trustfile exists before going to use it. Add missing
5a5fa834 8266 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8267 Reported by Claudio Bley <claudio.bley@gmail.com>.
8268 (open-gnutls-stream): Add usage example.
8269
8270 * net/network-stream.el (network-stream-open-starttls): Give host
8271 parameter to `gnutls-negotiate'.
8272 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8273 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8274
841a1577 82752011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8276
cd22b309
JB
8277 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8278 Use correct match group (bug#8438).
05842630 8279
3ba7869c
CY
82802011-04-24 Chong Yidong <cyd@stupidchicken.com>
8281
512e3ae1
CY
8282 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8283 (package-menu--generate): New arg specifying packages to show.
8284 (package-menu-refresh, package-menu-execute, list-packages):
8285 Callers changed.
8286 (package-show-package-list): New function, replacing deleted
8287 package--list-packages (renamed because it is non-internal).
8288
8289 * finder.el (finder-list-matches): Use package-show-package-list
8290 instead of deleted package--list-packages.
8291
e92f3bd3
SM
8292 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8293 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8294 (vc-annotate-mode-map): Bind it to RET.
8295
7031be6d
UR
82962011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8297
8298 * progmodes/etags.el (next-file): Don't use set-buffer to change
8299 buffers (Bug#8478).
8300
4ef177aa
CY
83012011-04-24 Chong Yidong <cyd@stupidchicken.com>
8302
c8d173eb
CY
8303 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8304
4ef177aa
CY
8305 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8306 (apropos-accumulator): Doc fix.
8307 (apropos-function, apropos-macro, apropos-command)
8308 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8309 (apropos-plist): Add face property.
8310 (apropos-symbols-internal): Fix indentation.
8311 (apropos-print): Simplify help, and recognize apropos-multi-type.
8312 (apropos-print-doc): Use button-type-get to extract the button's
8313 face property. Fill docstring (Bug#8352).
8314
4ffd0d6b 83152011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8316
8317 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8318
c6c32125 8319 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8320 (mpuz-mode-map): Use mapc.
c6c32125
JB
8321 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8322 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8323 Fix typos in docstrings.
8324
58d468b4
JB
8325 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8326 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8327
6470c3c6
JB
8328 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8329
4ffd0d6b 83302011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8331
8332 * minibuffer.el (completion--do-completion): Avoid the "Next char
8333 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8334
3ad8bad0
CY
8335 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8336 mouse-2 into unread-command-events, it is interpreted correctly.
8337
71d73c9c 8338 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8339 (image-toggle-display): Doc fix.
71d73c9c 8340
841a1577 83412011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8342
4ffd0d6b
GM
8343 * textmodes/page.el (what-page): Use line-number-at-pos to
8344 calculate line number (Bug#6825).
6e1dbaa9 8345
c2fb1b60
JB
83462011-04-22 Juanma Barranquero <lekktu@gmail.com>
8347
8348 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8349 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8350 Pass argument NO-DEFAULT to `find-tag-interactive'.
8351
e02f48d7
JB
83522011-04-22 Juanma Barranquero <lekktu@gmail.com>
8353
8354 Lexical-binding cleanup.
8355
8356 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8357 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8358 * progmodes/ada-prj.el (ada-prj-initialize-values)
8359 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8360 (ada-prj-show-value):
8361 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8362 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8363 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8364 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8365 * progmodes/bug-reference.el (bug-reference-push-button):
8366 * progmodes/fortran.el (fortran-line-length):
8367 * progmodes/glasses.el (glasses-change):
8368 * progmodes/octave-mod.el (octave-fill-paragraph):
8369 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8370 (python-pdbtrack-grub-for-buffer, python-sentinel):
8371 * progmodes/sql.el (sql-save-connection):
8372 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8373 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8374 Mark unused parameters.
8375
8376 * progmodes/compile.el (compilation--flush-directory-cache)
8377 (compilation--flush-parse, compile-internal): Mark unused parameters.
8378 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8379 (compilation-next-error-function): Remove unused variable `timestamp'.
8380
8381 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8382 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8383
8384 * progmodes/dcl-mode.el (dcl-end-of-command):
8385 Remove unused variable `start'.
8386 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8387 (dcl-option-value-basic, dcl-option-value-offset)
8388 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8389 Mark unused parameters.
8390 (dcl-save-local-variable): Remove unused variable `val'.
8391 (mode): Declare.
8392
8393 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8394 Mark unused parameters.
8395 (delphi-ignore-changes): Move before first use.
8396 (delphi-charset-token-at): Remove unused variable `start'.
8397 (delphi-else-start): Remove unused variable `if-count'.
8398 (delphi-comment-block-start, delphi-comment-block-end):
8399 Remove unused variable `kind'.
8400 (delphi-indent-line): Remove unused variable `new-point'.
8401
8402 * progmodes/ebrowse.el (ebrowse-files-list)
8403 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8404 Mark unused parameters. Don't quote `lambda'.
8405 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8406 Don't quote `lambda'.
8407 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8408 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8409 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8410 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8411 Use `ignore-errors'.
8412 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8413 (ebrowse-view/find-file-and-search-pattern)
8414 (ebrowse-view/find-member-declaration/definition):
8415 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8416 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8417 Rename parameter PREFIX-ARG to PREFIX.
8418 (ebrowse-tags-read-name): Remove unused variables `start' and
8419 `member-info'.
8420 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8421 to `tags-file'.
8422
8423 * progmodes/etags.el (local-find-tag-hook): Declare.
8424 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8425 Mark unused parameters.
8426
8427 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8428 (executable-interpret): Mark unused parameter.
8429
8430 * progmodes/flymake.el (flymake-process-sentinel)
8431 (flymake-after-change-function)
8432 (flymake-create-temp-with-folder-structure)
8433 (flymake-get-include-dirs-dot): Mark unused parameters.
8434 (flymake-safe-delete-directory): Remove unused variable `err'.
8435
8436 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8437 (speedbar-timer-fn, speedbar-line-text)
8438 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8439 (speedbar-center-buffer-smartly): Declare functions.
8440 (gdb-find-watch-expression): Remove unused variable `array'.
8441 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8442 (gdb-starting): Mark unused parameters.
8443 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8444 (gdb-table-string): Remove unused variable `res'.
8445 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8446 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8447 (gdb-display-buffer): Remove unused variable `cur-size'.
8448
8449 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8450 allow lexical-binding compilation.
8451 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8452 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8453 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8454 Mark unused parameters.
8455 (gud-gdb-marker-filter): Remove unused variable `match'.
8456 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8457 lambda expressions and funcall them, instead of using `fset'.
8458
8459 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8460 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8461
8462 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8463 variable `header-beg'; use `let'.
8464
8465 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8466 `restart', `last-sexp' and `at-do'.
8467
8468 * progmodes/js.el (js--debug): Mark unused parameter.
8469 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8470 (js--splice-into-items): Remove unused variable `item'.
8471 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8472
8473 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8474 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8475 (makefile-complete): Remove unused variable `try'.
8476 (makefile-fill-paragraph, makefile-match-function-end):
8477 Mark unused parameters.
8478
8479 * progmodes/octave-inf.el (inferior-octave-complete):
8480 Remove unused variable `proc'.
8481 (inferior-octave-output-digest): Mark unused parameter.
8482
8483 * progmodes/perl-mode.el (perl-calculate-indent):
8484 Remove unused variable `err'.
8485
8486 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8487 (prolog-indent-line): Mark unused parameters.
8488 (prolog-indent-line): Remove unused variable `beg'.
8489
8490 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8491 (reporter-dont-compact-list): Declare.
8492
8493 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8494 Remove unused variable `char'.
8495 (sh-debug): Mark unused parameter.
8496 (sh-get-indent-info): Remove unused variable `start'.
8497 (sh-calculate-indent): Remove unused variable `var'.
8498
8499 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8500 (simula-electric-keyword): Remove unused variable `null'.
8501 (simula-search-backward, simula-search-forward): Remove unused
8502 variables `begin' and `end'.
8503
8504 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8505 Remove unused variable `pos'.
8506 (vera-electric-tab, vera-comment-uncomment-region):
8507 Mark unused parameters.
8508 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8509
7ede3b65
CY
85102011-04-22 Chong Yidong <cyd@stupidchicken.com>
8511
8512 * emacs-lisp/package.el (package--builtins, package-alist)
8513 (package-load-descriptor, package-built-in-p, package-activate)
8514 (define-package, package-installed-p)
8515 (package-compute-transaction, package-buffer-info)
8516 (package--push): Doc fix. Distinguish more clearly between
8517 version strings and version lists.
8518
121656e9
JB
85192011-04-21 Juanma Barranquero <lekktu@gmail.com>
8520
8521 Lexical-binding cleanup.
8522
8523 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8524 (5x5-make-mutate-best):
8525 * play/fortune.el (fortune-in-buffer):
8526 * play/gomoku.el (gomoku-init-display):
8527 * play/solitaire.el (solitaire, solitaire-do-check):
8528 * play/tetris.el (tetris-default-update-speed-function):
8529 Mark unused parameters.
8530
8531 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8532 (bubbles--shift): Remove unused variable `char-org'.
8533 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8534 (bubbles--show-images): Remove unused variable `char'.
8535
8536 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8537 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8538 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8539 (decipher-analyze-buffer): Use ?\s.
8540 (decipher-make-checkpoint): Remove unused variable `mapping'.
8541
8542 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8543
8544 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8545 Remove unused variable `result'; use `let'.
8546
8547 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8548 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8549 (gametree-children-shown-p, gametree-compute-reduced-score):
8550 Use `ignore-errors'.
8551
8552 * play/handwrite.el (ps-lpr-switches): Declare.
8553 (handwrite): Remove unused variables `pmin' and `lastp'.
8554
8555 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8556
8557 * play/landmark.el (landmark-init-display)
8558 (landmark-update-naught-weights): Mark unused parameters.
8559 (landmark-y): Remove unused variable `noise'. Simplify.
8560 (landmark-human-plays): Remove unused variable `score'.
8561
8562 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8563 (mpuz-try-proposal): Remove unused variable `game'.
8564
8565 * play/zone.el (life-patterns): Declare.
8566
80f499c7
JB
85672011-04-20 Juanma Barranquero <lekktu@gmail.com>
8568
8569 * vc/vc.el (ediff-vc-internal): Declare function.
8570
024ff170
SM
85712011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8572
c0a193ea
SM
8573 * shell.el: Use lexical-binding and std completion UI.
8574 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8575 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8576 comint-preoutput-filter-functions rather than on
8577 comint-output-filter-functions.
8578 (shell-command-completion, shell--command-completion-data)
8579 (shell-filename-completion, shell-environment-variable-completion)
8580 (shell-c-a-p-replace-by-expanded-directory): New functions.
8581 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8582 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8583 (shell-dynamic-complete-environment-variable): Use them.
8584 (shell-dynamic-complete-as-environment-variable)
8585 (shell-dynamic-complete-as-command): Remove.
8586 (shell-match-partial-variable): Match past point.
8587 * comint.el: Clean up use of completion-at-point-functions.
8588 (comint-completion-at-point): New function.
8589 (comint-mode): Use it completion-at-point-functions.
8590 (comint-dynamic-complete): Make it obsolete.
8591 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8592 (comint-c-a-p-replace-by-expanded-history): New function.
8593 (comint-dynamic-complete-functions)
8594 (comint-replace-by-expanded-history): Use it.
8595 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8596 termination strings. Try harder to avoid second try-completion.
8597 (completion-in-region-mode-map): Disable bindings that don't work yet.
8598
2dbaa080
SM
8599 * comint.el: Use lexical-binding. Require CL.
8600 (comint-dynamic-complete-functions): Use comint-filename-completion.
8601 (comint-completion-addsuffix): Tweak custom type.
8602 (comint-filename-completion, comint--common-suffix)
8603 (comint--common-quoted-suffix, comint--table-subvert)
8604 (comint--complete-file-name-data): New functions.
8605 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8606 (comint-dynamic-list-filename-completions): Use them.
8607 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8608
2dbaa080
SM
8609 * minibuffer.el (completion-in-region-mode):
8610 Keep completion-in-region-mode--predicate global.
8611 (completion-in-region--postch):
8612 Assume completion-in-region-mode--predicate is not null.
8613
c79a6f38
SM
8614 * progmodes/flymake.el (flymake-start-syntax-check-process):
8615 Obey `dir'. Simplify.
8616
024ff170
SM
8617 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8618 we're in VC after all.
8619
1c6c854e
CS
86202011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8621
8622 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8623 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8624 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8625
bed7f140
SM
86262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8627
332e62ab
SM
8628 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8629 add sanity check.
8630
bed7f140
SM
8631 * obsolete/erc-hecomplete.el: Make obsolete.
8632 * obsolete/: Standardize obsolescence info in the header.
8633
f195c582
GM
86342011-04-20 Glenn Morris <rgm@gnu.org>
8635
8636 * calendar/solar.el (solar-horizontal-coordinates):
8637 Use the longitude argument rather than `calendar-longitude'.
8638 (solar-date-next-longitude): Remove unused locals.
8639
cb79b8c0
VJL
86402011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8641
8642 * whitespace.el: New version 13.2.1.
8643
86442011-04-20 felix <EmacsWiki> (tiny change)
8645
d8e4b68b 8646 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8647 switching between major modes on a file.
8648
602ea69d
SM
86492011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8652 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8653 multi-line comments as well.
8654
06b60517
JB
86552011-04-19 Juanma Barranquero <lekktu@gmail.com>
8656
8657 Lexical-binding cleanup.
8658
8659 * arc-mode.el (archive-mode-revert):
8660 * cmuscheme.el (scheme-interactively-start-process):
8661 * custom.el (custom-initialize-delay):
8662 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8663 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8664 * emacs-lock.el (emacs-lock-clear-sentinel):
8665 * ezimage.el (defezimage):
8666 * follow.el (follow-avoid-tail-recenter):
8667 * fringe.el (set-fringe-mode-1):
8668 * generic-x.el (bat-generic-mode-compile):
8669 * help-mode.el (help-info-variable, help-do-xref)
8670 (help-mode-revert-buffer):
8671 * help.el (view-emacs-todo):
8672 * iswitchb.el (iswitchb-completion-help):
8673 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8674 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8675 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8676 * locate.el (locate-update):
8677 * longlines.el (longlines-encode-region)
8678 (longlines-after-change-function):
8679 * outline.el (outline-isearch-open-invisible):
8680 * ps-def.el (declare-function, charset-dimension, char-width)
8681 (encode-char):
8682 * ps-mule.el (ps-mule-plot-string):
8683 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8684 (recentf-edit-list-select, recentf-edit-list-validate)
8685 (recentf-open-files-action):
8686 * rect.el (delete-whitespace-rectangle-line)
8687 (rectangle-number-line-callback):
8688 * register.el (window-configuration-to-register)
8689 (frame-configuration-to-register):
8690 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8691 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8692 (xselect-convert-to-targets, xselect-convert-to-delete)
8693 (xselect-convert-to-filename, xselect-convert-to-charpos)
8694 (xselect-convert-to-lineno, xselect-convert-to-colno)
8695 (xselect-convert-to-os, xselect-convert-to-host)
8696 (xselect-convert-to-user, xselect-convert-to-class)
8697 (xselect-convert-to-name, xselect-convert-to-integer)
8698 (xselect-convert-to-atom, xselect-convert-to-identity):
8699 * subr.el (declare, ignore, process-kill-without-query)
8700 (text-clone-maintain):
8701 * terminal.el (te-get-char, te-tic-sentinel):
8702 * tool-bar.el (tool-bar-make-keymap):
8703 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8704 * type-break.el (type-break-mode, type-break-noninteractive-query):
8705 * view.el (View-back-to-mark):
8706 * wid-browse.el (widget-browse-action, widget-browse-widget)
8707 (widget-browse-widgets, widget-browse-sexp):
8708 * widget.el (define-widget-keywords):
8709 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8710 Mark unused parameters.
8711
8712 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8713 (align-areas): Remove unused variable `look'.
8714 (align-region): Remove unused variables `real-end' and `pos-list'.
8715
8716 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8717
8718 * bindings.el (mode-line-modified, mode-line-remote):
8719 Mark unused parameters.
8720 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8721
8722 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8723 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8724
8725 * comint.el (comint-history-isearch-pop-state)
8726 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8727 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8728 (comint-substitute-in-file-name): Doc fix.
8729
8730 * completion.el (cmpl-statistics-block): Mark unused parameter.
8731 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8732 (save-completions-to-file, load-completions-from-file):
8733 Remove unused local variable `e'.
8734
8735 * composite.el (compose-chars): Remove unused variable `len'.
8736 (lgstring-insert-glyph): Remove unused variable `g'.
8737 (compose-glyph-string): Remove unused variables `ascent',
8738 `descent', `lbearing' and `rbearing'.
8739 (compose-glyph-string-relative): Remove unused variables
8740 `lbearing', `rbearing' and `wadjust'.
8741 (compose-gstring-for-graphic): Remove unused variables `header',
8742 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8743 (compose-gstring-for-terminal): Remove unused variables `header'
8744 and `nchars'. Use `let', not `let*'.
8745
8746 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8747 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8748 (Custom-buffer-done, custom-buffer-create-internal)
8749 (custom-browse-visibility-action, custom-browse-group-tag-action)
8750 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8751 (widget-magic-mouse-down-action, custom-toggle-parent)
8752 (custom-add-parent-links, custom-toggle-hide-variable)
8753 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8754 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8755 (custom-face-menu-create, custom-variable-menu-create, get)
8756 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8757 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8758 (customize-apropos): Remove unused variable `tests'.
8759 (custom-group-value-create): Remove unused variable `hidden-p'.
8760 (sort-fold-case): Declare.
8761
8762 * cus-theme.el (custom-reset-standard-faces-list)
8763 (custom-reset-standard-variables-list): Declare.
8764 (customize-create-theme, custom-theme-revert, custom-theme-write)
8765 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8766 Mark unused parameters.
8767
8768 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8769
8770 * delim-col.el (delimit-columns-max): Move defvar before first use.
8771
8772 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8773 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8774
8775 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8776 (auto-insert): Declare.
8777 (desktop-restore-file-buffer): Rename desktop-* parameters;
8778 mark unused ones.
8779 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8780 (desktop-buffer): Rename desktop-* parameters.
8781
8782 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8783 (dframe-reposition-frame-xemacs, dframe-help-echo)
8784 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8785 Mark unused parameters.
8786
8787 * dired-aux.el (backup-extract-version-start, overwrite-query)
8788 (overwrite-backup-query, rename-regexp-query)
8789 (rename-non-directory-query): Declare.
8790 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8791 (dired-add-entry): Remove unused variable `orig-file-name'.
8792 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8793 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8794 `dired-copy-preserve-time' directly.
8795 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8796 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8797
8798 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8799 (dired-virtual-revert, dired-make-relative-symlink):
8800 Mark unused parameters.
8801 (manual-program): Declare.
8802 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8803 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8804 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8805
8806 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8807
8808 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8809
8810 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8811 Declare.
8812
8813 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8814
8815 * electric.el (Electric-command-loop): Rename parameter
8816 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8817
8818 * expand.el (expand-in-literal): Remove unused variable `here'.
8819
8820 * facemenu.el (facemenu-add-new-color):
8821 Remove unused variable `docstring'.
8822
8823 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8824 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8825 (face-attr-construct): Mark unused parameter. Doc fix.
8826 (read-color): Remove unused variable `hex-string'.
8827
8828 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8829 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8830 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8831 (display-buffer-other-frame): Remove unused variable `old-window'.
8832 (kill-buffer-hook): Declare.
8833 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8834 Mark unused parameters.
8835 (after-find-file): Pass 1 to `auto-save-mode', not t.
8836
8837 * files-x.el (auto-insert): Declare.
8838 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8839
8840 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8841 variable `buf'. Mark unused parameter.
06b60517
JB
8842 (find-lisp-insert-directory): Mark unused parameter.
8843
8844 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8845 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8846 (format-common-tail): Remove, unused.
8847 (format-deannotate-region): Remove unused variable `loc'.
8848 (format-annotate-region): Remove unused variable `p'.
8849 (format-annotate-single-property-change): Remove unused variables
8850 `default' and `tail'.
8851
8852 * forms.el (read-file-filter): Declare.
8853 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8854
8855 * frame.el (frame-creation-function-alist): Mark unused parameter.
8856 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8857
8858 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8859 Remove unused parameters.
8860 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8861 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8862
8863 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8864 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8865 (hfy-prepare-tag-map): Mark unused parameters.
8866 (htmlfontify-buffer): Use `called-interactively-p'.
8867
8868 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8869 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8870 (ibuffer-do-occur): Mark unused parameters.
8871 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8872 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8873
8874 * ibuffer.el: Don't quote `lambda'.
8875 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8876 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8877 Mark unused parameters.
8878
8879 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8880 (ido-completing-read): Mark unused parameters.
8881 (ido-copy-current-word): Mark unused parameters;
8882 remove unused variable `name'.
8883 (ido-sort-merged-list): Remove unused parameter `dirs'.
8884
8885 * ielm.el (ielm-input-sender): Mark unused parameter.
8886 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8887 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8888 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8889 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8890 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8891
8892 * image-dired.el (image-dired-display-thumbs): Remove unused
8893 variables `curr-file' and `count'.
8894 (image-dired-remove-tag): Remove unused variable `start'.
8895 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8896 variable `curr-file'
8897 (image-dired-rotate-original): Remove unused variable `temp-file'.
8898 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8899 Remove unused variable `file'.
8900 (image-dired-gallery-generate): Remove unused variable `curr'.
8901 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8902
8903 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8904
8905 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8906
8907 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8908
8909 * isearch.el (minibuffer-history-symbol): Declare.
8910 (isearch-edit-string): Remove unused variable `err'.
8911 (isearch-message-prefix, isearch-message-suffix):
8912 Mark unused parameters.
8913
8914 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8915
8916 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8917
8918 * makesum.el (double-column): Remove unused variable `cnt'.
8919
8920 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8921 (ido-ignore-item-temp-list): Declare.
8922
8923 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8924 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8925 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8926 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8927 `mouse-col-delta'.
8928
8929 * mouse-sel.el (mouse-extend-internal):
8930 Remove unused variable `orig-window-frame'.
8931
8932 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8933 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8934 Move declarations before first use.
8935 (pcomplete-opt): Mark unused parameters; doc fix.
8936
8937 * proced.el (proced-revert): Mark unused parameter.
8938 (proced-send-signal): Remove unused variable `err'.
8939
8940 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8941 Rename parameter PREFIX-ARG to ARG.
8942 (ps-basic-plot-string, ps-basic-plot-whitespace):
8943 Mark unused parameters.
8944
8945 * replace.el (replace-count): Define.
8946 (occur-revert-function): Mark unused parameters.
8947 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8948 (isearch-case-fold-search, isearch-string): Declare.
8949 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8950 bind `case-fold-search'. Remove unused variables `beg' and `end',
8951 and simplify.
8952 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8953 COUNT and bind `replace-count'.
8954 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8955 to COUNT.
8956
8957 * savehist.el (print-readably, print-string-length): Declare.
8958
8959 * shadowfile.el (shadow-expand-cluster-in-file-name):
8960 Remove unused variable `cluster'.
8961 (shadow-copy-file): Remove unused variable `i'.
8962 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8963 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8964 (shadow-define-literal-group, shadow-define-regexp-group)
8965 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8966
8967 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8968 (shell): Use `called-interactively-p'.
8969 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8970
8971 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8972 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8973 (delete-backward-char): Remove unused variable `ocol'.
8974 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8975 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8976 (event-apply-hyper-modifier, event-apply-shift-modifier)
8977 (event-apply-control-modifier, event-apply-meta-modifier):
8978 Mark unused parameters.
8979 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8980 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8981
8982 * speedbar.el (speedbar-ignored-directory-expressions)
8983 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8984 (speedbar-find-file, speedbar-dir-follow)
8985 (speedbar-directory-buttons-follow, speedbar-tag-find)
8986 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8987 (speedbar-buffers-line-directory, speedbar-buffer-click):
8988 Mark unused parameters.
8989 (speedbar-tag-file): Remove unused variable `mode'.
8990 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8991
8992 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8993
8994 * talk.el (talk): Remove unused variable `display'.
8995
8996 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8997 (tar-write-region-annotate): Mark unused parameter.
8998
8999 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9000 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9001 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9002 warning by another.
9003
9004 * time-stamp.el (time-stamp-string-preprocess):
9005 Remove unused variable `require-padding'.
9006
9007 * tree-widget.el (widget-glyph-enable): Declare.
9008 (tree-widget-action): Mark unused parameter.
9009
9010 * w32-fns.el (x-get-selection): Mark unused parameter.
9011 (autoload-make-program, generated-autoload-file): Declare.
9012
9013 * wdired.el (wdired-revert): Mark unused parameters.
9014 (wdired-xcase-word): Remove unused variable `err'.
9015
9016 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9017 (whitespace-help-scroll): Remove unused variable `data-help'.
9018
9019 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9020 (widget-image-insert, widget-after-change, default)
9021 (widget-default-format-handler, widget-default-notify)
9022 (widget-default-prompt-value, widget-info-link-action)
9023 (widget-url-link-action, widget-function-link-action)
9024 (widget-variable-link-action, widget-file-link-action)
9025 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9026 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9027 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9028 (widget-insert-button-action, widget-delete-button-action, visibility)
9029 (widget-documentation-link-action, widget-documentation-string-action)
9030 (widget-const-prompt-value, widget-regexp-match, symbol)
9031 (widget-coding-system-prompt-value)
9032 (widget-key-sequence-value-to-external, sexp)
9033 (widget-sexp-value-to-internal, character, vector, cons)
9034 (widget-choice-prompt-value, widget-boolean-prompt-value)
9035 (widget-color--choose-action): Mark unused parameters.
9036 (widget-item-match-inline, widget-choice-match-inline)
9037 (widget-checklist-match, widget-checklist-match-inline)
9038 (widget-group-match): Rename parameter VALUES to VALS.
9039 (widget-field-value-set): Remove unused variable `size'.
9040 (widget-color-action): Remove unused variables `value' and `start'.
9041
9042 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9043 variable `dir'. Doc fix.
06b60517
JB
9044 (windmove-find-other-window): Don't pass it.
9045
9046 * window.el (count-windows): Mark unused parameter.
9047 (bw-adjust-window): Remove unused variable `err'.
9048
9049 * woman.el (woman-file-name): Remove unused variable `default'.
9050 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9051 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9052 (global-font-lock-mode): Declare.
9053 (woman-decode-region): Mark unused parameter.
9054 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9055
9056 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9057 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9058 (x-dnd-handle-moz-url): Remove unused variable `title'.
9059 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9060
9061 * xml.el (xml-parse-tag, xml-parse-attlist):
9062 Remove unused variable `pos'.
9063
bc4f7f3d
GM
90642011-04-19 Glenn Morris <rgm@gnu.org>
9065
9066 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9067 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9068 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9069 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9070 * calendar/cal-html.el (cal-html-insert-minical):
9071 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9072 (calendar-mark-date-pattern):
9073 Prefix "unused" locals.
9074
9075 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9076 optional argument `style'.
9077
9078 * calendar/appt.el (appt-make-list):
9079 * calendar/cal-china.el (calendar-chinese-date-string):
9080 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9081 (diary-hebrew-yahrzeit):
9082 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9083 * calendar/calendar.el (calendar-generate-window):
9084 * calendar/time-date.el (time-to-days):
9085 Remove unused local variables.
9086
16a43933
CY
90872011-04-18 Chong Yidong <cyd@stupidchicken.com>
9088
9089 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9090 glyphless-char-display table.
9091 (tabulated-list-glyphless-char-display): New var.
9092
7eed1860
SS
90932011-04-18 Sam Steingold <sds@gnu.org>
9094
9095 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9096 to acknowledgments.
9097
4d2d1ccd
GM
90982011-04-17 Glenn Morris <rgm@gnu.org>
9099
9100 * calendar/diary-lib.el (diary-sexp-entry):
9101 * calendar/holidays.el (holiday-sexp):
9102 Set debug-on-error rather than the removed stack-trace-on-error.
9103
239da61d
GM
91042011-04-16 Glenn Morris <rgm@gnu.org>
9105
9106 * progmodes/f90.el: Use lexical-binding.
9107 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9108
8b05752a
SM
91092011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9110
daca8ba5
SM
9111 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9112 (mail-mode): Setup mailalias completion here instead.
9113 * mail/mailalias.el: Use lexical-binding.
9114 (pattern, mailalias-done): Declare dynamic.
9115 (mail-completion-at-point-function): New function, from mail-complete.
9116 (mail-complete): Use it.
9117 (mail-completion-expand): New function.
9118 (mail-get-names): Use it.
9119 (mail-directory, mail-directory-process, mail-directory-stream):
9120 Don't use `pattern' for lexically bound arg.
9121
6f542485
SM
9122 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9123
037e7c3f
SM
9124 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9125 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9126 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9127
8b05752a
SM
9128 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9129 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9130 (byte-interactive-p): Define them again, for use when inlining
9131 old code.
9132
49093f60
JB
91332011-04-15 Juanma Barranquero <lekktu@gmail.com>
9134
9135 * loadup.el: Use `string-to-number', not `string-to-int'.
9136
b5b8e7de
SM
91372011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9140 gud-gdb-complete-command.
9141 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9142 (gud-gdb-completion-at-point): New function.
9143 (gud-gdb-completions): Remove.
9144
f42efeb5
MA
91452011-04-14 Michael Albinus <michael.albinus@gmx.de>
9146
49093f60
JB
9147 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9148 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9149 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9150 whether `executable-find' is bound.
f42efeb5
MA
9151
9152 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9153
e240cc21
SM
91542011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * minibuffer.el (completion-in-region-mode-predicate)
9157 (completion-in-region-mode--predicate): New vars.
9158 (completion-in-region, completion-in-region--postch)
9159 (completion-in-region-mode): Use them.
9160 (completion--capf-wrapper): Also return the hook function.
9161 (completion-at-point, completion-help-at-point):
9162 Adjust and provide a predicate.
c2bd2ab0
SM
9163
9164 Preserve arg names for advice of subr and lexical functions (bug#8457).
9165 * help-fns.el (help-function-arglist): Consolidate the subr and
9166 new-byte-code cases. Add argument `preserve-names' to extract names
9167 from the docstring when needed.
9168 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9169 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9170 (ad-arglist): Use help-function-arglist's new arg.
9171 (ad-definition-type): Use cond.
9172
c183f693
JB
91732011-04-13 Juanma Barranquero <lekktu@gmail.com>
9174
06641a47
JB
9175 * autorevert.el (auto-revert-handler):
9176 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9177 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9178 Don't quote lambda.
9179
c183f693
JB
9180 * image-mode.el (image-transform-set-scale):
9181 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9182
1e3b6001
G
91832011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9184
9185 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9186 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9187 Upgrades via gnutls-cli are too slow to be done opportunistically.
9188
2d6af8dd
JB
91892011-04-12 Juanma Barranquero <lekktu@gmail.com>
9190
9191 * dframe.el (dframe-current-frame): Remove spurious quote.
9192
c0749a51
GM
91932011-04-12 Glenn Morris <rgm@gnu.org>
9194
088d0d61
GM
9195 * calendar/cal-tex.el (cal-tex-end-document):
9196 Try to automatically use latin1 input if needed.
9197
c0749a51
GM
9198 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9199 Don't try to cons a mark onto an empty element.
9200
5c90fde0
LL
92012011-04-11 Leo Liu <sdl.web@gmail.com>
9202
9203 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9204 buffers.
9205 (ido-kill-buffer-at-head): Support killing virtual buffers.
9206
369e974d
CY
92072011-04-10 Chong Yidong <cyd@stupidchicken.com>
9208
9209 * minibuffer.el (completion-show-inline-help): New var.
9210 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9211 (minibuffer-force-complete, minibuffer-complete-word):
9212 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9213
9214 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9215 to avoid interference from inline help (Bug#5849).
9216
37f1c930
LL
92172011-04-10 Leo Liu <sdl.web@gmail.com>
9218
099c39a4
JB
9219 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9220 Fix typo.
37f1c930 9221
a32d4040
CY
92222011-04-09 Chong Yidong <cyd@stupidchicken.com>
9223
9224 * image-mode.el (image-toggle-display-image): Signal an error if
9225 not in Image mode.
9226 (image-transform-mode, image-transform-resize)
9227 (image-transform-set-rotation): Doc fix.
daca8ba5 9228 (image-transform-set-resize): Delete.
a32d4040
CY
9229 (image-transform-set-scale, image-transform-fit-to-height)
9230 (image-transform-fit-to-width): Handle image-toggle-display-image
9231 and image-transform-resize directly.
9232
099c39a4 92332011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9234
9235 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9236 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9237 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9238 (doc-view-mode-map): Add bindings for the new functions.
9239
099c39a4 92402011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9241
4d61f28d 9242 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9243 Fix typo in docstring.
9244
3726838a
EZ
92452011-04-08 Eli Zaretskii <eliz@gnu.org>
9246
04f33f1e
EZ
9247 * files.el (file-size-human-readable): Produce one digit after
9248 decimal, like "ls -lh" does.
9249
9250 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9251 the file size representation.
9252
3726838a
EZ
9253 * simple.el (list-processes): If async subprocesses are not
9254 available, error out with a clear error message.
9255
cbb59342
CY
92562011-04-08 Chong Yidong <cyd@stupidchicken.com>
9257
9258 * help.el (help-form-show): New function, to be called from C.
9259 Put help-form output in a buffer named differently than *Help*.
9260
e3971c44
EZ
92612011-04-08 Eli Zaretskii <eliz@gnu.org>
9262
9263 * files.el (file-size-human-readable): New function.
9264
9265 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9266 computing the representation inline. Don't require `cl'.
9267
12544bbe
GM
92682011-04-08 Glenn Morris <rgm@gnu.org>
9269
a1de6c6a
GM
9270 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9271
3c4671f4
GM
9272 * net/browse-url.el (browse-url-firefox):
9273 Test system-type, not system-configuration.
9274
b605679c
GM
9275 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9276 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9277 Use log-edit-empty-buffer-p. (Bug#7598)
9278
56442f0c
GM
9279 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9280 (rlogin-mode-map): Initialize in the defvar.
9281 (rlogin): Use ignore-errors.
9282
12544bbe
GM
9283 * replace.el (occur-mode-map): Some fixes for menu items.
9284
eb237b0f
AH
92852011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9286
9287 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9288
7d668f2c
CY
92892011-04-06 Chong Yidong <cyd@stupidchicken.com>
9290
e67a13ab
CY
9291 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9292 issuing unused warnings.
9293
9294 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9295 macro directly.
9296
7d668f2c
CY
9297 * simple.el: Lisp reimplement of list-processes. Based on an
9298 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9299 (process-menu-mode): New major mode.
9300 (list-processes--refresh, list-processes):
9301 (process-menu-visit-buffer): New functions.
9302
9303 * files.el (save-buffers-kill-emacs): Don't assume any return
9304 value of list-processes, which is undocumented anyway.
9305
a83ec3c9
CY
93062011-04-06 Chong Yidong <cyd@stupidchicken.com>
9307
9308 * emacs-lisp/tabulated-list.el: New file.
9309
e91a96fe
CY
9310 * emacs-lisp/package.el: Use Tabulated List mode.
9311 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9312 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9313 table format using Tabulated List mode variables.
9314 (package--push): New macro, replacing package-list-maybe-add.
9315 (package-menu--generate): Use package--push. Renamed from
9316 package--generate-package-list.
9317 (package-menu-refresh, list-packages): Use it.
daca8ba5 9318 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9319 Return insertion data instead of inserting it directly.
099c39a4
JB
9320 (package-menu-describe-package, package-menu-execute):
9321 Use tabulated-list-get-id.
e91a96fe
CY
9322 (package-menu-mark-delete, package-menu-mark-install)
9323 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9324 (package-menu-mark-obsolete-for-deletion):
9325 Use tabulated-list-put-tag.
e91a96fe
CY
9326 (package--list-packages, package-menu-revert)
9327 (package-menu-get-package, package-menu-get-version)
9328 (package-menu-sort-by-column): Functions deleted.
9329 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9330 (package-menu--status-predicate, package-menu--version-predicate)
9331 (package-menu--name-predicate)
9332 (package-menu--description-predicate): Handle arguments in the
9333 Tabulated List format.
9334 (package-list-packages-no-fetch): Call list-packages.
9335
3e214b50
JB
93362011-04-06 Juanma Barranquero <lekktu@gmail.com>
9337
9338 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9339 (after-find-file): Don't bind it.
3e214b50
JB
9340 (revert-buffer-in-progress-p): New variable.
9341 (revert-buffer): Bind it.
9342 Pass nil for `after-find-file-from-revert-buffer'.
9343
9344 * saveplace.el (save-place-find-file-hook): Use new variable
9345 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9346
3f0f1700
GM
93472011-04-06 Glenn Morris <rgm@gnu.org>
9348
c0274801
GM
9349 * Makefile.in (AUTOGEN_VCS): New variable.
9350 (autoloads): Use $AUTOGEN_VCS.
9351
3f0f1700
GM
9352 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9353 * calendar/calendar.el (calendar-mode-map):
9354 Check for toolkit scroll bars. (Bug#8305)
9355
41ea9e48
CY
93562011-04-05 Chong Yidong <cyd@stupidchicken.com>
9357
9358 * minibuffer.el (completion-in-region--postch)
9359 (completion-in-region-mode): Remove unnecessary messages.
9360
6194c800
JB
93612011-04-05 Juanma Barranquero <lekktu@gmail.com>
9362
33256f14
JB
9363 * font-lock.el (font-lock-refresh-defaults):
9364 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9365 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9366
6194c800
JB
9367 * info.el (Info-directory-list, Info-read-node-name-2)
9368 (Info-split-parameter-string): Doc fixes.
9369 (Info-virtual-nodes): Reflow docstring.
9370 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9371 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9372 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9373 Fix typos in docstrings.
9374 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9375 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9376 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9377 (Info-restore-desktop-buffer): Mark unused parameters.
9378 (Info-directory-find-file, Info-directory-find-node)
9379 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9380 (Info-virtual-index-find-node, Info-apropos-find-file)
9381 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9382 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9383 (Info-virtual-index): Remove unused local variable `nodename'.
9384
b87a8200 93852011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9386
b87a8200
DD
9387 * net/rcirc.el: Update my e-mail address.
9388 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9389
3b2ff876
CY
93902011-04-05 Chong Yidong <cyd@stupidchicken.com>
9391
9392 * startup.el (command-line): Save the cursor's theme-face
9393 directly, instead of using face-override-spec.
9394
9395 * custom.el (load-theme): Minor optimization in assigning faces.
9396
8d17e7ca
JB
93972011-04-04 Juanma Barranquero <lekktu@gmail.com>
9398
9399 * help-fns.el (describe-variable): Complete all variables having
9400 documentation, including keywords.
9401 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9402
2fbc1934
JB
94032011-04-04 Juanma Barranquero <lekktu@gmail.com>
9404
9405 Convert to lexical-binding.
9406
9407 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9408 (bs--get-marked-string, bs--get-modified-string)
9409 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9410 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9411 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9412
9413 * ehelp.el (electric-help-execute-extended)
9414 (electric-help-ctrl-x-prefix):
9415 * hexl.el (hexl-revert-buffer-function):
9416 * linum.el (linum-after-change, linum-after-scroll):
9417 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9418
9419 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9420
74f50695
DU
94212011-04-04 Daiki Ueno <ueno@unixuser.org>
9422
9423 * epa-dired.el:
9424 * epa-mail.el:
9425 * epa-hook.el:
9426 * epa-file.el:
9427 * epa.el:
9428 * epg.el: Use lexical binding.
9429
c11325f7
CY
94302011-04-03 Chong Yidong <cyd@stupidchicken.com>
9431
0d9e9a12
CY
9432 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9433
c11325f7 9434 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9435 dictionary case for flyspell-mark-duplications-exceptions.
9436 Use regexp matching for languages.
c11325f7
CY
9437 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9438 default dictionary (Bug#7926).
9439
da91b5f2
CY
94402011-04-02 Chong Yidong <cyd@stupidchicken.com>
9441
099c39a4
JB
9442 * emacs-lisp/package.el (package--with-work-buffer):
9443 Recognize https URLs.
da91b5f2 9444
099c39a4
JB
9445 * net/network-stream.el: Move from gnus/proto-stream.el.
9446 Change prefix to network-stream throughout.
da91b5f2
CY
9447 (open-protocol-stream): Merge into open-network-stream, leaving
9448 open-protocol-stream as an alias. Handle nil BUFFER args.
9449
9450 * subr.el (open-network-stream): Move to net/network-stream.el.
9451
afa8e9f6
GM
94522011-04-02 Glenn Morris <rgm@gnu.org>
9453
1d2e369d
GM
9454 * find-dired.el (find-exec-terminator): New option.
9455 (find-ls-option): Test for -ls support.
9456 (find-ls-subdir-switches): Test for -b in find-ls-option.
9457 (find-dired, find-grep-dired): Doc fixes.
9458 (find-dired): Use find-exec-terminator.
9459
8abb7da8 9460 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9461 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9462 (find-name-arg): Remove purecopy.
8abb7da8 9463
f3ca7378
GM
9464 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9465 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9466 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9467 accordingly. Don't add the null-device if not needed.
9468
afa8e9f6
GM
9469 * files.el (save-some-buffers): Doc fix.
9470
35eae264
EZ
94712011-04-02 Eli Zaretskii <eliz@gnu.org>
9472
9473 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9474
26b51db5
JB
94752011-04-01 Juanma Barranquero <lekktu@gmail.com>
9476
9477 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9478 Use `dolist' rather than `mapcar'.
9479
7200d79c
SM
94802011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9481
03408648 9482 Add lexical binding.
7200d79c 9483
03408648
SM
9484 * subr.el (apply-partially): Use new closures rather than CL.
9485 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9486 (dolist, dotimes): Use slightly different expansion for lexical code.
9487 (functionp): Move to C.
9488 (letrec): New macro.
9489 (with-wrapper-hook): Use it and apply-partially instead of CL.
9490 (eval-after-load): Preserve lexical-binding.
9491 (save-window-excursion, with-output-to-temp-buffer): Turn them
9492 into macros.
7200d79c 9493
03408648
SM
9494 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9495
9496 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9497 than the arglist.
9498 (help-add-fundoc-usage): Don't add `Not documented'.
9499 (help-function-arglist): Handle closures, subroutines, and new
9500 byte-code-functions.
9501 (help-make-usage): Remove leading underscores.
9502 (describe-function-1): Handle closures.
9503 (describe-variable): Use special-variable-p for completion.
9504
9505 * files.el (lexical-binding): Declare safe.
f488fb65 9506
03408648
SM
9507 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9508 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9509 (pcase): Add `let' pattern.
9510 Change memoization so it actually works.
9511 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9512 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9513 <let>: New case.
f488fb65 9514
03408648
SM
9515 * emacs-lisp/macroexp.el: Use lexical binding.
9516 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9517 Don't convert ' to #' without checking that it's indeed quoting
9518 a lambda.
9519
9520 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9521 Use eval-sexp-add-defvars.
03408648
SM
9522 (eval-sexp-add-defvars): New fun.
9523
9524 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9525
9526 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9527 Don't autoload.
9528 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9529 than the internal `byte-compile-lambda'.
9530 (defmethod): Don't hide code under quotes.
9531 (eieio-defmethod): New `code' argument.
9532
9533 * emacs-lisp/eieio-comp.el: Remove.
9534
9535 * emacs-lisp/edebug.el (edebug-eval-defun)
9536 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9537 (edebug-toggle): Avoid `eval'.
9538
9539 * emacs-lisp/disass.el (disassemble-internal): Handle new
9540 `closure' objects.
9541 (disassemble-1): Handle new byte codes.
9542
9543 * emacs-lisp/cl.el (pushnew): Silence warning.
9544
9545 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9546 (cl-byte-compile-throw): Remove.
9547 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9548
9549 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9550 closures.
9551
9552 * emacs-lisp/cconv.el: New file.
9553
9554 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9555 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9556 (byte-compile-initial-macro-environment):
9557 Handle declare-function here.
9558 (byte-compile--lexical-environment): New var.
9559 (byte-stack-ref, byte-stack-set, byte-discardN)
9560 (byte-discardN-preserve-tos): New lap codes.
9561 (byte-interactive-p): Don't use any more.
9562 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9563 New macros.
9564 (byte-compile-lapcode): Use them and handle new lap codes.
9565 (byte-compile-obsolete): Remove.
9566 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9567 (byte-compile-arglist-warn): Check late def of inlinable funs.
9568 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9569 since they should have been expanded by now.
9570 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9571 (byte-compile-from-buffer): Remove unused second arg.
9572 (byte-compile-preprocess): New function.
9573 (byte-compile-toplevel-file-form): New function to distinguish
9574 file-form calls from outside from file-form calls from hunk-handlers.
9575 (byte-compile-file-form): Simplify.
9576 (byte-compile-file-form-defsubst): Remove.
9577 (byte-compile-file-form-defmumble): Simplify now that
9578 byte-compile-lambda always returns a byte-code-function.
9579 (byte-compile): Preprocess.
9580 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9581 Remove, not used any more.
9582 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9583 (byte-compile-make-args-desc): New funs.
9584 (byte-compile-lambda): Handle lexical functions. Always return
9585 a byte-code-function.
9586 (byte-compile-reserved-constants): New var, to make up room for
9587 closed-over variables.
9588 (byte-compile-constants-vector): Obey it.
9589 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9590 (byte-compile-macroexpand-declare-function): New function.
9591 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9592 byte-code-functions.
9593 (byte-compile-form): Check obsolescence here.
9594 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9595 (byte-compile-variable-ref): Remove.
9596 (byte-compile-dynamic-variable-op): New fun.
9597 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9598 (byte-compile-variable-set): New funs.
9599 (byte-compile-discard): Add 2 args.
9600 (byte-compile-stack-ref, byte-compile-stack-set)
9601 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9602 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9603 macroexpand-all instead.
9604 (byte-compile-quote-form): Remove.
9605 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9606 (byte-compile-bind, byte-compile-unbind): New funs.
9607 (byte-compile-let): Handle let* and lexical binding.
9608 (byte-compile-let*): Remove.
9609 (byte-compile-catch, byte-compile-unwind-protect)
9610 (byte-compile-track-mouse, byte-compile-condition-case):
9611 Handle a new :fun-body form, used for lexical scoping.
9612 (byte-compile-save-window-excursion)
9613 (byte-compile-with-output-to-temp-buffer): Remove.
9614 (byte-compile-defun): Simplify.
9615 (byte-compile-stack-adjustment): New fun.
9616 (byte-compile-out): Use it.
9617 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9618
9619 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9620 handler any more.
9621
9622 * emacs-lisp/byte-opt.el: Use lexical binding.
9623 (byte-inline-lapcode): Remove (to bytecomp).
9624 (byte-compile-inline-expand): Pay attention to inlining to/from
9625 lexically bound code.
9626 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9627 any more.
9628 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9629 any more and don't call compiler-macros.
9630 (byte-compile-splice-in-already-compiled-code): Remove.
9631 (byte-code): Don't inline any more.
9632 (disassemble-offset): Receive `bytes' as argument rather than via
9633 dynamic scoping.
9634 (byte-compile-tag-number): Declare before first use.
9635 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9636 `return' even if make-spliceable.
9637 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9638 obsolete interactive-p.
9639 (byte-optimize-lapcode): Optimize new lap-codes.
9640 Don't trip up on new form of `byte-constant' lap code.
9641
9642 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9643
9644 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9645
9646 * custom.el (custom-initialize-default, custom-declare-variable):
9647 Use `defvar'.
9648
9649 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9650 New variables.
9651 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9652 (COMPILE_FIRST): Add macroexp and cconv.
9653 * makefile.w32-in: Mirror changes in Makefile.in.
9654
9655 * vc/cvs-status.el:
9656 * vc/diff-mode.el:
9657 * vc/log-edit.el:
9658 * vc/log-view.el:
9659 * vc/smerge-mode.el:
9660 * textmodes/bibtex-style.el:
9661 * textmodes/css.el:
9662 * startup.el:
9663 * uniquify.el:
da91b5f2
CY
9664 * minibuffer.el:
9665 * newcomment.el:
9666 * reveal.el:
9667 * server.el:
9668 * mpc.el:
9669 * emacs-lisp/smie.el:
9670 * doc-view.el:
9671 * dired.el:
03408648
SM
9672 * abbrev.el: Use lexical binding.
9673
0f0c1f27
EZ
96742011-04-01 Eli Zaretskii <eliz@gnu.org>
9675
9676 * info.el (info-display-manual): New function.
9677
c82b2579
SM
96782011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9681
221ddf68
TH
96822011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9683
9684 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9685 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9686
cba6e77e
GM
96872011-03-31 Glenn Morris <rgm@gnu.org>
9688
e040639f
GM
9689 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9690
cba6e77e
GM
9691 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9692
6d0f1c9e
CS
96932011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9694
9695 * progmodes/python.el (python-default-interpreter)
9696 (python-python-command-args, python-jython-command-args)
9697 (python-which-shell, python-which-args, python-which-bufname)
9698 (python-file-queue, python-comint-output-filter-function)
9699 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9700 variables and functions.
9701
3e2d70fd
SM
97022011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9705 (completion-in-region-mode): New minor mode.
9706 (completion-in-region): Use it.
9707 (completion-in-region--data, completion-in-region-mode-map): New vars.
9708 (completion-in-region--postch): New function.
9709 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9710 New vars.
9711 (completion--capf-wrapper): New function.
9712 (completion-at-point): Use it to track well-behavedness of
9713 hook functions.
9714 (completion-help-at-point): New command.
9715
f3e4086c
JM
97162011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9717
9718 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9719 syntax class to search for whitespace on a single line
9720 (Message-ID: <4D938140.4030905@redhat.com>).
9721
eb7ffc14
LL
97222011-03-30 Leo Liu <sdl.web@gmail.com>
9723
9724 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9725 New commands.
9726 (edit-abbrevs-map): Bind them here.
9727 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9728
d806ab68
KM
97292011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9730
9731 * allout.el (allout-hide-by-annotation, allout-flag-region):
9732 Reduce possibility of overlay leakage by making them volatile.
9733
9734 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9735 hash is not shared between buffers. Mode initialization is
9736 responsible for giving it a useful starting value.
9737 (allout-item-span): Reduce possibility of overlay leakage by
9738 making them volatile.
9739 (allout-widgets-count-buttons-in-region): Add diagnostic function
9740 for tracking down button overlay leaks.
9741
ea622834
LL
97422011-03-29 Leo Liu <sdl.web@gmail.com>
9743
9744 * ido.el (ido-read-internal): Use the default history var
9745 minibuffer-history if no HISTORY is specified.
9746
b62f8267
G
97472011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9748
03408648
SM
9749 * net/imap.el (imap-shell-open, imap-process-connection-type):
9750 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9751 Kerberos, SSL, other subprocesses.
9752
947b6566
LL
97532011-03-28 Leo Liu <sdl.web@gmail.com>
9754
9755 * abbrev.el (abbrev-table-empty-p): New function.
9756 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9757 nonempty ones. (Bug#5937)
9758
5ffb62aa
JD
97592011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9760
9761 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9762
7a097943
LL
97632011-03-27 Leo Liu <sdl.web@gmail.com>
9764
9765 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9766 for foreground and background colors.
9767 (ansi-color-make-color-map): Adapt.
9768
c5b40130
LL
97692011-03-25 Leo Liu <sdl.web@gmail.com>
9770
1f48f7d2
LL
9771 * midnight.el (midnight-time-float): Remove. Note it calculates
9772 the microsecond component incorrectly and seconds-to-time does the
9773 same job.
625897ec 9774 Remove redundant (require 'timer).
1f48f7d2 9775
c5b40130
LL
9776 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9777 (ido-completions): Remove unused arguments. (Bug#8329)
9778
d86d2721
SM
97792011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * minibuffer.el (completion--flush-all-sorted-completions):
9782 Remove itself from hook.
9783 (completion-at-point): Let the functions perform the completion
9784 immediately and return nil or t.
9785 * comint.el (comint-dynamic-complete-functions): Now identical to
9786 completion-at-point-functions.
9787 (comint-dynamic-list-input-ring): Remove unused var `index'.
9788 (comint--match-partial-filename, comint--unquote&expand-filename):
9789 New funs, split from comint-match-partial-filename.
9790 (comint-dynamic-complete): Use completion-at-point.
9791 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9792
e8974c48
DA
97932011-03-24 Drew Adams <drew.adams@oracle.com>
9794
9795 * thingatpt.el: Support `defun'.
9796
def71b5e
LL
97972011-03-23 Leo Liu <sdl.web@gmail.com>
9798
cb5af48e
LL
9799 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9800
def71b5e
LL
9801 * help-mode.el (help-mode-finish): Tweak regexp.
9802
927c53e7
GM
98032011-03-23 Glenn Morris <rgm@gnu.org>
9804
18d05bed
GM
9805 * eshell/esh-opt.el (eshell-eval-using-options):
9806 Do not bind unused local variable `eshell-option-stub'.
9807
927c53e7
GM
9808 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9809
9d0da923
JB
98102011-03-22 Juanma Barranquero <lekktu@gmail.com>
9811
9812 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9813 keymap variable in `with-no-warnings' to avoid a warning when the
9814 keymap has been already `defconst'ed.
9815
4b978a67
LL
98162011-03-22 Leo Liu <sdl.web@gmail.com>
9817
9818 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9819 encode all chars in abbrevs; otherwise use emacs-mule or
9820 utf-8-emacs. (Bug#8308)
9821
5fd62452
JB
98222011-03-22 Juanma Barranquero <lekktu@gmail.com>
9823
0b1596c6
JB
9824 * simple.el (backward-delete-char-untabify):
9825 Avoid warning about using `delete-backward-char'.
9826
5fd62452
JB
9827 * image.el (image-type-file-name-regexps): Make it variable.
9828 `imagemagick-register-types' modifies it, and the user may want
9829 to add new extensions for known image types.
9830 (imagemagick-register-types): Throw error if not using ImageMagick.
9831
0b4e93f1
LL
98322011-03-22 Leo Liu <sdl.web@gmail.com>
9833
9834 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9835 located before rcirc-prompt-end-marker.
9836 (rcirc-complete): Error if point is not after rcirc prompt.
9837 Handle the case when table is nil.
9882e214 9838 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9839
fccee4ab
CY
98402011-03-22 Chong Yidong <cyd@stupidchicken.com>
9841
9842 * custom.el (custom--inhibit-theme-enable): Make it affect only
9843 custom-theme-set-variables and custom-theme-set-faces.
9844 (provide-theme): Ignore custom--inhibit-theme-enable.
9845 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9846 (custom-enabling-themes): Delete variable.
d86d2721
SM
9847 (enable-theme): Accept only loaded themes as arguments.
9848 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9849 (custom-enabled-themes): Forbid themes from setting this.
9850 Eliminate use of custom-enabling-themes.
9851 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9852
af896da6
LL
98532011-03-21 Leo Liu <sdl.web@gmail.com>
9854
9855 * ido.el (ido-read-internal): Add ido-selected to history instead
9856 of user input.
9857
78f64af0
SM
98582011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * subr.el (deferred-action-list, deferred-action-function):
9861 Mark obsolete.
9862
b16ac1ec
LL
98632011-03-21 Leo Liu <sdl.web@gmail.com>
9864
810f7698
LL
9865 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9866 change on 2011-02-13 (bug#8309).
9867
b16ac1ec
LL
9868 * minibuffer.el (read-file-name-function): Change default value.
9869 (read-file-name--defaults): Rename from read-file-name-defaults.
9870 (read-file-name-default): Rename from read-file-name.
9871 (read-file-name): Call read-file-name-function.
9872
4e05e67e
GM
98732011-03-21 Glenn Morris <rgm@gnu.org>
9874
9875 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9876 Doc fixes.
9877
4359915b
CY
98782011-03-21 Chong Yidong <cyd@stupidchicken.com>
9879
9880 * cus-theme.el: Add missing provide statement.
9881 (customize-create-theme): Extract theme value correctly.
9882 (custom-theme-visit-theme): Autoload.
9883 (customize-create-theme): Prompt before inserting default faces.
9884
1fe275ee
JB
98852011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9886
9887 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9888 units and musical notes.
9889
cd394be1 98902011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9891
9892 * ido.el (ido-read-internal): Use completing-read-default.
9893 (ido-completing-read): Fix compatibility with completing-read.
9894
7d476bde
CO
98952011-03-20 Christian Ohler <ohler@gnu.org>
9896
9897 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9898 (ert-delete-all-tests): Use `called-interactively-p' rather than
9899 `interactive-p'.
9900 (ert--make-xrefs-region): Respect END.
9901
fe0fb33e
CY
99022011-03-19 Chong Yidong <cyd@stupidchicken.com>
9903
ff854b0b
CY
9904 * dired-aux.el (dired-create-directory): Signal an error if the
9905 directory already exists (Bug#8246).
9906
fe0fb33e
CY
9907 * facemenu.el (list-colors-display): Call list-faces-display
9908 inside with-help-window.
9909 (list-colors-print): Use display property to align the final
9910 column, instead of checking window-width.
9911
576bce32
EZ
99122011-03-19 Eli Zaretskii <eliz@gnu.org>
9913
4d61f28d 9914 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9915 windows-nt systems.
9916 (emerge-protect-metachars): Quote correctly for ms-dos and
9917 windows-nt systems.
9918
89c41d68 99192011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9920
9921 * info.el (info-initialize): Replace all uses of `:' with
9922 path-separator for compatibility with non-Unix systems.
9923 Cache quoting of path-separator. (Bug#8258)
9924
b14e3e21 99252011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9926
9927 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9928 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9929 (mouse-avoidance-mode): Fix typos in docstrings.
9930
4525ce3e
CY
99312011-03-19 Chong Yidong <cyd@stupidchicken.com>
9932
9933 * startup.el (package-subdirectory-regexp): Move from package.el.
9934 Omit \\` and \\', and let callers add them.
9935
9936 * emacs-lisp/package.el (package-strip-version)
9937 (package-load-all-descriptors): Add \\` and \\' to
9938 package-subdirectory-regexp before using it.
9939 (package-untar-buffer): New arg DIR; ensure that file untars only
9940 into this expected directory. Remove superfluous delete-region.
9941 (package-unpack): Caller changed.
9942 (package-tar-file-info): Use package-subdirectory-regexp.
9943
a904a09a 99442011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9945
a904a09a
SM
9946 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9947 diff-mode-shared-map (bug#8284).
9948 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9949
99502011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9951
9952 * calendar/time-date.el (format-seconds): Use assoc instead of
9953 assoc-string, since assoc-string doesn't exist in XEmacs.
9954
171fc304
JB
99552011-03-17 Juanma Barranquero <lekktu@gmail.com>
9956
9957 * custom.el (custom-known-themes): Reflow docstring.
9958 (custom-theme-load-path): Fix typo in docstring.
9959 (load-theme): Fix typo in error message.
9960 (custom-available-themes, custom-variable-theme-value):
9961 Use `let', not `let*'.
9962
d71990a1
JB
99632011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9964
9965 * calc/README: Mention inclusion of musical notes.
9966
9967 * calc/calc-units.el (calc-lu-quant): Rename from
9968 `calc-logunits-quantity'.
9969 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9970 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9971 (calc-db): Rename from `calc-dblevel'.
9972 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9973 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9974 (calc-np): Rename from `calc-nplevel'.
9975 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9976 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9977 (calc-lu-plus): Rename from `calc-logunits-add'.
9978 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9979 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9980 (calc-lu-minus): Rename from `calc-logunits-sub'.
9981 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9982 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9983 (calc-lu-times): Rename from `calc-logunits-mul'.
9984 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9985 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9986 (calc-lu-divide): Rename from `calc-logunits-div'.
9987 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9988 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9989
9990 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9991 functions being autoloaded.
9992
9993 * calc/calc.el (calc-lu-power-reference): Rename from
9994 `calc-logunits-power-reference'.
9995 (calc-lu-field-reference): Rename from
9996 `calc-logunits-field-reference'.
9997
9998 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9999
40c2934b
SM
100002011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * minibuffer.el (completion-all-sorted-completions):
10003 Use :completion-cycle-penalty text property if present.
10004
b0911414
KM
100052011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10006
10007 * allout.el (allout-yank-processing): Adjust for new rebulleting
10008 regime so bullet being yanked is used without prompting the user
10009 for a choice.
10010
8a05b668
JB
100112011-03-16 Juanma Barranquero <lekktu@gmail.com>
10012
10013 * startup.el (command-line): Warn the user that _emacs is deprecated.
10014
5ba5fb81
JB
100152011-03-16 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10018 (delphi-verbose, delphi-comment-face, delphi-string-face)
10019 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10020 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10021 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10022 (delphi-new-comment-line, delphi-font-lock-defaults)
10023 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10024 Fix typos in docstrings.
10025
2dab465b
KM
100262011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10027
5ba5fb81 10028 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10029 Invert the roles of character and string values for INSTEAD, so a
10030 string is used for the more common case of a defaulting prompt.
10031
0adf5618
SM
100322011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * progmodes/ruby-mode.el (ruby-backward-sexp):
10035 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10036 * play/gamegrid.el (gamegrid-make-face):
10037 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10038 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10039 * notifications.el (notifications-notify):
10040 * net/xesam.el (xesam-search-engines):
10041 * net/quickurl.el (quickurl-list-insert):
10042 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10043
d72700e5
CY
100442011-03-15 Chong Yidong <cyd@stupidchicken.com>
10045
10046 * startup.el (command-line): Update package subdirectory regexp.
10047
49c5410a
SM
100482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10049
c6eee9aa
SM
10050 * allout.el (allout-abbreviate-flattened-numbering)
10051 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10052
49c5410a
SM
10053 * subr.el (read-char-choice): Only show the cursor after the prompt,
10054 not after the answer.
10055
047b2bb9
KR
100562011-03-15 Kevin Ryde <user42@zip.com.au>
10057
10058 * help-fns.el (variable-at-point): Skip leading quotes, if any
10059 (bug#8253).
10060
0a57d256
SM
100612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10064 warning message.
10065
77c992bc
MA
100662011-03-14 Michael Albinus <michael.albinus@gmx.de>
10067
10068 * shell.el (shell): When called interactively, offer to change the
10069 shell file name on remote hosts.
10070
eebc475d
TZ
100712011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10072
10073 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10074 integration for LDAP parameters. The host, base, user or binddn,
10075 and secret tokens can be specified in a netrc file, for instance.
10076 This is optional because an `auth-source' parameter must be
10077 specified in the search attributes.
10078
9d05d1ba
JB
100792011-03-13 Juanma Barranquero <lekktu@gmail.com>
10080
10081 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10082
09d9db2c
GM
100832011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10086 into declaration. Remove redundant and harmful binding.
10087
100882011-03-12 Eli Zaretskii <eliz@gnu.org>
10089
10090 * files.el (file-ownership-preserved-p): Pass `integer' as an
10091 explicit 2nd argument to `file-attributes'. If the file's owner
10092 is the Administrators group on Windows, and the current user is
10093 Administrator, consider that a match.
10094
10095 * server.el (server-ensure-safe-dir): Consider server directory
10096 safe on MS-Windows if its owner is the Administrators group while
10097 the current Emacs user is Administrator. Use `=' to compare
10098 numerical UIDs, since they could be integers or floats.
10099
219bd536
JB
101002011-03-12 Juanma Barranquero <lekktu@gmail.com>
10101
10102 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10103
f3afd36b
MA
101042011-03-12 Michael Albinus <michael.albinus@gmx.de>
10105
10106 Sync with Tramp 2.2.1.
10107
10108 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10109
10110 * net/trampver.el: Update release number.
10111
3aaaa6f1
SM
101122011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10113
94642599
SM
10114 * progmodes/compile.el (compilation--previous-directory): Fix up
10115 various nil/dead-marker mismatches (bug#8014).
10116 (compilation-directory-properties, compilation-error-properties):
10117 Don't call it at a position past the one we're about to change.
10118
3aaaa6f1
SM
10119 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10120 Disable obsolescence warnings in the file that declares it.
10121
14239447
KM
101222011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10123
099c39a4
JB
10124 * allout-widgets.el (allout-widgets-tally):
10125 Initialize allout-widgets-tally as a hash table rather than nil to
10126 prevent mode-line redisplay warnings. Also, clarify the module
10127 description and fix a comment typo.
14239447 10128
135e287c
JB
101292011-03-11 Juanma Barranquero <lekktu@gmail.com>
10130
10131 * help-fns.el (describe-variable): Don't complete keywords.
10132 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10133
ffbf300e
CY
101342011-03-10 Chong Yidong <cyd@stupidchicken.com>
10135
ba08b241
CY
10136 * emacs-lisp/package.el (package-version-join): Impose a standard
10137 string representation for pre/alpha/beta version lists.
10138 (package-unpack-single): Standardize the directory name by passing
10139 it through package-version-join.
10140 (package-strip-rcs-id): Accept any version string that does not
10141 signal an error in version-to-list.
ffbf300e 10142
f346fd6b
MA
101432011-03-10 Michael Albinus <michael.albinus@gmx.de>
10144
10145 * simple.el (delete-trailing-whitespace): Return nil for the
10146 benefit of `write-file-functions'.
10147
ccb55d27
GM
101482011-03-10 Glenn Morris <rgm@gnu.org>
10149
5ceaac0c
GM
10150 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10151
02da65ff
GM
10152 * vc/vc-git.el (vc-git-program): New option.
10153 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10154 (vc-git--call): Use it.
10155
b2f603cc
GM
10156 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10157
5772caab
GM
10158 * cus-edit.el (Custom-newline): If no button at point, look
10159 for a subgroup button at start-of-line. (Bug#2298)
10160
ccb55d27
GM
10161 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10162
ec6ecaed
JD
101632011-03-10 Julien Danjou <julien@danjou.info>
10164
10165 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10166 `cursor-type' is nil.
10167
9d5aa01d
JB
101682011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10169
10170 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10171
b6a5875b
KM
101722011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10173
10174 * allout.el Summary: Change so yank of distinctive-bullet items
10175 preserves the existing header prefix, rebulleting it if necessary,
10176 rather than replacing it. This is necessary for proper operation
10177 of cooperative addons like allout-widgets.
1154d12e
JB
10178 (allout-make-topic-prefix, allout-rebullet-heading):
10179 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10180 value as alternate bullet to be used, instead of prompting the user
10181 for a bullet character.
b6a5875b 10182
ee545c35
MA
101832011-03-09 Michael Albinus <michael.albinus@gmx.de>
10184
d86d2721
SM
10185 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10186 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10187 `tramp-default-port'.
10188
c47971d7
DD
101892011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10190
10191 * net/rcirc.el (rcirc-handler-001): Remove useless
10192 with-rcirc-process-buffer.
10193 (rcirc-check-auth-status): Swap arguments to string-match.
10194
13522cb4
GM
101952011-03-09 Glenn Morris <rgm@gnu.org>
10196
0be6f4f1
GM
10197 * shell.el (shell-mode):
10198 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10199
13522cb4
GM
10200 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10201 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10202
515de2e3
CY
102032011-03-08 Chong Yidong <cyd@stupidchicken.com>
10204
10205 * emacs-lisp/package.el (package-refresh-contents)
10206 (package-menu-execute): Use condition-case-no-debug.
10207
b511b994
MA
102082011-03-08 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * simple.el (shell-command-to-string): Use `process-file'.
10211
10212 * emacs-lisp/package.el (package-tar-file-info): Handle also
10213 remote files.
10214
d86d2721
SM
10215 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10216 Use `equal' for upload base check.
b511b994 10217
25bbfb31
AM
102182011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10219
10220 * textmodes/texinfo.el (texinfo-environments):
10221 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10222
be996521
GM
102232011-03-08 Glenn Morris <rgm@gnu.org>
10224
e9c8529f
GM
10225 * cus-start.el (cursor-in-non-selected-windows):
10226 Fix :set quoting oddness. (Bug#8192)
10227
be996521
GM
10228 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10229 in some setf expressions. (Bug#2159)
10230
2bb5649e
CY
102312011-03-08 Chong Yidong <cyd@stupidchicken.com>
10232
10233 * custom.el (custom-available-themes): Return themes in
10234 alphabetical order.
10235
33383987 10236See ChangeLog.15 for earlier changes.
e3d51b27
MR
10237
10238;; Local Variables:
10239;; coding: utf-8
e3d51b27
MR
10240;; End:
10241
acaf905b 10242 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10243
10244 This file is part of GNU Emacs.
10245
10246 GNU Emacs is free software: you can redistribute it and/or modify
10247 it under the terms of the GNU General Public License as published by
10248 the Free Software Foundation, either version 3 of the License, or
10249 (at your option) any later version.
10250
10251 GNU Emacs is distributed in the hope that it will be useful,
10252 but WITHOUT ANY WARRANTY; without even the implied warranty of
10253 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10254 GNU General Public License for more details.
10255
10256 You should have received a copy of the GNU General Public License
10257 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.