* dired.el (dired-mark-files-regexp): Include any subdirectory components.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fc4f7a23
EW
12012-01-27 Eduard Wiebe <usenet@pusto.de>
2
3 * dired.el (dired-mark-files-regexp):
4 Include any subdirectory components. (Bug#10445)
5
7dd37071
ML
62012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7
8 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9 Handle [host]:port syntax. (Bug#10533)
10
a268160b
AH
112012-01-27 Alex Harsanyi <harsanyi@mac.com>
12
13 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14
e43273ef
GM
152012-01-26 Glenn Morris <rgm@gnu.org>
16
17 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
18 * term.el (term-raw-escape-map): Use Control-X-prefix.
19 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
20
1edf595d
MR
212012-01-25 Martin Rudalics <rudalics@gmx.at>
22
23 * window.el (window-state-get, window--state-get-1): Don't deal
24 with fixed-sizeness of windows. Simplify code.
25
fa8eafef
JC
262012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
27
28 * window.el (window--state-get-1, window--state-put-2): Don't
29 save and restore the mark.
30
0b21c100
CY
312012-01-25 Chong Yidong <cyd@gnu.org>
32
33 * custom.el (custom-variable-p): Doc fix.
34
5ae1a6c8
GM
352012-01-25 Glenn Morris <rgm@gnu.org>
36
40047858
GM
37 * dired.el (dired-goto-file): Handle some of the more common
38 characters that `ls -b' escapes. (Bug#10596)
39
5ddce96c
GM
40 * progmodes/compile.el (compilation-next-error-function):
41 Respect compilation-first-column in the "*compilation*" buffer.
42 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
43
5ae1a6c8
GM
44 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
45
b559f1a9
GM
462012-01-24 Glenn Morris <rgm@gnu.org>
47
48 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
49
6725d21a
JD
502012-01-24 Julien Danjou <julien@danjou.info>
51
52 * color.el (color-rgb-to-hsl): Fix value computing.
53 (color-hue-to-rgb): New function.
54 (color-hsl-to-rgb): New function.
55 (color-clamp, color-saturate-hsl, color-saturate-name)
56 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
57 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
58
70df4bbe
GM
592012-01-24 Glenn Morris <rgm@gnu.org>
60
61 * vc/vc-rcs.el (vc-rcs-create-tag):
62 * vc/vc-sccs.el (vc-sccs-create-tag):
63 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
64
802a2ae2
ML
652012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
66
67 * eshell/esh-util.el (eshell-read-hosts-file):
68 Skip comment lines. (Bug#10549)
69
d7128bb1
ML
70 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
71
d1a5c3b4
JB
722012-01-23 Juanma Barranquero <lekktu@gmail.com>
73
2724d9c7
JB
74 * subr.el (display-delayed-warnings): Doc fix.
75 (collapse-delayed-warnings): New function to collapse identical
76 adjacent warnings.
77 (delayed-warnings-hook): Add it.
d1a5c3b4 78
a5509865
MA
792012-01-22 Michael Albinus <michael.albinus@gmx.de>
80
81 * net/tramp.el (tramp-action-login): Set connection property "login-as".
82
83 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
84 properties, when "login-as" is set.
85
86 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
87 (tramp-default-user-alist): Don't add "pscp".
88 (tramp-do-copy-or-rename-file-out-of-band): Use connection
89 property "login-as", if set. (Bug#10530)
90
cc6d5805
MA
912012-01-21 Michael Albinus <michael.albinus@gmx.de>
92
93 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
94 "plink1" and "psftp". (Bug#10530)
95
962012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
97
98 * international/mule-cmds.el (prefer-coding-system): Show a
99 warning message if the default value of file-name-coding-system
100 was not changed.
101
f0960428
JC
1022012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
103
104 * windmove.el (windmove-reference-loc): Fix
105 windmove-reference-loc miscalculation.
106
dd6f2a63
JB
1072012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
108
109 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
110 default unit.
111
7b447e9b
GM
1122012-01-21 Glenn Morris <rgm@gnu.org>
113
117a9ea1
GM
114 * international/mule.el (auto-coding-alist): Add .tbz.
115
7b447e9b
GM
116 * files.el (local-enable-local-variables): Doc fix.
117 (inhibit-local-variables-regexps): Rename from
118 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
119 Doc fix. Add some extensions from auto-coding-alist.
120 (inhibit-local-variables-suffixes):
121 Rename from inhibit-first-line-modes-suffixes. Doc fix.
122 (inhibit-local-variables-p):
123 New function, extracted from set-auto-mode-1.
124 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
125 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
126 (hack-local-variables): Doc fix. Make the mode-only case
127 respect enable-local-variables and friends.
128 Respect inhibit-local-variables-regexps for file-locals, but
129 not for directory-locals.
130 (set-visited-file-name):
131 Take account of inhibit-local-variables-regexps.
132 Whether it applies may change as the file name is changed.
133 * jka-cmpr-hook.el (jka-compr-install):
134 * jka-compr.el (jka-compr-uninstall):
135 Update for inhibit-first-line-modes-suffixes name change.
136
dd6e3cdd
MR
1372012-01-20 Martin Rudalics <rudalics@gmx.at>
138
139 * help-macro.el (make-help-screen): Temporarily restore original
140 binding for minor-mode-map-alist (Bug#10454).
141
0d0deb38
JD
1422012-01-19 Julien Danjou <julien@danjou.info>
143
144 * color.el (color-name-to-rgb): Use the white color to find the max
145 color component value and return correctly computed values.
146 (color-name-to-rgb): Add missing float conversion for max value.
147
34a02f46
MR
1482012-01-19 Martin Rudalics <rudalics@gmx.at>
149
150 * window.el (window--state-get-1, window-state-get): Do not use
151 special state value for window-persistent-parameters. Rename
152 argument IGNORE to WRITABLE. Rewrite doc-string.
153 (window--state-put-2): Reset all window parameters to nil before
154 assigning values of persistent parameters.
155
606c44c4
AM
1562012-01-18 Alan Mackenzie <acm@muc.de>
157
158 Eliminate sluggishness and hangs in fontification of "semicolon
159 deserts".
160
161 * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
162 value 10000 -> 3000.
163 (c-state-safe-place): Reformulate so it doesn't stack up an
164 infinite number of wrong entries in c-state-nonlit-pos-cache.
165 (c-determine-limit-get-base, c-determine-limit): New functions to
166 determine backward search limits disregarding literals.
167 (c-find-decl-spots): Amend commenting.
168 (c-cheap-inside-bracelist-p): New function which detects "={".
169
170 * progmodes/cc-fonts.el
171 (c-make-font-lock-BO-decl-search-function): Give a limit to a
172 backward search.
173 (c-font-lock-declarations): Fix an occurrence of point being
174 undefined. Check additionally for point being in a bracelist or
175 near a macro invocation without a semicolon so as to avoid a
176 fruitless time consuming search for a declarator. Give a more
177 precise search limit for declarators using the new
178 c-determine-limit.
179
f3860cea
GM
1802012-01-18 Glenn Morris <rgm@gnu.org>
181
182 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
183 (set-auto-mode): Doc fixes.
184
1db03b16
GM
1852012-01-17 Glenn Morris <rgm@gnu.org>
186
0e6038be
GM
187 * isearch.el (search-nonincremental-instead): Fix doc typo.
188
1db03b16
GM
189 * dired.el (dired-insert-directory): Handle newlines in directory name.
190 (dired-build-subdir-alist): Unescape newlines in directory name.
191
4cb0aa75
MA
1922012-01-17 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/tramp.el (tramp-local-end-of-line): New defcustom.
195 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
196 (tramp-action-terminal): Use it. (Bug#10530)
197
1d00653d
SM
1982012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * minibuffer.el (completion--replace): Strip properties (bug#10062).
201
6a6ee00d
MR
2022012-01-16 Martin Rudalics <rudalics@gmx.at>
203
204 * window.el (window-state-ignored-parameters): Remove variable.
205 (window--state-get-1): Rename argument MARKERS to IGNORE.
206 Handle persistent window parameters. Make copy of clone-of
207 parameter only if requested. (Bug#10348)
208 (window--state-put-2): Install a window parameter only if it has
209 a non-nil value or an existing parameter shall be overwritten.
210
97912def
MA
2112012-01-15 Michael Albinus <michael.albinus@gmx.de>
212
213 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
214
688070a5
EZ
2152012-01-14 Eli Zaretskii <eliz@gnu.org>
216
217 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
218 don't pass the (nil) value of `upnode' to string-match.
219
301afadc
CY
2202012-01-14 Chong Yidong <cyd@gnu.org>
221
222 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 223 Fix values recognized by the cursorBlink resource.
301afadc 224
9e5788aa
PE
2252012-01-14 Paul Eggert <eggert@cs.ucla.edu>
226
227 * epg.el (epg--make-temp-file): Avoid permission race condition
228 when running on old Emacs versions (bug#10403).
229
3cdb7f5a
GM
2302012-01-14 Glenn Morris <rgm@gnu.org>
231
232 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
233
8c82b1b4
AM
2342012-01-13 Alan Mackenzie <acm@muc.de>
235
236 Fix filling for when filladapt mode is enabled.
237
238 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
239 c-mask-paragraph, pass in `fill-paragraph' rather than
240 `fill-region-as-paragraph'. (This is a reversion of a previous
241 change.)
242 * progmodes/cc-mode.el (c-basic-common-init): Make
243 fill-paragraph-handle-comment buffer local and set it to nil.
244
e517eda4
GM
2452012-01-13 Glenn Morris <rgm@gnu.org>
246
1498536e
GM
247 * dired.el (dired-switches-escape-p): New function.
248 (dired-insert-directory): Use dired-switches-escape-p.
249 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
250
e517eda4
GM
251 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
252
328f984d
GM
2532012-01-12 Glenn Morris <rgm@gnu.org>
254
255 * mail/sendmail.el (mail-mode): Update paragraph-separate for
256 changes in adaptive-fill-regexp. (Bug#10276)
257
2cc769a8
AM
2582012-01-11 Alan Mackenzie <acm@muc.de>
259
260 Fix Emacs bug #10463 - put `widen's around the critical spots.
261
1d00653d 262 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
263 widen around each invocation of c-state-pp-to-literal. Remove an
264 unused let variable.
265
e52c37fa
GM
2662012-01-11 Glenn Morris <rgm@gnu.org>
267
268 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 269 Doc fix.
e52c37fa 270
96f8741e
CY
2712012-01-10 Chong Yidong <cyd@gnu.org>
272
1d00653d
SM
273 * net/network-stream.el (network-stream-open-starttls):
274 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
275 response to the capability command.
276
b09a806e
GM
2772012-01-10 Glenn Morris <rgm@gnu.org>
278
279 * mail/unrmail.el (unrmail): Tweak previous change.
280
7655cb66
CY
2812012-01-09 Chong Yidong <cyd@gnu.org>
282
283 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
284
9d5a8f0b
AM
2852012-01-08 Alan Mackenzie <acm@muc.de>
286
287 Optimise font locking in long enum definitions.
288
289 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
290 arm to a cond form to handle enums.
291 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
292 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
293
9a0115ab 2942012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
295
296 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 297 (Bug#10401)
6bb72cbd 298
f186bb95
LMI
2992012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
300
29232a68
LMI
301 * faces.el (set-face-attribute): Clarify the meaning of the nil
302 frame (bug#10294).
303
4e5d086d
LMI
304 * subr.el (with-selected-frame): Mention that the selected frame
305 is restored (bug#9980).
306
8e66aebe
LMI
307 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
308 (bug#9759).
309
cd394be1 310 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
311 (password-read): Don't autoload unused function.
312
adf4e762
JB
3132012-01-07 Juanma Barranquero <lekktu@gmail.com>
314
315 * progmodes/which-func.el (which-func-mode): Turn into a
316 non-interactive function and mark as obsolete (bug#10428).
317
89bd9ccd
CY
3182012-01-06 Chong Yidong <cyd@gnu.org>
319
320 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
321 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
322 functions, along with 1 and -1.
323
4afee9d5
EZ
3242012-01-06 Eli Zaretskii <eliz@gnu.org>
325
326 * time.el (display-time-load-average)
327 (display-time-default-load-average): Doc fixes. See the thread
328 starting at
329 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
330 for the details.
331
536aea70
GM
3322012-01-06 Glenn Morris <rgm@gnu.org>
333
665ae865
GM
334 * mail/unrmail.el (unrmail): Give an explicit error if the input file
335 has no messages. (Bug#10377)
336
c869783d
GM
337 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
338 than Info-edit. (Bug#10385)
339
2bb4227e
GM
340 * time.el (display-time-load-average, display-time-next-load-average):
341 Doc fixes.
342
7d5944b9
GM
343 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
344 local setting of buffer-read-only to the input buffer. (Bug#10419)
345
536aea70
GM
346 * calendar/calendar.el (calendar-mode):
347 Locally set scroll-margin to 0. (Bug#10379)
348
7dccca16
UM
3492012-01-06 Ulrich Mueller <ulm@gentoo.org>
350
351 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
352
afbb7930
GM
3532012-01-05 Glenn Morris <rgm@gnu.org>
354
355 * eshell/em-unix.el (diff-no-select): Autoload it.
356 (eshell/diff): Use diff-no-select. (Bug#10420)
357
04482335
CY
3582012-01-05 Chong Yidong <cyd@gnu.org>
359
7baca3bc
CY
360 * shell.el (shell-dynamic-complete-functions): Revert last change.
361 (shell-command-completion-function): New function.
362 (shell-completion-vars): Use it to implement
363 shell-completion-execonly (Bug#10417).
364
04482335
CY
365 * custom.el (enable-theme): Don't set custom-safe-themes.
366
1d00653d
SM
367 * cus-theme.el (custom-theme-merge-theme):
368 Ignore custom-enabled-themes and custom-safe-themes.
04482335 369
bb5aa5d6
MM
3702012-01-05 Michael R. Mauger <mmaug@yahoo.com>
371
372 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
373 first prompt in `sql-interacive-mode'.
374 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 375 keywords.
bb5aa5d6
MM
376 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
377 (sql-product-interactive): Bug fix: Set `sql-buffer' in
378 context of original buffer. Invoke `sql-login-hook'.
379
a7183d7c
EZ
3802012-01-04 Eli Zaretskii <eliz@gnu.org>
381
382 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
383 letters in cite-prefix.
384
a1eacd1e
LMI
3852012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
386
387 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
388
787cdb34
CY
3892012-01-03 Chong Yidong <cyd@gnu.org>
390
1d00653d
SM
391 * shell.el (shell-dynamic-complete-functions):
392 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
393 comint-filename-completion first (Bug#10417).
394
30710442
RS
3952012-01-02 Richard Stallman <rms@gnu.org>
396
397 * battery.el (battery-status-function):
398 Detect when to use battery-yeeloong-sysfs.
399 (battery-echo-area-format): Add string for Yeeloong.
400 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
401 (battery-yeeloong-sysfs): New function.
402
f75bfc33
CY
4032012-01-02 Chong Yidong <cyd@gnu.org>
404
405 * dirtrack.el (dirtrack-list): Eliminate unused third element.
406 (dirtrack): Merge code for handling relative filenames in prompt
407 from shell-dir-cookie-watcher.
408 (dirtrack-debug-message): New arg to avoid excess format calls.
409
410 * shell.el (shell-dir-cookie-re): Variable deleted.
411 (shell-dir-cookie-watcher): Function deleted.
412 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
413 with dirtrack-mode.
414
651e947e
EZ
4152012-01-01 Eli Zaretskii <eliz@gnu.org>
416
1d00653d
SM
417 * term/w32-win.el (dynamic-library-alist) <gnutls>:
418 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
419 libgnutls-26.dll.
420
94d4c7dc
AS
4212011-12-31 Andreas Schwab <schwab@linux-m68k.org>
422
423 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
424
8d43f3cd
EZ
4252011-12-31 Eli Zaretskii <eliz@gnu.org>
426
427 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
428 headers of non-MIME messages, when rmail-enable-mime is non-nil.
429
98c8795a
MA
4302011-12-29 Michael Albinus <michael.albinus@gmx.de>
431
432 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
433 also for alternative shells.
434 (tramp-open-connection-setup-interactive-shell): Check, whether
435 the shell is a busybox.
436 (tramp-send-command): Don't suppress multiple prompts for
437 busyboxes, it hurts.
438
51281b32
CY
4392011-12-28 Chong Yidong <cyd@gnu.org>
440
441 * progmodes/gdb-mi.el (gdb-get-source-file-list)
442 (gdb-get-source-file): Move mode line update to
443 gdb-get-source-file (Bug#10087).
444
2170cb53
CY
4452011-12-25 Chong Yidong <cyd@gnu.org>
446
447 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
448 gud-gdb-marker-filter without taking it as an argument.
449 (gud-gdb-run-command-fetch-lines): Caller changed.
450 (gud-gdb-completion-function): New variable.
451 (gud-gdb-completion-at-point): Use it.
452 (gud-gdb-completions-1): Split from gud-gdb-completions.
453
454 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
455 function as separate arguments.
456 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
457 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
458 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
459 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
460 (gdb-stopped, def-gdb-auto-update-trigger)
461 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
462 (gdb-get-changed-registers, gdb-get-main-selected-frame):
463 Callers changed.
2170cb53
CY
464 (gud-gdbmi-completions): New function.
465 (gdb): Use it for generating the completion table.
466
be8b11bb
AM
4672011-12-24 Alan Mackenzie <acm@muc.de>
468
469 Introduce a mechanism to widen the region used in context font
1d00653d 470 locking. Use this to protect declarations from losing their contexts.
be8b11bb 471
1d00653d
SM
472 * progmodes/cc-langs.el (c-before-font-lock-functions):
473 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 474 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
475 functions to be run just before context (etc.) font locking.
476
477 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 478 New, functionality extracted from
be8b11bb 479 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 480 (c-in-after-change-fontification): New variable.
be8b11bb
AM
481 (c-after-change): Set c-in-after-change-fontification.
482 (c-set-fl-decl-start): Rejig its interface, so it can be called
483 from both after-change and context fontifying.
b81d40f0
JB
484 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
485 New functions.
486 (c-standard-font-lock-fontify-region-function): New variable.
487 (c-font-lock-fontify-region): New function.
be8b11bb 488
341cf6ac
JL
4892011-12-24 Juri Linkov <juri@jurta.org>
490
491 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
492 (Bug#10348)
493
bffcee0a
MA
4942011-12-23 Michael Albinus <michael.albinus@gmx.de>
495
496 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
497 existence of source file. (Bug#10325)
498
cb5e207c
AM
4992011-12-23 Alan Mackenzie <acm@muc.de>
500
501 Fix unstable fontification inside templates.
502
b81d40f0
JB
503 * progmodes/cc-langs.el (c-before-font-lock-functions):
504 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
505 additionally has c-set-fl-decl-start. The other languages (apart
506 from AWK) have that as a single entry.
507
b81d40f0
JB
508 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
509 The functionality for "local" declarations has been extracted to
cb5e207c
AM
510 c-set-fl-decl-start.
511
b81d40f0
JB
512 * progmodes/cc-mode.el (c-common-init, c-after-change):
513 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
514 (c-set-fl-decl-start): New function, extracted from
515 c-font-lock-enclosing-decls and enhanced.
516
60ff536c
JB
5172011-12-23 Juanma Barranquero <lekktu@gmail.com>
518
519 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
520
1c4757d6
JL
5212011-12-22 Juri Linkov <juri@jurta.org>
522
523 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
524
d031f2c7
CY
5252011-12-22 Chong Yidong <cyd@gnu.org>
526
527 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
528
bace743a
DA
5292011-12-21 Drew Adams <drew.adams@oracle.com>
530
531 * files.el (file-remote-p): Fix docstring. (Bug#10319)
532
728a1f2b
JC
5332011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
534
535 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
536
0d373f73
TZ
5372011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
538
fec0aaa4
TZ
539 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
540 highlighting and support. Fix up comments for capitalization.
541 (cfengine-mode-debug): New var.
542 (cfengine3-mode): Change the modeline indicator to "CFE3".
543 (cfengine3-font-lock-keywords): Improve defun highlighting.
544 (cfengine2-actions): Rename from `cfengine-actions'.
545 (cfengine2-font-lock-keywords): Rename from
546 `cfengine-font-lock-keywords'.
547 (cfengine2-imenu-expression): Rename from
548 `cfengine-imenu-expression'.
549 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
550 (cfengine2-beginning-of-defun): Rename from
551 `cfengine-beginning-of-defun'.
552 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
553 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
554 (cfengine2-mode): Rename from `cfengine-mode'. Change the
555 modeline indicator to "CFE2".
556 (cfengine-mode): Defalias to `cfengine-auto-mode'.
557 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 558
bc86f573
CY
5592011-12-21 Chong Yidong <cyd@gnu.org>
560
561 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
562 filename argument.
563
d45ba96b
MR
5642011-12-20 Martin Rudalics <rudalics@gmx.at>
565
566 * window.el (window-normalize-buffer-to-display): Remove.
567 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
568
a6198c90
CY
5692011-12-19 Chong Yidong <cyd@gnu.org>
570
571 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
572 Don't signal an error in a predicate function; return non-nil.
573 (vc-dir-mark-file): Move the error here.
574 (vc-dir-mark-unmark): If acting on the region, keep going if one
575 of the entries cannot be marked/unmarked.
576 (vc-dir-mark-all-files): If current entry is a directory, mark
577 only child files, as documented.
578
34c5fb55
VB
5792011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
580
581 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
582 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
583 addition.
584
c803b2b7
JD
5852011-12-18 Jan Djärv <jan.h.d@swipnet.se>
586
587 * term/ns-win.el (ns-get-selection-internal)
588 (ns-store-selection-internal): Declare.
1154d12e
JB
589 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
590 Declare as obsolete.
591 (ns-get-pasteboard, ns-paste-secondary):
592 Use ns-get-selection-internal.
593 (ns-set-pasteboard, ns-copy-including-secondary):
594 Use ns-store-selection-internal.
c803b2b7 595
9cff91f8 5962011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
597
598 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 599 (vc-deduce-fileset): Doc fix.
99a289d9 600
f16c898a
AS
6012011-12-16 Andreas Schwab <schwab@linux-m68k.org>
602
603 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
604
763237c4
SS
6052011-12-13 Sam Steingold <sds@gnu.org>
606
607 * man.el (Man-getpage-in-background): When running under a
608 window-system, ignore $MANWIDTH and $COLUMNS.
609
5fc1c122
KH
6102011-12-15 Kenichi Handa <handa@m17n.org>
611
612 * language/ethio-util.el: Change coding tag to utf-8-emacs.
613 (setup-ethiopic-environment-internal): Comment out key-binding for
614 ethio-toggle-punctuation.
615
13d49cbb
AM
6162011-12-13 Alan Mackenzie <acm@muc.de>
617
898169a2
AM
618 Add the switch statement to AWK Mode.
619
620 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
621 "default" to the keywords regexp.
622
623 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
624 expression as the rest.
1d00653d
SM
625 (c-nonlabel-token-key): Allow string literals for AWK.
626 Refactor for the other modes.
898169a2 627
13d49cbb 628 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 629 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
630 routines. Limit backward searching in c-font-lock-enclosing.decl.
631
632 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
633 pp-state and literal type in addition to the limits.
1d00653d 634 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 635 (c-state-literal-at): Use the above new defun.
1d00653d
SM
636 (c-slow-in-literal, c-fast-in-literal): Remove.
637 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
638
639 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
640 being in a literal. Add a limit for backward searching.
641
642 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
643 c-slow-in-literal.
644
15e0efc7
SM
6452011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
648
454592a6
MR
6492011-12-13 Martin Rudalics <rudalics@gmx.at>
650
651 * window.el (delete-other-windows): Use correct frame in call to
652 window-with-parameter.
653
87393f26
DP
6542011-12-12 Daniel Pfeiffer <occitan@t-online.de>
655
656 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
657 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
658 (makefile-gmake-statements, makefile-makepp-statements):
659 Use it and add new makepp keywords.
660 (makefile-makepp-font-lock-keywords): Add new patterns.
661 (makefile-match-function-end): Match new [...] and [[...]].
662
11636b22
JB
6632011-12-11 Juanma Barranquero <lekktu@gmail.com>
664
665 * ses.el (ses-call-printer-return, ses-cell-property-get)
666 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
667 (ses-create-cell-variable, ses-reset-header-string)
668 (ses-cell-set-formula, ses-repair-cell-reference-all)
669 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
670 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
671 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
672 (ses-aset-with-undo, ses-load, ses-truncate-cell)
673 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
674 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
675 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
676 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
677 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
678 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
679 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
680 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
681
cf018193
VB
6822011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
683
684 * ses.el: The overall change is to add cell renaming, that is
685 setting fancy names for cell symbols other than name matching
686 "\\`[A-Z]+[0-9]+\\'" regexp .
687 (ses-create-cell-variable): New defun.
688 (ses-relocate-formula): Relocate formulas only for cells the
689 symbols of which are not renamed, i.e. symbols whose names do not
690 match regexp "\\`[A-Z]+[0-9]+\\'".
691 (ses-relocate-all): Relocate values only for cells the symbols of
692 which are not renamed.
693 (ses-load): Create cells variables as the (ses-cell ...) are read,
694 in order to check row col consistency with cell symbol name only
695 for cells that are not renamed.
696 (ses-replace-name-in-formula): New defun.
697 (ses-rename-cell): New defun.
698
ee957461
CY
6992011-12-11 Chong Yidong <cyd@gnu.org>
700
701 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
702 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
703
9a9e9ef0
MR
7042011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
705
706 * window.el (other-window): Fix docstring.
707
92a8eba5
EZ
7082011-12-10 Eli Zaretskii <eliz@gnu.org>
709
710 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
711 `from' or `to' address before taking its substring.
712 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
713 encoded name is chopped in the middle of the encoded string, and
714 thus displayed encoded.
715
e152e577
JB
7162011-12-10 Juanma Barranquero <lekktu@gmail.com>
717
718 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
719
e5d84bfe
EZ
7202011-12-10 Eli Zaretskii <eliz@gnu.org>
721
722 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
723 to use texinfo-update-node and commands that call it if the
724 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 725 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
726 (texinfo-all-menus-update, texinfo-master-menu)
727 (texinfo-update-node, texinfo-every-node-update)
728 (texinfo-multiple-files-update): Doc fix. Warn against updating
729 all the @node lines.
730 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
731 argument is numeric. Explain better in the doc string what the
732 function really does.
733 (texinfo-insert-master-menu-list): Improve the error message
734 displayed if there's no menu in the Top node.
735 (Bug#2975) See also this thread:
e5d84bfe
EZ
736 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
737
1d84e9bb
MG
7382011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
739
740 * speedbar.el (speedbar-supported-extension-expressions):
741 Add .adb and .ads, commonly used for Ada source code (bug#10256).
742
382c953b
JB
7432011-12-09 Juanma Barranquero <lekktu@gmail.com>
744
745 * printing.el (pr-mode-alist):
746 * simple.el (filter-buffer-substring-functions)
747 (completion-list-insert-choice-function):
748 * window.el (window-with-parameter, window-atom-root)
749 (window-sides-slots, window-size-fixed, window-min-delta)
750 (window-max-delta, window--resize-mini-window)
751 (window--resize-child-windows-normal, window-tree)
752 (delete-other-windows, quit-window, split-window)
753 (display-buffer-record-window, special-display-buffer-names)
754 (special-display-regexps, special-display-popup-frame)
755 (same-window-p, split-window-sensibly)
756 (display-buffer-overriding-action, display-buffer-alist)
757 (display-buffer-base-action, display-buffer, switch-to-buffer)
758 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
759 (fit-window-to-buffer, recenter-positions)
760 (mouse-autoselect-window-state, mouse-autoselect-window-select):
761 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
762 and remove unneeded backslashes in docstrings.
763
39c9faef
SM
7642011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
765
98449af8
SM
766 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
767
39c9faef
SM
768 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
769 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
770 end in ".mk".
771 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
772 when reading the makefile (bug#10116).
773
86ed9fdc
SM
7742011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
777 (bug#10116).
778
5580f89d
GM
7792011-12-06 Glenn Morris <rgm@gnu.org>
780
781 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
782
28d3917c
CY
7832011-12-06 Chong Yidong <cyd@gnu.org>
784
785 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
786
a98edce9
JB
7872011-12-06 Juanma Barranquero <lekktu@gmail.com>
788
789 * textmodes/table.el (table-shorten-cell): Fix typo.
790
e65adfac
CG
7912011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
792
793 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
794
71cc0b74
EZ
7952011-12-05 Eli Zaretskii <eliz@gnu.org>
796
797 * descr-text.el (describe-char): Fix display of strong
798 right-to-left characters and directional embeddings and overrides.
799
800 * simple.el (what-cursor-position): Fix display of codepoints of
801 strong right-to-left characters.
802
315bc30d
CY
8032011-12-05 Chong Yidong <cyd@gnu.org>
804
805 * faces.el (read-color): Doc fix.
806
58a70b94
GM
8072011-12-05 Glenn Morris <rgm@gnu.org>
808
809 * align.el (align--set-marker): Add doc-string.
810 Don't try to move something that is not a marker. (Bug#10216)
811
5158face
GM
8122011-12-04 Glenn Morris <rgm@gnu.org>
813
814 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
815 overly zealous deletion of trailing whitespace.
816
520fca41
JB
8172011-12-04 Juanma Barranquero <lekktu@gmail.com>
818
819 * server.el (server-delete-client): On Windows, do not try to delete
820 the only terminal.
821 (server-process-filter): On Windows, treat requests for a tty frame as
822 if they were for a GUI frame if the running server is in GUI mode.
823
5e605a2e
GM
8242011-12-03 Glenn Morris <rgm@gnu.org>
825
826 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
827
5c3fe83f
SM
8282011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
829
6f5e57e7
SM
830 * electric.el: Streamline electric-indent's hook.
831 (electric-indent-chars): Revert to simple list.
832 (electric-indent-functions): New var.
833 (electric-indent-post-self-insert-function): Use it.
834
5c3fe83f
SM
835 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
836 there's no inferior buffer (bug#10196).
837 (prolog-consult-compile): Don't use toggle-read-only.
838
6bdac736
MA
8392011-12-02 Michael Albinus <michael.albinus@gmx.de>
840
841 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
842 interrupt. (Bug#10187)
843
6131ba7f
SM
8442011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
845
99c79fee
SM
846 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
847 (bug#9160).
848
6131ba7f
SM
849 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
850 (bug#10191).
851
cb0a02ea
JL
8522011-12-02 Juri Linkov <juri@jurta.org>
853
854 * info.el (Info-search): Display "end of manual" when Isearch
855 reaches the end of single-file Info manual. (Bug#9918)
856
66e0570c
EZ
8572011-12-02 Eli Zaretskii <eliz@gnu.org>
858
859 * isearch.el (isearch-message-prefix): Run the input method part
860 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
861
02b16839
JL
8622011-12-02 Juri Linkov <juri@jurta.org>
863
864 * isearch.el (isearch-occur): Use `word-search-regexp' for
865 `isearch-word'.
866 (isearch-search-and-update): Add condition for `isearch-word' and
867 call `word-search-regexp'. (Bug#10145)
868
0b950688
GM
8692011-12-01 Glenn Morris <rgm@gnu.org>
870
871 * eshell/em-hist.el (eshell-hist-initialize):
872 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 873 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 874
9505c3c7
SM
8752011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
878
1bbe96b2 8792011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 880
a1beca85
SM
881 * progmodes/verilog-mode.el (verilog-pretty-expr):
882 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
883 verilog, such as += *= and the like.
884 (verilog-assignment-operator-re): Regular expression to find the
885 assigment operator in a verilog assignment.
886 (verilog-assignment-operation-re): Regular expression to find an
887 assignment statement for pretty-expr.
888 (verilog-in-attribute-p): Query returns true if point is in an
889 attribute context; used to skip these for expression line up from
890 pretty-expr.
891 (verilog-in-parameter-p): Query returns true if point is in an
892 parameter definition context; used to skip these for expression
893 line up from pretty-expr.
894 (verilog-in-parenthesis-p): Query returns true if point is in a
895 parenthetical expression, specifically ( ) but not [ ] or { };
896 used by pretty-expr.
897 (verilog-just-one-space): If there is no space, don't add one.
898 (verilog-get-lineup-indent-2): Specifically skip just attribute
899 contexts for expression lineup, rather than skipping all
900 parenthetical expressions.
901 (verilog-calculate-indent): Fix comment, and fix indent.
902 (verilog-do-indent): Indent declarations in lists (suggested by
903 Joachim Lechner).
904 (verilog-mode-abbrev-table): Populate abbrev mode with the various
905 skeleton items.
906 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
907 by Alain Mellan).
908
1bbe96b2 9092011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
910
911 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
912 parameters with embedded comments. Reported by Ray Stevens.
913 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
914 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
915 Reported by Tim Holt.
916 (verilog-auto): Fix AUTOing a upper module then AUTOing module
917 instantiated by upper module causing wrong expansion until AUTOed a
918 second time. Reported by K C Buckenmaier.
919 (verilog-diff-auto): Fix showing .* as a difference when
920 `verilog-auto-star-save' off. Reported by Dan Dever.
921 (verilog-auto-reset, verilog-read-always-signals)
922 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
923 temporary signals in reset list if
924 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
925 style to each signal's assignment type, bug381.
926 Reported by Thomas Esposito.
6288f0ca
WS
927 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
928 (verilog-uvm-statement-re): Support UVM indentation and
929 highlighting, with old OVM keywords only.
a1beca85 930 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
931 Support AUTOTIEOFF creating non-wire data types.
932 Suggested by Jonathan Greenlaw.
6288f0ca
WS
933 (verilog-auto-insert-lisp, verilog-delete-to-paren)
934 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
935 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
936 (verilog-read-sub-decls, verilog-read-sub-decls-line):
937 Fix mismatching parenthesis inside commented out code when deleting
382c953b 938 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
939 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
940 non-numeric vector width. Reported by Alex Reed.
941 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 942 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
943 (verilog-auto-delete-trailing-whitespace):
944 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
945 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
946 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
947 Fix verilog-scan-cache corruption when running user AUTO expansion
948 hooks that call indentation routines.
949 (verilog-simplify-range-expression): Fix typo ignoring lower case
950 identifiers.
951 (verilog-delete-auto): Fix delete-autos to also remove user created
952 automatics, as long as they start with AUTO.
953 (verilog-batch-diff-auto, verilog-diff-auto)
954 (verilog-diff-function): Add `verilog-diff-auto' and bind to
955 "C-c?" to report differences in AUTO expansion, ignoring spaces.
956 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
957 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
958 (verilog-re-search-forward-quick, verilog-syntax-ppss):
959 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
960 is disabled and its cache will get corrupt, causing AUTOS not to
961 expand. Instead use only -quick functions.
962 (verilog-scan-region): Fix scanning over escaped quotes.
963 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
964 (verilog-re-search-backward-quick)
965 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
966 related functions now ignore strings, to fix misparsing of strings
967 with magic comments embedded in them.
a1beca85
SM
968 (verilog-read-auto-template):
969 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
970 Reported by Brad Dobbie.
971 (verilog-read-auto-template):
972 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 973 Reported by Brad Dobbie.
6288f0ca
WS
974 (verilog-auto-inst, verilog-auto-inst-param)
975 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
976 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
977 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
978 debugging templates without merge conflicts, bug357.
979 Reported by Brad Dobbie.
980 (verilog-read-auto-template):
981 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
982 Reported by Brad Dobbie.
983 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
984 abbrevs so user won't be asked to save.
985 (verilog-read-auto-lisp-present): Fix to start at beginning of
986 buffer in case called outside of verilog-auto.
987 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
988 to "X-2". Reported by Matthew Myers.
989 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
990 all inputs from module templates. Reported by Leith Johnson.
991 (verilog-module-inside-filename-p): Fix locating programs as with
992 modules.
993 (verilog-auto-inst-port): Fix vl-width expressions when using
994 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
995 (verilog-decls-get-regs, verilog-decls-get-signals,
996 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
997 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
998 verilog-read-decls): Combine reg and wire structures into one var
999 structure to represent SystemVerilog concepts.
1000 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1001 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1002 (verilog-auto-wire-type, verilog-insert-definition):
1003 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1004 SystemVerilog "logic" keyword instead of "wire"/"reg".
1005 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1006 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1007 ifdef or generate if so there's not a driver conflict).
1008 Reported by Matthew Myers.
1009 (verilog-auto-declare-nettype, verilog-insert-definition):
1010 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1011 `default_nettype none. Reported by Julian Gorfajn.
1012 (verilog-read-always-signals-recurse, verilog-read-decls)
1013 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1014 malformed end statement, bug325. Reported by Joshua Wise and
1015 Andrew Drake.
1016 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1017 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1018 when expanding .* in interfaces, bug320.
1019 Reported by Pierre-David Pfister.
6288f0ca 1020 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1021 name and open parenthesis, bug317.
1022 Reported by Pierre-David Pfister.
6288f0ca
WS
1023 (verilog-simplify-range-expression): Fix simplification of
1024 multiplications inside AUTOWIRE connections, bug303.
1025 (verilog-auto-inst-port): Support parameter expansion in
1026 multidimensional arrays.
1027 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1028 after "assert property". Reported by Julian Gorfajn.
1029 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1030 with multiplication, bug303.
1031 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1032 Reported by Jan Frode Lonnum.
1033
1bbe96b2
GM
10342011-11-30 Juanma Barranquero <lekktu@gmail.com>
1035
1036 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1037 (hfy-shell-file-name, hfy-shell):
1038 * international/fontset.el (x-decompose-font-name): Fix typos.
1039
10402011-11-29 Ken Brown <kbrown@cornell.edu>
1041
1042 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1043 (gdb-version): Remove defvar.
1044 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1045 (gdb-gud-context-command, gdb-non-stop-handler)
1046 (gdb-current-context-command, gdb-stopped): Use it.
1047 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1048 (gdb-non-stop-handler): Don't enable pretty-printing here.
1049 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1050 non-stop mode. Use the following.
1051 (gdb-check-target-async): New defun.
1052 (gud-watch, gdb-stopped): Fix whitespace.
1053 (gdb-get-source-file): Don't try to display the source file if
1054 `gdb-main-file' is nil.
1055
10562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * align.el: Try to generate fewer markers (bug#10047).
1059 (align--set-marker): New macro.
1060 (align-region): Use it.
1061
c935221f
SM
10622011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1065
e70b5064
CY
10662011-11-29 Chong Yidong <cyd@gnu.org>
1067
1068 * indent.el (indent-for-tab-command, indent-according-to-mode):
1069 Doc fix.
1070 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1071
f3af92b7
MA
10722011-11-29 Michael Albinus <michael.albinus@gmx.de>
1073
1074 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1075 aware of remote file names. (Bug#10124)
1076
ed472be9
CY
10772011-11-29 Chong Yidong <cyd@gnu.org>
1078
1079 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1080
24510c22
SM
10812011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * files.el (find-file): Don't use force-same-window (bug#10144).
1084 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1085 use pop-to-buffer if the selected window can't be used.
1086 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1087
c60c3703
EZ
10882011-11-28 Eli Zaretskii <eliz@gnu.org>
1089
1090 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1091 special-mode-map.
1092
e95def75
CY
10932011-11-28 Chong Yidong <cyd@gnu.org>
1094
1095 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1096
c3f1c606
NR
10972011-11-27 Nick Roberts <nickrob@snap.net.nz>
1098
1099 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1100 gdb-get-source-file-list on gdb-create-source-file-list.
1101
00db469c
EZ
11022011-11-26 Eli Zaretskii <eliz@gnu.org>
1103
1104 * whitespace.el (whitespace-newline): Use a different foreground
1105 color for 16-color light-background displays.
1106
4ad3bc2a
CY
11072011-11-24 Chong Yidong <cyd@gnu.org>
1108
1109 * window.el (display-buffer--special-action): Doc fix.
1110
e9fce1ac
JB
11112011-11-25 Juanma Barranquero <lekktu@gmail.com>
1112
1113 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1114 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1115 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1116 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1117 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1118 (avl-tree-stack-first):
1119 * emacs-lisp/cconv.el (cconv--analyse-use):
1120 * net/gnutls.el (gnutls-negotiate): Fix typos.
1121
cb825e5d
GM
11222011-11-24 Glenn Morris <rgm@gnu.org>
1123
3adbe224
GM
1124 * lpr.el (lpr-windows-system, lpr-lp-system):
1125 * mail/binhex.el (binhex-begin-line):
1126 * progmodes/grep.el (grep-history, grep-find-history):
1127 * textmodes/flyspell.el:
1128 * vc/pcvs-defs.el (cvs-global-menu):
1129 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1130 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1131 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1132
321decc8
GM
1133 * net/tls.el: Fix case of "GnuTLS".
1134
420b63ad
GM
1135 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1136
cb825e5d
GM
1137 * version.el (emacs-build-system): Give it a doc-string.
1138
a0649f08
JL
11392011-11-24 Juri Linkov <juri@jurta.org>
1140
1141 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1142
c0bc0fd4
GM
11432011-11-24 Glenn Morris <rgm@gnu.org>
1144
1145 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1146 if called on a non-mime message just toggle the headers. (Bug#8006)
1147
20db1522
JB
11482011-11-24 Juanma Barranquero <lekktu@gmail.com>
1149
1150 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1151 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1152 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1153 (allout-rebullet-heading, allout-open-sibtopic)
1154 (allout-toggle-current-subtree-encryption)
1155 (allout-toggle-subtree-encryption, allout-encrypt-string)
1156 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1157 (allout-distinctive-bullets-string, allout-auto-activation):
1158 * window.el (window-normalize-buffer-to-display):
1159 * progmodes/verilog-mode.el (verilog-batch-indent):
1160 * textmodes/bibtex.el (bibtex-field-braces-opt)
1161 (bibtex-field-strings-opt):
1162 * vc/cvs-status.el (cvs-tree-merge):
1163 Fix typos.
1164
7262a87c
MA
11652011-11-23 Michael Albinus <michael.albinus@gmx.de>
1166
1167 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1168 `non-essential' to t, in order to avoid remote connections.
1169
283430a1
EZ
11702011-11-23 Eli Zaretskii <eliz@gnu.org>
1171
a1beca85
SM
1172 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1173 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1174 case-insensitively.
1175
d2992a38
ML
11762011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1177
1178 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1179
50419064
GM
11802011-11-23 Glenn Morris <rgm@gnu.org>
1181
da94eca1
GM
1182 * paths.el (rmail-file-name): Reformat the doc-string so that it
1183 is picked up.
1184
9aac4de2
GM
1185 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1186 (rmail-auto-file): Ignore case in the "special" field names,
1187 as mail-fetch-field does for all others.
1188
8038d2d2
GM
1189 * mail/rmail.el (rmail-forward):
1190 * mail/rmailkwd.el (rmail-set-label):
1191 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1192 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1193
f3fe222a
GM
1194 * mail/rmail.el (rmail-current-message): Doc fix.
1195
50419064
GM
1196 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1197
28109f49
SM
11982011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1201
394c65f1
GM
12022011-11-22 Glenn Morris <rgm@gnu.org>
1203
1204 * mail/rmailmm.el (test-rmail-mime-handler)
1205 (test-rmail-mime-bulk-handler)
1206 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1207
f2a0aa3a
JL
12082011-11-21 Juri Linkov <juri@jurta.org>
1209
1154d12e
JB
1210 * calc/calc.el (calc-read-key-sequence):
1211 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1212
9c34a344
LMI
12132011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1214
1215 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1216 Tell the caller that the next line needs recomputation, even
1217 though it doesn't start a sexp (bug#10094).
1218
f04a3be9
SM
12192011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1222
7978747f
SM
12232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1224
f04a3be9
SM
1225 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1226 Use force-same-window.
7978747f 1227
fe7a3057
JB
12282011-11-20 Juanma Barranquero <lekktu@gmail.com>
1229
1230 * descr-text.el (describe-char-unicode-data):
1231 * json.el (json-string-escape):
1232 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1233 (Footnote-unicode, Footnote-style-p):
1234 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1235
24901d61
CY
12362011-11-20 Chong Yidong <cyd@gnu.org>
1237
1238 * window.el (replace-buffer-in-windows): Restore interactive spec.
1239
bac7ff22
SM
12402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1241
24f3d7b9
SM
1242 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1243
bac7ff22
SM
1244 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1245 (byte-compile-global-not-obsolete-vars): New var.
1246 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1247 Use it.
1248 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1249
cd1181db
JB
12502011-11-20 Juanma Barranquero <lekktu@gmail.com>
1251
1252 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1253 * progmodes/pascal.el (electric-pascal-equal):
1254 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1255 * xml.el (xml-substitute-special): Fix typos.
1256
7fb18e9e
GM
12572011-11-20 Glenn Morris <rgm@gnu.org>
1258
1259 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1260 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1261 Doc fixes.
1262 (rmail-decode-mime-charset): Mark as obsolete.
1263
1264 * mail/rmailsum.el (rmail-message-regexp-p-1):
1265 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1266 Before using mime functions, check they are set. (Bug#10077)
1267
d5a6b3ba
JL
12682011-11-19 Juri Linkov <juri@jurta.org>
1269
1270 * info.el (Info-finder-find-node): Use `package--builtins' instead
1271 of `package-alist'. Use node names formed by the pattern "Keyword "
1272 and the keyword name.
1273
e981b61f
AS
12742011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1275
1d00653d 1276 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1277
3ffbc301
JL
12782011-11-19 Juri Linkov <juri@jurta.org>
1279
1280 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1281 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1282 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1283 `old-history', `old-history-forward'. Add let-binding
1284 `window-selected'. Remove calls to `kill-buffer',
1285 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1286 before calling `Info-find-node', so `Info-find-node-2' will reread
1287 the Info file. Restore window positions only when `window-selected'
1288 is non-nil.
1289
30c62133
JL
12902011-11-19 Juri Linkov <juri@jurta.org>
1291
1292 * isearch.el (isearch-lazy-highlight-new-loop):
1293 Remove condition `(not isearch-error)'. (Bug#9918)
1294
1295 * misearch.el (multi-isearch-search-fun): Add condition
1296 `(not bound)' to ignore lazy-highlighting search.
1297 Add the search-failed message "end of multi" when the end of
1298 multi-sequence is reached. Uncapitalize the search-failed
1299 message "Repeat for next buffer".
1300
1301 * info.el (Info-search): Add the search-failed message
1302 "end of the manual" when the end of the manual is reached
1303 in Isearch mode.
1304
645ca9cf
JL
13052011-11-19 Juri Linkov <juri@jurta.org>
1306
1307 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1308 Use non-destructive `remove' instead of `delete' because
1309 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1310 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1311
df754f66
JL
13122011-11-19 Juri Linkov <juri@jurta.org>
1313
1314 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1315 to nil instead of binding `search-ring' and `regexp-search-ring'.
1316 (Bug#9185)
1317
0e23d96a
EZ
13182011-11-19 Eli Zaretskii <eliz@gnu.org>
1319
1320 * simple.el (line-move): Force movement by logical lines for any
1321 hscrolled window, not only when auto-hscroll-mode is on.
1322 (line-move-visual): Update doc string to that effect. (Bug#10076)
1323
8a6ccb66
AS
13242011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1325
1326 * language/european.el (macintosh): Define as alias for mac-roman.
1327
49ae5b39
EZ
13282011-11-19 Eli Zaretskii <eliz@gnu.org>
1329
1330 * mail/rmailmm.el (rmail-mime-display-header)
1331 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1332 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1333 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1334 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1335 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1336 of a raw aref.
1337 (rmail-mime-entity-segment): To get past the tagline, move forward
1338 2 more lines, to account for the 2 empty lines that precede and
1339 follow the line with the buttons.
1340 (rmail-mime-update-tagline): Move one more line, to get past the
1341 empty line that follows the buttons in the tagline. (Bug#9520)
1342
c56cad4a
MR
13432011-11-19 Martin Rudalics <rudalics@gmx.at>
1344
1345 * window.el (window-max-delta-1, window-min-delta-1)
1346 (window-min-size-1, window-state-get-1, window-state-put-1)
1347 (window-state-put-2): Use "window--" prefix.
1348
cbe71af3
SM
13492011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1350
2ad52c60
SM
1351 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1352 (smie-warning-count): New var.
1353 (smie-set-prec2tab): Use it.
1354 (smie-bnf->prec2): Improve warnings. Add docstring.
1355 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1356 (smie-bnf--set-class): New function.
1357 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1358 corner case.
1359
6944dbc1
SM
1360 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1361 (compilation-error-properties, compilation-move-to-column):
1362 Handle compilation-first-column while in the target buffer.
1363
c400c4d7
SM
1364 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1365 Don't hardcode point-min==1.
1366
6dbe3e96
SM
1367 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1368 (eshell-rewrite-for-command): Remove workaround.
1369 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1370 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1371 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1372
cbe71af3
SM
1373 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1374
a8e1496d
GM
13752011-11-17 Glenn Morris <rgm@gnu.org>
1376
1377 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1378 Ignore buffer-local generated-autoload-file if it is the same
1379 as the global value. (Bug#10049)
1380
df85d315
JB
13812011-11-17 Juanma Barranquero <lekktu@gmail.com>
1382
1383 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1384 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1385 (reftex-toc-previous-heading, reftex-toc-max-level)
1386 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1387 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1388 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1389 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1390 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1391 (reftex-toc-rename-label, reftex-toc-visit-location)
1392 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1393 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1394 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1395 leaving "*toc*" only for references to the buffer.
1396
a0c2d0ae
MR
13972011-11-17 Martin Rudalics <rudalics@gmx.at>
1398
1399 * window.el (window-resize, delete-window, split-window):
1400 Replace window-splits by window-combination-resize.
1d00653d 1401 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1402
35c0bac8
GM
14032011-11-17 Glenn Morris <rgm@gnu.org>
1404
1405 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1406 Make bash entry derive from sh entry, not shell entry.
1407
d0c8fc8a
MA
14082011-11-16 Michael Albinus <michael.albinus@gmx.de>
1409
d0c8fc8a
MA
1410 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1411 properties of linked files. (Bug#9879)
1412
7262a87c
MA
1413 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1414 local file name.
1415
7877f373
JB
14162011-11-16 Juanma Barranquero <lekktu@gmail.com>
1417
1418 * menu-bar.el (menu-bar-file-menu):
1419 * printing.el (pr-ps-utility):
1420 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1421 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1422 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1423 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1424 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1425 (icalendar--convert-cyclic-to-ical)
1426 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1427 (icalendar--convert-ical-to-diary)
1428 (icalendar--convert-recurring-to-diary)
1429 (icalendar--convert-non-recurring-all-day-to-diary)
1430 (icalendar-import-format-sample):
1431 * progmodes/idlw-shell.el (idlwave-shell-mode):
1432 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1433 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1434 (vhdl-ps-print-init): Fix typos.
1435
10649b82
KM
14362011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1437
9d0cfcd6
GM
1438 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1439 FSF and collapse date sequence, obscure author/maintainer email address
1440 better, remove extra version line, track relocation of author's webpage.
10649b82 1441
9d0cfcd6
GM
1442 * progmodes/python.el (python-pdbtrack-input-prompt)
1443 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1444 regular python pdb prompts. Adjustments shamelessly taken exactly as
1445 suggested in EmacsWiki page (tiny change):
1446 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1447
58179cce
JB
14482011-11-16 Juanma Barranquero <lekktu@gmail.com>
1449
1450 * expand.el (expand-pos, expand-index, expand-point):
1451 Remove redundant info from docstring.
1452 (expand-add-abbrevs): Doc fix.
1453 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1454 (expand-sample-perl-mode-expand-list): Fix typos.
1455
1456 * net/dbus.el (dbus-event-member-name):
1457 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1458 * term/pc-win.el (msdos-create-frame-with-faces):
1459 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1460
b6f67890
MR
14612011-11-16 Martin Rudalics <rudalics@gmx.at>
1462
1463 * window.el (split-window, window-state-get-1)
1464 (window-state-put-1, window-state-put-2): Rename occurrences of
1465 window-nest to window-combination-limit.
1d00653d 1466 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1467
ce7ddba0
CY
14682011-11-16 Chong Yidong <cyd@gnu.org>
1469
1470 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1471 regexp (Bug#10033).
1472
3ae704f4
SM
14732011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1476 `completing-read' will remove *Completions* and will preserve
1477 current-buffer for us.
1478 (tmm-add-prompt): Users of *Completions* will always (re)set its
1479 major mode.
1480 (tmm-old-comp-map): Remove.
1481
6ad1cdde
GM
14822011-11-16 Glenn Morris <rgm@gnu.org>
1483
1484 * mail/rmailedit.el: Require rmailmm when compiling.
1485 (rmail-old-mime-state): New declaration.
1486 (rmail-edit-current-message): If editing a mime message,
1487 edit the "raw" message from the mbox buffer.
1488 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1489
d20faa20
GM
14902011-11-15 Glenn Morris <rgm@gnu.org>
1491
1492 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1493 which wasn't being used. Add optional arg to force given state.
1494 (rmail-mime): Add optional arg to force given state.
1495
c7015153
JB
14962011-11-15 Juanma Barranquero <lekktu@gmail.com>
1497
1498 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1499 * frame.el (display-mm-dimensions-alist):
1500 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1501 (outline-move-subtree-down):
1502 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1503 (newsticker--treeview-do-get-node):
1504 * net/quickurl.el (quickurl-list-buffer-name):
1505 * progmodes/dcl-mode.el (dcl-mode):
1506 * progmodes/gdb-mi.el (gdb-mapcar*):
1507 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1508
45261b50
GM
15092011-11-15 Glenn Morris <rgm@gnu.org>
1510
1511 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1512 in a boolean sense, so just make it a boolean, and fix the doc.
1513 (rmail-show-mime-function, rmail-mime-feature)
1514 (rmail-require-mime-maybe): Doc fixes.
1515 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1516
1517 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1518
0d26e0b6
JB
15192011-11-15 Juanma Barranquero <lekktu@gmail.com>
1520
1521 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1522 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1523 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1524 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1525
447f30f6
GM
15262011-11-15 Glenn Morris <rgm@gnu.org>
1527
672b871d
GM
1528 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1529 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1530 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1531 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1532 (rmail-mime, rmail-show-mime): Doc fixes.
1533
f6aa5bb1
GM
1534 * term/ns-win.el (mode-line-frame-identification):
1535 Leave it alone. (Bug#10051)
1536
947cd66b
GM
1537 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1538
447f30f6
GM
1539 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1540 Handle empty buffers. (Bug#9978)
1541
0b381c7e
JB
15422011-11-14 Juanma Barranquero <lekktu@gmail.com>
1543
1544 * international/mule.el (define-charset):
1545 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1546 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1547 * progmodes/verilog-mode.el (verilog-backward-token):
1548 * textmodes/ispell.el (lookup-words):
1549 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1550
71e027ac
GM
15512011-11-14 Glenn Morris <rgm@gnu.org>
1552
56632ce4
GM
1553 * progmodes/executable.el
1554 (executable-make-buffer-file-executable-if-script-p):
1555 Handle file-modes returning nil.
1556
40500957
GM
1557 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1558 message - not necessary, and causes problems. (Bug#9831)
1559
071c2340
GM
1560 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1561
d3cfca60
GM
1562 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1563
71e027ac
GM
1564 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1565 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1566 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1567
89d61221
MR
15682011-11-12 Martin Rudalics <rudalics@gmx.at>
1569
1570 * window.el (window-resize, delete-window): Use window-splits
1571 variable instead of function.
1572 (window-state-get-1, window-state-put-2, window-state-put):
1573 Don't deal with windows' splits status.
1574
98282f6f
GM
15752011-11-12 Glenn Morris <rgm@gnu.org>
1576
1577 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1578 (apropos-documentation): Doc fixes.
1579
40a8bdf6
JB
15802011-11-11 Juanma Barranquero <lekktu@gmail.com>
1581
1582 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1583 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1584
65bd19ff
SM
15852011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * electric.el (electric-indent-post-self-insert-function): Make it
1588 possible for a char to only indent in some circumstances.
1589 (electric-indent-mode): Simplify.
1590
54f9154c
MR
15912011-11-11 Martin Rudalics <rudalics@gmx.at>
1592
1593 * window.el (windows-with-parameter): Remove unused function.
1594 (windows-at-side): Rename to window-at-side-list.
1595 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1596 (window-side-check, window-size-ignore, window-size-fixed-1)
1597 (window-in-direction-2): Prefix with "window--".
1598 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1599
68cbc58b
GM
16002011-11-11 Glenn Morris <rgm@gnu.org>
1601
1602 * subr.el (eval-after-load): If FILE is already loaded,
1603 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1604
b2621720
GM
16052011-11-10 Glenn Morris <rgm@gnu.org>
1606
9a4de110
GM
1607 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1608 Call svn via vc-svn-command rather than vc-do-command.
1609 (vc-svn-command): Add --non-interactive. (Bug#9993)
1610 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1611
b2621720
GM
1612 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1613 Add toggle-read-only. (Bug#7292)
1614 * files.el (toggle-read-only): Mention that it should only
1615 be used interactively. (Bug#10006)
1616
1dce7193
SM
16172011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1618
d9ac1a1e
SM
1619 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1620 Adjust regexp for OCaml warnings.
1621
0c325082
SM
1622 * electric.el (electric-pair-post-self-insert-function): Let user
1623 turn it off buffer-locally (bug#9932).
1624
90132c14
SM
1625 * progmodes/python.el (python-beginning-of-statement):
1626 Rewrite (bug#2703).
1627
1dce7193
SM
1628 * progmodes/compile.el: Better handle TABs (bug#9749).
1629 (compilation-internal-error-properties)
1630 (compilation-next-error-function): Obey the target buffer's
1631 compilation-error-screen-columns.
1632
c4e7c63a
JB
16332011-11-09 Juanma Barranquero <lekktu@gmail.com>
1634
1635 * progmodes/meta-mode.el: Remove obsolete comments.
1636 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1637 Fix typos in docstrings.
1638
2cffd681
MR
16392011-11-09 Martin Rudalics <rudalics@gmx.at>
1640
1641 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1642 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1643 (window--resizable): New function. Make all callers of
1644 window-resizable call window--resizable instead.
1645 (window-resizable): Rewrite in terms of window--resizable.
1646
0edcba87
GM
16472011-11-08 Glenn Morris <rgm@gnu.org>
1648
1649 * progmodes/delphi.el (delphi-mode-syntax-table):
1650 Let define-derived-mode define a proper syntax table. (Bug#9994)
1651
4b0d61e3
SM
16522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * window.el: Stay away from defsubst.
1655 (window-list-no-nils): Remove.
1656 (window-state-get-1, window-state-get): Use backquote instead.
1657
cd394be1 16582011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1659
4b0d61e3 1660 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1661 Fix incorrect use of default argument in `completing-read'.
1662
e1c2c6f2
MR
16632011-11-08 Martin Rudalics <rudalics@gmx.at>
1664
1665 * window.el (display-buffer-function, special-display-function):
1666 Mention display-buffer-record-window but do not mention
1667 help-setup parameter in doc-strings.
b3f4a882 1668 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1669
105216ed
CY
16702011-11-08 Chong Yidong <cyd@gnu.org>
1671
1672 * window.el (window-total-height, window-total-width): Doc fix.
1673 (window-body-size): Move from C.
1674 (window-body-height, window-body-width): Move to C.
1675
0a9f9ab5
SM
16762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * window.el: Make special-display like display-buffer-alist (bug#9532).
1679 (display-buffer--special-action): New function, morphed
1680 from display-buffer--special.
1681 (display-buffer): Use it to handle special-display-buffers at higher
1682 priority (just after display-buffer-alist).
1683 (display-buffer-fallback-action, display-buffer--other-frame-action)
1684 (pop-to-buffer-same-window): Remove display-buffer--special.
1685
a769dd15
GM
16862011-11-07 Glenn Morris <rgm@gnu.org>
1687
1688 * calendar/cal-menu.el (cal-menu-set-date-title):
1689 Do nothing if not in a calendar. (Bug#9976)
1690
05a61ee3
SM
16912011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * files.el (find-file): Always use selected-window.
1694
be7f5545
MR
16952011-11-07 Martin Rudalics <rudalics@gmx.at>
1696
1697 * window.el (window-combinations): Make WINDOW argument
1698 mandatory. Rewrite doc-string.
1699 (walk-window-subtree, window-atom-check, window-min-delta)
1700 (window-max-delta, window--resize-this-window)
1701 (window--resize-root-window-vertically, window-tree)
1702 (balance-windows, window-state-put): Rewrite doc-strings as to
1703 not mention the term "subwindow".
1704 (window--resize-subwindows-skip-p): Rename to
1705 window--resize-child-windows-skip-p.
1706 (window--resize-subwindows-normal): Rename to
1707 window--resize-child-windows-normal.
1708 (window--resize-subwindows): Rename to
1709 window--resize-child-windows.
1710 (window-or-subwindow-p): Rename to window--in-subtree-p.
1711
3c6702ef
ML
17122011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1713
1714 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1715 Ensure that mbox format messages end in two newlines (Bug#9974).
1716
49745b39
CY
17172011-11-06 Chong Yidong <cyd@gnu.org>
1718
1719 * window.el (window-combination-p): Function deleted; its
1720 side-effect is not used in any existing code.
1721 (window-combinations, window-combined-p): Call window-*-child
1722 directly.
1723
24300f5f
CY
17242011-11-05 Chong Yidong <cyd@gnu.org>
1725
1726 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1727 (window-size-ignore, window-state-get): Callers changed.
1728 (window-normalize-window): Rename from window-normalize-any-window.
1729 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1730 (window-normalize-live-window): Delete.
447f16b8
CY
1731 (window-combination-p, window-combined-p, window-combinations)
1732 (walk-window-subtree, window-atom-root, window-min-size)
1733 (window-sizable, window-sizable-p, window-size-fixed-p)
1734 (window-min-delta, window-max-delta, window-resizable)
1735 (window-resizable-p, window-full-height-p, window-full-width-p)
1736 (window-current-scroll-bars, window-point-1, set-window-point-1)
1737 (window-at-side-p, window-in-direction, window-resize)
1738 (adjust-window-trailing-edge, maximize-window, minimize-window)
1739 (window-deletable-p, delete-window, delete-other-windows)
1740 (record-window-buffer, unrecord-window-buffer)
1741 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1742 (quit-window, split-window, window-state-put)
1743 (set-window-text-height, fit-window-to-buffer)
1744 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1745
89bd5ee1
EZ
17462011-11-04 Eli Zaretskii <eliz@gnu.org>
1747
53479029
EZ
1748 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1749 rfc2047-decode-string.
1750 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1751 warnings.
1752
89bd5ee1
EZ
1753 * window.el (window-body-height, window-body-width): Mention in
1754 the doc string that the return values are in frame's canonical
1755 units. (Bug#9949)
1756
bd17fdee
AM
17572011-11-03 Alan Mackenzie <acm@muc.de>
1758
1759 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1760 change in cc-engine.el.
1761
acc825c5
SM
17622011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1765
1885e5b8
MR
17662011-11-02 Martin Rudalics <rudalics@gmx.at>
1767
1768 * window.el (quit-window): Call unrecord-window-buffer after
1769 showing another buffer in the window. (Bug#9937)
acc825c5 1770 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1771
ebe06da9
JB
17722011-11-02 Juanma Barranquero <lekktu@gmail.com>
1773
1774 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1775 Accept status with more than 9 shelves. (Bug#9935)
1776 Reported by Colin D Bennett <colin@gibibit.com>.
1777
4ee88440
MR
17782011-11-01 Martin Rudalics <rudalics@gmx.at>
1779
1780 * help.el (with-help-window): Don't reference
1781 temp-buffer-show-specifiers in doc-string.
1782
08e1d82c
AS
17832011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1784
1785 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1786 menu-item.
1787
84bd6e9e
VJL
17882011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1789
1790 * whitespace.el: New version 13.2.2.
1791 (whitespace-newline-mode): Disable properly. Reported by Sarah
1792 <EmacsWiki>.
1793
dba0634a
UJ
17942011-10-30 Ulf Jasper <ulf.jasper@web.de>
1795
1796 * net/newst-treeview.el: Remove "Time-stamp".
1797 (newsticker--group-manage-orphan-feeds): Do not call
1798 newsticker--treeview-tree-update.
db22a3c2
JB
1799 (newsticker-treeview-update, newsticker-treeview):
1800 Call newsticker--treeview-tree-update if necessary.
dba0634a 1801
3d8daefe
MR
18022011-10-30 Martin Rudalics <rudalics@gmx.at>
1803
1804 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1805 (window-iso-combinations): Remove "iso-" infix.
1806 Suggested by Chong Yidong.
3d8daefe
MR
1807 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1808 (window-max-delta-1, window-resize, window--resize-siblings)
1809 (window--resize-this-window, adjust-window-trailing-edge)
1810 (split-window, balance-windows-1)
1811 (shrink-window-if-larger-than-buffer):
1812 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1813 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1814
1bc4c3ae
SM
18152011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1818 in place (bug#9907).
1819 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1820 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1821 (eshell-structure-basic-command, eshell-rewrite-while-command)
1822 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1823 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1824 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1825 (eshell-do-pipelines-synchronously, eshell-eval-command):
1826 Use backquotes and prefer setq to set.
1827 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1828 (eshell-macrop): Use functionp.
c1e2f5fa 1829 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1830
30b65d9c
CY
18312011-10-30 Chong Yidong <cyd@gnu.org>
1832
1833 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1834 instead of set-mark (Bug#9810).
1835
2d197ffb
CY
18362011-10-30 Chong Yidong <cyd@gnu.org>
1837
1838 * window.el (split-window-below, split-window-right): Rename from
1839 split-window-above-each-other and split-window-side-by-side
1840 respectively. All callers changed.
1841 (split-window-sensibly, split-window-sensibly): Use them.
1842 (split-window-keep-point): Doc fix.
1843
1844 * isearch.el: Add isearch-scroll property to split-window-below
1845 and split-window-right.
1846
1847 * follow.el (follow-mode):
1848 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1849 * progmodes/ada-xref.el (ada-gdb-application):
1850 * emulation/vip.el (vip-buffer-in-two-windows):
1851 * image-dired.el (image-dired-dired-with-window-configuration):
1852 * dired-x.el (dired-do-find-marked-files):
1853 * dired.el (dired-pop-to-buffer):
1854 * bs.el (bs--show-with-configuration):
1855 * vc/emerge.el (emerge-setup-windows):
1856 * textmodes/two-column.el (2C-two-columns):
1857 * textmodes/reftex-toc.el (reftex-toc):
1858 * progmodes/gdb-mi.el (gdb-setup-windows):
1859 * progmodes/fortran.el (fortran-window-create):
1860 * net/newst-treeview.el (newsticker--treeview-window-init):
1861 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1862 * emulation/tpu-edt.el (tpu-gold-map):
1863 * emulation/crisp.el (crisp-mode-map):
1864 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1865
38bb2ca8
CY
18662011-10-29 Chong Yidong <cyd@gnu.org>
1867
aa4de341
CY
1868 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1869
e1eb5385
CY
1870 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1871
5d2ece3c
CY
1872 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1873 forged Ispell output (Bug#7904).
1874
38bb2ca8
CY
1875 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1876
d0af9f77
SM
18772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * doc-view.el: Avoid ugly errors about not finding nil.
1880 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1881 (doc-view-dvipdf-program, doc-view-unoconv-program)
1882 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1883 Avoid nil or absolute file name as default value.
1884 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1885
52bedd34
AM
18862011-10-28 Alan Mackenzie <acm@muc.de>
1887
db22a3c2 1888 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1889
7e43cfa5
AM
18902011-10-28 Alan Mackenzie <acm@muc.de>
1891
1892 Amend the handling of c-beginning/end-of-defun in nested declaration
1893 scopes.
1894
52bedd34
AM
1895 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1896 cc-langs.el. Change it to a defcustom.
7e43cfa5 1897
52bedd34
AM
1898 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1899 cc-vars.el.
7e43cfa5 1900
d0af9f77
SM
1901 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1902 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1903
52bedd34 1904 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1905 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1906 (c-widen-to-enclosing-decl-scope): New function.
1907 (c-while-widening-to-decl-block): New macro.
1908 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1909 outward for defun boundaries, and correspondingly change symbol
1910 `respect-enclosure' to `go-outward'.
1911 (c-declaration-limits): Change algorithm to report only the "innermost"
1912 defun's boundaries.
1913
1a2ce9ee
DD
19142011-10-28 Deniz Dogan <deniz@dogan.se>
1915
1916 * net/rcirc.el (rcirc-mode): Use hard newlines.
1917
bc97a826
AM
19182011-10-28 Alan Mackenzie <acm@muc.de>
1919
1920 Amend to indent and fontify macros "which include their own semicolon"
1921 correctly, using the "virtual semicolon" mechanism.
1922
52bedd34 1923 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1924
d0af9f77 1925 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1926 Recode to scan one line at a time rather than having \n and \r
58179cce 1927 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1928 (c-forward-label): Amend for virtual semicolons.
58179cce 1929 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1930
52bedd34
AM
1931 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1932 of the new C macros.
bc97a826 1933
52bedd34 1934 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1935 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1936 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1937 (c-opt-cpp-macro-define): Make into a full language variable.
1938 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1939 AWK Mode (including \n, \r) removed, no longer needed.
1940
d0af9f77
SM
1941 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1942 Invoke c-make-macro-with-semi-re.
bc97a826 1943
52bedd34
AM
1944 * progmodes/cc-vars.el (c-macro-with-semi-re):
1945 (c-macro-names-with-semicolon): New variables.
58179cce 1946 (c-make-macro-with-semi-re): New function.
bc97a826 1947
7a6c0941
SM
19482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * vc/log-edit.el: Fill empty field rather than adding new one.
1951 (log-edit-add-field): New function.
1952 (log-edit-insert-changelog): Use it.
1953
b0c4cdcf
ML
19542011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1955
1956 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1957
ee1f1da9
SM
19582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1961 (gdb--check-interpreter): New function.
1962 (gdb): Use it.
1963
51bc5f8b
GM
19642011-10-27 Glenn Morris <rgm@gnu.org>
1965
416a2c45
GM
1966 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1967 (least-positive-float, least-negative-float)
1968 (least-positive-normalized-float, least-negative-normalized-float)
1969 (float-epsilon, float-negative-epsilon):
1970 Remove unnecessary declarations.
1971
1972 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1973 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1974 (least-positive-float, least-negative-float)
1975 (least-positive-normalized-float, least-negative-normalized-float)
1976 (float-epsilon, float-negative-epsilon): Add doc-strings,
1977 based on those in cl.texi.
1978
51bc5f8b
GM
1979 * files.el (set-visited-file-name): If the major-mode changed,
1980 reload the local variables. (Bug#9796)
1981
15de15c6
CY
19822011-10-27 Chong Yidong <cyd@gnu.org>
1983
1984 * subr.el (change-major-mode-after-body-hook): New hook.
1985 (run-mode-hooks): Run it.
1986
ee1f1da9
SM
1987 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1988 Use change-major-mode-before-body-hook.
15de15c6
CY
1989
1990 * simple.el (fundamental-mode):
1991 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1992 change introducing fundamental-mode-hook.
1993
5430d399
JB
19942011-10-26 Juanma Barranquero <lekktu@gmail.com>
1995
acc825c5 1996 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1997
ad74a69e
MA
19982011-10-26 Michael Albinus <michael.albinus@gmx.de>
1999
2000 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2001 tramp.el explicitly. (Bug#7583)
ad74a69e 2002
71d4c2a5
SM
20032011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * progmodes/octave-mod.el:
2006 * progmodes/octave-inf.el: Update maintainer.
2007
b1f6fa26
CY
20082011-10-26 Chong Yidong <cyd@gnu.org>
2009
2010 * subr.el (with-wrapper-hook): Rewrite doc.
2011
3f04efd6
MA
20122011-10-25 Michael Albinus <michael.albinus@gmx.de>
2013
2014 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2015 filenames "/method:foo:". (Bug#9793)
3f04efd6 2016
410488d3
SM
20172011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2020 (bug#9865).
2021
c1ebb47e
GM
20222011-10-24 Glenn Morris <rgm@gnu.org>
2023
2024 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2025
7f5c46c7
MA
20262011-10-24 Michael Albinus <michael.albinus@gmx.de>
2027
2028 * notifications.el: Add the requirement of a running D-Bus session
2029 bus to the Commentary.
2030
db2440b6
JL
20312011-10-24 Juri Linkov <juri@jurta.org>
2032
2033 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2034 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2035 (Bug#9364)
2036
feecf435
JL
20372011-10-24 Juri Linkov <juri@jurta.org>
2038
2039 * info.el (Info-following-node-name-re): Add newline to the list
2040 of allowed characters for leading space. (Bug#9824)
2041
a3839de2
SM
20422011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2043
acc825c5
SM
2044 * progmodes/octave-inf.el (inferior-octave-mode-map):
2045 Fix C-c C-h binding.
a3839de2
SM
2046 * progmodes/octave-mod.el (octave-help): Remove.
2047
09388e76
MA
20482011-10-23 Michael Albinus <michael.albinus@gmx.de>
2049
2050 Sync with Tramp 2.2.3.
2051
2052 * net/tramp-cache.el (top): Pacify byte-compiler using
2053 `init-file-user' and `site-run-file'.
2054
2055 * net/trampver.el: Update release number.
2056
86c60681
CY
20572011-10-23 Chong Yidong <cyd@gnu.org>
2058
2059 * files.el (toggle-read-only): Remove obsolete comment about
2060 version control.
2061
2062 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2063 for toggle-read-only. Note that this hasn't called vc-next-action
2064 since 2008-05-02, though it wasn't documented at the time.
2065
a3839de2
SM
2066 * vc/ediff-init.el (ediff-toggle-read-only-function):
2067 Use toggle-read-only.
86c60681 2068
cd5495ff
AM
20692011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2070
2071 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2072 of c-parse-state.
2073
00b77525 2074 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2075 correct faulty logical expression.
cd5495ff
AM
2076 (c-parse-state-state, c-record-parse-state-state):
2077 (c-replay-parse-state-state): New defvar/defuns.
2078 (c-debug-parse-state): Use new functions.
2079
42ee24ed
MR
20802011-10-22 Martin Rudalics <rudalics@gmx.at>
2081
2082 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2083 last fix. Use window-in-direction correctly.
42ee24ed 2084
a7dee7e7
CY
20852011-10-21 Chong Yidong <cyd@gnu.org>
2086
2087 * progmodes/idlwave.el (idlwave-mode):
2088 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2089 require-final-newline; that's done in prog-mode.
2090 Suggested by Stefan Monnier.
a7dee7e7 2091
e07b9a6d
MR
20922011-10-21 Martin Rudalics <rudalics@gmx.at>
2093
2094 * mouse.el (mouse-drag-window-above)
2095 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2096 (mouse-drag-mode-line-1, mouse-drag-header-line)
2097 (mouse-drag-vertical-line-rightward-window): Remove.
2098 (mouse-drag-line): New function.
2099 (mouse-drag-mode-line, mouse-drag-header-line)
2100 (mouse-drag-vertical-line): Call mouse-drag-line.
2101 * window.el (window-at-side-p, windows-at-side): New functions.
2102
7e1361d9
UM
21032011-10-21 Ulrich Mueller <ulm@gentoo.org>
2104
2105 * tar-mode.el (tar-grind-file-mode):
2106 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2107
30fcaf3a
CY
21082011-10-21 Chong Yidong <cyd@gnu.org>
2109
2110 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2111 * progmodes/vera-mode.el (vera-mode):
2112 Use mode-require-final-newline.
30fcaf3a 2113
516eddb0
GM
21142011-10-20 Glenn Morris <rgm@gnu.org>
2115
db22a3c2 2116 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2117
10d5f513
CS
21182011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2119
2120 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2121
ac6c8639
CY
21222011-10-20 Chong Yidong <cyd@gnu.org>
2123
2124 * emulation/cua-base.el (cua-mode):
2125 * mail/footnote.el (footnote-mode):
2126 * mail/mailabbrev.el (mail-abbrevs-mode):
2127 * net/xesam.el (xesam-minor-mode):
2128 * progmodes/bug-reference.el (bug-reference-mode):
2129 * progmodes/cap-words.el (capitalized-words-mode):
2130 * progmodes/compile.el (compilation-minor-mode)
2131 (compilation-shell-minor-mode):
2132 * progmodes/gud.el (gud-tooltip-mode):
2133 * progmodes/hideif.el (hide-ifdef-mode):
2134 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2135 * progmodes/subword.el (subword-mode):
2136 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2137 * progmodes/which-func.el (which-function-mode):
2138 * term/tvi970.el (tvi970-set-keypad-mode):
2139 * term/vt100.el (vt100-wide-mode):
2140 * textmodes/flyspell.el (flyspell-mode):
2141 * textmodes/ispell.el (ispell-minor-mode):
2142 * textmodes/nroff-mode.el (nroff-electric-mode):
2143 * textmodes/paragraphs.el (use-hard-newlines):
2144 * textmodes/refill.el (refill-mode):
2145 * textmodes/reftex.el (reftex-mode):
2146 * textmodes/rst.el (rst-minor-mode):
2147 * textmodes/sgml-mode.el (html-autoview-mode)
2148 (sgml-electric-tag-pair-mode):
2149 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2150 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2151 * emulation/crisp.el (crisp-mode):
2152 * emacs-lisp/eldoc.el (eldoc-mode):
2153 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2154 minor mode behavior.
2155
aa42ab43
JL
21562011-10-19 Juri Linkov <juri@jurta.org>
2157
2158 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2159 the list of hard-coded chars with escape-glyph face.
2160
89400f1d
SM
21612011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2164
305c07f6
MA
21652011-10-19 Michael Albinus <michael.albinus@gmx.de>
2166
2167 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2168 running process.
2169
13754b54
GM
21702011-10-19 Glenn Morris <rgm@gnu.org>
2171
2172 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2173 Ignore ignored files. (Bug#9726)
2174
06e21633
CY
21752011-10-19 Chong Yidong <cyd@gnu.org>
2176
2177 Doc fix for minor modes, stating that an omitted argument enables
2178 the mode unconditionally when called from Lisp.
2179
2180 * abbrev.el (abbrev-mode):
2181 * allout.el (allout-mode):
2182 * autoinsert.el (auto-insert-mode):
2183 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2184 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2185 (global-auto-revert-mode):
2186 * battery.el (display-battery-mode):
2187 * composite.el (global-auto-composition-mode)
2188 (auto-composition-mode):
2189 * delsel.el (delete-selection-mode):
2190 * desktop.el (desktop-save-mode):
2191 * dired-x.el (dired-omit-mode):
2192 * dirtrack.el (dirtrack-mode):
2193 * doc-view.el (doc-view-minor-mode):
2194 * double.el (double-mode):
2195 * electric.el (electric-indent-mode, electric-pair-mode):
2196 * emacs-lock.el (emacs-lock-mode):
2197 * epa-hook.el (auto-encryption-mode):
2198 * follow.el (follow-mode):
2199 * font-core.el (font-lock-mode):
2200 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2201 * help.el (temp-buffer-resize-mode):
2202 * hilit-chg.el (highlight-changes-mode)
2203 (highlight-changes-visible-mode):
2204 * hi-lock.el (hi-lock-mode):
2205 * hl-line.el (hl-line-mode, global-hl-line-mode):
2206 * icomplete.el (icomplete-mode):
2207 * ido.el (ido-everywhere):
2208 * image-file.el (auto-image-file-mode):
2209 * image-mode.el (image-minor-mode):
2210 * iswitchb.el (iswitchb-mode):
2211 * jka-cmpr-hook.el (auto-compression-mode):
2212 * linum.el (linum-mode):
2213 * longlines.el (longlines-mode):
2214 * master.el (master-mode):
2215 * mb-depth.el (minibuffer-depth-indicate-mode):
2216 * menu-bar.el (menu-bar-mode):
2217 * minibuf-eldef.el (minibuffer-electric-default-mode):
2218 * mouse-sel.el (mouse-sel-mode):
2219 * msb.el (msb-mode):
2220 * mwheel.el (mouse-wheel-mode):
2221 * outline.el (outline-minor-mode):
2222 * paren.el (show-paren-mode):
2223 * recentf.el (recentf-mode):
2224 * reveal.el (reveal-mode, global-reveal-mode):
2225 * rfn-eshadow.el (file-name-shadow-mode):
2226 * ruler-mode.el (ruler-mode):
2227 * savehist.el (savehist-mode):
2228 * scroll-all.el (scroll-all-mode):
2229 * scroll-bar.el (scroll-bar-mode):
2230 * server.el (server-mode):
2231 * shell.el (shell-dirtrack-mode):
2232 * simple.el (auto-fill-mode, transient-mark-mode)
2233 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2234 (line-number-mode, column-number-mode, size-indication-mode)
2235 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2236 * strokes.el (strokes-mode):
2237 * time.el (display-time-mode):
2238 * t-mouse.el (gpm-mouse-mode):
2239 * tool-bar.el (tool-bar-mode):
2240 * tooltip.el (tooltip-mode):
2241 * type-break.el (type-break-mode-line-message-mode)
2242 (type-break-query-mode):
2243 * view.el (view-mode):
2244 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2245 (global-whitespace-mode, global-whitespace-newline-mode):
2246 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2247
a3839de2
SM
2248 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2249 Fix autogenerated docstring.
06e21633 2250
5214e501
JL
22512011-10-19 Juri Linkov <juri@jurta.org>
2252
2253 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2254 by checking environment variables "DESKTOP_SESSION" and
2255 "XDG_CURRENT_DESKTOP". (Bug#9779)
2256
195f8db9
JL
22572011-10-19 Juri Linkov <juri@jurta.org>
2258
2259 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2260 (browse-url-chromium-program, browse-url-chromium-arguments):
2261 New defcustoms.
2262 (browse-url-default-browser): Check for `browse-url-chromium' and
2263 call `browse-url-chromium-program'.
2264 (browse-url-chromium): New command. (Bug#9779)
2265
343a34ff
JB
22662011-10-18 Juanma Barranquero <lekktu@gmail.com>
2267
2268 * facemenu.el (list-colors-duplicates): On Windows, detect more
2269 duplicates by assuming that only colors matching "^System" are
2270 special "system colors". (Bug#9722)
2271
6978a151
SM
22722011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2275 to distinguish the author from the committer.
2276
6a80b297
MA
22772011-10-18 Michael Albinus <michael.albinus@gmx.de>
2278
2279 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2280
b31a5677
JK
22812011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2282
2283 * international/mule.el (sgml-html-meta-auto-coding-function):
2284 Add support for detecting encoding in HTML5 specified only as
2285 <meta charset="UTF-8">. Implementation just makes http-equiv and
2286 content-type parts from HTML4 encoding string optional. (Bug#9716)
2287
80c6d77f
GM
22882011-10-18 Glenn Morris <rgm@gnu.org>
2289
2290 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2291
08b0fee8
CY
22922011-10-18 Chong Yidong <cyd@gnu.org>
2293
2294 * faces.el (cursor): Doc fix.
2295
67e729a5
CY
22962011-10-17 Chong Yidong <cyd@gnu.org>
2297
2298 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2299
343a34ff 23002011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2301
2302 * dirtrack.el (dirtrack): Support shell buffers with path
2303 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2304
0bc06380
TZ
23052011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2306
2307 * json.el: Bump version to 1.3 and note change in History.
2308 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2309
8b79f3e0
SM
23102011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2311
5a7c536b
SM
2312 * comint.el (comint-insert-input, comint-send-input)
2313 (comint-get-old-input-default, comint-backward-matching-input)
2314 (comint-next-prompt): Use nil instead of `input' for field property of
2315 past user input (bug#114).
2316
96a8a0df
SM
2317 * minibuffer.el (completion--replace): Inherit surrounding properties
2318 (bug#114).
2319 (minibuffer-complete-and-exit): Use it.
2320
8b79f3e0
SM
2321 * comint.el (comint--table-subvert): Quote the all-completions output
2322 (bug#9160).
2323
b8f7ff0d
MR
23242011-10-17 Martin Rudalics <rudalics@gmx.at>
2325
8b79f3e0 2326 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2327
b8f7ff0d 2328 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2329 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2330 entries and separate them from frame entries.
2331
c235b555
GM
23322011-10-15 Glenn Morris <rgm@gnu.org>
2333
2334 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2335 Doc fixes.
2336
6bbfa6e1
CY
23372011-10-15 Chong Yidong <cyd@stupidchicken.com>
2338
8b79f3e0
SM
2339 * net/network-stream.el (network-stream-open-starttls):
2340 Improve detection of failure due to lack of TLS support.
ec5c990d 2341
6bbfa6e1
CY
2342 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2343 putting the input text in front and in bold.
2344
98488977
SM
23452011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2346
3d1337be
SM
2347 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2348
ee0b45e4
SM
2349 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2350 empty buffer.
2351
98488977
SM
2352 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2353 unread-command-events rather than pushing yet-another event.
2354
186f4720
EZ
23552011-10-14 Eli Zaretskii <eliz@gnu.org>
2356
2357 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2358 the explanation of the possible choices. Make the options passed
2359 to completing-read shorter.
2360
8b7a997c
AM
23612011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2362
2363 * textmodes/flyspell.el (flyspell-large-region): Make sure
2364 extended character mode is used if defined (Bug#1339).
2365
12587bbb
EZ
23662011-10-13 Eli Zaretskii <eliz@gnu.org>
2367
2368 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2369 character info for LRE, LRO, RLE, and RLO characters by appending
2370 an invisible PDF.
12587bbb 2371
bad41229
SM
23722011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2375 even in case of error; add debug spec; simplify data flow.
2376 (with-timeout-handler): Remove.
2377
28dbc92f
MA
23782011-10-12 Michael Albinus <michael.albinus@gmx.de>
2379
2380 Fix Bug#6019, Bug#9315.
2381
2382 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2383 complete `buffer-file-name', the local file name part could look
2384 remotely (for example on VMS).
2385
2386 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2387 `tramp-run-real-handler'.
2388 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2389 already quoted by '"'.
2390
2391 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2392 Let `file-name-handler-alist' be nil, the local file name part
2393 could look remotely (for example on VMS).
2394
e1b0b23a
SM
23952011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2398 from here...
2399 (flyspell-post-command-hook): ...to here.
2400
a120bde9
SM
24012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2404 if not needed.
2405 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2406 using completion. Protect against "slow" callers.
2407 Remove the "message hack".
2408
7ce7717b
JL
24092011-10-11 Juri Linkov <juri@jurta.org>
2410
2411 * isearch.el (isearch-lazy-highlight-word): New variable.
2412 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2413 Use it. (Bug#9727)
2414
c02ee9d6
GM
24152011-10-11 Glenn Morris <rgm@gnu.org>
2416
2417 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2418 like f90-previous-statement does.
2419
93e616fd 24202011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2421
1f190e73 2422 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2423 only in interactive use, to avoid error.
2424
af7b6078
SM
24252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2426
2427 * minibuffer.el (completion-file-name-table): Fix last change,
2428 i.e. ignore normal errors but not the other ones.
2429
0563dae9
MR
24302011-10-10 Martin Rudalics <rudalics@gmx.at>
2431
2432 * window.el (special-display-buffer-names)
2433 (special-display-regexps): Remove some remnants of earlier
2434 changes from doc-strings.
366ca7f3
MR
2435 (quit-windows-on): New function.
2436
2437 * vc/vc.el (vc-revert, vc-rollback):
2438 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2439 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2440 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2441
49677495
MR
24422011-10-09 Martin Rudalics <rudalics@gmx.at>
2443
2444 * window.el (frame-auto-hide-function): Add version tag.
2445 (Bug#9699)
2446
56f2d1e1
MA
24472011-10-09 Michael Albinus <michael.albinus@gmx.de>
2448
2449 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2450 condition.
2451
112a6592
LL
24522011-10-09 Leo Liu <sdl.web@gmail.com>
2453
2454 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2455 (Bug#9701)
2456
0812589b
GM
24572011-10-08 Glenn Morris <rgm@gnu.org>
2458
2459 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2460 before the first code statement zero indent. (Bug#9690)
2461
b2b0776e
CY
24622011-10-08 Chong Yidong <cyd@stupidchicken.com>
2463
2464 * simple.el (count-words-region): Always count in the region.
2465 Report the number of lines and characters too.
2466 (count-words): New command, which counts in the buffer if the
2467 region is inactive, as count-words-region used to.
2468 (count-words--message): New function. Handle plurals.
2469 (count-lines-region): Make it an alias for count-words-region.
2470
2471 * bindings.el (esc-map): Replace count-lines-region with
2472 count-words-region.
2473
c557cd6b
MR
24742011-10-08 Martin Rudalics <rudalics@gmx.at>
2475
2476 * window.el (window--delete): Delete dedicated frame
2477 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2478 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2479
61a57ef4 24802011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2481
2482 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2483
c3833279
CY
24842011-10-07 Chong Yidong <cyd@stupidchicken.com>
2485
2486 * bindings.el ([M-left],[M-right]): Bind to left-word and
2487 right-word respectively.
2488
21ce8245
GM
24892011-10-07 Glenn Morris <rgm@gnu.org>
2490
2491 * cus-start.el (debug-on-quit): Fix custom type.
2492
6d823bb2
LMI
24932011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2494
0181e193
LMI
2495 * subr.el (define-key-after): Clarify that the function is not
2496 useful for non-menu keymaps.
2497
6d823bb2
LMI
2498 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2499
8e3459ce 25002011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2501
21ce8245 2502 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2503 in current minibuffer (Fix bug with recursive minibuffers).
2504
a1c2d21e
CY
25052011-10-06 Chong Yidong <cyd@stupidchicken.com>
2506
2507 * progmodes/gdb-mi.el (gdb): Doc fix.
2508
5a4cf282
MR
25092011-10-05 Martin Rudalics <rudalics@gmx.at>
2510
2511 * window.el (frame-auto-hide-function): New option replacing
2512 frame-auto-delete. Suggested by Stefan Monnier.
2513 (window--delete): Call frame-auto-hide-function instead of
2514 investigating frame-auto-delete.
c96111ea
MR
2515 (window-point-1, set-window-point-1): New functions.
2516 (window-in-direction, record-window-buffer, window-state-get-1)
2517 (display-buffer-record-window): Use window-point-1 instead of
2518 window-point.
2519 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2520
9854542e
SM
25212011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2524
8943cfb0
GM
25252011-10-05 Glenn Morris <rgm@gnu.org>
2526
2527 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2528 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2529
647ab967
LL
25302011-10-05 Leo Liu <sdl.web@gmail.com>
2531
2532 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2533 works with buffer object.
2534
3ddfbced
SM
25352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * mpc.el (mpc-tool-bar-map): Add labels.
2538
bdfa5dd2
GM
25392011-10-04 Glenn Morris <rgm@gnu.org>
2540
2541 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2542
0e2070b5
MR
25432011-10-04 Martin Rudalics <rudalics@gmx.at>
2544
2545 * window.el (window--delete): New function.
2546 (frame-auto-delete): Resuscitate option.
2547 (bury-buffer, replace-buffer-in-windows)
2548 (quit-window): Rewrite using window--delete.
2549 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2550 Pass display-buffer-mark-dedicated to window--display-buffer-2
2551 (Bug#9639).
2552
3dc61a09
SM
25532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2554
915a9b64
SM
2555 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2556 returns a list (bug#9554). Add remote file name completion.
2557 * comint.el (comint--table-subvert): Curry and get quote&unquote
2558 functions as arguments.
2559 (comint--complete-file-name-data): Adjust call accordingly.
2560 * pcomplete.el (pcomplete--table-subvert): Remove.
2561 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2562
3dc61a09
SM
2563 * minibuffer.el (completion-table-case-fold): Use currying.
2564 (completion--styles-type, completion--cycling-threshold-type):
2565 New constants.
2566 (completion-styles, completion-category-overrides)
2567 (completion-cycle-threshold): Use them.
2568 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2569 completion-table-case-fold.
2570
8ea0a993
SB
25712011-10-03 Stephen Berman <stephen.berman@gmx.net>
2572
2573 * minibuffer.el (completion-category-overrides): Fix type of styles
2574 and add more user friendly tags (bug#9660).
2575
8c24b7f6
SM
25762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2579 (mule-input-method-string): New widget.
2580 (default-input-method, language-info-custom-alist): Use it.
2581
428fe61a
SM
25822011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2583
32c1fffd
SM
2584 * pcomplete.el: Require comint.
2585 (pcomplete--common-suffix): Remove.
2586 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2587 (pcomplete--table-subvert): Sync with comint--table-subvert.
2588 (pcomplete--entries): Use comint-completion-file-name-table.
2589 * comint.el (comint-unquote-filename): Simplify.
2590 (comint-completion-file-name-table): New function (bug#9616).
2591 (comint--complete-file-name-data): Use it.
2592
428fe61a
SM
2593 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2594 (pcmpl-gnu-tar-buffer): Remove.
2595 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2596 around. Make sure pcomplete-suffix-list is only changed temporarily.
2597 Don't look inside the tar's file if it's too large.
428fe61a 2598
04c52e2f
CY
25992011-10-01 Chong Yidong <cyd@stupidchicken.com>
2600
ce3cefcc
CY
2601 * cus-edit.el (custom-mode-map):
2602 * epa.el (epa-key-list-mode-map):
2603 * man.el (Man-mode-map):
2604 * startup.el (splash-screen-keymap):
2605 * simple.el (special-mode-map): Use scroll-up-command and
2606 scroll-down-command.
2607
2608 * progmodes/idlw-help.el (idlwave-help-mode-map):
2609 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2610 * net/newst-plainview.el (newsticker-mode-map):
2611 * emulation/ws-mode.el (wordstar-mode-map):
2612 * emulation/vi.el (vi-com-map):
2613 * calc/calc-graph.el (calc-graph-show-dumb):
2614 * term/sun.el (terminal-init-sun):
2615 * term/ns-win.el (global-map):
2616 * progmodes/grep.el (grep-mode-map):
2617 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2618 * mail/rmail.el (rmail-mode-map):
2619 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2620
04c52e2f
CY
2621 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2622 custom-safe-themes as special.
2623
79adf8c8
JD
26242011-10-01 Julien Danjou <julien@danjou.info>
2625
2626 * notifications.el (notifications-notify): Fix docstring.
2627
63bd50d3
PS
26282011-10-01 Per Starbäck <per@starback.se>
2629
2630 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2631
199e4c7e
MR
26322011-09-30 Martin Rudalics <rudalics@gmx.at>
2633
2634 * startup.el (command-line-1): Fix last fix by inserting
2635 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2636 (Bug#9605) and (Bug#9636)
199e4c7e 2637
fe5f08dd
EZ
26382011-09-29 Eli Zaretskii <eliz@gnu.org>
2639
2640 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2641 window is hscrolled, move by logical lines. (Bug#9607)
2642 (line-move-visual): Update the doc string to the above effect.
2643
b5516bbd
MR
26442011-09-29 Martin Rudalics <rudalics@gmx.at>
2645
ccee00c0
MR
2646 * window.el (display-buffer-record-window): When WINDOW is the
2647 selected window use `point' instead of `window-point'. (Bug#9626)
2648
b5516bbd
MR
2649 * startup.el (command-line-1): Use insert-before-markers when
2650 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2651
b5516bbd
MR
2652 * help.el (help-window): Remove variable.
2653
52aa0014
GM
26542011-09-29 Glenn Morris <rgm@gnu.org>
2655
2656 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2657
df9a7357
JB
26582011-09-29 Juanma Barranquero <lekktu@gmail.com>
2659
2660 * descr-text.el (describe-char-categories): Accept category
2661 descriptions more than one line long.
2662
a8406c20
SM
26632011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2664
88d9610c
SM
2665 * simple.el (delete-trailing-whitespace): Fix last change.
2666
a5daf810
SM
2667 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2668 Don't confuse "y => 3" as the beginning of a `y' operation.
2669
a8406c20
SM
2670 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2671 object has more than 4 slots (bug#9613).
2672
a239d4e9
JB
26732011-09-28 Juanma Barranquero <lekktu@gmail.com>
2674
2675 * subr.el (with-output-to-temp-buffer):
2676 * net/quickurl.el (quickurl, quickurl-browse-url):
2677 Fix typos in docstrings.
2678
693fbdb6
EZ
26792011-09-27 Eli Zaretskii <eliz@gnu.org>
2680
2681 * minibuffer.el (completion-styles)
2682 (completion-category-overrides): Cross reference each other in doc
2683 strings.
2684
8b457e28
GM
26852011-09-27 Glenn Morris <rgm@gnu.org>
2686
2687 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2688 to split-string. (Bug#9606)
2689
85a16208
LMI
26902011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2691
2692 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2693 (bug#9615).
2694
502f9ebd
CY
26952011-09-27 Chong Yidong <cyd@stupidchicken.com>
2696
2697 * emacs-lisp/package.el (list-packages): Fix echo area message.
2698
7690bdea
LL
26992011-09-27 Leo Liu <sdl.web@gmail.com>
2700
2701 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2702
e2ee6f30
MA
27032011-09-25 Michael Albinus <michael.albinus@gmx.de>
2704
2705 * net/dbus.el (dbus-unregister-object): Don't release services for
2706 registered signals. (Bug#9581)
2707
f3f98342
TZ
27082011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2709
2710 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2711 function that picks between cfengine 2 and 3 support
2712 automatically. Update docs accordingly.
2713
dd7aa8dd
KH
27142011-09-22 Kenichi Handa <handa@m17n.org>
2715
2716 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2717 ZERO.
2718 (indian-itrans-v5-table-for-tamil): New variable.
2719 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2720
3f2b07f8
KM
27212011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2722
2723 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2724 that's true if the current command involved collapsing of text.
2725 It's reset to false at the beginning of the next command.
2726 (allout-post-command-business): Move the cursor to the beginning
2727 of entry if the cursor is hidden and collapsing activity just
2728 happened.
2729
371d6a61
CY
27302011-09-24 Chong Yidong <cyd@stupidchicken.com>
2731
2732 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2733 tracking (Bug#9541).
2734
2ac2721a
UJ
27352011-09-24 Ulf Jasper <ulf.jasper@web.de>
2736
2737 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2738 (newsticker-show-news): Automatically load html rendering package
2739 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2740 because w3m-fill-column is let-bound" and the error "Symbol's value
2741 as variable is void: w3m-fill-column".
2ac2721a 2742
fac7ae53
MA
27432011-09-24 Michael Albinus <michael.albinus@gmx.de>
2744
2745 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2746 Release services only if they are defined. (Bug#9581)
2747
e08b633b
RS
27482011-09-23 Richard Stallman <rms@gnu.org>
2749
e488d29c
RS
2750 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2751 distinguish start of paragraph from start of its text.
2752
19c38752
RS
2753 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2754
e08b633b
RS
2755 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2756 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2757 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2758
0a39f27e
AS
27592011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2760
2761 * international/mule-diag.el (mule-diag): Insert a newline after
2762 each fontset description.
2763
db4e950d
SM
27642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * simple.el (delete-trailing-whitespace):
2767 Document last change; simplify.
2768
eca3f3ea
PW
27692011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2770
d68e189a
PW
2771 * simple.el (delete-trailing-whitespace): Also delete
2772 extra newlines at the end of the buffer.
2773
eca3f3ea
PW
2774 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2775 (picture-newline): Use forward-line so as to ignore fields.
2776
01c157cc
SM
27772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * subr.el (with-wrapper-hook): Fix edebug spec.
2780
022de23e
LMI
27812011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2782
2783 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2784 (bug#4538).
2785
91683089
MA
27862011-09-23 Michael Albinus <michael.albinus@gmx.de>
2787
eca3f3ea
PW
2788 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2789 Fix nasty bug using wrong cached values.
91683089 2790
5bdd6fa4
AM
27912011-09-23 Alan Mackenzie <acm@muc.de>
2792
2793 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2794
97adfb97
CY
27952011-09-23 Chong Yidong <cyd@stupidchicken.com>
2796
2797 * window.el (pop-to-buffer): Ensure right window is selected if we
2798 chose another frame.
2799
d4ef2b50
EZ
28002011-09-22 Eli Zaretskii <eliz@gnu.org>
2801
2802 * simple.el (what-cursor-position): Use get-char-property-change
2803 and next-single-char-property-change, to be able to show display
2804 properties that come from overlays as well as text properties.
2805
72258fe5
CY
28062011-09-22 Chong Yidong <cyd@stupidchicken.com>
2807
2808 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2809
2810 * cmuscheme.el (run-scheme, switch-to-scheme):
2811 * cus-edit.el (customize-group, custom-buffer-create)
2812 (customize-browse):
2813 * info.el (info):
2814 * shell.el (shell):
2815 * mail/sendmail.el (mail):
2816 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2817
8f098516
RS
28182011-09-22 Richard Stallman <rms@gnu.org>
2819
2820 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2821 move back only to line beg, don't move back over blank lines.
2822
e74f1bb6
MA
28232011-09-22 Michael Albinus <michael.albinus@gmx.de>
2824
2825 * files.el (copy-directory): Set directory attributes only in case
2826 they could be retrieved from the source directory. (Bug#9565)
2827
bfeef8b6
DK
28282011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2829
2830 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2831 (hs-find-block-beginning, hs-hide-level-recursive):
2832 Ignore strings as well as comments. (Bug#9502)
2833
7e423bb8
AS
28342011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2835
2836 * progmodes/sql.el (sql-comint-postgres):
2837 Convert port number to a string. (Bug#9566)
2838
b4d72fcf
MR
28392011-09-22 Martin Rudalics <rudalics@gmx.at>
2840
2841 * window.el (quit-window): Undedicate window when switching to
2842 previous buffer. Reported by Thierry Volpiatto
2843 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2844 (special-display-popup-frame): When popping up a new frame reset
2845 its previous buffers to nil. Simplify code.
b4d72fcf 2846
a7b88dc6
MA
28472011-09-21 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2850 and process filter, as done also in `shell-command'.
2851
cf4eacfd
MR
28522011-09-21 Martin Rudalics <rudalics@gmx.at>
2853
eca3f3ea 2854 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2855 Call set-window-start with NOFORCE argument t.
2856 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2857 (quit-window): Reword doc-string. Handle new format of
2858 quit-restore parameter. Don't delete window if it has a
2859 previous buffer we can show instead of the present one.
2860 (display-buffer-record-window): Rewrite using a new format for
2861 the quit-restore window parameter
2862 (special-display-popup-frame, display-buffer-same-window)
2863 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2864 (display-buffer-pop-up-window, display-buffer-use-some-window):
2865 Adapt symbol passed to display-buffer-record-window.
2866 * help.el (help-window-setup): Handle new format of quit-restore
2867 parameter.
2868
8d28cb95
SM
28692011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2870
94ab793f
SM
2871 * faces.el (face-list): Fix docstring (bug#9564).
2872
8d28cb95
SM
2873 * window.el (display-buffer--action-function-custom-type):
2874 Don't include internal functions in the Custom interface.
2875
3820edeb
JL
28762011-09-20 Juri Linkov <juri@jurta.org>
2877
2878 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2879 (Info-forward-node, Info-backward-node, Info-next-preorder)
2880 (Info-last-preorder): Use it. (Bug#9528)
2881
5147931d
JL
28822011-09-20 Juri Linkov <juri@jurta.org>
2883
2884 * info.el (Info-last-preorder): Visit last menu item only when
2885 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2886
cf499a1a
JD
28872011-09-20 Julien Danjou <julien@danjou.info>
2888
2889 * password-cache.el (password-cache-remove): Remove entries even if the
2890 value is nil, so that password with a nil value (negative caching) is
2891 possible to invalidate.
2892
f84e2fe2
LM
28932011-09-20 Lawrence Mitchell <wence@gmx.li>
2894
2895 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2896 all whitespace around breakpoint. (Bug#9553)
2897 (f90-find-breakpoint): Only break at whitespace inside a comment.
2898
78054a46
SM
28992011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * minibuffer.el (completion-file-name-table): Keep track of errors.
2902 (completion-table-with-predicate): Handle the case where pred1 is nil.
2903 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2904
345083b2
SM
29052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2906
e24e27be
SM
2907 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2908 (debugger-return-value): Signal an error if the debugging context does
2909 not await any return value.
2910
345083b2
SM
2911 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2912 * image-mode.el (image-toggle-display-text)
2913 (image-toggle-display-image): Stay away from evil `intangible'.
2914
08d355e3
LL
29152011-09-19 Leo Liu <sdl.web@gmail.com>
2916
2917 * replace.el (occur-revert-arguments): Make it permanent-local.
2918 (occur-mode): Don't call font-lock-defontify.
2919
f01da43f
CY
29202011-09-19 Chong Yidong <cyd@stupidchicken.com>
2921
2922 * net/ldap.el (ldap-search-internal): Don't push empty search
2923 result (Bug#9508).
2924
b6072fa6
SM
29252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2928
443d6696
MA
29292011-09-19 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2932 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2933
7cc6e154
JL
29342011-09-18 Juri Linkov <juri@jurta.org>
2935
2936 * buff-menu.el (Buffer-menu-mode-map):
2937 * dired.el (dired-mode-map):
2938 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2939 (lisp-interaction-mode-map):
2940 * emacs-lisp/package.el (package-menu-mode-map):
2941 * epa.el (epa-key-list-mode-map):
2942 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2943 (menu-bar-options-menu):
2944 * outline.el (outline-mode-menu-bar-map):
2945 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2946 * vc/vc-dir.el (vc-dir-menu-map):
2947 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2948 Capitalize non-function content words in menu item strings.
2949
2950 * dired.el (dired-mode-map): Add menu item for
2951 `image-dired-dired-toggle-marked-thumbs'.
2952
80302a81
JL
29532011-09-18 Juri Linkov <juri@jurta.org>
2954
2955 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2956 to `isearch-case-fold-search' and restore its original value
2957 after the `isearch-mode' call.
2958
46c5cf66
JL
29592011-09-18 Juri Linkov <juri@jurta.org>
2960
2961 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2962 because `zgrep' returns 1 for successful matches (bug#9226).
2963
d18b513b
JL
29642011-09-18 Juri Linkov <juri@jurta.org>
2965
2966 * info.el (Info-extract-menu-node-name): Check the second match
2967 for empty string (second test-case of bug#9528).
2968 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2969 intermediate nodes to the history (first test-case of bug#9528).
2970
72753f87
JL
29712011-09-18 Juri Linkov <juri@jurta.org>
2972
2973 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2974 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2975
c9384295
JL
29762011-09-18 Juri Linkov <juri@jurta.org>
2977
1154d12e
JB
2978 * info.el (Info-file-supports-index-cookies):
2979 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2980 outputs one more line for long file names (bug#4142).
c9384295 2981
d473dce8
CY
29822011-09-18 Chong Yidong <cyd@stupidchicken.com>
2983
2984 * newcomment.el (comment-normalize-vars): If prompting for
2985 comment-start, set comment-start-skip too (Bug#8424).
2986
2176854d
JB
29872011-09-18 Johan Bockgård <bojohan@gnu.org>
2988
2989 * icomplete.el: Fix previous fix of Bug#5849.
2990 (icomplete-mode): Don't set completion-show-inline-help.
2991 (icomplete-minibuffer-setup): Set completion-show-inline-help
2992 locally during icompletion.
2993
3aace4e4
CY
29942011-09-18 Chong Yidong <cyd@stupidchicken.com>
2995
c940224f
CY
2996 * woman.el (woman2-process-escapes): Don't delete unrecognized
2997 escapes (Bug#7843).
2998
3aace4e4
CY
2999 * files.el (inhibit-first-line-modes-regexps): Add image files.
3000 (hack-local-variables-prop-line): Return nil for malformed
3001 prop-lines (Bug#9044).
3002
710dec63
MA
30032011-09-18 Michael Albinus <michael.albinus@gmx.de>
3004
3005 * net/tramp.el (top): Don't require 'shell.
3006 (tramp-methods): Fix docstring.
3007 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3008 Return complete remote file name. Handle "smb" case.
3009 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3010 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3011
3012 * net/tramp-compat.el (top): Require 'shell.
3013
3014 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3015 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3016 `tramp-current-host'.
3017 (tramp-get-remote-tmpdir): Remove.
3018
3019 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3020 `tramp-tmpdir' entries.
3021 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3022 (tramp-smb-handle-file-attributes): Ignore errors.
3023 (tramp-smb-wait-for-output): Check also for process end.
3024
5d5ac8ec
LMI
30252011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3026
3027 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3028 when sending QUIT (bug#9312).
3029
8c0f49f0
CY
30302011-09-17 Chong Yidong <cyd@stupidchicken.com>
3031
3032 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3033 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3034 occur-mode-display-occurrence.
3035 (occur-edit-mode): Add usage message.
3036 (occur-cease-edit): New command.
3037 (occur-after-change-function): Use text properties to find the
3038 position of the prefix text.
3039 (occur-engine): Set stickiness of prefix text properties.
3040
8f1383f7
GM
30412011-09-17 Glenn Morris <rgm@gnu.org>
3042
3043 * progmodes/etags.el (complete-tag):
3044 Fix call to completion-in-region. (Bug#9526)
3045
744ba0e3
JL
30462011-09-17 Juri Linkov <juri@jurta.org>
3047
3048 * textmodes/ispell.el (ispell-word): Add to the error message
3049 the word, ispell program name and current dictionary (bug#9121).
3050 (ispell-tex-arg-end): Capitalize "error" in the error message.
3051
d9bbf400
AS
30522011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3053
3054 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3055 check. (Bug#4251)
3056
8da11505
JL
30572011-09-17 Juri Linkov <juri@jurta.org>
3058
3059 * window.el (window-safe-min-height, window-safe-min-width):
3060 Fix typos (followup to bug#9522).
3061
a91adc7e
SJ
30622011-09-17 Sven Joachim <svenjoac@gmx.de>
3063
3064 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3065
064f328a
EZ
30662011-09-16 Eli Zaretskii <eliz@gnu.org>
3067
3068 * simple.el (line-move): If goal-column is set, move by logical
3069 lines, not by display lines. (Bug#971)
3070 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3071 to reflect the above change.
3072
e69df516
SM
30732011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * image.el (imagemagick-register-types): Use regexp-opt.
3076
cbb0f9ab
CY
30772011-09-15 Chong Yidong <cyd@stupidchicken.com>
3078
3079 * window.el (display-buffer-base-action): Rename from
3080 display-buffer-default-action. Make default value empty.
3081 (display-buffer-overriding-action): Convert to defvar.
3082 (display-buffer-fallback-action): New var.
3083
25322144
CY
30842011-09-15 Chong Yidong <cyd@stupidchicken.com>
3085
3086 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3087 declaration.
3088 (package--add-to-archive-contents): If there is a duplicate entry
3089 with an older version, remove it.
3090 (package-menu-mark-delete, package-menu-mark-install)
3091 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3092 (package-menu-mark-obsolete-for-deletion):
3093 Use package-menu-get-status instead of a regexp search.
25322144
CY
3094 (package-menu-get-status): Use tabulated-list-entry.
3095 (package-menu-mark-upgrades): New command.
d770725a 3096 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3097 (package-menu-execute): Do installation before deletion.
3098 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3099 instead of checking major-mode.
3100 (package-menu--find-upgrades): New function.
3101
7520339c
LMI
31022011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3103
3104 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3105 passwords in the log buffer.
65a046c4
LMI
3106 (smtpmail-process-filter): Update the process marker so that the
3107 "broken by peer" status message is inserted in the right place.
7520339c 3108
d3c30954
SM
31092011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3fe48822
SM
3111 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3112 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3113 bibtex-completion-at-point-function.
3114 (bibtex-completion-at-point-function): Use them.
3115
1b8b3954
SM
3116 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3117
d3c30954
SM
3118 * mpc.el (mpc-constraints-tag-lookup): New function.
3119 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3120 also to browser "album|playlist".
3121
72779976
JL
31222011-09-14 Juri Linkov <juri@jurta.org>
3123
3124 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3125 (isearch-edit-string): Use length of `isearch-string' when
3126 `isearch-fail-pos' returns nil.
3127 (isearch-message): Remove duplicate code and call
3128 `isearch-fail-pos' with arg `t'.
3129
a0bf2bcd
CY
31302011-09-14 Chong Yidong <cyd@stupidchicken.com>
3131
17bb0a2d
CY
3132 * replace.el (occur-mode-goto-occurrence): Don't force using other
3133 window (Bug#9499).
3134
a0bf2bcd
CY
3135 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3136
f678e0b6
MR
31372011-09-14 Martin Rudalics <rudalics@gmx.at>
3138
3139 * window.el (display-buffer-window): Remove.
3140 (display-buffer-record-window): Use help-setup window parameter
3141 instead of variable display-buffer-window.
3142 (display-buffer-function, special-display-buffer-names)
3143 (special-display-function): Mention help-setup parameter instead
3144 of display-buffer-window in doc-string.
d3c30954
SM
3145 * help.el (help-window-setup): New argument help-window.
3146 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3147 Reword some messages.
3148 (with-help-window): Pass window used for displaying the buffer
3149 to help-window-setup. Don't set display-buffer-window.
3150
8e39b2e8
GM
31512011-09-13 Glenn Morris <rgm@gnu.org>
3152
3153 * emacs-lisp/debug.el (debugger-make-xrefs):
3154 Preserve point. (Bug#9462)
3155
85e9c04b
CY
31562011-09-13 Chong Yidong <cyd@stupidchicken.com>
3157
3158 * window.el (window-deletable-p): Use next-frame.
3159
1b36ed6a
MR
31602011-09-13 Martin Rudalics <rudalics@gmx.at>
3161
3162 * window.el (window-auto-delete): Remove.
3163 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3164 dedication and previous buffers.
1b36ed6a
MR
3165 (switch-to-prev-buffer): Don't delete window.
3166 (delete-windows-on): Delete a window's frame if and only if the
3167 window is dedicated.
3168 (replace-buffer-in-windows): Delete buffer's window or frame if
3169 and only if window is dedicated.
3170 (quit-window): Handle quit-restore as before last change.
4d61f28d 3171 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3172
ef8ef9fb
CY
31732011-09-13 Chong Yidong <cyd@stupidchicken.com>
3174
3175 * window.el (window-deletable-p): Never delete the last frame on a
3176 given terminal.
3177
b2cba41e
GM
31782011-09-13 Glenn Morris <rgm@gnu.org>
3179
3180 * help.el (describe-key-briefly): Copy previous standard-output change.
3181
51553db6 31822011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3183
3184 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3185
b7556719
GM
31862011-09-13 Glenn Morris <rgm@gnu.org>
3187
3188 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3189 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3190
64b51947
CY
31912011-09-12 Chong Yidong <cyd@stupidchicken.com>
3192
3193 * dired-aux.el (dired-mark-read-string): Don't return default
3194 value on empty input (Bug#9361).
3195 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3196 Omit initial minibuffer contents.
3197 (dired-do-chmod): Signal an error on empty input.
3198 (dired-mark-read-string): Don't return default on empty input.
3199
3200 * files.el (file-modes-symbolic-to-number): Doc fix.
3201
393a301e
SM
32022011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * international/mule-cmds.el (ucs-completions): Remove.
3205 (read-char-by-name): Use complete-with-action instead; add metadata.
3206
fa5660f9
CY
32072011-09-11 Chong Yidong <cyd@stupidchicken.com>
3208
3209 * window.el (display-buffer--action-function-custom-type)
3210 (display-buffer--action-custom-type): New vars.
3211 (display-buffer-alist, display-buffer-default-action)
3212 (display-buffer-overriding-action): Add defcustom types.
3213
4a592f66
CY
3214 * frame.el (delete-other-frames): Doc fix (Bug#276).
3215
73d56dbd
LMI
32162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3217
3218 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3219
37ac18a3
CY
32202011-09-11 Chong Yidong <cyd@stupidchicken.com>
3221
3222 Change modes that used same-window-* vars to use switch-to-buffer.
3223
3224 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3225 Use switch-to-buffer.
3226
3227 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3228 (customize-browse, custom-buffer-create-other-window):
3229 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3230
3231 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3232 (Info-prev, Info-up, Info-speedbar-goto-node)
3233 (info-display-manual): Use switch-to-buffer.
3234 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3235
3236 * mail/sendmail.el (mail): Use switch-to-buffer.
3237 (mail-recover): Use switch-to-buffer-other-window.
3238
3239 * cmuscheme.el (run-scheme, switch-to-scheme):
3240 * ielm.el (ielm):
3241 * shell.el (shell):
3242 * net/rlogin.el (rlogin):
3243 * net/telnet.el (telnet, rsh):
3244 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3245
10195bd6
AS
32462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3247
3248 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3249
b322f63a
LMI
32502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3251
39d7fed6
LMI
3252 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3253 so don't mention it (bug#9301).
ba5a81f1 3254 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3255
ee0e9f11
LMI
3256 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3257 match `x', `w32' and `ns', like the manual says (bug#9029).
3258
0b1c89c1 3259 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3260 (process-kill-buffer-query-function): Mention the buffer name in
3261 the query.
0b1c89c1 3262
77549ea8
LMI
3263 * image-mode.el (image-next-line): The line parameter is mandatory
3264 (bug#9258).
3265
803ef892
LMI
3266 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3267 which can be useful (bug#9301).
3268
12980837
LMI
3269 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3270
91054f8f
LMI
3271 * subr.el (match-string): Mention that the current buffer should
3272 be the same as the search was done in (bug#9282).
3273
b322f63a
LMI
3274 * facemenu.el: Disable the remove-* commands if the mark isn't
3275 active (bug#9162).
3276
3199b96f
CY
32772011-09-10 Chong Yidong <cyd@stupidchicken.com>
3278
3279 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3280 of display-buffer.
3281 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3282
3283 * replace.el (occur-mode-goto-occurrence)
3284 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3285 and display-buffer.
3286
3287 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3288 display-buffer.
3289
3290 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3291 special-display and same-window variables.
3292 (mail-other-window): Use switch-to-buffer-other-window.
3293 (mail-other-frame): USe switch-to-buffer-other-frame.
3294
393a301e
SM
3295 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3296 Use display-buffer-other-frame.
3199b96f
CY
3297 (gdb-display-gdb-buffer): Use pop-to-buffer.
3298
3299 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3300
3301 * progmodes/python.el: Don't set same-window-buffer-names.
3302
3303 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3304
3305 * window.el (display-buffer-alist): Add *Python*.
3306
8319e0bf
CY
33072011-09-10 Chong Yidong <cyd@stupidchicken.com>
3308
3309 * window.el (display-buffer-alist): Add entry for buffers
3310 previously handled same-window-*.
3311 (display-buffer-alist, display-buffer-default-action)
3312 (display-buffer-overriding-action): Mark as risky.
3313 (display-buffer-alist): Document action function changes.
3314 (display-buffer--same-window-action)
3315 (display-buffer--other-frame-action): New variables.
3316 (switch-to-buffer, display-buffer-other-frame): Use them.
3317 (display-buffer): Rename reuse-frame entry to reusable-frames.
3318 (display-buffer-reuse-selected-window): Function deleted.
3319 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3320 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3321 (display-buffer-special): New function.
3322 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3323 display-buffer-reuse-or-pop-window. Split off special-display
3324 part into display-buffer-special.
3325 (display-buffer-use-some-window): Don't perform any special
3326 pop-up-frames handling.
3327 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3328 (display-buffer--maybe-same-window): Rename from
0d3ff375 3329 display-buffer-maybe-same-window.
8319e0bf 3330
919a69aa
CY
3331 * info.el: Don't set same-window-regexps.
3332 (info-setup): New function.
3333 (info-other-window, info): Call it.
3334
3335 * cus-edit.el: Don't set same-window-regexps.
3336 (customize-group): New argument.
3337 (customize-group-other-window): Use it.
3338 (customize-face, customize-face-other-window): Likewise.
3339 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3340
8319e0bf
CY
3341 * net/rlogin.el:
3342 * net/telnet.el:
3343 * progmodes/gud.el: Don't set same-window-regexps.
3344
3345 * cmuscheme.el:
3346 * ielm.el:
3347 * shell.el:
3348 * mail/sendmail.el:
3349 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3350
25173000
JL
33512011-09-10 Juri Linkov <juri@jurta.org>
3352
3353 * isearch.el (isearch-edit-string): Remove obsolete mention of
3354 `C-w' (`isearch-yank-word-or-char') from docstring.
3355 (isearch-query-replace): Fix typo in docstring (bug#9466).
3356
056e44ef
JL
33572011-09-10 Juri Linkov <juri@jurta.org>
3358
3359 * paren.el (show-paren-function): Don't show escaped parens.
3360 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3361
c3760c17
EZ
33622011-09-10 Eli Zaretskii <eliz@gnu.org>
3363
3364 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3365 (mm-default-file-encoding): Remove autoload forms, they are
3366 replaced with autoload cookies in mml.el and mm-encode.el.
3367 (mail-add-attachment): New command.
3368 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3369 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3370 the doc string.
3371 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3372
fece895e
RT
33732011-09-10 Reuben Thomas <rrt@sc3d.org>
3374
e69df516
SM
3375 * simple.el (count-words-region): Use buffer if there's no region
3376 (bug#9429).
fece895e 3377
5e68ce4a
JL
33782011-09-09 Juri Linkov <juri@jurta.org>
3379
3380 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3381 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3382 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3383
0a6b9622
AM
33842011-09-09 Alan Mackenzie <acm@muc.de>
3385
3386 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3387 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3388
14a29deb
EZ
33892011-09-09 Eli Zaretskii <eliz@gnu.org>
3390
3391 Fix for Savannah bug#9392.
3392 * simple.el (mail-encode-mml): New defvar.
3393
3394 * mail/rmail.el (mail-encode-mml): Add a defvar.
3395 (rmail-enable-mime-composing): Default to t.
3396 (rmail-forward): Use MIME method of forwarding only if both
3397 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3398 Set mail-encode-mml non-nil if the MIME method was used.
3399
3400 * mail/sendmail.el (mml-to-mime): Add autoload form.
3401 (mail-encode-mml): Add a defvar.
3402 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3403 to nil.
3404 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3405 message through mml-to-mime, and reset mail-encode-mml to nil.
3406
28c45130
GM
34072011-09-09 Glenn Morris <rgm@gnu.org>
3408
3409 * woman.el (woman-if-body): When processing an .el block,
3410 do not delete the next .el block as well. (Bug#9447)
69f4b618 3411 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3412
9b1c252e
MR
34132011-09-08 Martin Rudalics <rudalics@gmx.at>
3414
3415 * window.el (window-deletable-p): Make sure window is live before
3416 invoking window-prev-buffers.
3417
567457e3
LL
34182011-09-08 Leo Liu <sdl.web@gmail.com>
3419
3420 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3421
97f05794
JL
34222011-09-08 Juri Linkov <juri@jurta.org>
3423
3424 * progmodes/compile.el (compilation-environment): Make it
3425 a defcustom (bug#8340).
3426
8b0874b5
MR
34272011-09-08 Martin Rudalics <rudalics@gmx.at>
3428
3429 * window.el (frame-auto-delete): Rename to window-auto-delete.
3430 Make it control auto-deletion of windows and/or frames.
3431 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3432 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3433 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3434 Rewrite handling of case when window/frame can be deleted.
3435 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3436 argument t. (Bug#9456)
8b0874b5 3437
4feb6e73
CY
34382011-09-07 Chong Yidong <cyd@stupidchicken.com>
3439
3440 * help-mode.el (help-mode): Restore autoload.
3441
91ab9c13
JL
34422011-09-07 Juri Linkov <juri@jurta.org>
3443
3444 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3445 `compilation-environment'. Set buffer-local
3446 `compilation-environment' to `thisenv' later after (funcall mode).
3447 (Bug#8340)
3448
3449 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3450 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3451 instead of replacing its value. (Bug#8340)
3452
0527e251
JL
34532011-09-07 Juri Linkov <juri@jurta.org>
3454
3455 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3456 based on text properties put by `grep-filter' instead of matching
3457 escape sequences.
3458 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3459 to the value of `grep-error-screen-columns' (bug#9438).
3460
249f792c
JL
34612011-09-07 Juri Linkov <juri@jurta.org>
3462
3463 * simple.el (next-error-highlight, next-error-highlight-no-select):
3464 Doc fix (bug#9432).
3465
ff7271b9
OT
34662011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3467
3468 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3469 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3470
183fc730
LL
34712011-09-07 Leo Liu <sdl.web@gmail.com>
3472
3473 * net/rcirc.el (rcirc-mode): Conditionally initialize
3474 rcirc-input-ring.
3475
77694924
SM
34762011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/find-func.el (find-function-C-source): Only set
3479 find-function-C-source-directory after checking that we found a source
3480 file there (bug#9440).
3481
d809b8eb
AM
34822011-09-06 Alan Mackenzie <acm@muc.de>
3483
3484 * isearch.el (isearch-other-meta-char): Wherever a key list is
3485 unread, "unread" the prefix arg, too. This fixes bug #8901.
3486
453de99f
OG
34872011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3488
3489 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3490
90439906
JL
34912011-09-05 Juri Linkov <juri@jurta.org>
3492
3493 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3494
f62bd846
JL
34952011-09-05 Juri Linkov <juri@jurta.org>
3496
3497 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3498 keeping point where processing of grep matches begins, and
3499 continue to delete remaining escape sequences from the same point.
3500 (grep-filter): Make leading zero optional in "0?1;31m" because
3501 git-grep emits "\033[1;31m" escape sequences unlike expected
3502 "\033[01;31m" as GNU Grep does (bug#9408).
3503 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3504
045820ec
JL
35052011-09-05 Juri Linkov <juri@jurta.org>
3506
3507 * subr.el (y-or-n-p): Capitalize "yes".
3508
f5e29b9b
MA
35092011-09-04 Michael Albinus <michael.albinus@gmx.de>
3510
3511 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3512 `tramp-cache-unload-hook' where appropriate.
3513 (tramp-methods): Rename `tramp-remote-sh' to
3514 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3515 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3516
3517 * net/tramp-sh.el (top): Don't require 'shell.
3518 (tramp-methods): Add `tramp-remote-shell' and
3519 `tramp-remote-shell-args' entries.
3520 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3521 (tramp-sh-handle-shell-command): Remove.
3522 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3523 Use `tramp-remote-shell'.
3524
2784c434
CY
35252011-09-03 Chong Yidong <cyd@stupidchicken.com>
3526
393a301e 3527 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3528 (sendmail-query-once): Save directly to send-mail-function.
3529 Update message-send-mail-function too.
3530
3531 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3532
464cdf56
CS
35332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3534
3535 * progmodes/python.el (python-mode-map): Use correct function to
3536 start python interpreter from menu-bar (as reported by Geert
3537 Kloosterman).
3538 (inferior-python-mode-map): Fix typo.
393a301e 3539 (python-shell-map): Remove.
464cdf56 3540
d37e5c87
DD
35412011-09-03 Deniz Dogan <deniz@dogan.se>
3542
3543 * net/rcirc.el (rcirc-print): Simplify code for
3544 rcirc-scroll-show-maximum-output. There is no need to walk
3545 through all windows to find the right one.
3546
f3ada0ee
CS
35472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3548
3549 * help.el (help-return-method): Doc fix.
3550
1f3c99ca
MR
35512011-09-03 Martin Rudalics <rudalics@gmx.at>
3552
3553 * window.el (window-deletable-p): Don't return a non-nil value
3554 when there's a buffer that was shown in the window before.
3555 (Bug#9419)
393a301e
SM
3556 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3557 Set window's previous buffers to nil.
1f3c99ca 3558
a3cf097f
EZ
35592011-09-03 Eli Zaretskii <eliz@gnu.org>
3560
3561 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3562 newline before and after the tag line, so it doesn't interfere
3563 with determining the paragraph direction of bidirectional text.
3564
3d03de90
LL
35652011-09-03 Leo Liu <sdl.web@gmail.com>
3566
3567 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3568
c3313451
CY
35692011-09-02 Chong Yidong <cyd@stupidchicken.com>
3570
393a301e 3571 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3572 (pop-to-buffer): Change interactive spec. Pass second argument
3573 directly to display-buffer.
3574 (display-buffer): Fix interactive spec. Use functionp to
3575 distinguish between a function and a list of functions.
3576
3577 * abbrev.el (edit-abbrevs):
3578 * arc-mode.el (archive-extract):
3579 * autoinsert.el (auto-insert):
3580 * bookmark.el (bookmark-bmenu-list):
3581 * files.el (find-file):
3582 * view.el (view-buffer):
3583 * progmodes/compile.el (compilation-goto-locus):
3584 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3585
89894cd8
CY
35862011-09-02 Chong Yidong <cyd@stupidchicken.com>
3587
3588 * window.el (display-buffer-alist): Doc fix.
3589 (display-buffer): Add docstring. Don't treat
3590 display-buffer-default specially.
3591 (display-buffer-reuse-selected-window)
3592 (display-buffer-same-window, display-buffer-maybe-same-window)
3593 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3594 (display-buffer-pop-up-window)
3595 (display-buffer-reuse-or-pop-window)
3596 (display-buffer-use-some-window): New functions.
3597 (display-buffer-default-action): Use them.
393a301e 3598 (display-buffer-default): Delete.
89894cd8
CY
3599 (pop-to-buffer-1): Fix choice of actions.
3600
ae0bc9fb
SM
36012011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * minibuffer.el (completion--insert-strings): Don't get confused by
3604 completion entries that end with an LF char.
3605
e9d90883
EZ
36062011-09-01 Eli Zaretskii <eliz@gnu.org>
3607
3608 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3609
437014c8
CY
36102011-09-01 Chong Yidong <cyd@stupidchicken.com>
3611
3612 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3613 (display-buffer-same-window, display-buffer-other-window):
3614 New functions.
437014c8
CY
3615 (pop-to-buffer-1): New function. Use the above.
3616 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3617 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3618
3619 * view.el (view-buffer-other-window, view-buffer-other-frame):
3620 Just use pop-to-buffer.
3621
a5e063d5
TV
36222011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3623
3624 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3625
793d32bb
WH
36262011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3627
3628 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3629
d65e4c15
RS
36302011-08-31 Richard Stallman <rms@gnu.org>
3631
3632 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3633 of the separation of rmail-view-buffer from rmail-buffer.
3634 If you say no to "replace original", the decrypt is in the
3635 view buffer. If you say yes, the decrypt goes into the
3636 rmail buffer also.
3637
f818cd2a
MR
36382011-08-31 Martin Rudalics <rudalics@gmx.at>
3639
3640 * window.el (display-buffer-window): Rewrite doc-string.
3641 (display-buffer-record-window): New function.
3642 (display-buffer-macro-specifiers)
3643 (display-buffer-even-window-sizes, display-buffer-set-height)
3644 (display-buffer-set-width, display-buffer-in-window)
3645 (display-buffer-reuse-window, display-buffer-split-specifiers)
3646 (display-buffer-side-specifiers, display-buffer-split-window-1)
3647 (display-buffer-split-window, display-buffer-split-atom-window)
3648 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3649 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3650 (display-buffer-other-window-means-other-frame)
3651 (display-buffer-normalize-special)
3652 (display-buffer-normalize-default)
3653 (display-buffer-normalize-argument)
3654 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3655 (display-buffer-normalize-specifiers, display-buffer-frame)
3656 (display-buffer-same-window, display-buffer-same-frame)
3657 (display-buffer-other-window)
3658 (display-buffer-same-frame-other-window)
3659 (display-buffer-other-frame, pop-to-buffer-same-window)
3660 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3661 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3662 (switch-to-buffer-same-frame)
3663 (switch-to-buffer-other-window-same-frame)
3664 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3665 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3666 (display-buffer-alist-set): Remove.
3667 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3668 (special-display-regexps, special-display-function):
3669 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3670 parameter.
3671 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3672 (special-display-frame-alist, special-display-popup-frame)
3673 (same-window-buffer-names, same-window-regexps, same-window-p)
3674 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3675 (split-window-preferred-function, split-height-threshold)
3676 (split-width-threshold, window-splittable-p)
3677 (split-window-sensibly, window--try-to-split-window)
3678 (window--frame-usable-p, even-window-heights)
3679 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3680 (window--display-buffer-2, display-buffer-other-frame):
3681 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3682 (display-buffer-default, display-buffer-assq-regexp): New functions.
3683 (display-buffer-alist): Rewrite doc-string.
3684 (display-buffer-default-action)
3685 (display-buffer-overriding-action): New variables.
3686 (display-buffer, switch-to-buffer): Rewrite.
3687 (pop-to-buffer): Restore Emacs 23 behavior but use
3688 window-normalize-buffer-to-display.
3689 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3690 Restore Emacs 23 behavior but use
3691 window-normalize-buffer-to-switch-to.
3692 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3693 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3694 Rewrite using Emacs 23 options.
f818cd2a 3695
5bc3b51d
MA
36962011-08-31 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * net/tramp.el (tramp-root-regexp): Remove.
3699 (tramp-completion-file-name-regexp-unified)
3700 (tramp-completion-file-name-regexp-separate)
3701 (tramp-completion-file-name-regexp-url): Don't use leading volume
3702 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3703 (tramp-drop-volume-letter): Simplify definition.
3704 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3705
b1a4f8e1
SM
37062011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3709 (bug#9356).
3710
5664fa7b
RT
37112011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3712
b1a4f8e1 3713 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3714
9a45d6c3
JL
37152011-08-29 Juri Linkov <juri@jurta.org>
3716
3717 * isearch.el (isearch-done): Don't display message "Mark saved"
3718 when arg `edit' is non-nil to prevent its flicker in the echo area.
3719
fb87e0fb
CY
37202011-08-28 Chong Yidong <cyd@stupidchicken.com>
3721
3722 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3723 obsolete packages for deletion.
3724
09ac1c2a
CS
37252011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3726
3727 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3728 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3729 view-mode from help-mode.
3730 (help-xref-override-view-map): Remove.
3731 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3732 view-mode is not used anymore.
3733
7a1ff57f
CY
37342011-08-28 Chong Yidong <cyd@stupidchicken.com>
3735
3736 * server.el (server-port): Doc fix.
3737
b9696605
CY
3738 * cus-theme.el (custom-theme-choose-mode): Inherit from
3739 special-mode (Bug#9124).
3740 (custom-theme-choose-mode-map): Add special-mode to parent.
3741
ef8cdf8c
AM
37422011-08-28 Alan Mackenzie <acm@muc.de>
3743
3744 * progmodes/cc-fonts.el
3745 (c-make-font-lock-BO-decl-search-function): New function.
3746 (c-basic-matchers-after - "Fontify the clauses after various
3747 keywords"): Extract the three keyword lists for the 3 erroneous
3748 constructs from the list of four, and use the new function above
3749 in place of an old one.
3750
27de4e20
DD
37512011-08-28 Deniz Dogan <deniz@dogan.se>
3752
3753 * net/rcirc.el (rcirc-insert-prev-input)
3754 (rcirc-insert-next-input): Remove unused argument.
3755
356a3681
SM
37562011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3759
3fc9b218
AM
37602011-08-27 Alan Mackenzie <acm@muc.de>
3761
3762 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3763 handle function pointer parameters properly.
3764
538a061c
MR
37652011-08-27 Martin Rudalics <rudalics@gmx.at>
3766
3767 * window.el (display-buffer-reuse-window): Fix case where
3768 selected window was reused with non-nil OTHER-WINDOW argument.
3769 (Bug#9381)
3770
35b1c40c
DD
37712011-08-27 Deniz Dogan <deniz@dogan.se>
3772
3773 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3774 oftc's NickServ messages.
3775
2f6a3e79
GM
37762011-08-27 Glenn Morris <rgm@gnu.org>
3777
3778 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3779
7254299e
CY
37802011-08-26 Chong Yidong <cyd@stupidchicken.com>
3781
3782 * emacs-lisp/package.el (package-install): Call package-initialize
3783 if called interactively.
3784
f8ccf167
LL
37852011-08-26 Leo Liu <sdl.web@gmail.com>
3786
3787 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3788
3e8cd5ce
JL
37892011-08-25 Juri Linkov <juri@jurta.org>
3790
3791 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3792 `search-whitespace-regexp' (bug#9364).
3793
93eb7113
JL
37942011-08-25 Juri Linkov <juri@jurta.org>
3795
3796 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3797 `regexp-search-ring' to their global values to protect from
3798 updating by `read-from-minibuffer' (bug#9185).
3799
f65d1611
JL
38002011-08-25 Juri Linkov <juri@jurta.org>
3801
3802 * textmodes/ispell.el (ispell-command-loop): Add newline
3803 at the end of the "Use option `i'..." line.
3804
f1cf7a31
JL
38052011-08-25 Juri Linkov <juri@jurta.org>
3806
3807 * battery.el (display-battery-mode): If `battery-status-function'
3808 or `battery-mode-line-format' is nil, display the message and set
3809 `display-battery-mode' to nil (bug#9363).
3810
0c95fcf7
EZ
38112011-08-25 Eli Zaretskii <eliz@gnu.org>
3812
3813 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3814 bidi-string-mark-left-to-right; they are unnecessary now.
3815
a2ebe600
DD
38162011-08-25 Deniz Dogan <deniz@dogan.se>
3817
3818 * net/quickurl.el: Documentation typo fixes.
3819
e4ed06f1
CY
38202011-08-25 Chong Yidong <cyd@stupidchicken.com>
3821
3822 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3823
e5f1c99e
GM
38242011-08-25 Glenn Morris <rgm@gnu.org>
3825
b2948976
GM
3826 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3827
e5f1c99e
GM
3828 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3829 (smtpmail-via-smtp): Handle nil response from smtp.
3830
f22f4808
JL
38312011-08-24 Juri Linkov <juri@jurta.org>
3832
3833 * proced.el (proced-marked): Inherit from `error' instead of
3834 `font-lock-warning-face'.
3835
3836 * ibuffer.el (ibuffer-marked-face): Change default face from
3837 `font-lock-warning-face' to `warning'.
3838 (ibuffer-deletion-face): Change default face from
3839 `font-lock-type-face' to `error'.
3840
3841 * battery.el (battery-update): Use the face `error' instead of
3842 `font-lock-warning-face' (bug#6117).
3843
6a93965e
JL
38442011-08-24 Juri Linkov <juri@jurta.org>
3845
3846 * faces.el (success): Change face color from "Green3" to
3847 "ForestGreen" on light background (bug#9353).
3848
1ed43b09
CY
38492011-08-24 Chong Yidong <cyd@stupidchicken.com>
3850
5664fa7b
RT
3851 * window.el (quit-window): Rename from quit-restore-window.
3852 Use same arglist as old quit-window.
1ed43b09
CY
3853 (frame-auto-delete): Doc fix.
3854
3855 * view.el (view-mode-exit): Use quit-window.
3856
11dcdbb2
JL
38572011-08-24 Juri Linkov <juri@jurta.org>
3858
3859 * isearch.el (isearch-ring-adjust1): Start visiting previous
3860 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3861 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3862 for empty search string (when the last search string is reused
3863 automatically) to adjust the isearch ring to the last element and
3864 prepare the correct index for further M-p commands (bug#9185).
3865
de62b4df
KH
38662011-08-24 Kenichi Handa <handa@m17n.org>
3867
3868 * international/ucs-normalize.el: If decomposition property of
3869 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3870 nil.
3871 (nfd, nfkd): Likewise.
3872
963b492b
SM
38732011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3876 from process filters aren't reliably transmitted to the surrounding
3877 accept-process-output.
3878 (mpc-proc-check): New function.
3879 (mpc-proc-sync): Use it (bug#8293)
3880
93b6b5e1
SM
38812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3884 Add compatibility functions (bug#9313).
3885
bca633fb
EZ
38862011-08-23 Eli Zaretskii <eliz@gnu.org>
3887
b177498a
EZ
3888 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3889
bca633fb
EZ
3890 * international/uni-bidi.el: Regenerated.
3891
0902a04e
KH
38922011-08-23 Kenichi Handa <handa@m17n.org>
3893
3894 * international/charprop.el:
3895 * international/uni-bidi.el:
3896 * international/uni-category.el:
3897 * international/uni-combining.el:
3898 * international/uni-comment.el:
3899 * international/uni-decimal.el:
3900 * international/uni-decomposition.el:
3901 * international/uni-digit.el:
3902 * international/uni-lowercase.el:
3903 * international/uni-mirrored.el:
3904 * international/uni-name.el:
3905 * international/uni-numeric.el:
3906 * international/uni-old-name.el:
3907 * international/uni-titlecase.el:
3908 * international/uni-uppercase.el: Regenerate.
3909
3bbf23bc
MR
39102011-08-23 Martin Rudalics <rudalics@gmx.at>
3911
3912 * help.el (help-window-setup): Fix message displayed when other
3913 window is reused. (Bug#9341)
3914
b3fd59bd
SM
39152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3916
1802e444
SM
3917 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3918 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3919
b3fd59bd
SM
3920 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3921 Mark obsolete.
3922 * shell.el (shell-parse-pcomplete-arguments): New function.
3923 (shell-completion-vars): Use it instead (bug#9160).
3924
4eb61348
SM
39252011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3926
867cab74
SM
3927 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3928 strings and comments (bug#9333).
3929
4eb61348
SM
3930 * emacs-lisp/debug.el (debug-arglist): New function.
3931 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3932 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3933
262a1439
JL
39342011-08-22 Juri Linkov <juri@jurta.org>
3935
56ee679c
JL
3936 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3937 Revert regexp that highlights output switches to its old
3938 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3939
262a1439
JL
3940 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3941 to check for empty output (bug#9226).
3942
f13f86fb
CY
39432011-08-22 Chong Yidong <cyd@stupidchicken.com>
3944
3945 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3946 symbol-constituent as the default, as that stops font-lock from
3947 working properly (Bug#8843).
3948
c65c9622
LMI
39492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3950
3951 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3952 `coding-system-for-*' around the process open call to avoid
3953 auth-source side effects.
e7f2c178 3954 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3955 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3956 probe hangs.
c65c9622 3957
23a8a5ab
CY
39582011-08-21 Chong Yidong <cyd@stupidchicken.com>
3959
ff98b2dd
CY
3960 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3961
23a8a5ab
CY
3962 * emacs-lisp/find-func.el (find-function-noselect): New arg
3963 lisp-only.
3964
3965 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3966 signal an error for built-in functions (Bug#6664).
3967
f5e3c598
LMI
39682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3969
3970 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3971 (smtpmail-try-auth-methods): Use it.
3972
a3f2468a
CY
39732011-08-21 Chong Yidong <cyd@stupidchicken.com>
3974
2c34e8da
CY
3975 * font-lock.el (font-lock-fontify-region)
3976 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3977 (font-lock-default-unfontify-buffer)
3978 (font-lock-default-fontify-region)
3979 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3980
b3fd59bd
SM
3981 * progmodes/compile.el (compilation-error-properties):
3982 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3983 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3984 `ant' regexp.
ee31aabc 3985
a3f2468a
CY
3986 * net/browse-url.el (browse-url-firefox): Don't call
3987 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3988
8e999f70
GM
39892011-08-20 Glenn Morris <rgm@gnu.org>
3990
c21a496a
GM
3991 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3992
59ee0542
GM
3993 * tutorial.el (tutorial--default-keys): Update some default bindings.
3994
8e999f70
GM
3995 * files.el (hack-local-variables): Fully ignore case for "mode:".
3996
e3715033
AM
39972011-08-20 Alan Mackenzie <acm@muc.de>
3998
3999 Resolve invalid use of a regexp in regexp-opt.
4000
4d61f28d
JB
4001 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4002 detection for a java annotation.
e3715033 4003
4d61f28d 4004 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4005 detection for a java annotation.
4006
4d61f28d
JB
4007 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4008 handling for java.
e3715033
AM
4009 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4010
04ed2e9c
CY
40112011-08-20 Chong Yidong <cyd@stupidchicken.com>
4012
4013 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4014 (Bug#9274).
4015
826cee64
AM
40162011-08-20 Alan Mackenzie <acm@muc.de>
4017
58179cce 4018 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4019 such a construct. Mainly for when jit-lock etc. starts a chunk
4020 here.
4021
58179cce 4022 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4023 variable.
58179cce 4024 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4025 c-make-font-lock-search-function.
4026 (c-make-font-lock-search-function): Use the above function.
4027 (c-make-font-lock-context-search-function): New function.
4028 (c-cpp-matchers): Enhance the preprocessor expression case with
4029 the above function
4030 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4031 which takes an expression.
4032
4033 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4034
13009bd8
MR
40352011-08-20 Martin Rudalics <rudalics@gmx.at>
4036
4037 * window.el (display-buffer-reuse-window)
4038 (display-buffer-pop-up-window): Don't reuse or split a side
4039 window.
4040
9234ff7f
GM
40412011-08-19 Glenn Morris <rgm@gnu.org>
4042
4043 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4044 Downcase "Mode:". (Bug#9331)
9234ff7f 4045
f635daa1
CY
40462011-08-18 Chong Yidong <cyd@stupidchicken.com>
4047
4048 * international/characters.el: Add L and R categories.
4049
4050 * subr.el (bidi-string-mark-left-to-right): Rename from
4051 string-mark-left-to-right. Use category search.
4052
4053 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4054
bc987f8b
JL
40552011-08-18 Juri Linkov <juri@jurta.org>
4056
4057 * faces.el (error, warning, success): New faces with definitions
4058 copied from old default values of `font-lock-warning-face',
4059 `compilation-warning', `compilation-info' (bug#6117).
4060
4061 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4062
4063 * progmodes/compile.el (compilation-error): Inherit from `error'.
4064 (compilation-warning): Inherit from `warning'.
4065 (compilation-info): Inherit from `success'.
4066
4067 * dired.el (dired-marked): Inherit from `warning'.
4068 (dired-flagged): Inherit from `error'.
4069
57173b96
LMI
40702011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4071
3e79eb87
LMI
4072 * mail/smtpmail.el (auth-source): Require to avoid problems with
4073 binding variables (bug#9298). Also clean up some unused
4074 autoloads.
4075
b3fd59bd
SM
4076 * net/network-stream.el (network-stream-open-starttls):
4077 Support using starttls.el without using gnutls-cli.
57173b96 4078
02b404de
JL
40792011-08-17 Juri Linkov <juri@jurta.org>
4080
4081 * progmodes/grep.el (rgrep): Handle the case when
4082 `grep-find-command' is a cons cell (bug#9278).
4083
8c9177f2
MR
40842011-08-17 Martin Rudalics <rudalics@gmx.at>
4085
4086 * window.el (display-buffer-pop-up-frame): Run frame creation
4087 function with BUFFER current (as special-display-popup-frame
4088 does). Reported by Drew Adams.
4089
3644a0ab
DU
40902011-08-17 Daiki Ueno <ueno@unixuser.org>
4091
4092 * epa-mail.el: Simplify GnuPG group expansion using
4093 epg-expand-group.
4094 (epa-mail-group-alist, epa-mail-group-modtime)
4095 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4096 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4097 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4098 Remove.
4099
5e617bc2 41002011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4101
4102 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4103
9c4aeabf
AM
41042011-08-16 Alan Mackenzie <acm@muc.de>
4105
4106 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4107 Correct, to avoid the inside of macros.
4108
3a99bf64
RS
41092011-08-16 Richard Stallman <rms@gnu.org>
4110
04963aa8
RS
4111 * epa-mail.el: Handle GnuPG group definitions.
4112 (epa-mail-group-alist, epa-mail-group-modtime)
4113 (epa-mail-gnupg-conf-file): New variables.
4114 (epa-mail-parse-groups, epa-mail-sync-groups)
4115 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4116 (epa-mail-expand-recipients): New functions.
4117 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4118
177549d0
RS
4119 * mail/rmail.el (rmail-epa-decrypt): New command.
4120
fe38beef
RS
4121 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4122 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4123 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4124 (epa-decrypt-armor-in-region): Make error message clearer.
4125
934eacb9
SM
41262011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4129 and "a2b" to "ab" for `prefix'.
4130
d024fb4e
CY
41312011-08-14 Chong Yidong <cyd@stupidchicken.com>
4132
4133 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4134 filter groups.
de148fee
CY
4135 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4136 Fourquet (Bug#8804).
d024fb4e 4137
62f1ca49
JB
41382011-08-12 Juanma Barranquero <lekktu@gmail.com>
4139
4140 * startup.el (argi): Declare as global variable (bug#9275).
4141
9ccaaa4b
CY
41422011-08-12 Chong Yidong <cyd@stupidchicken.com>
4143
4144 * subr.el (string-mark-left-to-right): Search the entire string
4145 for RTL script, not just the terminating character. Doc fix.
4146
a3dae87a
SM
41472011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4148
6cd18349
SM
4149 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4150 New function.
4151 (js--regexp-literal, js-syntax-propertize-function): Remove.
4152 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4153 (js-mode-map): Don't rebind electric keys.
4154 (js-insert-and-indent): Remove.
4155 (js-mode): Setup electric-layout and electric-indent instead.
4156
a3dae87a
SM
4157 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4158
9d5cb631
DU
41592011-08-12 Daiki Ueno <ueno@unixuser.org>
4160
4161 * epa.el (epa-progress-callback-function): Fix the logic of
4162 displaying progress.
4163 * epa-file.el (epa-file-insert-file-contents): Make progress
4164 display more user-friendly.
4165 (epa-file-write-region): Ditto.
4166
3e26a4a2
CY
41672011-08-10 Chong Yidong <cyd@stupidchicken.com>
4168
4169 * subr.el (string-mark-left-to-right): New function.
4170
4171 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4172 Use string-mark-left-to-right.
4173 (list-buffers-noselect): Caller changed.
4174
a3dae87a
SM
4175 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4176 Use string-mark-left-to-right.
3e26a4a2
CY
4177 (tabulated-list-print): Recenter after moving point.
4178
ac8cf6e6
JL
41792011-08-10 Juri Linkov <juri@jurta.org>
4180
4181 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4182 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4183 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4184
8d96c9a4
CY
41852011-08-09 Chong Yidong <cyd@stupidchicken.com>
4186
4187 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4188 (Bug#7554).
4189
7be1c708 41902011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4191
4192 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4193 character. (Bug#6594)
4194
37e11a63
CY
41952011-08-08 Chong Yidong <cyd@stupidchicken.com>
4196
839dde57
CY
4197 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4198 (image-dired--with-db-file): New macro.
4199 (image-dired-write-tags, image-dired-remove-tag)
4200 (image-dired-create-gallery-lists, image-dired-write-comments)
4201 (image-dired-get-comment, image-dired-mark-tagged-files)
4202 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4203 (image-dired-gallery-generate): Use insert-file-contents.
4204
37e11a63
CY
4205 * time.el (display-time-world-list, display-time-world-display):
4206 * time-stamp.el (time-stamp-string):
4207 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4208 set-time-zone-rule (Bug#7337).
4209
0b4946c4
DU
42102011-08-08 Daiki Ueno <ueno@unixuser.org>
4211
4212 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4213 (epg-error-to-string, epg-errors-to-string): New function.
4214 (epg-wait-for-completion): Reverse errors list.
4215 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4216 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4217 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4218 (epg-sign-keys, epg-generate-key-from-file)
4219 (epg-generate-key-from-string): Format errors by using
4220 epg-errors-to-string (bug#9255).
4221 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4222
75bfc667
JL
42232011-08-07 Juri Linkov <juri@jurta.org>
4224
4225 * faces.el (list-faces-display): Remove extra angle bracket
4226 from `help-mode-map'.
4227
4228 * info.el (Info-history-toc-nodes): Doc fix.
4229
4230 * longlines.el (longlines-mode): Doc fix.
4231
673e08bb
SM
42322011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4640dd88
SM
4234 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4235 of statements and in a few more cases (bug#9183).
4236
673e08bb
SM
4237 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4238 New functions.
4239 (cl-transform-lambda): Use them (bug#9239).
4240
89b3f019
MR
42412011-08-05 Martin Rudalics <rudalics@gmx.at>
4242
4243 * window.el (display-buffer-same-window)
4244 (display-buffer-same-frame, display-buffer-other-window)
4245 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4246 (pop-to-buffer-other-window)
4247 (pop-to-buffer-same-frame-other-window)
4248 (pop-to-buffer-other-frame): Make them defuns.
4249 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4250
640c8776
SM
42512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * subr.el (make-composed-keymap): Move from C. Change calling
4254 convention, and improve docstring to bring attention to a subtle point.
4255 * minibuffer.el (completing-read-default): Adjust accordingly.
4256
63648a95
MA
42572011-08-03 Michael Albinus <michael.albinus@gmx.de>
4258
4259 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4260 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4261
4262 * net/trampver.el: Update release number.
4263
b796c9b7
SM
42642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4267 "in" (bug#9190).
4268
2239d7d5
LMI
42692011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4270
e07dd7c3
LMI
4271 * mail/sendmail.el (sendmail-query-once): Restore the current
4272 buffer after querying (bug#9074).
4273
0e6a2bd7
LMI
4274 * dired.el (dired-flagged): Use different faces for marked and
4275 flagged files (bug#6117).
4276
ce887515
LMI
4277 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4278 (bug#4433).
4279
92f2affc
LMI
4280 * ido.el (ido-mode): Switch off the message if called
4281 non-interactively.
4282
57d5aff0
LMI
4283 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4284 before 587, since it appears that that's more likely to work for
4285 more people.
4286
98cd6c18 4287 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4288 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4289 exist.
4290
b96dec83
LMI
4291 * info.el: Remove the `Info-beginning-of-buffer' function
4292 (bug#8325).
4293
b796c9b7
SM
4294 * net/network-stream.el (network-stream-open-starttls):
4295 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4296
d90e2ea0
MR
42972011-08-01 Martin Rudalics <rudalics@gmx.at>
4298
4299 * window.el (display-buffer-in-window): Don't set dedicated status
4300 of window here (Bug#9215).
4301 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4302 (display-buffer-pop-up-side-window)
b796c9b7 4303 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4304
cca09170
SM
43052011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4308 before binding generated-autoload-file.
4309
027b979c
DD
43102011-08-01 Deniz Dogan <deniz@dogan.se>
4311
4312 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4313
3c7ee4f3
MA
43142011-07-30 Michael Albinus <michael.albinus@gmx.de>
4315
4316 Sync with Tramp 2.2.2.
4317
4318 * net/trampver.el: Update release number.
4319
2cc8e51a
JL
43202011-07-30 Juri Linkov <juri@jurta.org>
4321
4322 * dired-aux.el (dired-touch-initial): Remove function.
4323 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4324 current time, and `default' to the last modification time of the
4325 current marked file (bug#6887).
4326
a514d856
JM
43272011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4328
4329 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4330 numeric argument to read-number (bug#9163).
a514d856 4331
8a7eddd7
MA
43322011-07-27 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4335 connection process, it could be nil.
4336
1ddd96f5
LL
43372011-07-27 Leo Liu <sdl.web@gmail.com>
4338
4339 Simplify url handling in rcirc-mode.
4340
4341 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4342 (rcirc-browse-url-at-mouse): Remove.
4343 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4344
b248a85d
AM
43452011-07-26 Alan Mackenzie <acm@muc.de>
4346
4347 Fontify bitfield declarations properly.
4348
4349 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4350 (c-symbol-chars): Now exported as a lang variable.
4351 (c-not-primitive-type-keywords): New lang variable.
4352
4353 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4354 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4355 parsed as a bitfield declaration.
b248a85d 4356
b796c9b7
SM
4357 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4358 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4359 (c-punctuation-in): New function.
4360 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4361 declarations properly.
4362
68575ab0
UJ
43632011-07-26 Ulf Jasper <ulf.jasper@web.de>
4364
4365 * calendar/icalendar.el (icalendar--all-events): Take care of
4366 multiple vcalendars in a single file.
b796c9b7 4367 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4368
0f0a88b9
DD
43692011-07-25 Deniz Dogan <deniz@dogan.se>
4370
4371 * image.el (insert-image): Clarifying docstring.
4372
0b3f36df
MA
43732011-07-24 Michael Albinus <michael.albinus@gmx.de>
4374
4375 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4376 `tramp-send-command-and-check' if there is no error.
4377 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4378
a9901f61
AM
43792011-07-22 Alan Mackenzie <acm@muc.de>
4380
4381 Prevent cc-langs.elc being loaded at run time.
4382
4383 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4384 cc-langs.
4385
4d61f28d 4386 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4387 "(require 'cc-langs)". Quote a form so it will evaluate at
4388 (cc-mode's) compilation time.
4389
11d074b2
MA
43902011-07-22 Michael Albinus <michael.albinus@gmx.de>
4391
4392 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4393 loading. (Bug#9114)
4394
938b94c8
MR
43952011-07-21 Martin Rudalics <rudalics@gmx.at>
4396
4397 * window.el (display-buffer-pop-up-window)
4398 (display-buffer-pop-up-side-window)
4399 (display-buffer-in-side-window): Call display-buffer-set-height
4400 and display-buffer-set-width after setting the new window's
b796c9b7 4401 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4402
bfa4f190
SS
44032011-07-20 Sam Steingold <sds@gnu.org>
4404
4405 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4406 (etags-tags-included-tables): Call `convert-standard-filename' on
4407 the file names contained in TAGS so that windows Emacs can handle
4408 TAGS files created by cygwin ctags.
4409
8ca42262
LMI
44102011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411
4412 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4413 which apparently didn't work.
4414
5db2afd2 44152011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4416
5db2afd2
RW
4417 * proced.el (proced-send-signal): For *Marked Processes* buffer
4418 put point at beginning of buffer.
4419
92e15d10
SB
44202011-07-19 Stephen Berman <stephen.berman@gmx.net>
4421
4422 * proced.el (proced-format): Make header lines align with the text
4423 (bug#1779).
4424
1bfd59e5
LMI
44252011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4426
4427 * view.el (view-buffer): Allow running in `special' modes if we're
4428 visiting a file (bug#8615).
4429
f5aae37c
MR
44302011-07-19 Martin Rudalics <rudalics@gmx.at>
4431
4432 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4433 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4434 New functions.
f5aae37c
MR
4435 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4436 more accurately.
4437
bf2c1571
AM
44382011-07-18 Alan Mackenzie <acm@muc.de>
4439
4440 Fontify declarators properly when, e.g., a jit-lock chunk begins
4441 inside a declaration.
4442
4443 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4444
b796c9b7
SM
4445 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4446 New function.
bf2c1571
AM
4447 (c-complex-decl-matchers): Insert reference to
4448 c-font-lock-enclosing-decls.
4449
4450 * progmodes/cc-engine.el (c-backward-single-comment):
4451 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4452 to nil around calls to (forward-comment -1).
4453
4e190b80
LMI
44542011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4455
12dc863d
LMI
4456 * image.el (put-image): Doc typo fix.
4457
a762e966
LMI
4458 * progmodes/etags.el (tags-search): Doc typo fix.
4459
4e190b80
LMI
4460 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4461 password if we get errors 550 to 554.
4462
f019fb21
LMI
44632011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4464
b796c9b7 4465 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4466
81746738
LMI
4467 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4468 indentation character (bug#6380).
4469
3ee3a1b5
LMI
4470 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4471
c82f64de
LMI
4472 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4473 to clarify what the problem is (bug#4291).
4474
f019fb21
LMI
4475 * simple.el (current-kill): Clarify what
4476 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4477 (auto-fill-mode): Document `auto-fill-function' in relation to
4478 `auto-fill-mode' (bug#2470).
f019fb21 4479
0794775d
LM
44802011-07-16 Lawrence Mitchell <wence@gmx.li>
4481
4482 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4483 method if slot is read-only (bug#9035).
4484
be39b8cc
MR
44852011-07-16 Martin Rudalics <rudalics@gmx.at>
4486
b796c9b7 4487 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4488 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4489 selected before, see discussion of (Bug#8615), (Bug#6954).
4490 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4491
6ccf7859
GM
44922011-07-15 Glenn Morris <rgm@gnu.org>
4493
4494 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4495 Respect help-form.
6ccf7859 4496
87e86684
LM
44972011-07-09 Lawrence Mitchell <wence@gmx.li>
4498
4499 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4500 (gnutls-negotiate): Use it.
4501
d6066239
LMI
45022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4503
b796c9b7
SM
4504 * net/gnutls.el (gnutls-negotiate):
4505 Upcase `gnutls-algorithm-priority'.
d6066239 4506
bd23ebc0
GM
45072011-07-15 Glenn Morris <rgm@gnu.org>
4508
c65bca65
GM
4509 * jka-compr.el (jka-compr-verbose): Move from here...
4510 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4511 Add missing :version tag.
4512 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4513
478615cc
LMI
45142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4515
7b41decb
LMI
4516 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4517 (gnutls-negotiate): Use it.
4518
dbc44fcd
LMI
4519 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4520
06789f97
LMI
4521 * info.el (Info-beginning-of-buffer): New command.
4522 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4523 announcing `b' as the key (bug#8325).
ab896c37 4524 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4525
c39da690
LMI
4526 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4527
3aa5f34b
LMI
4528 * international/mule-cmds.el
4529 (describe-specified-language-support): Make the error message
4530 clearer (bug#8905).
4531
4bf0979f
LMI
4532 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4533
478615cc
LMI
4534 * isearch.el (isearch-barrier): Add a doc string, since it's
4535 mentioned in a function doc string (bug#8678).
4536
75c68aa1
MR
45372011-07-15 Martin Rudalics <rudalics@gmx.at>
4538
4539 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4540 buffer argument (Bug#9083) and self-identifying label argument.
4541
a7c33da2
GM
45422011-07-15 Glenn Morris <rgm@gnu.org>
4543
4544 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4545
2f5c6024
LMI
45462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4547
4548 * man.el (Man-fontify-manpage): Fix message when formatting the
4549 man page (bug#7929).
4550
0bb23927 45512011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4552
4553 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4554 argument LRM; if non-nil, append an invisible LRM character to the
4555 buffer name.
4556 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4557 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4558 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4559 paragraph direction.
cce4b0a7 4560
621ef9ab
LMI
45612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4562
d1583c48
LMI
4563 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4564 the man page name (bug#7929).
4565
6a57fb5f
LMI
4566 * image.el (put-image): Mention the `put-image' overlay property
4567 (bug#7834).
4568
d7956b14
LMI
4569 * scroll-bar.el (set-scroll-bar-mode): Mention that
4570 `scroll-bar-mode' lists the values (bug#7772).
4571
5b2d4a66
LMI
4572 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4573 command (bug#7729).
4574
7509a874
LMI
4575 * rect.el (apply-on-rectangle): Return the point after the last
4576 operation.
4577 (string-rectangle): Go to the point after the last operation
4578 (bug#7522).
4579
4fe74b19
LMI
4580 * printing.el (pr-toggle-region): Clarify the documentation
4581 slightly (bug#7493).
4582
b796c9b7
SM
4583 * time.el (display-time-update):
4584 Allow `display-time-mail-function' to return nil (bug#7158).
4585 Fix suggested by Detlev Zundel.
ab283561 4586
fc233c9d
LMI
4587 * vc/diff.el (diff): Clarify the order the file names are read
4588 (bug#7111).
4589
43f5740b
LMI
4590 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4591 the doc string (bug#7015).
4592
f2182a76
LMI
4593 * font-lock.el (font-lock-maximum-decoration): Mention what
4594 numeric levels mean (bug#6935).
4595
621ef9ab
LMI
4596 * startup.el (initial-buffer-choice): Don't mention the `none'
4597 selection, which is against policy.
4598
adc47434
MR
45992011-07-14 Martin Rudalics <rudalics@gmx.at>
4600
b796c9b7
SM
4601 * window.el (display-buffer-normalize-special):
4602 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4603
7e5bfb8f
EZ
46042011-07-14 Eli Zaretskii <eliz@gnu.org>
4605
4606 * subr.el (version<, version<=, version=): Mention "-CVS" and
4607 "-12345" alpha version numbers.
4608
27fa387a
CY
46092011-07-14 Chong Yidong <cyd@stupidchicken.com>
4610
4611 * bindings.el: Add advertised binding for set-mark-command
4612 (Bug#5772).
4613
8bdfa064
CY
46142011-07-14 Chong Yidong <cyd@stupidchicken.com>
4615
4616 * bindings.el (mode-line-other-buffer):
4617 * bookmark.el (bookmark-bmenu-2-window):
4618 * bs.el (bs-cycle-next, bs-cycle-previous):
4619 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4620 switch-to-buffer.
4621
4622 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4623 Delete.
8bdfa064 4624
5eba16a3
JB
46252011-07-14 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * follow.el (follow-debug-message, follow-redisplay):
4628 * jka-cmpr-hook.el (with-auto-compression-mode):
4629 Fix typos in docstrings.
4630
15853710
LMI
46312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4632
a28e4607
LMI
4633 * subr.el (with-silent-modifications): Clarify somewhat what the
4634 macro inhibits (bug#6525).
4635
15853710
LMI
4636 * simple.el (eval-expression): Note what it does if called
4637 interactively (bug#6495).
4638
bee0fcef
CY
46392011-07-13 Chong Yidong <cyd@stupidchicken.com>
4640
b796c9b7
SM
4641 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4642 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4643
4644 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4645 Remove switch-to-buffer.
4646
58274504
LMI
46472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4648
bd2fcc8d
LMI
4649 * files.el (make-directory): Clarify that an error will be raised
4650 if there's an error (bug#6397).
4651
0f04b32c
LMI
4652 * startup.el (initial-buffer-choice): Add `none' as a choice
4653 (bug#6234).
4654
465c5fc8
LMI
4655 * subr.el (add-hook): Clarify section about buffer-local hooks
4656 (bug#6218).
4657
58274504
LMI
4658 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4659
bead9a43
JB
46602011-07-13 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * tabify.el (untabify): Preserve the current column so that point
4663 doesn't move (bug#6032).
4664
3af98a7b
LMI
46652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4666
b796c9b7
SM
4667 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4668 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4669
6240145a
GM
46702011-07-13 Glenn Morris <rgm@gnu.org>
4671
4672 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4673 (dired-insert-directory): Give a message the first time
4674 if ls is found not to support --dired.
4675
1d8c2ccc
LMI
46762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4677
4678 * simple.el (toggle-truncate-lines): Clarify what is toggled
4679 (bug#5580). Text by Drew Adams.
4680
5fc4038e
CY
46812011-07-13 Chong Yidong <cyd@stupidchicken.com>
4682
4683 * simple.el (blink-matching-open): Make the error message from the
4684 last change less verbose.
4685
bf6012e5
DN
46862011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4687
4688 * font-lock.el (font-lock-comment-face): Use the high contrast
4689 "yellow" color for font-lock-comment-face on low color terminals
4690 using a dark background color (bug#4221).
4691
343c3b5a
LMI
46922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4693
7e9505c5
LMI
4694 * dired.el (dired-insert-set-properties): Make the doc string
4695 reflect what it does now (bug#5325).
4696
c26fdcf5
LMI
4697 * simple.el (blink-matching-open): Say that we were unable to find
4698 the match within the limit, if we're limited (bug#5122).
4699
bb388cc5
LMI
4700 * international/mule-cmds.el (prefer-coding-system): Add an
4701 example (bug#4869).
4702
343c3b5a
LMI
4703 * progmodes/etags.el (tags-search): Document `file-list-form'
4704 (bug#4731).
4705
2a517d45
LM
47062011-07-13 Lawrence Mitchell <wence@gmx.li>
4707
4708 * net/browse-url.el (browse-url-default-browser)
4709 (browse-url-browser-function): Make the default browser choice a
4710 bit more logical (bug#4300). Also clean up the doc string.
4711
b6c78ef2
JB
47122011-07-13 Juanma Barranquero <lekktu@gmail.com>
4713
4714 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4715 binary endings (bug#4440).
4716
1c4dd947
LMI
47172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4718
a2014063
LMI
4719 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4720 which can be pretty annoying (bug#8971).
4721
9c9c2d88
LMI
4722 * jka-compr.el (jka-compr-verbose): New variable, and use
4723 throughout (bug#8971).
4724
1c4dd947
LMI
4725 * info.el (Info-find-file): Fall back on the installation
4726 directory if we can't find the info node anywhere else.
4727
a1c9f41b
SO
47282011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4729
4730 * vc/vc.el (vc-revert-file):
4731 Don't set file time-stamp in the past. (Bug#5181)
4732
536f3d36
LMI
47332011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4734
7152b011
LMI
4735 * files.el (after-find-file): Give a better error message when
4736 trying to find a symlink that points to a file that doesn't exist
4737 (bug#4398).
4738
536f3d36
LMI
4739 * progmodes/cc-vars.el: Remove (probably) misleading comment
4740 (bug#4396).
4741
460c0fba
JB
47422011-07-12 Johan Bockgård <bojohan@gnu.org>
4743
4744 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4745
7a6bda45
CY
47462011-07-12 Chong Yidong <cyd@stupidchicken.com>
4747
4748 * mouse-sel.el: Hack restoring functionality, while keeping
4749 compatibility with 2010-07-03 changes to mouse selection.
4750 (mouse-sel-primary-overlay): New var.
4751 (mouse-sel-selection-alist): Use it.
4752 (mouse-sel-mode): Doc fix; remove points that are default features
4753 of mouse.el.
4754
c79598ef
JB
47552011-07-12 Johan Bockgård <bojohan@gnu.org>
4756
4757 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4758 Fix previous fix (bug#2490).
4759
ff8be6ef
RW
47602011-07-12 Roland Winkler <winkler@gnu.org>
4761
b796c9b7
SM
4762 * textmodes/bibtex.el (bibtex-initialize):
4763 Use pop-to-buffer-same-window.
ff8be6ef
RW
4764 (bibtex-search-entries): Fix interactive call.
4765
296ba3ee
LMI
47662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4767
f5242a02 4768 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4769 Fontise bytecomp Error lines more correctly (bug#2490).
4770 Fix suggested by Johan Bockgård.
f5242a02 4771
296ba3ee
LMI
4772 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4773
4774 * dired-x.el (dired-guess-default): Use `delete-dups'.
4775
f69fd0d2
CY
47762011-07-12 Chong Yidong <cyd@stupidchicken.com>
4777
4778 * dired.el (dired-mark-prompt):
4779 * dired-aux.el (dired-read-shell-command): Doc fix.
4780
eab5dc07
LMI
47812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4782
b796c9b7
SM
4783 * mail/sendmail.el (sendmail-query-once):
4784 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4785 emacs -Q.
4786
4787 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4788
eab5dc07
LMI
4789 * cus-edit.el (custom-file): Take an optional no-error variable.
4790 (customize-save-variable): Set the variable, and give a warning if
4791 running under "emacs -q".
4792
a1e65d42
JB
47932011-07-11 Juanma Barranquero <lekktu@gmail.com>
4794
4795 * loadhist.el (unload-feature-special-hooks):
4796 Add `auto-coding-functions', `fill-nobreak-predicate' and
4797 `find-directory-functions' (bug#5327).
4798
1d52da10
LMI
47992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4800
be958f1d
LMI
4801 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4802
5bedb26c
LMI
4803 * cus-edit.el (custom-guess-name-alist): -alist variables should
4804 use the `alist' type (bug#3120). Suggested by Drew Adams.
4805
1d52da10
LMI
4806 * printing.el: Add documentation to all the `pr-toggle-' commands.
4807
cd394be1 48082011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4809
4810 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4811 backends where it makes sense (bug#2623).
4812
dcc88d8a
LMI
48132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4814
c3de9feb
LMI
4815 * dired-x.el (dired-guess-default): Remove duplicate shell command
4816 entries (bug#2028).
8a93078b 4817 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4818 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4819
dcc88d8a
LMI
4820 * subr.el (remove-duplicates): New conveniency function.
4821
505e3645
LMI
48222011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4823
4824 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4825 (bug#1526).
4826
48272011-07-10 Martin Rudalics <rudalics@gmx.at>
4828
4829 * window.el (display-buffer-normalize-default): Don't invert
4830 meaning of even-window-heights. Reported by Eli Zaretskii
4831 <eliz@gnu.org>.
4832
455e4fa1
BR
48332011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4834
4835 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4836
8e0bc3e9
CY
48372011-07-10 Chong Yidong <cyd@stupidchicken.com>
4838
4839 * window.el (display-buffer): Fix arguments to
4840 display-buffer-reuse-window in last change.
4841
fa7c3228
CY
4842 * faces.el (link): Use a less saturated blue on light backgrounds.
4843
4844 * startup.el (fancy-startup-text, fancy-about-text)
4845 (fancy-startup-tail): Use font-lock faces, for background safety.
4846
c0a7f300
BN
48472011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4848
b796c9b7
SM
4849 * emulation/viper-cmd.el (viper-change-state-to-vi):
4850 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4851
4dc2a129
MR
48522011-07-09 Martin Rudalics <rudalics@gmx.at>
4853
4854 * window.el (display-buffer-default-specifiers): Remove.
4855 (display-buffer-macro-specifiers): Remove default specifiers.
4856 (display-buffer-alist): Default to nil.
b796c9b7 4857 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4858 (display-buffer-pop-up-window): Allow splitting internal
4859 windows. Check whether a live window was created.
4860 (display-buffer-other-window-means-other-frame)
4861 (display-buffer-normalize-arguments): Rename to
4862 display-buffer-normalize-argument and rewrite. Set the
4863 other-window specifier.
4864 (display-buffer-normalize-special): New function.
4865 (display-buffer-normalize-options): Rename to
4866 display-buffer-normalize-default and rewrite.
4867 (display-buffer-normalize-options-inhibit): Remove.
4868 (display-buffer-normalize-specifiers): Rewrite.
4869 (display-buffer): Process other-window specifier and call
4870 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4871 more faithfully.
b796c9b7 4872 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4873 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4874 (display-buffer-in-window, display-buffer-alist-set):
4875 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4876 <tassilo@member.fsf.org>.
4877
2d43b8c9
LL
48782011-07-09 Leo Liu <sdl.web@gmail.com>
4879
4880 * register.el (insert-register): Restore accidental change on
4881 2011-06-26. (Bug#9028)
4882
7f9b7c53
GM
48832011-07-09 Glenn Morris <rgm@gnu.org>
4884
4885 * subr.el (remq): Handle the empty list. (Bug#9024)
4886
f042cfd8
AS
48872011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4888
4889 * mail/sendmail.el (send-mail-function): No longer delay custom
4890 initialization.
4891 * custom.el (custom-initialize-delay): Doc fix.
4892
856b2f11
SM
48932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4896
afae1d68
MA
48972011-07-08 Michael Albinus <michael.albinus@gmx.de>
4898
4899 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4900 human-friendly prompt.
4901
0757af94
SM
49022011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4905 provided by a particular plugin.
4906
d760b731
LMI
49072011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4908
4909 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4910 save customizations (with "emacs -Q"), just set the variable
4911 instead of erroring out.
4912
4913 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4914
cd79ce90
JL
49152011-07-08 Juri Linkov <juri@jurta.org>
4916
4917 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4918 (archive-zip-update-case): Use 7z if found by `executable-find'.
4919 The order of searching the available programs is the same as in
4920 `archive-zip-extract' (bug#8968).
4921
14cc04aa
CY
49222011-07-07 Chong Yidong <cyd@stupidchicken.com>
4923
4924 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4925 (menu-bar-options-menu): Tweak descriptions.
4926
0a1848ec
LMI
49272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4928
4929 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4930 menu items into verb phrases (bug#1421). Also refill to fit under
4931 80 columns.
4932
f5bd0689
CY
49332011-07-07 Chong Yidong <cyd@stupidchicken.com>
4934
538e85c6
CY
4935 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4936 (Info-read-node-name): Doc fix (Bug#1084).
4937
f5bd0689
CY
4938 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4939 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4940 (end-of-sexp, beginning-of-sexp)
4941 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4942 (forward-symbol, forward-same-syntax, word-at-point)
4943 (sentence-at-point): Doc fix (Bug#1144).
4944
56ec5115
LMI
49452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4946
f3f8e37f
LMI
4947 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4948 should cover it (bug#1281).
4949
0757af94 4950 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4951
e9fce1ac 4952 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4953 negotiation fails, then possibly try again with a non-encrypted
4954 connection (bug#9017).
4955
56ec5115
LMI
4956 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4957 be used.
4958
c2f9aec8
RS
49592011-07-07 Richard Stallman <rms@gnu.org>
4960
4961 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4962 property, and handle its changed format.
4963 Look for the correct line number.
4964 Use file's line contents (but not past first =) to find
4965 correct line in message.
4966
ef7b981d 49672011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4968
4969 * international/characters.el (build-unicode-category-table):
4970 Delete it.
0757af94 4971 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4972
0757af94 4973 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4974 to src/chartab.c.
4975 (get-char-code-property): Call unicode-property-table-internal to
4976 load a file. Call get-unicode-property-internal where necessary.
4977 (put-char-code-property): Call unicode-property-table-internal to
4978 load a file. Call put-unicode-property-internal where necessary.
4979 put-unicode-property-internal where necessary.
0757af94
SM
4980 (char-code-property-description):
4981 Call unicode-property-table-internal to load a file.
c805dec0
KH
4982
4983 * international/charprop.el:
4984 * international/uni-bidi.el:
4985 * international/uni-category.el:
4986 * international/uni-combining.el:
4987 * international/uni-comment.el:
4988 * international/uni-decimal.el:
4989 * international/uni-decomposition.el:
4990 * international/uni-digit.el:
4991 * international/uni-lowercase.el:
4992 * international/uni-mirrored.el:
4993 * international/uni-name.el:
4994 * international/uni-numeric.el:
4995 * international/uni-old-name.el:
4996 * international/uni-titlecase.el:
4997 * international/uni-uppercase.el: Regenerate.
4998
4999 * loadup.el: Load international/charprop.el before
5000 international/characters.
5001
e14b388a
CY
50022011-07-07 Chong Yidong <cyd@stupidchicken.com>
5003
5004 * window.el (next-buffer, previous-buffer): Signal an error if
5005 called from a minibuffer window.
5006
5007 * bindings.el: Revert 2011-07-04 change.
5008
354cf0ba
RS
50092011-07-06 Richard Stallman <rms@gnu.org>
5010
5011 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5012 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5013 Treat markers like ints.
5014 (rmail-mime-entity): Doc fix.
5015
a48868a7
LMI
50162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5017
4906cd3d
LMI
5018 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5019 defcustom again for backwards compatibility.
5020
e0457abe
LMI
5021 * simple.el (shell-command-on-region): Fill.
5022
d67f7e1f
LMI
5023 * dired-aux.el (dired-kill-line): Add a doc string.
5024
fe204702
LMI
5025 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5026 to "\\sw\\|\\s_" (bug#358).
5027
a48868a7
LMI
5028 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5029 (dired-unmark-backward): Ditto.
5030 (dired-flag-backup-files): Ditto.
5031
5032 * dired-x.el (dired-mark-sexp): Ditto.
5033
aa8a705c
RS
50342011-07-06 Richard Stallman <rms@gnu.org>
5035
5036 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5037 (rmail-mime-entity): New arg TRUNCATED.
5038 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5039 New functions.
5040 (rmail-mime-save): Warn if entity is truncated.
5041 (rmail-mime-toggle-hidden): Likewise, for showing.
5042 (rmail-mime-process-multipart): Record when an entity is truncated.
5043
a9a936b9
RS
5044 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5045 if ENTITY is a string.
5046
1f2b92cb
LMI
50472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5048
f4f73198 5049 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5050 of faces when `M-C-x'-ing their definitions (bug#8378).
5051 Also clean up the code slightly.
f4f73198 5052
12b16734 5053 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5054 because that makes the colors go away.
12b16734 5055
f0691d22
LMI
5056 * mail/sendmail.el (send-mail-function): Change the default to
5057 `sendmail-query-once'.
9e87df06 5058 (sendmail-query-once): Add an autoload cookie.
f0691d22 5059
1f2b92cb
LMI
5060 * net/network-stream.el (network-stream-open-starttls): Try using
5061 a plain connection even if the server offered STARTTLS, and we
5062 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5063 capability. This should make smtpmail.el work in slightly more
5064 configurations.
5065
1cdd2a1b
MA
50662011-07-06 Michael Albinus <michael.albinus@gmx.de>
5067
5068 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5069 New defun.
5070 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5071
fbcc67e2
MM
50722011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5073
5074 * progmodes/sql.el: Version 3.0
0757af94 5075 (sql-product-alist): Add product :completion-object,
fbcc67e2 5076 :completion-column, and :statement attributes.
0757af94 5077 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5078 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5079 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5080 ansi keywords.
5081 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5082 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5083 (sql-oracle-show-reserved-words): New function for development.
5084 (sql-product-font-lock): Simplify for source code buffers.
5085 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5086 New functions.
5087 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5088 (sql-mode-map): Add statement movement functions.
5089 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5090 New variable.
fbcc67e2
MM
5091 (sql-statement-regexp, sql-beginning-of-statement)
5092 (sql-end-of-statement, sql-signum): New functions.
0757af94 5093 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5094 (sql-show-sqli-buffer): Bug fix.
5095 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5096 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5097 with sql-interactive-mode.
5098 (sql-save-connection): Save buffer local settings.
0757af94 5099 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5100 (sql-product-interactive): Bug fix.
5101 (sql-preoutput-hold): New variable.
5102 (sql-interactive-remove-continuation-prompt): Bug fixes.
5103 (sql-debug-redirect): New variable.
5104 (sql-str-literal): New function.
5105 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5106 Redesign.
fbcc67e2
MM
5107 (sql-oracle-save-settings, sql-oracle-restore-settings)
5108 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5109 (sql-completion-object, sql-completion-column)
5110 (sql-completion-sqlbuf): New variables.
5111 (sql-build-completions-1, sql-build-completions)
5112 (sql-try-completion): New functions.
5113 (sql-read-table-name): Use them.
5114 (sql-contains-names): New buffer local variable.
5115 (sql-list-all, sql-list-table): Use it.
5116 (sql-oracle-completion-types): New variable.
5117 (sql-oracle-completion-object, sql-sqlite-completion-object)
5118 (sql-postgres-completion-object): New functions.
5119
d4eaeab1
GM
51202011-07-06 Glenn Morris <rgm@gnu.org>
5121
5122 * window.el (pop-to-buffer): Doc fix.
5123
322b7dab 51242011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5125
5126 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5127
322b7dab 51282011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5129
322b7dab 5130 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5131
322b7dab 5132 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5133
605dd5bf
CY
51342011-07-05 Chong Yidong <cyd@stupidchicken.com>
5135
5136 * button.el (button): Inherit from link face. Suggested by Dan
5137 Nicolaescu.
5138
7dbfa719
SM
51392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5140
3db614b0
SM
5141 * progmodes/gdb-mi.el: Fit in 80 columns.
5142 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5143 switch-to-buffer.
5144
7dbfa719
SM
5145 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5146 if imenu is simply not configured (bug#8941).
5147
919d884a
KM
51482011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5149
5150 * allout.el (allout-post-undo-hook): New allout outline-change
5151 event hook to signal undo activity.
5152 (allout-post-command-business): Run allout-post-undo-hook if an
5153 undo just occurred.
7dbfa719
SM
5154 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5155 * allout-widgets.el (allout-widgets-after-undo-function):
5156 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5157 in the vicinity of an undo.
5158 (allout-widgets-mode): Include allout-widgets-after-undo-function
5159 on the new allout-post-undo-hook.
5160
450a0f09
SM
51612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5164 Let define-derived-mode define it.
5165 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5166 cycles of abbrev-table inheritance (bug#8998).
5167
2de69e00
RW
51682011-07-05 Roland Winkler <winkler@gnu.org>
5169
5170 * textmodes/bibtex.el: Add support for biblatex.
5171 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5172 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5173 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5174 (bibtex-entry-alist, bibtex-field-alist): New variables.
5175 (bibtex-entry-field-alist): Obsolete alias for
5176 bibtex-BibTeX-entry-alist.
5177 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5178 (bibtex-set-dialect): New command.
5179 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5180 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5181 Bind via bibtex-set-dialect.
2de69e00
RW
5182 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5183 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5184 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5185 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5186 Define via bibtex-set-dialect.
450a0f09
SM
5187 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5188 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5189 (bibtex-vec-push, bibtex-vec-incr): New functions.
5190 (bibtex-format-entry, bibtex-field-list)
5191 (bibtex-print-help-message, bibtex-validate)
5192 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5193
2dcdbdd9
SM
51942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5195
5196 * progmodes/compile.el (compilation-goto-locus):
5197 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5198 * bs.el (bs-cycle-next, bs-cycle-previous):
5199 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5200 * bindings.el (mode-line-other-buffer):
5201 * autoinsert.el (auto-insert):
5202 * arc-mode.el (archive-extract):
5203 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5204
b27640fe
JB
52052011-07-05 Juanma Barranquero <lekktu@gmail.com>
5206
5207 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5208 Fix check of `emacs-lock-unlockable-modes'.
5209 Coerce true values of `emacs-lock--try-unlocking' to t.
5210
53bbe3ad
JB
52112011-07-05 Juanma Barranquero <lekktu@gmail.com>
5212
5213 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5214 * emacs-lock.el: New file.
5215
1d3cdbc7
JD
52162011-07-05 Julien Danjou <julien@danjou.info>
5217
5218 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5219 than `boundp' to check if face is set.
5220
9173deec
JB
52212011-07-05 Juanma Barranquero <lekktu@gmail.com>
5222
5223 * register.el (registerv-make):
5224 * window.el (window-min-height): Fix typos in docstrings.
5225
869795d6
JD
52262011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5227
9173deec 5228 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5229 Update doc string.
5230
b768cdcd
JB
52312011-07-04 Juanma Barranquero <lekktu@gmail.com>
5232
5233 * server.el (server-execute): Catch quit and call
5234 `server-return-error' to pass the error back to emacsclient and
5235 close the connection (bug#8942).
5236
13aa217b
KM
52372011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5238
5239 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5240 insecure exception for current topic. Also note that auto-saves
5241 are handled differently.
5242
5243 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5244 State variables for tracking auto-save inhibition situation.
5245
5246 (allout-write-contents-hook-handler): Rename from
5247 'allout-write-file-hook-handler', and describe how it depends on
5248 write-contents-functions sensitivity to non-nil value to prevent
5249 file write.
5250
5251 (allout-auto-save-hook-handler): Remove. auto-save does not check
5252 this in individual buffers, only in the starting buffer, so this
5253 is not the right way for us to inhibit auto-save in a buffer
5254 according to its condition.
5255
5256 (allout-mode): Use new allout-write-contents-hook-handler, and
5257 only with write-contents-functions. Remove auto-save provisions -
5258 they're implemented elsewhere.
5259
5260 (allout-before-change-handler): If undo is in progress, note that
5261 for attention of allout-post-command-business.
5262
5263 (allout-post-command-business): If the command we're following was
5264 an undo, check for change in the status of encrypted items and
5265 adjust auto-save inhibitions accordingly.
5266
5267 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5268 according to whether there are or aren't any plain-text topics
5269 pending encryption.
5270
2dcdbdd9 5271 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5272 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5273 if there are plain-text topics pending encryption.
13aa217b
KM
5274
5275 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5276 buffer-saved-size and some allout state to not inhibit auto-saves
5277 if there are no longer any plain-text topics pending encryption.
5278
0757af94
SM
5279 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5280 No longer provide for exemption of the current topic.
13aa217b 5281
ac89b32c
JL
52822011-07-04 Juri Linkov <juri@jurta.org>
5283
5284 Add 7z operations to delete and save changed members (bug#8968).
5285 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5286 New defcustoms.
5287 (archive-7z-write-file-member): New function.
5288 (archive-7z-summarize): Fix the number of dashes in the
5289 listing output.
5290
8fa39615
SM
52912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5294 (bug#8958).
5295
2f11b3f1
CY
52962011-07-04 Chong Yidong <cyd@stupidchicken.com>
5297
d66fef2b
CY
5298 * bindings.el: Ignore next-buffer and previous-buffer in
5299 minibuffer-local-map.
5300
2f11b3f1
CY
5301 * font-lock.el (font-lock-builtin-face): Change light background
5302 color to dark slate blue (Bug#6693).
5303
f932a347
WD
53042011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5305
5306 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5307
c8af70e1
SM
53082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5311 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5312 Add switch-to-buffer.
5313
f158badc
LMI
53142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5315
5316 * isearch.el (isearch-search-fun-function): Clarify further the
5317 meaning of the function returned.
5318
6d95bd46
MA
53192011-07-04 Michael Albinus <michael.albinus@gmx.de>
5320
5321 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5322
5323 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5324 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5325 Use it.
5326 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5327 `tramp-default-remote-path' does not exist.
5328 (tramp-send-command-and-read): New optional argument NOERROR.
5329 (tramp-open-connection-setup-interactive-shell)
5330 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5331 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5332 (tramp-process-sentinel): Flush also process' connection property.
5333 (tramp-sh-handle-start-file-process): Do not set process
5334 sentinel. It is done now ...
5335 (tramp-maybe-open-connection): ... here. (Bug#8929)
5336
909e6b67
MK
53372011-07-04 MON KEY <monkey@sandpframing.com>
5338
5339 * play/animate.el (animate-string): Doc fixes and allow changing
5340 the buffer name (bug#5417).
5341
53422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5343
c8af70e1 5344 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5345
f34755dc
PE
53462011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5347
396cec72
PE
5348 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5349 This is simpler and helps future-proof the code.
5350 (timer-until): Use time-subtract and float-time.
08235028 5351 (timer--time-less-p): Use time-less-p.
f34755dc 5352
56e6cc31
JB
53532011-07-04 Juanma Barranquero <lekktu@gmail.com>
5354
3abb79e5
JB
5355 * type-break.el (timep): Use the value of `float-time' to avoid a
5356 byte-compiler warning.
5357
56e6cc31
JB
5358 * server.el (server-eval-and-print): Return any result, even nil.
5359
7b9430b4
PE
53602011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5361
5362 * type-break.el: Accept time formats that the builtins accept.
5363 (timep, type-break-time-difference): Accept any format that
5364 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5365 This is simpler and helps future-proof the code.
5366 (type-break-time-difference): Round rather than ignoring
5367 subseconds components.
5368
3034e9e7
LMI
53692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5370
5371 * info.el (Info-apropos-matches): Make non-interactive, since it
5372 doesn't seem to do anything useful as a command (bug#8829).
5373
1485f4c0
CY
53742011-07-03 Chong Yidong <cyd@stupidchicken.com>
5375
5376 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5377 Move from faces.el.
1485f4c0
CY
5378 (frame-default-terminal-background): New function.
5379
5380 * custom.el (custom-push-theme): Don't record faces in `changed'
5381 theme; this doesn't work correctly for per-frame face settings.
5382 (disable-theme): Use face-set-after-frame-default to reset faces.
5383 (custom--frame-color-default): New function.
5384
9fa3dd45
LMI
53852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5386
c8af70e1 5387 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5388 (bug#8769).
5389
6cbbc20c
KR
53902011-03-29 Kevin Ryde <user42@zip.com.au>
5391
5392 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5393 `perl-Test2' extend to match possible "fail #N" rep count
5394 (bug#8377).
5395
c7f98048
LMI
53962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5397
65676592
LMI
5398 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5399 `smtpmail-via-smtp' now returns the error instead of nil.
5400
c7f98048
LMI
5401 * isearch.el (isearch-search-fun-function): Clarify the doc string
5402 (bug#8101).
5403
56e6cc31 54042011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5405
5406 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5407 unnecessary spaces (bug#8987).
5408
2b216704
LMI
54092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5410
5411 * net/network-stream.el (open-network-stream): Use the
5412 :end-of-capability command thoughout.
5413
54142011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5415
5416 * net/network-stream.el (open-network-stream): Add the
5417 :end-of-capability command parameter, used by pop3.el.
5418
36adf6ce
LMI
54192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5420
1ca0da0e
LMI
5421 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5422
fc00f69c
LMI
5423 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5424 for list)" (bug#6475).
5425
28fd8759 5426 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5427 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5428 an error (bug#6297).
5429
0dd8b6da
LMI
5430 * man.el (Man-reference-regexp): Allow matching possible
5431 word-wrapped references (bug#6289).
5432
ce1438d6
LMI
5433 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5434 for consistency with the other vc buffers (bug#6197).
5435 (vc-checkin): Ditto.
5436
5437 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5438
36adf6ce
LMI
5439 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5440
e83cc1f7
LMI
54412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5442
8a20ca4c
LMI
5443 * custom.el (defcustom): Clarify that :set is only used in the
5444 Customize user interface (bug#6089).
5445
83319045
LMI
5446 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5447 associated with a file, refuse to run instead of erroring out
5448 (bug#6084).
5449
a8392169
LMI
5450 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5451 the doc string, since it appears that using `fill-column' always
5452 controls the width (bug#7845).
5453
e83cc1f7
LMI
5454 * simple.el (shell-command-on-region): Say where the error output
5455 went if `shell-command-default-error-buffer' is set (bug#6857).
5456
e47ca23b
KM
54572011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5458
5459 * allout.el (allout-yank-processing): Adjust cursor position for
5460 backwards-deleted space.
5461
5462 (allout-rebullet-heading): Register changes with
5463 allout-exposure-changed-hook, so the modified topic is properly
5464 decorated.
5465
5cf56143
LMI
54662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5467
08549772
LMI
5468 * minibuffer.el (completion-in-region): Document PREDICATE
5469 (bug#7136).
5470
48e96771
LMI
5471 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5472 of keyword/argument pairs (bug#6904).
5473
c8af70e1
SM
5474 * replace.el (multi-occur):
5475 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5476
e17d05e2
LMI
54772011-07-02 Drew Adams <drew.adams@oracle.com>
5478
5479 * dired.el (dired-mark-if): Make the message about whether it's
5480 marking or unmarking clearer (bug#8523).
5481
063b0e45
LMI
54822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5483
5484 * disp-table.el (display-table-print-array): New function.
5485 (describe-display-table): Use it to print the vectors more pretty
5486 (Bug#8859).
5487
28545e04
MR
54882011-07-02 Martin Rudalics <rudalics@gmx.at>
5489
5490 * window.el (window-state-get-1): Don't assign clone numbers.
5491 Add clone-of item to list of window parameters.
5492 (window-state-put-2): Don't process clone numbers.
5493 (display-buffer-alist): Fix doc-string.
5494
3349e122
SM
54952011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * subr.el (remq): Don't allocate if it's not needed.
5498 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5499 (keymap--merge-bindings): New functions.
5500 (keymap-canonicalize): Use them to refine the canonicalization.
5501 * minibuffer.el (minibuffer-local-completion-map)
5502 (minibuffer-local-must-match-map): Move initialization from C.
5503 (minibuffer-local-filename-completion-map): Move initialization from C;
5504 don't inherit from anything here.
5505 (minibuffer-local-filename-must-match-map): Make obsolete.
5506 (completing-read-default): Use make-composed-keymap to combine
5507 minibuffer-local-filename-completion-map with either
5508 minibuffer-local-must-match-map or
5509 minibuffer-local-filename-completion-map.
5510
d224ac83
GM
55112011-07-01 Glenn Morris <rgm@gnu.org>
5512
3de63bf8
GM
5513 * type-break.el (type-break-time-sum): Use dolist.
5514
d224ac83
GM
5515 * textmodes/flyspell.el (flyspell-word-search-backward):
5516 Replace CL function.
5517
1a1e3f32
SM
55182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5519
fe3f64d5
SM
5520 * mouse.el (mouse--strip-first-event): New function.
5521 (function-key-map): Use it to map fringe clicks to normal clicks
5522 by default.
5523
eb604e34
SM
5524 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5525 (vc-bzr-revision-completion-table): Add support for annotate and date.
5526
1a1e3f32
SM
5527 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5528 inherit from parent.
5529
5bd35902
LMI
55302011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5531
ace6c69c 5532 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5533 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5534
191e2bed
LMI
5535 * dired.el (dired-mode): Fix up the doc string as suggested by
5536 Drew Adams (bug#8817).
5537
5bd35902
LMI
5538 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5539 cookie, since the manual says that it should be possible to add
5540 this function to `find-file-hook' (bug#8709).
5541
eee8207a
TZ
55422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5543
5544 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5545 here. Noted Ted Zlatanov as the maintainer.
5546 (cfengine-common-settings, cfengine-common-syntax): New functions
5547 to set up common things between `cfengine-mode' and
5548 `cfengine3-mode'.
5549 (cfengine3-mode): New mode.
5550 (cfengine3-defuns cfengine3-defuns-regex
5551 (cfengine3-class-selector-regex cfengine3-category-regex)
5552 (cfengine3-vartypes cfengine3-font-lock-keywords)
5553 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5554 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5555
36b148cf
MA
55562011-07-01 Michael Albinus <michael.albinus@gmx.de>
5557
5558 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5559
5560 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5561
0bf4ba9a
MR
55622011-07-01 Martin Rudalics <rudalics@gmx.at>
5563
5564 * window.el (same-window-buffer-names, same-window-regexps)
5565 (same-window-p, special-display-frame-alist)
5566 (special-display-popup-frame, special-display-function)
5567 (special-display-buffer-names, special-display-regexps)
5568 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5569 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5570 (split-window-preferred-function, split-height-threshold)
5571 (split-width-threshold, even-window-heights)
5572 (display-buffer-mark-dedicated, window-splittable-p)
5573 (split-window-sensibly, window-safely-shrinkable-p):
5574 Un-obsolete.
5575 (display-buffer): Don't spread args with function specifier
5576 because special-display-popup-frame won't like it.
5577
35837f51
PE
55782011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5579
d0672f86
PE
5580 Time-stamp simplifications and fixes.
5581 These improve accuracy slightly, and future-proof the code
5582 against some potential changes to current-time format.
5583
b9444d97
PE
5584 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5585 by using time-since and float-time.
5586
0ef923dc
PE
5587 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5588 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5589 + NNN microseconds".
5590
2f81380d
PE
5591 * type-break.el (type-break-time-sum): Rewrite using time-add.
5592
845b5c3e
PE
5593 * play/hanoi.el (hanoi-current-time-float): Remove.
5594 All uses replaced by float-time.
5595
ee6f1be0
PE
5596 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5597 This yields a more-accurate answer.
5598 (rng-time-to-float): Remove; no longer needed.
5599
fe955043
PE
5600 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5601
5777162a
PE
5602 * calendar/timeclock.el (timeclock-seconds-to-time):
5603 Defalias to seconds-to-time, since they're the same thing.
5604
3103f8b6 5605 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5606 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5607 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5608
0e61a35f
SM
56092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * window.el (bury-buffer): Don't iconify the only frame.
5612 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5613 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5614
ddd63a1e
CY
56152011-07-01 Chong Yidong <cyd@stupidchicken.com>
5616
0e61a35f
SM
5617 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5618 Add mouse-yank-primary.
ddd63a1e 5619
055f4923
TZ
56202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5621
5622 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5623
6a2fb145
SM
56242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5627 (find-library-name): Use it to find relative load names when provided
5628 absolute file name (bug#8803).
5629
fd4983f2
LMI
56302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5631
887d14ad
LMI
5632 * textmodes/flyspell.el (flyspell-word): Consider words that
5633 differ only in case as potential doublons (bug#5687).
5634
c53dc7fc
LMI
5635 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5636 Remove two rather uninteresting debugging-like messages to make
5637 debbugs.el more silent.
5638
fd4983f2
LMI
5639 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5640 a password-like phrase.
5641
b14c0c55
AM
56422011-06-30 Mastake YAMATO <yamato@redhat.com>
5643
5644 * progmodes/cc-guess.el: New file.
5645
6a2fb145 5646 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5647
5648 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5649 derived from `c-basic-common-init'.
5650
5651 * progmodes/cc-mode.el (top-level): Require cc-guess.
5652 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5653
1fa280a3
LM
56542011-06-30 Lawrence Mitchell <wence@gmx.li>
5655
5656 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5657
e6597158
AM
56582011-06-30 Alan Mackenzie <acm@muc.de>
5659
1fa280a3
LM
5660 * progmodes/cc-engine.el (c-guess-continued-construct):
5661 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5662 lock is disabled. Name this case as "CASE G".
5663
68ba37fb
KM
56642011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5665
5666 * allout.el (allout-yank-processing): Fix injection of extra space
5667 between bullet and non-whitespace character in first topic when
5668 pasting, ensuring that the actual spacing in the pasted topic
5669 following the bullet char is preserved. This extra space was
5670 causing pasted encrypted topics to get a decrypted status even
5671 when the content was actually still encrypted. Now the decryption
5672 status from before the paste is preserved.
5673
5674 (allout-flag-region): Set all allout overlays so they evaporate
5675 when reduced to zero length (evanescent), to prevent overlay
5676 leakage.
5677
887a0b34
GM
56782011-06-30 Glenn Morris <rgm@gnu.org>
5679
94b9acce
GM
5680 * w32-fns.el (w32-charset-info-alist): Declare.
5681
1d9b46d4
GM
5682 * find-dired.el (find-grep-options): Simplify.
5683
cc232200
GM
5684 * term/ns-win.el (ns-set-resource): Declare.
5685
28e77c46
GM
5686 * ses.el (row, col): Declare dynamic variables honestly.
5687
887a0b34
GM
5688 * textmodes/reftex-parse.el (index-tags): Declare.
5689
658d8eb8
CY
56902011-06-30 Chong Yidong <cyd@stupidchicken.com>
5691
5692 * cus-edit.el (customize-push-and-save): New function.
5693
5694 * files.el (hack-local-variables-confirm): Use it.
5695
1fa280a3
LM
5696 * custom.el (load-theme): New arg NO-CONFIRM.
5697 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5698 (custom-enabled-themes): Doc fix.
5699
5700 * cus-theme.el (customize-create-theme)
5701 (custom-theme-merge-theme): Callers to load-theme changed.
5702
bb617717
LMI
57032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5704
d61bdd5d
LMI
5705 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5706 short URLs have at least one dot in them (bug #7614).
5707
bb617717
LMI
5708 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5709 nil, because using a pty is apparently too slow (bug #895).
5710
2f31f37a
LMI
57112011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712
5713 * mail/sendmail.el (sendmail-query-once): New function.
5714 (sendmail-query-once-function): New variable.
5715
3076b24e
GM
57162011-06-29 Glenn Morris <rgm@gnu.org>
5717
faf2a174
GM
5718 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5719
3076b24e
GM
5720 * ses.el (top-level): Require cl when compiling.
5721 (ses-set-localvars): Fix error statement.
5722 Call it at compile time to silence a storm of warnings.
5723
5386012d
MR
57242011-06-29 Martin Rudalics <rudalics@gmx.at>
5725
5726 * window.el (normalize-live-buffer): Rename to
5727 window-normalize-buffer.
5728 (normalize-live-frame): Rename to window-normalize-frame.
5729 (normalize-any-window): Rename to window-normalize-any-window.
5730 (normalize-live-window): Rename to window-normalize-live-window.
5731 (make-window-atom): Rename to window-make-atom.
5732 (window-resize-reset): Rename to window--resize-reset.
5733 (window-resize-reset-1): Rename to window--resize-reset-1.
5734 (resize-mini-window): Rename to window--resize-mini-window.
5735 (resize-subwindows-skip-p): Rename to
5736 window--resize-subwindows-skip-p.
5737 (resize-subwindows-normal): Rename to
5738 window--resize-subwindows-normal.
5739 (resize-subwindows): Rename to window--resize-subwindows.
5740 (resize-other-windows): Rename to window--resize-siblings.
5741 (resize-this-window): Rename to window--resize-this-window.
5742 (resize-root-window): Rename to window--resize-root-window.
5743 (resize-root-window-vertically): Rename to
5744 window--resize-root-window-vertically.
5745 (normalize-buffer-to-display): Rename to
5746 window-normalize-buffer-to-display.
5747 (normalize-buffer-to-switch-to): Rename to
5748 window-normalize-buffer-to-switch-to.
5749 Correspondingly update all callers of the functions listed
5750 above.
5751 (display-buffer-alist, display-buffer-normalize-arguments)
5752 (display-buffer-normalize-options, display-buffer)
5753 (display-buffer-alist-set): Use "function" instead of
5754 "fun-with-args".
5755
1176868d
CY
57562011-06-28 Chong Yidong <cyd@stupidchicken.com>
5757
5758 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5759 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5760 debbugs.gnu.org. Mention acknowledgment email.
5761
20a7a65f
LMI
57622011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5763
5764 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5765 buffer multibyteness, since it shouldn't matter.
5766
5f45cca5
MR
57672011-06-28 Martin Rudalics <rudalics@gmx.at>
5768
5769 * window.el (display-buffer-in-side-window): Handle dedicated
5770 windows as in display-buffer-reuse-window.
5771 (display-buffer-normalize-alist): Use value of override
5772 specifier.
5773 (display-buffer-normalize-specifiers): Use value of
5774 other-window-means-other-frame specifier.
5775 (display-buffer-alist): Rewrite some texts in widgets.
5776 (display-buffer): Spread arguments when calling function
5777 specified by fun-with-args.
5778
ad85fe1f
DD
57792011-06-28 Deniz Dogan <deniz@dogan.se>
5780
1fa280a3
LM
5781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5782 Unnest `let'.
da68c4c8 5783
ad85fe1f
DD
5784 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5785 selectors (Bug#5732).
ec49bd31 5786 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5787
a08cc025
JA
57882011-06-27 Jari Aalto <jari.aalto@cante.net>
5789
5790 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5791 (eshell-ls-date-format): New defcustom.
5792 (eshell-ls-file): Use it.
5793
e2b551c5
SM
57942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5797
8982b231
KY
57982011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5799
5800 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5801 (ange-ftp-make-tmp-name): New arg.
5802 (ange-ftp-file-local-copy): Use it.
5803
36c9fa27
J
58042011-06-27 Jambunathan K <kjambunathan@gmail.com>
5805
5806 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5807 no-conversion (Bug#8870).
5808
d68443dc
MR
58092011-06-27 Martin Rudalics <rudalics@gmx.at>
5810
5811 * window.el (window-right, window-left, window-child)
5812 (window-child-count, window-last-child)
5813 (window-iso-combination-p, walk-window-tree-1)
5814 (window-atom-check-1, window-tree-1, delete-window)
5815 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5816 new naming conventions - window-vchild, window-hchild,
5817 window-next and window-prev are now called window-top-child,
5818 window-left-child, window-next-sibling and window-prev-sibling
5819 respectively.
d615d6d2
MR
5820 (resize-window-reset): Rename to window-resize-reset.
5821 (resize-window-reset-1): Rename to window-resize-reset-1.
5822 (resize-window): Rename to window-resize.
5823 (window-min-height, window-min-width)
5824 (resize-mini-window, resize-this-window, resize-root-window)
5825 (resize-root-window-vertically, adjust-window-trailing-edge)
5826 (enlarge-window, shrink-window, maximize-window)
5827 (minimize-window, delete-window, quit-restore-window)
5828 (split-window, balance-windows, balance-windows-area-adjust)
5829 (balance-windows-area, window-state-put-2)
5830 (display-buffer-even-window-sizes, display-buffer-set-height)
5831 (display-buffer-set-width, set-window-text-height)
5832 (fit-window-to-buffer): Rename all "resize-window" prefixed
5833 calls to use the "window-resize" prefix convention.
5834 (display-buffer-alist): Fix symbol for label specifier.
5835 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5836 corresponding specifier.
5837 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5838
b6458526
VB
58392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5840
5841 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5842 convention.
5843 (ses-call-printer): Does not pass an empty string to formatter when the
5844 cell is empty to keep from barking printer Calc math-format-value.
5845
d31fd9ac
RS
58462011-06-27 Richard Stallman <rms@gnu.org>
5847
43d5bf84
RS
5848 * battery.el (battery-mode-line-limit): New variable.
5849 (battery-update): Handle it.
5850
d31fd9ac
RS
5851 * mail/rmailmm.el (rmail-mime-process-multipart):
5852 Handle truncated messages.
5853
819a6054
GM
58542011-06-27 Glenn Morris <rgm@gnu.org>
5855
5856 * progmodes/flymake.el (flymake-err-line-patterns):
5857 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5858
cedc73f2
VB
58592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5860
819a6054 5861 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5862 (ses--clean-!, ses--clean-_): New functions.
5863 (ses-range): Add configurability of readout order, and conversion
5864 to Calc vector.
5865
5e5d49b6
VB
5866 * ses.el (ses-repair-cell-reference-all): New function.
5867 (ses-cell-symbol): Set macro as safe, so that it can be used in
5868 formulas.
5869
56e6cc31 5870 * ses.el: Update cycle detection algorithm.
90ca8b49 5871 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5872 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5873 (ses-set-localvars): New function.
5874 (ses-make-cell): Add property-list as a cell element.
5875 (ses-cell-property-get-fun, ses-cell-property-get)
5876 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5877 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5878 New functions.
90ca8b49
VB
5879 (ses-cell-property-set, ses-cell-property-pop)
5880 (ses-cell-property-get-handle): New macro.
5881 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5882 New aliases, used for code readability.
5883 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5884 cycle detection.
5885 (ses-self-reference-early-detection): New defcustom.
fac916bf 5886 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5887 (ses-mode): Use ses-set-localvars.
5888 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5889 before lauching the update processing.
5890 (ses-initialize-Dijkstra-attempt): New function.
5891 (ses-recalculate-cell): Update for cycle detection based on
5892 Dijkstra algorithm.
5893
2bb63e81
VB
5894 * ses.el: Fix commenting and indenting convention.
5895
c9d29fb8
SM
58962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * bs.el (bs-cycle-next): Complete last change.
5899
d8e4b68b
JB
59002011-06-27 Drew Adams <drew.adams@oracle.com>
5901
5902 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5903
40098786
LMI
59042011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5905
c9d29fb8
SM
5906 * net/network-stream.el (network-stream-open-starttls):
5907 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5908 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5909
40098786
LMI
5910 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5911 to binary to possibly avoid line encoding issues on Windows (among
5912 other things).
5913
468d09d4
LMI
59142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5915
5916 * net/network-stream.el (open-network-stream): Return an :error
5917 saying what the problem was, if possible.
5918
5919 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5920 server.
5921
5922 * net/network-stream.el (network-stream-open-starttls): If we
5923 wanted to use STARTTLS, and the server offered it, but we weren't
5924 able to because we had no STARTTLS support, then close the connection.
5925 (open-network-stream): Return an :error element, if present.
5926
16f07dd7
CY
59272011-06-26 Chong Yidong <cyd@stupidchicken.com>
5928
88821ca0
CY
5929 * hl-line.el (hl-line-sticky-flag): Doc fix.
5930 (global-hl-line-sticky-flag): New option (Bug#8323).
5931 (global-hl-line-highlight): Obey it.
5932
16f07dd7
CY
5933 * vc/vc.el (vc-revert-show-diff): Default to t.
5934
6b5ccddf
KM
59352011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5936
c9d29fb8
SM
5937 * allout-widgets.el (allout-widgets-post-command-business):
5938 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5939 undecorated when an isearch is continued past, and isearch
5940 automatically collapses them. This leads to "widget leaks", where
5941 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5942 hidden widgets can slow down cursor travel, substantially.
5943 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5944 so we're doing without this nicety.
5945
5946 (allout-widgets-tally-string): Don't try to do a hash-table-count
5947 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5948 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5949 *Messages* when allout-widgets-maintain-tally is t.
5950
355f2e07
MR
59512011-06-26 Martin Rudalics <rudalics@gmx.at>
5952
5953 * window.el (display-buffer-normalize-argument): Rename to
5954 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5955 LABEL argument. Respect special-display-function when popping up
5956 a new frame. Fix code searching for a window showing the buffer
5957 on another frame.
c9d29fb8
SM
5958 (display-buffer-normalize-specifiers):
5959 Call display-buffer-normalize-arguments.
355f2e07
MR
5960 (display-buffer-in-window): Don't undedicate the window if its
5961 buffer remains the same.
5962 Reported by Drew Adams <drew.adams@oracle.com>.
5963 (display-buffer-alist): Add choice for same-window macro
5964 specfier.
5965 (display-buffer): Mention special meaning of LABEL argument in
5966 doc-string. Fix quoting. Don't pop up a new frame even as
5967 fallback.
5968
7ca8fc42
JB
59692011-06-26 Juanma Barranquero <lekktu@gmail.com>
5970
5971 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5972 avoid deleting the current window in some cases (bug#8911).
5973
bc312254
AS
59742011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5975
5976 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5977 (Bug#8934)
5978
2db18f3f
LMI
59792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5980
c9d29fb8
SM
5981 * net/network-stream.el (network-stream-open-starttls):
5982 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5983 (network-stream-open-tls): Ditto.
5984
6302e0d3
LL
59852011-06-26 Leo Liu <sdl.web@gmail.com>
5986
5987 * register.el (registerv): New struct.
5988 (registerv-make): New function.
c9d29fb8
SM
5989 (jump-to-register, describe-register-1, insert-register):
5990 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5991 struct. (Bug#8415)
5992
5fdd4046
CY
59932011-06-26 Chong Yidong <cyd@stupidchicken.com>
5994
2afef60a
CY
5995 * vc/vc.el (vc-revert-show-diff): New defcustom.
5996 (vc-diff-internal): New arg specifying diff buffer.
5997 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5998 reuse an existing *vc-diff* buffer (Bug#8927).
5999
5fdd4046
CY
6000 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6001
e93db24a
GM
60022011-06-26 Glenn Morris <rgm@gnu.org>
6003
6004 * progmodes/f90.el (f90-critical-indent): New option.
6005 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6006 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6007 (f90-mode): Doc fix.
6008 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6009 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6010 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6011 (f90-match-end): Handle block, critical.
6012
eefff499
GM
60132011-06-25 Glenn Morris <rgm@gnu.org>
6014
f6ba4cc9
GM
6015 * calendar/diary-lib.el (diary-included-files): Doc fix.
6016 (diary-include-files): New function, extracted from
6017 diary-include-other-diary-files and diary-mark-included-diary-files.
6018 (diary-include-other-diary-files, diary-mark-included-diary-files):
6019 Just call diary-include-files.
6020 (diary-mark-entries): Reset diary-included-files on first call.
6021
16712304
GM
6022 * calendar/diary-lib.el (diary-mark-entries)
6023 (diary-mark-included-diary-files):
6024 Visit included diary-files in temp buffers.
6025
5d8e0d43
GM
6026 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6027 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6028 (f90-start-block-re, f90-imenu-generic-expression)
6029 (f90-looking-at-program-block-start, f90-no-block-limit):
6030 Add support for submodules.
6031
ccf7a5d5
GM
6032 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6033 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6034
11fdef7d 60352011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6036
6037 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6038 buffer-file-type before setting its value, to avoid disastrous
eefff499 6039 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6040
74f53697
JB
60412011-06-25 Juanma Barranquero <lekktu@gmail.com>
6042
6043 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6044
6045 * ses.el (ses-unload-function):
6046 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6047
6048 * proced.el (proced-unload-function):
6049 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6050
18a4ce5e
AR
60512011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6052
6053 * server.el (server-create-window-system-frame): Add parameters arg.
6054 (server-process-filter): Doc fix. Handle frame-parameters.
6055
519d22cc
JB
60562011-06-25 Juanma Barranquero <lekktu@gmail.com>
6057
6058 Fix bug#8730, bug#8781.
6059
6060 * loadhist.el (unload--set-major-mode): New function.
6061 (unload-feature): Use it.
6062
6063 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6064 (python-unload-function): New function.
6065
c206f5b0
SM
60662011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6069
f9ad64f3
GS
60702011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6071
6072 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6073 the candidates list.
6074
7d0da90e
JB
60752011-06-24 Juanma Barranquero <lekktu@gmail.com>
6076
6077 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6078
14b4e83d
RS
60792011-06-23 Richard Stallman <rms@gnu.org>
6080
6081 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6082 (rmail-variables): Set next-error-move-function.
6083 (rmail-what-message): Take argument POS.
6084 (rmail-next-error-move): New function.
6085
273d2baf
SM
60862011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6089 messages for adjacent non-terminals.
6090
56c2cc9a
RS
60912011-06-23 Richard Stallman <rms@gnu.org>
6092
6093 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6094 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6095 (rmail-start-mail): Don't specify use of rmail-mail-return;
6096 that's done by mail-bury now.
6097 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6098
d59eb518
MA
60992011-06-23 Michael Albinus <michael.albinus@gmx.de>
6100
6101 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6102 SIZE is a number.
6103
02cfc6d6
MR
61042011-06-23 Martin Rudalics <rudalics@gmx.at>
6105
6106 * window.el (get-lru-window, get-mru-window)
6107 (get-largest-window): Never return a minibuffer window.
6108 (display-buffer-pop-up-window): Fix a bug that could lead to
6109 reusing the minibuffer window.
6110 (display-buffer): Pass original specifier argument to
6111 display-buffer-function instead of the normalized one.
6112 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6113
4e323265
LL
61142011-06-22 Leo Liu <sdl.web@gmail.com>
6115
6116 * minibuffer.el (completing-read-function)
6117 (completing-read-default): Move from minibuf.c
6118
7a70468f
RS
61192011-06-22 Richard Stallman <rms@gnu.org>
6120
50718fc2
RS
6121 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6122 to Rmail even if not started by a special Rmail command.
6123
7a70468f
RS
6124 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6125 Copy the buffer currently showing just one message.
6126
297dde5a
RW
61272011-06-22 Roland Winkler <winkler@gnu.org>
6128
6129 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6130 (bibtex-clean-entry): First delete the old key so that a
6131 customized algorithm for generating the new key does not get
6132 confused by the old key.
6133 (bibtex-url): Obey regexp of first step.
6134 (bibtex-search-entries): Do not use add-to-list with local
6135 list-var.
6136
97bb1093
LMI
61372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6138
6139 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6140 stored a user name, then query for the password first, instead of
6141 waiting for SMTP to give an error message and the trying again.
6142
1c0f1a19
JD
61432011-06-22 Lawrence Mitchell <wence@gmx.li>
6144
6145 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6146 BUFFER in call-process.
6147
396f7c9d
LMI
61482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6149
6150 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6151 QUIT twice.
ddb7ffee
LMI
6152 (smtpmail-try-auth-methods): Require user name and password from
6153 auth-source.
396f7c9d 6154
8998d1b3
MR
61552011-06-22 Martin Rudalics <rudalics@gmx.at>
6156
6157 * window.el (display-buffer-default-specifiers)
6158 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6159 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6160 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6161
6162 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6163 (special-display-frame-alist, special-display-popup-frame):
6164 Remove duplicate declarations. These are now in window.el.
6165
4ea31e07
LMI
61662011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6167
c9d29fb8
SM
6168 * mail/smtpmail.el (smtpmail-via-smtp):
6169 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6170 server supports it. SMTP servers that support STARTTLS commonly
6171 require it.
6172
6173 * net/network-stream.el (network-stream-open-starttls): Support
6174 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6175 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6176
95f41d9a
LMI
6177 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6178 upgrades with `open-network-stream', and rely solely on
6179 auth-source for all credentials. Big changes throughout the file,
6180 but in particular:
c9d29fb8
SM
6181 (smtpmail-auth-credentials): Remove.
6182 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6183 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6184 MAIL FROM, too.
95f41d9a 6185
c9d29fb8
SM
6186 * net/network-stream.el (network-stream-open-starttls):
6187 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6188 STARTTLS.
6189 (auth-source): Require.
6190 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6191 (network-stream-certificate): Change cert-cert to cert and
6192 cert-key to key.
4ea31e07 6193
065ec2c7
MA
61942011-06-21 Michael Albinus <michael.albinus@gmx.de>
6195
6196 * net/tramp-cache.el (top): Don't load the persistency file when
6197 "emacs -Q" has been called.
6198
cd93b359
DR
61992011-06-21 Tim Harper <timcharper@gmail.com>
6200
d8e4b68b
JB
6201 * term/ns-win.el (ns-initialize-window-system):
6202 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6203 resource to NO as it is not yet supported by the NS port.
6204
ae9c0411
JB
62052011-06-21 Juanma Barranquero <lekktu@gmail.com>
6206
6207 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6208 (list-dynamic-libraries): ...not here.
6209
7f3f739f
LL
62102011-06-21 Leo Liu <sdl.web@gmail.com>
6211
6212 * subr.el (sha1): Implement sha1 using secure-hash.
6213
327c8fb1
MR
62142011-06-21 Martin Rudalics <rudalics@gmx.at>
6215
6216 * window.el (display-buffer-alist): In default value do not
6217 enforce searching a window on any but the selected frame.
6218 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6219 (display-buffer-select-window): Remove function.
6220 (display-buffer-in-window): When a window on another frame gets
6221 reused, do not select it any more but just raise its frame if
6222 necessary (Bug#8851) and (Bug#8856).
6223 (display-buffer-normalize-options): Handle pop-up-frames related
6224 options more faithfully.
6225 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6226 window if it is on another frame.
c9d29fb8
SM
6227 (display-buffer-alist, display-buffer-default-specifiers):
6228 Don't make new frame unsplittable by default.
9e9de014
MR
6229 (display-buffer-normalize-argument): Fix doc-string typo and use
6230 'same-frame-other-window instead of 'other-window when associating
6231 with display-buffer-macro-specifiers.
327c8fb1 6232
7cf3f556
VB
62332011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6234
6235 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6236 New functions.
6237 (5x5-mode-map, 5x5-mode-menu): Bind them.
6238 (5x5-draw-grid): Tweak the solver's rendering.
6239
60a406cf
SM
62402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6243 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6244
d8e4b68b 62452011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6246
6247 * menu-bar.el: Use function variable instead of switch-to-buffer.
6248 (menu-bar-select-buffer-function): New variable.
60a406cf 6249 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6250
478d6f95
SM
62512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6254 variable's status.
6255
ca530739
JD
62562011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6257
6258 * x-dnd.el (x-dnd-version-from-flags)
6259 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6260 and long as number (Bug#8899).
6261 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6262
bcd70d97
SM
62632011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6264
60a406cf 6265 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6266 (completion-try-completion, completion-all-completions): Compute the
6267 metadata argument if it's missing; make it optional (bug#8795).
6268
60a406cf 6269 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6270 (widget-complete): Use new :completion-function property.
6271 (widget-completions-at-point): New function.
6272 (default): Use :completion-function instead of :complete.
60a406cf
SM
6273 (widget-default-completions): Rename from widget-default-complete;
6274 Rewrite.
bcd70d97
SM
6275 (widget-string-complete, widget-file-complete, widget-color-complete):
6276 Remove functions.
6277 (file, symbol, function, variable, coding-system, color):
6278 * international/mule-cmds.el (default-input-method, charset)
6279 (language-info-custom-alist):
6280 * cus-edit.el (face): Use new property :completions.
6281
6282 * progmodes/pascal.el (pascal-completions-at-point): New function.
6283 (pascal-mode): Use it.
6284 (pascal-mode-map): Use completion-at-point.
6285 (pascal-toggle-completions): Make obsolete.
6286 (pascal-complete-word, pascal-show-completions):
6287 * progmodes/octave-mod.el (octave-complete-symbol):
6288 Redefine as obsolete alias.
6289 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6290 Signal absence of completion info for old Octave,
6291 (inferior-octave-complete): Redefine as obsolete alias.
6292 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6293 (meta-completions-at-point): Rename from meta-complete-symbol and
6294 adapt it for use on completion-at-point-functions.
6295 (meta-common-mode): Use it.
6296 (meta-looking-at-backward, meta-match-buffer): Remove.
6297 (meta-complete-symbol): Redefine as obsolete alias.
6298 (meta-common-mode-map): Use completion-at-point.
6299 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6300 (makefile-mode-map): Use completion-at-point.
6301 (makefile-completions-at-point): Rename from makefile-complete and
6302 adapt it for use on completion-at-point-functions.
6303 (makefile-mode): Use it.
6304 (makefile-complete): Redefine as obsolete alias.
6305
aebf69c8
DD
63062011-06-20 Deniz Dogan <deniz@dogan.se>
6307
6308 * net/rcirc.el: Delete trailing whitespaces once and for all.
6309
bfbbb27d
DC
63102011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6311
6312 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6313
d264a46b
CY
63142011-06-19 Chong Yidong <cyd@stupidchicken.com>
6315
4ca009e5
CY
6316 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6317
d264a46b
CY
6318 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6319
fbf5b3ce
MR
63202011-06-19 Martin Rudalics <rudalics@gmx.at>
6321
6322 * window.el (display-buffer-other-window-means-other-frame):
6323 Call display-buffer-normalize-alist.
6324 (display-buffer-normalize-specifiers-1): Rename to
6325 display-buffer-normalize-argument. New argument other-frame.
6326 Rewrite.
6327 (display-buffer-normalize-specifiers-2): Rename to
6328 display-buffer-normalize-options.
6329 (display-buffer-normalize-alist-1): New function.
6330 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6331 display-buffer-normalize-alist.
6332 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6333 (display-buffer-normalize-options-inhibit): New variable.
6334 (display-buffer-normalize-specifiers): Rewrite calling
6335 display-buffer-normalize-alist,
6336 display-buffer-normalize-argument, and
6337 display-buffer-normalize-options. Don't call the latter if
6338 display-buffer-normalize-options-inhibit is non-nil.
6339 (frame-auto-delete): New option.
6340 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6341 (window-list-no-nils, window-state-ignored-parameters)
6342 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6343 (window-state-put-1, window-state-put-2, window-state-put):
6344 New functions.
9a028c23
MR
6345 (display-buffer-normalize-options): Move special-display-p group
6346 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6347
6d10d800
CY
63482011-06-18 Chong Yidong <cyd@stupidchicken.com>
6349
6420d28b
CY
6350 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6351 groups (Bug#8776).
6352 (rx-submatch-n): New function.
6353 (rx): Document it.
6354
ddb8b596
CY
6355 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6356 (Bug#8768).
6357
6358 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6359
77080289
CY
6360 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6361
61dfb316
CY
6362 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6363 anytime existing face settings are present (Bug#8889).
6364
6d10d800
CY
6365 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6366 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6367 Remove unused argument.
6368
be3fb2b8
MR
63692011-06-18 Martin Rudalics <rudalics@gmx.at>
6370
bcd70d97
SM
6371 * window.el (display-buffer-default-specifiers):
6372 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6373 pop-up-window-min-width, and another reuse-window specifier
6374 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6375 (display-buffer-normalize-specifiers-2):
6376 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6377 pop-up-windows is unset. Add a reuse-window specifier for the
6378 case popping up a new window fails.
6379 (special-display-popup-frame): Remove double quoting.
28dec25a 6380 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6381
1c6d8c76
SM
63822011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6383
6384 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6385 according to comint-completion-addsuffix.
6386
6387 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6388 (pcomplete-suffix-list): Mark as obsolete.
6389 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6390 pcomplete-seen in the closure.
6391 (pcomplete-comint-setup): Setup completion-at-point as well.
6392 (pcomplete--entries): New function.
6393 (pcomplete--env-regexp): New var.
6394 (pcomplete-entries): Rewrite to work with partial-completion and
6395 without relying on pcomplete-suffix-list.
6396 (pcomplete-pare-list): Remove, unused.
6397
25aef8b8
MR
63982011-06-17 Martin Rudalics <rudalics@gmx.at>
6399
6400 * window.el (display-buffer-alist): Set pop-up-window-min-height
6401 and pop-up-window-min-width in default value. Reported by
6402 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6403 other-window-means-other-frame.
6404 (display-buffer-macro-specifiers): Comment out entry for
6405 other-window specifier.
6406 (display-buffer-other-window-means-other-frame): New function.
6407 (display-buffer-normalize-specifiers-1): New arguments
6408 buffer-name and label. Treat other-window case specially.
6409 (display-buffer-normalize-specifiers-2): Treat other-window case
6410 specially.
6411 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6412 (display-buffer-normalize-specifiers):
6413 Call display-buffer-normalize-specifiers-3.
25aef8b8 6414
dbad4f69
MR
64152011-06-17 Martin Rudalics <rudalics@gmx.at>
6416
6417 * window.el (same-window-p): Fix two typos introduced when
6418 adding with-no-warnings.
d1067961
MR
6419 (display-buffer-normalize-specifiers-1): Don't check
6420 pop-up-frames for 'unset initialization.
6421 (display-buffer-normalize-specifiers-2): Major rewrite using
6422 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6423 (pop-up-frames, display-buffer-reuse-frames)
6424 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6425 Suggested by David Engster <deng@randomsample.de>.
6426 (even-window-heights): Initialize to 'unset.
6427 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6428 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6429 other window case.
dbad4f69 6430
9b9c9e3a
MR
64312011-06-16 Martin Rudalics <rudalics@gmx.at>
6432
bcd70d97
SM
6433 * window.el (display-buffer-normalize-specifiers-1):
6434 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6435 second argument of display-buffer (Bug#8865).
981d5c09
MR
6436 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6437 (switch-to-buffer-other-window-same-frame)
6438 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6439 Adams (Bug#8875).
9c2755e9
MR
6440 (display-buffer): Don't check noninteractive when calling
6441 display-buffer-pop-up-frame.
6442 (display-buffer-pop-up-frame): Never pop up a frame in
6443 noninteractive mode (Bug#8857).
67222e1d
MR
6444 (enlarge-window, shrink-window): Don't report an error when the
6445 window can't be resized as requested (Bug#8862).
9b9c9e3a 6446
2b75be67
SM
64472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6448
9ffdd3ba
SM
6449 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6450
cb581a67
SM
6451 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6452
2b75be67
SM
6453 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6454
8c0e3589
AM
64552011-06-15 Alan Mackenzie <acm@muc.de>
6456
cb581a67
SM
6457 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6458 for declarators, disable knr checking to speed up for normal files.
6459 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6460
b96e6cde
LMI
64612011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6462
4bba86e6
LMI
6463 * net/network-stream.el (open-network-stream): Add the keyword
6464 :always-query-capabilities for the case where you want to force a
6465 `plain' network connection, but the protocol still requires the
6466 capabilitiy command (i.e., SMTP and EHLO).
6467
2b75be67 6468 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6469 consistency with other `-live-p' functions.
6470
efdcdbf8
SM
64712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * window.el (same-window-buffer-names, same-window-regexps)
6474 (special-display-frame-alist, special-display-popup-frame)
6475 (special-display-function, special-display-buffer-names)
6476 (special-display-regexps, pop-up-frame-alist)
6477 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6478 (pop-up-windows, split-window-preferred-function)
6479 (split-height-threshold, split-width-threshold, even-window-heights)
6480 (display-buffer-mark-dedicated): Don't encourage the use of
6481 display-buffer-alist from Elisp code.
6482
c5cde042
DN
64832011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6484
6485 * progmodes/python.el (python-mode): Derive from prog-mode.
6486 * progmodes/ps-mode.el (ps-mode):
6487 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6488 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6489 * progmodes/ld-script.el (ld-script-mode): Likewise.
6490
baa1c9ab
MR
64912011-06-15 Martin Rudalics <rudalics@gmx.at>
6492
6493 * window.el (display-buffer-alist): Trim default value to avoid
6494 popping up a new frame (Bug#8857) or reusing an arbitrary window
6495 on another frame.
6496 (display-buffer): Do not fall back on popping up a new frame in
6497 batch mode (Bug#8857).
6498
c5dd5a51
CY
64992011-06-14 Chong Yidong <cyd@stupidchicken.com>
6500
6501 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6502 (custom-theme-summary): New function.
6503 (customize-themes): Use it.
6504
d647b7c4
GM
65052011-06-13 Glenn Morris <rgm@gnu.org>
6506
6507 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6508
9481c002
MR
65092011-06-13 Martin Rudalics <rudalics@gmx.at>
6510
357f93d2
MR
6511 * help.el (help-window): Remove variable.
6512 (help-window-point-marker, temp-buffer-max-height)
6513 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6514 (help-print-return-message): Don't set help-window.
6515 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6516 (help-window-setup-finish): Remove.
6517 (help-window-display-message, help-window-setup)
6518 (with-help-window): Major rewrite based on new
6519 display-buffer-window variable.
6520
6521 * help-mode.el (help-mode-finish): Remove help-window related
6522 code.
6523
6524 * view.el (view-exits-all-viewing-windows): Remove reference to
6525 view-return-to-alist in doc-string.
6526 (view-return-to-alist): Make obsolete.
6527 (view-buffer): Call pop-to-buffer-same-window and remove
6528 undo-window code.
6529 (view-buffer-other-window): Call pop-to-buffer-other-window and
6530 simplify code. Ignore second argument.
6531 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6532 simplify code. Ignore second argument.
6533 (view-return-to-alist-update): Make obsolete.
6534 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6535 Rewrite using quit-restore window parameters.
2b75be67
SM
6536 (view-mode-exit): Rename second argument to EXIT-ONLY.
6537 Rewrite using quit-restore-window.
357f93d2
MR
6538 (View-exit, View-exit-and-edit, View-leave, View-quit)
6539 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6540 appropriate arguments.
6541 (view-end-message): Use quit-restore window parameter.
6542
9481c002
MR
6543 * window.el (display-buffer-function): Rewrite doc-string.
6544 (display-buffer-window, display-buffer-alist): New variables.
6545 (display-buffer-split-specifiers)
6546 (display-buffer-side-specifiers)
6547 (display-buffer-macro-specifiers): New constants.
6548 (display-buffer-even-window-sizes, display-buffer-set-height)
6549 (display-buffer-set-width, display-buffer-select-window)
6550 (display-buffer-in-window, display-buffer-reuse-window)
6551 (display-buffer-split-window-1, display-buffer-split-window)
6552 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6553 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6554 (display-buffer-in-side-window, normalize-buffer-to-display)
6555 (display-buffer-normalize-specifiers-1)
6556 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6557 (display-buffer-normalize-specifiers, display-buffer-frame):
6558 New functions.
9481c002
MR
6559 (display-buffer): Major rewrite.
6560 (display-buffer-other-window, display-buffer-other-frame)
6561 (pop-to-buffer, switch-to-buffer-other-window)
6562 (switch-to-buffer-other-frame): Rewrite.
6563 (display-buffer-same-window, display-buffer-same-frame)
6564 (display-buffer-same-frame-other-window)
6565 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6566 (pop-to-buffer-other-window)
6567 (pop-to-buffer-same-frame-other-window)
6568 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6569 (switch-to-buffer-other-window-same-frame): New functions.
6570 (same-window-p, special-display-p): Rewrite disabling warnings.
6571 Make obsolete.
6572 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6573 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6574 Make obsolete
6575 (same-window-buffer-names, same-window-regexps)
6576 (special-display-frame-alist, special-display-popup-frame)
6577 (special-display-function, special-display-buffer-names)
6578 (special-display-regexps, pop-up-frame-alist)
6579 (pop-up-frame-function, split-window-preferred-function)
6580 (split-height-threshold, split-width-threshold)
6581 (even-window-heights): Make obsolete.
6582
9db51aca
GM
65832011-06-12 Glenn Morris <rgm@gnu.org>
6584
6585 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6586 Misc simplifications.
9db51aca 6587
39cffb44
MR
65882011-06-12 Martin Rudalics <rudalics@gmx.at>
6589
6590 * window.el (window-safely-shrinkable-p): Restore function which
6591 was inadvertently removed in change from 2011-06-11. Declare as
6592 obsolete.
6593
2b75be67
SM
6594 * calendar/calendar.el (calendar-generate-window):
6595 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6596 window-safely-shrinkable-p.
6597
a8955be7
GM
65982011-06-12 Glenn Morris <rgm@gnu.org>
6599
6600 * progmodes/fortran.el (fortran-mode-syntax-table):
6601 * progmodes/f90.el (f90-mode-syntax-table):
6602 Set % to punctuation. (Bug#8820)
6603 (f90-find-tag-default): Remove, no longer needed.
6604
f0d4059d
DC
66052011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6606
6607 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6608
1100a63c
CY
66092011-06-11 Chong Yidong <cyd@stupidchicken.com>
6610
6611 * image.el (image-animated-p): Return animation delay in seconds.
6612 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6613 (image-animate-timeout): Remove DELAY argument. Don't assume
6614 every subimage has the same delay; get it from image-animated-p.
6615 (image-animate): Caller changed.
6616
def722bf
MA
66172011-06-11 Michael Albinus <michael.albinus@gmx.de>
6618
6619 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6620 to ignored backtrace functions.
6621
0a2bb1a9
GM
66222011-06-11 Glenn Morris <rgm@gnu.org>
6623
6624 * calendar/appt.el (appt-disp-window-function): Doc fix.
6625 (appt-check): Handle overlapping appointments. (Bug#8337)
6626
6198ccd0
MR
66272011-06-11 Martin Rudalics <rudalics@gmx.at>
6628
6629 * window.el (window-tree-1, window-tree): New functions, moving
6630 the latter to window.el.
6631 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6632 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6633 (bw-refresh-edges): Remove.
6634 (balance-windows-1, balance-windows-2): New functions.
6635 (balance-windows): Rewrite in terms of window tree functions,
6636 balance-windows-1 and balance-windows-2.
6637 (bw-adjust-window): Remove.
6638 (balance-windows-area-adjust): New function with functionality of
6639 bw-adjust-window but using resize-window.
2b75be67
SM
6640 (set-window-text-height): Rewrite doc-string.
6641 Use normalize-live-window and resize-window.
6642 (enlarge-window-horizontally, shrink-window-horizontally):
6643 Rename argument to DELTA.
6198ccd0
MR
6644 (window-buffer-height): New function.
6645 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6646 Rewrite using new window resize routines.
2b75be67
SM
6647 (kill-buffer-and-window, mouse-autoselect-window-select):
6648 Use ignore-errors instead of condition-case.
6198ccd0
MR
6649 (quit-window): Call delete-frame instead of delete-windows-on
6650 for the only buffer on frame.
6651
9397e56f
MR
66522011-06-10 Martin Rudalics <rudalics@gmx.at>
6653
6654 * loadup.el (top-level): Load window before files for the sake
6655 of replace-buffer-in-windows.
6656
6657 * files.el (read-buffer-to-switch)
6658 (switch-to-buffer-other-window)
2b75be67
SM
6659 (switch-to-buffer-other-frame, display-buffer-other-frame):
6660 Move to window.el.
9397e56f
MR
6661
6662 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6663 (previous-buffer): Move to window.el.
6664
6665 * bindings.el (unbury-buffer): Move to window.el.
6666
6667 * window.el (delete-other-windows-vertically): Move after
6668 definition of delete-other-windows.
6669 (other-window, delete-windows-on, replace-buffer-in-windows):
6670 Move here from window.c.
6671 (record-window-buffer, unrecord-window-buffer)
6672 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6673 (switch-to-next-buffer): New functions.
6674 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6675 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6676 (previous-buffer): Move here from simple.el.
6677 Call switch-to-prev-buffer.
9397e56f
MR
6678 (bury-buffer): Move here from buffer.c. Switch to previous
6679 buffer when window cannot be deleted.
6680 (unbury-buffer): Move here from bindings.el.
6681 (ctl-x-map): Move binding for other-window from window.c to
6682 here.
6683 (read-buffer-to-switch, switch-to-buffer-other-window)
6684 (switch-to-buffer-other-frame): Move here from files.el.
6685 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6686 (switch-to-buffer): Move here from buffer.c.
6687 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6688
562dd5e9
MR
66892011-06-10 Martin Rudalics <rudalics@gmx.at>
6690
6691 * window.el (window-min-height, window-min-width): Move here
6692 from window.c. Add defcustoms and rewrite doc-strings.
6693 (resize-mini-window, resize-window): New functions.
6694 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6695 Move here from window.c.
6696 (maximize-window, minimize-window): New functions.
6697 (delete-window, delete-other-windows, split-window): Move here
6698 from window.c.
6699 (window-split-min-size): New function.
6700 (split-window-keep-point): Mention split-window-above-each-other
6701 instead of split-window-vertically.
2b75be67 6702 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6703 Rename split-window-vertically to split-window-above-each-other
6704 and provide defalias for old definition.
6705 (split-window-side-by-side, split-window-horizontally):
6706 Rename split-window-horizontally to split-window-side-by-side
6707 and provide defalias for the old definition.
562dd5e9
MR
6708 (ctl-x-map): Move bindings for delete-window,
6709 delete-other-windows and enlarge-window here from window.c.
6710 Replace bindings for split-window-vertically and
6711 split-window-horizontally by bindings for
6712 split-window-above-each-other and split-window-side-by-side.
6713
6714 * cus-start.el (all): Remove entries for window-min-height and
6715 window-min-width. Add entries for window-splits and
6716 window-nest.
6717
f0da764a
GM
67182011-06-09 Glenn Morris <rgm@gnu.org>
6719
80675c21
GM
6720 * calendar/appt.el (appt-mode-line): New function.
6721 (appt-check, appt-disp-window): Use it.
6722
f0da764a
GM
6723 * files.el (hack-one-local-variable-eval-safep):
6724 Allow minor-modes with explicit +/-1 arguments.
6725
59f623b7
TZ
67262011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6727
6728 * term/xterm.el (xterm): Add defgroup.
6729 (xterm-extra-capabilities): Add defcustom to supply known xterm
6730 capabilities, skip querying them, or query them (default).
6731 (terminal-init-xterm): Use it.
6732 (terminal-init-xterm-modify-other-keys): New function to set up
6733 modifyOtherKeys support to simplify `terminal-init-xterm'.
6734
9aab8e0d
MR
67352011-06-09 Martin Rudalics <rudalics@gmx.at>
6736
6737 * window.el (resize-window-reset, resize-window-reset-1)
6738 (resize-subwindows-skip-p, resize-subwindows-normal)
6739 (resize-subwindows, resize-other-windows, resize-this-window)
6740 (resize-root-window, resize-root-window-vertically)
6741 (window-deletable-p, window-or-subwindow-p)
6742 (frame-root-window-p): New functions.
6743
e8b08aee
GM
67442011-06-09 Glenn Morris <rgm@gnu.org>
6745
6746 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6747 (ange-ftp-get-files): Use it.
6748
254c37a5
AK
67492011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6750
6751 * mail/sendmail.el (mail-recover-1, mail-recover):
6752 * files.el (recover-file, recover-session):
6753 Handle dired-listing-switches not being just a single short option.
6754
35d7dbd3
GM
67552011-06-09 Glenn Morris <rgm@gnu.org>
6756
6757 * calendar/appt.el (appt-display-message, appt-disp-window):
6758 Handle lists of appointments.
6759
387522b2
MR
67602011-06-08 Martin Rudalics <rudalics@gmx.at>
6761
2b75be67
SM
6762 * window.el (one-window-p): Move down in code.
6763 Rewrite doc-string.
6764 (window-current-scroll-bars): Rewrite doc-string.
6765 Normalize live window argument.
387522b2
MR
6766 (walk-windows, get-window-with-predicate, count-windows):
6767 Rewrite doc-string. Use window-list-1.
6768 (window-in-direction-2, window-in-direction, get-mru-window):
6769 New functions.
6770
d8e4b68b 67712011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6772
6773 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6774 Doc fix (Bug#8713).
6775
67762011-06-08 Chong Yidong <cyd@stupidchicken.com>
6777
6778 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6779
67802011-06-08 Juanma Barranquero <lekktu@gmail.com>
6781
6782 * loadhist.el (unload-feature-special-hooks):
6783 Add `comint-output-filter-functions'.
6784
0de12c52
IK
67852011-06-08 Ivan Kanis <gnu@kanis.fr>
6786
6787 * calendar/appt.el (appt-check): Move some initializations into the let.
6788
f3d1777e
MR
67892011-06-08 Martin Rudalics <rudalics@gmx.at>
6790
6791 * window.el (window-height): Defalias to window-total-height.
6792 (window-width): Defalias to window-body-width.
6793
18af70d0
CY
67942011-06-07 Chong Yidong <cyd@stupidchicken.com>
6795
6796 * image-mode.el (image-toggle-animation): New command.
6797 (image-mode-map): Bind it to RET.
6798 (image-mode): Update message.
6799 (image-toggle-display-image): Avoid a spurious cache flush.
6800 (image-transform-rotation): Doc fix.
6801 (image-transform-properties): Return quickly in the normal case.
6802 (image-animate-loop): Rename from image-animate-max-time.
6803
2b75be67 6804 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6805 (create-animated-image): Remove unnecessary function.
6806 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6807 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6808 (image-animate-timer): Use car-safe.
6809 (image-animate-timeout): Rename argument.
6810
190b47e6
MR
68112011-06-07 Martin Rudalics <rudalics@gmx.at>
6812
6813 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6814 window.c. Rename first argument to ALL-FRAMES.
6815 Rephrase doc-strings.
6816 (get-buffer-window-list): Rewrite using window-list-1.
6817 Rephrase doc-string.
a1511caf
MR
6818 (window-safe-min-height, window-safe-min-width): New constants.
6819 (window-size-ignore, window-min-size, window-min-size-1)
6820 (window-sizable, window-sizable-p, window-size-fixed-1)
6821 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6822 (window-max-delta-1, window-max-delta, window-resizable)
6823 (window-resizable-p, window-total-height, window-total-width)
6824 (window-body-width): New functions.
6825 (window-full-height-p, window-full-width-p): Rewrite using
6826 window-total-size.
6827 (window-body-height): Rewrite using window-body-size.
190b47e6 6828
85cc1f11
MR
68292011-06-06 Martin Rudalics <rudalics@gmx.at>
6830
6831 * window.el (window-right, window-left, window-child)
6832 (window-child-count, window-last-child, window-any-p)
6833 (normalize-live-buffer, normalize-live-frame)
6834 (normalize-any-window, normalize-live-window)
6835 (window-iso-combination-p, window-iso-combined-p)
6836 (window-iso-combinations)
6837 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6838 (windows-with-parameter, window-with-parameter)
6839 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6840 (window-atom-check, window-side-check, window-check):
6841 New functions.
85cc1f11
MR
6842 (ignore-window-parameters, window-sides, window-sides-vertical)
6843 (window-sides-slots): New variables.
6844 (window-size-fixed): Move down in code. Minor doc-string fix.
6845
e7156492
AS
68462011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6847
6848 * comint.el (comint-dynamic-complete-as-filename)
6849 (comint-dynamic-complete-filename): Correctly call
6850 completion-in-region.
6851
7e821d0d
DD
68522011-06-05 Deniz Dogan <deniz@dogan.se>
6853
6854 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6855 in last change.
6856
ac09b8a1
DD
68572011-06-05 Deniz Dogan <deniz@dogan.se>
6858
6859 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6860 (rcirc): Use it to prompt for encryption.
6861
34699b85
RW
68622011-06-05 Roland Winkler <winkler@gnu.org>
6863
6864 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6865 (bibtex-search-entries): New command bound to C-c C-a.
6866 (bibtex-display-entries): New function.
6867
004dedd3
RW
68682011-06-05 Roland Winkler <winkler@gnu.org>
6869
6870 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6871 (bibtex-insert-kill): After yanking insert newline if necessary.
6872 (bibtex-initialize): Call bibtex-string-files-init only once.
6873 (bibtex-mode): Do not call easy-menu-add.
6874 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6875 (bibtex-yank): Set arg properly if nil.
6876
022fe7ce
RW
68772011-06-05 Roland Winkler <winkler@gnu.org>
6878
2b75be67
SM
6879 * textmodes/bibtex.el (bibtex-search-entry-globally):
6880 New variable.
022fe7ce
RW
6881 (bibtex-search-entry): Use it.
6882
b7c3692a
RW
68832011-06-05 Roland Winkler <winkler@gnu.org>
6884
6885 * textmodes/bibtex.el (bibtex-entry-format): New option
6886 sort-fields.
6887 (bibtex-format-entry, bibtex-reformat): Honor this option.
6888 (bibtex-parse-entry): Return fields in proper order.
6889
8eda563d
JB
68902011-06-05 Juanma Barranquero <lekktu@gmail.com>
6891
6892 * doc-view.el (doc-view-remove-if): Move computation of result out
6893 of `dolist' to silence misleading lexical-binding warning.
6894
7dbe3dbc
CY
68952011-06-04 Chong Yidong <cyd@stupidchicken.com>
6896
6897 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6898 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6899
0c33dd17
MA
69002011-06-04 Michael Albinus <michael.albinus@gmx.de>
6901
6902 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6903 "SunOS 5.10".
6904
f8f91c2b
MA
69052011-06-04 Michael Albinus <michael.albinus@gmx.de>
6906
6907 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6908 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6909 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6910 (tramp-parse-putty):
6911 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6912 (tramp-completion-function-alist-ssh)
6913 (tramp-completion-function-alist-telnet)
6914 (tramp-completion-function-alist-su)
6915 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6916 cookie.
6917
6918 * net/tramp-ftp.el:
6919 * net/tramp-sh.el:
6920 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6921 load "tramp.el" `tramp-set-completion-function'.
6922
e17d9003
SM
69232011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6924
6925 * shell.el: Require and use pcomplete.
6926 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6927 (shell-completion-vars): Set pcomplete-default-completion-function.
6928
6c4cab03
DD
69292011-06-04 Deniz Dogan <deniz@dogan.se>
6930
6931 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6932 `memq' (Bug#8799).
6933
ea9fafe0
SM
69342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6937
b3e945d3
JB
69382011-06-02 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6941 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6942 * vc/log-view.el (log-view-beginning-of-defun):
6943 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6944 (smerge-refine-forward, smerge-refine-chopup-region):
6945 Silence warning for unused `dotimes' counter variables.
6946
7d520089
SM
69472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * net/tramp.el (tramp-with-progress-reporter): Rename from
6950 with-progress-reporter. Use `declare'.
6951 * net/tramp-smb.el:
6952 * net/tramp-sh.el:
6953 * net/tramp-gvfs.el: Update all uses.
6954
a1c2400f
JB
69552011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6956
6957 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6958 buffer isn't killed before making it current.
6959
2403c841
SM
69602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 Silence various byte-compiler warnings.
6963 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6964 `access-type' and new obsolescence format.
6965 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6966 new format.
6967 (byte-compile-check-variable): New `access-type' argument.
6968 Only warn if the access-type is obsolete.
6969 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6970 (byte-compile-variable-set): Adjust callers.
6971 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6972 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6973 setting it as obsolete.
6974 * simple.el (minibuffer-completing-symbol):
6975 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6976 access as obsolete.
6977 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6978 obsolete yet.
6979 * international/quail.el (quail-mouse-choose-completion): Remove unused
6980 code referring to obsolete var.
6981 (quail-choose-completion-string): Remove.
6982 * server.el (server-clients-with, server-kill-buffer-query-function)
6983 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6984 * proced.el (proced-send-signal):
6985 * emacs-lisp/lisp.el (lisp-complete-symbol):
6986 Replace completion-annotate-function with completion-extra-properties.
6987
2462470b
SM
69882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6989
fb5b2591
SM
6990 * simple.el (goto-line): Use read-number.
6991 (overriding-map-is-bound): Remove.
6992 (saved-overriding-map): Change default.
6993 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6994 Take the map as argument.
6995 (universal-argument, negative-argument, digit-argument): Use it.
6996 (restore-overriding-map): Adjust.
6997 (do-auto-fill): Use fill-forward-paragraph.
6998 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6999
fd6fa53f
SM
7000 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7001 (minibuffer-inactive-mode): New major mode.
7002 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7003 the *Messages* buffer" hack.
7004 (mouse-popup-menubar): Don't burp if the event is a normal key.
7005
2462470b
SM
7006 Miscellaneous tweaks.
7007 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7008 lexical scoping as in subr.el's dolist and dotimes.
7009 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7010 Silence compiler warning.
7011 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7012 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7013 * international/ccl.el (ccl-compile): Trivial simplification.
7014 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7015 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7016 `printflag' argument.
7017 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7018 Purecopy the whole obsolescence data.
7019
108bf785
LL
70202011-06-01 Leo Liu <sdl.web@gmail.com>
7021
7022 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7023 improve doc-string as suggested by Marco Pessotto
7024 <melmothx@gmail.com>.
7025 (rcirc-print): Fix last change.
7026
30a23501
SM
70272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * minibuffer.el (complete-with-action): Return nil for the metadata and
7030 boundaries of non-functional tables.
7031 (completion-table-dynamic): Return nil for the metadata.
7032 (completion-table-with-terminator): Add default case, using
7033 complete-with-action.
7034 (completion--metadata): New function.
7035 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7036 to try and avoid pathological performance problems.
7037 (completion--embedded-envvar-table): Return `category' metadata.
7038
bcd54f83
LMI
70392011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7040
7041 * subr.el (process-alive-p): New tiny convenience function.
7042
e227544d
SM
70432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7046 content but also its previous major mode.
7047
e8296fdc
HE
70482011-05-31 Helmut Eller <eller.helmut@gmail.com>
7049
4d61f28d 7050 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7051 *Backtrace* buffer when we exit with C-M-c.
7052
620c53a6
SM
70532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * minibuffer.el: Add metadata method to completion tables.
7056 (completion-category-overrides): New defcustom.
7057 (completion-metadata, completion--field-metadata)
7058 (completion-metadata-get, completion--styles)
7059 (completion--cycle-threshold): New functions.
7060 (completion-try-completion, completion-all-completions):
7061 Add `metadata' argument to choose completion-styles.
7062 (completion--do-completion): Use metadata to choose cycling.
7063 (completion-all-sorted-completions): Use metadata for sorting.
7064 Remove :completion-cycle-penalty which is not needed any more.
7065 (completion--try-word-completion): Add `metadata' argument.
7066 (minibuffer-completion-help): Check metadata for annotation function
7067 and sorting.
7068 (completion-file-name-table): Return `category' metadata.
7069 (minibuffer-completing-file-name): Make obsolete.
7070 * simple.el (minibuffer-completing-symbol): Make obsolete.
7071 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7072 completion-try-completion.
7073
1257e755
SM
70742011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7077
3767e706
LL
70782011-05-30 Leo Liu <sdl.web@gmail.com>
7079
7080 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7081 (rcirc-print): Decode all incoming messages (bug#8744).
7082 (rcirc-decode-coding-system): Allow value nil for automatic coding
7083 system detection.
3767e706 7084
d1a5d56a
GM
70852011-06-01 Glenn Morris <rgm@gnu.org>
7086
7087 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7088
e8cbec34
CY
70892011-05-29 Chong Yidong <cyd@stupidchicken.com>
7090
7091 * image.el (image-animate-max-time): Allow nil and t values.
7092 Default to nil.
7093 (create-animated-image): Doc fix.
7094 (image-animate-start): Remove second arg; just use
7095 image-animate-max-time.
7096 (image-animate-timeout): Doc fix. Args changed.
7097
7098 * image-mode.el (image-toggle-display-image): Ensure that the
7099 image spec passed to the animate timer is the same object as in
58179cce 7100 the buffer's display property (Bug#6981).
e8cbec34
CY
7101 (image-transform-properties): Doc fix.
7102
7103 * image.el (image-animate-max-time): Default to nil.
7104
159daf87
MR
71052011-05-29 Martin Rudalics <rudalics@gmx.at>
7106
7107 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7108 entire buffer list (Bug#8184).
7109
d66c4c7c
CY
71102011-05-29 Chong Yidong <cyd@stupidchicken.com>
7111
7112 * image.el (imagemagick-types-inhibit)
7113 (imagemagick-register-types): Doc fix.
7114
80aec780
DD
71152011-05-29 Deniz Dogan <deniz@dogan.se>
7116
7117 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7118 default.
7119
1dd3c2d9
CY
71202011-05-29 Chong Yidong <cyd@stupidchicken.com>
7121
7122 * select.el: Don't perform clipboard-manager saving in hooks;
7123 leave the hooks empty.
7124
60e56523
LL
71252011-05-28 Leo Liu <sdl.web@gmail.com>
7126
7127 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7128 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7129 (occur-edit-mode): New major mode (Bug#8463).
7130 (occur-after-change-function): New function.
7131 (occur-engine): Give Occur tags a read-only property.
7132
2b1e1a22
KR
71332011-05-28 Kevin Ryde <user42@zip.com.au>
7134
7135 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7136
5d344e88
CY
71372011-05-28 Chong Yidong <cyd@stupidchicken.com>
7138
8e6ca83d
CY
7139 * bindings.el (help-echo): Make the initial non-indicator dash
7140 empty on graphical terminals (Bug#7295).
7141
5d344e88
CY
7142 * files.el (auto-mode-alist): Move config rule after the
7143 in-stripping one (Bug#8547).
7144
bfbbace7
CY
7145 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7146
fbeba6e2
CY
7147 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7148 setting (Bug#8740).
7149
60ed8c72
AA
71502011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7151
4ac619f0
AA
7152 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7153 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7154 (Bug#8539).
60ed8c72 7155
23db196e
CY
71562011-05-28 Chong Yidong <cyd@stupidchicken.com>
7157
7158 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7159
5012f24c
DK
71602011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7161
7162 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7163 (hs-hide-block-at-point, hs-find-block-beginning)
7164 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7165 (Bug#8279).
7166
6a639b16
GM
71672011-05-28 Glenn Morris <rgm@gnu.org>
7168
7169 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7170
d43eaf2c
CY
71712011-05-28 Chong Yidong <cyd@stupidchicken.com>
7172
5199bde1
CY
7173 * help-fns.el (describe-function-1): If the function is a derived
7174 major mode, print the parent mode.
7175
d43eaf2c
CY
7176 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7177 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7178
423428a8
SM
71792011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7180
0ff8e1ba 7181 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7182 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7183 * progmodes/etags.el (tags-completion-at-point-function):
7184 * info-look.el (info-lookup-completions-at-point): Mark as
7185 non-exclusive.
7186 (info-complete): Adjust accordingly.
7187
423428a8
SM
7188 * info-look.el: Convert to lexical-binding and completion-at-point.
7189 (info-lookup-completions-at-point): New function.
7190 (info-complete): Use it and completion-in-region.
7191
b74aa22b
DA
71922011-05-28 Drew Adams <drew.adams@oracle.com>
7193
7194 * isearch.el: Let M-e start with point at the first mismatched char.
7195 (isearch-fail-pos): New function.
7196 (isearch-edit-string): Use it.
7197
66e2e71d
DK
71982011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7199
7200 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7201
eb95d01d
TC
72022009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7203
7204 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7205 traversal functions for avl-trees.
7206 (avl-tree--stack): New struct.
7207 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7208 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7209 (avl-tree--do-enter): Add optional `updatefun' arg.
7210 Change return value.
eb95d01d 7211 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7212 (avl-tree--do-delete): Add `test' and `nilflag' args.
7213 Change return value.
eb95d01d
TC
7214 (avl-tree-member): Add optional `nilflag'
7215 (avl-tree-member-p): New function.
7216 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7217 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7218 (avl-tree-stack-empty-p): New functions.
7219
3769ddcf
TC
72202009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7221
7222 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7223 avl-tree--del-balance1 and make it work both ways.
7224 (avl-tree--del-balance2): Remove.
7225 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7226 make it work both ways.
7227 (avl-tree--enter-balance2): Remove.
7228 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7229 New macros.
7230 (avl-tree--mapc, avl-tree-map): Add direction argument.
7231
eb95d01d 72322011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7233
7234 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7235
a9f737ee
CY
72362011-05-27 Chong Yidong <cyd@stupidchicken.com>
7237
7238 * select.el: Support clipboard managers with built-in function
7239 x-clipboard-manager-save, via delete-frame-functions and
7240 kill-emacs-hook.
7241 (xselect-convert-to-targets): Add MULTIPLE target to list.
7242 (xselect-convert-to-save-targets): New function.
7243
c92a1e54
KH
72442011-05-27 Kenichi Handa <handa@m17n.org>
7245
7246 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7247 let-binding rfc2047-encode-encoded-words to nil.
7248
e145f188
GM
72492011-05-27 Glenn Morris <rgm@gnu.org>
7250
5ec8a862
GM
7251 * mail/emacsbug.el: Don't require url-util.
7252
4b29d9fb
GM
7253 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7254
e145f188
GM
7255 * files.el (set-auto-mode):
7256 Also respect mode: entries at the end of the file. (Bug#8586)
7257
7d15102b
GM
72582011-05-26 Glenn Morris <rgm@gnu.org>
7259
98f593b8
GM
7260 * files.el (hack-local-variables-prop-line, hack-local-variables):
7261 Downcase mode names, as seems to be traditional.
27b48e63 7262 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7263
7d15102b
GM
7264 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7265 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7266
51d5b4ec
JD
72672011-05-25 Julien Danjou <julien@danjou.info>
7268
7269 * textmodes/rst.el (rst-define-level-faces): Do not define face
7270 symbol if it is already defined.
7271
91513f63
VB
72722011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7273
7274 * play/5x5.el (5x5-new-game, 5x5-randomize):
7275 Reset 5x5-solver-output to nil when a new grid is cast.
7276 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7277 these debugging traces, as defmacro breaks the compiled code.
7278
4d90d6d0
DK
72792011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7280
7281 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7282
e1b90ef6
LL
72832011-05-24 Leo Liu <sdl.web@gmail.com>
7284
7285 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7286 (vc-bzr-sha1): Adapt.
7287
d8e4b68b 7288 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7289
7290 * bindings.el: Provide sha1 feature.
7291
db0406bb 72922011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7293
7294 * mail/sendmail.el: Require `rfc2047'.
7295 (mail-insert-from-field): Do not perform RFC2047 encoding.
7296 (mail-encode-header): New function.
7297 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7298 buffer to the return value of select-message-coding-system.
7299 Call mail-encode-header.
b8d747b9
KH
7300
7301 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7302
db0406bb 73032011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7304
4d90d6d0
DK
7305 * mail/supercite.el (sc-default-cite-frame):
7306 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7307
eb8a5e9b
GM
73082011-05-24 Glenn Morris <rgm@gnu.org>
7309
f8630703
GM
7310 * progmodes/python.el (brm-menu): Declare.
7311
8831bbed
GM
7312 * emulation/viper.el (viper-set-hooks): Declare.
7313
eb8a5e9b
GM
7314 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7315 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7316 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7317 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7318 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7319 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7320
a2a25d24
SM
73212011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 Add an :exit-function for completion-at-point.
7324
7325 * minibuffer.el (completion--done): New fun.
7326 (completion--do-completion): Use it. New arg `expect-exact'.
7327 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7328 since completion--do-completion does it for us now.
7329 (minibuffer-force-complete): Use completion--done and
7330 completion--replace. Handle sole-completion case with more care.
7331 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7332 (completion-extra-properties): New var.
7333 (completion-annotate-function): Make obsolete.
7334 (minibuffer-completion-help): Adjust accordingly.
7335 Use completion-list-insert-choice-function.
7336 (completion-at-point, completion-help-at-point):
7337 Bind completion-extra-properties.
7338 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7339 * simple.el (completion-list-insert-choice-function): New var.
7340 (completion-setup-function): Preserve it.
7341 (choose-completion): Pay attention to it, shuffle the code a bit.
7342 (choose-completion-string): New arg `insert-function'.
7343
7344 * textmodes/bibtex.el: Convert to lexical binding.
7345 (bibtex-mode-map): Use completion-at-point.
7346 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7347 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7348 (bibtex-complete): Define as obsolete alias.
7349 (bibtex-complete-internal): Remove.
7350 (bibtex-format-entry): Remove unused sub-group in regexp.
7351 * shell.el (shell--command-completion-data)
7352 (shell-environment-variable-completion):
7353 * pcomplete.el (pcomplete-completions-at-point):
7354 * comint.el (comint--complete-file-name-data): Use :exit-function
7355 instead of completion-table-with-terminator so it also works for
7356 choose-completion.
7357
e44e373d
SM
73582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7359
4f91a816
SM
7360 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7361
782fc819
SM
7362 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7363 (bug#8710).
7364
e44e373d
SM
7365 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7366
381987c3
KM
73672011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7368
7369 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7370 customization variable and implement: If non-nil, auto-fill will
7371 be inhibited while on topic's header line.
7372
b776bc70
VB
73732011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7374
7375 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7376 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7377 always have a solution in grid size = 5 cases.
7378 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7379 (5x5-solver-output, 5x5-log-buffer): New vars.
7380 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7381 Make these variables buffer local to achieve 5x5 multi-session-ness.
7382 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7383 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7384 (5x5-solve-suggest): New funs.
7385 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7386 randomize a grid so that we ensure that there is always a solution.
7387 (5x5-make-random-grid): Allow other movement than flipping.
7388
7de88b6e
KR
73892011-05-23 Kevin Ryde <user42@zip.com.au>
7390
7391 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7392 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7393 advice and passes PREDICATE.
7394
b1ef1257
SM
73952011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7396
bbca48fe
SM
7397 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7398 byte-compile-lambda if it's actually a lambda.
7399
b1ef1257
SM
7400 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7401 Fix function quoting. Use backquote better.
7402
92a9cc65
YS
74032011-05-22 Yuanle Song <sylecn@gmail.com>
7404
7405 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7406 matching (Bug#8516).
7407
f0fb8059
JA
74082011-01-22 Jari Aalto <jari.aalto@cante.net>
7409
7410 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7411 different face (Bug#8178).
7412
d5b44c93
CY
74132011-05-22 Chong Yidong <cyd@stupidchicken.com>
7414
7415 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7416 defface (Bug#8144).
7417
79106a44
SM
74182011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7419
9c848d8a
SM
7420 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7421 funcall as well (bug#8712). Warn when performing those conversions.
7422 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7423
79106a44
SM
7424 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7425
88dfa756
GM
74262011-05-22 Glenn Morris <rgm@gnu.org>
7427
7428 * files.el (hack-local-variables-prop-line): Small simplifications.
7429 (hack-local-variables, hack-local-variables-prop-line):
7430 If MODE-ONLY, return the mode, rather than just `t'.
7431
b7cf2c79
SM
74322011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7435
3f1a8558
GM
74362011-05-21 Glenn Morris <rgm@gnu.org>
7437
7e4ccca3
GM
7438 * files.el (hack-local-variables-prop-line, hack-local-variables):
7439 If only interested in the mode, don't bother doing the other stuff.
7440
637d46ca
GM
7441 * image-mode.el (image-after-revert-hook):
7442 Redraw all frames on which the image is visible. (Bug#8567)
7443
973d955b
GM
7444 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7445
3f1a8558
GM
7446 * wid-edit.el (widget-checklist-match-inline):
7447 Fix 2011-04-19 change. (Bug#8649)
7448
96479927
SM
74492011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7450
1dcf791f
SM
7451 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7452 Also allow singlespace after single-letter capitals followed by a dot.
7453
96479927
SM
7454 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7455 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7456
35fd0881
N
74572011-05-20 Nix <nix@esperi.org.uk>
7458
7459 * files.el (basic-save-buffer-2):
7460 Fix handling of break-hardlink-on-save with non-existent files.
7461
82745640
DD
74622011-05-19 Deniz Dogan <deniz@dogan.se>
7463
7464 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7465 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7466
4a720484
GM
74672011-05-19 Glenn Morris <rgm@gnu.org>
7468
d1f21341
GM
7469 * progmodes/f90.el (f90-type-def-re):
7470 Handle "type, bind(c)". (Bug#8691)
7471
4a720484
GM
7472 * emacs-lisp/autoload.el (batch-update-autoloads):
7473 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7474
2fb0a219
MA
74752011-05-18 Michael Albinus <michael.albinus@gmx.de>
7476
7477 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7478 property for the correct connection in case of multihops.
7479
e565dd37
GM
74802011-05-18 Glenn Morris <rgm@gnu.org>
7481
c2571358 7482 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7483 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7484
e565dd37
GM
7485 Rationalize calendar handling of day and month abbrev-arrays.
7486 * calendar/calendar.el (calendar-customized-p): New function.
7487 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7488 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7489 Add :set function.
7490 (calendar-abbrev-length, calendar-day-abbrev-array)
7491 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7492 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7493 Elements may no longer be nil.
7494 (calendar-day-name, calendar-month-name):
7495 Update for changed nature of abbrev arrays.
7496 * calendar/diary-lib.el (diary-name-pattern):
7497 Update for changed nature of abbrev arrays.
7498 (diary-mark-entries-1): Update calendar-make-alist calls.
7499 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7500 * calendar/cal-html.el (cal-html-day-abbrev-array):
7501 Simply inherit from calendar-day-abbrev-array.
7502
1d99a745
SM
75032011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * progmodes/grep.el (grep-mode): Disable default
7506 compilation-directory-matcher setting (bug#8684).
7507
7c1d9aa0
MA
75082011-05-17 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7511 instead of "head" and "tail". There were problems with SunOS 5.9,
7512 and it performs better.
7513
3952e9d8
GM
75142011-05-17 Glenn Morris <rgm@gnu.org>
7515
2dd12e7f
GM
7516 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7517
e4157b9c
GM
7518 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7519 Replace obsolete function.
7520
8e249bbd
GM
7521 * shell.el (pcomplete-parse-arguments-function): Declare.
7522
3952e9d8
GM
7523 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7524 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7525 (appt-check): Doc fixes.
7526 (appt-disp-window-function, appt-delete-window-function):
7527 Remove needless special case in custom :type.
7528 (appt-display-count): Default to 0, not nil.
7529 (appt-check): Reset appt-display-count to 0, not nil.
7530
c71a0d48 75312011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7532
c71a0d48
GM
7533 * progmodes/python.el (python-font-lock-keywords):
7534 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7535
31d55be9
SM
75362011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7539
3bfacb2f
KR
75402011-05-16 Kevin Ryde <user42@zip.com.au>
7541
7542 * info-look.el (makefile-automake-mode): New setups, looking in
7543 automake manual, then makefile-mode.
7544 (makefile-mode): Remove automake manual, have it just in
7545 makefile-automake-mode since there's various things different or
7546 not relevant to plain make.
7547 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7548 believe a hypothetical automake-mode would go to makefile-mode,
7549 not the other way around.
7550
c8e83751
CY
75512011-05-15 Chong Yidong <cyd@stupidchicken.com>
7552
5e9e35cd
CY
7553 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7554 hunk-end tags (Bug#8672).
7555
c8e83751
CY
7556 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7557 vc-annotate-show-diff-revision-at-line (Bug#8671).
7558
50b23e5a
GM
75592011-05-14 Glenn Morris <rgm@gnu.org>
7560
7210a739
GM
7561 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7562 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7563 (change-log-font-lock-keywords): Also handle multiple author lines
7564 with leading tabs. (Bug#8644)
7210a739 7565
4691905a
GM
7566 * calendar/appt.el (appt-check): Rename some local variables.
7567 Some simplification/reordering.
7568
50b23e5a
GM
7569 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7570 (feedmail-sendmail-f-doesnt-sell-me-out)
7571 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7572 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7573 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7574 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7575 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7576 (feedmail-binmail-gnulinuxish-template):
7577 Rename from feedmail-binmail-linuxish-template.
7578 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7579 Use insert-buffer-substring.
7580
215cda7c
BC
75812011-05-14 Bill Carpenter <bill@carpenter.org>
7582
7583 * mail/feedmail.el (feedmail-patch-level): Increase.
7584 (feedmail-debug): New custom group.
7585 (feedmail-confirm-outgoing-timeout)
7586 (feedmail-sendmail-f-doesnt-sell-me-out)
7587 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7588 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7589 (feedmail-sender-line, feedmail-from-line)
7590 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7591 (feedmail-spray-this-address)
215cda7c
BC
7592 (feedmail-spray-address-fiddle-plex-list)
7593 (feedmail-queue-use-send-time-for-date)
7594 (feedmail-queue-use-send-time-for-message-id)
7595 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7596 (feedmail-buffer-eating-function):
7597 Doc fixes.
7598 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7599 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7600 (feedmail-message-action-scroll-down): New functions.
7601 (feedmail-queue-directory, feedmail-queue-draft-directory):
7602 Use expand-file-name.
7603 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7604 Remove C-v help entry.
7605 (feedmail-queue-buffer-file-name): New variable.
7606 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7607 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7608 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7609 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7610 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7611 (feedmail-message-action-toggle-spray)
7612 (feedmail-run-the-queue-no-prompts)
7613 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7614 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7615 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7616 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7617 (feedmail-envelope-deducer, feedmail-fiddle-from)
7618 (feedmail-fiddle-sender, feedmail-default-date-generator)
7619 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7620 (feedmail-fiddle-spray-address)
7621 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7622 (feedmail-fiddle-list-of-fiddle-plexes)
7623 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7624 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7625 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7626 Change default. Doc fix.
7627 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7628 (feedmail-binmail-linuxish-template): New constant.
7629 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7630 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7631 (feedmail-send-it): Add debug call.
7632 Use feedmail-queue-buffer-file-name, and
7633 feedmail-send-it-immediately-wrapper.
7634 (feedmail-message-action-send): Add debug call.
7635 Use feedmail-send-it-immediately-wrapper.
7636 (feedmail-queue-express-to-queue): Add debug call.
7637 Run feedmail-queue-express-hook.
7638 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7639 (feedmail-message-action-help-blat):
7640 Rename from feedmail-queue-send-edit-prompt-help-first.
7641 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7642 Check line-endings. Handle errors better.
7643 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7644 Doc fix. Add debug call.
7645 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7646 Use feedmail-queue-send-edit-prompt-inner.
7647 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7648 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7649 from feedmail-queue-send-edit-prompt.
7650 (feedmail-queue-send-edit-prompt-help)
7651 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7652 (feedmail-tidy-up-slug): Add debug call.
7653 Respect feedmail-queue-slug-suspect-regexp.
7654 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7655 (feedmail-dump-message-to-queue): Add debug call.
7656 Expand queue-directory.
7657 (feedmail-dump-message-to-queue): Change message slightly.
7658 Use feedmail-say-chatter.
7659 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7660 (feedmail-send-it-immediately-wrapper): New function.
7661 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7662 Insert empty string rather than newline. Handle full-frame case.
7663 Use catch/throw. Use feedmail-say-chatter.
7664 (feedmail-fiddle-from): Try mail-host-address.
7665 (feedmail-default-message-id-generator): Doc fix.
7666 Bind system-time-locale. Handle missing end.
7667 (feedmail-fiddle-x-mailer): Add debug call.
7668 Handle feedmail-x-mailer-line being nil.
7669 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7670 Add debug call. Use buffer-substring-no-properties.
7671 (feedmail-say-debug, feedmail-say-chatter): New functions.
7672 (feedmail-find-eoh): Give an explicit error.
7673
42c7e61e
UJ
76742011-05-13 Ulf Jasper <ulf.jasper@web.de>
7675
c2571358 7676 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7677 family from helvetica to sans.
c2571358 7678 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7679 etc/images/newsticker.
7680
c2571358 7681 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7682 family from helvetica to sans.
7683
7684 * net/newst-plainview.el (newsticker-new-item-face)
7685 (newsticker-old-item-face, newsticker-immortal-item-face)
7686 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7687 (newsticker-statistics-face): Change default family from
42c7e61e 7688 helvetica to sans.
c2571358 7689 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7690 etc/images/newsticker.
7691
7692 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7693 (newsticker--process-auto-mark-filter-match): : Tell user about
7694 auto-marking.
7695
8497a297
DV
76962011-05-13 Didier Verna <didier@xemacs.org>
7697
7698 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7699 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7700 TODO entries.
8497a297
DV
7701 (lisp-lambda-list-keyword-parameter-indentation)
7702 (lisp-lambda-list-keyword-parameter-alignment)
7703 (lisp-lambda-list-keyword-alignment): New customizable user options.
7704 (lisp-indent-defun-method): Improve docstring.
7705 (extended-loop-p): Fix comment.
7706 (lisp-indent-lambda-list-keywords-regexp): New variable.
7707 (lisp-indent-lambda-list): New function.
7708 (lisp-indent-259): Use it.
7709 (lisp-indent-defmethod): Support for more than one
7710 method qualifier and properly indent methods lambda-lists.
7711 (defgeneric): Provide a missing common-lisp-indent-function property.
7712
f278f87f
SM
77132011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7716 bounds for the empty string (bug#8667).
7717
5233edd7
GM
77182011-05-13 Glenn Morris <rgm@gnu.org>
7719
5237a44f
GM
7720 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7721
8340026c 7722 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7723 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7724
5233edd7 7725 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7726 (appt-time-msg-list): Doc fix.
a5464014 7727 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7728
92d10796
AS
77292011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7730
7731 * progmodes/ld-script.el (ld-script-keywords)
7732 (ld-script-builtins): Update keywords list.
7733
914a0ae1
SM
77342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7735
c89be45f
SM
7736 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7737
914a0ae1
SM
7738 * shell.el (shell-completion-vars): New function.
7739 (shell-mode):
7740 * simple.el (read-shell-command): Use it.
7741 (blink-matching-open): No need for " [...]" in minibuffer-message.
7742
98dc3df3
GM
77432011-05-12 Glenn Morris <rgm@gnu.org>
7744
7745 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7746 (appt-check): Simplify.
7747
d2fc7e3d 77482011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7749
4d61f28d 7750 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7751 literal "/dev/null".
7752
d2fc7e3d 77532011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7754
7755 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7756 Fix typo.
7757
d2fc7e3d 77582011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7759
3f254caa
SM
7760 * progmodes/which-func.el (which-function):
7761 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7762 which might not be defined (Bug#8260).
7763
d45885f7
GM
77642011-05-12 Glenn Morris <rgm@gnu.org>
7765
7766 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7767 Let byte-compile-initial-macro-environment always take precedence.
7768
488086f4
SM
77692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * net/rcirc.el: Add support for SSL/TLS connections.
7772 (rcirc-server-alist): New field `encryption'.
7773 (rcirc): Check `encryption' settings.
7774 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7775 Merge make-local-variable into `set'.
7776 (rcirc--connection-open-p): New function.
7777 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7778 the process is not a network process (e.g. running gnutls-cli).
7779 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7780 Make rcirc-(en|de)code-coding-system local here.
7781 (rcirc-mode): Merge make-local-variable into `set'.
7782 (rcirc-parent-buffer): Make permanent buffer-local.
7783 (rcirc-multiline-minor-mode): Don't do it here.
7784 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7785 there's no server buffer.
7786
7d3b9d44
GM
77872011-05-11 Glenn Morris <rgm@gnu.org>
7788
f64049c6
GM
7789 * newcomment.el (comment-kill): Prefix "unused" local.
7790
93c9df73
GM
7791 * term/w32console.el (get-screen-color): Declare.
7792
7d3b9d44
GM
7793 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7794 Handle symbol elements of byte-compile-initial-macro-environment.
7795
9e2dd53f
LL
77962011-05-10 Leo Liu <sdl.web@gmail.com>
7797
488086f4
SM
7798 * bookmark.el (bookmark-bmenu-mode-map):
7799 Bind bookmark-bmenu-search to `/'.
8b340240 7800
9e2dd53f 7801 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7802 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7803 (Footnote-unicode): New function.
7804 (footnote-style-alist): Add unicode style to the list.
7805 (footnote-style): Doc fix.
9e2dd53f 7806
79b70037
GM
78072011-05-10 Jim Meyering <meyering@redhat.com>
7808
7809 Fix doubled-word typos.
7810 * international/quail.el (quail-insert-kbd-layout): and and -> and
7811 * kermit.el: and and -> and
7812 * net/ldap.el (ldap-search-internal): to to -> to
7813 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7814 * progmodes/js.el (js-mode): and and -> and
7815 * textmodes/artist.el (artist-move-to-xy): at at -> at
7816 (artist-draw-region-trim-line-endings): if if -> if
7817 And Safetyc -> Safety.
7818 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7819
b8f82dc1 78202011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7821 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7822
7823 * files.el (hack-one-local-variable-eval-safep):
7824 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7825
4f99f44b
GM
78262011-05-10 Glenn Morris <rgm@gnu.org>
7827
7828 * calendar/diary-lib.el (diary-list-entries-hook)
7829 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7830 (diary-nongregorian-marking-hook, diary-list-entries)
7831 (diary-include-other-diary-files, diary-mark-entries)
7832 (diary-mark-included-diary-files): Doc fixes.
7833
84f29e6b
JB
78342011-05-09 Juanma Barranquero <lekktu@gmail.com>
7835
7836 * misc.el: Require tabulated-list.el during compilation.
7837
9bedd73a
CY
78382011-05-09 Chong Yidong <cyd@stupidchicken.com>
7839
488086f4
SM
7840 * progmodes/compile.el (compilation-start):
7841 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7842 (compilation-filter-hook): Doc fix.
7843
797c735c
DD
78442011-05-09 Deniz Dogan <deniz@dogan.se>
7845
7846 * wdired.el: Remove outdated installation comment. Fix usage
7847 comment.
7848
5f4b1dfe
JB
78492011-05-09 Juanma Barranquero <lekktu@gmail.com>
7850
7851 * misc.el: Implement new command `list-dynamic-libraries'.
7852 (list-dynamic-libraries--loaded-only-p): New variable.
7853 (list-dynamic-libraries--refresh): New function.
7854 (list-dynamic-libraries): New command.
7855
4c44026c
CY
78562011-05-09 Chong Yidong <cyd@stupidchicken.com>
7857
488086f4
SM
7858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7859 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7860 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7861 higher priority to avoid clobbering by gnu.
7862
027f966d
CY
78632011-05-08 Chong Yidong <cyd@stupidchicken.com>
7864
7865 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7866 if the face has existing theme settings (Bug#8454).
7867
085f5d7d
CY
78682011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7869
488086f4
SM
7870 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7871 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7872
2a86a00c
RS
7873 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7874 special file names `.' and `..' (Bug#8259).
7875
d9c54a06
CY
78762011-05-08 Chong Yidong <cyd@stupidchicken.com>
7877
488086f4
SM
7878 * progmodes/grep.el (grep-mode-font-lock-keywords):
7879 Remove buffer-changing entries.
d9c54a06
CY
7880 (grep-filter): New function.
7881 (grep-mode): Add it to compilation-filter-hook.
7882
7883 * progmodes/compile.el (compilation-filter-hook)
7884 (compilation-filter-start): New defvars.
7885 (compilation-filter): Call compilation-filter-hook prior to
7886 updating the process mark.
7887
c4662635
SM
78882011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7891
b0512a1d
EZ
78922011-05-07 Eli Zaretskii <eliz@gnu.org>
7893
605c9376
EZ
7894 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7895 mailclient-send-it even if window-system is nil. (Bug#8595)
7896
c4662635
SM
7897 * term/w32console.el (terminal-init-w32console):
7898 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7899 background-mode. (Bug#8597)
7900
d1dc2cc2
SM
79012011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7902
7903 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7904 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7905 New functions.
7906 (defgeneric, eieio--defmethod): Use them.
7907 (eieio-defgeneric): Remove.
7908 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7909
915d1300
GM
79102011-05-07 Glenn Morris <rgm@gnu.org>
7911
a3961c3e
GM
7912 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7913 Use let rather than let*.
7914 (timeclock-find-discrep): Remove unused local.
7915
314347b9
GM
7916 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7917
915d1300
GM
7918 * calendar/appt.el (appt-time-msg-list): Doc fix.
7919
275b59b0
NF
79202011-05-06 Noah Friedman <friedman@splode.com>
7921
7922 * apropos.el (apropos-print-doc): Only use
7923 emacs-lisp-docstring-fill-column when it is bound to an integer,
7924 per that variable's documentation.
7925
6c19f744
SM
79262011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7929 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7930
60f884b2
GM
79312011-05-06 Glenn Morris <rgm@gnu.org>
7932
5006e634
GM
7933 * calendar/appt.el (appt-message-warning-time): Doc fix.
7934 (appt-warning-time-regexp): New option.
7935 (appt-make-list): Respect appt-message-warning-time.
7936
548d0a63
GM
7937 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7938 New options.
7939 (diary-add-to-list): Strip comments from the displayed string.
7940 (diary-mode): Set comment-start and comment-end.
7941
60f884b2
GM
7942 * vc/diff-mode.el (smerge-refine-subst): Declare.
7943 (diff-refine-hunk): Don't require smerge-mode when compiling.
7944
989681bb
JB
79452011-05-06 Juanma Barranquero <lekktu@gmail.com>
7946
7947 * simple.el (list-processes): Return nil as the docstring says.
7948
a6bc05e1
MA
79492011-05-05 Michael Albinus <michael.albinus@gmx.de>
7950
7951 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7952 to "".
7953 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7954 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7955 determining of binary transfer. (Bug#7383)
7956
23c22e9a
MA
79572011-05-05 Michael Albinus <michael.albinus@gmx.de>
7958
c4662635
SM
7959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7960 Fix port computation bug. (Bug#8618)
23c22e9a 7961
0bff894f
GM
79622011-05-05 Glenn Morris <rgm@gnu.org>
7963
b8296902
GM
7964 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7965
1f522ce8
GM
7966 * simple.el (shell-dynamic-complete-functions)
7967 (comint-dynamic-complete-functions): Declare.
7968
cf5bee67
GM
7969 * net/network-stream.el (gnutls-negotiate):
7970 * simple.el (tabulated-list-print): Fix declarations.
7971
7972 * progmodes/gud.el (syntax-symbol, syntax-point):
7973 Remove unnecessary and incorrect declarations.
7974
0bff894f
GM
7975 * emacs-lisp/check-declare.el (check-declare-scan):
7976 Handle byte-compile-initial-macro-environment in bytecomp.el
7977
9869b3ae
SM
79782011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 Fix earlier half-done eieio-defmethod change (bug#8338).
7981 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7982 Streamline and change calling convention.
7983 (defmethod): Adjust accordingly and simplify.
7984 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7985 new eieio--defmethod.
7986 (slot-boundp): Minor CSE simplification.
7987
9c1d5ac5
MZ
79882011-05-05 Milan Zamazal <pdm@zamazal.org>
7989
7990 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7991 (glasses-make-readable): Use glasses-separate-capital-groups.
7992
455c834e
JB
79932011-05-05 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7996 (warning-series): Doc fix.
7997 (display-warning): Don't try to create the buffer if we just found it.
7998
9ed7c8cb
CY
79992011-05-04 Chong Yidong <cyd@stupidchicken.com>
8000
8001 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8002 (autoload-find-generated-file): New function.
8003 (generate-file-autoloads): Bind generated-autoload-file to
8004 buffer-file-name.
9869b3ae
SM
8005 (update-file-autoloads, update-directory-autoloads):
8006 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8007 output file (Bug#7989).
8008 (batch-update-autoloads): Doc fix.
8009
0898ca10
JB
80102011-05-04 Juanma Barranquero <lekktu@gmail.com>
8011
8012 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8013
31dfb76c
GM
80142011-05-04 Glenn Morris <rgm@gnu.org>
8015
f330b642
GM
8016 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8017 function, so it follows changes in calendar-date-style.
8018 (diary-fancy-date-matcher): New function.
8019 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8020 (diary-fancy-font-lock-fontify-region-function):
8021 Use diary-fancy-date-pattern as a function.
8022
31dfb76c
GM
8023 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8024 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8025
48e79d6a
TZ
80262011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8027
8028 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8029 instead of positional arguments. Allow :keylist and :crlfiles
8030 arguments.
8031 (open-gnutls-stream): Call it.
8032
8033 * net/network-stream.el (network-stream-open-starttls): Adjust to
8034 call `gnutls-negotiate' with :process and :hostname arguments.
8035
dd5a5ee0
SM
80362011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8037
ef80fc09
SM
8038 * minibuffer.el (completion--message): New function.
8039 (completion--do-completion, minibuffer-complete)
8040 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8041 (completion--do-completion): Don't ignore completion-auto-help when in
8042 icomplete-mode.
8043
dd5a5ee0
SM
8044 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8045 internal encoding (e.g. tibetan zero is not whitespace).
8046 (global-whitespace-mode): Prefer save-current-buffer.
8047 (whitespace-trailing-regexp): Remove useless save-match-data.
8048 (whitespace-empty-at-bob-regexp): Minor simplification.
8049
b7d22a83
CY
80502011-05-03 Chong Yidong <cyd@stupidchicken.com>
8051
8052 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8053
5192af46
AM
80542011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8055
8056 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8057 Use `concat' to create string for insertion.
5192af46 8058
5767d190
SM
80592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8062 Avoid open-line which runs post-self-insert-hook.
8063 (bibtex-fill-entry): Remove unused `end' var.
8064
bf242939
AM
80652011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8066
5767d190
SM
8067 * textmodes/ispell.el (ispell-add-per-file-word-list):
8068 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8069
25666126
LL
80702011-05-03 Leo Liu <sdl.web@gmail.com>
8071
8072 * isearch.el (isearch-yank-pop): New command.
5767d190 8073 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8074 (isearch-forward): Mention it.
8075
52d3c2d0
SM
80762011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8077
1bcace58
SM
8078 * simple.el (minibuffer-complete-shell-command): Remove.
8079 (minibuffer-local-shell-command-map): Use completion-at-point.
8080 (read-shell-command): Setup completion vars here instead.
8081 (read-expression-map): Bind TAB to symbol completion.
8082
52d3c2d0
SM
8083 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8084 error directly rather via storing it into `results'.
8085
35813471
LL
80862011-05-02 Leo Liu <sdl.web@gmail.com>
8087
8088 * vc/diff.el: Fix description.
8089
e793a940
LMI
80902011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8091
8092 * server.el (server-eval-at): New function.
8093
8de66e05
LMI
80942011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8095
8096 * net/network-stream.el (open-network-stream): Take a :nowait
8097 parameter and pass it on to `make-network-process'.
8098 (network-stream-open-plain): Ditto.
8099
dcb79f20
AS
81002011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8101
8102 * faces.el (face-spec-set-match-display): Don't match toolkit
8103 options on terminal frames.
8104
14a7fbd8
SM
81052011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8106
7eabc1be
SM
8107 * progmodes/pascal.el: Use lexical binding.
8108 (pascal-mode-map): Remove author preferences.
8109
14a7fbd8
SM
8110 * pcomplete.el (pcomplete-std-complete): Don't abuse
8111 completion-at-point.
8112
50f84510
JB
81132011-04-28 Juanma Barranquero <lekktu@gmail.com>
8114
6e087a44
JB
8115 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8116 removing code that has been dead since 1991 or so.
8117
50f84510
JB
8118 * startup.el (command-line): When warning about "_emacs", use a
8119 delayed warning to allow the user to filter it out.
8120
0ba690bd
DD
81212011-04-28 Deniz Dogan <deniz@dogan.se>
8122
8123 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8124 user has not joined.
8125
08abfaad
SM
81262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8129 aren't any completions at point.
8130
638f053a
JB
81312011-04-28 Juanma Barranquero <lekktu@gmail.com>
8132
8133 * subr.el (display-delayed-warnings): New function.
8134 (delayed-warnings-hook): New variable.
8135
8fff8daa
SM
81362011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8137
08abfaad
SM
8138 * minibuffer.el (completion-at-point, completion-help-at-point):
8139 Don't presume that a given completion-at-point-function will always
8140 use the same calling convention.
8141
8fff8daa
SM
8142 * pcomplete.el (pcomplete-completions-at-point):
8143 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8144 pcomplete-seen is non-nil.
8145 (pcomplete-comint-setup): Also recognize the new comint/shell
8146 completion functions.
8147 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8148 pcomplete-seen is non-nil.
8149
841a1577 81502011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8151
841a1577 8152 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8153 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8154 the first character in the entry. This allows for code to add its
211ec907
UJ
8155 own uid to the entry.
8156 (icalendar--convert-float-to-ical): Add export of
8157 `diary-float'-entries save for those with the optional DAY
8158 argument.
8159
2a782793
DC
81602011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8161
8162 * subr.el (shell-quote-argument): Use alternate escaping strategy
8163 when we spot a variable reference in a string.
8164
0438ce91
DC
81652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8166
8167 * cus-start.el (all): Define customization for debug-on-event.
8168
841a1577 81692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8170
8171 * subr.el (shell-quote-argument): Escape correctly under Windows.
8172
d090ed6c
SM
81732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8176
bfd31217
MA
81772011-04-25 Michael Albinus <michael.albinus@gmx.de>
8178
d090ed6c
SM
8179 * net/tramp.el (tramp-process-actions): Add POS argument.
8180 Delete region between POS and (pos).
bfd31217 8181
d090ed6c
SM
8182 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8183 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8184 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8185
8186 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8187 position in `tramp-process-actions' call.
8188
8189 * net/trampver.el: Update release number.
8190
e92f3bd3
SM
81912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8192
850256b5
SM
8193 * custom.el (defcustom): Obey lexical-binding.
8194
e92f3bd3
SM
8195 Fix octave-inf completion problems reported by Alexander Klimov.
8196 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8197 Inherit from octave-mode-syntax-table.
8198 (inferior-octave-mode): Set info-lookup-mode.
8199 (inferior-octave-completion-at-point): New function.
8200 (inferior-octave-complete): Use it and completion-in-region.
8201 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8202 comint-filename-completion.
8203 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8204 symbol elements which shouldn't be word elements.
8205 (octave-font-lock-keywords, octave-beginning-of-defun)
8206 (octave-function-header-regexp): Adjust regexps accordingly.
8207 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8208
cd22b309
JB
82092011-04-25 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * net/gnutls.el (gnutls-errorp): Declare before first use.
8212
8b492194
TZ
82132011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8214
8215 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8216 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8217 default trustfile exists before going to use it. Add missing
5a5fa834 8218 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8219 Reported by Claudio Bley <claudio.bley@gmail.com>.
8220 (open-gnutls-stream): Add usage example.
8221
8222 * net/network-stream.el (network-stream-open-starttls): Give host
8223 parameter to `gnutls-negotiate'.
8224 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8225 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8226
841a1577 82272011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8228
cd22b309
JB
8229 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8230 Use correct match group (bug#8438).
05842630 8231
3ba7869c
CY
82322011-04-24 Chong Yidong <cyd@stupidchicken.com>
8233
512e3ae1
CY
8234 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8235 (package-menu--generate): New arg specifying packages to show.
8236 (package-menu-refresh, package-menu-execute, list-packages):
8237 Callers changed.
8238 (package-show-package-list): New function, replacing deleted
8239 package--list-packages (renamed because it is non-internal).
8240
8241 * finder.el (finder-list-matches): Use package-show-package-list
8242 instead of deleted package--list-packages.
8243
e92f3bd3
SM
8244 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8245 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8246 (vc-annotate-mode-map): Bind it to RET.
8247
7031be6d
UR
82482011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8249
8250 * progmodes/etags.el (next-file): Don't use set-buffer to change
8251 buffers (Bug#8478).
8252
4ef177aa
CY
82532011-04-24 Chong Yidong <cyd@stupidchicken.com>
8254
c8d173eb
CY
8255 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8256
4ef177aa
CY
8257 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8258 (apropos-accumulator): Doc fix.
8259 (apropos-function, apropos-macro, apropos-command)
8260 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8261 (apropos-plist): Add face property.
8262 (apropos-symbols-internal): Fix indentation.
8263 (apropos-print): Simplify help, and recognize apropos-multi-type.
8264 (apropos-print-doc): Use button-type-get to extract the button's
8265 face property. Fill docstring (Bug#8352).
8266
4ffd0d6b 82672011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8268
8269 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8270
c6c32125 8271 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8272 (mpuz-mode-map): Use mapc.
c6c32125
JB
8273 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8274 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8275 Fix typos in docstrings.
8276
58d468b4
JB
8277 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8278 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8279
6470c3c6
JB
8280 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8281
4ffd0d6b 82822011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8283
8284 * minibuffer.el (completion--do-completion): Avoid the "Next char
8285 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8286
3ad8bad0
CY
8287 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8288 mouse-2 into unread-command-events, it is interpreted correctly.
8289
71d73c9c 8290 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8291 (image-toggle-display): Doc fix.
71d73c9c 8292
841a1577 82932011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8294
4ffd0d6b
GM
8295 * textmodes/page.el (what-page): Use line-number-at-pos to
8296 calculate line number (Bug#6825).
6e1dbaa9 8297
c2fb1b60
JB
82982011-04-22 Juanma Barranquero <lekktu@gmail.com>
8299
8300 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8301 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8302 Pass argument NO-DEFAULT to `find-tag-interactive'.
8303
e02f48d7
JB
83042011-04-22 Juanma Barranquero <lekktu@gmail.com>
8305
8306 Lexical-binding cleanup.
8307
8308 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8309 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8310 * progmodes/ada-prj.el (ada-prj-initialize-values)
8311 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8312 (ada-prj-show-value):
8313 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8314 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8315 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8316 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8317 * progmodes/bug-reference.el (bug-reference-push-button):
8318 * progmodes/fortran.el (fortran-line-length):
8319 * progmodes/glasses.el (glasses-change):
8320 * progmodes/octave-mod.el (octave-fill-paragraph):
8321 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8322 (python-pdbtrack-grub-for-buffer, python-sentinel):
8323 * progmodes/sql.el (sql-save-connection):
8324 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8325 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8326 Mark unused parameters.
8327
8328 * progmodes/compile.el (compilation--flush-directory-cache)
8329 (compilation--flush-parse, compile-internal): Mark unused parameters.
8330 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8331 (compilation-next-error-function): Remove unused variable `timestamp'.
8332
8333 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8334 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8335
8336 * progmodes/dcl-mode.el (dcl-end-of-command):
8337 Remove unused variable `start'.
8338 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8339 (dcl-option-value-basic, dcl-option-value-offset)
8340 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8341 Mark unused parameters.
8342 (dcl-save-local-variable): Remove unused variable `val'.
8343 (mode): Declare.
8344
8345 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8346 Mark unused parameters.
8347 (delphi-ignore-changes): Move before first use.
8348 (delphi-charset-token-at): Remove unused variable `start'.
8349 (delphi-else-start): Remove unused variable `if-count'.
8350 (delphi-comment-block-start, delphi-comment-block-end):
8351 Remove unused variable `kind'.
8352 (delphi-indent-line): Remove unused variable `new-point'.
8353
8354 * progmodes/ebrowse.el (ebrowse-files-list)
8355 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8356 Mark unused parameters. Don't quote `lambda'.
8357 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8358 Don't quote `lambda'.
8359 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8360 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8361 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8362 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8363 Use `ignore-errors'.
8364 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8365 (ebrowse-view/find-file-and-search-pattern)
8366 (ebrowse-view/find-member-declaration/definition):
8367 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8368 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8369 Rename parameter PREFIX-ARG to PREFIX.
8370 (ebrowse-tags-read-name): Remove unused variables `start' and
8371 `member-info'.
8372 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8373 to `tags-file'.
8374
8375 * progmodes/etags.el (local-find-tag-hook): Declare.
8376 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8377 Mark unused parameters.
8378
8379 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8380 (executable-interpret): Mark unused parameter.
8381
8382 * progmodes/flymake.el (flymake-process-sentinel)
8383 (flymake-after-change-function)
8384 (flymake-create-temp-with-folder-structure)
8385 (flymake-get-include-dirs-dot): Mark unused parameters.
8386 (flymake-safe-delete-directory): Remove unused variable `err'.
8387
8388 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8389 (speedbar-timer-fn, speedbar-line-text)
8390 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8391 (speedbar-center-buffer-smartly): Declare functions.
8392 (gdb-find-watch-expression): Remove unused variable `array'.
8393 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8394 (gdb-starting): Mark unused parameters.
8395 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8396 (gdb-table-string): Remove unused variable `res'.
8397 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8398 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8399 (gdb-display-buffer): Remove unused variable `cur-size'.
8400
8401 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8402 allow lexical-binding compilation.
8403 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8404 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8405 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8406 Mark unused parameters.
8407 (gud-gdb-marker-filter): Remove unused variable `match'.
8408 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8409 lambda expressions and funcall them, instead of using `fset'.
8410
8411 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8412 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8413
8414 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8415 variable `header-beg'; use `let'.
8416
8417 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8418 `restart', `last-sexp' and `at-do'.
8419
8420 * progmodes/js.el (js--debug): Mark unused parameter.
8421 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8422 (js--splice-into-items): Remove unused variable `item'.
8423 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8424
8425 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8426 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8427 (makefile-complete): Remove unused variable `try'.
8428 (makefile-fill-paragraph, makefile-match-function-end):
8429 Mark unused parameters.
8430
8431 * progmodes/octave-inf.el (inferior-octave-complete):
8432 Remove unused variable `proc'.
8433 (inferior-octave-output-digest): Mark unused parameter.
8434
8435 * progmodes/perl-mode.el (perl-calculate-indent):
8436 Remove unused variable `err'.
8437
8438 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8439 (prolog-indent-line): Mark unused parameters.
8440 (prolog-indent-line): Remove unused variable `beg'.
8441
8442 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8443 (reporter-dont-compact-list): Declare.
8444
8445 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8446 Remove unused variable `char'.
8447 (sh-debug): Mark unused parameter.
8448 (sh-get-indent-info): Remove unused variable `start'.
8449 (sh-calculate-indent): Remove unused variable `var'.
8450
8451 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8452 (simula-electric-keyword): Remove unused variable `null'.
8453 (simula-search-backward, simula-search-forward): Remove unused
8454 variables `begin' and `end'.
8455
8456 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8457 Remove unused variable `pos'.
8458 (vera-electric-tab, vera-comment-uncomment-region):
8459 Mark unused parameters.
8460 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8461
7ede3b65
CY
84622011-04-22 Chong Yidong <cyd@stupidchicken.com>
8463
8464 * emacs-lisp/package.el (package--builtins, package-alist)
8465 (package-load-descriptor, package-built-in-p, package-activate)
8466 (define-package, package-installed-p)
8467 (package-compute-transaction, package-buffer-info)
8468 (package--push): Doc fix. Distinguish more clearly between
8469 version strings and version lists.
8470
121656e9
JB
84712011-04-21 Juanma Barranquero <lekktu@gmail.com>
8472
8473 Lexical-binding cleanup.
8474
8475 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8476 (5x5-make-mutate-best):
8477 * play/fortune.el (fortune-in-buffer):
8478 * play/gomoku.el (gomoku-init-display):
8479 * play/solitaire.el (solitaire, solitaire-do-check):
8480 * play/tetris.el (tetris-default-update-speed-function):
8481 Mark unused parameters.
8482
8483 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8484 (bubbles--shift): Remove unused variable `char-org'.
8485 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8486 (bubbles--show-images): Remove unused variable `char'.
8487
8488 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8489 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8490 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8491 (decipher-analyze-buffer): Use ?\s.
8492 (decipher-make-checkpoint): Remove unused variable `mapping'.
8493
8494 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8495
8496 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8497 Remove unused variable `result'; use `let'.
8498
8499 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8500 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8501 (gametree-children-shown-p, gametree-compute-reduced-score):
8502 Use `ignore-errors'.
8503
8504 * play/handwrite.el (ps-lpr-switches): Declare.
8505 (handwrite): Remove unused variables `pmin' and `lastp'.
8506
8507 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8508
8509 * play/landmark.el (landmark-init-display)
8510 (landmark-update-naught-weights): Mark unused parameters.
8511 (landmark-y): Remove unused variable `noise'. Simplify.
8512 (landmark-human-plays): Remove unused variable `score'.
8513
8514 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8515 (mpuz-try-proposal): Remove unused variable `game'.
8516
8517 * play/zone.el (life-patterns): Declare.
8518
80f499c7
JB
85192011-04-20 Juanma Barranquero <lekktu@gmail.com>
8520
8521 * vc/vc.el (ediff-vc-internal): Declare function.
8522
024ff170
SM
85232011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8524
c0a193ea
SM
8525 * shell.el: Use lexical-binding and std completion UI.
8526 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8527 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8528 comint-preoutput-filter-functions rather than on
8529 comint-output-filter-functions.
8530 (shell-command-completion, shell--command-completion-data)
8531 (shell-filename-completion, shell-environment-variable-completion)
8532 (shell-c-a-p-replace-by-expanded-directory): New functions.
8533 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8534 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8535 (shell-dynamic-complete-environment-variable): Use them.
8536 (shell-dynamic-complete-as-environment-variable)
8537 (shell-dynamic-complete-as-command): Remove.
8538 (shell-match-partial-variable): Match past point.
8539 * comint.el: Clean up use of completion-at-point-functions.
8540 (comint-completion-at-point): New function.
8541 (comint-mode): Use it completion-at-point-functions.
8542 (comint-dynamic-complete): Make it obsolete.
8543 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8544 (comint-c-a-p-replace-by-expanded-history): New function.
8545 (comint-dynamic-complete-functions)
8546 (comint-replace-by-expanded-history): Use it.
8547 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8548 termination strings. Try harder to avoid second try-completion.
8549 (completion-in-region-mode-map): Disable bindings that don't work yet.
8550
2dbaa080
SM
8551 * comint.el: Use lexical-binding. Require CL.
8552 (comint-dynamic-complete-functions): Use comint-filename-completion.
8553 (comint-completion-addsuffix): Tweak custom type.
8554 (comint-filename-completion, comint--common-suffix)
8555 (comint--common-quoted-suffix, comint--table-subvert)
8556 (comint--complete-file-name-data): New functions.
8557 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8558 (comint-dynamic-list-filename-completions): Use them.
8559 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8560
2dbaa080
SM
8561 * minibuffer.el (completion-in-region-mode):
8562 Keep completion-in-region-mode--predicate global.
8563 (completion-in-region--postch):
8564 Assume completion-in-region-mode--predicate is not null.
8565
c79a6f38
SM
8566 * progmodes/flymake.el (flymake-start-syntax-check-process):
8567 Obey `dir'. Simplify.
8568
024ff170
SM
8569 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8570 we're in VC after all.
8571
1c6c854e
CS
85722011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8573
8574 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8575 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8576 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8577
bed7f140
SM
85782011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8579
332e62ab
SM
8580 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8581 add sanity check.
8582
bed7f140
SM
8583 * obsolete/erc-hecomplete.el: Make obsolete.
8584 * obsolete/: Standardize obsolescence info in the header.
8585
f195c582
GM
85862011-04-20 Glenn Morris <rgm@gnu.org>
8587
8588 * calendar/solar.el (solar-horizontal-coordinates):
8589 Use the longitude argument rather than `calendar-longitude'.
8590 (solar-date-next-longitude): Remove unused locals.
8591
cb79b8c0
VJL
85922011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8593
8594 * whitespace.el: New version 13.2.1.
8595
85962011-04-20 felix <EmacsWiki> (tiny change)
8597
d8e4b68b 8598 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8599 switching between major modes on a file.
8600
602ea69d
SM
86012011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8604 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8605 multi-line comments as well.
8606
06b60517
JB
86072011-04-19 Juanma Barranquero <lekktu@gmail.com>
8608
8609 Lexical-binding cleanup.
8610
8611 * arc-mode.el (archive-mode-revert):
8612 * cmuscheme.el (scheme-interactively-start-process):
8613 * custom.el (custom-initialize-delay):
8614 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8615 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8616 * emacs-lock.el (emacs-lock-clear-sentinel):
8617 * ezimage.el (defezimage):
8618 * follow.el (follow-avoid-tail-recenter):
8619 * fringe.el (set-fringe-mode-1):
8620 * generic-x.el (bat-generic-mode-compile):
8621 * help-mode.el (help-info-variable, help-do-xref)
8622 (help-mode-revert-buffer):
8623 * help.el (view-emacs-todo):
8624 * iswitchb.el (iswitchb-completion-help):
8625 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8626 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8627 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8628 * locate.el (locate-update):
8629 * longlines.el (longlines-encode-region)
8630 (longlines-after-change-function):
8631 * outline.el (outline-isearch-open-invisible):
8632 * ps-def.el (declare-function, charset-dimension, char-width)
8633 (encode-char):
8634 * ps-mule.el (ps-mule-plot-string):
8635 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8636 (recentf-edit-list-select, recentf-edit-list-validate)
8637 (recentf-open-files-action):
8638 * rect.el (delete-whitespace-rectangle-line)
8639 (rectangle-number-line-callback):
8640 * register.el (window-configuration-to-register)
8641 (frame-configuration-to-register):
8642 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8643 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8644 (xselect-convert-to-targets, xselect-convert-to-delete)
8645 (xselect-convert-to-filename, xselect-convert-to-charpos)
8646 (xselect-convert-to-lineno, xselect-convert-to-colno)
8647 (xselect-convert-to-os, xselect-convert-to-host)
8648 (xselect-convert-to-user, xselect-convert-to-class)
8649 (xselect-convert-to-name, xselect-convert-to-integer)
8650 (xselect-convert-to-atom, xselect-convert-to-identity):
8651 * subr.el (declare, ignore, process-kill-without-query)
8652 (text-clone-maintain):
8653 * terminal.el (te-get-char, te-tic-sentinel):
8654 * tool-bar.el (tool-bar-make-keymap):
8655 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8656 * type-break.el (type-break-mode, type-break-noninteractive-query):
8657 * view.el (View-back-to-mark):
8658 * wid-browse.el (widget-browse-action, widget-browse-widget)
8659 (widget-browse-widgets, widget-browse-sexp):
8660 * widget.el (define-widget-keywords):
8661 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8662 Mark unused parameters.
8663
8664 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8665 (align-areas): Remove unused variable `look'.
8666 (align-region): Remove unused variables `real-end' and `pos-list'.
8667
8668 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8669
8670 * bindings.el (mode-line-modified, mode-line-remote):
8671 Mark unused parameters.
8672 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8673
8674 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8675 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8676
8677 * comint.el (comint-history-isearch-pop-state)
8678 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8679 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8680 (comint-substitute-in-file-name): Doc fix.
8681
8682 * completion.el (cmpl-statistics-block): Mark unused parameter.
8683 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8684 (save-completions-to-file, load-completions-from-file):
8685 Remove unused local variable `e'.
8686
8687 * composite.el (compose-chars): Remove unused variable `len'.
8688 (lgstring-insert-glyph): Remove unused variable `g'.
8689 (compose-glyph-string): Remove unused variables `ascent',
8690 `descent', `lbearing' and `rbearing'.
8691 (compose-glyph-string-relative): Remove unused variables
8692 `lbearing', `rbearing' and `wadjust'.
8693 (compose-gstring-for-graphic): Remove unused variables `header',
8694 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8695 (compose-gstring-for-terminal): Remove unused variables `header'
8696 and `nchars'. Use `let', not `let*'.
8697
8698 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8699 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8700 (Custom-buffer-done, custom-buffer-create-internal)
8701 (custom-browse-visibility-action, custom-browse-group-tag-action)
8702 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8703 (widget-magic-mouse-down-action, custom-toggle-parent)
8704 (custom-add-parent-links, custom-toggle-hide-variable)
8705 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8706 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8707 (custom-face-menu-create, custom-variable-menu-create, get)
8708 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8709 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8710 (customize-apropos): Remove unused variable `tests'.
8711 (custom-group-value-create): Remove unused variable `hidden-p'.
8712 (sort-fold-case): Declare.
8713
8714 * cus-theme.el (custom-reset-standard-faces-list)
8715 (custom-reset-standard-variables-list): Declare.
8716 (customize-create-theme, custom-theme-revert, custom-theme-write)
8717 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8718 Mark unused parameters.
8719
8720 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8721
8722 * delim-col.el (delimit-columns-max): Move defvar before first use.
8723
8724 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8725 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8726
8727 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8728 (auto-insert): Declare.
8729 (desktop-restore-file-buffer): Rename desktop-* parameters;
8730 mark unused ones.
8731 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8732 (desktop-buffer): Rename desktop-* parameters.
8733
8734 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8735 (dframe-reposition-frame-xemacs, dframe-help-echo)
8736 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8737 Mark unused parameters.
8738
8739 * dired-aux.el (backup-extract-version-start, overwrite-query)
8740 (overwrite-backup-query, rename-regexp-query)
8741 (rename-non-directory-query): Declare.
8742 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8743 (dired-add-entry): Remove unused variable `orig-file-name'.
8744 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8745 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8746 `dired-copy-preserve-time' directly.
8747 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8748 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8749
8750 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8751 (dired-virtual-revert, dired-make-relative-symlink):
8752 Mark unused parameters.
8753 (manual-program): Declare.
8754 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8755 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8756 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8757
8758 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8759
8760 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8761
8762 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8763 Declare.
8764
8765 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8766
8767 * electric.el (Electric-command-loop): Rename parameter
8768 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8769
8770 * expand.el (expand-in-literal): Remove unused variable `here'.
8771
8772 * facemenu.el (facemenu-add-new-color):
8773 Remove unused variable `docstring'.
8774
8775 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8776 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8777 (face-attr-construct): Mark unused parameter. Doc fix.
8778 (read-color): Remove unused variable `hex-string'.
8779
8780 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8781 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8782 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8783 (display-buffer-other-frame): Remove unused variable `old-window'.
8784 (kill-buffer-hook): Declare.
8785 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8786 Mark unused parameters.
8787 (after-find-file): Pass 1 to `auto-save-mode', not t.
8788
8789 * files-x.el (auto-insert): Declare.
8790 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8791
8792 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8793 variable `buf'. Mark unused parameter.
06b60517
JB
8794 (find-lisp-insert-directory): Mark unused parameter.
8795
8796 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8797 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8798 (format-common-tail): Remove, unused.
8799 (format-deannotate-region): Remove unused variable `loc'.
8800 (format-annotate-region): Remove unused variable `p'.
8801 (format-annotate-single-property-change): Remove unused variables
8802 `default' and `tail'.
8803
8804 * forms.el (read-file-filter): Declare.
8805 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8806
8807 * frame.el (frame-creation-function-alist): Mark unused parameter.
8808 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8809
8810 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8811 Remove unused parameters.
8812 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8813 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8814
8815 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8816 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8817 (hfy-prepare-tag-map): Mark unused parameters.
8818 (htmlfontify-buffer): Use `called-interactively-p'.
8819
8820 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8821 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8822 (ibuffer-do-occur): Mark unused parameters.
8823 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8824 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8825
8826 * ibuffer.el: Don't quote `lambda'.
8827 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8828 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8829 Mark unused parameters.
8830
8831 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8832 (ido-completing-read): Mark unused parameters.
8833 (ido-copy-current-word): Mark unused parameters;
8834 remove unused variable `name'.
8835 (ido-sort-merged-list): Remove unused parameter `dirs'.
8836
8837 * ielm.el (ielm-input-sender): Mark unused parameter.
8838 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8839 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8840 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8841 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8842 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8843
8844 * image-dired.el (image-dired-display-thumbs): Remove unused
8845 variables `curr-file' and `count'.
8846 (image-dired-remove-tag): Remove unused variable `start'.
8847 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8848 variable `curr-file'
8849 (image-dired-rotate-original): Remove unused variable `temp-file'.
8850 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8851 Remove unused variable `file'.
8852 (image-dired-gallery-generate): Remove unused variable `curr'.
8853 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8854
8855 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8856
8857 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8858
8859 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8860
8861 * isearch.el (minibuffer-history-symbol): Declare.
8862 (isearch-edit-string): Remove unused variable `err'.
8863 (isearch-message-prefix, isearch-message-suffix):
8864 Mark unused parameters.
8865
8866 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8867
8868 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8869
8870 * makesum.el (double-column): Remove unused variable `cnt'.
8871
8872 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8873 (ido-ignore-item-temp-list): Declare.
8874
8875 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8876 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8877 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8878 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8879 `mouse-col-delta'.
8880
8881 * mouse-sel.el (mouse-extend-internal):
8882 Remove unused variable `orig-window-frame'.
8883
8884 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8885 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8886 Move declarations before first use.
8887 (pcomplete-opt): Mark unused parameters; doc fix.
8888
8889 * proced.el (proced-revert): Mark unused parameter.
8890 (proced-send-signal): Remove unused variable `err'.
8891
8892 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8893 Rename parameter PREFIX-ARG to ARG.
8894 (ps-basic-plot-string, ps-basic-plot-whitespace):
8895 Mark unused parameters.
8896
8897 * replace.el (replace-count): Define.
8898 (occur-revert-function): Mark unused parameters.
8899 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8900 (isearch-case-fold-search, isearch-string): Declare.
8901 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8902 bind `case-fold-search'. Remove unused variables `beg' and `end',
8903 and simplify.
8904 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8905 COUNT and bind `replace-count'.
8906 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8907 to COUNT.
8908
8909 * savehist.el (print-readably, print-string-length): Declare.
8910
8911 * shadowfile.el (shadow-expand-cluster-in-file-name):
8912 Remove unused variable `cluster'.
8913 (shadow-copy-file): Remove unused variable `i'.
8914 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8915 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8916 (shadow-define-literal-group, shadow-define-regexp-group)
8917 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8918
8919 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8920 (shell): Use `called-interactively-p'.
8921 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8922
8923 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8924 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8925 (delete-backward-char): Remove unused variable `ocol'.
8926 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8927 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8928 (event-apply-hyper-modifier, event-apply-shift-modifier)
8929 (event-apply-control-modifier, event-apply-meta-modifier):
8930 Mark unused parameters.
8931 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8932 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8933
8934 * speedbar.el (speedbar-ignored-directory-expressions)
8935 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8936 (speedbar-find-file, speedbar-dir-follow)
8937 (speedbar-directory-buttons-follow, speedbar-tag-find)
8938 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8939 (speedbar-buffers-line-directory, speedbar-buffer-click):
8940 Mark unused parameters.
8941 (speedbar-tag-file): Remove unused variable `mode'.
8942 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8943
8944 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8945
8946 * talk.el (talk): Remove unused variable `display'.
8947
8948 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8949 (tar-write-region-annotate): Mark unused parameter.
8950
8951 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8952 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8953 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8954 warning by another.
8955
8956 * time-stamp.el (time-stamp-string-preprocess):
8957 Remove unused variable `require-padding'.
8958
8959 * tree-widget.el (widget-glyph-enable): Declare.
8960 (tree-widget-action): Mark unused parameter.
8961
8962 * w32-fns.el (x-get-selection): Mark unused parameter.
8963 (autoload-make-program, generated-autoload-file): Declare.
8964
8965 * wdired.el (wdired-revert): Mark unused parameters.
8966 (wdired-xcase-word): Remove unused variable `err'.
8967
8968 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8969 (whitespace-help-scroll): Remove unused variable `data-help'.
8970
8971 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8972 (widget-image-insert, widget-after-change, default)
8973 (widget-default-format-handler, widget-default-notify)
8974 (widget-default-prompt-value, widget-info-link-action)
8975 (widget-url-link-action, widget-function-link-action)
8976 (widget-variable-link-action, widget-file-link-action)
8977 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8978 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8979 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8980 (widget-insert-button-action, widget-delete-button-action, visibility)
8981 (widget-documentation-link-action, widget-documentation-string-action)
8982 (widget-const-prompt-value, widget-regexp-match, symbol)
8983 (widget-coding-system-prompt-value)
8984 (widget-key-sequence-value-to-external, sexp)
8985 (widget-sexp-value-to-internal, character, vector, cons)
8986 (widget-choice-prompt-value, widget-boolean-prompt-value)
8987 (widget-color--choose-action): Mark unused parameters.
8988 (widget-item-match-inline, widget-choice-match-inline)
8989 (widget-checklist-match, widget-checklist-match-inline)
8990 (widget-group-match): Rename parameter VALUES to VALS.
8991 (widget-field-value-set): Remove unused variable `size'.
8992 (widget-color-action): Remove unused variables `value' and `start'.
8993
8994 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8995 variable `dir'. Doc fix.
06b60517
JB
8996 (windmove-find-other-window): Don't pass it.
8997
8998 * window.el (count-windows): Mark unused parameter.
8999 (bw-adjust-window): Remove unused variable `err'.
9000
9001 * woman.el (woman-file-name): Remove unused variable `default'.
9002 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9003 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9004 (global-font-lock-mode): Declare.
9005 (woman-decode-region): Mark unused parameter.
9006 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9007
9008 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9009 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9010 (x-dnd-handle-moz-url): Remove unused variable `title'.
9011 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9012
9013 * xml.el (xml-parse-tag, xml-parse-attlist):
9014 Remove unused variable `pos'.
9015
bc4f7f3d
GM
90162011-04-19 Glenn Morris <rgm@gnu.org>
9017
9018 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9019 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9020 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9021 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9022 * calendar/cal-html.el (cal-html-insert-minical):
9023 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9024 (calendar-mark-date-pattern):
9025 Prefix "unused" locals.
9026
9027 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9028 optional argument `style'.
9029
9030 * calendar/appt.el (appt-make-list):
9031 * calendar/cal-china.el (calendar-chinese-date-string):
9032 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9033 (diary-hebrew-yahrzeit):
9034 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9035 * calendar/calendar.el (calendar-generate-window):
9036 * calendar/time-date.el (time-to-days):
9037 Remove unused local variables.
9038
16a43933
CY
90392011-04-18 Chong Yidong <cyd@stupidchicken.com>
9040
9041 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9042 glyphless-char-display table.
9043 (tabulated-list-glyphless-char-display): New var.
9044
7eed1860
SS
90452011-04-18 Sam Steingold <sds@gnu.org>
9046
9047 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9048 to acknowledgments.
9049
4d2d1ccd
GM
90502011-04-17 Glenn Morris <rgm@gnu.org>
9051
9052 * calendar/diary-lib.el (diary-sexp-entry):
9053 * calendar/holidays.el (holiday-sexp):
9054 Set debug-on-error rather than the removed stack-trace-on-error.
9055
239da61d
GM
90562011-04-16 Glenn Morris <rgm@gnu.org>
9057
9058 * progmodes/f90.el: Use lexical-binding.
9059 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9060
8b05752a
SM
90612011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9062
daca8ba5
SM
9063 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9064 (mail-mode): Setup mailalias completion here instead.
9065 * mail/mailalias.el: Use lexical-binding.
9066 (pattern, mailalias-done): Declare dynamic.
9067 (mail-completion-at-point-function): New function, from mail-complete.
9068 (mail-complete): Use it.
9069 (mail-completion-expand): New function.
9070 (mail-get-names): Use it.
9071 (mail-directory, mail-directory-process, mail-directory-stream):
9072 Don't use `pattern' for lexically bound arg.
9073
6f542485
SM
9074 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9075
037e7c3f
SM
9076 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9077 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9078 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9079
8b05752a
SM
9080 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9081 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9082 (byte-interactive-p): Define them again, for use when inlining
9083 old code.
9084
49093f60
JB
90852011-04-15 Juanma Barranquero <lekktu@gmail.com>
9086
9087 * loadup.el: Use `string-to-number', not `string-to-int'.
9088
b5b8e7de
SM
90892011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9092 gud-gdb-complete-command.
9093 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9094 (gud-gdb-completion-at-point): New function.
9095 (gud-gdb-completions): Remove.
9096
f42efeb5
MA
90972011-04-14 Michael Albinus <michael.albinus@gmx.de>
9098
49093f60
JB
9099 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9100 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9101 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9102 whether `executable-find' is bound.
f42efeb5
MA
9103
9104 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9105
e240cc21
SM
91062011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * minibuffer.el (completion-in-region-mode-predicate)
9109 (completion-in-region-mode--predicate): New vars.
9110 (completion-in-region, completion-in-region--postch)
9111 (completion-in-region-mode): Use them.
9112 (completion--capf-wrapper): Also return the hook function.
9113 (completion-at-point, completion-help-at-point):
9114 Adjust and provide a predicate.
c2bd2ab0
SM
9115
9116 Preserve arg names for advice of subr and lexical functions (bug#8457).
9117 * help-fns.el (help-function-arglist): Consolidate the subr and
9118 new-byte-code cases. Add argument `preserve-names' to extract names
9119 from the docstring when needed.
9120 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9121 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9122 (ad-arglist): Use help-function-arglist's new arg.
9123 (ad-definition-type): Use cond.
9124
c183f693
JB
91252011-04-13 Juanma Barranquero <lekktu@gmail.com>
9126
06641a47
JB
9127 * autorevert.el (auto-revert-handler):
9128 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9129 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9130 Don't quote lambda.
9131
c183f693
JB
9132 * image-mode.el (image-transform-set-scale):
9133 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9134
1e3b6001
G
91352011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9136
9137 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9138 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9139 Upgrades via gnutls-cli are too slow to be done opportunistically.
9140
2d6af8dd
JB
91412011-04-12 Juanma Barranquero <lekktu@gmail.com>
9142
9143 * dframe.el (dframe-current-frame): Remove spurious quote.
9144
c0749a51
GM
91452011-04-12 Glenn Morris <rgm@gnu.org>
9146
088d0d61
GM
9147 * calendar/cal-tex.el (cal-tex-end-document):
9148 Try to automatically use latin1 input if needed.
9149
c0749a51
GM
9150 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9151 Don't try to cons a mark onto an empty element.
9152
5c90fde0
LL
91532011-04-11 Leo Liu <sdl.web@gmail.com>
9154
9155 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9156 buffers.
9157 (ido-kill-buffer-at-head): Support killing virtual buffers.
9158
369e974d
CY
91592011-04-10 Chong Yidong <cyd@stupidchicken.com>
9160
9161 * minibuffer.el (completion-show-inline-help): New var.
9162 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9163 (minibuffer-force-complete, minibuffer-complete-word):
9164 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9165
9166 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9167 to avoid interference from inline help (Bug#5849).
9168
37f1c930
LL
91692011-04-10 Leo Liu <sdl.web@gmail.com>
9170
099c39a4
JB
9171 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9172 Fix typo.
37f1c930 9173
a32d4040
CY
91742011-04-09 Chong Yidong <cyd@stupidchicken.com>
9175
9176 * image-mode.el (image-toggle-display-image): Signal an error if
9177 not in Image mode.
9178 (image-transform-mode, image-transform-resize)
9179 (image-transform-set-rotation): Doc fix.
daca8ba5 9180 (image-transform-set-resize): Delete.
a32d4040
CY
9181 (image-transform-set-scale, image-transform-fit-to-height)
9182 (image-transform-fit-to-width): Handle image-toggle-display-image
9183 and image-transform-resize directly.
9184
099c39a4 91852011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9186
9187 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9188 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9189 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9190 (doc-view-mode-map): Add bindings for the new functions.
9191
099c39a4 91922011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9193
4d61f28d 9194 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9195 Fix typo in docstring.
9196
3726838a
EZ
91972011-04-08 Eli Zaretskii <eliz@gnu.org>
9198
04f33f1e
EZ
9199 * files.el (file-size-human-readable): Produce one digit after
9200 decimal, like "ls -lh" does.
9201
9202 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9203 the file size representation.
9204
3726838a
EZ
9205 * simple.el (list-processes): If async subprocesses are not
9206 available, error out with a clear error message.
9207
cbb59342
CY
92082011-04-08 Chong Yidong <cyd@stupidchicken.com>
9209
9210 * help.el (help-form-show): New function, to be called from C.
9211 Put help-form output in a buffer named differently than *Help*.
9212
e3971c44
EZ
92132011-04-08 Eli Zaretskii <eliz@gnu.org>
9214
9215 * files.el (file-size-human-readable): New function.
9216
9217 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9218 computing the representation inline. Don't require `cl'.
9219
12544bbe
GM
92202011-04-08 Glenn Morris <rgm@gnu.org>
9221
a1de6c6a
GM
9222 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9223
3c4671f4
GM
9224 * net/browse-url.el (browse-url-firefox):
9225 Test system-type, not system-configuration.
9226
b605679c
GM
9227 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9228 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9229 Use log-edit-empty-buffer-p. (Bug#7598)
9230
56442f0c
GM
9231 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9232 (rlogin-mode-map): Initialize in the defvar.
9233 (rlogin): Use ignore-errors.
9234
12544bbe
GM
9235 * replace.el (occur-mode-map): Some fixes for menu items.
9236
eb237b0f
AH
92372011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9238
9239 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9240
7d668f2c
CY
92412011-04-06 Chong Yidong <cyd@stupidchicken.com>
9242
e67a13ab
CY
9243 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9244 issuing unused warnings.
9245
9246 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9247 macro directly.
9248
7d668f2c
CY
9249 * simple.el: Lisp reimplement of list-processes. Based on an
9250 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9251 (process-menu-mode): New major mode.
9252 (list-processes--refresh, list-processes):
9253 (process-menu-visit-buffer): New functions.
9254
9255 * files.el (save-buffers-kill-emacs): Don't assume any return
9256 value of list-processes, which is undocumented anyway.
9257
a83ec3c9
CY
92582011-04-06 Chong Yidong <cyd@stupidchicken.com>
9259
9260 * emacs-lisp/tabulated-list.el: New file.
9261
e91a96fe
CY
9262 * emacs-lisp/package.el: Use Tabulated List mode.
9263 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9264 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9265 table format using Tabulated List mode variables.
9266 (package--push): New macro, replacing package-list-maybe-add.
9267 (package-menu--generate): Use package--push. Renamed from
9268 package--generate-package-list.
9269 (package-menu-refresh, list-packages): Use it.
daca8ba5 9270 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9271 Return insertion data instead of inserting it directly.
099c39a4
JB
9272 (package-menu-describe-package, package-menu-execute):
9273 Use tabulated-list-get-id.
e91a96fe
CY
9274 (package-menu-mark-delete, package-menu-mark-install)
9275 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9276 (package-menu-mark-obsolete-for-deletion):
9277 Use tabulated-list-put-tag.
e91a96fe
CY
9278 (package--list-packages, package-menu-revert)
9279 (package-menu-get-package, package-menu-get-version)
9280 (package-menu-sort-by-column): Functions deleted.
9281 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9282 (package-menu--status-predicate, package-menu--version-predicate)
9283 (package-menu--name-predicate)
9284 (package-menu--description-predicate): Handle arguments in the
9285 Tabulated List format.
9286 (package-list-packages-no-fetch): Call list-packages.
9287
3e214b50
JB
92882011-04-06 Juanma Barranquero <lekktu@gmail.com>
9289
9290 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9291 (after-find-file): Don't bind it.
3e214b50
JB
9292 (revert-buffer-in-progress-p): New variable.
9293 (revert-buffer): Bind it.
9294 Pass nil for `after-find-file-from-revert-buffer'.
9295
9296 * saveplace.el (save-place-find-file-hook): Use new variable
9297 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9298
3f0f1700
GM
92992011-04-06 Glenn Morris <rgm@gnu.org>
9300
c0274801
GM
9301 * Makefile.in (AUTOGEN_VCS): New variable.
9302 (autoloads): Use $AUTOGEN_VCS.
9303
3f0f1700
GM
9304 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9305 * calendar/calendar.el (calendar-mode-map):
9306 Check for toolkit scroll bars. (Bug#8305)
9307
41ea9e48
CY
93082011-04-05 Chong Yidong <cyd@stupidchicken.com>
9309
9310 * minibuffer.el (completion-in-region--postch)
9311 (completion-in-region-mode): Remove unnecessary messages.
9312
6194c800
JB
93132011-04-05 Juanma Barranquero <lekktu@gmail.com>
9314
33256f14
JB
9315 * font-lock.el (font-lock-refresh-defaults):
9316 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9317 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9318
6194c800
JB
9319 * info.el (Info-directory-list, Info-read-node-name-2)
9320 (Info-split-parameter-string): Doc fixes.
9321 (Info-virtual-nodes): Reflow docstring.
9322 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9323 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9324 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9325 Fix typos in docstrings.
9326 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9327 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9328 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9329 (Info-restore-desktop-buffer): Mark unused parameters.
9330 (Info-directory-find-file, Info-directory-find-node)
9331 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9332 (Info-virtual-index-find-node, Info-apropos-find-file)
9333 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9334 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9335 (Info-virtual-index): Remove unused local variable `nodename'.
9336
b87a8200 93372011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9338
b87a8200
DD
9339 * net/rcirc.el: Update my e-mail address.
9340 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9341
3b2ff876
CY
93422011-04-05 Chong Yidong <cyd@stupidchicken.com>
9343
9344 * startup.el (command-line): Save the cursor's theme-face
9345 directly, instead of using face-override-spec.
9346
9347 * custom.el (load-theme): Minor optimization in assigning faces.
9348
8d17e7ca
JB
93492011-04-04 Juanma Barranquero <lekktu@gmail.com>
9350
9351 * help-fns.el (describe-variable): Complete all variables having
9352 documentation, including keywords.
9353 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9354
2fbc1934
JB
93552011-04-04 Juanma Barranquero <lekktu@gmail.com>
9356
9357 Convert to lexical-binding.
9358
9359 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9360 (bs--get-marked-string, bs--get-modified-string)
9361 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9362 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9363 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9364
9365 * ehelp.el (electric-help-execute-extended)
9366 (electric-help-ctrl-x-prefix):
9367 * hexl.el (hexl-revert-buffer-function):
9368 * linum.el (linum-after-change, linum-after-scroll):
9369 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9370
9371 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9372
74f50695
DU
93732011-04-04 Daiki Ueno <ueno@unixuser.org>
9374
9375 * epa-dired.el:
9376 * epa-mail.el:
9377 * epa-hook.el:
9378 * epa-file.el:
9379 * epa.el:
9380 * epg.el: Use lexical binding.
9381
c11325f7
CY
93822011-04-03 Chong Yidong <cyd@stupidchicken.com>
9383
0d9e9a12
CY
9384 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9385
c11325f7 9386 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9387 dictionary case for flyspell-mark-duplications-exceptions.
9388 Use regexp matching for languages.
c11325f7
CY
9389 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9390 default dictionary (Bug#7926).
9391
da91b5f2
CY
93922011-04-02 Chong Yidong <cyd@stupidchicken.com>
9393
099c39a4
JB
9394 * emacs-lisp/package.el (package--with-work-buffer):
9395 Recognize https URLs.
da91b5f2 9396
099c39a4
JB
9397 * net/network-stream.el: Move from gnus/proto-stream.el.
9398 Change prefix to network-stream throughout.
da91b5f2
CY
9399 (open-protocol-stream): Merge into open-network-stream, leaving
9400 open-protocol-stream as an alias. Handle nil BUFFER args.
9401
9402 * subr.el (open-network-stream): Move to net/network-stream.el.
9403
afa8e9f6
GM
94042011-04-02 Glenn Morris <rgm@gnu.org>
9405
1d2e369d
GM
9406 * find-dired.el (find-exec-terminator): New option.
9407 (find-ls-option): Test for -ls support.
9408 (find-ls-subdir-switches): Test for -b in find-ls-option.
9409 (find-dired, find-grep-dired): Doc fixes.
9410 (find-dired): Use find-exec-terminator.
9411
8abb7da8 9412 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9413 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9414 (find-name-arg): Remove purecopy.
8abb7da8 9415
f3ca7378
GM
9416 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9417 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9418 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9419 accordingly. Don't add the null-device if not needed.
9420
afa8e9f6
GM
9421 * files.el (save-some-buffers): Doc fix.
9422
35eae264
EZ
94232011-04-02 Eli Zaretskii <eliz@gnu.org>
9424
9425 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9426
26b51db5
JB
94272011-04-01 Juanma Barranquero <lekktu@gmail.com>
9428
9429 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9430 Use `dolist' rather than `mapcar'.
9431
7200d79c
SM
94322011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9433
03408648 9434 Add lexical binding.
7200d79c 9435
03408648
SM
9436 * subr.el (apply-partially): Use new closures rather than CL.
9437 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9438 (dolist, dotimes): Use slightly different expansion for lexical code.
9439 (functionp): Move to C.
9440 (letrec): New macro.
9441 (with-wrapper-hook): Use it and apply-partially instead of CL.
9442 (eval-after-load): Preserve lexical-binding.
9443 (save-window-excursion, with-output-to-temp-buffer): Turn them
9444 into macros.
7200d79c 9445
03408648
SM
9446 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9447
9448 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9449 than the arglist.
9450 (help-add-fundoc-usage): Don't add `Not documented'.
9451 (help-function-arglist): Handle closures, subroutines, and new
9452 byte-code-functions.
9453 (help-make-usage): Remove leading underscores.
9454 (describe-function-1): Handle closures.
9455 (describe-variable): Use special-variable-p for completion.
9456
9457 * files.el (lexical-binding): Declare safe.
f488fb65 9458
03408648
SM
9459 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9460 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9461 (pcase): Add `let' pattern.
9462 Change memoization so it actually works.
9463 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9464 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9465 <let>: New case.
f488fb65 9466
03408648
SM
9467 * emacs-lisp/macroexp.el: Use lexical binding.
9468 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9469 Don't convert ' to #' without checking that it's indeed quoting
9470 a lambda.
9471
9472 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9473 Use eval-sexp-add-defvars.
03408648
SM
9474 (eval-sexp-add-defvars): New fun.
9475
9476 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9477
9478 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9479 Don't autoload.
9480 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9481 than the internal `byte-compile-lambda'.
9482 (defmethod): Don't hide code under quotes.
9483 (eieio-defmethod): New `code' argument.
9484
9485 * emacs-lisp/eieio-comp.el: Remove.
9486
9487 * emacs-lisp/edebug.el (edebug-eval-defun)
9488 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9489 (edebug-toggle): Avoid `eval'.
9490
9491 * emacs-lisp/disass.el (disassemble-internal): Handle new
9492 `closure' objects.
9493 (disassemble-1): Handle new byte codes.
9494
9495 * emacs-lisp/cl.el (pushnew): Silence warning.
9496
9497 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9498 (cl-byte-compile-throw): Remove.
9499 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9500
9501 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9502 closures.
9503
9504 * emacs-lisp/cconv.el: New file.
9505
9506 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9507 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9508 (byte-compile-initial-macro-environment):
9509 Handle declare-function here.
9510 (byte-compile--lexical-environment): New var.
9511 (byte-stack-ref, byte-stack-set, byte-discardN)
9512 (byte-discardN-preserve-tos): New lap codes.
9513 (byte-interactive-p): Don't use any more.
9514 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9515 New macros.
9516 (byte-compile-lapcode): Use them and handle new lap codes.
9517 (byte-compile-obsolete): Remove.
9518 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9519 (byte-compile-arglist-warn): Check late def of inlinable funs.
9520 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9521 since they should have been expanded by now.
9522 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9523 (byte-compile-from-buffer): Remove unused second arg.
9524 (byte-compile-preprocess): New function.
9525 (byte-compile-toplevel-file-form): New function to distinguish
9526 file-form calls from outside from file-form calls from hunk-handlers.
9527 (byte-compile-file-form): Simplify.
9528 (byte-compile-file-form-defsubst): Remove.
9529 (byte-compile-file-form-defmumble): Simplify now that
9530 byte-compile-lambda always returns a byte-code-function.
9531 (byte-compile): Preprocess.
9532 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9533 Remove, not used any more.
9534 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9535 (byte-compile-make-args-desc): New funs.
9536 (byte-compile-lambda): Handle lexical functions. Always return
9537 a byte-code-function.
9538 (byte-compile-reserved-constants): New var, to make up room for
9539 closed-over variables.
9540 (byte-compile-constants-vector): Obey it.
9541 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9542 (byte-compile-macroexpand-declare-function): New function.
9543 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9544 byte-code-functions.
9545 (byte-compile-form): Check obsolescence here.
9546 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9547 (byte-compile-variable-ref): Remove.
9548 (byte-compile-dynamic-variable-op): New fun.
9549 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9550 (byte-compile-variable-set): New funs.
9551 (byte-compile-discard): Add 2 args.
9552 (byte-compile-stack-ref, byte-compile-stack-set)
9553 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9554 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9555 macroexpand-all instead.
9556 (byte-compile-quote-form): Remove.
9557 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9558 (byte-compile-bind, byte-compile-unbind): New funs.
9559 (byte-compile-let): Handle let* and lexical binding.
9560 (byte-compile-let*): Remove.
9561 (byte-compile-catch, byte-compile-unwind-protect)
9562 (byte-compile-track-mouse, byte-compile-condition-case):
9563 Handle a new :fun-body form, used for lexical scoping.
9564 (byte-compile-save-window-excursion)
9565 (byte-compile-with-output-to-temp-buffer): Remove.
9566 (byte-compile-defun): Simplify.
9567 (byte-compile-stack-adjustment): New fun.
9568 (byte-compile-out): Use it.
9569 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9570
9571 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9572 handler any more.
9573
9574 * emacs-lisp/byte-opt.el: Use lexical binding.
9575 (byte-inline-lapcode): Remove (to bytecomp).
9576 (byte-compile-inline-expand): Pay attention to inlining to/from
9577 lexically bound code.
9578 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9579 any more.
9580 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9581 any more and don't call compiler-macros.
9582 (byte-compile-splice-in-already-compiled-code): Remove.
9583 (byte-code): Don't inline any more.
9584 (disassemble-offset): Receive `bytes' as argument rather than via
9585 dynamic scoping.
9586 (byte-compile-tag-number): Declare before first use.
9587 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9588 `return' even if make-spliceable.
9589 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9590 obsolete interactive-p.
9591 (byte-optimize-lapcode): Optimize new lap-codes.
9592 Don't trip up on new form of `byte-constant' lap code.
9593
9594 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9595
9596 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9597
9598 * custom.el (custom-initialize-default, custom-declare-variable):
9599 Use `defvar'.
9600
9601 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9602 New variables.
9603 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9604 (COMPILE_FIRST): Add macroexp and cconv.
9605 * makefile.w32-in: Mirror changes in Makefile.in.
9606
9607 * vc/cvs-status.el:
9608 * vc/diff-mode.el:
9609 * vc/log-edit.el:
9610 * vc/log-view.el:
9611 * vc/smerge-mode.el:
9612 * textmodes/bibtex-style.el:
9613 * textmodes/css.el:
9614 * startup.el:
9615 * uniquify.el:
da91b5f2
CY
9616 * minibuffer.el:
9617 * newcomment.el:
9618 * reveal.el:
9619 * server.el:
9620 * mpc.el:
9621 * emacs-lisp/smie.el:
9622 * doc-view.el:
9623 * dired.el:
03408648
SM
9624 * abbrev.el: Use lexical binding.
9625
0f0c1f27
EZ
96262011-04-01 Eli Zaretskii <eliz@gnu.org>
9627
9628 * info.el (info-display-manual): New function.
9629
c82b2579
SM
96302011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9633
221ddf68
TH
96342011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9635
9636 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9637 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9638
cba6e77e
GM
96392011-03-31 Glenn Morris <rgm@gnu.org>
9640
e040639f
GM
9641 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9642
cba6e77e
GM
9643 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9644
6d0f1c9e
CS
96452011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9646
9647 * progmodes/python.el (python-default-interpreter)
9648 (python-python-command-args, python-jython-command-args)
9649 (python-which-shell, python-which-args, python-which-bufname)
9650 (python-file-queue, python-comint-output-filter-function)
9651 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9652 variables and functions.
9653
3e2d70fd
SM
96542011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9657 (completion-in-region-mode): New minor mode.
9658 (completion-in-region): Use it.
9659 (completion-in-region--data, completion-in-region-mode-map): New vars.
9660 (completion-in-region--postch): New function.
9661 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9662 New vars.
9663 (completion--capf-wrapper): New function.
9664 (completion-at-point): Use it to track well-behavedness of
9665 hook functions.
9666 (completion-help-at-point): New command.
9667
f3e4086c
JM
96682011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9669
9670 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9671 syntax class to search for whitespace on a single line
9672 (Message-ID: <4D938140.4030905@redhat.com>).
9673
eb7ffc14
LL
96742011-03-30 Leo Liu <sdl.web@gmail.com>
9675
9676 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9677 New commands.
9678 (edit-abbrevs-map): Bind them here.
9679 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9680
d806ab68
KM
96812011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9682
9683 * allout.el (allout-hide-by-annotation, allout-flag-region):
9684 Reduce possibility of overlay leakage by making them volatile.
9685
9686 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9687 hash is not shared between buffers. Mode initialization is
9688 responsible for giving it a useful starting value.
9689 (allout-item-span): Reduce possibility of overlay leakage by
9690 making them volatile.
9691 (allout-widgets-count-buttons-in-region): Add diagnostic function
9692 for tracking down button overlay leaks.
9693
ea622834
LL
96942011-03-29 Leo Liu <sdl.web@gmail.com>
9695
9696 * ido.el (ido-read-internal): Use the default history var
9697 minibuffer-history if no HISTORY is specified.
9698
b62f8267
G
96992011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9700
03408648
SM
9701 * net/imap.el (imap-shell-open, imap-process-connection-type):
9702 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9703 Kerberos, SSL, other subprocesses.
9704
947b6566
LL
97052011-03-28 Leo Liu <sdl.web@gmail.com>
9706
9707 * abbrev.el (abbrev-table-empty-p): New function.
9708 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9709 nonempty ones. (Bug#5937)
9710
5ffb62aa
JD
97112011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9712
9713 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9714
7a097943
LL
97152011-03-27 Leo Liu <sdl.web@gmail.com>
9716
9717 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9718 for foreground and background colors.
9719 (ansi-color-make-color-map): Adapt.
9720
c5b40130
LL
97212011-03-25 Leo Liu <sdl.web@gmail.com>
9722
1f48f7d2
LL
9723 * midnight.el (midnight-time-float): Remove. Note it calculates
9724 the microsecond component incorrectly and seconds-to-time does the
9725 same job.
625897ec 9726 Remove redundant (require 'timer).
1f48f7d2 9727
c5b40130
LL
9728 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9729 (ido-completions): Remove unused arguments. (Bug#8329)
9730
d86d2721
SM
97312011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * minibuffer.el (completion--flush-all-sorted-completions):
9734 Remove itself from hook.
9735 (completion-at-point): Let the functions perform the completion
9736 immediately and return nil or t.
9737 * comint.el (comint-dynamic-complete-functions): Now identical to
9738 completion-at-point-functions.
9739 (comint-dynamic-list-input-ring): Remove unused var `index'.
9740 (comint--match-partial-filename, comint--unquote&expand-filename):
9741 New funs, split from comint-match-partial-filename.
9742 (comint-dynamic-complete): Use completion-at-point.
9743 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9744
e8974c48
DA
97452011-03-24 Drew Adams <drew.adams@oracle.com>
9746
9747 * thingatpt.el: Support `defun'.
9748
def71b5e
LL
97492011-03-23 Leo Liu <sdl.web@gmail.com>
9750
cb5af48e
LL
9751 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9752
def71b5e
LL
9753 * help-mode.el (help-mode-finish): Tweak regexp.
9754
927c53e7
GM
97552011-03-23 Glenn Morris <rgm@gnu.org>
9756
18d05bed
GM
9757 * eshell/esh-opt.el (eshell-eval-using-options):
9758 Do not bind unused local variable `eshell-option-stub'.
9759
927c53e7
GM
9760 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9761
9d0da923
JB
97622011-03-22 Juanma Barranquero <lekktu@gmail.com>
9763
9764 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9765 keymap variable in `with-no-warnings' to avoid a warning when the
9766 keymap has been already `defconst'ed.
9767
4b978a67
LL
97682011-03-22 Leo Liu <sdl.web@gmail.com>
9769
9770 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9771 encode all chars in abbrevs; otherwise use emacs-mule or
9772 utf-8-emacs. (Bug#8308)
9773
5fd62452
JB
97742011-03-22 Juanma Barranquero <lekktu@gmail.com>
9775
0b1596c6
JB
9776 * simple.el (backward-delete-char-untabify):
9777 Avoid warning about using `delete-backward-char'.
9778
5fd62452
JB
9779 * image.el (image-type-file-name-regexps): Make it variable.
9780 `imagemagick-register-types' modifies it, and the user may want
9781 to add new extensions for known image types.
9782 (imagemagick-register-types): Throw error if not using ImageMagick.
9783
0b4e93f1
LL
97842011-03-22 Leo Liu <sdl.web@gmail.com>
9785
9786 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9787 located before rcirc-prompt-end-marker.
9788 (rcirc-complete): Error if point is not after rcirc prompt.
9789 Handle the case when table is nil.
9882e214 9790 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9791
fccee4ab
CY
97922011-03-22 Chong Yidong <cyd@stupidchicken.com>
9793
9794 * custom.el (custom--inhibit-theme-enable): Make it affect only
9795 custom-theme-set-variables and custom-theme-set-faces.
9796 (provide-theme): Ignore custom--inhibit-theme-enable.
9797 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9798 (custom-enabling-themes): Delete variable.
d86d2721
SM
9799 (enable-theme): Accept only loaded themes as arguments.
9800 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9801 (custom-enabled-themes): Forbid themes from setting this.
9802 Eliminate use of custom-enabling-themes.
9803 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9804
af896da6
LL
98052011-03-21 Leo Liu <sdl.web@gmail.com>
9806
9807 * ido.el (ido-read-internal): Add ido-selected to history instead
9808 of user input.
9809
78f64af0
SM
98102011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * subr.el (deferred-action-list, deferred-action-function):
9813 Mark obsolete.
9814
b16ac1ec
LL
98152011-03-21 Leo Liu <sdl.web@gmail.com>
9816
810f7698
LL
9817 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9818 change on 2011-02-13 (bug#8309).
9819
b16ac1ec
LL
9820 * minibuffer.el (read-file-name-function): Change default value.
9821 (read-file-name--defaults): Rename from read-file-name-defaults.
9822 (read-file-name-default): Rename from read-file-name.
9823 (read-file-name): Call read-file-name-function.
9824
4e05e67e
GM
98252011-03-21 Glenn Morris <rgm@gnu.org>
9826
9827 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9828 Doc fixes.
9829
4359915b
CY
98302011-03-21 Chong Yidong <cyd@stupidchicken.com>
9831
9832 * cus-theme.el: Add missing provide statement.
9833 (customize-create-theme): Extract theme value correctly.
9834 (custom-theme-visit-theme): Autoload.
9835 (customize-create-theme): Prompt before inserting default faces.
9836
1fe275ee
JB
98372011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9838
9839 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9840 units and musical notes.
9841
cd394be1 98422011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9843
9844 * ido.el (ido-read-internal): Use completing-read-default.
9845 (ido-completing-read): Fix compatibility with completing-read.
9846
7d476bde
CO
98472011-03-20 Christian Ohler <ohler@gnu.org>
9848
9849 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9850 (ert-delete-all-tests): Use `called-interactively-p' rather than
9851 `interactive-p'.
9852 (ert--make-xrefs-region): Respect END.
9853
fe0fb33e
CY
98542011-03-19 Chong Yidong <cyd@stupidchicken.com>
9855
ff854b0b
CY
9856 * dired-aux.el (dired-create-directory): Signal an error if the
9857 directory already exists (Bug#8246).
9858
fe0fb33e
CY
9859 * facemenu.el (list-colors-display): Call list-faces-display
9860 inside with-help-window.
9861 (list-colors-print): Use display property to align the final
9862 column, instead of checking window-width.
9863
576bce32
EZ
98642011-03-19 Eli Zaretskii <eliz@gnu.org>
9865
4d61f28d 9866 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9867 windows-nt systems.
9868 (emerge-protect-metachars): Quote correctly for ms-dos and
9869 windows-nt systems.
9870
89c41d68 98712011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9872
9873 * info.el (info-initialize): Replace all uses of `:' with
9874 path-separator for compatibility with non-Unix systems.
9875 Cache quoting of path-separator. (Bug#8258)
9876
b14e3e21 98772011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9878
9879 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9880 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9881 (mouse-avoidance-mode): Fix typos in docstrings.
9882
4525ce3e
CY
98832011-03-19 Chong Yidong <cyd@stupidchicken.com>
9884
9885 * startup.el (package-subdirectory-regexp): Move from package.el.
9886 Omit \\` and \\', and let callers add them.
9887
9888 * emacs-lisp/package.el (package-strip-version)
9889 (package-load-all-descriptors): Add \\` and \\' to
9890 package-subdirectory-regexp before using it.
9891 (package-untar-buffer): New arg DIR; ensure that file untars only
9892 into this expected directory. Remove superfluous delete-region.
9893 (package-unpack): Caller changed.
9894 (package-tar-file-info): Use package-subdirectory-regexp.
9895
a904a09a 98962011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9897
a904a09a
SM
9898 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9899 diff-mode-shared-map (bug#8284).
9900 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9901
99022011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
9904 * calendar/time-date.el (format-seconds): Use assoc instead of
9905 assoc-string, since assoc-string doesn't exist in XEmacs.
9906
171fc304
JB
99072011-03-17 Juanma Barranquero <lekktu@gmail.com>
9908
9909 * custom.el (custom-known-themes): Reflow docstring.
9910 (custom-theme-load-path): Fix typo in docstring.
9911 (load-theme): Fix typo in error message.
9912 (custom-available-themes, custom-variable-theme-value):
9913 Use `let', not `let*'.
9914
d71990a1
JB
99152011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9916
9917 * calc/README: Mention inclusion of musical notes.
9918
9919 * calc/calc-units.el (calc-lu-quant): Rename from
9920 `calc-logunits-quantity'.
9921 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9922 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9923 (calc-db): Rename from `calc-dblevel'.
9924 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9925 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9926 (calc-np): Rename from `calc-nplevel'.
9927 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9928 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9929 (calc-lu-plus): Rename from `calc-logunits-add'.
9930 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9931 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9932 (calc-lu-minus): Rename from `calc-logunits-sub'.
9933 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9934 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9935 (calc-lu-times): Rename from `calc-logunits-mul'.
9936 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9937 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9938 (calc-lu-divide): Rename from `calc-logunits-div'.
9939 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9940 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9941
9942 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9943 functions being autoloaded.
9944
9945 * calc/calc.el (calc-lu-power-reference): Rename from
9946 `calc-logunits-power-reference'.
9947 (calc-lu-field-reference): Rename from
9948 `calc-logunits-field-reference'.
9949
9950 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9951
40c2934b
SM
99522011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * minibuffer.el (completion-all-sorted-completions):
9955 Use :completion-cycle-penalty text property if present.
9956
b0911414
KM
99572011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9958
9959 * allout.el (allout-yank-processing): Adjust for new rebulleting
9960 regime so bullet being yanked is used without prompting the user
9961 for a choice.
9962
8a05b668
JB
99632011-03-16 Juanma Barranquero <lekktu@gmail.com>
9964
9965 * startup.el (command-line): Warn the user that _emacs is deprecated.
9966
5ba5fb81
JB
99672011-03-16 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9970 (delphi-verbose, delphi-comment-face, delphi-string-face)
9971 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9972 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9973 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9974 (delphi-new-comment-line, delphi-font-lock-defaults)
9975 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9976 Fix typos in docstrings.
9977
2dab465b
KM
99782011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9979
5ba5fb81 9980 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9981 Invert the roles of character and string values for INSTEAD, so a
9982 string is used for the more common case of a defaulting prompt.
9983
0adf5618
SM
99842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 * progmodes/ruby-mode.el (ruby-backward-sexp):
9987 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9988 * play/gamegrid.el (gamegrid-make-face):
9989 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9990 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9991 * notifications.el (notifications-notify):
9992 * net/xesam.el (xesam-search-engines):
9993 * net/quickurl.el (quickurl-list-insert):
9994 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9995
d72700e5
CY
99962011-03-15 Chong Yidong <cyd@stupidchicken.com>
9997
9998 * startup.el (command-line): Update package subdirectory regexp.
9999
49c5410a
SM
100002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10001
c6eee9aa
SM
10002 * allout.el (allout-abbreviate-flattened-numbering)
10003 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10004
49c5410a
SM
10005 * subr.el (read-char-choice): Only show the cursor after the prompt,
10006 not after the answer.
10007
047b2bb9
KR
100082011-03-15 Kevin Ryde <user42@zip.com.au>
10009
10010 * help-fns.el (variable-at-point): Skip leading quotes, if any
10011 (bug#8253).
10012
0a57d256
SM
100132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10016 warning message.
10017
77c992bc
MA
100182011-03-14 Michael Albinus <michael.albinus@gmx.de>
10019
10020 * shell.el (shell): When called interactively, offer to change the
10021 shell file name on remote hosts.
10022
eebc475d
TZ
100232011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10024
10025 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10026 integration for LDAP parameters. The host, base, user or binddn,
10027 and secret tokens can be specified in a netrc file, for instance.
10028 This is optional because an `auth-source' parameter must be
10029 specified in the search attributes.
10030
9d05d1ba
JB
100312011-03-13 Juanma Barranquero <lekktu@gmail.com>
10032
10033 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10034
09d9db2c
GM
100352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10038 into declaration. Remove redundant and harmful binding.
10039
100402011-03-12 Eli Zaretskii <eliz@gnu.org>
10041
10042 * files.el (file-ownership-preserved-p): Pass `integer' as an
10043 explicit 2nd argument to `file-attributes'. If the file's owner
10044 is the Administrators group on Windows, and the current user is
10045 Administrator, consider that a match.
10046
10047 * server.el (server-ensure-safe-dir): Consider server directory
10048 safe on MS-Windows if its owner is the Administrators group while
10049 the current Emacs user is Administrator. Use `=' to compare
10050 numerical UIDs, since they could be integers or floats.
10051
219bd536
JB
100522011-03-12 Juanma Barranquero <lekktu@gmail.com>
10053
10054 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10055
f3afd36b
MA
100562011-03-12 Michael Albinus <michael.albinus@gmx.de>
10057
10058 Sync with Tramp 2.2.1.
10059
10060 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10061
10062 * net/trampver.el: Update release number.
10063
3aaaa6f1
SM
100642011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10065
94642599
SM
10066 * progmodes/compile.el (compilation--previous-directory): Fix up
10067 various nil/dead-marker mismatches (bug#8014).
10068 (compilation-directory-properties, compilation-error-properties):
10069 Don't call it at a position past the one we're about to change.
10070
3aaaa6f1
SM
10071 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10072 Disable obsolescence warnings in the file that declares it.
10073
14239447
KM
100742011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10075
099c39a4
JB
10076 * allout-widgets.el (allout-widgets-tally):
10077 Initialize allout-widgets-tally as a hash table rather than nil to
10078 prevent mode-line redisplay warnings. Also, clarify the module
10079 description and fix a comment typo.
14239447 10080
135e287c
JB
100812011-03-11 Juanma Barranquero <lekktu@gmail.com>
10082
10083 * help-fns.el (describe-variable): Don't complete keywords.
10084 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10085
ffbf300e
CY
100862011-03-10 Chong Yidong <cyd@stupidchicken.com>
10087
ba08b241
CY
10088 * emacs-lisp/package.el (package-version-join): Impose a standard
10089 string representation for pre/alpha/beta version lists.
10090 (package-unpack-single): Standardize the directory name by passing
10091 it through package-version-join.
10092 (package-strip-rcs-id): Accept any version string that does not
10093 signal an error in version-to-list.
ffbf300e 10094
f346fd6b
MA
100952011-03-10 Michael Albinus <michael.albinus@gmx.de>
10096
10097 * simple.el (delete-trailing-whitespace): Return nil for the
10098 benefit of `write-file-functions'.
10099
ccb55d27
GM
101002011-03-10 Glenn Morris <rgm@gnu.org>
10101
5ceaac0c
GM
10102 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10103
02da65ff
GM
10104 * vc/vc-git.el (vc-git-program): New option.
10105 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10106 (vc-git--call): Use it.
10107
b2f603cc
GM
10108 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10109
5772caab
GM
10110 * cus-edit.el (Custom-newline): If no button at point, look
10111 for a subgroup button at start-of-line. (Bug#2298)
10112
ccb55d27
GM
10113 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10114
ec6ecaed
JD
101152011-03-10 Julien Danjou <julien@danjou.info>
10116
10117 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10118 `cursor-type' is nil.
10119
9d5aa01d
JB
101202011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10121
10122 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10123
b6a5875b
KM
101242011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10125
10126 * allout.el Summary: Change so yank of distinctive-bullet items
10127 preserves the existing header prefix, rebulleting it if necessary,
10128 rather than replacing it. This is necessary for proper operation
10129 of cooperative addons like allout-widgets.
1154d12e
JB
10130 (allout-make-topic-prefix, allout-rebullet-heading):
10131 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10132 value as alternate bullet to be used, instead of prompting the user
10133 for a bullet character.
b6a5875b 10134
ee545c35
MA
101352011-03-09 Michael Albinus <michael.albinus@gmx.de>
10136
d86d2721
SM
10137 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10138 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10139 `tramp-default-port'.
10140
c47971d7
DD
101412011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10142
10143 * net/rcirc.el (rcirc-handler-001): Remove useless
10144 with-rcirc-process-buffer.
10145 (rcirc-check-auth-status): Swap arguments to string-match.
10146
13522cb4
GM
101472011-03-09 Glenn Morris <rgm@gnu.org>
10148
0be6f4f1
GM
10149 * shell.el (shell-mode):
10150 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10151
13522cb4
GM
10152 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10153 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10154
515de2e3
CY
101552011-03-08 Chong Yidong <cyd@stupidchicken.com>
10156
10157 * emacs-lisp/package.el (package-refresh-contents)
10158 (package-menu-execute): Use condition-case-no-debug.
10159
b511b994
MA
101602011-03-08 Michael Albinus <michael.albinus@gmx.de>
10161
10162 * simple.el (shell-command-to-string): Use `process-file'.
10163
10164 * emacs-lisp/package.el (package-tar-file-info): Handle also
10165 remote files.
10166
d86d2721
SM
10167 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10168 Use `equal' for upload base check.
b511b994 10169
25bbfb31
AM
101702011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10171
10172 * textmodes/texinfo.el (texinfo-environments):
10173 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10174
be996521
GM
101752011-03-08 Glenn Morris <rgm@gnu.org>
10176
e9c8529f
GM
10177 * cus-start.el (cursor-in-non-selected-windows):
10178 Fix :set quoting oddness. (Bug#8192)
10179
be996521
GM
10180 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10181 in some setf expressions. (Bug#2159)
10182
2bb5649e
CY
101832011-03-08 Chong Yidong <cyd@stupidchicken.com>
10184
10185 * custom.el (custom-available-themes): Return themes in
10186 alphabetical order.
10187
33383987 10188See ChangeLog.15 for earlier changes.
e3d51b27
MR
10189
10190;; Local Variables:
10191;; coding: utf-8
e3d51b27
MR
10192;; End:
10193
acaf905b 10194 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10195
10196 This file is part of GNU Emacs.
10197
10198 GNU Emacs is free software: you can redistribute it and/or modify
10199 it under the terms of the GNU General Public License as published by
10200 the Free Software Foundation, either version 3 of the License, or
10201 (at your option) any later version.
10202
10203 GNU Emacs is distributed in the hope that it will be useful,
10204 but WITHOUT ANY WARRANTY; without even the implied warranty of
10205 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10206 GNU General Public License for more details.
10207
10208 You should have received a copy of the GNU General Public License
10209 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.