dired-goto-file fix for some `ls -b' escapes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0b21c100
CY
12012-01-25 Chong Yidong <cyd@gnu.org>
2
3 * custom.el (custom-variable-p): Doc fix.
4
5ae1a6c8
GM
52012-01-25 Glenn Morris <rgm@gnu.org>
6
40047858
GM
7 * dired.el (dired-goto-file): Handle some of the more common
8 characters that `ls -b' escapes. (Bug#10596)
9
5ddce96c
GM
10 * progmodes/compile.el (compilation-next-error-function):
11 Respect compilation-first-column in the "*compilation*" buffer.
12 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13
5ae1a6c8
GM
14 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15
b559f1a9
GM
162012-01-24 Glenn Morris <rgm@gnu.org>
17
18 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
19
6725d21a
JD
202012-01-24 Julien Danjou <julien@danjou.info>
21
22 * color.el (color-rgb-to-hsl): Fix value computing.
23 (color-hue-to-rgb): New function.
24 (color-hsl-to-rgb): New function.
25 (color-clamp, color-saturate-hsl, color-saturate-name)
26 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
27 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
28
70df4bbe
GM
292012-01-24 Glenn Morris <rgm@gnu.org>
30
31 * vc/vc-rcs.el (vc-rcs-create-tag):
32 * vc/vc-sccs.el (vc-sccs-create-tag):
33 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
34
802a2ae2
ML
352012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
36
37 * eshell/esh-util.el (eshell-read-hosts-file):
38 Skip comment lines. (Bug#10549)
39
d7128bb1
ML
40 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
41
d1a5c3b4
JB
422012-01-23 Juanma Barranquero <lekktu@gmail.com>
43
2724d9c7
JB
44 * subr.el (display-delayed-warnings): Doc fix.
45 (collapse-delayed-warnings): New function to collapse identical
46 adjacent warnings.
47 (delayed-warnings-hook): Add it.
d1a5c3b4 48
a5509865
MA
492012-01-22 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/tramp.el (tramp-action-login): Set connection property "login-as".
52
53 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
54 properties, when "login-as" is set.
55
56 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
57 (tramp-default-user-alist): Don't add "pscp".
58 (tramp-do-copy-or-rename-file-out-of-band): Use connection
59 property "login-as", if set. (Bug#10530)
60
cc6d5805
MA
612012-01-21 Michael Albinus <michael.albinus@gmx.de>
62
63 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
64 "plink1" and "psftp". (Bug#10530)
65
662012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
67
68 * international/mule-cmds.el (prefer-coding-system): Show a
69 warning message if the default value of file-name-coding-system
70 was not changed.
71
f0960428
JC
722012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
73
74 * windmove.el (windmove-reference-loc): Fix
75 windmove-reference-loc miscalculation.
76
dd6f2a63
JB
772012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
78
79 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
80 default unit.
81
7b447e9b
GM
822012-01-21 Glenn Morris <rgm@gnu.org>
83
117a9ea1
GM
84 * international/mule.el (auto-coding-alist): Add .tbz.
85
7b447e9b
GM
86 * files.el (local-enable-local-variables): Doc fix.
87 (inhibit-local-variables-regexps): Rename from
88 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
89 Doc fix. Add some extensions from auto-coding-alist.
90 (inhibit-local-variables-suffixes):
91 Rename from inhibit-first-line-modes-suffixes. Doc fix.
92 (inhibit-local-variables-p):
93 New function, extracted from set-auto-mode-1.
94 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
95 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
96 (hack-local-variables): Doc fix. Make the mode-only case
97 respect enable-local-variables and friends.
98 Respect inhibit-local-variables-regexps for file-locals, but
99 not for directory-locals.
100 (set-visited-file-name):
101 Take account of inhibit-local-variables-regexps.
102 Whether it applies may change as the file name is changed.
103 * jka-cmpr-hook.el (jka-compr-install):
104 * jka-compr.el (jka-compr-uninstall):
105 Update for inhibit-first-line-modes-suffixes name change.
106
dd6e3cdd
MR
1072012-01-20 Martin Rudalics <rudalics@gmx.at>
108
109 * help-macro.el (make-help-screen): Temporarily restore original
110 binding for minor-mode-map-alist (Bug#10454).
111
0d0deb38
JD
1122012-01-19 Julien Danjou <julien@danjou.info>
113
114 * color.el (color-name-to-rgb): Use the white color to find the max
115 color component value and return correctly computed values.
116 (color-name-to-rgb): Add missing float conversion for max value.
117
34a02f46
MR
1182012-01-19 Martin Rudalics <rudalics@gmx.at>
119
120 * window.el (window--state-get-1, window-state-get): Do not use
121 special state value for window-persistent-parameters. Rename
122 argument IGNORE to WRITABLE. Rewrite doc-string.
123 (window--state-put-2): Reset all window parameters to nil before
124 assigning values of persistent parameters.
125
606c44c4
AM
1262012-01-18 Alan Mackenzie <acm@muc.de>
127
128 Eliminate sluggishness and hangs in fontification of "semicolon
129 deserts".
130
131 * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
132 value 10000 -> 3000.
133 (c-state-safe-place): Reformulate so it doesn't stack up an
134 infinite number of wrong entries in c-state-nonlit-pos-cache.
135 (c-determine-limit-get-base, c-determine-limit): New functions to
136 determine backward search limits disregarding literals.
137 (c-find-decl-spots): Amend commenting.
138 (c-cheap-inside-bracelist-p): New function which detects "={".
139
140 * progmodes/cc-fonts.el
141 (c-make-font-lock-BO-decl-search-function): Give a limit to a
142 backward search.
143 (c-font-lock-declarations): Fix an occurrence of point being
144 undefined. Check additionally for point being in a bracelist or
145 near a macro invocation without a semicolon so as to avoid a
146 fruitless time consuming search for a declarator. Give a more
147 precise search limit for declarators using the new
148 c-determine-limit.
149
f3860cea
GM
1502012-01-18 Glenn Morris <rgm@gnu.org>
151
152 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
153 (set-auto-mode): Doc fixes.
154
1db03b16
GM
1552012-01-17 Glenn Morris <rgm@gnu.org>
156
0e6038be
GM
157 * isearch.el (search-nonincremental-instead): Fix doc typo.
158
1db03b16
GM
159 * dired.el (dired-insert-directory): Handle newlines in directory name.
160 (dired-build-subdir-alist): Unescape newlines in directory name.
161
4cb0aa75
MA
1622012-01-17 Michael Albinus <michael.albinus@gmx.de>
163
164 * net/tramp.el (tramp-local-end-of-line): New defcustom.
165 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
166 (tramp-action-terminal): Use it. (Bug#10530)
167
1d00653d
SM
1682012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * minibuffer.el (completion--replace): Strip properties (bug#10062).
171
6a6ee00d
MR
1722012-01-16 Martin Rudalics <rudalics@gmx.at>
173
174 * window.el (window-state-ignored-parameters): Remove variable.
175 (window--state-get-1): Rename argument MARKERS to IGNORE.
176 Handle persistent window parameters. Make copy of clone-of
177 parameter only if requested. (Bug#10348)
178 (window--state-put-2): Install a window parameter only if it has
179 a non-nil value or an existing parameter shall be overwritten.
180
97912def
MA
1812012-01-15 Michael Albinus <michael.albinus@gmx.de>
182
183 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
184
688070a5
EZ
1852012-01-14 Eli Zaretskii <eliz@gnu.org>
186
187 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
188 don't pass the (nil) value of `upnode' to string-match.
189
301afadc
CY
1902012-01-14 Chong Yidong <cyd@gnu.org>
191
192 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 193 Fix values recognized by the cursorBlink resource.
301afadc 194
9e5788aa
PE
1952012-01-14 Paul Eggert <eggert@cs.ucla.edu>
196
197 * epg.el (epg--make-temp-file): Avoid permission race condition
198 when running on old Emacs versions (bug#10403).
199
3cdb7f5a
GM
2002012-01-14 Glenn Morris <rgm@gnu.org>
201
202 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
203
8c82b1b4
AM
2042012-01-13 Alan Mackenzie <acm@muc.de>
205
206 Fix filling for when filladapt mode is enabled.
207
208 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
209 c-mask-paragraph, pass in `fill-paragraph' rather than
210 `fill-region-as-paragraph'. (This is a reversion of a previous
211 change.)
212 * progmodes/cc-mode.el (c-basic-common-init): Make
213 fill-paragraph-handle-comment buffer local and set it to nil.
214
e517eda4
GM
2152012-01-13 Glenn Morris <rgm@gnu.org>
216
1498536e
GM
217 * dired.el (dired-switches-escape-p): New function.
218 (dired-insert-directory): Use dired-switches-escape-p.
219 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
220
e517eda4
GM
221 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
222
328f984d
GM
2232012-01-12 Glenn Morris <rgm@gnu.org>
224
225 * mail/sendmail.el (mail-mode): Update paragraph-separate for
226 changes in adaptive-fill-regexp. (Bug#10276)
227
2cc769a8
AM
2282012-01-11 Alan Mackenzie <acm@muc.de>
229
230 Fix Emacs bug #10463 - put `widen's around the critical spots.
231
1d00653d 232 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
233 widen around each invocation of c-state-pp-to-literal. Remove an
234 unused let variable.
235
e52c37fa
GM
2362012-01-11 Glenn Morris <rgm@gnu.org>
237
238 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 239 Doc fix.
e52c37fa 240
96f8741e
CY
2412012-01-10 Chong Yidong <cyd@gnu.org>
242
1d00653d
SM
243 * net/network-stream.el (network-stream-open-starttls):
244 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
245 response to the capability command.
246
b09a806e
GM
2472012-01-10 Glenn Morris <rgm@gnu.org>
248
249 * mail/unrmail.el (unrmail): Tweak previous change.
250
7655cb66
CY
2512012-01-09 Chong Yidong <cyd@gnu.org>
252
253 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
254
9d5a8f0b
AM
2552012-01-08 Alan Mackenzie <acm@muc.de>
256
257 Optimise font locking in long enum definitions.
258
259 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
260 arm to a cond form to handle enums.
261 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
262 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
263
9a0115ab 2642012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
265
266 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 267 (Bug#10401)
6bb72cbd 268
f186bb95
LMI
2692012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
270
29232a68
LMI
271 * faces.el (set-face-attribute): Clarify the meaning of the nil
272 frame (bug#10294).
273
4e5d086d
LMI
274 * subr.el (with-selected-frame): Mention that the selected frame
275 is restored (bug#9980).
276
8e66aebe
LMI
277 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
278 (bug#9759).
279
cd394be1 280 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
281 (password-read): Don't autoload unused function.
282
adf4e762
JB
2832012-01-07 Juanma Barranquero <lekktu@gmail.com>
284
285 * progmodes/which-func.el (which-func-mode): Turn into a
286 non-interactive function and mark as obsolete (bug#10428).
287
89bd9ccd
CY
2882012-01-06 Chong Yidong <cyd@gnu.org>
289
290 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
291 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
292 functions, along with 1 and -1.
293
4afee9d5
EZ
2942012-01-06 Eli Zaretskii <eliz@gnu.org>
295
296 * time.el (display-time-load-average)
297 (display-time-default-load-average): Doc fixes. See the thread
298 starting at
299 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
300 for the details.
301
536aea70
GM
3022012-01-06 Glenn Morris <rgm@gnu.org>
303
665ae865
GM
304 * mail/unrmail.el (unrmail): Give an explicit error if the input file
305 has no messages. (Bug#10377)
306
c869783d
GM
307 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
308 than Info-edit. (Bug#10385)
309
2bb4227e
GM
310 * time.el (display-time-load-average, display-time-next-load-average):
311 Doc fixes.
312
7d5944b9
GM
313 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
314 local setting of buffer-read-only to the input buffer. (Bug#10419)
315
536aea70
GM
316 * calendar/calendar.el (calendar-mode):
317 Locally set scroll-margin to 0. (Bug#10379)
318
7dccca16
UM
3192012-01-06 Ulrich Mueller <ulm@gentoo.org>
320
321 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
322
afbb7930
GM
3232012-01-05 Glenn Morris <rgm@gnu.org>
324
325 * eshell/em-unix.el (diff-no-select): Autoload it.
326 (eshell/diff): Use diff-no-select. (Bug#10420)
327
04482335
CY
3282012-01-05 Chong Yidong <cyd@gnu.org>
329
7baca3bc
CY
330 * shell.el (shell-dynamic-complete-functions): Revert last change.
331 (shell-command-completion-function): New function.
332 (shell-completion-vars): Use it to implement
333 shell-completion-execonly (Bug#10417).
334
04482335
CY
335 * custom.el (enable-theme): Don't set custom-safe-themes.
336
1d00653d
SM
337 * cus-theme.el (custom-theme-merge-theme):
338 Ignore custom-enabled-themes and custom-safe-themes.
04482335 339
bb5aa5d6
MM
3402012-01-05 Michael R. Mauger <mmaug@yahoo.com>
341
342 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
343 first prompt in `sql-interacive-mode'.
344 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 345 keywords.
bb5aa5d6
MM
346 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
347 (sql-product-interactive): Bug fix: Set `sql-buffer' in
348 context of original buffer. Invoke `sql-login-hook'.
349
a7183d7c
EZ
3502012-01-04 Eli Zaretskii <eliz@gnu.org>
351
352 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
353 letters in cite-prefix.
354
a1eacd1e
LMI
3552012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
356
357 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
358
787cdb34
CY
3592012-01-03 Chong Yidong <cyd@gnu.org>
360
1d00653d
SM
361 * shell.el (shell-dynamic-complete-functions):
362 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
363 comint-filename-completion first (Bug#10417).
364
30710442
RS
3652012-01-02 Richard Stallman <rms@gnu.org>
366
367 * battery.el (battery-status-function):
368 Detect when to use battery-yeeloong-sysfs.
369 (battery-echo-area-format): Add string for Yeeloong.
370 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
371 (battery-yeeloong-sysfs): New function.
372
f75bfc33
CY
3732012-01-02 Chong Yidong <cyd@gnu.org>
374
375 * dirtrack.el (dirtrack-list): Eliminate unused third element.
376 (dirtrack): Merge code for handling relative filenames in prompt
377 from shell-dir-cookie-watcher.
378 (dirtrack-debug-message): New arg to avoid excess format calls.
379
380 * shell.el (shell-dir-cookie-re): Variable deleted.
381 (shell-dir-cookie-watcher): Function deleted.
382 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
383 with dirtrack-mode.
384
651e947e
EZ
3852012-01-01 Eli Zaretskii <eliz@gnu.org>
386
1d00653d
SM
387 * term/w32-win.el (dynamic-library-alist) <gnutls>:
388 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
389 libgnutls-26.dll.
390
94d4c7dc
AS
3912011-12-31 Andreas Schwab <schwab@linux-m68k.org>
392
393 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
394
8d43f3cd
EZ
3952011-12-31 Eli Zaretskii <eliz@gnu.org>
396
397 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
398 headers of non-MIME messages, when rmail-enable-mime is non-nil.
399
98c8795a
MA
4002011-12-29 Michael Albinus <michael.albinus@gmx.de>
401
402 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
403 also for alternative shells.
404 (tramp-open-connection-setup-interactive-shell): Check, whether
405 the shell is a busybox.
406 (tramp-send-command): Don't suppress multiple prompts for
407 busyboxes, it hurts.
408
51281b32
CY
4092011-12-28 Chong Yidong <cyd@gnu.org>
410
411 * progmodes/gdb-mi.el (gdb-get-source-file-list)
412 (gdb-get-source-file): Move mode line update to
413 gdb-get-source-file (Bug#10087).
414
2170cb53
CY
4152011-12-25 Chong Yidong <cyd@gnu.org>
416
417 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
418 gud-gdb-marker-filter without taking it as an argument.
419 (gud-gdb-run-command-fetch-lines): Caller changed.
420 (gud-gdb-completion-function): New variable.
421 (gud-gdb-completion-at-point): Use it.
422 (gud-gdb-completions-1): Split from gud-gdb-completions.
423
424 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
425 function as separate arguments.
426 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
427 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
428 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
429 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
430 (gdb-stopped, def-gdb-auto-update-trigger)
431 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
432 (gdb-get-changed-registers, gdb-get-main-selected-frame):
433 Callers changed.
2170cb53
CY
434 (gud-gdbmi-completions): New function.
435 (gdb): Use it for generating the completion table.
436
be8b11bb
AM
4372011-12-24 Alan Mackenzie <acm@muc.de>
438
439 Introduce a mechanism to widen the region used in context font
1d00653d 440 locking. Use this to protect declarations from losing their contexts.
be8b11bb 441
1d00653d
SM
442 * progmodes/cc-langs.el (c-before-font-lock-functions):
443 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 444 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
445 functions to be run just before context (etc.) font locking.
446
447 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 448 New, functionality extracted from
be8b11bb 449 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 450 (c-in-after-change-fontification): New variable.
be8b11bb
AM
451 (c-after-change): Set c-in-after-change-fontification.
452 (c-set-fl-decl-start): Rejig its interface, so it can be called
453 from both after-change and context fontifying.
b81d40f0
JB
454 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
455 New functions.
456 (c-standard-font-lock-fontify-region-function): New variable.
457 (c-font-lock-fontify-region): New function.
be8b11bb 458
341cf6ac
JL
4592011-12-24 Juri Linkov <juri@jurta.org>
460
461 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
462 (Bug#10348)
463
bffcee0a
MA
4642011-12-23 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
467 existence of source file. (Bug#10325)
468
cb5e207c
AM
4692011-12-23 Alan Mackenzie <acm@muc.de>
470
471 Fix unstable fontification inside templates.
472
b81d40f0
JB
473 * progmodes/cc-langs.el (c-before-font-lock-functions):
474 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
475 additionally has c-set-fl-decl-start. The other languages (apart
476 from AWK) have that as a single entry.
477
b81d40f0
JB
478 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
479 The functionality for "local" declarations has been extracted to
cb5e207c
AM
480 c-set-fl-decl-start.
481
b81d40f0
JB
482 * progmodes/cc-mode.el (c-common-init, c-after-change):
483 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
484 (c-set-fl-decl-start): New function, extracted from
485 c-font-lock-enclosing-decls and enhanced.
486
60ff536c
JB
4872011-12-23 Juanma Barranquero <lekktu@gmail.com>
488
489 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
490
1c4757d6
JL
4912011-12-22 Juri Linkov <juri@jurta.org>
492
493 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
494
d031f2c7
CY
4952011-12-22 Chong Yidong <cyd@gnu.org>
496
497 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
498
bace743a
DA
4992011-12-21 Drew Adams <drew.adams@oracle.com>
500
501 * files.el (file-remote-p): Fix docstring. (Bug#10319)
502
728a1f2b
JC
5032011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
504
505 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
506
0d373f73
TZ
5072011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
508
fec0aaa4
TZ
509 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
510 highlighting and support. Fix up comments for capitalization.
511 (cfengine-mode-debug): New var.
512 (cfengine3-mode): Change the modeline indicator to "CFE3".
513 (cfengine3-font-lock-keywords): Improve defun highlighting.
514 (cfengine2-actions): Rename from `cfengine-actions'.
515 (cfengine2-font-lock-keywords): Rename from
516 `cfengine-font-lock-keywords'.
517 (cfengine2-imenu-expression): Rename from
518 `cfengine-imenu-expression'.
519 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
520 (cfengine2-beginning-of-defun): Rename from
521 `cfengine-beginning-of-defun'.
522 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
523 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
524 (cfengine2-mode): Rename from `cfengine-mode'. Change the
525 modeline indicator to "CFE2".
526 (cfengine-mode): Defalias to `cfengine-auto-mode'.
527 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 528
bc86f573
CY
5292011-12-21 Chong Yidong <cyd@gnu.org>
530
531 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
532 filename argument.
533
d45ba96b
MR
5342011-12-20 Martin Rudalics <rudalics@gmx.at>
535
536 * window.el (window-normalize-buffer-to-display): Remove.
537 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
538
a6198c90
CY
5392011-12-19 Chong Yidong <cyd@gnu.org>
540
541 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
542 Don't signal an error in a predicate function; return non-nil.
543 (vc-dir-mark-file): Move the error here.
544 (vc-dir-mark-unmark): If acting on the region, keep going if one
545 of the entries cannot be marked/unmarked.
546 (vc-dir-mark-all-files): If current entry is a directory, mark
547 only child files, as documented.
548
34c5fb55
VB
5492011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
550
551 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
552 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
553 addition.
554
c803b2b7
JD
5552011-12-18 Jan Djärv <jan.h.d@swipnet.se>
556
557 * term/ns-win.el (ns-get-selection-internal)
558 (ns-store-selection-internal): Declare.
1154d12e
JB
559 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
560 Declare as obsolete.
561 (ns-get-pasteboard, ns-paste-secondary):
562 Use ns-get-selection-internal.
563 (ns-set-pasteboard, ns-copy-including-secondary):
564 Use ns-store-selection-internal.
c803b2b7 565
9cff91f8 5662011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
567
568 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 569 (vc-deduce-fileset): Doc fix.
99a289d9 570
f16c898a
AS
5712011-12-16 Andreas Schwab <schwab@linux-m68k.org>
572
573 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
574
763237c4
SS
5752011-12-13 Sam Steingold <sds@gnu.org>
576
577 * man.el (Man-getpage-in-background): When running under a
578 window-system, ignore $MANWIDTH and $COLUMNS.
579
5fc1c122
KH
5802011-12-15 Kenichi Handa <handa@m17n.org>
581
582 * language/ethio-util.el: Change coding tag to utf-8-emacs.
583 (setup-ethiopic-environment-internal): Comment out key-binding for
584 ethio-toggle-punctuation.
585
13d49cbb
AM
5862011-12-13 Alan Mackenzie <acm@muc.de>
587
898169a2
AM
588 Add the switch statement to AWK Mode.
589
590 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
591 "default" to the keywords regexp.
592
593 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
594 expression as the rest.
1d00653d
SM
595 (c-nonlabel-token-key): Allow string literals for AWK.
596 Refactor for the other modes.
898169a2 597
13d49cbb 598 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 599 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
600 routines. Limit backward searching in c-font-lock-enclosing.decl.
601
602 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
603 pp-state and literal type in addition to the limits.
1d00653d 604 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 605 (c-state-literal-at): Use the above new defun.
1d00653d
SM
606 (c-slow-in-literal, c-fast-in-literal): Remove.
607 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
608
609 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
610 being in a literal. Add a limit for backward searching.
611
612 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
613 c-slow-in-literal.
614
15e0efc7
SM
6152011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
618
454592a6
MR
6192011-12-13 Martin Rudalics <rudalics@gmx.at>
620
621 * window.el (delete-other-windows): Use correct frame in call to
622 window-with-parameter.
623
87393f26
DP
6242011-12-12 Daniel Pfeiffer <occitan@t-online.de>
625
626 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
627 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
628 (makefile-gmake-statements, makefile-makepp-statements):
629 Use it and add new makepp keywords.
630 (makefile-makepp-font-lock-keywords): Add new patterns.
631 (makefile-match-function-end): Match new [...] and [[...]].
632
11636b22
JB
6332011-12-11 Juanma Barranquero <lekktu@gmail.com>
634
635 * ses.el (ses-call-printer-return, ses-cell-property-get)
636 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
637 (ses-create-cell-variable, ses-reset-header-string)
638 (ses-cell-set-formula, ses-repair-cell-reference-all)
639 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
640 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
641 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
642 (ses-aset-with-undo, ses-load, ses-truncate-cell)
643 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
644 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
645 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
646 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
647 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
648 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
649 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
650 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
651
cf018193
VB
6522011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
653
654 * ses.el: The overall change is to add cell renaming, that is
655 setting fancy names for cell symbols other than name matching
656 "\\`[A-Z]+[0-9]+\\'" regexp .
657 (ses-create-cell-variable): New defun.
658 (ses-relocate-formula): Relocate formulas only for cells the
659 symbols of which are not renamed, i.e. symbols whose names do not
660 match regexp "\\`[A-Z]+[0-9]+\\'".
661 (ses-relocate-all): Relocate values only for cells the symbols of
662 which are not renamed.
663 (ses-load): Create cells variables as the (ses-cell ...) are read,
664 in order to check row col consistency with cell symbol name only
665 for cells that are not renamed.
666 (ses-replace-name-in-formula): New defun.
667 (ses-rename-cell): New defun.
668
ee957461
CY
6692011-12-11 Chong Yidong <cyd@gnu.org>
670
671 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
672 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
673
9a9e9ef0
MR
6742011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
675
676 * window.el (other-window): Fix docstring.
677
92a8eba5
EZ
6782011-12-10 Eli Zaretskii <eliz@gnu.org>
679
680 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
681 `from' or `to' address before taking its substring.
682 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
683 encoded name is chopped in the middle of the encoded string, and
684 thus displayed encoded.
685
e152e577
JB
6862011-12-10 Juanma Barranquero <lekktu@gmail.com>
687
688 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
689
e5d84bfe
EZ
6902011-12-10 Eli Zaretskii <eliz@gnu.org>
691
692 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
693 to use texinfo-update-node and commands that call it if the
694 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 695 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
696 (texinfo-all-menus-update, texinfo-master-menu)
697 (texinfo-update-node, texinfo-every-node-update)
698 (texinfo-multiple-files-update): Doc fix. Warn against updating
699 all the @node lines.
700 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
701 argument is numeric. Explain better in the doc string what the
702 function really does.
703 (texinfo-insert-master-menu-list): Improve the error message
704 displayed if there's no menu in the Top node.
705 (Bug#2975) See also this thread:
e5d84bfe
EZ
706 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
707
1d84e9bb
MG
7082011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
709
710 * speedbar.el (speedbar-supported-extension-expressions):
711 Add .adb and .ads, commonly used for Ada source code (bug#10256).
712
382c953b
JB
7132011-12-09 Juanma Barranquero <lekktu@gmail.com>
714
715 * printing.el (pr-mode-alist):
716 * simple.el (filter-buffer-substring-functions)
717 (completion-list-insert-choice-function):
718 * window.el (window-with-parameter, window-atom-root)
719 (window-sides-slots, window-size-fixed, window-min-delta)
720 (window-max-delta, window--resize-mini-window)
721 (window--resize-child-windows-normal, window-tree)
722 (delete-other-windows, quit-window, split-window)
723 (display-buffer-record-window, special-display-buffer-names)
724 (special-display-regexps, special-display-popup-frame)
725 (same-window-p, split-window-sensibly)
726 (display-buffer-overriding-action, display-buffer-alist)
727 (display-buffer-base-action, display-buffer, switch-to-buffer)
728 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
729 (fit-window-to-buffer, recenter-positions)
730 (mouse-autoselect-window-state, mouse-autoselect-window-select):
731 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
732 and remove unneeded backslashes in docstrings.
733
39c9faef
SM
7342011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
735
98449af8
SM
736 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
737
39c9faef
SM
738 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
739 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
740 end in ".mk".
741 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
742 when reading the makefile (bug#10116).
743
86ed9fdc
SM
7442011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
747 (bug#10116).
748
5580f89d
GM
7492011-12-06 Glenn Morris <rgm@gnu.org>
750
751 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
752
28d3917c
CY
7532011-12-06 Chong Yidong <cyd@gnu.org>
754
755 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
756
a98edce9
JB
7572011-12-06 Juanma Barranquero <lekktu@gmail.com>
758
759 * textmodes/table.el (table-shorten-cell): Fix typo.
760
e65adfac
CG
7612011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
762
763 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
764
71cc0b74
EZ
7652011-12-05 Eli Zaretskii <eliz@gnu.org>
766
767 * descr-text.el (describe-char): Fix display of strong
768 right-to-left characters and directional embeddings and overrides.
769
770 * simple.el (what-cursor-position): Fix display of codepoints of
771 strong right-to-left characters.
772
315bc30d
CY
7732011-12-05 Chong Yidong <cyd@gnu.org>
774
775 * faces.el (read-color): Doc fix.
776
58a70b94
GM
7772011-12-05 Glenn Morris <rgm@gnu.org>
778
779 * align.el (align--set-marker): Add doc-string.
780 Don't try to move something that is not a marker. (Bug#10216)
781
5158face
GM
7822011-12-04 Glenn Morris <rgm@gnu.org>
783
784 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
785 overly zealous deletion of trailing whitespace.
786
520fca41
JB
7872011-12-04 Juanma Barranquero <lekktu@gmail.com>
788
789 * server.el (server-delete-client): On Windows, do not try to delete
790 the only terminal.
791 (server-process-filter): On Windows, treat requests for a tty frame as
792 if they were for a GUI frame if the running server is in GUI mode.
793
5e605a2e
GM
7942011-12-03 Glenn Morris <rgm@gnu.org>
795
796 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
797
5c3fe83f
SM
7982011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
799
6f5e57e7
SM
800 * electric.el: Streamline electric-indent's hook.
801 (electric-indent-chars): Revert to simple list.
802 (electric-indent-functions): New var.
803 (electric-indent-post-self-insert-function): Use it.
804
5c3fe83f
SM
805 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
806 there's no inferior buffer (bug#10196).
807 (prolog-consult-compile): Don't use toggle-read-only.
808
6bdac736
MA
8092011-12-02 Michael Albinus <michael.albinus@gmx.de>
810
811 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
812 interrupt. (Bug#10187)
813
6131ba7f
SM
8142011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
815
99c79fee
SM
816 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
817 (bug#9160).
818
6131ba7f
SM
819 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
820 (bug#10191).
821
cb0a02ea
JL
8222011-12-02 Juri Linkov <juri@jurta.org>
823
824 * info.el (Info-search): Display "end of manual" when Isearch
825 reaches the end of single-file Info manual. (Bug#9918)
826
66e0570c
EZ
8272011-12-02 Eli Zaretskii <eliz@gnu.org>
828
829 * isearch.el (isearch-message-prefix): Run the input method part
830 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
831
02b16839
JL
8322011-12-02 Juri Linkov <juri@jurta.org>
833
834 * isearch.el (isearch-occur): Use `word-search-regexp' for
835 `isearch-word'.
836 (isearch-search-and-update): Add condition for `isearch-word' and
837 call `word-search-regexp'. (Bug#10145)
838
0b950688
GM
8392011-12-01 Glenn Morris <rgm@gnu.org>
840
841 * eshell/em-hist.el (eshell-hist-initialize):
842 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 843 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 844
9505c3c7
SM
8452011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
848
1bbe96b2 8492011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 850
a1beca85
SM
851 * progmodes/verilog-mode.el (verilog-pretty-expr):
852 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
853 verilog, such as += *= and the like.
854 (verilog-assignment-operator-re): Regular expression to find the
855 assigment operator in a verilog assignment.
856 (verilog-assignment-operation-re): Regular expression to find an
857 assignment statement for pretty-expr.
858 (verilog-in-attribute-p): Query returns true if point is in an
859 attribute context; used to skip these for expression line up from
860 pretty-expr.
861 (verilog-in-parameter-p): Query returns true if point is in an
862 parameter definition context; used to skip these for expression
863 line up from pretty-expr.
864 (verilog-in-parenthesis-p): Query returns true if point is in a
865 parenthetical expression, specifically ( ) but not [ ] or { };
866 used by pretty-expr.
867 (verilog-just-one-space): If there is no space, don't add one.
868 (verilog-get-lineup-indent-2): Specifically skip just attribute
869 contexts for expression lineup, rather than skipping all
870 parenthetical expressions.
871 (verilog-calculate-indent): Fix comment, and fix indent.
872 (verilog-do-indent): Indent declarations in lists (suggested by
873 Joachim Lechner).
874 (verilog-mode-abbrev-table): Populate abbrev mode with the various
875 skeleton items.
876 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
877 by Alain Mellan).
878
1bbe96b2 8792011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
880
881 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
882 parameters with embedded comments. Reported by Ray Stevens.
883 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
884 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
885 Reported by Tim Holt.
886 (verilog-auto): Fix AUTOing a upper module then AUTOing module
887 instantiated by upper module causing wrong expansion until AUTOed a
888 second time. Reported by K C Buckenmaier.
889 (verilog-diff-auto): Fix showing .* as a difference when
890 `verilog-auto-star-save' off. Reported by Dan Dever.
891 (verilog-auto-reset, verilog-read-always-signals)
892 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
893 temporary signals in reset list if
894 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
895 style to each signal's assignment type, bug381.
896 Reported by Thomas Esposito.
6288f0ca
WS
897 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
898 (verilog-uvm-statement-re): Support UVM indentation and
899 highlighting, with old OVM keywords only.
a1beca85 900 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
901 Support AUTOTIEOFF creating non-wire data types.
902 Suggested by Jonathan Greenlaw.
6288f0ca
WS
903 (verilog-auto-insert-lisp, verilog-delete-to-paren)
904 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
905 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
906 (verilog-read-sub-decls, verilog-read-sub-decls-line):
907 Fix mismatching parenthesis inside commented out code when deleting
382c953b 908 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
909 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
910 non-numeric vector width. Reported by Alex Reed.
911 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 912 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
913 (verilog-auto-delete-trailing-whitespace):
914 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
915 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
916 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
917 Fix verilog-scan-cache corruption when running user AUTO expansion
918 hooks that call indentation routines.
919 (verilog-simplify-range-expression): Fix typo ignoring lower case
920 identifiers.
921 (verilog-delete-auto): Fix delete-autos to also remove user created
922 automatics, as long as they start with AUTO.
923 (verilog-batch-diff-auto, verilog-diff-auto)
924 (verilog-diff-function): Add `verilog-diff-auto' and bind to
925 "C-c?" to report differences in AUTO expansion, ignoring spaces.
926 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
927 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
928 (verilog-re-search-forward-quick, verilog-syntax-ppss):
929 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
930 is disabled and its cache will get corrupt, causing AUTOS not to
931 expand. Instead use only -quick functions.
932 (verilog-scan-region): Fix scanning over escaped quotes.
933 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
934 (verilog-re-search-backward-quick)
935 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
936 related functions now ignore strings, to fix misparsing of strings
937 with magic comments embedded in them.
a1beca85
SM
938 (verilog-read-auto-template):
939 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
940 Reported by Brad Dobbie.
941 (verilog-read-auto-template):
942 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 943 Reported by Brad Dobbie.
6288f0ca
WS
944 (verilog-auto-inst, verilog-auto-inst-param)
945 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
946 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
947 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
948 debugging templates without merge conflicts, bug357.
949 Reported by Brad Dobbie.
950 (verilog-read-auto-template):
951 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
952 Reported by Brad Dobbie.
953 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
954 abbrevs so user won't be asked to save.
955 (verilog-read-auto-lisp-present): Fix to start at beginning of
956 buffer in case called outside of verilog-auto.
957 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
958 to "X-2". Reported by Matthew Myers.
959 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
960 all inputs from module templates. Reported by Leith Johnson.
961 (verilog-module-inside-filename-p): Fix locating programs as with
962 modules.
963 (verilog-auto-inst-port): Fix vl-width expressions when using
964 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
965 (verilog-decls-get-regs, verilog-decls-get-signals,
966 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
967 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
968 verilog-read-decls): Combine reg and wire structures into one var
969 structure to represent SystemVerilog concepts.
970 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
971 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
972 (verilog-auto-wire-type, verilog-insert-definition):
973 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
974 SystemVerilog "logic" keyword instead of "wire"/"reg".
975 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
976 to declares outputs that also have assignments (presumably in an
a1beca85
SM
977 ifdef or generate if so there's not a driver conflict).
978 Reported by Matthew Myers.
979 (verilog-auto-declare-nettype, verilog-insert-definition):
980 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
981 `default_nettype none. Reported by Julian Gorfajn.
982 (verilog-read-always-signals-recurse, verilog-read-decls)
983 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
984 malformed end statement, bug325. Reported by Joshua Wise and
985 Andrew Drake.
986 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
987 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
988 when expanding .* in interfaces, bug320.
989 Reported by Pierre-David Pfister.
6288f0ca 990 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
991 name and open parenthesis, bug317.
992 Reported by Pierre-David Pfister.
6288f0ca
WS
993 (verilog-simplify-range-expression): Fix simplification of
994 multiplications inside AUTOWIRE connections, bug303.
995 (verilog-auto-inst-port): Support parameter expansion in
996 multidimensional arrays.
997 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
998 after "assert property". Reported by Julian Gorfajn.
999 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1000 with multiplication, bug303.
1001 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1002 Reported by Jan Frode Lonnum.
1003
1bbe96b2
GM
10042011-11-30 Juanma Barranquero <lekktu@gmail.com>
1005
1006 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1007 (hfy-shell-file-name, hfy-shell):
1008 * international/fontset.el (x-decompose-font-name): Fix typos.
1009
10102011-11-29 Ken Brown <kbrown@cornell.edu>
1011
1012 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1013 (gdb-version): Remove defvar.
1014 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1015 (gdb-gud-context-command, gdb-non-stop-handler)
1016 (gdb-current-context-command, gdb-stopped): Use it.
1017 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1018 (gdb-non-stop-handler): Don't enable pretty-printing here.
1019 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1020 non-stop mode. Use the following.
1021 (gdb-check-target-async): New defun.
1022 (gud-watch, gdb-stopped): Fix whitespace.
1023 (gdb-get-source-file): Don't try to display the source file if
1024 `gdb-main-file' is nil.
1025
10262011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * align.el: Try to generate fewer markers (bug#10047).
1029 (align--set-marker): New macro.
1030 (align-region): Use it.
1031
c935221f
SM
10322011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1035
e70b5064
CY
10362011-11-29 Chong Yidong <cyd@gnu.org>
1037
1038 * indent.el (indent-for-tab-command, indent-according-to-mode):
1039 Doc fix.
1040 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1041
f3af92b7
MA
10422011-11-29 Michael Albinus <michael.albinus@gmx.de>
1043
1044 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1045 aware of remote file names. (Bug#10124)
1046
ed472be9
CY
10472011-11-29 Chong Yidong <cyd@gnu.org>
1048
1049 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1050
24510c22
SM
10512011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * files.el (find-file): Don't use force-same-window (bug#10144).
1054 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1055 use pop-to-buffer if the selected window can't be used.
1056 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1057
c60c3703
EZ
10582011-11-28 Eli Zaretskii <eliz@gnu.org>
1059
1060 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1061 special-mode-map.
1062
e95def75
CY
10632011-11-28 Chong Yidong <cyd@gnu.org>
1064
1065 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1066
c3f1c606
NR
10672011-11-27 Nick Roberts <nickrob@snap.net.nz>
1068
1069 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1070 gdb-get-source-file-list on gdb-create-source-file-list.
1071
00db469c
EZ
10722011-11-26 Eli Zaretskii <eliz@gnu.org>
1073
1074 * whitespace.el (whitespace-newline): Use a different foreground
1075 color for 16-color light-background displays.
1076
4ad3bc2a
CY
10772011-11-24 Chong Yidong <cyd@gnu.org>
1078
1079 * window.el (display-buffer--special-action): Doc fix.
1080
e9fce1ac
JB
10812011-11-25 Juanma Barranquero <lekktu@gmail.com>
1082
1083 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1084 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1085 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1086 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1087 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1088 (avl-tree-stack-first):
1089 * emacs-lisp/cconv.el (cconv--analyse-use):
1090 * net/gnutls.el (gnutls-negotiate): Fix typos.
1091
cb825e5d
GM
10922011-11-24 Glenn Morris <rgm@gnu.org>
1093
3adbe224
GM
1094 * lpr.el (lpr-windows-system, lpr-lp-system):
1095 * mail/binhex.el (binhex-begin-line):
1096 * progmodes/grep.el (grep-history, grep-find-history):
1097 * textmodes/flyspell.el:
1098 * vc/pcvs-defs.el (cvs-global-menu):
1099 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1100 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1101 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1102
321decc8
GM
1103 * net/tls.el: Fix case of "GnuTLS".
1104
420b63ad
GM
1105 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1106
cb825e5d
GM
1107 * version.el (emacs-build-system): Give it a doc-string.
1108
a0649f08
JL
11092011-11-24 Juri Linkov <juri@jurta.org>
1110
1111 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1112
c0bc0fd4
GM
11132011-11-24 Glenn Morris <rgm@gnu.org>
1114
1115 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1116 if called on a non-mime message just toggle the headers. (Bug#8006)
1117
20db1522
JB
11182011-11-24 Juanma Barranquero <lekktu@gmail.com>
1119
1120 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1121 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1122 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1123 (allout-rebullet-heading, allout-open-sibtopic)
1124 (allout-toggle-current-subtree-encryption)
1125 (allout-toggle-subtree-encryption, allout-encrypt-string)
1126 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1127 (allout-distinctive-bullets-string, allout-auto-activation):
1128 * window.el (window-normalize-buffer-to-display):
1129 * progmodes/verilog-mode.el (verilog-batch-indent):
1130 * textmodes/bibtex.el (bibtex-field-braces-opt)
1131 (bibtex-field-strings-opt):
1132 * vc/cvs-status.el (cvs-tree-merge):
1133 Fix typos.
1134
7262a87c
MA
11352011-11-23 Michael Albinus <michael.albinus@gmx.de>
1136
1137 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1138 `non-essential' to t, in order to avoid remote connections.
1139
283430a1
EZ
11402011-11-23 Eli Zaretskii <eliz@gnu.org>
1141
a1beca85
SM
1142 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1143 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1144 case-insensitively.
1145
d2992a38
ML
11462011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1147
1148 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1149
50419064
GM
11502011-11-23 Glenn Morris <rgm@gnu.org>
1151
da94eca1
GM
1152 * paths.el (rmail-file-name): Reformat the doc-string so that it
1153 is picked up.
1154
9aac4de2
GM
1155 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1156 (rmail-auto-file): Ignore case in the "special" field names,
1157 as mail-fetch-field does for all others.
1158
8038d2d2
GM
1159 * mail/rmail.el (rmail-forward):
1160 * mail/rmailkwd.el (rmail-set-label):
1161 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1162 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1163
f3fe222a
GM
1164 * mail/rmail.el (rmail-current-message): Doc fix.
1165
50419064
GM
1166 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1167
28109f49
SM
11682011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1171
394c65f1
GM
11722011-11-22 Glenn Morris <rgm@gnu.org>
1173
1174 * mail/rmailmm.el (test-rmail-mime-handler)
1175 (test-rmail-mime-bulk-handler)
1176 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1177
f2a0aa3a
JL
11782011-11-21 Juri Linkov <juri@jurta.org>
1179
1154d12e
JB
1180 * calc/calc.el (calc-read-key-sequence):
1181 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1182
9c34a344
LMI
11832011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1184
1185 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1186 Tell the caller that the next line needs recomputation, even
1187 though it doesn't start a sexp (bug#10094).
1188
f04a3be9
SM
11892011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1192
7978747f
SM
11932011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1194
f04a3be9
SM
1195 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1196 Use force-same-window.
7978747f 1197
fe7a3057
JB
11982011-11-20 Juanma Barranquero <lekktu@gmail.com>
1199
1200 * descr-text.el (describe-char-unicode-data):
1201 * json.el (json-string-escape):
1202 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1203 (Footnote-unicode, Footnote-style-p):
1204 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1205
24901d61
CY
12062011-11-20 Chong Yidong <cyd@gnu.org>
1207
1208 * window.el (replace-buffer-in-windows): Restore interactive spec.
1209
bac7ff22
SM
12102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1211
24f3d7b9
SM
1212 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1213
bac7ff22
SM
1214 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1215 (byte-compile-global-not-obsolete-vars): New var.
1216 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1217 Use it.
1218 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1219
cd1181db
JB
12202011-11-20 Juanma Barranquero <lekktu@gmail.com>
1221
1222 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1223 * progmodes/pascal.el (electric-pascal-equal):
1224 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1225 * xml.el (xml-substitute-special): Fix typos.
1226
7fb18e9e
GM
12272011-11-20 Glenn Morris <rgm@gnu.org>
1228
1229 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1230 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1231 Doc fixes.
1232 (rmail-decode-mime-charset): Mark as obsolete.
1233
1234 * mail/rmailsum.el (rmail-message-regexp-p-1):
1235 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1236 Before using mime functions, check they are set. (Bug#10077)
1237
d5a6b3ba
JL
12382011-11-19 Juri Linkov <juri@jurta.org>
1239
1240 * info.el (Info-finder-find-node): Use `package--builtins' instead
1241 of `package-alist'. Use node names formed by the pattern "Keyword "
1242 and the keyword name.
1243
e981b61f
AS
12442011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1245
1d00653d 1246 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1247
3ffbc301
JL
12482011-11-19 Juri Linkov <juri@jurta.org>
1249
1250 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1251 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1252 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1253 `old-history', `old-history-forward'. Add let-binding
1254 `window-selected'. Remove calls to `kill-buffer',
1255 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1256 before calling `Info-find-node', so `Info-find-node-2' will reread
1257 the Info file. Restore window positions only when `window-selected'
1258 is non-nil.
1259
30c62133
JL
12602011-11-19 Juri Linkov <juri@jurta.org>
1261
1262 * isearch.el (isearch-lazy-highlight-new-loop):
1263 Remove condition `(not isearch-error)'. (Bug#9918)
1264
1265 * misearch.el (multi-isearch-search-fun): Add condition
1266 `(not bound)' to ignore lazy-highlighting search.
1267 Add the search-failed message "end of multi" when the end of
1268 multi-sequence is reached. Uncapitalize the search-failed
1269 message "Repeat for next buffer".
1270
1271 * info.el (Info-search): Add the search-failed message
1272 "end of the manual" when the end of the manual is reached
1273 in Isearch mode.
1274
645ca9cf
JL
12752011-11-19 Juri Linkov <juri@jurta.org>
1276
1277 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1278 Use non-destructive `remove' instead of `delete' because
1279 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1280 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1281
df754f66
JL
12822011-11-19 Juri Linkov <juri@jurta.org>
1283
1284 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1285 to nil instead of binding `search-ring' and `regexp-search-ring'.
1286 (Bug#9185)
1287
0e23d96a
EZ
12882011-11-19 Eli Zaretskii <eliz@gnu.org>
1289
1290 * simple.el (line-move): Force movement by logical lines for any
1291 hscrolled window, not only when auto-hscroll-mode is on.
1292 (line-move-visual): Update doc string to that effect. (Bug#10076)
1293
8a6ccb66
AS
12942011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * language/european.el (macintosh): Define as alias for mac-roman.
1297
49ae5b39
EZ
12982011-11-19 Eli Zaretskii <eliz@gnu.org>
1299
1300 * mail/rmailmm.el (rmail-mime-display-header)
1301 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1302 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1303 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1304 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1305 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1306 of a raw aref.
1307 (rmail-mime-entity-segment): To get past the tagline, move forward
1308 2 more lines, to account for the 2 empty lines that precede and
1309 follow the line with the buttons.
1310 (rmail-mime-update-tagline): Move one more line, to get past the
1311 empty line that follows the buttons in the tagline. (Bug#9520)
1312
c56cad4a
MR
13132011-11-19 Martin Rudalics <rudalics@gmx.at>
1314
1315 * window.el (window-max-delta-1, window-min-delta-1)
1316 (window-min-size-1, window-state-get-1, window-state-put-1)
1317 (window-state-put-2): Use "window--" prefix.
1318
cbe71af3
SM
13192011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1320
2ad52c60
SM
1321 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1322 (smie-warning-count): New var.
1323 (smie-set-prec2tab): Use it.
1324 (smie-bnf->prec2): Improve warnings. Add docstring.
1325 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1326 (smie-bnf--set-class): New function.
1327 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1328 corner case.
1329
6944dbc1
SM
1330 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1331 (compilation-error-properties, compilation-move-to-column):
1332 Handle compilation-first-column while in the target buffer.
1333
c400c4d7
SM
1334 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1335 Don't hardcode point-min==1.
1336
6dbe3e96
SM
1337 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1338 (eshell-rewrite-for-command): Remove workaround.
1339 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1340 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1341 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1342
cbe71af3
SM
1343 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1344
a8e1496d
GM
13452011-11-17 Glenn Morris <rgm@gnu.org>
1346
1347 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1348 Ignore buffer-local generated-autoload-file if it is the same
1349 as the global value. (Bug#10049)
1350
df85d315
JB
13512011-11-17 Juanma Barranquero <lekktu@gmail.com>
1352
1353 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1354 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1355 (reftex-toc-previous-heading, reftex-toc-max-level)
1356 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1357 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1358 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1359 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1360 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1361 (reftex-toc-rename-label, reftex-toc-visit-location)
1362 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1363 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1364 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1365 leaving "*toc*" only for references to the buffer.
1366
a0c2d0ae
MR
13672011-11-17 Martin Rudalics <rudalics@gmx.at>
1368
1369 * window.el (window-resize, delete-window, split-window):
1370 Replace window-splits by window-combination-resize.
1d00653d 1371 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1372
35c0bac8
GM
13732011-11-17 Glenn Morris <rgm@gnu.org>
1374
1375 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1376 Make bash entry derive from sh entry, not shell entry.
1377
d0c8fc8a
MA
13782011-11-16 Michael Albinus <michael.albinus@gmx.de>
1379
d0c8fc8a
MA
1380 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1381 properties of linked files. (Bug#9879)
1382
7262a87c
MA
1383 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1384 local file name.
1385
7877f373
JB
13862011-11-16 Juanma Barranquero <lekktu@gmail.com>
1387
1388 * menu-bar.el (menu-bar-file-menu):
1389 * printing.el (pr-ps-utility):
1390 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1391 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1392 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1393 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1394 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1395 (icalendar--convert-cyclic-to-ical)
1396 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1397 (icalendar--convert-ical-to-diary)
1398 (icalendar--convert-recurring-to-diary)
1399 (icalendar--convert-non-recurring-all-day-to-diary)
1400 (icalendar-import-format-sample):
1401 * progmodes/idlw-shell.el (idlwave-shell-mode):
1402 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1403 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1404 (vhdl-ps-print-init): Fix typos.
1405
10649b82
KM
14062011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1407
9d0cfcd6
GM
1408 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1409 FSF and collapse date sequence, obscure author/maintainer email address
1410 better, remove extra version line, track relocation of author's webpage.
10649b82 1411
9d0cfcd6
GM
1412 * progmodes/python.el (python-pdbtrack-input-prompt)
1413 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1414 regular python pdb prompts. Adjustments shamelessly taken exactly as
1415 suggested in EmacsWiki page (tiny change):
1416 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1417
58179cce
JB
14182011-11-16 Juanma Barranquero <lekktu@gmail.com>
1419
1420 * expand.el (expand-pos, expand-index, expand-point):
1421 Remove redundant info from docstring.
1422 (expand-add-abbrevs): Doc fix.
1423 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1424 (expand-sample-perl-mode-expand-list): Fix typos.
1425
1426 * net/dbus.el (dbus-event-member-name):
1427 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1428 * term/pc-win.el (msdos-create-frame-with-faces):
1429 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1430
b6f67890
MR
14312011-11-16 Martin Rudalics <rudalics@gmx.at>
1432
1433 * window.el (split-window, window-state-get-1)
1434 (window-state-put-1, window-state-put-2): Rename occurrences of
1435 window-nest to window-combination-limit.
1d00653d 1436 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1437
ce7ddba0
CY
14382011-11-16 Chong Yidong <cyd@gnu.org>
1439
1440 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1441 regexp (Bug#10033).
1442
3ae704f4
SM
14432011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1446 `completing-read' will remove *Completions* and will preserve
1447 current-buffer for us.
1448 (tmm-add-prompt): Users of *Completions* will always (re)set its
1449 major mode.
1450 (tmm-old-comp-map): Remove.
1451
6ad1cdde
GM
14522011-11-16 Glenn Morris <rgm@gnu.org>
1453
1454 * mail/rmailedit.el: Require rmailmm when compiling.
1455 (rmail-old-mime-state): New declaration.
1456 (rmail-edit-current-message): If editing a mime message,
1457 edit the "raw" message from the mbox buffer.
1458 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1459
d20faa20
GM
14602011-11-15 Glenn Morris <rgm@gnu.org>
1461
1462 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1463 which wasn't being used. Add optional arg to force given state.
1464 (rmail-mime): Add optional arg to force given state.
1465
c7015153
JB
14662011-11-15 Juanma Barranquero <lekktu@gmail.com>
1467
1468 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1469 * frame.el (display-mm-dimensions-alist):
1470 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1471 (outline-move-subtree-down):
1472 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1473 (newsticker--treeview-do-get-node):
1474 * net/quickurl.el (quickurl-list-buffer-name):
1475 * progmodes/dcl-mode.el (dcl-mode):
1476 * progmodes/gdb-mi.el (gdb-mapcar*):
1477 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1478
45261b50
GM
14792011-11-15 Glenn Morris <rgm@gnu.org>
1480
1481 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1482 in a boolean sense, so just make it a boolean, and fix the doc.
1483 (rmail-show-mime-function, rmail-mime-feature)
1484 (rmail-require-mime-maybe): Doc fixes.
1485 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1486
1487 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1488
0d26e0b6
JB
14892011-11-15 Juanma Barranquero <lekktu@gmail.com>
1490
1491 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1492 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1493 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1494 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1495
447f30f6
GM
14962011-11-15 Glenn Morris <rgm@gnu.org>
1497
672b871d
GM
1498 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1499 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1500 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1501 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1502 (rmail-mime, rmail-show-mime): Doc fixes.
1503
f6aa5bb1
GM
1504 * term/ns-win.el (mode-line-frame-identification):
1505 Leave it alone. (Bug#10051)
1506
947cd66b
GM
1507 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1508
447f30f6
GM
1509 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1510 Handle empty buffers. (Bug#9978)
1511
0b381c7e
JB
15122011-11-14 Juanma Barranquero <lekktu@gmail.com>
1513
1514 * international/mule.el (define-charset):
1515 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1516 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1517 * progmodes/verilog-mode.el (verilog-backward-token):
1518 * textmodes/ispell.el (lookup-words):
1519 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1520
71e027ac
GM
15212011-11-14 Glenn Morris <rgm@gnu.org>
1522
56632ce4
GM
1523 * progmodes/executable.el
1524 (executable-make-buffer-file-executable-if-script-p):
1525 Handle file-modes returning nil.
1526
40500957
GM
1527 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1528 message - not necessary, and causes problems. (Bug#9831)
1529
071c2340
GM
1530 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1531
d3cfca60
GM
1532 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1533
71e027ac
GM
1534 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1535 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1536 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1537
89d61221
MR
15382011-11-12 Martin Rudalics <rudalics@gmx.at>
1539
1540 * window.el (window-resize, delete-window): Use window-splits
1541 variable instead of function.
1542 (window-state-get-1, window-state-put-2, window-state-put):
1543 Don't deal with windows' splits status.
1544
98282f6f
GM
15452011-11-12 Glenn Morris <rgm@gnu.org>
1546
1547 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1548 (apropos-documentation): Doc fixes.
1549
40a8bdf6
JB
15502011-11-11 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1553 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1554
65bd19ff
SM
15552011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * electric.el (electric-indent-post-self-insert-function): Make it
1558 possible for a char to only indent in some circumstances.
1559 (electric-indent-mode): Simplify.
1560
54f9154c
MR
15612011-11-11 Martin Rudalics <rudalics@gmx.at>
1562
1563 * window.el (windows-with-parameter): Remove unused function.
1564 (windows-at-side): Rename to window-at-side-list.
1565 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1566 (window-side-check, window-size-ignore, window-size-fixed-1)
1567 (window-in-direction-2): Prefix with "window--".
1568 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1569
68cbc58b
GM
15702011-11-11 Glenn Morris <rgm@gnu.org>
1571
1572 * subr.el (eval-after-load): If FILE is already loaded,
1573 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1574
b2621720
GM
15752011-11-10 Glenn Morris <rgm@gnu.org>
1576
9a4de110
GM
1577 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1578 Call svn via vc-svn-command rather than vc-do-command.
1579 (vc-svn-command): Add --non-interactive. (Bug#9993)
1580 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1581
b2621720
GM
1582 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1583 Add toggle-read-only. (Bug#7292)
1584 * files.el (toggle-read-only): Mention that it should only
1585 be used interactively. (Bug#10006)
1586
1dce7193
SM
15872011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1588
d9ac1a1e
SM
1589 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1590 Adjust regexp for OCaml warnings.
1591
0c325082
SM
1592 * electric.el (electric-pair-post-self-insert-function): Let user
1593 turn it off buffer-locally (bug#9932).
1594
90132c14
SM
1595 * progmodes/python.el (python-beginning-of-statement):
1596 Rewrite (bug#2703).
1597
1dce7193
SM
1598 * progmodes/compile.el: Better handle TABs (bug#9749).
1599 (compilation-internal-error-properties)
1600 (compilation-next-error-function): Obey the target buffer's
1601 compilation-error-screen-columns.
1602
c4e7c63a
JB
16032011-11-09 Juanma Barranquero <lekktu@gmail.com>
1604
1605 * progmodes/meta-mode.el: Remove obsolete comments.
1606 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1607 Fix typos in docstrings.
1608
2cffd681
MR
16092011-11-09 Martin Rudalics <rudalics@gmx.at>
1610
1611 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1612 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1613 (window--resizable): New function. Make all callers of
1614 window-resizable call window--resizable instead.
1615 (window-resizable): Rewrite in terms of window--resizable.
1616
0edcba87
GM
16172011-11-08 Glenn Morris <rgm@gnu.org>
1618
1619 * progmodes/delphi.el (delphi-mode-syntax-table):
1620 Let define-derived-mode define a proper syntax table. (Bug#9994)
1621
4b0d61e3
SM
16222011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * window.el: Stay away from defsubst.
1625 (window-list-no-nils): Remove.
1626 (window-state-get-1, window-state-get): Use backquote instead.
1627
cd394be1 16282011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1629
4b0d61e3 1630 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1631 Fix incorrect use of default argument in `completing-read'.
1632
e1c2c6f2
MR
16332011-11-08 Martin Rudalics <rudalics@gmx.at>
1634
1635 * window.el (display-buffer-function, special-display-function):
1636 Mention display-buffer-record-window but do not mention
1637 help-setup parameter in doc-strings.
b3f4a882 1638 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1639
105216ed
CY
16402011-11-08 Chong Yidong <cyd@gnu.org>
1641
1642 * window.el (window-total-height, window-total-width): Doc fix.
1643 (window-body-size): Move from C.
1644 (window-body-height, window-body-width): Move to C.
1645
0a9f9ab5
SM
16462011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * window.el: Make special-display like display-buffer-alist (bug#9532).
1649 (display-buffer--special-action): New function, morphed
1650 from display-buffer--special.
1651 (display-buffer): Use it to handle special-display-buffers at higher
1652 priority (just after display-buffer-alist).
1653 (display-buffer-fallback-action, display-buffer--other-frame-action)
1654 (pop-to-buffer-same-window): Remove display-buffer--special.
1655
a769dd15
GM
16562011-11-07 Glenn Morris <rgm@gnu.org>
1657
1658 * calendar/cal-menu.el (cal-menu-set-date-title):
1659 Do nothing if not in a calendar. (Bug#9976)
1660
05a61ee3
SM
16612011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * files.el (find-file): Always use selected-window.
1664
be7f5545
MR
16652011-11-07 Martin Rudalics <rudalics@gmx.at>
1666
1667 * window.el (window-combinations): Make WINDOW argument
1668 mandatory. Rewrite doc-string.
1669 (walk-window-subtree, window-atom-check, window-min-delta)
1670 (window-max-delta, window--resize-this-window)
1671 (window--resize-root-window-vertically, window-tree)
1672 (balance-windows, window-state-put): Rewrite doc-strings as to
1673 not mention the term "subwindow".
1674 (window--resize-subwindows-skip-p): Rename to
1675 window--resize-child-windows-skip-p.
1676 (window--resize-subwindows-normal): Rename to
1677 window--resize-child-windows-normal.
1678 (window--resize-subwindows): Rename to
1679 window--resize-child-windows.
1680 (window-or-subwindow-p): Rename to window--in-subtree-p.
1681
3c6702ef
ML
16822011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1683
1684 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1685 Ensure that mbox format messages end in two newlines (Bug#9974).
1686
49745b39
CY
16872011-11-06 Chong Yidong <cyd@gnu.org>
1688
1689 * window.el (window-combination-p): Function deleted; its
1690 side-effect is not used in any existing code.
1691 (window-combinations, window-combined-p): Call window-*-child
1692 directly.
1693
24300f5f
CY
16942011-11-05 Chong Yidong <cyd@gnu.org>
1695
1696 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1697 (window-size-ignore, window-state-get): Callers changed.
1698 (window-normalize-window): Rename from window-normalize-any-window.
1699 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1700 (window-normalize-live-window): Delete.
447f16b8
CY
1701 (window-combination-p, window-combined-p, window-combinations)
1702 (walk-window-subtree, window-atom-root, window-min-size)
1703 (window-sizable, window-sizable-p, window-size-fixed-p)
1704 (window-min-delta, window-max-delta, window-resizable)
1705 (window-resizable-p, window-full-height-p, window-full-width-p)
1706 (window-current-scroll-bars, window-point-1, set-window-point-1)
1707 (window-at-side-p, window-in-direction, window-resize)
1708 (adjust-window-trailing-edge, maximize-window, minimize-window)
1709 (window-deletable-p, delete-window, delete-other-windows)
1710 (record-window-buffer, unrecord-window-buffer)
1711 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1712 (quit-window, split-window, window-state-put)
1713 (set-window-text-height, fit-window-to-buffer)
1714 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1715
89bd5ee1
EZ
17162011-11-04 Eli Zaretskii <eliz@gnu.org>
1717
53479029
EZ
1718 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1719 rfc2047-decode-string.
1720 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1721 warnings.
1722
89bd5ee1
EZ
1723 * window.el (window-body-height, window-body-width): Mention in
1724 the doc string that the return values are in frame's canonical
1725 units. (Bug#9949)
1726
bd17fdee
AM
17272011-11-03 Alan Mackenzie <acm@muc.de>
1728
1729 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1730 change in cc-engine.el.
1731
acc825c5
SM
17322011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1735
1885e5b8
MR
17362011-11-02 Martin Rudalics <rudalics@gmx.at>
1737
1738 * window.el (quit-window): Call unrecord-window-buffer after
1739 showing another buffer in the window. (Bug#9937)
acc825c5 1740 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1741
ebe06da9
JB
17422011-11-02 Juanma Barranquero <lekktu@gmail.com>
1743
1744 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1745 Accept status with more than 9 shelves. (Bug#9935)
1746 Reported by Colin D Bennett <colin@gibibit.com>.
1747
4ee88440
MR
17482011-11-01 Martin Rudalics <rudalics@gmx.at>
1749
1750 * help.el (with-help-window): Don't reference
1751 temp-buffer-show-specifiers in doc-string.
1752
08e1d82c
AS
17532011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1754
1755 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1756 menu-item.
1757
84bd6e9e
VJL
17582011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1759
1760 * whitespace.el: New version 13.2.2.
1761 (whitespace-newline-mode): Disable properly. Reported by Sarah
1762 <EmacsWiki>.
1763
dba0634a
UJ
17642011-10-30 Ulf Jasper <ulf.jasper@web.de>
1765
1766 * net/newst-treeview.el: Remove "Time-stamp".
1767 (newsticker--group-manage-orphan-feeds): Do not call
1768 newsticker--treeview-tree-update.
db22a3c2
JB
1769 (newsticker-treeview-update, newsticker-treeview):
1770 Call newsticker--treeview-tree-update if necessary.
dba0634a 1771
3d8daefe
MR
17722011-10-30 Martin Rudalics <rudalics@gmx.at>
1773
1774 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1775 (window-iso-combinations): Remove "iso-" infix.
1776 Suggested by Chong Yidong.
3d8daefe
MR
1777 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1778 (window-max-delta-1, window-resize, window--resize-siblings)
1779 (window--resize-this-window, adjust-window-trailing-edge)
1780 (split-window, balance-windows-1)
1781 (shrink-window-if-larger-than-buffer):
1782 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1783 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1784
1bc4c3ae
SM
17852011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1788 in place (bug#9907).
1789 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1790 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1791 (eshell-structure-basic-command, eshell-rewrite-while-command)
1792 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1793 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1794 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1795 (eshell-do-pipelines-synchronously, eshell-eval-command):
1796 Use backquotes and prefer setq to set.
1797 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1798 (eshell-macrop): Use functionp.
c1e2f5fa 1799 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1800
30b65d9c
CY
18012011-10-30 Chong Yidong <cyd@gnu.org>
1802
1803 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1804 instead of set-mark (Bug#9810).
1805
2d197ffb
CY
18062011-10-30 Chong Yidong <cyd@gnu.org>
1807
1808 * window.el (split-window-below, split-window-right): Rename from
1809 split-window-above-each-other and split-window-side-by-side
1810 respectively. All callers changed.
1811 (split-window-sensibly, split-window-sensibly): Use them.
1812 (split-window-keep-point): Doc fix.
1813
1814 * isearch.el: Add isearch-scroll property to split-window-below
1815 and split-window-right.
1816
1817 * follow.el (follow-mode):
1818 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1819 * progmodes/ada-xref.el (ada-gdb-application):
1820 * emulation/vip.el (vip-buffer-in-two-windows):
1821 * image-dired.el (image-dired-dired-with-window-configuration):
1822 * dired-x.el (dired-do-find-marked-files):
1823 * dired.el (dired-pop-to-buffer):
1824 * bs.el (bs--show-with-configuration):
1825 * vc/emerge.el (emerge-setup-windows):
1826 * textmodes/two-column.el (2C-two-columns):
1827 * textmodes/reftex-toc.el (reftex-toc):
1828 * progmodes/gdb-mi.el (gdb-setup-windows):
1829 * progmodes/fortran.el (fortran-window-create):
1830 * net/newst-treeview.el (newsticker--treeview-window-init):
1831 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1832 * emulation/tpu-edt.el (tpu-gold-map):
1833 * emulation/crisp.el (crisp-mode-map):
1834 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1835
38bb2ca8
CY
18362011-10-29 Chong Yidong <cyd@gnu.org>
1837
aa4de341
CY
1838 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1839
e1eb5385
CY
1840 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1841
5d2ece3c
CY
1842 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1843 forged Ispell output (Bug#7904).
1844
38bb2ca8
CY
1845 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1846
d0af9f77
SM
18472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * doc-view.el: Avoid ugly errors about not finding nil.
1850 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1851 (doc-view-dvipdf-program, doc-view-unoconv-program)
1852 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1853 Avoid nil or absolute file name as default value.
1854 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1855
52bedd34
AM
18562011-10-28 Alan Mackenzie <acm@muc.de>
1857
db22a3c2 1858 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1859
7e43cfa5
AM
18602011-10-28 Alan Mackenzie <acm@muc.de>
1861
1862 Amend the handling of c-beginning/end-of-defun in nested declaration
1863 scopes.
1864
52bedd34
AM
1865 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1866 cc-langs.el. Change it to a defcustom.
7e43cfa5 1867
52bedd34
AM
1868 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1869 cc-vars.el.
7e43cfa5 1870
d0af9f77
SM
1871 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1872 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1873
52bedd34 1874 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1875 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1876 (c-widen-to-enclosing-decl-scope): New function.
1877 (c-while-widening-to-decl-block): New macro.
1878 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1879 outward for defun boundaries, and correspondingly change symbol
1880 `respect-enclosure' to `go-outward'.
1881 (c-declaration-limits): Change algorithm to report only the "innermost"
1882 defun's boundaries.
1883
1a2ce9ee
DD
18842011-10-28 Deniz Dogan <deniz@dogan.se>
1885
1886 * net/rcirc.el (rcirc-mode): Use hard newlines.
1887
bc97a826
AM
18882011-10-28 Alan Mackenzie <acm@muc.de>
1889
1890 Amend to indent and fontify macros "which include their own semicolon"
1891 correctly, using the "virtual semicolon" mechanism.
1892
52bedd34 1893 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1894
d0af9f77 1895 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1896 Recode to scan one line at a time rather than having \n and \r
58179cce 1897 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1898 (c-forward-label): Amend for virtual semicolons.
58179cce 1899 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1900
52bedd34
AM
1901 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1902 of the new C macros.
bc97a826 1903
52bedd34 1904 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1905 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1906 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1907 (c-opt-cpp-macro-define): Make into a full language variable.
1908 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1909 AWK Mode (including \n, \r) removed, no longer needed.
1910
d0af9f77
SM
1911 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1912 Invoke c-make-macro-with-semi-re.
bc97a826 1913
52bedd34
AM
1914 * progmodes/cc-vars.el (c-macro-with-semi-re):
1915 (c-macro-names-with-semicolon): New variables.
58179cce 1916 (c-make-macro-with-semi-re): New function.
bc97a826 1917
7a6c0941
SM
19182011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * vc/log-edit.el: Fill empty field rather than adding new one.
1921 (log-edit-add-field): New function.
1922 (log-edit-insert-changelog): Use it.
1923
b0c4cdcf
ML
19242011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1925
1926 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1927
ee1f1da9
SM
19282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1931 (gdb--check-interpreter): New function.
1932 (gdb): Use it.
1933
51bc5f8b
GM
19342011-10-27 Glenn Morris <rgm@gnu.org>
1935
416a2c45
GM
1936 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1937 (least-positive-float, least-negative-float)
1938 (least-positive-normalized-float, least-negative-normalized-float)
1939 (float-epsilon, float-negative-epsilon):
1940 Remove unnecessary declarations.
1941
1942 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1943 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1944 (least-positive-float, least-negative-float)
1945 (least-positive-normalized-float, least-negative-normalized-float)
1946 (float-epsilon, float-negative-epsilon): Add doc-strings,
1947 based on those in cl.texi.
1948
51bc5f8b
GM
1949 * files.el (set-visited-file-name): If the major-mode changed,
1950 reload the local variables. (Bug#9796)
1951
15de15c6
CY
19522011-10-27 Chong Yidong <cyd@gnu.org>
1953
1954 * subr.el (change-major-mode-after-body-hook): New hook.
1955 (run-mode-hooks): Run it.
1956
ee1f1da9
SM
1957 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1958 Use change-major-mode-before-body-hook.
15de15c6
CY
1959
1960 * simple.el (fundamental-mode):
1961 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1962 change introducing fundamental-mode-hook.
1963
5430d399
JB
19642011-10-26 Juanma Barranquero <lekktu@gmail.com>
1965
acc825c5 1966 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1967
ad74a69e
MA
19682011-10-26 Michael Albinus <michael.albinus@gmx.de>
1969
1970 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1971 tramp.el explicitly. (Bug#7583)
ad74a69e 1972
71d4c2a5
SM
19732011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * progmodes/octave-mod.el:
1976 * progmodes/octave-inf.el: Update maintainer.
1977
b1f6fa26
CY
19782011-10-26 Chong Yidong <cyd@gnu.org>
1979
1980 * subr.el (with-wrapper-hook): Rewrite doc.
1981
3f04efd6
MA
19822011-10-25 Michael Albinus <michael.albinus@gmx.de>
1983
1984 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1985 filenames "/method:foo:". (Bug#9793)
3f04efd6 1986
410488d3
SM
19872011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1990 (bug#9865).
1991
c1ebb47e
GM
19922011-10-24 Glenn Morris <rgm@gnu.org>
1993
1994 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1995
7f5c46c7
MA
19962011-10-24 Michael Albinus <michael.albinus@gmx.de>
1997
1998 * notifications.el: Add the requirement of a running D-Bus session
1999 bus to the Commentary.
2000
db2440b6
JL
20012011-10-24 Juri Linkov <juri@jurta.org>
2002
2003 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2004 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2005 (Bug#9364)
2006
feecf435
JL
20072011-10-24 Juri Linkov <juri@jurta.org>
2008
2009 * info.el (Info-following-node-name-re): Add newline to the list
2010 of allowed characters for leading space. (Bug#9824)
2011
a3839de2
SM
20122011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2013
acc825c5
SM
2014 * progmodes/octave-inf.el (inferior-octave-mode-map):
2015 Fix C-c C-h binding.
a3839de2
SM
2016 * progmodes/octave-mod.el (octave-help): Remove.
2017
09388e76
MA
20182011-10-23 Michael Albinus <michael.albinus@gmx.de>
2019
2020 Sync with Tramp 2.2.3.
2021
2022 * net/tramp-cache.el (top): Pacify byte-compiler using
2023 `init-file-user' and `site-run-file'.
2024
2025 * net/trampver.el: Update release number.
2026
86c60681
CY
20272011-10-23 Chong Yidong <cyd@gnu.org>
2028
2029 * files.el (toggle-read-only): Remove obsolete comment about
2030 version control.
2031
2032 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2033 for toggle-read-only. Note that this hasn't called vc-next-action
2034 since 2008-05-02, though it wasn't documented at the time.
2035
a3839de2
SM
2036 * vc/ediff-init.el (ediff-toggle-read-only-function):
2037 Use toggle-read-only.
86c60681 2038
cd5495ff
AM
20392011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2040
2041 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2042 of c-parse-state.
2043
00b77525 2044 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2045 correct faulty logical expression.
cd5495ff
AM
2046 (c-parse-state-state, c-record-parse-state-state):
2047 (c-replay-parse-state-state): New defvar/defuns.
2048 (c-debug-parse-state): Use new functions.
2049
42ee24ed
MR
20502011-10-22 Martin Rudalics <rudalics@gmx.at>
2051
2052 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2053 last fix. Use window-in-direction correctly.
42ee24ed 2054
a7dee7e7
CY
20552011-10-21 Chong Yidong <cyd@gnu.org>
2056
2057 * progmodes/idlwave.el (idlwave-mode):
2058 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2059 require-final-newline; that's done in prog-mode.
2060 Suggested by Stefan Monnier.
a7dee7e7 2061
e07b9a6d
MR
20622011-10-21 Martin Rudalics <rudalics@gmx.at>
2063
2064 * mouse.el (mouse-drag-window-above)
2065 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2066 (mouse-drag-mode-line-1, mouse-drag-header-line)
2067 (mouse-drag-vertical-line-rightward-window): Remove.
2068 (mouse-drag-line): New function.
2069 (mouse-drag-mode-line, mouse-drag-header-line)
2070 (mouse-drag-vertical-line): Call mouse-drag-line.
2071 * window.el (window-at-side-p, windows-at-side): New functions.
2072
7e1361d9
UM
20732011-10-21 Ulrich Mueller <ulm@gentoo.org>
2074
2075 * tar-mode.el (tar-grind-file-mode):
2076 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2077
30fcaf3a
CY
20782011-10-21 Chong Yidong <cyd@gnu.org>
2079
2080 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2081 * progmodes/vera-mode.el (vera-mode):
2082 Use mode-require-final-newline.
30fcaf3a 2083
516eddb0
GM
20842011-10-20 Glenn Morris <rgm@gnu.org>
2085
db22a3c2 2086 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2087
10d5f513
CS
20882011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2089
2090 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2091
ac6c8639
CY
20922011-10-20 Chong Yidong <cyd@gnu.org>
2093
2094 * emulation/cua-base.el (cua-mode):
2095 * mail/footnote.el (footnote-mode):
2096 * mail/mailabbrev.el (mail-abbrevs-mode):
2097 * net/xesam.el (xesam-minor-mode):
2098 * progmodes/bug-reference.el (bug-reference-mode):
2099 * progmodes/cap-words.el (capitalized-words-mode):
2100 * progmodes/compile.el (compilation-minor-mode)
2101 (compilation-shell-minor-mode):
2102 * progmodes/gud.el (gud-tooltip-mode):
2103 * progmodes/hideif.el (hide-ifdef-mode):
2104 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2105 * progmodes/subword.el (subword-mode):
2106 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2107 * progmodes/which-func.el (which-function-mode):
2108 * term/tvi970.el (tvi970-set-keypad-mode):
2109 * term/vt100.el (vt100-wide-mode):
2110 * textmodes/flyspell.el (flyspell-mode):
2111 * textmodes/ispell.el (ispell-minor-mode):
2112 * textmodes/nroff-mode.el (nroff-electric-mode):
2113 * textmodes/paragraphs.el (use-hard-newlines):
2114 * textmodes/refill.el (refill-mode):
2115 * textmodes/reftex.el (reftex-mode):
2116 * textmodes/rst.el (rst-minor-mode):
2117 * textmodes/sgml-mode.el (html-autoview-mode)
2118 (sgml-electric-tag-pair-mode):
2119 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2120 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2121 * emulation/crisp.el (crisp-mode):
2122 * emacs-lisp/eldoc.el (eldoc-mode):
2123 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2124 minor mode behavior.
2125
aa42ab43
JL
21262011-10-19 Juri Linkov <juri@jurta.org>
2127
2128 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2129 the list of hard-coded chars with escape-glyph face.
2130
89400f1d
SM
21312011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2134
305c07f6
MA
21352011-10-19 Michael Albinus <michael.albinus@gmx.de>
2136
2137 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2138 running process.
2139
13754b54
GM
21402011-10-19 Glenn Morris <rgm@gnu.org>
2141
2142 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2143 Ignore ignored files. (Bug#9726)
2144
06e21633
CY
21452011-10-19 Chong Yidong <cyd@gnu.org>
2146
2147 Doc fix for minor modes, stating that an omitted argument enables
2148 the mode unconditionally when called from Lisp.
2149
2150 * abbrev.el (abbrev-mode):
2151 * allout.el (allout-mode):
2152 * autoinsert.el (auto-insert-mode):
2153 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2154 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2155 (global-auto-revert-mode):
2156 * battery.el (display-battery-mode):
2157 * composite.el (global-auto-composition-mode)
2158 (auto-composition-mode):
2159 * delsel.el (delete-selection-mode):
2160 * desktop.el (desktop-save-mode):
2161 * dired-x.el (dired-omit-mode):
2162 * dirtrack.el (dirtrack-mode):
2163 * doc-view.el (doc-view-minor-mode):
2164 * double.el (double-mode):
2165 * electric.el (electric-indent-mode, electric-pair-mode):
2166 * emacs-lock.el (emacs-lock-mode):
2167 * epa-hook.el (auto-encryption-mode):
2168 * follow.el (follow-mode):
2169 * font-core.el (font-lock-mode):
2170 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2171 * help.el (temp-buffer-resize-mode):
2172 * hilit-chg.el (highlight-changes-mode)
2173 (highlight-changes-visible-mode):
2174 * hi-lock.el (hi-lock-mode):
2175 * hl-line.el (hl-line-mode, global-hl-line-mode):
2176 * icomplete.el (icomplete-mode):
2177 * ido.el (ido-everywhere):
2178 * image-file.el (auto-image-file-mode):
2179 * image-mode.el (image-minor-mode):
2180 * iswitchb.el (iswitchb-mode):
2181 * jka-cmpr-hook.el (auto-compression-mode):
2182 * linum.el (linum-mode):
2183 * longlines.el (longlines-mode):
2184 * master.el (master-mode):
2185 * mb-depth.el (minibuffer-depth-indicate-mode):
2186 * menu-bar.el (menu-bar-mode):
2187 * minibuf-eldef.el (minibuffer-electric-default-mode):
2188 * mouse-sel.el (mouse-sel-mode):
2189 * msb.el (msb-mode):
2190 * mwheel.el (mouse-wheel-mode):
2191 * outline.el (outline-minor-mode):
2192 * paren.el (show-paren-mode):
2193 * recentf.el (recentf-mode):
2194 * reveal.el (reveal-mode, global-reveal-mode):
2195 * rfn-eshadow.el (file-name-shadow-mode):
2196 * ruler-mode.el (ruler-mode):
2197 * savehist.el (savehist-mode):
2198 * scroll-all.el (scroll-all-mode):
2199 * scroll-bar.el (scroll-bar-mode):
2200 * server.el (server-mode):
2201 * shell.el (shell-dirtrack-mode):
2202 * simple.el (auto-fill-mode, transient-mark-mode)
2203 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2204 (line-number-mode, column-number-mode, size-indication-mode)
2205 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2206 * strokes.el (strokes-mode):
2207 * time.el (display-time-mode):
2208 * t-mouse.el (gpm-mouse-mode):
2209 * tool-bar.el (tool-bar-mode):
2210 * tooltip.el (tooltip-mode):
2211 * type-break.el (type-break-mode-line-message-mode)
2212 (type-break-query-mode):
2213 * view.el (view-mode):
2214 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2215 (global-whitespace-mode, global-whitespace-newline-mode):
2216 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2217
a3839de2
SM
2218 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2219 Fix autogenerated docstring.
06e21633 2220
5214e501
JL
22212011-10-19 Juri Linkov <juri@jurta.org>
2222
2223 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2224 by checking environment variables "DESKTOP_SESSION" and
2225 "XDG_CURRENT_DESKTOP". (Bug#9779)
2226
195f8db9
JL
22272011-10-19 Juri Linkov <juri@jurta.org>
2228
2229 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2230 (browse-url-chromium-program, browse-url-chromium-arguments):
2231 New defcustoms.
2232 (browse-url-default-browser): Check for `browse-url-chromium' and
2233 call `browse-url-chromium-program'.
2234 (browse-url-chromium): New command. (Bug#9779)
2235
343a34ff
JB
22362011-10-18 Juanma Barranquero <lekktu@gmail.com>
2237
2238 * facemenu.el (list-colors-duplicates): On Windows, detect more
2239 duplicates by assuming that only colors matching "^System" are
2240 special "system colors". (Bug#9722)
2241
6978a151
SM
22422011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2245 to distinguish the author from the committer.
2246
6a80b297
MA
22472011-10-18 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2250
b31a5677
JK
22512011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2252
2253 * international/mule.el (sgml-html-meta-auto-coding-function):
2254 Add support for detecting encoding in HTML5 specified only as
2255 <meta charset="UTF-8">. Implementation just makes http-equiv and
2256 content-type parts from HTML4 encoding string optional. (Bug#9716)
2257
80c6d77f
GM
22582011-10-18 Glenn Morris <rgm@gnu.org>
2259
2260 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2261
08b0fee8
CY
22622011-10-18 Chong Yidong <cyd@gnu.org>
2263
2264 * faces.el (cursor): Doc fix.
2265
67e729a5
CY
22662011-10-17 Chong Yidong <cyd@gnu.org>
2267
2268 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2269
343a34ff 22702011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2271
2272 * dirtrack.el (dirtrack): Support shell buffers with path
2273 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2274
0bc06380
TZ
22752011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2276
2277 * json.el: Bump version to 1.3 and note change in History.
2278 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2279
8b79f3e0
SM
22802011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2281
5a7c536b
SM
2282 * comint.el (comint-insert-input, comint-send-input)
2283 (comint-get-old-input-default, comint-backward-matching-input)
2284 (comint-next-prompt): Use nil instead of `input' for field property of
2285 past user input (bug#114).
2286
96a8a0df
SM
2287 * minibuffer.el (completion--replace): Inherit surrounding properties
2288 (bug#114).
2289 (minibuffer-complete-and-exit): Use it.
2290
8b79f3e0
SM
2291 * comint.el (comint--table-subvert): Quote the all-completions output
2292 (bug#9160).
2293
b8f7ff0d
MR
22942011-10-17 Martin Rudalics <rudalics@gmx.at>
2295
8b79f3e0 2296 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2297
b8f7ff0d 2298 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2299 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2300 entries and separate them from frame entries.
2301
c235b555
GM
23022011-10-15 Glenn Morris <rgm@gnu.org>
2303
2304 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2305 Doc fixes.
2306
6bbfa6e1
CY
23072011-10-15 Chong Yidong <cyd@stupidchicken.com>
2308
8b79f3e0
SM
2309 * net/network-stream.el (network-stream-open-starttls):
2310 Improve detection of failure due to lack of TLS support.
ec5c990d 2311
6bbfa6e1
CY
2312 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2313 putting the input text in front and in bold.
2314
98488977
SM
23152011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2316
3d1337be
SM
2317 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2318
ee0b45e4
SM
2319 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2320 empty buffer.
2321
98488977
SM
2322 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2323 unread-command-events rather than pushing yet-another event.
2324
186f4720
EZ
23252011-10-14 Eli Zaretskii <eliz@gnu.org>
2326
2327 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2328 the explanation of the possible choices. Make the options passed
2329 to completing-read shorter.
2330
8b7a997c
AM
23312011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2332
2333 * textmodes/flyspell.el (flyspell-large-region): Make sure
2334 extended character mode is used if defined (Bug#1339).
2335
12587bbb
EZ
23362011-10-13 Eli Zaretskii <eliz@gnu.org>
2337
2338 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2339 character info for LRE, LRO, RLE, and RLO characters by appending
2340 an invisible PDF.
12587bbb 2341
bad41229
SM
23422011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2345 even in case of error; add debug spec; simplify data flow.
2346 (with-timeout-handler): Remove.
2347
28dbc92f
MA
23482011-10-12 Michael Albinus <michael.albinus@gmx.de>
2349
2350 Fix Bug#6019, Bug#9315.
2351
2352 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2353 complete `buffer-file-name', the local file name part could look
2354 remotely (for example on VMS).
2355
2356 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2357 `tramp-run-real-handler'.
2358 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2359 already quoted by '"'.
2360
2361 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2362 Let `file-name-handler-alist' be nil, the local file name part
2363 could look remotely (for example on VMS).
2364
e1b0b23a
SM
23652011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2368 from here...
2369 (flyspell-post-command-hook): ...to here.
2370
a120bde9
SM
23712011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2374 if not needed.
2375 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2376 using completion. Protect against "slow" callers.
2377 Remove the "message hack".
2378
7ce7717b
JL
23792011-10-11 Juri Linkov <juri@jurta.org>
2380
2381 * isearch.el (isearch-lazy-highlight-word): New variable.
2382 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2383 Use it. (Bug#9727)
2384
c02ee9d6
GM
23852011-10-11 Glenn Morris <rgm@gnu.org>
2386
2387 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2388 like f90-previous-statement does.
2389
93e616fd 23902011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2391
1f190e73 2392 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2393 only in interactive use, to avoid error.
2394
af7b6078
SM
23952011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * minibuffer.el (completion-file-name-table): Fix last change,
2398 i.e. ignore normal errors but not the other ones.
2399
0563dae9
MR
24002011-10-10 Martin Rudalics <rudalics@gmx.at>
2401
2402 * window.el (special-display-buffer-names)
2403 (special-display-regexps): Remove some remnants of earlier
2404 changes from doc-strings.
366ca7f3
MR
2405 (quit-windows-on): New function.
2406
2407 * vc/vc.el (vc-revert, vc-rollback):
2408 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2409 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2410 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2411
49677495
MR
24122011-10-09 Martin Rudalics <rudalics@gmx.at>
2413
2414 * window.el (frame-auto-hide-function): Add version tag.
2415 (Bug#9699)
2416
56f2d1e1
MA
24172011-10-09 Michael Albinus <michael.albinus@gmx.de>
2418
2419 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2420 condition.
2421
112a6592
LL
24222011-10-09 Leo Liu <sdl.web@gmail.com>
2423
2424 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2425 (Bug#9701)
2426
0812589b
GM
24272011-10-08 Glenn Morris <rgm@gnu.org>
2428
2429 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2430 before the first code statement zero indent. (Bug#9690)
2431
b2b0776e
CY
24322011-10-08 Chong Yidong <cyd@stupidchicken.com>
2433
2434 * simple.el (count-words-region): Always count in the region.
2435 Report the number of lines and characters too.
2436 (count-words): New command, which counts in the buffer if the
2437 region is inactive, as count-words-region used to.
2438 (count-words--message): New function. Handle plurals.
2439 (count-lines-region): Make it an alias for count-words-region.
2440
2441 * bindings.el (esc-map): Replace count-lines-region with
2442 count-words-region.
2443
c557cd6b
MR
24442011-10-08 Martin Rudalics <rudalics@gmx.at>
2445
2446 * window.el (window--delete): Delete dedicated frame
2447 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2448 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2449
61a57ef4 24502011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2451
2452 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2453
c3833279
CY
24542011-10-07 Chong Yidong <cyd@stupidchicken.com>
2455
2456 * bindings.el ([M-left],[M-right]): Bind to left-word and
2457 right-word respectively.
2458
21ce8245
GM
24592011-10-07 Glenn Morris <rgm@gnu.org>
2460
2461 * cus-start.el (debug-on-quit): Fix custom type.
2462
6d823bb2
LMI
24632011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2464
0181e193
LMI
2465 * subr.el (define-key-after): Clarify that the function is not
2466 useful for non-menu keymaps.
2467
6d823bb2
LMI
2468 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2469
8e3459ce 24702011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2471
21ce8245 2472 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2473 in current minibuffer (Fix bug with recursive minibuffers).
2474
a1c2d21e
CY
24752011-10-06 Chong Yidong <cyd@stupidchicken.com>
2476
2477 * progmodes/gdb-mi.el (gdb): Doc fix.
2478
5a4cf282
MR
24792011-10-05 Martin Rudalics <rudalics@gmx.at>
2480
2481 * window.el (frame-auto-hide-function): New option replacing
2482 frame-auto-delete. Suggested by Stefan Monnier.
2483 (window--delete): Call frame-auto-hide-function instead of
2484 investigating frame-auto-delete.
c96111ea
MR
2485 (window-point-1, set-window-point-1): New functions.
2486 (window-in-direction, record-window-buffer, window-state-get-1)
2487 (display-buffer-record-window): Use window-point-1 instead of
2488 window-point.
2489 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2490
9854542e
SM
24912011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2494
8943cfb0
GM
24952011-10-05 Glenn Morris <rgm@gnu.org>
2496
2497 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2498 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2499
647ab967
LL
25002011-10-05 Leo Liu <sdl.web@gmail.com>
2501
2502 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2503 works with buffer object.
2504
3ddfbced
SM
25052011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * mpc.el (mpc-tool-bar-map): Add labels.
2508
bdfa5dd2
GM
25092011-10-04 Glenn Morris <rgm@gnu.org>
2510
2511 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2512
0e2070b5
MR
25132011-10-04 Martin Rudalics <rudalics@gmx.at>
2514
2515 * window.el (window--delete): New function.
2516 (frame-auto-delete): Resuscitate option.
2517 (bury-buffer, replace-buffer-in-windows)
2518 (quit-window): Rewrite using window--delete.
2519 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2520 Pass display-buffer-mark-dedicated to window--display-buffer-2
2521 (Bug#9639).
2522
3dc61a09
SM
25232011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2524
915a9b64
SM
2525 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2526 returns a list (bug#9554). Add remote file name completion.
2527 * comint.el (comint--table-subvert): Curry and get quote&unquote
2528 functions as arguments.
2529 (comint--complete-file-name-data): Adjust call accordingly.
2530 * pcomplete.el (pcomplete--table-subvert): Remove.
2531 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2532
3dc61a09
SM
2533 * minibuffer.el (completion-table-case-fold): Use currying.
2534 (completion--styles-type, completion--cycling-threshold-type):
2535 New constants.
2536 (completion-styles, completion-category-overrides)
2537 (completion-cycle-threshold): Use them.
2538 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2539 completion-table-case-fold.
2540
8ea0a993
SB
25412011-10-03 Stephen Berman <stephen.berman@gmx.net>
2542
2543 * minibuffer.el (completion-category-overrides): Fix type of styles
2544 and add more user friendly tags (bug#9660).
2545
8c24b7f6
SM
25462011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2549 (mule-input-method-string): New widget.
2550 (default-input-method, language-info-custom-alist): Use it.
2551
428fe61a
SM
25522011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2553
32c1fffd
SM
2554 * pcomplete.el: Require comint.
2555 (pcomplete--common-suffix): Remove.
2556 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2557 (pcomplete--table-subvert): Sync with comint--table-subvert.
2558 (pcomplete--entries): Use comint-completion-file-name-table.
2559 * comint.el (comint-unquote-filename): Simplify.
2560 (comint-completion-file-name-table): New function (bug#9616).
2561 (comint--complete-file-name-data): Use it.
2562
428fe61a
SM
2563 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2564 (pcmpl-gnu-tar-buffer): Remove.
2565 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2566 around. Make sure pcomplete-suffix-list is only changed temporarily.
2567 Don't look inside the tar's file if it's too large.
428fe61a 2568
04c52e2f
CY
25692011-10-01 Chong Yidong <cyd@stupidchicken.com>
2570
ce3cefcc
CY
2571 * cus-edit.el (custom-mode-map):
2572 * epa.el (epa-key-list-mode-map):
2573 * man.el (Man-mode-map):
2574 * startup.el (splash-screen-keymap):
2575 * simple.el (special-mode-map): Use scroll-up-command and
2576 scroll-down-command.
2577
2578 * progmodes/idlw-help.el (idlwave-help-mode-map):
2579 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2580 * net/newst-plainview.el (newsticker-mode-map):
2581 * emulation/ws-mode.el (wordstar-mode-map):
2582 * emulation/vi.el (vi-com-map):
2583 * calc/calc-graph.el (calc-graph-show-dumb):
2584 * term/sun.el (terminal-init-sun):
2585 * term/ns-win.el (global-map):
2586 * progmodes/grep.el (grep-mode-map):
2587 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2588 * mail/rmail.el (rmail-mode-map):
2589 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2590
04c52e2f
CY
2591 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2592 custom-safe-themes as special.
2593
79adf8c8
JD
25942011-10-01 Julien Danjou <julien@danjou.info>
2595
2596 * notifications.el (notifications-notify): Fix docstring.
2597
63bd50d3
PS
25982011-10-01 Per Starbäck <per@starback.se>
2599
2600 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2601
199e4c7e
MR
26022011-09-30 Martin Rudalics <rudalics@gmx.at>
2603
2604 * startup.el (command-line-1): Fix last fix by inserting
2605 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2606 (Bug#9605) and (Bug#9636)
199e4c7e 2607
fe5f08dd
EZ
26082011-09-29 Eli Zaretskii <eliz@gnu.org>
2609
2610 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2611 window is hscrolled, move by logical lines. (Bug#9607)
2612 (line-move-visual): Update the doc string to the above effect.
2613
b5516bbd
MR
26142011-09-29 Martin Rudalics <rudalics@gmx.at>
2615
ccee00c0
MR
2616 * window.el (display-buffer-record-window): When WINDOW is the
2617 selected window use `point' instead of `window-point'. (Bug#9626)
2618
b5516bbd
MR
2619 * startup.el (command-line-1): Use insert-before-markers when
2620 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2621
b5516bbd
MR
2622 * help.el (help-window): Remove variable.
2623
52aa0014
GM
26242011-09-29 Glenn Morris <rgm@gnu.org>
2625
2626 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2627
df9a7357
JB
26282011-09-29 Juanma Barranquero <lekktu@gmail.com>
2629
2630 * descr-text.el (describe-char-categories): Accept category
2631 descriptions more than one line long.
2632
a8406c20
SM
26332011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2634
88d9610c
SM
2635 * simple.el (delete-trailing-whitespace): Fix last change.
2636
a5daf810
SM
2637 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2638 Don't confuse "y => 3" as the beginning of a `y' operation.
2639
a8406c20
SM
2640 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2641 object has more than 4 slots (bug#9613).
2642
a239d4e9
JB
26432011-09-28 Juanma Barranquero <lekktu@gmail.com>
2644
2645 * subr.el (with-output-to-temp-buffer):
2646 * net/quickurl.el (quickurl, quickurl-browse-url):
2647 Fix typos in docstrings.
2648
693fbdb6
EZ
26492011-09-27 Eli Zaretskii <eliz@gnu.org>
2650
2651 * minibuffer.el (completion-styles)
2652 (completion-category-overrides): Cross reference each other in doc
2653 strings.
2654
8b457e28
GM
26552011-09-27 Glenn Morris <rgm@gnu.org>
2656
2657 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2658 to split-string. (Bug#9606)
2659
85a16208
LMI
26602011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2661
2662 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2663 (bug#9615).
2664
502f9ebd
CY
26652011-09-27 Chong Yidong <cyd@stupidchicken.com>
2666
2667 * emacs-lisp/package.el (list-packages): Fix echo area message.
2668
7690bdea
LL
26692011-09-27 Leo Liu <sdl.web@gmail.com>
2670
2671 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2672
e2ee6f30
MA
26732011-09-25 Michael Albinus <michael.albinus@gmx.de>
2674
2675 * net/dbus.el (dbus-unregister-object): Don't release services for
2676 registered signals. (Bug#9581)
2677
f3f98342
TZ
26782011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2679
2680 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2681 function that picks between cfengine 2 and 3 support
2682 automatically. Update docs accordingly.
2683
dd7aa8dd
KH
26842011-09-22 Kenichi Handa <handa@m17n.org>
2685
2686 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2687 ZERO.
2688 (indian-itrans-v5-table-for-tamil): New variable.
2689 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2690
3f2b07f8
KM
26912011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2692
2693 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2694 that's true if the current command involved collapsing of text.
2695 It's reset to false at the beginning of the next command.
2696 (allout-post-command-business): Move the cursor to the beginning
2697 of entry if the cursor is hidden and collapsing activity just
2698 happened.
2699
371d6a61
CY
27002011-09-24 Chong Yidong <cyd@stupidchicken.com>
2701
2702 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2703 tracking (Bug#9541).
2704
2ac2721a
UJ
27052011-09-24 Ulf Jasper <ulf.jasper@web.de>
2706
2707 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2708 (newsticker-show-news): Automatically load html rendering package
2709 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2710 because w3m-fill-column is let-bound" and the error "Symbol's value
2711 as variable is void: w3m-fill-column".
2ac2721a 2712
fac7ae53
MA
27132011-09-24 Michael Albinus <michael.albinus@gmx.de>
2714
2715 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2716 Release services only if they are defined. (Bug#9581)
2717
e08b633b
RS
27182011-09-23 Richard Stallman <rms@gnu.org>
2719
e488d29c
RS
2720 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2721 distinguish start of paragraph from start of its text.
2722
19c38752
RS
2723 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2724
e08b633b
RS
2725 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2726 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2727 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2728
0a39f27e
AS
27292011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2730
2731 * international/mule-diag.el (mule-diag): Insert a newline after
2732 each fontset description.
2733
db4e950d
SM
27342011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * simple.el (delete-trailing-whitespace):
2737 Document last change; simplify.
2738
eca3f3ea
PW
27392011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2740
d68e189a
PW
2741 * simple.el (delete-trailing-whitespace): Also delete
2742 extra newlines at the end of the buffer.
2743
eca3f3ea
PW
2744 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2745 (picture-newline): Use forward-line so as to ignore fields.
2746
01c157cc
SM
27472011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2748
2749 * subr.el (with-wrapper-hook): Fix edebug spec.
2750
022de23e
LMI
27512011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2752
2753 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2754 (bug#4538).
2755
91683089
MA
27562011-09-23 Michael Albinus <michael.albinus@gmx.de>
2757
eca3f3ea
PW
2758 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2759 Fix nasty bug using wrong cached values.
91683089 2760
5bdd6fa4
AM
27612011-09-23 Alan Mackenzie <acm@muc.de>
2762
2763 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2764
97adfb97
CY
27652011-09-23 Chong Yidong <cyd@stupidchicken.com>
2766
2767 * window.el (pop-to-buffer): Ensure right window is selected if we
2768 chose another frame.
2769
d4ef2b50
EZ
27702011-09-22 Eli Zaretskii <eliz@gnu.org>
2771
2772 * simple.el (what-cursor-position): Use get-char-property-change
2773 and next-single-char-property-change, to be able to show display
2774 properties that come from overlays as well as text properties.
2775
72258fe5
CY
27762011-09-22 Chong Yidong <cyd@stupidchicken.com>
2777
2778 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2779
2780 * cmuscheme.el (run-scheme, switch-to-scheme):
2781 * cus-edit.el (customize-group, custom-buffer-create)
2782 (customize-browse):
2783 * info.el (info):
2784 * shell.el (shell):
2785 * mail/sendmail.el (mail):
2786 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2787
8f098516
RS
27882011-09-22 Richard Stallman <rms@gnu.org>
2789
2790 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2791 move back only to line beg, don't move back over blank lines.
2792
e74f1bb6
MA
27932011-09-22 Michael Albinus <michael.albinus@gmx.de>
2794
2795 * files.el (copy-directory): Set directory attributes only in case
2796 they could be retrieved from the source directory. (Bug#9565)
2797
bfeef8b6
DK
27982011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2799
2800 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2801 (hs-find-block-beginning, hs-hide-level-recursive):
2802 Ignore strings as well as comments. (Bug#9502)
2803
7e423bb8
AS
28042011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2805
2806 * progmodes/sql.el (sql-comint-postgres):
2807 Convert port number to a string. (Bug#9566)
2808
b4d72fcf
MR
28092011-09-22 Martin Rudalics <rudalics@gmx.at>
2810
2811 * window.el (quit-window): Undedicate window when switching to
2812 previous buffer. Reported by Thierry Volpiatto
2813 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2814 (special-display-popup-frame): When popping up a new frame reset
2815 its previous buffers to nil. Simplify code.
b4d72fcf 2816
a7b88dc6
MA
28172011-09-21 Michael Albinus <michael.albinus@gmx.de>
2818
2819 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2820 and process filter, as done also in `shell-command'.
2821
cf4eacfd
MR
28222011-09-21 Martin Rudalics <rudalics@gmx.at>
2823
eca3f3ea 2824 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2825 Call set-window-start with NOFORCE argument t.
2826 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2827 (quit-window): Reword doc-string. Handle new format of
2828 quit-restore parameter. Don't delete window if it has a
2829 previous buffer we can show instead of the present one.
2830 (display-buffer-record-window): Rewrite using a new format for
2831 the quit-restore window parameter
2832 (special-display-popup-frame, display-buffer-same-window)
2833 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2834 (display-buffer-pop-up-window, display-buffer-use-some-window):
2835 Adapt symbol passed to display-buffer-record-window.
2836 * help.el (help-window-setup): Handle new format of quit-restore
2837 parameter.
2838
8d28cb95
SM
28392011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2840
94ab793f
SM
2841 * faces.el (face-list): Fix docstring (bug#9564).
2842
8d28cb95
SM
2843 * window.el (display-buffer--action-function-custom-type):
2844 Don't include internal functions in the Custom interface.
2845
3820edeb
JL
28462011-09-20 Juri Linkov <juri@jurta.org>
2847
2848 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2849 (Info-forward-node, Info-backward-node, Info-next-preorder)
2850 (Info-last-preorder): Use it. (Bug#9528)
2851
5147931d
JL
28522011-09-20 Juri Linkov <juri@jurta.org>
2853
2854 * info.el (Info-last-preorder): Visit last menu item only when
2855 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2856
cf499a1a
JD
28572011-09-20 Julien Danjou <julien@danjou.info>
2858
2859 * password-cache.el (password-cache-remove): Remove entries even if the
2860 value is nil, so that password with a nil value (negative caching) is
2861 possible to invalidate.
2862
f84e2fe2
LM
28632011-09-20 Lawrence Mitchell <wence@gmx.li>
2864
2865 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2866 all whitespace around breakpoint. (Bug#9553)
2867 (f90-find-breakpoint): Only break at whitespace inside a comment.
2868
78054a46
SM
28692011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * minibuffer.el (completion-file-name-table): Keep track of errors.
2872 (completion-table-with-predicate): Handle the case where pred1 is nil.
2873 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2874
345083b2
SM
28752011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2876
e24e27be
SM
2877 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2878 (debugger-return-value): Signal an error if the debugging context does
2879 not await any return value.
2880
345083b2
SM
2881 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2882 * image-mode.el (image-toggle-display-text)
2883 (image-toggle-display-image): Stay away from evil `intangible'.
2884
08d355e3
LL
28852011-09-19 Leo Liu <sdl.web@gmail.com>
2886
2887 * replace.el (occur-revert-arguments): Make it permanent-local.
2888 (occur-mode): Don't call font-lock-defontify.
2889
f01da43f
CY
28902011-09-19 Chong Yidong <cyd@stupidchicken.com>
2891
2892 * net/ldap.el (ldap-search-internal): Don't push empty search
2893 result (Bug#9508).
2894
b6072fa6
SM
28952011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2898
443d6696
MA
28992011-09-19 Michael Albinus <michael.albinus@gmx.de>
2900
2901 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2902 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2903
7cc6e154
JL
29042011-09-18 Juri Linkov <juri@jurta.org>
2905
2906 * buff-menu.el (Buffer-menu-mode-map):
2907 * dired.el (dired-mode-map):
2908 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2909 (lisp-interaction-mode-map):
2910 * emacs-lisp/package.el (package-menu-mode-map):
2911 * epa.el (epa-key-list-mode-map):
2912 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2913 (menu-bar-options-menu):
2914 * outline.el (outline-mode-menu-bar-map):
2915 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2916 * vc/vc-dir.el (vc-dir-menu-map):
2917 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2918 Capitalize non-function content words in menu item strings.
2919
2920 * dired.el (dired-mode-map): Add menu item for
2921 `image-dired-dired-toggle-marked-thumbs'.
2922
80302a81
JL
29232011-09-18 Juri Linkov <juri@jurta.org>
2924
2925 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2926 to `isearch-case-fold-search' and restore its original value
2927 after the `isearch-mode' call.
2928
46c5cf66
JL
29292011-09-18 Juri Linkov <juri@jurta.org>
2930
2931 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2932 because `zgrep' returns 1 for successful matches (bug#9226).
2933
d18b513b
JL
29342011-09-18 Juri Linkov <juri@jurta.org>
2935
2936 * info.el (Info-extract-menu-node-name): Check the second match
2937 for empty string (second test-case of bug#9528).
2938 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2939 intermediate nodes to the history (first test-case of bug#9528).
2940
72753f87
JL
29412011-09-18 Juri Linkov <juri@jurta.org>
2942
2943 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2944 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2945
c9384295
JL
29462011-09-18 Juri Linkov <juri@jurta.org>
2947
1154d12e
JB
2948 * info.el (Info-file-supports-index-cookies):
2949 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2950 outputs one more line for long file names (bug#4142).
c9384295 2951
d473dce8
CY
29522011-09-18 Chong Yidong <cyd@stupidchicken.com>
2953
2954 * newcomment.el (comment-normalize-vars): If prompting for
2955 comment-start, set comment-start-skip too (Bug#8424).
2956
2176854d
JB
29572011-09-18 Johan Bockgård <bojohan@gnu.org>
2958
2959 * icomplete.el: Fix previous fix of Bug#5849.
2960 (icomplete-mode): Don't set completion-show-inline-help.
2961 (icomplete-minibuffer-setup): Set completion-show-inline-help
2962 locally during icompletion.
2963
3aace4e4
CY
29642011-09-18 Chong Yidong <cyd@stupidchicken.com>
2965
c940224f
CY
2966 * woman.el (woman2-process-escapes): Don't delete unrecognized
2967 escapes (Bug#7843).
2968
3aace4e4
CY
2969 * files.el (inhibit-first-line-modes-regexps): Add image files.
2970 (hack-local-variables-prop-line): Return nil for malformed
2971 prop-lines (Bug#9044).
2972
710dec63
MA
29732011-09-18 Michael Albinus <michael.albinus@gmx.de>
2974
2975 * net/tramp.el (top): Don't require 'shell.
2976 (tramp-methods): Fix docstring.
2977 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2978 Return complete remote file name. Handle "smb" case.
2979 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2980 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2981
2982 * net/tramp-compat.el (top): Require 'shell.
2983
2984 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2985 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2986 `tramp-current-host'.
2987 (tramp-get-remote-tmpdir): Remove.
2988
2989 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2990 `tramp-tmpdir' entries.
2991 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2992 (tramp-smb-handle-file-attributes): Ignore errors.
2993 (tramp-smb-wait-for-output): Check also for process end.
2994
5d5ac8ec
LMI
29952011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2996
2997 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2998 when sending QUIT (bug#9312).
2999
8c0f49f0
CY
30002011-09-17 Chong Yidong <cyd@stupidchicken.com>
3001
3002 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3003 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3004 occur-mode-display-occurrence.
3005 (occur-edit-mode): Add usage message.
3006 (occur-cease-edit): New command.
3007 (occur-after-change-function): Use text properties to find the
3008 position of the prefix text.
3009 (occur-engine): Set stickiness of prefix text properties.
3010
8f1383f7
GM
30112011-09-17 Glenn Morris <rgm@gnu.org>
3012
3013 * progmodes/etags.el (complete-tag):
3014 Fix call to completion-in-region. (Bug#9526)
3015
744ba0e3
JL
30162011-09-17 Juri Linkov <juri@jurta.org>
3017
3018 * textmodes/ispell.el (ispell-word): Add to the error message
3019 the word, ispell program name and current dictionary (bug#9121).
3020 (ispell-tex-arg-end): Capitalize "error" in the error message.
3021
d9bbf400
AS
30222011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3023
3024 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3025 check. (Bug#4251)
3026
8da11505
JL
30272011-09-17 Juri Linkov <juri@jurta.org>
3028
3029 * window.el (window-safe-min-height, window-safe-min-width):
3030 Fix typos (followup to bug#9522).
3031
a91adc7e
SJ
30322011-09-17 Sven Joachim <svenjoac@gmx.de>
3033
3034 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3035
064f328a
EZ
30362011-09-16 Eli Zaretskii <eliz@gnu.org>
3037
3038 * simple.el (line-move): If goal-column is set, move by logical
3039 lines, not by display lines. (Bug#971)
3040 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3041 to reflect the above change.
3042
e69df516
SM
30432011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * image.el (imagemagick-register-types): Use regexp-opt.
3046
cbb0f9ab
CY
30472011-09-15 Chong Yidong <cyd@stupidchicken.com>
3048
3049 * window.el (display-buffer-base-action): Rename from
3050 display-buffer-default-action. Make default value empty.
3051 (display-buffer-overriding-action): Convert to defvar.
3052 (display-buffer-fallback-action): New var.
3053
25322144
CY
30542011-09-15 Chong Yidong <cyd@stupidchicken.com>
3055
3056 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3057 declaration.
3058 (package--add-to-archive-contents): If there is a duplicate entry
3059 with an older version, remove it.
3060 (package-menu-mark-delete, package-menu-mark-install)
3061 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3062 (package-menu-mark-obsolete-for-deletion):
3063 Use package-menu-get-status instead of a regexp search.
25322144
CY
3064 (package-menu-get-status): Use tabulated-list-entry.
3065 (package-menu-mark-upgrades): New command.
d770725a 3066 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3067 (package-menu-execute): Do installation before deletion.
3068 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3069 instead of checking major-mode.
3070 (package-menu--find-upgrades): New function.
3071
7520339c
LMI
30722011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3073
3074 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3075 passwords in the log buffer.
65a046c4
LMI
3076 (smtpmail-process-filter): Update the process marker so that the
3077 "broken by peer" status message is inserted in the right place.
7520339c 3078
d3c30954
SM
30792011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3fe48822
SM
3081 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3082 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3083 bibtex-completion-at-point-function.
3084 (bibtex-completion-at-point-function): Use them.
3085
1b8b3954
SM
3086 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3087
d3c30954
SM
3088 * mpc.el (mpc-constraints-tag-lookup): New function.
3089 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3090 also to browser "album|playlist".
3091
72779976
JL
30922011-09-14 Juri Linkov <juri@jurta.org>
3093
3094 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3095 (isearch-edit-string): Use length of `isearch-string' when
3096 `isearch-fail-pos' returns nil.
3097 (isearch-message): Remove duplicate code and call
3098 `isearch-fail-pos' with arg `t'.
3099
a0bf2bcd
CY
31002011-09-14 Chong Yidong <cyd@stupidchicken.com>
3101
17bb0a2d
CY
3102 * replace.el (occur-mode-goto-occurrence): Don't force using other
3103 window (Bug#9499).
3104
a0bf2bcd
CY
3105 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3106
f678e0b6
MR
31072011-09-14 Martin Rudalics <rudalics@gmx.at>
3108
3109 * window.el (display-buffer-window): Remove.
3110 (display-buffer-record-window): Use help-setup window parameter
3111 instead of variable display-buffer-window.
3112 (display-buffer-function, special-display-buffer-names)
3113 (special-display-function): Mention help-setup parameter instead
3114 of display-buffer-window in doc-string.
d3c30954
SM
3115 * help.el (help-window-setup): New argument help-window.
3116 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3117 Reword some messages.
3118 (with-help-window): Pass window used for displaying the buffer
3119 to help-window-setup. Don't set display-buffer-window.
3120
8e39b2e8
GM
31212011-09-13 Glenn Morris <rgm@gnu.org>
3122
3123 * emacs-lisp/debug.el (debugger-make-xrefs):
3124 Preserve point. (Bug#9462)
3125
85e9c04b
CY
31262011-09-13 Chong Yidong <cyd@stupidchicken.com>
3127
3128 * window.el (window-deletable-p): Use next-frame.
3129
1b36ed6a
MR
31302011-09-13 Martin Rudalics <rudalics@gmx.at>
3131
3132 * window.el (window-auto-delete): Remove.
3133 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3134 dedication and previous buffers.
1b36ed6a
MR
3135 (switch-to-prev-buffer): Don't delete window.
3136 (delete-windows-on): Delete a window's frame if and only if the
3137 window is dedicated.
3138 (replace-buffer-in-windows): Delete buffer's window or frame if
3139 and only if window is dedicated.
3140 (quit-window): Handle quit-restore as before last change.
4d61f28d 3141 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3142
ef8ef9fb
CY
31432011-09-13 Chong Yidong <cyd@stupidchicken.com>
3144
3145 * window.el (window-deletable-p): Never delete the last frame on a
3146 given terminal.
3147
b2cba41e
GM
31482011-09-13 Glenn Morris <rgm@gnu.org>
3149
3150 * help.el (describe-key-briefly): Copy previous standard-output change.
3151
51553db6 31522011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3153
3154 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3155
b7556719
GM
31562011-09-13 Glenn Morris <rgm@gnu.org>
3157
3158 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3159 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3160
64b51947
CY
31612011-09-12 Chong Yidong <cyd@stupidchicken.com>
3162
3163 * dired-aux.el (dired-mark-read-string): Don't return default
3164 value on empty input (Bug#9361).
3165 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3166 Omit initial minibuffer contents.
3167 (dired-do-chmod): Signal an error on empty input.
3168 (dired-mark-read-string): Don't return default on empty input.
3169
3170 * files.el (file-modes-symbolic-to-number): Doc fix.
3171
393a301e
SM
31722011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * international/mule-cmds.el (ucs-completions): Remove.
3175 (read-char-by-name): Use complete-with-action instead; add metadata.
3176
fa5660f9
CY
31772011-09-11 Chong Yidong <cyd@stupidchicken.com>
3178
3179 * window.el (display-buffer--action-function-custom-type)
3180 (display-buffer--action-custom-type): New vars.
3181 (display-buffer-alist, display-buffer-default-action)
3182 (display-buffer-overriding-action): Add defcustom types.
3183
4a592f66
CY
3184 * frame.el (delete-other-frames): Doc fix (Bug#276).
3185
73d56dbd
LMI
31862011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3187
3188 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3189
37ac18a3
CY
31902011-09-11 Chong Yidong <cyd@stupidchicken.com>
3191
3192 Change modes that used same-window-* vars to use switch-to-buffer.
3193
3194 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3195 Use switch-to-buffer.
3196
3197 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3198 (customize-browse, custom-buffer-create-other-window):
3199 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3200
3201 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3202 (Info-prev, Info-up, Info-speedbar-goto-node)
3203 (info-display-manual): Use switch-to-buffer.
3204 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3205
3206 * mail/sendmail.el (mail): Use switch-to-buffer.
3207 (mail-recover): Use switch-to-buffer-other-window.
3208
3209 * cmuscheme.el (run-scheme, switch-to-scheme):
3210 * ielm.el (ielm):
3211 * shell.el (shell):
3212 * net/rlogin.el (rlogin):
3213 * net/telnet.el (telnet, rsh):
3214 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3215
10195bd6
AS
32162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3217
3218 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3219
b322f63a
LMI
32202011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3221
39d7fed6
LMI
3222 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3223 so don't mention it (bug#9301).
ba5a81f1 3224 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3225
ee0e9f11
LMI
3226 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3227 match `x', `w32' and `ns', like the manual says (bug#9029).
3228
0b1c89c1 3229 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3230 (process-kill-buffer-query-function): Mention the buffer name in
3231 the query.
0b1c89c1 3232
77549ea8
LMI
3233 * image-mode.el (image-next-line): The line parameter is mandatory
3234 (bug#9258).
3235
803ef892
LMI
3236 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3237 which can be useful (bug#9301).
3238
12980837
LMI
3239 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3240
91054f8f
LMI
3241 * subr.el (match-string): Mention that the current buffer should
3242 be the same as the search was done in (bug#9282).
3243
b322f63a
LMI
3244 * facemenu.el: Disable the remove-* commands if the mark isn't
3245 active (bug#9162).
3246
3199b96f
CY
32472011-09-10 Chong Yidong <cyd@stupidchicken.com>
3248
3249 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3250 of display-buffer.
3251 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3252
3253 * replace.el (occur-mode-goto-occurrence)
3254 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3255 and display-buffer.
3256
3257 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3258 display-buffer.
3259
3260 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3261 special-display and same-window variables.
3262 (mail-other-window): Use switch-to-buffer-other-window.
3263 (mail-other-frame): USe switch-to-buffer-other-frame.
3264
393a301e
SM
3265 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3266 Use display-buffer-other-frame.
3199b96f
CY
3267 (gdb-display-gdb-buffer): Use pop-to-buffer.
3268
3269 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3270
3271 * progmodes/python.el: Don't set same-window-buffer-names.
3272
3273 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3274
3275 * window.el (display-buffer-alist): Add *Python*.
3276
8319e0bf
CY
32772011-09-10 Chong Yidong <cyd@stupidchicken.com>
3278
3279 * window.el (display-buffer-alist): Add entry for buffers
3280 previously handled same-window-*.
3281 (display-buffer-alist, display-buffer-default-action)
3282 (display-buffer-overriding-action): Mark as risky.
3283 (display-buffer-alist): Document action function changes.
3284 (display-buffer--same-window-action)
3285 (display-buffer--other-frame-action): New variables.
3286 (switch-to-buffer, display-buffer-other-frame): Use them.
3287 (display-buffer): Rename reuse-frame entry to reusable-frames.
3288 (display-buffer-reuse-selected-window): Function deleted.
3289 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3290 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3291 (display-buffer-special): New function.
3292 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3293 display-buffer-reuse-or-pop-window. Split off special-display
3294 part into display-buffer-special.
3295 (display-buffer-use-some-window): Don't perform any special
3296 pop-up-frames handling.
3297 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3298 (display-buffer--maybe-same-window): Rename from
0d3ff375 3299 display-buffer-maybe-same-window.
8319e0bf 3300
919a69aa
CY
3301 * info.el: Don't set same-window-regexps.
3302 (info-setup): New function.
3303 (info-other-window, info): Call it.
3304
3305 * cus-edit.el: Don't set same-window-regexps.
3306 (customize-group): New argument.
3307 (customize-group-other-window): Use it.
3308 (customize-face, customize-face-other-window): Likewise.
3309 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3310
8319e0bf
CY
3311 * net/rlogin.el:
3312 * net/telnet.el:
3313 * progmodes/gud.el: Don't set same-window-regexps.
3314
3315 * cmuscheme.el:
3316 * ielm.el:
3317 * shell.el:
3318 * mail/sendmail.el:
3319 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3320
25173000
JL
33212011-09-10 Juri Linkov <juri@jurta.org>
3322
3323 * isearch.el (isearch-edit-string): Remove obsolete mention of
3324 `C-w' (`isearch-yank-word-or-char') from docstring.
3325 (isearch-query-replace): Fix typo in docstring (bug#9466).
3326
056e44ef
JL
33272011-09-10 Juri Linkov <juri@jurta.org>
3328
3329 * paren.el (show-paren-function): Don't show escaped parens.
3330 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3331
c3760c17
EZ
33322011-09-10 Eli Zaretskii <eliz@gnu.org>
3333
3334 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3335 (mm-default-file-encoding): Remove autoload forms, they are
3336 replaced with autoload cookies in mml.el and mm-encode.el.
3337 (mail-add-attachment): New command.
3338 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3339 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3340 the doc string.
3341 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3342
fece895e
RT
33432011-09-10 Reuben Thomas <rrt@sc3d.org>
3344
e69df516
SM
3345 * simple.el (count-words-region): Use buffer if there's no region
3346 (bug#9429).
fece895e 3347
5e68ce4a
JL
33482011-09-09 Juri Linkov <juri@jurta.org>
3349
3350 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3351 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3352 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3353
0a6b9622
AM
33542011-09-09 Alan Mackenzie <acm@muc.de>
3355
3356 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3357 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3358
14a29deb
EZ
33592011-09-09 Eli Zaretskii <eliz@gnu.org>
3360
3361 Fix for Savannah bug#9392.
3362 * simple.el (mail-encode-mml): New defvar.
3363
3364 * mail/rmail.el (mail-encode-mml): Add a defvar.
3365 (rmail-enable-mime-composing): Default to t.
3366 (rmail-forward): Use MIME method of forwarding only if both
3367 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3368 Set mail-encode-mml non-nil if the MIME method was used.
3369
3370 * mail/sendmail.el (mml-to-mime): Add autoload form.
3371 (mail-encode-mml): Add a defvar.
3372 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3373 to nil.
3374 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3375 message through mml-to-mime, and reset mail-encode-mml to nil.
3376
28c45130
GM
33772011-09-09 Glenn Morris <rgm@gnu.org>
3378
3379 * woman.el (woman-if-body): When processing an .el block,
3380 do not delete the next .el block as well. (Bug#9447)
69f4b618 3381 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3382
9b1c252e
MR
33832011-09-08 Martin Rudalics <rudalics@gmx.at>
3384
3385 * window.el (window-deletable-p): Make sure window is live before
3386 invoking window-prev-buffers.
3387
567457e3
LL
33882011-09-08 Leo Liu <sdl.web@gmail.com>
3389
3390 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3391
97f05794
JL
33922011-09-08 Juri Linkov <juri@jurta.org>
3393
3394 * progmodes/compile.el (compilation-environment): Make it
3395 a defcustom (bug#8340).
3396
8b0874b5
MR
33972011-09-08 Martin Rudalics <rudalics@gmx.at>
3398
3399 * window.el (frame-auto-delete): Rename to window-auto-delete.
3400 Make it control auto-deletion of windows and/or frames.
3401 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3402 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3403 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3404 Rewrite handling of case when window/frame can be deleted.
3405 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3406 argument t. (Bug#9456)
8b0874b5 3407
4feb6e73
CY
34082011-09-07 Chong Yidong <cyd@stupidchicken.com>
3409
3410 * help-mode.el (help-mode): Restore autoload.
3411
91ab9c13
JL
34122011-09-07 Juri Linkov <juri@jurta.org>
3413
3414 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3415 `compilation-environment'. Set buffer-local
3416 `compilation-environment' to `thisenv' later after (funcall mode).
3417 (Bug#8340)
3418
3419 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3420 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3421 instead of replacing its value. (Bug#8340)
3422
0527e251
JL
34232011-09-07 Juri Linkov <juri@jurta.org>
3424
3425 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3426 based on text properties put by `grep-filter' instead of matching
3427 escape sequences.
3428 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3429 to the value of `grep-error-screen-columns' (bug#9438).
3430
249f792c
JL
34312011-09-07 Juri Linkov <juri@jurta.org>
3432
3433 * simple.el (next-error-highlight, next-error-highlight-no-select):
3434 Doc fix (bug#9432).
3435
ff7271b9
OT
34362011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3437
3438 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3439 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3440
183fc730
LL
34412011-09-07 Leo Liu <sdl.web@gmail.com>
3442
3443 * net/rcirc.el (rcirc-mode): Conditionally initialize
3444 rcirc-input-ring.
3445
77694924
SM
34462011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * emacs-lisp/find-func.el (find-function-C-source): Only set
3449 find-function-C-source-directory after checking that we found a source
3450 file there (bug#9440).
3451
d809b8eb
AM
34522011-09-06 Alan Mackenzie <acm@muc.de>
3453
3454 * isearch.el (isearch-other-meta-char): Wherever a key list is
3455 unread, "unread" the prefix arg, too. This fixes bug #8901.
3456
453de99f
OG
34572011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3458
3459 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3460
90439906
JL
34612011-09-05 Juri Linkov <juri@jurta.org>
3462
3463 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3464
f62bd846
JL
34652011-09-05 Juri Linkov <juri@jurta.org>
3466
3467 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3468 keeping point where processing of grep matches begins, and
3469 continue to delete remaining escape sequences from the same point.
3470 (grep-filter): Make leading zero optional in "0?1;31m" because
3471 git-grep emits "\033[1;31m" escape sequences unlike expected
3472 "\033[01;31m" as GNU Grep does (bug#9408).
3473 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3474
045820ec
JL
34752011-09-05 Juri Linkov <juri@jurta.org>
3476
3477 * subr.el (y-or-n-p): Capitalize "yes".
3478
f5e29b9b
MA
34792011-09-04 Michael Albinus <michael.albinus@gmx.de>
3480
3481 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3482 `tramp-cache-unload-hook' where appropriate.
3483 (tramp-methods): Rename `tramp-remote-sh' to
3484 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3485 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3486
3487 * net/tramp-sh.el (top): Don't require 'shell.
3488 (tramp-methods): Add `tramp-remote-shell' and
3489 `tramp-remote-shell-args' entries.
3490 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3491 (tramp-sh-handle-shell-command): Remove.
3492 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3493 Use `tramp-remote-shell'.
3494
2784c434
CY
34952011-09-03 Chong Yidong <cyd@stupidchicken.com>
3496
393a301e 3497 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3498 (sendmail-query-once): Save directly to send-mail-function.
3499 Update message-send-mail-function too.
3500
3501 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3502
464cdf56
CS
35032011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3504
3505 * progmodes/python.el (python-mode-map): Use correct function to
3506 start python interpreter from menu-bar (as reported by Geert
3507 Kloosterman).
3508 (inferior-python-mode-map): Fix typo.
393a301e 3509 (python-shell-map): Remove.
464cdf56 3510
d37e5c87
DD
35112011-09-03 Deniz Dogan <deniz@dogan.se>
3512
3513 * net/rcirc.el (rcirc-print): Simplify code for
3514 rcirc-scroll-show-maximum-output. There is no need to walk
3515 through all windows to find the right one.
3516
f3ada0ee
CS
35172011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3518
3519 * help.el (help-return-method): Doc fix.
3520
1f3c99ca
MR
35212011-09-03 Martin Rudalics <rudalics@gmx.at>
3522
3523 * window.el (window-deletable-p): Don't return a non-nil value
3524 when there's a buffer that was shown in the window before.
3525 (Bug#9419)
393a301e
SM
3526 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3527 Set window's previous buffers to nil.
1f3c99ca 3528
a3cf097f
EZ
35292011-09-03 Eli Zaretskii <eliz@gnu.org>
3530
3531 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3532 newline before and after the tag line, so it doesn't interfere
3533 with determining the paragraph direction of bidirectional text.
3534
3d03de90
LL
35352011-09-03 Leo Liu <sdl.web@gmail.com>
3536
3537 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3538
c3313451
CY
35392011-09-02 Chong Yidong <cyd@stupidchicken.com>
3540
393a301e 3541 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3542 (pop-to-buffer): Change interactive spec. Pass second argument
3543 directly to display-buffer.
3544 (display-buffer): Fix interactive spec. Use functionp to
3545 distinguish between a function and a list of functions.
3546
3547 * abbrev.el (edit-abbrevs):
3548 * arc-mode.el (archive-extract):
3549 * autoinsert.el (auto-insert):
3550 * bookmark.el (bookmark-bmenu-list):
3551 * files.el (find-file):
3552 * view.el (view-buffer):
3553 * progmodes/compile.el (compilation-goto-locus):
3554 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3555
89894cd8
CY
35562011-09-02 Chong Yidong <cyd@stupidchicken.com>
3557
3558 * window.el (display-buffer-alist): Doc fix.
3559 (display-buffer): Add docstring. Don't treat
3560 display-buffer-default specially.
3561 (display-buffer-reuse-selected-window)
3562 (display-buffer-same-window, display-buffer-maybe-same-window)
3563 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3564 (display-buffer-pop-up-window)
3565 (display-buffer-reuse-or-pop-window)
3566 (display-buffer-use-some-window): New functions.
3567 (display-buffer-default-action): Use them.
393a301e 3568 (display-buffer-default): Delete.
89894cd8
CY
3569 (pop-to-buffer-1): Fix choice of actions.
3570
ae0bc9fb
SM
35712011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * minibuffer.el (completion--insert-strings): Don't get confused by
3574 completion entries that end with an LF char.
3575
e9d90883
EZ
35762011-09-01 Eli Zaretskii <eliz@gnu.org>
3577
3578 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3579
437014c8
CY
35802011-09-01 Chong Yidong <cyd@stupidchicken.com>
3581
3582 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3583 (display-buffer-same-window, display-buffer-other-window):
3584 New functions.
437014c8
CY
3585 (pop-to-buffer-1): New function. Use the above.
3586 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3587 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3588
3589 * view.el (view-buffer-other-window, view-buffer-other-frame):
3590 Just use pop-to-buffer.
3591
a5e063d5
TV
35922011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3593
3594 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3595
793d32bb
WH
35962011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3597
3598 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3599
d65e4c15
RS
36002011-08-31 Richard Stallman <rms@gnu.org>
3601
3602 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3603 of the separation of rmail-view-buffer from rmail-buffer.
3604 If you say no to "replace original", the decrypt is in the
3605 view buffer. If you say yes, the decrypt goes into the
3606 rmail buffer also.
3607
f818cd2a
MR
36082011-08-31 Martin Rudalics <rudalics@gmx.at>
3609
3610 * window.el (display-buffer-window): Rewrite doc-string.
3611 (display-buffer-record-window): New function.
3612 (display-buffer-macro-specifiers)
3613 (display-buffer-even-window-sizes, display-buffer-set-height)
3614 (display-buffer-set-width, display-buffer-in-window)
3615 (display-buffer-reuse-window, display-buffer-split-specifiers)
3616 (display-buffer-side-specifiers, display-buffer-split-window-1)
3617 (display-buffer-split-window, display-buffer-split-atom-window)
3618 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3619 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3620 (display-buffer-other-window-means-other-frame)
3621 (display-buffer-normalize-special)
3622 (display-buffer-normalize-default)
3623 (display-buffer-normalize-argument)
3624 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3625 (display-buffer-normalize-specifiers, display-buffer-frame)
3626 (display-buffer-same-window, display-buffer-same-frame)
3627 (display-buffer-other-window)
3628 (display-buffer-same-frame-other-window)
3629 (display-buffer-other-frame, pop-to-buffer-same-window)
3630 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3631 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3632 (switch-to-buffer-same-frame)
3633 (switch-to-buffer-other-window-same-frame)
3634 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3635 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3636 (display-buffer-alist-set): Remove.
3637 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3638 (special-display-regexps, special-display-function):
3639 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3640 parameter.
3641 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3642 (special-display-frame-alist, special-display-popup-frame)
3643 (same-window-buffer-names, same-window-regexps, same-window-p)
3644 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3645 (split-window-preferred-function, split-height-threshold)
3646 (split-width-threshold, window-splittable-p)
3647 (split-window-sensibly, window--try-to-split-window)
3648 (window--frame-usable-p, even-window-heights)
3649 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3650 (window--display-buffer-2, display-buffer-other-frame):
3651 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3652 (display-buffer-default, display-buffer-assq-regexp): New functions.
3653 (display-buffer-alist): Rewrite doc-string.
3654 (display-buffer-default-action)
3655 (display-buffer-overriding-action): New variables.
3656 (display-buffer, switch-to-buffer): Rewrite.
3657 (pop-to-buffer): Restore Emacs 23 behavior but use
3658 window-normalize-buffer-to-display.
3659 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3660 Restore Emacs 23 behavior but use
3661 window-normalize-buffer-to-switch-to.
3662 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3663 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3664 Rewrite using Emacs 23 options.
f818cd2a 3665
5bc3b51d
MA
36662011-08-31 Michael Albinus <michael.albinus@gmx.de>
3667
3668 * net/tramp.el (tramp-root-regexp): Remove.
3669 (tramp-completion-file-name-regexp-unified)
3670 (tramp-completion-file-name-regexp-separate)
3671 (tramp-completion-file-name-regexp-url): Don't use leading volume
3672 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3673 (tramp-drop-volume-letter): Simplify definition.
3674 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3675
b1a4f8e1
SM
36762011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3677
3678 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3679 (bug#9356).
3680
5664fa7b
RT
36812011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3682
b1a4f8e1 3683 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3684
9a45d6c3
JL
36852011-08-29 Juri Linkov <juri@jurta.org>
3686
3687 * isearch.el (isearch-done): Don't display message "Mark saved"
3688 when arg `edit' is non-nil to prevent its flicker in the echo area.
3689
fb87e0fb
CY
36902011-08-28 Chong Yidong <cyd@stupidchicken.com>
3691
3692 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3693 obsolete packages for deletion.
3694
09ac1c2a
CS
36952011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3696
3697 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3698 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3699 view-mode from help-mode.
3700 (help-xref-override-view-map): Remove.
3701 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3702 view-mode is not used anymore.
3703
7a1ff57f
CY
37042011-08-28 Chong Yidong <cyd@stupidchicken.com>
3705
3706 * server.el (server-port): Doc fix.
3707
b9696605
CY
3708 * cus-theme.el (custom-theme-choose-mode): Inherit from
3709 special-mode (Bug#9124).
3710 (custom-theme-choose-mode-map): Add special-mode to parent.
3711
ef8cdf8c
AM
37122011-08-28 Alan Mackenzie <acm@muc.de>
3713
3714 * progmodes/cc-fonts.el
3715 (c-make-font-lock-BO-decl-search-function): New function.
3716 (c-basic-matchers-after - "Fontify the clauses after various
3717 keywords"): Extract the three keyword lists for the 3 erroneous
3718 constructs from the list of four, and use the new function above
3719 in place of an old one.
3720
27de4e20
DD
37212011-08-28 Deniz Dogan <deniz@dogan.se>
3722
3723 * net/rcirc.el (rcirc-insert-prev-input)
3724 (rcirc-insert-next-input): Remove unused argument.
3725
356a3681
SM
37262011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3729
3fc9b218
AM
37302011-08-27 Alan Mackenzie <acm@muc.de>
3731
3732 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3733 handle function pointer parameters properly.
3734
538a061c
MR
37352011-08-27 Martin Rudalics <rudalics@gmx.at>
3736
3737 * window.el (display-buffer-reuse-window): Fix case where
3738 selected window was reused with non-nil OTHER-WINDOW argument.
3739 (Bug#9381)
3740
35b1c40c
DD
37412011-08-27 Deniz Dogan <deniz@dogan.se>
3742
3743 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3744 oftc's NickServ messages.
3745
2f6a3e79
GM
37462011-08-27 Glenn Morris <rgm@gnu.org>
3747
3748 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3749
7254299e
CY
37502011-08-26 Chong Yidong <cyd@stupidchicken.com>
3751
3752 * emacs-lisp/package.el (package-install): Call package-initialize
3753 if called interactively.
3754
f8ccf167
LL
37552011-08-26 Leo Liu <sdl.web@gmail.com>
3756
3757 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3758
3e8cd5ce
JL
37592011-08-25 Juri Linkov <juri@jurta.org>
3760
3761 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3762 `search-whitespace-regexp' (bug#9364).
3763
93eb7113
JL
37642011-08-25 Juri Linkov <juri@jurta.org>
3765
3766 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3767 `regexp-search-ring' to their global values to protect from
3768 updating by `read-from-minibuffer' (bug#9185).
3769
f65d1611
JL
37702011-08-25 Juri Linkov <juri@jurta.org>
3771
3772 * textmodes/ispell.el (ispell-command-loop): Add newline
3773 at the end of the "Use option `i'..." line.
3774
f1cf7a31
JL
37752011-08-25 Juri Linkov <juri@jurta.org>
3776
3777 * battery.el (display-battery-mode): If `battery-status-function'
3778 or `battery-mode-line-format' is nil, display the message and set
3779 `display-battery-mode' to nil (bug#9363).
3780
0c95fcf7
EZ
37812011-08-25 Eli Zaretskii <eliz@gnu.org>
3782
3783 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3784 bidi-string-mark-left-to-right; they are unnecessary now.
3785
a2ebe600
DD
37862011-08-25 Deniz Dogan <deniz@dogan.se>
3787
3788 * net/quickurl.el: Documentation typo fixes.
3789
e4ed06f1
CY
37902011-08-25 Chong Yidong <cyd@stupidchicken.com>
3791
3792 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3793
e5f1c99e
GM
37942011-08-25 Glenn Morris <rgm@gnu.org>
3795
b2948976
GM
3796 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3797
e5f1c99e
GM
3798 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3799 (smtpmail-via-smtp): Handle nil response from smtp.
3800
f22f4808
JL
38012011-08-24 Juri Linkov <juri@jurta.org>
3802
3803 * proced.el (proced-marked): Inherit from `error' instead of
3804 `font-lock-warning-face'.
3805
3806 * ibuffer.el (ibuffer-marked-face): Change default face from
3807 `font-lock-warning-face' to `warning'.
3808 (ibuffer-deletion-face): Change default face from
3809 `font-lock-type-face' to `error'.
3810
3811 * battery.el (battery-update): Use the face `error' instead of
3812 `font-lock-warning-face' (bug#6117).
3813
6a93965e
JL
38142011-08-24 Juri Linkov <juri@jurta.org>
3815
3816 * faces.el (success): Change face color from "Green3" to
3817 "ForestGreen" on light background (bug#9353).
3818
1ed43b09
CY
38192011-08-24 Chong Yidong <cyd@stupidchicken.com>
3820
5664fa7b
RT
3821 * window.el (quit-window): Rename from quit-restore-window.
3822 Use same arglist as old quit-window.
1ed43b09
CY
3823 (frame-auto-delete): Doc fix.
3824
3825 * view.el (view-mode-exit): Use quit-window.
3826
11dcdbb2
JL
38272011-08-24 Juri Linkov <juri@jurta.org>
3828
3829 * isearch.el (isearch-ring-adjust1): Start visiting previous
3830 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3831 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3832 for empty search string (when the last search string is reused
3833 automatically) to adjust the isearch ring to the last element and
3834 prepare the correct index for further M-p commands (bug#9185).
3835
de62b4df
KH
38362011-08-24 Kenichi Handa <handa@m17n.org>
3837
3838 * international/ucs-normalize.el: If decomposition property of
3839 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3840 nil.
3841 (nfd, nfkd): Likewise.
3842
963b492b
SM
38432011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3844
3845 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3846 from process filters aren't reliably transmitted to the surrounding
3847 accept-process-output.
3848 (mpc-proc-check): New function.
3849 (mpc-proc-sync): Use it (bug#8293)
3850
93b6b5e1
SM
38512011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3854 Add compatibility functions (bug#9313).
3855
bca633fb
EZ
38562011-08-23 Eli Zaretskii <eliz@gnu.org>
3857
b177498a
EZ
3858 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3859
bca633fb
EZ
3860 * international/uni-bidi.el: Regenerated.
3861
0902a04e
KH
38622011-08-23 Kenichi Handa <handa@m17n.org>
3863
3864 * international/charprop.el:
3865 * international/uni-bidi.el:
3866 * international/uni-category.el:
3867 * international/uni-combining.el:
3868 * international/uni-comment.el:
3869 * international/uni-decimal.el:
3870 * international/uni-decomposition.el:
3871 * international/uni-digit.el:
3872 * international/uni-lowercase.el:
3873 * international/uni-mirrored.el:
3874 * international/uni-name.el:
3875 * international/uni-numeric.el:
3876 * international/uni-old-name.el:
3877 * international/uni-titlecase.el:
3878 * international/uni-uppercase.el: Regenerate.
3879
3bbf23bc
MR
38802011-08-23 Martin Rudalics <rudalics@gmx.at>
3881
3882 * help.el (help-window-setup): Fix message displayed when other
3883 window is reused. (Bug#9341)
3884
b3fd59bd
SM
38852011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3886
1802e444
SM
3887 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3888 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3889
b3fd59bd
SM
3890 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3891 Mark obsolete.
3892 * shell.el (shell-parse-pcomplete-arguments): New function.
3893 (shell-completion-vars): Use it instead (bug#9160).
3894
4eb61348
SM
38952011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3896
867cab74
SM
3897 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3898 strings and comments (bug#9333).
3899
4eb61348
SM
3900 * emacs-lisp/debug.el (debug-arglist): New function.
3901 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3902 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3903
262a1439
JL
39042011-08-22 Juri Linkov <juri@jurta.org>
3905
56ee679c
JL
3906 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3907 Revert regexp that highlights output switches to its old
3908 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3909
262a1439
JL
3910 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3911 to check for empty output (bug#9226).
3912
f13f86fb
CY
39132011-08-22 Chong Yidong <cyd@stupidchicken.com>
3914
3915 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3916 symbol-constituent as the default, as that stops font-lock from
3917 working properly (Bug#8843).
3918
c65c9622
LMI
39192011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3920
3921 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3922 `coding-system-for-*' around the process open call to avoid
3923 auth-source side effects.
e7f2c178 3924 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3925 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3926 probe hangs.
c65c9622 3927
23a8a5ab
CY
39282011-08-21 Chong Yidong <cyd@stupidchicken.com>
3929
ff98b2dd
CY
3930 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3931
23a8a5ab
CY
3932 * emacs-lisp/find-func.el (find-function-noselect): New arg
3933 lisp-only.
3934
3935 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3936 signal an error for built-in functions (Bug#6664).
3937
f5e3c598
LMI
39382011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3939
3940 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3941 (smtpmail-try-auth-methods): Use it.
3942
a3f2468a
CY
39432011-08-21 Chong Yidong <cyd@stupidchicken.com>
3944
2c34e8da
CY
3945 * font-lock.el (font-lock-fontify-region)
3946 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3947 (font-lock-default-unfontify-buffer)
3948 (font-lock-default-fontify-region)
3949 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3950
b3fd59bd
SM
3951 * progmodes/compile.el (compilation-error-properties):
3952 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3953 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3954 `ant' regexp.
ee31aabc 3955
a3f2468a
CY
3956 * net/browse-url.el (browse-url-firefox): Don't call
3957 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3958
8e999f70
GM
39592011-08-20 Glenn Morris <rgm@gnu.org>
3960
c21a496a
GM
3961 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3962
59ee0542
GM
3963 * tutorial.el (tutorial--default-keys): Update some default bindings.
3964
8e999f70
GM
3965 * files.el (hack-local-variables): Fully ignore case for "mode:".
3966
e3715033
AM
39672011-08-20 Alan Mackenzie <acm@muc.de>
3968
3969 Resolve invalid use of a regexp in regexp-opt.
3970
4d61f28d
JB
3971 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3972 detection for a java annotation.
e3715033 3973
4d61f28d 3974 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3975 detection for a java annotation.
3976
4d61f28d
JB
3977 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3978 handling for java.
e3715033
AM
3979 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3980
04ed2e9c
CY
39812011-08-20 Chong Yidong <cyd@stupidchicken.com>
3982
3983 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3984 (Bug#9274).
3985
826cee64
AM
39862011-08-20 Alan Mackenzie <acm@muc.de>
3987
58179cce 3988 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3989 such a construct. Mainly for when jit-lock etc. starts a chunk
3990 here.
3991
58179cce 3992 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3993 variable.
58179cce 3994 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3995 c-make-font-lock-search-function.
3996 (c-make-font-lock-search-function): Use the above function.
3997 (c-make-font-lock-context-search-function): New function.
3998 (c-cpp-matchers): Enhance the preprocessor expression case with
3999 the above function
4000 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4001 which takes an expression.
4002
4003 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4004
13009bd8
MR
40052011-08-20 Martin Rudalics <rudalics@gmx.at>
4006
4007 * window.el (display-buffer-reuse-window)
4008 (display-buffer-pop-up-window): Don't reuse or split a side
4009 window.
4010
9234ff7f
GM
40112011-08-19 Glenn Morris <rgm@gnu.org>
4012
4013 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4014 Downcase "Mode:". (Bug#9331)
9234ff7f 4015
f635daa1
CY
40162011-08-18 Chong Yidong <cyd@stupidchicken.com>
4017
4018 * international/characters.el: Add L and R categories.
4019
4020 * subr.el (bidi-string-mark-left-to-right): Rename from
4021 string-mark-left-to-right. Use category search.
4022
4023 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4024
bc987f8b
JL
40252011-08-18 Juri Linkov <juri@jurta.org>
4026
4027 * faces.el (error, warning, success): New faces with definitions
4028 copied from old default values of `font-lock-warning-face',
4029 `compilation-warning', `compilation-info' (bug#6117).
4030
4031 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4032
4033 * progmodes/compile.el (compilation-error): Inherit from `error'.
4034 (compilation-warning): Inherit from `warning'.
4035 (compilation-info): Inherit from `success'.
4036
4037 * dired.el (dired-marked): Inherit from `warning'.
4038 (dired-flagged): Inherit from `error'.
4039
57173b96
LMI
40402011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4041
3e79eb87
LMI
4042 * mail/smtpmail.el (auth-source): Require to avoid problems with
4043 binding variables (bug#9298). Also clean up some unused
4044 autoloads.
4045
b3fd59bd
SM
4046 * net/network-stream.el (network-stream-open-starttls):
4047 Support using starttls.el without using gnutls-cli.
57173b96 4048
02b404de
JL
40492011-08-17 Juri Linkov <juri@jurta.org>
4050
4051 * progmodes/grep.el (rgrep): Handle the case when
4052 `grep-find-command' is a cons cell (bug#9278).
4053
8c9177f2
MR
40542011-08-17 Martin Rudalics <rudalics@gmx.at>
4055
4056 * window.el (display-buffer-pop-up-frame): Run frame creation
4057 function with BUFFER current (as special-display-popup-frame
4058 does). Reported by Drew Adams.
4059
3644a0ab
DU
40602011-08-17 Daiki Ueno <ueno@unixuser.org>
4061
4062 * epa-mail.el: Simplify GnuPG group expansion using
4063 epg-expand-group.
4064 (epa-mail-group-alist, epa-mail-group-modtime)
4065 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4066 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4067 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4068 Remove.
4069
5e617bc2 40702011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4071
4072 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4073
9c4aeabf
AM
40742011-08-16 Alan Mackenzie <acm@muc.de>
4075
4076 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4077 Correct, to avoid the inside of macros.
4078
3a99bf64
RS
40792011-08-16 Richard Stallman <rms@gnu.org>
4080
04963aa8
RS
4081 * epa-mail.el: Handle GnuPG group definitions.
4082 (epa-mail-group-alist, epa-mail-group-modtime)
4083 (epa-mail-gnupg-conf-file): New variables.
4084 (epa-mail-parse-groups, epa-mail-sync-groups)
4085 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4086 (epa-mail-expand-recipients): New functions.
4087 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4088
177549d0
RS
4089 * mail/rmail.el (rmail-epa-decrypt): New command.
4090
fe38beef
RS
4091 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4092 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4093 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4094 (epa-decrypt-armor-in-region): Make error message clearer.
4095
934eacb9
SM
40962011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4097
4098 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4099 and "a2b" to "ab" for `prefix'.
4100
d024fb4e
CY
41012011-08-14 Chong Yidong <cyd@stupidchicken.com>
4102
4103 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4104 filter groups.
de148fee
CY
4105 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4106 Fourquet (Bug#8804).
d024fb4e 4107
62f1ca49
JB
41082011-08-12 Juanma Barranquero <lekktu@gmail.com>
4109
4110 * startup.el (argi): Declare as global variable (bug#9275).
4111
9ccaaa4b
CY
41122011-08-12 Chong Yidong <cyd@stupidchicken.com>
4113
4114 * subr.el (string-mark-left-to-right): Search the entire string
4115 for RTL script, not just the terminating character. Doc fix.
4116
a3dae87a
SM
41172011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4118
6cd18349
SM
4119 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4120 New function.
4121 (js--regexp-literal, js-syntax-propertize-function): Remove.
4122 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4123 (js-mode-map): Don't rebind electric keys.
4124 (js-insert-and-indent): Remove.
4125 (js-mode): Setup electric-layout and electric-indent instead.
4126
a3dae87a
SM
4127 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4128
9d5cb631
DU
41292011-08-12 Daiki Ueno <ueno@unixuser.org>
4130
4131 * epa.el (epa-progress-callback-function): Fix the logic of
4132 displaying progress.
4133 * epa-file.el (epa-file-insert-file-contents): Make progress
4134 display more user-friendly.
4135 (epa-file-write-region): Ditto.
4136
3e26a4a2
CY
41372011-08-10 Chong Yidong <cyd@stupidchicken.com>
4138
4139 * subr.el (string-mark-left-to-right): New function.
4140
4141 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4142 Use string-mark-left-to-right.
4143 (list-buffers-noselect): Caller changed.
4144
a3dae87a
SM
4145 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4146 Use string-mark-left-to-right.
3e26a4a2
CY
4147 (tabulated-list-print): Recenter after moving point.
4148
ac8cf6e6
JL
41492011-08-10 Juri Linkov <juri@jurta.org>
4150
4151 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4152 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4153 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4154
8d96c9a4
CY
41552011-08-09 Chong Yidong <cyd@stupidchicken.com>
4156
4157 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4158 (Bug#7554).
4159
7be1c708 41602011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4161
4162 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4163 character. (Bug#6594)
4164
37e11a63
CY
41652011-08-08 Chong Yidong <cyd@stupidchicken.com>
4166
839dde57
CY
4167 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4168 (image-dired--with-db-file): New macro.
4169 (image-dired-write-tags, image-dired-remove-tag)
4170 (image-dired-create-gallery-lists, image-dired-write-comments)
4171 (image-dired-get-comment, image-dired-mark-tagged-files)
4172 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4173 (image-dired-gallery-generate): Use insert-file-contents.
4174
37e11a63
CY
4175 * time.el (display-time-world-list, display-time-world-display):
4176 * time-stamp.el (time-stamp-string):
4177 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4178 set-time-zone-rule (Bug#7337).
4179
0b4946c4
DU
41802011-08-08 Daiki Ueno <ueno@unixuser.org>
4181
4182 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4183 (epg-error-to-string, epg-errors-to-string): New function.
4184 (epg-wait-for-completion): Reverse errors list.
4185 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4186 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4187 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4188 (epg-sign-keys, epg-generate-key-from-file)
4189 (epg-generate-key-from-string): Format errors by using
4190 epg-errors-to-string (bug#9255).
4191 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4192
75bfc667
JL
41932011-08-07 Juri Linkov <juri@jurta.org>
4194
4195 * faces.el (list-faces-display): Remove extra angle bracket
4196 from `help-mode-map'.
4197
4198 * info.el (Info-history-toc-nodes): Doc fix.
4199
4200 * longlines.el (longlines-mode): Doc fix.
4201
673e08bb
SM
42022011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4640dd88
SM
4204 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4205 of statements and in a few more cases (bug#9183).
4206
673e08bb
SM
4207 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4208 New functions.
4209 (cl-transform-lambda): Use them (bug#9239).
4210
89b3f019
MR
42112011-08-05 Martin Rudalics <rudalics@gmx.at>
4212
4213 * window.el (display-buffer-same-window)
4214 (display-buffer-same-frame, display-buffer-other-window)
4215 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4216 (pop-to-buffer-other-window)
4217 (pop-to-buffer-same-frame-other-window)
4218 (pop-to-buffer-other-frame): Make them defuns.
4219 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4220
640c8776
SM
42212011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4222
4223 * subr.el (make-composed-keymap): Move from C. Change calling
4224 convention, and improve docstring to bring attention to a subtle point.
4225 * minibuffer.el (completing-read-default): Adjust accordingly.
4226
63648a95
MA
42272011-08-03 Michael Albinus <michael.albinus@gmx.de>
4228
4229 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4230 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4231
4232 * net/trampver.el: Update release number.
4233
b796c9b7
SM
42342011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4237 "in" (bug#9190).
4238
2239d7d5
LMI
42392011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4240
e07dd7c3
LMI
4241 * mail/sendmail.el (sendmail-query-once): Restore the current
4242 buffer after querying (bug#9074).
4243
0e6a2bd7
LMI
4244 * dired.el (dired-flagged): Use different faces for marked and
4245 flagged files (bug#6117).
4246
ce887515
LMI
4247 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4248 (bug#4433).
4249
92f2affc
LMI
4250 * ido.el (ido-mode): Switch off the message if called
4251 non-interactively.
4252
57d5aff0
LMI
4253 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4254 before 587, since it appears that that's more likely to work for
4255 more people.
4256
98cd6c18 4257 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4258 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4259 exist.
4260
b96dec83
LMI
4261 * info.el: Remove the `Info-beginning-of-buffer' function
4262 (bug#8325).
4263
b796c9b7
SM
4264 * net/network-stream.el (network-stream-open-starttls):
4265 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4266
d90e2ea0
MR
42672011-08-01 Martin Rudalics <rudalics@gmx.at>
4268
4269 * window.el (display-buffer-in-window): Don't set dedicated status
4270 of window here (Bug#9215).
4271 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4272 (display-buffer-pop-up-side-window)
b796c9b7 4273 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4274
cca09170
SM
42752011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4278 before binding generated-autoload-file.
4279
027b979c
DD
42802011-08-01 Deniz Dogan <deniz@dogan.se>
4281
4282 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4283
3c7ee4f3
MA
42842011-07-30 Michael Albinus <michael.albinus@gmx.de>
4285
4286 Sync with Tramp 2.2.2.
4287
4288 * net/trampver.el: Update release number.
4289
2cc8e51a
JL
42902011-07-30 Juri Linkov <juri@jurta.org>
4291
4292 * dired-aux.el (dired-touch-initial): Remove function.
4293 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4294 current time, and `default' to the last modification time of the
4295 current marked file (bug#6887).
4296
a514d856
JM
42972011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4298
4299 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4300 numeric argument to read-number (bug#9163).
a514d856 4301
8a7eddd7
MA
43022011-07-27 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4305 connection process, it could be nil.
4306
1ddd96f5
LL
43072011-07-27 Leo Liu <sdl.web@gmail.com>
4308
4309 Simplify url handling in rcirc-mode.
4310
4311 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4312 (rcirc-browse-url-at-mouse): Remove.
4313 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4314
b248a85d
AM
43152011-07-26 Alan Mackenzie <acm@muc.de>
4316
4317 Fontify bitfield declarations properly.
4318
4319 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4320 (c-symbol-chars): Now exported as a lang variable.
4321 (c-not-primitive-type-keywords): New lang variable.
4322
4323 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4324 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4325 parsed as a bitfield declaration.
b248a85d 4326
b796c9b7
SM
4327 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4328 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4329 (c-punctuation-in): New function.
4330 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4331 declarations properly.
4332
68575ab0
UJ
43332011-07-26 Ulf Jasper <ulf.jasper@web.de>
4334
4335 * calendar/icalendar.el (icalendar--all-events): Take care of
4336 multiple vcalendars in a single file.
b796c9b7 4337 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4338
0f0a88b9
DD
43392011-07-25 Deniz Dogan <deniz@dogan.se>
4340
4341 * image.el (insert-image): Clarifying docstring.
4342
0b3f36df
MA
43432011-07-24 Michael Albinus <michael.albinus@gmx.de>
4344
4345 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4346 `tramp-send-command-and-check' if there is no error.
4347 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4348
a9901f61
AM
43492011-07-22 Alan Mackenzie <acm@muc.de>
4350
4351 Prevent cc-langs.elc being loaded at run time.
4352
4353 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4354 cc-langs.
4355
4d61f28d 4356 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4357 "(require 'cc-langs)". Quote a form so it will evaluate at
4358 (cc-mode's) compilation time.
4359
11d074b2
MA
43602011-07-22 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4363 loading. (Bug#9114)
4364
938b94c8
MR
43652011-07-21 Martin Rudalics <rudalics@gmx.at>
4366
4367 * window.el (display-buffer-pop-up-window)
4368 (display-buffer-pop-up-side-window)
4369 (display-buffer-in-side-window): Call display-buffer-set-height
4370 and display-buffer-set-width after setting the new window's
b796c9b7 4371 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4372
bfa4f190
SS
43732011-07-20 Sam Steingold <sds@gnu.org>
4374
4375 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4376 (etags-tags-included-tables): Call `convert-standard-filename' on
4377 the file names contained in TAGS so that windows Emacs can handle
4378 TAGS files created by cygwin ctags.
4379
8ca42262
LMI
43802011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4381
4382 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4383 which apparently didn't work.
4384
5db2afd2 43852011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4386
5db2afd2
RW
4387 * proced.el (proced-send-signal): For *Marked Processes* buffer
4388 put point at beginning of buffer.
4389
92e15d10
SB
43902011-07-19 Stephen Berman <stephen.berman@gmx.net>
4391
4392 * proced.el (proced-format): Make header lines align with the text
4393 (bug#1779).
4394
1bfd59e5
LMI
43952011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4396
4397 * view.el (view-buffer): Allow running in `special' modes if we're
4398 visiting a file (bug#8615).
4399
f5aae37c
MR
44002011-07-19 Martin Rudalics <rudalics@gmx.at>
4401
4402 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4403 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4404 New functions.
f5aae37c
MR
4405 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4406 more accurately.
4407
bf2c1571
AM
44082011-07-18 Alan Mackenzie <acm@muc.de>
4409
4410 Fontify declarators properly when, e.g., a jit-lock chunk begins
4411 inside a declaration.
4412
4413 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4414
b796c9b7
SM
4415 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4416 New function.
bf2c1571
AM
4417 (c-complex-decl-matchers): Insert reference to
4418 c-font-lock-enclosing-decls.
4419
4420 * progmodes/cc-engine.el (c-backward-single-comment):
4421 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4422 to nil around calls to (forward-comment -1).
4423
4e190b80
LMI
44242011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4425
12dc863d
LMI
4426 * image.el (put-image): Doc typo fix.
4427
a762e966
LMI
4428 * progmodes/etags.el (tags-search): Doc typo fix.
4429
4e190b80
LMI
4430 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4431 password if we get errors 550 to 554.
4432
f019fb21
LMI
44332011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4434
b796c9b7 4435 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4436
81746738
LMI
4437 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4438 indentation character (bug#6380).
4439
3ee3a1b5
LMI
4440 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4441
c82f64de
LMI
4442 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4443 to clarify what the problem is (bug#4291).
4444
f019fb21
LMI
4445 * simple.el (current-kill): Clarify what
4446 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4447 (auto-fill-mode): Document `auto-fill-function' in relation to
4448 `auto-fill-mode' (bug#2470).
f019fb21 4449
0794775d
LM
44502011-07-16 Lawrence Mitchell <wence@gmx.li>
4451
4452 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4453 method if slot is read-only (bug#9035).
4454
be39b8cc
MR
44552011-07-16 Martin Rudalics <rudalics@gmx.at>
4456
b796c9b7 4457 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4458 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4459 selected before, see discussion of (Bug#8615), (Bug#6954).
4460 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4461
6ccf7859
GM
44622011-07-15 Glenn Morris <rgm@gnu.org>
4463
4464 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4465 Respect help-form.
6ccf7859 4466
87e86684
LM
44672011-07-09 Lawrence Mitchell <wence@gmx.li>
4468
4469 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4470 (gnutls-negotiate): Use it.
4471
d6066239
LMI
44722011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4473
b796c9b7
SM
4474 * net/gnutls.el (gnutls-negotiate):
4475 Upcase `gnutls-algorithm-priority'.
d6066239 4476
bd23ebc0
GM
44772011-07-15 Glenn Morris <rgm@gnu.org>
4478
c65bca65
GM
4479 * jka-compr.el (jka-compr-verbose): Move from here...
4480 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4481 Add missing :version tag.
4482 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4483
478615cc
LMI
44842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4485
7b41decb
LMI
4486 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4487 (gnutls-negotiate): Use it.
4488
dbc44fcd
LMI
4489 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4490
06789f97
LMI
4491 * info.el (Info-beginning-of-buffer): New command.
4492 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4493 announcing `b' as the key (bug#8325).
ab896c37 4494 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4495
c39da690
LMI
4496 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4497
3aa5f34b
LMI
4498 * international/mule-cmds.el
4499 (describe-specified-language-support): Make the error message
4500 clearer (bug#8905).
4501
4bf0979f
LMI
4502 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4503
478615cc
LMI
4504 * isearch.el (isearch-barrier): Add a doc string, since it's
4505 mentioned in a function doc string (bug#8678).
4506
75c68aa1
MR
45072011-07-15 Martin Rudalics <rudalics@gmx.at>
4508
4509 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4510 buffer argument (Bug#9083) and self-identifying label argument.
4511
a7c33da2
GM
45122011-07-15 Glenn Morris <rgm@gnu.org>
4513
4514 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4515
2f5c6024
LMI
45162011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4517
4518 * man.el (Man-fontify-manpage): Fix message when formatting the
4519 man page (bug#7929).
4520
0bb23927 45212011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4522
4523 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4524 argument LRM; if non-nil, append an invisible LRM character to the
4525 buffer name.
4526 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4527 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4528 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4529 paragraph direction.
cce4b0a7 4530
621ef9ab
LMI
45312011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4532
d1583c48
LMI
4533 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4534 the man page name (bug#7929).
4535
6a57fb5f
LMI
4536 * image.el (put-image): Mention the `put-image' overlay property
4537 (bug#7834).
4538
d7956b14
LMI
4539 * scroll-bar.el (set-scroll-bar-mode): Mention that
4540 `scroll-bar-mode' lists the values (bug#7772).
4541
5b2d4a66
LMI
4542 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4543 command (bug#7729).
4544
7509a874
LMI
4545 * rect.el (apply-on-rectangle): Return the point after the last
4546 operation.
4547 (string-rectangle): Go to the point after the last operation
4548 (bug#7522).
4549
4fe74b19
LMI
4550 * printing.el (pr-toggle-region): Clarify the documentation
4551 slightly (bug#7493).
4552
b796c9b7
SM
4553 * time.el (display-time-update):
4554 Allow `display-time-mail-function' to return nil (bug#7158).
4555 Fix suggested by Detlev Zundel.
ab283561 4556
fc233c9d
LMI
4557 * vc/diff.el (diff): Clarify the order the file names are read
4558 (bug#7111).
4559
43f5740b
LMI
4560 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4561 the doc string (bug#7015).
4562
f2182a76
LMI
4563 * font-lock.el (font-lock-maximum-decoration): Mention what
4564 numeric levels mean (bug#6935).
4565
621ef9ab
LMI
4566 * startup.el (initial-buffer-choice): Don't mention the `none'
4567 selection, which is against policy.
4568
adc47434
MR
45692011-07-14 Martin Rudalics <rudalics@gmx.at>
4570
b796c9b7
SM
4571 * window.el (display-buffer-normalize-special):
4572 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4573
7e5bfb8f
EZ
45742011-07-14 Eli Zaretskii <eliz@gnu.org>
4575
4576 * subr.el (version<, version<=, version=): Mention "-CVS" and
4577 "-12345" alpha version numbers.
4578
27fa387a
CY
45792011-07-14 Chong Yidong <cyd@stupidchicken.com>
4580
4581 * bindings.el: Add advertised binding for set-mark-command
4582 (Bug#5772).
4583
8bdfa064
CY
45842011-07-14 Chong Yidong <cyd@stupidchicken.com>
4585
4586 * bindings.el (mode-line-other-buffer):
4587 * bookmark.el (bookmark-bmenu-2-window):
4588 * bs.el (bs-cycle-next, bs-cycle-previous):
4589 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4590 switch-to-buffer.
4591
4592 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4593 Delete.
8bdfa064 4594
5eba16a3
JB
45952011-07-14 Juanma Barranquero <lekktu@gmail.com>
4596
4597 * follow.el (follow-debug-message, follow-redisplay):
4598 * jka-cmpr-hook.el (with-auto-compression-mode):
4599 Fix typos in docstrings.
4600
15853710
LMI
46012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4602
a28e4607
LMI
4603 * subr.el (with-silent-modifications): Clarify somewhat what the
4604 macro inhibits (bug#6525).
4605
15853710
LMI
4606 * simple.el (eval-expression): Note what it does if called
4607 interactively (bug#6495).
4608
bee0fcef
CY
46092011-07-13 Chong Yidong <cyd@stupidchicken.com>
4610
b796c9b7
SM
4611 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4612 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4613
4614 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4615 Remove switch-to-buffer.
4616
58274504
LMI
46172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4618
bd2fcc8d
LMI
4619 * files.el (make-directory): Clarify that an error will be raised
4620 if there's an error (bug#6397).
4621
0f04b32c
LMI
4622 * startup.el (initial-buffer-choice): Add `none' as a choice
4623 (bug#6234).
4624
465c5fc8
LMI
4625 * subr.el (add-hook): Clarify section about buffer-local hooks
4626 (bug#6218).
4627
58274504
LMI
4628 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4629
bead9a43
JB
46302011-07-13 Juanma Barranquero <lekktu@gmail.com>
4631
4632 * tabify.el (untabify): Preserve the current column so that point
4633 doesn't move (bug#6032).
4634
3af98a7b
LMI
46352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4636
b796c9b7
SM
4637 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4638 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4639
6240145a
GM
46402011-07-13 Glenn Morris <rgm@gnu.org>
4641
4642 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4643 (dired-insert-directory): Give a message the first time
4644 if ls is found not to support --dired.
4645
1d8c2ccc
LMI
46462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4647
4648 * simple.el (toggle-truncate-lines): Clarify what is toggled
4649 (bug#5580). Text by Drew Adams.
4650
5fc4038e
CY
46512011-07-13 Chong Yidong <cyd@stupidchicken.com>
4652
4653 * simple.el (blink-matching-open): Make the error message from the
4654 last change less verbose.
4655
bf6012e5
DN
46562011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4657
4658 * font-lock.el (font-lock-comment-face): Use the high contrast
4659 "yellow" color for font-lock-comment-face on low color terminals
4660 using a dark background color (bug#4221).
4661
343c3b5a
LMI
46622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4663
7e9505c5
LMI
4664 * dired.el (dired-insert-set-properties): Make the doc string
4665 reflect what it does now (bug#5325).
4666
c26fdcf5
LMI
4667 * simple.el (blink-matching-open): Say that we were unable to find
4668 the match within the limit, if we're limited (bug#5122).
4669
bb388cc5
LMI
4670 * international/mule-cmds.el (prefer-coding-system): Add an
4671 example (bug#4869).
4672
343c3b5a
LMI
4673 * progmodes/etags.el (tags-search): Document `file-list-form'
4674 (bug#4731).
4675
2a517d45
LM
46762011-07-13 Lawrence Mitchell <wence@gmx.li>
4677
4678 * net/browse-url.el (browse-url-default-browser)
4679 (browse-url-browser-function): Make the default browser choice a
4680 bit more logical (bug#4300). Also clean up the doc string.
4681
b6c78ef2
JB
46822011-07-13 Juanma Barranquero <lekktu@gmail.com>
4683
4684 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4685 binary endings (bug#4440).
4686
1c4dd947
LMI
46872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4688
a2014063
LMI
4689 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4690 which can be pretty annoying (bug#8971).
4691
9c9c2d88
LMI
4692 * jka-compr.el (jka-compr-verbose): New variable, and use
4693 throughout (bug#8971).
4694
1c4dd947
LMI
4695 * info.el (Info-find-file): Fall back on the installation
4696 directory if we can't find the info node anywhere else.
4697
a1c9f41b
SO
46982011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4699
4700 * vc/vc.el (vc-revert-file):
4701 Don't set file time-stamp in the past. (Bug#5181)
4702
536f3d36
LMI
47032011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4704
7152b011
LMI
4705 * files.el (after-find-file): Give a better error message when
4706 trying to find a symlink that points to a file that doesn't exist
4707 (bug#4398).
4708
536f3d36
LMI
4709 * progmodes/cc-vars.el: Remove (probably) misleading comment
4710 (bug#4396).
4711
460c0fba
JB
47122011-07-12 Johan Bockgård <bojohan@gnu.org>
4713
4714 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4715
7a6bda45
CY
47162011-07-12 Chong Yidong <cyd@stupidchicken.com>
4717
4718 * mouse-sel.el: Hack restoring functionality, while keeping
4719 compatibility with 2010-07-03 changes to mouse selection.
4720 (mouse-sel-primary-overlay): New var.
4721 (mouse-sel-selection-alist): Use it.
4722 (mouse-sel-mode): Doc fix; remove points that are default features
4723 of mouse.el.
4724
c79598ef
JB
47252011-07-12 Johan Bockgård <bojohan@gnu.org>
4726
4727 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4728 Fix previous fix (bug#2490).
4729
ff8be6ef
RW
47302011-07-12 Roland Winkler <winkler@gnu.org>
4731
b796c9b7
SM
4732 * textmodes/bibtex.el (bibtex-initialize):
4733 Use pop-to-buffer-same-window.
ff8be6ef
RW
4734 (bibtex-search-entries): Fix interactive call.
4735
296ba3ee
LMI
47362011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4737
f5242a02 4738 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4739 Fontise bytecomp Error lines more correctly (bug#2490).
4740 Fix suggested by Johan Bockgård.
f5242a02 4741
296ba3ee
LMI
4742 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4743
4744 * dired-x.el (dired-guess-default): Use `delete-dups'.
4745
f69fd0d2
CY
47462011-07-12 Chong Yidong <cyd@stupidchicken.com>
4747
4748 * dired.el (dired-mark-prompt):
4749 * dired-aux.el (dired-read-shell-command): Doc fix.
4750
eab5dc07
LMI
47512011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4752
b796c9b7
SM
4753 * mail/sendmail.el (sendmail-query-once):
4754 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4755 emacs -Q.
4756
4757 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4758
eab5dc07
LMI
4759 * cus-edit.el (custom-file): Take an optional no-error variable.
4760 (customize-save-variable): Set the variable, and give a warning if
4761 running under "emacs -q".
4762
a1e65d42
JB
47632011-07-11 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * loadhist.el (unload-feature-special-hooks):
4766 Add `auto-coding-functions', `fill-nobreak-predicate' and
4767 `find-directory-functions' (bug#5327).
4768
1d52da10
LMI
47692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4770
be958f1d
LMI
4771 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4772
5bedb26c
LMI
4773 * cus-edit.el (custom-guess-name-alist): -alist variables should
4774 use the `alist' type (bug#3120). Suggested by Drew Adams.
4775
1d52da10
LMI
4776 * printing.el: Add documentation to all the `pr-toggle-' commands.
4777
cd394be1 47782011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4779
4780 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4781 backends where it makes sense (bug#2623).
4782
dcc88d8a
LMI
47832011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4784
c3de9feb
LMI
4785 * dired-x.el (dired-guess-default): Remove duplicate shell command
4786 entries (bug#2028).
8a93078b 4787 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4788 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4789
dcc88d8a
LMI
4790 * subr.el (remove-duplicates): New conveniency function.
4791
505e3645
LMI
47922011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4793
4794 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4795 (bug#1526).
4796
47972011-07-10 Martin Rudalics <rudalics@gmx.at>
4798
4799 * window.el (display-buffer-normalize-default): Don't invert
4800 meaning of even-window-heights. Reported by Eli Zaretskii
4801 <eliz@gnu.org>.
4802
455e4fa1
BR
48032011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4804
4805 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4806
8e0bc3e9
CY
48072011-07-10 Chong Yidong <cyd@stupidchicken.com>
4808
4809 * window.el (display-buffer): Fix arguments to
4810 display-buffer-reuse-window in last change.
4811
fa7c3228
CY
4812 * faces.el (link): Use a less saturated blue on light backgrounds.
4813
4814 * startup.el (fancy-startup-text, fancy-about-text)
4815 (fancy-startup-tail): Use font-lock faces, for background safety.
4816
c0a7f300
BN
48172011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4818
b796c9b7
SM
4819 * emulation/viper-cmd.el (viper-change-state-to-vi):
4820 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4821
4dc2a129
MR
48222011-07-09 Martin Rudalics <rudalics@gmx.at>
4823
4824 * window.el (display-buffer-default-specifiers): Remove.
4825 (display-buffer-macro-specifiers): Remove default specifiers.
4826 (display-buffer-alist): Default to nil.
b796c9b7 4827 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4828 (display-buffer-pop-up-window): Allow splitting internal
4829 windows. Check whether a live window was created.
4830 (display-buffer-other-window-means-other-frame)
4831 (display-buffer-normalize-arguments): Rename to
4832 display-buffer-normalize-argument and rewrite. Set the
4833 other-window specifier.
4834 (display-buffer-normalize-special): New function.
4835 (display-buffer-normalize-options): Rename to
4836 display-buffer-normalize-default and rewrite.
4837 (display-buffer-normalize-options-inhibit): Remove.
4838 (display-buffer-normalize-specifiers): Rewrite.
4839 (display-buffer): Process other-window specifier and call
4840 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4841 more faithfully.
b796c9b7 4842 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4843 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4844 (display-buffer-in-window, display-buffer-alist-set):
4845 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4846 <tassilo@member.fsf.org>.
4847
2d43b8c9
LL
48482011-07-09 Leo Liu <sdl.web@gmail.com>
4849
4850 * register.el (insert-register): Restore accidental change on
4851 2011-06-26. (Bug#9028)
4852
7f9b7c53
GM
48532011-07-09 Glenn Morris <rgm@gnu.org>
4854
4855 * subr.el (remq): Handle the empty list. (Bug#9024)
4856
f042cfd8
AS
48572011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4858
4859 * mail/sendmail.el (send-mail-function): No longer delay custom
4860 initialization.
4861 * custom.el (custom-initialize-delay): Doc fix.
4862
856b2f11
SM
48632011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4866
afae1d68
MA
48672011-07-08 Michael Albinus <michael.albinus@gmx.de>
4868
4869 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4870 human-friendly prompt.
4871
0757af94
SM
48722011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4875 provided by a particular plugin.
4876
d760b731
LMI
48772011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4878
4879 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4880 save customizations (with "emacs -Q"), just set the variable
4881 instead of erroring out.
4882
4883 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4884
cd79ce90
JL
48852011-07-08 Juri Linkov <juri@jurta.org>
4886
4887 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4888 (archive-zip-update-case): Use 7z if found by `executable-find'.
4889 The order of searching the available programs is the same as in
4890 `archive-zip-extract' (bug#8968).
4891
14cc04aa
CY
48922011-07-07 Chong Yidong <cyd@stupidchicken.com>
4893
4894 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4895 (menu-bar-options-menu): Tweak descriptions.
4896
0a1848ec
LMI
48972011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4898
4899 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4900 menu items into verb phrases (bug#1421). Also refill to fit under
4901 80 columns.
4902
f5bd0689
CY
49032011-07-07 Chong Yidong <cyd@stupidchicken.com>
4904
538e85c6
CY
4905 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4906 (Info-read-node-name): Doc fix (Bug#1084).
4907
f5bd0689
CY
4908 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4909 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4910 (end-of-sexp, beginning-of-sexp)
4911 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4912 (forward-symbol, forward-same-syntax, word-at-point)
4913 (sentence-at-point): Doc fix (Bug#1144).
4914
56ec5115
LMI
49152011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4916
f3f8e37f
LMI
4917 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4918 should cover it (bug#1281).
4919
0757af94 4920 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4921
e9fce1ac 4922 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4923 negotiation fails, then possibly try again with a non-encrypted
4924 connection (bug#9017).
4925
56ec5115
LMI
4926 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4927 be used.
4928
c2f9aec8
RS
49292011-07-07 Richard Stallman <rms@gnu.org>
4930
4931 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4932 property, and handle its changed format.
4933 Look for the correct line number.
4934 Use file's line contents (but not past first =) to find
4935 correct line in message.
4936
ef7b981d 49372011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4938
4939 * international/characters.el (build-unicode-category-table):
4940 Delete it.
0757af94 4941 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4942
0757af94 4943 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4944 to src/chartab.c.
4945 (get-char-code-property): Call unicode-property-table-internal to
4946 load a file. Call get-unicode-property-internal where necessary.
4947 (put-char-code-property): Call unicode-property-table-internal to
4948 load a file. Call put-unicode-property-internal where necessary.
4949 put-unicode-property-internal where necessary.
0757af94
SM
4950 (char-code-property-description):
4951 Call unicode-property-table-internal to load a file.
c805dec0
KH
4952
4953 * international/charprop.el:
4954 * international/uni-bidi.el:
4955 * international/uni-category.el:
4956 * international/uni-combining.el:
4957 * international/uni-comment.el:
4958 * international/uni-decimal.el:
4959 * international/uni-decomposition.el:
4960 * international/uni-digit.el:
4961 * international/uni-lowercase.el:
4962 * international/uni-mirrored.el:
4963 * international/uni-name.el:
4964 * international/uni-numeric.el:
4965 * international/uni-old-name.el:
4966 * international/uni-titlecase.el:
4967 * international/uni-uppercase.el: Regenerate.
4968
4969 * loadup.el: Load international/charprop.el before
4970 international/characters.
4971
e14b388a
CY
49722011-07-07 Chong Yidong <cyd@stupidchicken.com>
4973
4974 * window.el (next-buffer, previous-buffer): Signal an error if
4975 called from a minibuffer window.
4976
4977 * bindings.el: Revert 2011-07-04 change.
4978
354cf0ba
RS
49792011-07-06 Richard Stallman <rms@gnu.org>
4980
4981 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4982 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4983 Treat markers like ints.
4984 (rmail-mime-entity): Doc fix.
4985
a48868a7
LMI
49862011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4987
4906cd3d
LMI
4988 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4989 defcustom again for backwards compatibility.
4990
e0457abe
LMI
4991 * simple.el (shell-command-on-region): Fill.
4992
d67f7e1f
LMI
4993 * dired-aux.el (dired-kill-line): Add a doc string.
4994
fe204702
LMI
4995 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4996 to "\\sw\\|\\s_" (bug#358).
4997
a48868a7
LMI
4998 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4999 (dired-unmark-backward): Ditto.
5000 (dired-flag-backup-files): Ditto.
5001
5002 * dired-x.el (dired-mark-sexp): Ditto.
5003
aa8a705c
RS
50042011-07-06 Richard Stallman <rms@gnu.org>
5005
5006 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5007 (rmail-mime-entity): New arg TRUNCATED.
5008 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5009 New functions.
5010 (rmail-mime-save): Warn if entity is truncated.
5011 (rmail-mime-toggle-hidden): Likewise, for showing.
5012 (rmail-mime-process-multipart): Record when an entity is truncated.
5013
a9a936b9
RS
5014 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5015 if ENTITY is a string.
5016
1f2b92cb
LMI
50172011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5018
f4f73198 5019 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5020 of faces when `M-C-x'-ing their definitions (bug#8378).
5021 Also clean up the code slightly.
f4f73198 5022
12b16734 5023 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5024 because that makes the colors go away.
12b16734 5025
f0691d22
LMI
5026 * mail/sendmail.el (send-mail-function): Change the default to
5027 `sendmail-query-once'.
9e87df06 5028 (sendmail-query-once): Add an autoload cookie.
f0691d22 5029
1f2b92cb
LMI
5030 * net/network-stream.el (network-stream-open-starttls): Try using
5031 a plain connection even if the server offered STARTTLS, and we
5032 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5033 capability. This should make smtpmail.el work in slightly more
5034 configurations.
5035
1cdd2a1b
MA
50362011-07-06 Michael Albinus <michael.albinus@gmx.de>
5037
5038 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5039 New defun.
5040 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5041
fbcc67e2
MM
50422011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5043
5044 * progmodes/sql.el: Version 3.0
0757af94 5045 (sql-product-alist): Add product :completion-object,
fbcc67e2 5046 :completion-column, and :statement attributes.
0757af94 5047 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5048 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5049 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5050 ansi keywords.
5051 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5052 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5053 (sql-oracle-show-reserved-words): New function for development.
5054 (sql-product-font-lock): Simplify for source code buffers.
5055 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5056 New functions.
5057 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5058 (sql-mode-map): Add statement movement functions.
5059 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5060 New variable.
fbcc67e2
MM
5061 (sql-statement-regexp, sql-beginning-of-statement)
5062 (sql-end-of-statement, sql-signum): New functions.
0757af94 5063 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5064 (sql-show-sqli-buffer): Bug fix.
5065 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5066 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5067 with sql-interactive-mode.
5068 (sql-save-connection): Save buffer local settings.
0757af94 5069 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5070 (sql-product-interactive): Bug fix.
5071 (sql-preoutput-hold): New variable.
5072 (sql-interactive-remove-continuation-prompt): Bug fixes.
5073 (sql-debug-redirect): New variable.
5074 (sql-str-literal): New function.
5075 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5076 Redesign.
fbcc67e2
MM
5077 (sql-oracle-save-settings, sql-oracle-restore-settings)
5078 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5079 (sql-completion-object, sql-completion-column)
5080 (sql-completion-sqlbuf): New variables.
5081 (sql-build-completions-1, sql-build-completions)
5082 (sql-try-completion): New functions.
5083 (sql-read-table-name): Use them.
5084 (sql-contains-names): New buffer local variable.
5085 (sql-list-all, sql-list-table): Use it.
5086 (sql-oracle-completion-types): New variable.
5087 (sql-oracle-completion-object, sql-sqlite-completion-object)
5088 (sql-postgres-completion-object): New functions.
5089
d4eaeab1
GM
50902011-07-06 Glenn Morris <rgm@gnu.org>
5091
5092 * window.el (pop-to-buffer): Doc fix.
5093
322b7dab 50942011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5095
5096 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5097
322b7dab 50982011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5099
322b7dab 5100 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5101
322b7dab 5102 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5103
605dd5bf
CY
51042011-07-05 Chong Yidong <cyd@stupidchicken.com>
5105
5106 * button.el (button): Inherit from link face. Suggested by Dan
5107 Nicolaescu.
5108
7dbfa719
SM
51092011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5110
3db614b0
SM
5111 * progmodes/gdb-mi.el: Fit in 80 columns.
5112 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5113 switch-to-buffer.
5114
7dbfa719
SM
5115 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5116 if imenu is simply not configured (bug#8941).
5117
919d884a
KM
51182011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5119
5120 * allout.el (allout-post-undo-hook): New allout outline-change
5121 event hook to signal undo activity.
5122 (allout-post-command-business): Run allout-post-undo-hook if an
5123 undo just occurred.
7dbfa719
SM
5124 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5125 * allout-widgets.el (allout-widgets-after-undo-function):
5126 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5127 in the vicinity of an undo.
5128 (allout-widgets-mode): Include allout-widgets-after-undo-function
5129 on the new allout-post-undo-hook.
5130
450a0f09
SM
51312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5134 Let define-derived-mode define it.
5135 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5136 cycles of abbrev-table inheritance (bug#8998).
5137
2de69e00
RW
51382011-07-05 Roland Winkler <winkler@gnu.org>
5139
5140 * textmodes/bibtex.el: Add support for biblatex.
5141 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5142 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5143 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5144 (bibtex-entry-alist, bibtex-field-alist): New variables.
5145 (bibtex-entry-field-alist): Obsolete alias for
5146 bibtex-BibTeX-entry-alist.
5147 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5148 (bibtex-set-dialect): New command.
5149 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5150 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5151 Bind via bibtex-set-dialect.
2de69e00
RW
5152 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5153 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5154 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5155 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5156 Define via bibtex-set-dialect.
450a0f09
SM
5157 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5158 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5159 (bibtex-vec-push, bibtex-vec-incr): New functions.
5160 (bibtex-format-entry, bibtex-field-list)
5161 (bibtex-print-help-message, bibtex-validate)
5162 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5163
2dcdbdd9
SM
51642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * progmodes/compile.el (compilation-goto-locus):
5167 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5168 * bs.el (bs-cycle-next, bs-cycle-previous):
5169 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5170 * bindings.el (mode-line-other-buffer):
5171 * autoinsert.el (auto-insert):
5172 * arc-mode.el (archive-extract):
5173 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5174
b27640fe
JB
51752011-07-05 Juanma Barranquero <lekktu@gmail.com>
5176
5177 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5178 Fix check of `emacs-lock-unlockable-modes'.
5179 Coerce true values of `emacs-lock--try-unlocking' to t.
5180
53bbe3ad
JB
51812011-07-05 Juanma Barranquero <lekktu@gmail.com>
5182
5183 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5184 * emacs-lock.el: New file.
5185
1d3cdbc7
JD
51862011-07-05 Julien Danjou <julien@danjou.info>
5187
5188 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5189 than `boundp' to check if face is set.
5190
9173deec
JB
51912011-07-05 Juanma Barranquero <lekktu@gmail.com>
5192
5193 * register.el (registerv-make):
5194 * window.el (window-min-height): Fix typos in docstrings.
5195
869795d6
JD
51962011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5197
9173deec 5198 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5199 Update doc string.
5200
b768cdcd
JB
52012011-07-04 Juanma Barranquero <lekktu@gmail.com>
5202
5203 * server.el (server-execute): Catch quit and call
5204 `server-return-error' to pass the error back to emacsclient and
5205 close the connection (bug#8942).
5206
13aa217b
KM
52072011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5208
5209 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5210 insecure exception for current topic. Also note that auto-saves
5211 are handled differently.
5212
5213 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5214 State variables for tracking auto-save inhibition situation.
5215
5216 (allout-write-contents-hook-handler): Rename from
5217 'allout-write-file-hook-handler', and describe how it depends on
5218 write-contents-functions sensitivity to non-nil value to prevent
5219 file write.
5220
5221 (allout-auto-save-hook-handler): Remove. auto-save does not check
5222 this in individual buffers, only in the starting buffer, so this
5223 is not the right way for us to inhibit auto-save in a buffer
5224 according to its condition.
5225
5226 (allout-mode): Use new allout-write-contents-hook-handler, and
5227 only with write-contents-functions. Remove auto-save provisions -
5228 they're implemented elsewhere.
5229
5230 (allout-before-change-handler): If undo is in progress, note that
5231 for attention of allout-post-command-business.
5232
5233 (allout-post-command-business): If the command we're following was
5234 an undo, check for change in the status of encrypted items and
5235 adjust auto-save inhibitions accordingly.
5236
5237 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5238 according to whether there are or aren't any plain-text topics
5239 pending encryption.
5240
2dcdbdd9 5241 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5242 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5243 if there are plain-text topics pending encryption.
13aa217b
KM
5244
5245 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5246 buffer-saved-size and some allout state to not inhibit auto-saves
5247 if there are no longer any plain-text topics pending encryption.
5248
0757af94
SM
5249 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5250 No longer provide for exemption of the current topic.
13aa217b 5251
ac89b32c
JL
52522011-07-04 Juri Linkov <juri@jurta.org>
5253
5254 Add 7z operations to delete and save changed members (bug#8968).
5255 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5256 New defcustoms.
5257 (archive-7z-write-file-member): New function.
5258 (archive-7z-summarize): Fix the number of dashes in the
5259 listing output.
5260
8fa39615
SM
52612011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5264 (bug#8958).
5265
2f11b3f1
CY
52662011-07-04 Chong Yidong <cyd@stupidchicken.com>
5267
d66fef2b
CY
5268 * bindings.el: Ignore next-buffer and previous-buffer in
5269 minibuffer-local-map.
5270
2f11b3f1
CY
5271 * font-lock.el (font-lock-builtin-face): Change light background
5272 color to dark slate blue (Bug#6693).
5273
f932a347
WD
52742011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5275
5276 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5277
c8af70e1
SM
52782011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5281 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5282 Add switch-to-buffer.
5283
f158badc
LMI
52842011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5285
5286 * isearch.el (isearch-search-fun-function): Clarify further the
5287 meaning of the function returned.
5288
6d95bd46
MA
52892011-07-04 Michael Albinus <michael.albinus@gmx.de>
5290
5291 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5292
5293 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5294 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5295 Use it.
5296 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5297 `tramp-default-remote-path' does not exist.
5298 (tramp-send-command-and-read): New optional argument NOERROR.
5299 (tramp-open-connection-setup-interactive-shell)
5300 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5301 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5302 (tramp-process-sentinel): Flush also process' connection property.
5303 (tramp-sh-handle-start-file-process): Do not set process
5304 sentinel. It is done now ...
5305 (tramp-maybe-open-connection): ... here. (Bug#8929)
5306
909e6b67
MK
53072011-07-04 MON KEY <monkey@sandpframing.com>
5308
5309 * play/animate.el (animate-string): Doc fixes and allow changing
5310 the buffer name (bug#5417).
5311
53122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5313
c8af70e1 5314 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5315
f34755dc
PE
53162011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5317
396cec72
PE
5318 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5319 This is simpler and helps future-proof the code.
5320 (timer-until): Use time-subtract and float-time.
08235028 5321 (timer--time-less-p): Use time-less-p.
f34755dc 5322
56e6cc31
JB
53232011-07-04 Juanma Barranquero <lekktu@gmail.com>
5324
3abb79e5
JB
5325 * type-break.el (timep): Use the value of `float-time' to avoid a
5326 byte-compiler warning.
5327
56e6cc31
JB
5328 * server.el (server-eval-and-print): Return any result, even nil.
5329
7b9430b4
PE
53302011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5331
5332 * type-break.el: Accept time formats that the builtins accept.
5333 (timep, type-break-time-difference): Accept any format that
5334 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5335 This is simpler and helps future-proof the code.
5336 (type-break-time-difference): Round rather than ignoring
5337 subseconds components.
5338
3034e9e7
LMI
53392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5340
5341 * info.el (Info-apropos-matches): Make non-interactive, since it
5342 doesn't seem to do anything useful as a command (bug#8829).
5343
1485f4c0
CY
53442011-07-03 Chong Yidong <cyd@stupidchicken.com>
5345
5346 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5347 Move from faces.el.
1485f4c0
CY
5348 (frame-default-terminal-background): New function.
5349
5350 * custom.el (custom-push-theme): Don't record faces in `changed'
5351 theme; this doesn't work correctly for per-frame face settings.
5352 (disable-theme): Use face-set-after-frame-default to reset faces.
5353 (custom--frame-color-default): New function.
5354
9fa3dd45
LMI
53552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5356
c8af70e1 5357 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5358 (bug#8769).
5359
6cbbc20c
KR
53602011-03-29 Kevin Ryde <user42@zip.com.au>
5361
5362 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5363 `perl-Test2' extend to match possible "fail #N" rep count
5364 (bug#8377).
5365
c7f98048
LMI
53662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5367
65676592
LMI
5368 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5369 `smtpmail-via-smtp' now returns the error instead of nil.
5370
c7f98048
LMI
5371 * isearch.el (isearch-search-fun-function): Clarify the doc string
5372 (bug#8101).
5373
56e6cc31 53742011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5375
5376 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5377 unnecessary spaces (bug#8987).
5378
2b216704
LMI
53792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5380
5381 * net/network-stream.el (open-network-stream): Use the
5382 :end-of-capability command thoughout.
5383
53842011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5385
5386 * net/network-stream.el (open-network-stream): Add the
5387 :end-of-capability command parameter, used by pop3.el.
5388
36adf6ce
LMI
53892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5390
1ca0da0e
LMI
5391 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5392
fc00f69c
LMI
5393 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5394 for list)" (bug#6475).
5395
28fd8759 5396 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5397 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5398 an error (bug#6297).
5399
0dd8b6da
LMI
5400 * man.el (Man-reference-regexp): Allow matching possible
5401 word-wrapped references (bug#6289).
5402
ce1438d6
LMI
5403 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5404 for consistency with the other vc buffers (bug#6197).
5405 (vc-checkin): Ditto.
5406
5407 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5408
36adf6ce
LMI
5409 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5410
e83cc1f7
LMI
54112011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412
8a20ca4c
LMI
5413 * custom.el (defcustom): Clarify that :set is only used in the
5414 Customize user interface (bug#6089).
5415
83319045
LMI
5416 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5417 associated with a file, refuse to run instead of erroring out
5418 (bug#6084).
5419
a8392169
LMI
5420 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5421 the doc string, since it appears that using `fill-column' always
5422 controls the width (bug#7845).
5423
e83cc1f7
LMI
5424 * simple.el (shell-command-on-region): Say where the error output
5425 went if `shell-command-default-error-buffer' is set (bug#6857).
5426
e47ca23b
KM
54272011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5428
5429 * allout.el (allout-yank-processing): Adjust cursor position for
5430 backwards-deleted space.
5431
5432 (allout-rebullet-heading): Register changes with
5433 allout-exposure-changed-hook, so the modified topic is properly
5434 decorated.
5435
5cf56143
LMI
54362011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5437
08549772
LMI
5438 * minibuffer.el (completion-in-region): Document PREDICATE
5439 (bug#7136).
5440
48e96771
LMI
5441 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5442 of keyword/argument pairs (bug#6904).
5443
c8af70e1
SM
5444 * replace.el (multi-occur):
5445 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5446
e17d05e2
LMI
54472011-07-02 Drew Adams <drew.adams@oracle.com>
5448
5449 * dired.el (dired-mark-if): Make the message about whether it's
5450 marking or unmarking clearer (bug#8523).
5451
063b0e45
LMI
54522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5453
5454 * disp-table.el (display-table-print-array): New function.
5455 (describe-display-table): Use it to print the vectors more pretty
5456 (Bug#8859).
5457
28545e04
MR
54582011-07-02 Martin Rudalics <rudalics@gmx.at>
5459
5460 * window.el (window-state-get-1): Don't assign clone numbers.
5461 Add clone-of item to list of window parameters.
5462 (window-state-put-2): Don't process clone numbers.
5463 (display-buffer-alist): Fix doc-string.
5464
3349e122
SM
54652011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * subr.el (remq): Don't allocate if it's not needed.
5468 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5469 (keymap--merge-bindings): New functions.
5470 (keymap-canonicalize): Use them to refine the canonicalization.
5471 * minibuffer.el (minibuffer-local-completion-map)
5472 (minibuffer-local-must-match-map): Move initialization from C.
5473 (minibuffer-local-filename-completion-map): Move initialization from C;
5474 don't inherit from anything here.
5475 (minibuffer-local-filename-must-match-map): Make obsolete.
5476 (completing-read-default): Use make-composed-keymap to combine
5477 minibuffer-local-filename-completion-map with either
5478 minibuffer-local-must-match-map or
5479 minibuffer-local-filename-completion-map.
5480
d224ac83
GM
54812011-07-01 Glenn Morris <rgm@gnu.org>
5482
3de63bf8
GM
5483 * type-break.el (type-break-time-sum): Use dolist.
5484
d224ac83
GM
5485 * textmodes/flyspell.el (flyspell-word-search-backward):
5486 Replace CL function.
5487
1a1e3f32
SM
54882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5489
fe3f64d5
SM
5490 * mouse.el (mouse--strip-first-event): New function.
5491 (function-key-map): Use it to map fringe clicks to normal clicks
5492 by default.
5493
eb604e34
SM
5494 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5495 (vc-bzr-revision-completion-table): Add support for annotate and date.
5496
1a1e3f32
SM
5497 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5498 inherit from parent.
5499
5bd35902
LMI
55002011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5501
ace6c69c 5502 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5503 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5504
191e2bed
LMI
5505 * dired.el (dired-mode): Fix up the doc string as suggested by
5506 Drew Adams (bug#8817).
5507
5bd35902
LMI
5508 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5509 cookie, since the manual says that it should be possible to add
5510 this function to `find-file-hook' (bug#8709).
5511
eee8207a
TZ
55122011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5513
5514 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5515 here. Noted Ted Zlatanov as the maintainer.
5516 (cfengine-common-settings, cfengine-common-syntax): New functions
5517 to set up common things between `cfengine-mode' and
5518 `cfengine3-mode'.
5519 (cfengine3-mode): New mode.
5520 (cfengine3-defuns cfengine3-defuns-regex
5521 (cfengine3-class-selector-regex cfengine3-category-regex)
5522 (cfengine3-vartypes cfengine3-font-lock-keywords)
5523 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5524 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5525
36b148cf
MA
55262011-07-01 Michael Albinus <michael.albinus@gmx.de>
5527
5528 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5529
5530 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5531
0bf4ba9a
MR
55322011-07-01 Martin Rudalics <rudalics@gmx.at>
5533
5534 * window.el (same-window-buffer-names, same-window-regexps)
5535 (same-window-p, special-display-frame-alist)
5536 (special-display-popup-frame, special-display-function)
5537 (special-display-buffer-names, special-display-regexps)
5538 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5539 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5540 (split-window-preferred-function, split-height-threshold)
5541 (split-width-threshold, even-window-heights)
5542 (display-buffer-mark-dedicated, window-splittable-p)
5543 (split-window-sensibly, window-safely-shrinkable-p):
5544 Un-obsolete.
5545 (display-buffer): Don't spread args with function specifier
5546 because special-display-popup-frame won't like it.
5547
35837f51
PE
55482011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5549
d0672f86
PE
5550 Time-stamp simplifications and fixes.
5551 These improve accuracy slightly, and future-proof the code
5552 against some potential changes to current-time format.
5553
b9444d97
PE
5554 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5555 by using time-since and float-time.
5556
0ef923dc
PE
5557 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5558 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5559 + NNN microseconds".
5560
2f81380d
PE
5561 * type-break.el (type-break-time-sum): Rewrite using time-add.
5562
845b5c3e
PE
5563 * play/hanoi.el (hanoi-current-time-float): Remove.
5564 All uses replaced by float-time.
5565
ee6f1be0
PE
5566 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5567 This yields a more-accurate answer.
5568 (rng-time-to-float): Remove; no longer needed.
5569
fe955043
PE
5570 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5571
5777162a
PE
5572 * calendar/timeclock.el (timeclock-seconds-to-time):
5573 Defalias to seconds-to-time, since they're the same thing.
5574
3103f8b6 5575 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5576 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5577 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5578
0e61a35f
SM
55792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * window.el (bury-buffer): Don't iconify the only frame.
5582 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5583 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5584
ddd63a1e
CY
55852011-07-01 Chong Yidong <cyd@stupidchicken.com>
5586
0e61a35f
SM
5587 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5588 Add mouse-yank-primary.
ddd63a1e 5589
055f4923
TZ
55902011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5591
5592 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5593
6a2fb145
SM
55942011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5597 (find-library-name): Use it to find relative load names when provided
5598 absolute file name (bug#8803).
5599
fd4983f2
LMI
56002011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5601
887d14ad
LMI
5602 * textmodes/flyspell.el (flyspell-word): Consider words that
5603 differ only in case as potential doublons (bug#5687).
5604
c53dc7fc
LMI
5605 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5606 Remove two rather uninteresting debugging-like messages to make
5607 debbugs.el more silent.
5608
fd4983f2
LMI
5609 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5610 a password-like phrase.
5611
b14c0c55
AM
56122011-06-30 Mastake YAMATO <yamato@redhat.com>
5613
5614 * progmodes/cc-guess.el: New file.
5615
6a2fb145 5616 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5617
5618 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5619 derived from `c-basic-common-init'.
5620
5621 * progmodes/cc-mode.el (top-level): Require cc-guess.
5622 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5623
1fa280a3
LM
56242011-06-30 Lawrence Mitchell <wence@gmx.li>
5625
5626 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5627
e6597158
AM
56282011-06-30 Alan Mackenzie <acm@muc.de>
5629
1fa280a3
LM
5630 * progmodes/cc-engine.el (c-guess-continued-construct):
5631 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5632 lock is disabled. Name this case as "CASE G".
5633
68ba37fb
KM
56342011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5635
5636 * allout.el (allout-yank-processing): Fix injection of extra space
5637 between bullet and non-whitespace character in first topic when
5638 pasting, ensuring that the actual spacing in the pasted topic
5639 following the bullet char is preserved. This extra space was
5640 causing pasted encrypted topics to get a decrypted status even
5641 when the content was actually still encrypted. Now the decryption
5642 status from before the paste is preserved.
5643
5644 (allout-flag-region): Set all allout overlays so they evaporate
5645 when reduced to zero length (evanescent), to prevent overlay
5646 leakage.
5647
887a0b34
GM
56482011-06-30 Glenn Morris <rgm@gnu.org>
5649
94b9acce
GM
5650 * w32-fns.el (w32-charset-info-alist): Declare.
5651
1d9b46d4
GM
5652 * find-dired.el (find-grep-options): Simplify.
5653
cc232200
GM
5654 * term/ns-win.el (ns-set-resource): Declare.
5655
28e77c46
GM
5656 * ses.el (row, col): Declare dynamic variables honestly.
5657
887a0b34
GM
5658 * textmodes/reftex-parse.el (index-tags): Declare.
5659
658d8eb8
CY
56602011-06-30 Chong Yidong <cyd@stupidchicken.com>
5661
5662 * cus-edit.el (customize-push-and-save): New function.
5663
5664 * files.el (hack-local-variables-confirm): Use it.
5665
1fa280a3
LM
5666 * custom.el (load-theme): New arg NO-CONFIRM.
5667 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5668 (custom-enabled-themes): Doc fix.
5669
5670 * cus-theme.el (customize-create-theme)
5671 (custom-theme-merge-theme): Callers to load-theme changed.
5672
bb617717
LMI
56732011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5674
d61bdd5d
LMI
5675 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5676 short URLs have at least one dot in them (bug #7614).
5677
bb617717
LMI
5678 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5679 nil, because using a pty is apparently too slow (bug #895).
5680
2f31f37a
LMI
56812011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5682
5683 * mail/sendmail.el (sendmail-query-once): New function.
5684 (sendmail-query-once-function): New variable.
5685
3076b24e
GM
56862011-06-29 Glenn Morris <rgm@gnu.org>
5687
faf2a174
GM
5688 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5689
3076b24e
GM
5690 * ses.el (top-level): Require cl when compiling.
5691 (ses-set-localvars): Fix error statement.
5692 Call it at compile time to silence a storm of warnings.
5693
5386012d
MR
56942011-06-29 Martin Rudalics <rudalics@gmx.at>
5695
5696 * window.el (normalize-live-buffer): Rename to
5697 window-normalize-buffer.
5698 (normalize-live-frame): Rename to window-normalize-frame.
5699 (normalize-any-window): Rename to window-normalize-any-window.
5700 (normalize-live-window): Rename to window-normalize-live-window.
5701 (make-window-atom): Rename to window-make-atom.
5702 (window-resize-reset): Rename to window--resize-reset.
5703 (window-resize-reset-1): Rename to window--resize-reset-1.
5704 (resize-mini-window): Rename to window--resize-mini-window.
5705 (resize-subwindows-skip-p): Rename to
5706 window--resize-subwindows-skip-p.
5707 (resize-subwindows-normal): Rename to
5708 window--resize-subwindows-normal.
5709 (resize-subwindows): Rename to window--resize-subwindows.
5710 (resize-other-windows): Rename to window--resize-siblings.
5711 (resize-this-window): Rename to window--resize-this-window.
5712 (resize-root-window): Rename to window--resize-root-window.
5713 (resize-root-window-vertically): Rename to
5714 window--resize-root-window-vertically.
5715 (normalize-buffer-to-display): Rename to
5716 window-normalize-buffer-to-display.
5717 (normalize-buffer-to-switch-to): Rename to
5718 window-normalize-buffer-to-switch-to.
5719 Correspondingly update all callers of the functions listed
5720 above.
5721 (display-buffer-alist, display-buffer-normalize-arguments)
5722 (display-buffer-normalize-options, display-buffer)
5723 (display-buffer-alist-set): Use "function" instead of
5724 "fun-with-args".
5725
1176868d
CY
57262011-06-28 Chong Yidong <cyd@stupidchicken.com>
5727
5728 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5729 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5730 debbugs.gnu.org. Mention acknowledgment email.
5731
20a7a65f
LMI
57322011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5733
5734 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5735 buffer multibyteness, since it shouldn't matter.
5736
5f45cca5
MR
57372011-06-28 Martin Rudalics <rudalics@gmx.at>
5738
5739 * window.el (display-buffer-in-side-window): Handle dedicated
5740 windows as in display-buffer-reuse-window.
5741 (display-buffer-normalize-alist): Use value of override
5742 specifier.
5743 (display-buffer-normalize-specifiers): Use value of
5744 other-window-means-other-frame specifier.
5745 (display-buffer-alist): Rewrite some texts in widgets.
5746 (display-buffer): Spread arguments when calling function
5747 specified by fun-with-args.
5748
ad85fe1f
DD
57492011-06-28 Deniz Dogan <deniz@dogan.se>
5750
1fa280a3
LM
5751 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5752 Unnest `let'.
da68c4c8 5753
ad85fe1f
DD
5754 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5755 selectors (Bug#5732).
ec49bd31 5756 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5757
a08cc025
JA
57582011-06-27 Jari Aalto <jari.aalto@cante.net>
5759
5760 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5761 (eshell-ls-date-format): New defcustom.
5762 (eshell-ls-file): Use it.
5763
e2b551c5
SM
57642011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5767
8982b231
KY
57682011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5769
5770 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5771 (ange-ftp-make-tmp-name): New arg.
5772 (ange-ftp-file-local-copy): Use it.
5773
36c9fa27
J
57742011-06-27 Jambunathan K <kjambunathan@gmail.com>
5775
5776 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5777 no-conversion (Bug#8870).
5778
d68443dc
MR
57792011-06-27 Martin Rudalics <rudalics@gmx.at>
5780
5781 * window.el (window-right, window-left, window-child)
5782 (window-child-count, window-last-child)
5783 (window-iso-combination-p, walk-window-tree-1)
5784 (window-atom-check-1, window-tree-1, delete-window)
5785 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5786 new naming conventions - window-vchild, window-hchild,
5787 window-next and window-prev are now called window-top-child,
5788 window-left-child, window-next-sibling and window-prev-sibling
5789 respectively.
d615d6d2
MR
5790 (resize-window-reset): Rename to window-resize-reset.
5791 (resize-window-reset-1): Rename to window-resize-reset-1.
5792 (resize-window): Rename to window-resize.
5793 (window-min-height, window-min-width)
5794 (resize-mini-window, resize-this-window, resize-root-window)
5795 (resize-root-window-vertically, adjust-window-trailing-edge)
5796 (enlarge-window, shrink-window, maximize-window)
5797 (minimize-window, delete-window, quit-restore-window)
5798 (split-window, balance-windows, balance-windows-area-adjust)
5799 (balance-windows-area, window-state-put-2)
5800 (display-buffer-even-window-sizes, display-buffer-set-height)
5801 (display-buffer-set-width, set-window-text-height)
5802 (fit-window-to-buffer): Rename all "resize-window" prefixed
5803 calls to use the "window-resize" prefix convention.
5804 (display-buffer-alist): Fix symbol for label specifier.
5805 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5806 corresponding specifier.
5807 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5808
b6458526
VB
58092011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5810
5811 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5812 convention.
5813 (ses-call-printer): Does not pass an empty string to formatter when the
5814 cell is empty to keep from barking printer Calc math-format-value.
5815
d31fd9ac
RS
58162011-06-27 Richard Stallman <rms@gnu.org>
5817
43d5bf84
RS
5818 * battery.el (battery-mode-line-limit): New variable.
5819 (battery-update): Handle it.
5820
d31fd9ac
RS
5821 * mail/rmailmm.el (rmail-mime-process-multipart):
5822 Handle truncated messages.
5823
819a6054
GM
58242011-06-27 Glenn Morris <rgm@gnu.org>
5825
5826 * progmodes/flymake.el (flymake-err-line-patterns):
5827 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5828
cedc73f2
VB
58292011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5830
819a6054 5831 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5832 (ses--clean-!, ses--clean-_): New functions.
5833 (ses-range): Add configurability of readout order, and conversion
5834 to Calc vector.
5835
5e5d49b6
VB
5836 * ses.el (ses-repair-cell-reference-all): New function.
5837 (ses-cell-symbol): Set macro as safe, so that it can be used in
5838 formulas.
5839
56e6cc31 5840 * ses.el: Update cycle detection algorithm.
90ca8b49 5841 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5842 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5843 (ses-set-localvars): New function.
5844 (ses-make-cell): Add property-list as a cell element.
5845 (ses-cell-property-get-fun, ses-cell-property-get)
5846 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5847 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5848 New functions.
90ca8b49
VB
5849 (ses-cell-property-set, ses-cell-property-pop)
5850 (ses-cell-property-get-handle): New macro.
5851 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5852 New aliases, used for code readability.
5853 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5854 cycle detection.
5855 (ses-self-reference-early-detection): New defcustom.
fac916bf 5856 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5857 (ses-mode): Use ses-set-localvars.
5858 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5859 before lauching the update processing.
5860 (ses-initialize-Dijkstra-attempt): New function.
5861 (ses-recalculate-cell): Update for cycle detection based on
5862 Dijkstra algorithm.
5863
2bb63e81
VB
5864 * ses.el: Fix commenting and indenting convention.
5865
c9d29fb8
SM
58662011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * bs.el (bs-cycle-next): Complete last change.
5869
d8e4b68b
JB
58702011-06-27 Drew Adams <drew.adams@oracle.com>
5871
5872 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5873
40098786
LMI
58742011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5875
c9d29fb8
SM
5876 * net/network-stream.el (network-stream-open-starttls):
5877 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5878 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5879
40098786
LMI
5880 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5881 to binary to possibly avoid line encoding issues on Windows (among
5882 other things).
5883
468d09d4
LMI
58842011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5885
5886 * net/network-stream.el (open-network-stream): Return an :error
5887 saying what the problem was, if possible.
5888
5889 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5890 server.
5891
5892 * net/network-stream.el (network-stream-open-starttls): If we
5893 wanted to use STARTTLS, and the server offered it, but we weren't
5894 able to because we had no STARTTLS support, then close the connection.
5895 (open-network-stream): Return an :error element, if present.
5896
16f07dd7
CY
58972011-06-26 Chong Yidong <cyd@stupidchicken.com>
5898
88821ca0
CY
5899 * hl-line.el (hl-line-sticky-flag): Doc fix.
5900 (global-hl-line-sticky-flag): New option (Bug#8323).
5901 (global-hl-line-highlight): Obey it.
5902
16f07dd7
CY
5903 * vc/vc.el (vc-revert-show-diff): Default to t.
5904
6b5ccddf
KM
59052011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5906
c9d29fb8
SM
5907 * allout-widgets.el (allout-widgets-post-command-business):
5908 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5909 undecorated when an isearch is continued past, and isearch
5910 automatically collapses them. This leads to "widget leaks", where
5911 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5912 hidden widgets can slow down cursor travel, substantially.
5913 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5914 so we're doing without this nicety.
5915
5916 (allout-widgets-tally-string): Don't try to do a hash-table-count
5917 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5918 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5919 *Messages* when allout-widgets-maintain-tally is t.
5920
355f2e07
MR
59212011-06-26 Martin Rudalics <rudalics@gmx.at>
5922
5923 * window.el (display-buffer-normalize-argument): Rename to
5924 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5925 LABEL argument. Respect special-display-function when popping up
5926 a new frame. Fix code searching for a window showing the buffer
5927 on another frame.
c9d29fb8
SM
5928 (display-buffer-normalize-specifiers):
5929 Call display-buffer-normalize-arguments.
355f2e07
MR
5930 (display-buffer-in-window): Don't undedicate the window if its
5931 buffer remains the same.
5932 Reported by Drew Adams <drew.adams@oracle.com>.
5933 (display-buffer-alist): Add choice for same-window macro
5934 specfier.
5935 (display-buffer): Mention special meaning of LABEL argument in
5936 doc-string. Fix quoting. Don't pop up a new frame even as
5937 fallback.
5938
7ca8fc42
JB
59392011-06-26 Juanma Barranquero <lekktu@gmail.com>
5940
5941 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5942 avoid deleting the current window in some cases (bug#8911).
5943
bc312254
AS
59442011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5945
5946 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5947 (Bug#8934)
5948
2db18f3f
LMI
59492011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5950
c9d29fb8
SM
5951 * net/network-stream.el (network-stream-open-starttls):
5952 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5953 (network-stream-open-tls): Ditto.
5954
6302e0d3
LL
59552011-06-26 Leo Liu <sdl.web@gmail.com>
5956
5957 * register.el (registerv): New struct.
5958 (registerv-make): New function.
c9d29fb8
SM
5959 (jump-to-register, describe-register-1, insert-register):
5960 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5961 struct. (Bug#8415)
5962
5fdd4046
CY
59632011-06-26 Chong Yidong <cyd@stupidchicken.com>
5964
2afef60a
CY
5965 * vc/vc.el (vc-revert-show-diff): New defcustom.
5966 (vc-diff-internal): New arg specifying diff buffer.
5967 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5968 reuse an existing *vc-diff* buffer (Bug#8927).
5969
5fdd4046
CY
5970 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5971
e93db24a
GM
59722011-06-26 Glenn Morris <rgm@gnu.org>
5973
5974 * progmodes/f90.el (f90-critical-indent): New option.
5975 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5976 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5977 (f90-mode): Doc fix.
5978 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5979 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5980 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5981 (f90-match-end): Handle block, critical.
5982
eefff499
GM
59832011-06-25 Glenn Morris <rgm@gnu.org>
5984
f6ba4cc9
GM
5985 * calendar/diary-lib.el (diary-included-files): Doc fix.
5986 (diary-include-files): New function, extracted from
5987 diary-include-other-diary-files and diary-mark-included-diary-files.
5988 (diary-include-other-diary-files, diary-mark-included-diary-files):
5989 Just call diary-include-files.
5990 (diary-mark-entries): Reset diary-included-files on first call.
5991
16712304
GM
5992 * calendar/diary-lib.el (diary-mark-entries)
5993 (diary-mark-included-diary-files):
5994 Visit included diary-files in temp buffers.
5995
5d8e0d43
GM
5996 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5997 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5998 (f90-start-block-re, f90-imenu-generic-expression)
5999 (f90-looking-at-program-block-start, f90-no-block-limit):
6000 Add support for submodules.
6001
ccf7a5d5
GM
6002 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6003 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6004
11fdef7d 60052011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6006
6007 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6008 buffer-file-type before setting its value, to avoid disastrous
eefff499 6009 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6010
74f53697
JB
60112011-06-25 Juanma Barranquero <lekktu@gmail.com>
6012
6013 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6014
6015 * ses.el (ses-unload-function):
6016 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6017
6018 * proced.el (proced-unload-function):
6019 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6020
18a4ce5e
AR
60212011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6022
6023 * server.el (server-create-window-system-frame): Add parameters arg.
6024 (server-process-filter): Doc fix. Handle frame-parameters.
6025
519d22cc
JB
60262011-06-25 Juanma Barranquero <lekktu@gmail.com>
6027
6028 Fix bug#8730, bug#8781.
6029
6030 * loadhist.el (unload--set-major-mode): New function.
6031 (unload-feature): Use it.
6032
6033 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6034 (python-unload-function): New function.
6035
c206f5b0
SM
60362011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6039
f9ad64f3
GS
60402011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6041
6042 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6043 the candidates list.
6044
7d0da90e
JB
60452011-06-24 Juanma Barranquero <lekktu@gmail.com>
6046
6047 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6048
14b4e83d
RS
60492011-06-23 Richard Stallman <rms@gnu.org>
6050
6051 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6052 (rmail-variables): Set next-error-move-function.
6053 (rmail-what-message): Take argument POS.
6054 (rmail-next-error-move): New function.
6055
273d2baf
SM
60562011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6059 messages for adjacent non-terminals.
6060
56c2cc9a
RS
60612011-06-23 Richard Stallman <rms@gnu.org>
6062
6063 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6064 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6065 (rmail-start-mail): Don't specify use of rmail-mail-return;
6066 that's done by mail-bury now.
6067 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6068
d59eb518
MA
60692011-06-23 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6072 SIZE is a number.
6073
02cfc6d6
MR
60742011-06-23 Martin Rudalics <rudalics@gmx.at>
6075
6076 * window.el (get-lru-window, get-mru-window)
6077 (get-largest-window): Never return a minibuffer window.
6078 (display-buffer-pop-up-window): Fix a bug that could lead to
6079 reusing the minibuffer window.
6080 (display-buffer): Pass original specifier argument to
6081 display-buffer-function instead of the normalized one.
6082 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6083
4e323265
LL
60842011-06-22 Leo Liu <sdl.web@gmail.com>
6085
6086 * minibuffer.el (completing-read-function)
6087 (completing-read-default): Move from minibuf.c
6088
7a70468f
RS
60892011-06-22 Richard Stallman <rms@gnu.org>
6090
50718fc2
RS
6091 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6092 to Rmail even if not started by a special Rmail command.
6093
7a70468f
RS
6094 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6095 Copy the buffer currently showing just one message.
6096
297dde5a
RW
60972011-06-22 Roland Winkler <winkler@gnu.org>
6098
6099 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6100 (bibtex-clean-entry): First delete the old key so that a
6101 customized algorithm for generating the new key does not get
6102 confused by the old key.
6103 (bibtex-url): Obey regexp of first step.
6104 (bibtex-search-entries): Do not use add-to-list with local
6105 list-var.
6106
97bb1093
LMI
61072011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6108
6109 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6110 stored a user name, then query for the password first, instead of
6111 waiting for SMTP to give an error message and the trying again.
6112
1c0f1a19
JD
61132011-06-22 Lawrence Mitchell <wence@gmx.li>
6114
6115 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6116 BUFFER in call-process.
6117
396f7c9d
LMI
61182011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6119
6120 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6121 QUIT twice.
ddb7ffee
LMI
6122 (smtpmail-try-auth-methods): Require user name and password from
6123 auth-source.
396f7c9d 6124
8998d1b3
MR
61252011-06-22 Martin Rudalics <rudalics@gmx.at>
6126
6127 * window.el (display-buffer-default-specifiers)
6128 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6129 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6130 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6131
6132 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6133 (special-display-frame-alist, special-display-popup-frame):
6134 Remove duplicate declarations. These are now in window.el.
6135
4ea31e07
LMI
61362011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6137
c9d29fb8
SM
6138 * mail/smtpmail.el (smtpmail-via-smtp):
6139 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6140 server supports it. SMTP servers that support STARTTLS commonly
6141 require it.
6142
6143 * net/network-stream.el (network-stream-open-starttls): Support
6144 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6145 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6146
95f41d9a
LMI
6147 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6148 upgrades with `open-network-stream', and rely solely on
6149 auth-source for all credentials. Big changes throughout the file,
6150 but in particular:
c9d29fb8
SM
6151 (smtpmail-auth-credentials): Remove.
6152 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6153 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6154 MAIL FROM, too.
95f41d9a 6155
c9d29fb8
SM
6156 * net/network-stream.el (network-stream-open-starttls):
6157 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6158 STARTTLS.
6159 (auth-source): Require.
6160 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6161 (network-stream-certificate): Change cert-cert to cert and
6162 cert-key to key.
4ea31e07 6163
065ec2c7
MA
61642011-06-21 Michael Albinus <michael.albinus@gmx.de>
6165
6166 * net/tramp-cache.el (top): Don't load the persistency file when
6167 "emacs -Q" has been called.
6168
cd93b359
DR
61692011-06-21 Tim Harper <timcharper@gmail.com>
6170
d8e4b68b
JB
6171 * term/ns-win.el (ns-initialize-window-system):
6172 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6173 resource to NO as it is not yet supported by the NS port.
6174
ae9c0411
JB
61752011-06-21 Juanma Barranquero <lekktu@gmail.com>
6176
6177 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6178 (list-dynamic-libraries): ...not here.
6179
7f3f739f
LL
61802011-06-21 Leo Liu <sdl.web@gmail.com>
6181
6182 * subr.el (sha1): Implement sha1 using secure-hash.
6183
327c8fb1
MR
61842011-06-21 Martin Rudalics <rudalics@gmx.at>
6185
6186 * window.el (display-buffer-alist): In default value do not
6187 enforce searching a window on any but the selected frame.
6188 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6189 (display-buffer-select-window): Remove function.
6190 (display-buffer-in-window): When a window on another frame gets
6191 reused, do not select it any more but just raise its frame if
6192 necessary (Bug#8851) and (Bug#8856).
6193 (display-buffer-normalize-options): Handle pop-up-frames related
6194 options more faithfully.
6195 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6196 window if it is on another frame.
c9d29fb8
SM
6197 (display-buffer-alist, display-buffer-default-specifiers):
6198 Don't make new frame unsplittable by default.
9e9de014
MR
6199 (display-buffer-normalize-argument): Fix doc-string typo and use
6200 'same-frame-other-window instead of 'other-window when associating
6201 with display-buffer-macro-specifiers.
327c8fb1 6202
7cf3f556
VB
62032011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6204
6205 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6206 New functions.
6207 (5x5-mode-map, 5x5-mode-menu): Bind them.
6208 (5x5-draw-grid): Tweak the solver's rendering.
6209
60a406cf
SM
62102011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6213 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6214
d8e4b68b 62152011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6216
6217 * menu-bar.el: Use function variable instead of switch-to-buffer.
6218 (menu-bar-select-buffer-function): New variable.
60a406cf 6219 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6220
478d6f95
SM
62212011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6224 variable's status.
6225
ca530739
JD
62262011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6227
6228 * x-dnd.el (x-dnd-version-from-flags)
6229 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6230 and long as number (Bug#8899).
6231 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6232
bcd70d97
SM
62332011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6234
60a406cf 6235 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6236 (completion-try-completion, completion-all-completions): Compute the
6237 metadata argument if it's missing; make it optional (bug#8795).
6238
60a406cf 6239 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6240 (widget-complete): Use new :completion-function property.
6241 (widget-completions-at-point): New function.
6242 (default): Use :completion-function instead of :complete.
60a406cf
SM
6243 (widget-default-completions): Rename from widget-default-complete;
6244 Rewrite.
bcd70d97
SM
6245 (widget-string-complete, widget-file-complete, widget-color-complete):
6246 Remove functions.
6247 (file, symbol, function, variable, coding-system, color):
6248 * international/mule-cmds.el (default-input-method, charset)
6249 (language-info-custom-alist):
6250 * cus-edit.el (face): Use new property :completions.
6251
6252 * progmodes/pascal.el (pascal-completions-at-point): New function.
6253 (pascal-mode): Use it.
6254 (pascal-mode-map): Use completion-at-point.
6255 (pascal-toggle-completions): Make obsolete.
6256 (pascal-complete-word, pascal-show-completions):
6257 * progmodes/octave-mod.el (octave-complete-symbol):
6258 Redefine as obsolete alias.
6259 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6260 Signal absence of completion info for old Octave,
6261 (inferior-octave-complete): Redefine as obsolete alias.
6262 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6263 (meta-completions-at-point): Rename from meta-complete-symbol and
6264 adapt it for use on completion-at-point-functions.
6265 (meta-common-mode): Use it.
6266 (meta-looking-at-backward, meta-match-buffer): Remove.
6267 (meta-complete-symbol): Redefine as obsolete alias.
6268 (meta-common-mode-map): Use completion-at-point.
6269 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6270 (makefile-mode-map): Use completion-at-point.
6271 (makefile-completions-at-point): Rename from makefile-complete and
6272 adapt it for use on completion-at-point-functions.
6273 (makefile-mode): Use it.
6274 (makefile-complete): Redefine as obsolete alias.
6275
aebf69c8
DD
62762011-06-20 Deniz Dogan <deniz@dogan.se>
6277
6278 * net/rcirc.el: Delete trailing whitespaces once and for all.
6279
bfbbb27d
DC
62802011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6281
6282 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6283
d264a46b
CY
62842011-06-19 Chong Yidong <cyd@stupidchicken.com>
6285
4ca009e5
CY
6286 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6287
d264a46b
CY
6288 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6289
fbf5b3ce
MR
62902011-06-19 Martin Rudalics <rudalics@gmx.at>
6291
6292 * window.el (display-buffer-other-window-means-other-frame):
6293 Call display-buffer-normalize-alist.
6294 (display-buffer-normalize-specifiers-1): Rename to
6295 display-buffer-normalize-argument. New argument other-frame.
6296 Rewrite.
6297 (display-buffer-normalize-specifiers-2): Rename to
6298 display-buffer-normalize-options.
6299 (display-buffer-normalize-alist-1): New function.
6300 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6301 display-buffer-normalize-alist.
6302 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6303 (display-buffer-normalize-options-inhibit): New variable.
6304 (display-buffer-normalize-specifiers): Rewrite calling
6305 display-buffer-normalize-alist,
6306 display-buffer-normalize-argument, and
6307 display-buffer-normalize-options. Don't call the latter if
6308 display-buffer-normalize-options-inhibit is non-nil.
6309 (frame-auto-delete): New option.
6310 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6311 (window-list-no-nils, window-state-ignored-parameters)
6312 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6313 (window-state-put-1, window-state-put-2, window-state-put):
6314 New functions.
9a028c23
MR
6315 (display-buffer-normalize-options): Move special-display-p group
6316 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6317
6d10d800
CY
63182011-06-18 Chong Yidong <cyd@stupidchicken.com>
6319
6420d28b
CY
6320 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6321 groups (Bug#8776).
6322 (rx-submatch-n): New function.
6323 (rx): Document it.
6324
ddb8b596
CY
6325 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6326 (Bug#8768).
6327
6328 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6329
77080289
CY
6330 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6331
61dfb316
CY
6332 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6333 anytime existing face settings are present (Bug#8889).
6334
6d10d800
CY
6335 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6336 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6337 Remove unused argument.
6338
be3fb2b8
MR
63392011-06-18 Martin Rudalics <rudalics@gmx.at>
6340
bcd70d97
SM
6341 * window.el (display-buffer-default-specifiers):
6342 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6343 pop-up-window-min-width, and another reuse-window specifier
6344 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6345 (display-buffer-normalize-specifiers-2):
6346 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6347 pop-up-windows is unset. Add a reuse-window specifier for the
6348 case popping up a new window fails.
6349 (special-display-popup-frame): Remove double quoting.
28dec25a 6350 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6351
1c6d8c76
SM
63522011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6355 according to comint-completion-addsuffix.
6356
6357 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6358 (pcomplete-suffix-list): Mark as obsolete.
6359 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6360 pcomplete-seen in the closure.
6361 (pcomplete-comint-setup): Setup completion-at-point as well.
6362 (pcomplete--entries): New function.
6363 (pcomplete--env-regexp): New var.
6364 (pcomplete-entries): Rewrite to work with partial-completion and
6365 without relying on pcomplete-suffix-list.
6366 (pcomplete-pare-list): Remove, unused.
6367
25aef8b8
MR
63682011-06-17 Martin Rudalics <rudalics@gmx.at>
6369
6370 * window.el (display-buffer-alist): Set pop-up-window-min-height
6371 and pop-up-window-min-width in default value. Reported by
6372 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6373 other-window-means-other-frame.
6374 (display-buffer-macro-specifiers): Comment out entry for
6375 other-window specifier.
6376 (display-buffer-other-window-means-other-frame): New function.
6377 (display-buffer-normalize-specifiers-1): New arguments
6378 buffer-name and label. Treat other-window case specially.
6379 (display-buffer-normalize-specifiers-2): Treat other-window case
6380 specially.
6381 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6382 (display-buffer-normalize-specifiers):
6383 Call display-buffer-normalize-specifiers-3.
25aef8b8 6384
dbad4f69
MR
63852011-06-17 Martin Rudalics <rudalics@gmx.at>
6386
6387 * window.el (same-window-p): Fix two typos introduced when
6388 adding with-no-warnings.
d1067961
MR
6389 (display-buffer-normalize-specifiers-1): Don't check
6390 pop-up-frames for 'unset initialization.
6391 (display-buffer-normalize-specifiers-2): Major rewrite using
6392 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6393 (pop-up-frames, display-buffer-reuse-frames)
6394 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6395 Suggested by David Engster <deng@randomsample.de>.
6396 (even-window-heights): Initialize to 'unset.
6397 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6398 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6399 other window case.
dbad4f69 6400
9b9c9e3a
MR
64012011-06-16 Martin Rudalics <rudalics@gmx.at>
6402
bcd70d97
SM
6403 * window.el (display-buffer-normalize-specifiers-1):
6404 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6405 second argument of display-buffer (Bug#8865).
981d5c09
MR
6406 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6407 (switch-to-buffer-other-window-same-frame)
6408 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6409 Adams (Bug#8875).
9c2755e9
MR
6410 (display-buffer): Don't check noninteractive when calling
6411 display-buffer-pop-up-frame.
6412 (display-buffer-pop-up-frame): Never pop up a frame in
6413 noninteractive mode (Bug#8857).
67222e1d
MR
6414 (enlarge-window, shrink-window): Don't report an error when the
6415 window can't be resized as requested (Bug#8862).
9b9c9e3a 6416
2b75be67
SM
64172011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6418
9ffdd3ba
SM
6419 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6420
cb581a67
SM
6421 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6422
2b75be67
SM
6423 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6424
8c0e3589
AM
64252011-06-15 Alan Mackenzie <acm@muc.de>
6426
cb581a67
SM
6427 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6428 for declarators, disable knr checking to speed up for normal files.
6429 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6430
b96e6cde
LMI
64312011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6432
4bba86e6
LMI
6433 * net/network-stream.el (open-network-stream): Add the keyword
6434 :always-query-capabilities for the case where you want to force a
6435 `plain' network connection, but the protocol still requires the
6436 capabilitiy command (i.e., SMTP and EHLO).
6437
2b75be67 6438 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6439 consistency with other `-live-p' functions.
6440
efdcdbf8
SM
64412011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * window.el (same-window-buffer-names, same-window-regexps)
6444 (special-display-frame-alist, special-display-popup-frame)
6445 (special-display-function, special-display-buffer-names)
6446 (special-display-regexps, pop-up-frame-alist)
6447 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6448 (pop-up-windows, split-window-preferred-function)
6449 (split-height-threshold, split-width-threshold, even-window-heights)
6450 (display-buffer-mark-dedicated): Don't encourage the use of
6451 display-buffer-alist from Elisp code.
6452
c5cde042
DN
64532011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6454
6455 * progmodes/python.el (python-mode): Derive from prog-mode.
6456 * progmodes/ps-mode.el (ps-mode):
6457 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6458 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6459 * progmodes/ld-script.el (ld-script-mode): Likewise.
6460
baa1c9ab
MR
64612011-06-15 Martin Rudalics <rudalics@gmx.at>
6462
6463 * window.el (display-buffer-alist): Trim default value to avoid
6464 popping up a new frame (Bug#8857) or reusing an arbitrary window
6465 on another frame.
6466 (display-buffer): Do not fall back on popping up a new frame in
6467 batch mode (Bug#8857).
6468
c5dd5a51
CY
64692011-06-14 Chong Yidong <cyd@stupidchicken.com>
6470
6471 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6472 (custom-theme-summary): New function.
6473 (customize-themes): Use it.
6474
d647b7c4
GM
64752011-06-13 Glenn Morris <rgm@gnu.org>
6476
6477 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6478
9481c002
MR
64792011-06-13 Martin Rudalics <rudalics@gmx.at>
6480
357f93d2
MR
6481 * help.el (help-window): Remove variable.
6482 (help-window-point-marker, temp-buffer-max-height)
6483 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6484 (help-print-return-message): Don't set help-window.
6485 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6486 (help-window-setup-finish): Remove.
6487 (help-window-display-message, help-window-setup)
6488 (with-help-window): Major rewrite based on new
6489 display-buffer-window variable.
6490
6491 * help-mode.el (help-mode-finish): Remove help-window related
6492 code.
6493
6494 * view.el (view-exits-all-viewing-windows): Remove reference to
6495 view-return-to-alist in doc-string.
6496 (view-return-to-alist): Make obsolete.
6497 (view-buffer): Call pop-to-buffer-same-window and remove
6498 undo-window code.
6499 (view-buffer-other-window): Call pop-to-buffer-other-window and
6500 simplify code. Ignore second argument.
6501 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6502 simplify code. Ignore second argument.
6503 (view-return-to-alist-update): Make obsolete.
6504 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6505 Rewrite using quit-restore window parameters.
2b75be67
SM
6506 (view-mode-exit): Rename second argument to EXIT-ONLY.
6507 Rewrite using quit-restore-window.
357f93d2
MR
6508 (View-exit, View-exit-and-edit, View-leave, View-quit)
6509 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6510 appropriate arguments.
6511 (view-end-message): Use quit-restore window parameter.
6512
9481c002
MR
6513 * window.el (display-buffer-function): Rewrite doc-string.
6514 (display-buffer-window, display-buffer-alist): New variables.
6515 (display-buffer-split-specifiers)
6516 (display-buffer-side-specifiers)
6517 (display-buffer-macro-specifiers): New constants.
6518 (display-buffer-even-window-sizes, display-buffer-set-height)
6519 (display-buffer-set-width, display-buffer-select-window)
6520 (display-buffer-in-window, display-buffer-reuse-window)
6521 (display-buffer-split-window-1, display-buffer-split-window)
6522 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6523 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6524 (display-buffer-in-side-window, normalize-buffer-to-display)
6525 (display-buffer-normalize-specifiers-1)
6526 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6527 (display-buffer-normalize-specifiers, display-buffer-frame):
6528 New functions.
9481c002
MR
6529 (display-buffer): Major rewrite.
6530 (display-buffer-other-window, display-buffer-other-frame)
6531 (pop-to-buffer, switch-to-buffer-other-window)
6532 (switch-to-buffer-other-frame): Rewrite.
6533 (display-buffer-same-window, display-buffer-same-frame)
6534 (display-buffer-same-frame-other-window)
6535 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6536 (pop-to-buffer-other-window)
6537 (pop-to-buffer-same-frame-other-window)
6538 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6539 (switch-to-buffer-other-window-same-frame): New functions.
6540 (same-window-p, special-display-p): Rewrite disabling warnings.
6541 Make obsolete.
6542 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6543 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6544 Make obsolete
6545 (same-window-buffer-names, same-window-regexps)
6546 (special-display-frame-alist, special-display-popup-frame)
6547 (special-display-function, special-display-buffer-names)
6548 (special-display-regexps, pop-up-frame-alist)
6549 (pop-up-frame-function, split-window-preferred-function)
6550 (split-height-threshold, split-width-threshold)
6551 (even-window-heights): Make obsolete.
6552
9db51aca
GM
65532011-06-12 Glenn Morris <rgm@gnu.org>
6554
6555 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6556 Misc simplifications.
9db51aca 6557
39cffb44
MR
65582011-06-12 Martin Rudalics <rudalics@gmx.at>
6559
6560 * window.el (window-safely-shrinkable-p): Restore function which
6561 was inadvertently removed in change from 2011-06-11. Declare as
6562 obsolete.
6563
2b75be67
SM
6564 * calendar/calendar.el (calendar-generate-window):
6565 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6566 window-safely-shrinkable-p.
6567
a8955be7
GM
65682011-06-12 Glenn Morris <rgm@gnu.org>
6569
6570 * progmodes/fortran.el (fortran-mode-syntax-table):
6571 * progmodes/f90.el (f90-mode-syntax-table):
6572 Set % to punctuation. (Bug#8820)
6573 (f90-find-tag-default): Remove, no longer needed.
6574
f0d4059d
DC
65752011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6576
6577 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6578
1100a63c
CY
65792011-06-11 Chong Yidong <cyd@stupidchicken.com>
6580
6581 * image.el (image-animated-p): Return animation delay in seconds.
6582 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6583 (image-animate-timeout): Remove DELAY argument. Don't assume
6584 every subimage has the same delay; get it from image-animated-p.
6585 (image-animate): Caller changed.
6586
def722bf
MA
65872011-06-11 Michael Albinus <michael.albinus@gmx.de>
6588
6589 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6590 to ignored backtrace functions.
6591
0a2bb1a9
GM
65922011-06-11 Glenn Morris <rgm@gnu.org>
6593
6594 * calendar/appt.el (appt-disp-window-function): Doc fix.
6595 (appt-check): Handle overlapping appointments. (Bug#8337)
6596
6198ccd0
MR
65972011-06-11 Martin Rudalics <rudalics@gmx.at>
6598
6599 * window.el (window-tree-1, window-tree): New functions, moving
6600 the latter to window.el.
6601 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6602 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6603 (bw-refresh-edges): Remove.
6604 (balance-windows-1, balance-windows-2): New functions.
6605 (balance-windows): Rewrite in terms of window tree functions,
6606 balance-windows-1 and balance-windows-2.
6607 (bw-adjust-window): Remove.
6608 (balance-windows-area-adjust): New function with functionality of
6609 bw-adjust-window but using resize-window.
2b75be67
SM
6610 (set-window-text-height): Rewrite doc-string.
6611 Use normalize-live-window and resize-window.
6612 (enlarge-window-horizontally, shrink-window-horizontally):
6613 Rename argument to DELTA.
6198ccd0
MR
6614 (window-buffer-height): New function.
6615 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6616 Rewrite using new window resize routines.
2b75be67
SM
6617 (kill-buffer-and-window, mouse-autoselect-window-select):
6618 Use ignore-errors instead of condition-case.
6198ccd0
MR
6619 (quit-window): Call delete-frame instead of delete-windows-on
6620 for the only buffer on frame.
6621
9397e56f
MR
66222011-06-10 Martin Rudalics <rudalics@gmx.at>
6623
6624 * loadup.el (top-level): Load window before files for the sake
6625 of replace-buffer-in-windows.
6626
6627 * files.el (read-buffer-to-switch)
6628 (switch-to-buffer-other-window)
2b75be67
SM
6629 (switch-to-buffer-other-frame, display-buffer-other-frame):
6630 Move to window.el.
9397e56f
MR
6631
6632 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6633 (previous-buffer): Move to window.el.
6634
6635 * bindings.el (unbury-buffer): Move to window.el.
6636
6637 * window.el (delete-other-windows-vertically): Move after
6638 definition of delete-other-windows.
6639 (other-window, delete-windows-on, replace-buffer-in-windows):
6640 Move here from window.c.
6641 (record-window-buffer, unrecord-window-buffer)
6642 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6643 (switch-to-next-buffer): New functions.
6644 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6645 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6646 (previous-buffer): Move here from simple.el.
6647 Call switch-to-prev-buffer.
9397e56f
MR
6648 (bury-buffer): Move here from buffer.c. Switch to previous
6649 buffer when window cannot be deleted.
6650 (unbury-buffer): Move here from bindings.el.
6651 (ctl-x-map): Move binding for other-window from window.c to
6652 here.
6653 (read-buffer-to-switch, switch-to-buffer-other-window)
6654 (switch-to-buffer-other-frame): Move here from files.el.
6655 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6656 (switch-to-buffer): Move here from buffer.c.
6657 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6658
562dd5e9
MR
66592011-06-10 Martin Rudalics <rudalics@gmx.at>
6660
6661 * window.el (window-min-height, window-min-width): Move here
6662 from window.c. Add defcustoms and rewrite doc-strings.
6663 (resize-mini-window, resize-window): New functions.
6664 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6665 Move here from window.c.
6666 (maximize-window, minimize-window): New functions.
6667 (delete-window, delete-other-windows, split-window): Move here
6668 from window.c.
6669 (window-split-min-size): New function.
6670 (split-window-keep-point): Mention split-window-above-each-other
6671 instead of split-window-vertically.
2b75be67 6672 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6673 Rename split-window-vertically to split-window-above-each-other
6674 and provide defalias for old definition.
6675 (split-window-side-by-side, split-window-horizontally):
6676 Rename split-window-horizontally to split-window-side-by-side
6677 and provide defalias for the old definition.
562dd5e9
MR
6678 (ctl-x-map): Move bindings for delete-window,
6679 delete-other-windows and enlarge-window here from window.c.
6680 Replace bindings for split-window-vertically and
6681 split-window-horizontally by bindings for
6682 split-window-above-each-other and split-window-side-by-side.
6683
6684 * cus-start.el (all): Remove entries for window-min-height and
6685 window-min-width. Add entries for window-splits and
6686 window-nest.
6687
f0da764a
GM
66882011-06-09 Glenn Morris <rgm@gnu.org>
6689
80675c21
GM
6690 * calendar/appt.el (appt-mode-line): New function.
6691 (appt-check, appt-disp-window): Use it.
6692
f0da764a
GM
6693 * files.el (hack-one-local-variable-eval-safep):
6694 Allow minor-modes with explicit +/-1 arguments.
6695
59f623b7
TZ
66962011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6697
6698 * term/xterm.el (xterm): Add defgroup.
6699 (xterm-extra-capabilities): Add defcustom to supply known xterm
6700 capabilities, skip querying them, or query them (default).
6701 (terminal-init-xterm): Use it.
6702 (terminal-init-xterm-modify-other-keys): New function to set up
6703 modifyOtherKeys support to simplify `terminal-init-xterm'.
6704
9aab8e0d
MR
67052011-06-09 Martin Rudalics <rudalics@gmx.at>
6706
6707 * window.el (resize-window-reset, resize-window-reset-1)
6708 (resize-subwindows-skip-p, resize-subwindows-normal)
6709 (resize-subwindows, resize-other-windows, resize-this-window)
6710 (resize-root-window, resize-root-window-vertically)
6711 (window-deletable-p, window-or-subwindow-p)
6712 (frame-root-window-p): New functions.
6713
e8b08aee
GM
67142011-06-09 Glenn Morris <rgm@gnu.org>
6715
6716 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6717 (ange-ftp-get-files): Use it.
6718
254c37a5
AK
67192011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6720
6721 * mail/sendmail.el (mail-recover-1, mail-recover):
6722 * files.el (recover-file, recover-session):
6723 Handle dired-listing-switches not being just a single short option.
6724
35d7dbd3
GM
67252011-06-09 Glenn Morris <rgm@gnu.org>
6726
6727 * calendar/appt.el (appt-display-message, appt-disp-window):
6728 Handle lists of appointments.
6729
387522b2
MR
67302011-06-08 Martin Rudalics <rudalics@gmx.at>
6731
2b75be67
SM
6732 * window.el (one-window-p): Move down in code.
6733 Rewrite doc-string.
6734 (window-current-scroll-bars): Rewrite doc-string.
6735 Normalize live window argument.
387522b2
MR
6736 (walk-windows, get-window-with-predicate, count-windows):
6737 Rewrite doc-string. Use window-list-1.
6738 (window-in-direction-2, window-in-direction, get-mru-window):
6739 New functions.
6740
d8e4b68b 67412011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6742
6743 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6744 Doc fix (Bug#8713).
6745
67462011-06-08 Chong Yidong <cyd@stupidchicken.com>
6747
6748 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6749
67502011-06-08 Juanma Barranquero <lekktu@gmail.com>
6751
6752 * loadhist.el (unload-feature-special-hooks):
6753 Add `comint-output-filter-functions'.
6754
0de12c52
IK
67552011-06-08 Ivan Kanis <gnu@kanis.fr>
6756
6757 * calendar/appt.el (appt-check): Move some initializations into the let.
6758
f3d1777e
MR
67592011-06-08 Martin Rudalics <rudalics@gmx.at>
6760
6761 * window.el (window-height): Defalias to window-total-height.
6762 (window-width): Defalias to window-body-width.
6763
18af70d0
CY
67642011-06-07 Chong Yidong <cyd@stupidchicken.com>
6765
6766 * image-mode.el (image-toggle-animation): New command.
6767 (image-mode-map): Bind it to RET.
6768 (image-mode): Update message.
6769 (image-toggle-display-image): Avoid a spurious cache flush.
6770 (image-transform-rotation): Doc fix.
6771 (image-transform-properties): Return quickly in the normal case.
6772 (image-animate-loop): Rename from image-animate-max-time.
6773
2b75be67 6774 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6775 (create-animated-image): Remove unnecessary function.
6776 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6777 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6778 (image-animate-timer): Use car-safe.
6779 (image-animate-timeout): Rename argument.
6780
190b47e6
MR
67812011-06-07 Martin Rudalics <rudalics@gmx.at>
6782
6783 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6784 window.c. Rename first argument to ALL-FRAMES.
6785 Rephrase doc-strings.
6786 (get-buffer-window-list): Rewrite using window-list-1.
6787 Rephrase doc-string.
a1511caf
MR
6788 (window-safe-min-height, window-safe-min-width): New constants.
6789 (window-size-ignore, window-min-size, window-min-size-1)
6790 (window-sizable, window-sizable-p, window-size-fixed-1)
6791 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6792 (window-max-delta-1, window-max-delta, window-resizable)
6793 (window-resizable-p, window-total-height, window-total-width)
6794 (window-body-width): New functions.
6795 (window-full-height-p, window-full-width-p): Rewrite using
6796 window-total-size.
6797 (window-body-height): Rewrite using window-body-size.
190b47e6 6798
85cc1f11
MR
67992011-06-06 Martin Rudalics <rudalics@gmx.at>
6800
6801 * window.el (window-right, window-left, window-child)
6802 (window-child-count, window-last-child, window-any-p)
6803 (normalize-live-buffer, normalize-live-frame)
6804 (normalize-any-window, normalize-live-window)
6805 (window-iso-combination-p, window-iso-combined-p)
6806 (window-iso-combinations)
6807 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6808 (windows-with-parameter, window-with-parameter)
6809 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6810 (window-atom-check, window-side-check, window-check):
6811 New functions.
85cc1f11
MR
6812 (ignore-window-parameters, window-sides, window-sides-vertical)
6813 (window-sides-slots): New variables.
6814 (window-size-fixed): Move down in code. Minor doc-string fix.
6815
e7156492
AS
68162011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6817
6818 * comint.el (comint-dynamic-complete-as-filename)
6819 (comint-dynamic-complete-filename): Correctly call
6820 completion-in-region.
6821
7e821d0d
DD
68222011-06-05 Deniz Dogan <deniz@dogan.se>
6823
6824 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6825 in last change.
6826
ac09b8a1
DD
68272011-06-05 Deniz Dogan <deniz@dogan.se>
6828
6829 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6830 (rcirc): Use it to prompt for encryption.
6831
34699b85
RW
68322011-06-05 Roland Winkler <winkler@gnu.org>
6833
6834 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6835 (bibtex-search-entries): New command bound to C-c C-a.
6836 (bibtex-display-entries): New function.
6837
004dedd3
RW
68382011-06-05 Roland Winkler <winkler@gnu.org>
6839
6840 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6841 (bibtex-insert-kill): After yanking insert newline if necessary.
6842 (bibtex-initialize): Call bibtex-string-files-init only once.
6843 (bibtex-mode): Do not call easy-menu-add.
6844 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6845 (bibtex-yank): Set arg properly if nil.
6846
022fe7ce
RW
68472011-06-05 Roland Winkler <winkler@gnu.org>
6848
2b75be67
SM
6849 * textmodes/bibtex.el (bibtex-search-entry-globally):
6850 New variable.
022fe7ce
RW
6851 (bibtex-search-entry): Use it.
6852
b7c3692a
RW
68532011-06-05 Roland Winkler <winkler@gnu.org>
6854
6855 * textmodes/bibtex.el (bibtex-entry-format): New option
6856 sort-fields.
6857 (bibtex-format-entry, bibtex-reformat): Honor this option.
6858 (bibtex-parse-entry): Return fields in proper order.
6859
8eda563d
JB
68602011-06-05 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * doc-view.el (doc-view-remove-if): Move computation of result out
6863 of `dolist' to silence misleading lexical-binding warning.
6864
7dbe3dbc
CY
68652011-06-04 Chong Yidong <cyd@stupidchicken.com>
6866
6867 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6868 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6869
0c33dd17
MA
68702011-06-04 Michael Albinus <michael.albinus@gmx.de>
6871
6872 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6873 "SunOS 5.10".
6874
f8f91c2b
MA
68752011-06-04 Michael Albinus <michael.albinus@gmx.de>
6876
6877 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6878 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6879 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6880 (tramp-parse-putty):
6881 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6882 (tramp-completion-function-alist-ssh)
6883 (tramp-completion-function-alist-telnet)
6884 (tramp-completion-function-alist-su)
6885 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6886 cookie.
6887
6888 * net/tramp-ftp.el:
6889 * net/tramp-sh.el:
6890 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6891 load "tramp.el" `tramp-set-completion-function'.
6892
e17d9003
SM
68932011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * shell.el: Require and use pcomplete.
6896 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6897 (shell-completion-vars): Set pcomplete-default-completion-function.
6898
6c4cab03
DD
68992011-06-04 Deniz Dogan <deniz@dogan.se>
6900
6901 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6902 `memq' (Bug#8799).
6903
ea9fafe0
SM
69042011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6907
b3e945d3
JB
69082011-06-02 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6911 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6912 * vc/log-view.el (log-view-beginning-of-defun):
6913 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6914 (smerge-refine-forward, smerge-refine-chopup-region):
6915 Silence warning for unused `dotimes' counter variables.
6916
7d520089
SM
69172011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * net/tramp.el (tramp-with-progress-reporter): Rename from
6920 with-progress-reporter. Use `declare'.
6921 * net/tramp-smb.el:
6922 * net/tramp-sh.el:
6923 * net/tramp-gvfs.el: Update all uses.
6924
a1c2400f
JB
69252011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6926
6927 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6928 buffer isn't killed before making it current.
6929
2403c841
SM
69302011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 Silence various byte-compiler warnings.
6933 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6934 `access-type' and new obsolescence format.
6935 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6936 new format.
6937 (byte-compile-check-variable): New `access-type' argument.
6938 Only warn if the access-type is obsolete.
6939 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6940 (byte-compile-variable-set): Adjust callers.
6941 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6942 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6943 setting it as obsolete.
6944 * simple.el (minibuffer-completing-symbol):
6945 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6946 access as obsolete.
6947 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6948 obsolete yet.
6949 * international/quail.el (quail-mouse-choose-completion): Remove unused
6950 code referring to obsolete var.
6951 (quail-choose-completion-string): Remove.
6952 * server.el (server-clients-with, server-kill-buffer-query-function)
6953 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6954 * proced.el (proced-send-signal):
6955 * emacs-lisp/lisp.el (lisp-complete-symbol):
6956 Replace completion-annotate-function with completion-extra-properties.
6957
2462470b
SM
69582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6959
fb5b2591
SM
6960 * simple.el (goto-line): Use read-number.
6961 (overriding-map-is-bound): Remove.
6962 (saved-overriding-map): Change default.
6963 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6964 Take the map as argument.
6965 (universal-argument, negative-argument, digit-argument): Use it.
6966 (restore-overriding-map): Adjust.
6967 (do-auto-fill): Use fill-forward-paragraph.
6968 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6969
fd6fa53f
SM
6970 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6971 (minibuffer-inactive-mode): New major mode.
6972 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6973 the *Messages* buffer" hack.
6974 (mouse-popup-menubar): Don't burp if the event is a normal key.
6975
2462470b
SM
6976 Miscellaneous tweaks.
6977 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6978 lexical scoping as in subr.el's dolist and dotimes.
6979 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6980 Silence compiler warning.
6981 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6982 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6983 * international/ccl.el (ccl-compile): Trivial simplification.
6984 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6985 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6986 `printflag' argument.
6987 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6988 Purecopy the whole obsolescence data.
6989
108bf785
LL
69902011-06-01 Leo Liu <sdl.web@gmail.com>
6991
6992 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6993 improve doc-string as suggested by Marco Pessotto
6994 <melmothx@gmail.com>.
6995 (rcirc-print): Fix last change.
6996
30a23501
SM
69972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * minibuffer.el (complete-with-action): Return nil for the metadata and
7000 boundaries of non-functional tables.
7001 (completion-table-dynamic): Return nil for the metadata.
7002 (completion-table-with-terminator): Add default case, using
7003 complete-with-action.
7004 (completion--metadata): New function.
7005 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7006 to try and avoid pathological performance problems.
7007 (completion--embedded-envvar-table): Return `category' metadata.
7008
bcd54f83
LMI
70092011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010
7011 * subr.el (process-alive-p): New tiny convenience function.
7012
e227544d
SM
70132011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7016 content but also its previous major mode.
7017
e8296fdc
HE
70182011-05-31 Helmut Eller <eller.helmut@gmail.com>
7019
4d61f28d 7020 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7021 *Backtrace* buffer when we exit with C-M-c.
7022
620c53a6
SM
70232011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * minibuffer.el: Add metadata method to completion tables.
7026 (completion-category-overrides): New defcustom.
7027 (completion-metadata, completion--field-metadata)
7028 (completion-metadata-get, completion--styles)
7029 (completion--cycle-threshold): New functions.
7030 (completion-try-completion, completion-all-completions):
7031 Add `metadata' argument to choose completion-styles.
7032 (completion--do-completion): Use metadata to choose cycling.
7033 (completion-all-sorted-completions): Use metadata for sorting.
7034 Remove :completion-cycle-penalty which is not needed any more.
7035 (completion--try-word-completion): Add `metadata' argument.
7036 (minibuffer-completion-help): Check metadata for annotation function
7037 and sorting.
7038 (completion-file-name-table): Return `category' metadata.
7039 (minibuffer-completing-file-name): Make obsolete.
7040 * simple.el (minibuffer-completing-symbol): Make obsolete.
7041 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7042 completion-try-completion.
7043
1257e755
SM
70442011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7047
3767e706
LL
70482011-05-30 Leo Liu <sdl.web@gmail.com>
7049
7050 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7051 (rcirc-print): Decode all incoming messages (bug#8744).
7052 (rcirc-decode-coding-system): Allow value nil for automatic coding
7053 system detection.
3767e706 7054
d1a5d56a
GM
70552011-06-01 Glenn Morris <rgm@gnu.org>
7056
7057 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7058
e8cbec34
CY
70592011-05-29 Chong Yidong <cyd@stupidchicken.com>
7060
7061 * image.el (image-animate-max-time): Allow nil and t values.
7062 Default to nil.
7063 (create-animated-image): Doc fix.
7064 (image-animate-start): Remove second arg; just use
7065 image-animate-max-time.
7066 (image-animate-timeout): Doc fix. Args changed.
7067
7068 * image-mode.el (image-toggle-display-image): Ensure that the
7069 image spec passed to the animate timer is the same object as in
58179cce 7070 the buffer's display property (Bug#6981).
e8cbec34
CY
7071 (image-transform-properties): Doc fix.
7072
7073 * image.el (image-animate-max-time): Default to nil.
7074
159daf87
MR
70752011-05-29 Martin Rudalics <rudalics@gmx.at>
7076
7077 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7078 entire buffer list (Bug#8184).
7079
d66c4c7c
CY
70802011-05-29 Chong Yidong <cyd@stupidchicken.com>
7081
7082 * image.el (imagemagick-types-inhibit)
7083 (imagemagick-register-types): Doc fix.
7084
80aec780
DD
70852011-05-29 Deniz Dogan <deniz@dogan.se>
7086
7087 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7088 default.
7089
1dd3c2d9
CY
70902011-05-29 Chong Yidong <cyd@stupidchicken.com>
7091
7092 * select.el: Don't perform clipboard-manager saving in hooks;
7093 leave the hooks empty.
7094
60e56523
LL
70952011-05-28 Leo Liu <sdl.web@gmail.com>
7096
7097 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7098 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7099 (occur-edit-mode): New major mode (Bug#8463).
7100 (occur-after-change-function): New function.
7101 (occur-engine): Give Occur tags a read-only property.
7102
2b1e1a22
KR
71032011-05-28 Kevin Ryde <user42@zip.com.au>
7104
7105 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7106
5d344e88
CY
71072011-05-28 Chong Yidong <cyd@stupidchicken.com>
7108
8e6ca83d
CY
7109 * bindings.el (help-echo): Make the initial non-indicator dash
7110 empty on graphical terminals (Bug#7295).
7111
5d344e88
CY
7112 * files.el (auto-mode-alist): Move config rule after the
7113 in-stripping one (Bug#8547).
7114
bfbbace7
CY
7115 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7116
fbeba6e2
CY
7117 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7118 setting (Bug#8740).
7119
60ed8c72
AA
71202011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7121
4ac619f0
AA
7122 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7123 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7124 (Bug#8539).
60ed8c72 7125
23db196e
CY
71262011-05-28 Chong Yidong <cyd@stupidchicken.com>
7127
7128 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7129
5012f24c
DK
71302011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7131
7132 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7133 (hs-hide-block-at-point, hs-find-block-beginning)
7134 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7135 (Bug#8279).
7136
6a639b16
GM
71372011-05-28 Glenn Morris <rgm@gnu.org>
7138
7139 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7140
d43eaf2c
CY
71412011-05-28 Chong Yidong <cyd@stupidchicken.com>
7142
5199bde1
CY
7143 * help-fns.el (describe-function-1): If the function is a derived
7144 major mode, print the parent mode.
7145
d43eaf2c
CY
7146 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7147 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7148
423428a8
SM
71492011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7150
0ff8e1ba 7151 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7152 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7153 * progmodes/etags.el (tags-completion-at-point-function):
7154 * info-look.el (info-lookup-completions-at-point): Mark as
7155 non-exclusive.
7156 (info-complete): Adjust accordingly.
7157
423428a8
SM
7158 * info-look.el: Convert to lexical-binding and completion-at-point.
7159 (info-lookup-completions-at-point): New function.
7160 (info-complete): Use it and completion-in-region.
7161
b74aa22b
DA
71622011-05-28 Drew Adams <drew.adams@oracle.com>
7163
7164 * isearch.el: Let M-e start with point at the first mismatched char.
7165 (isearch-fail-pos): New function.
7166 (isearch-edit-string): Use it.
7167
66e2e71d
DK
71682011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7169
7170 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7171
eb95d01d
TC
71722009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7173
7174 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7175 traversal functions for avl-trees.
7176 (avl-tree--stack): New struct.
7177 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7178 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7179 (avl-tree--do-enter): Add optional `updatefun' arg.
7180 Change return value.
eb95d01d 7181 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7182 (avl-tree--do-delete): Add `test' and `nilflag' args.
7183 Change return value.
eb95d01d
TC
7184 (avl-tree-member): Add optional `nilflag'
7185 (avl-tree-member-p): New function.
7186 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7187 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7188 (avl-tree-stack-empty-p): New functions.
7189
3769ddcf
TC
71902009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7191
7192 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7193 avl-tree--del-balance1 and make it work both ways.
7194 (avl-tree--del-balance2): Remove.
7195 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7196 make it work both ways.
7197 (avl-tree--enter-balance2): Remove.
7198 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7199 New macros.
7200 (avl-tree--mapc, avl-tree-map): Add direction argument.
7201
eb95d01d 72022011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7203
7204 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7205
a9f737ee
CY
72062011-05-27 Chong Yidong <cyd@stupidchicken.com>
7207
7208 * select.el: Support clipboard managers with built-in function
7209 x-clipboard-manager-save, via delete-frame-functions and
7210 kill-emacs-hook.
7211 (xselect-convert-to-targets): Add MULTIPLE target to list.
7212 (xselect-convert-to-save-targets): New function.
7213
c92a1e54
KH
72142011-05-27 Kenichi Handa <handa@m17n.org>
7215
7216 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7217 let-binding rfc2047-encode-encoded-words to nil.
7218
e145f188
GM
72192011-05-27 Glenn Morris <rgm@gnu.org>
7220
5ec8a862
GM
7221 * mail/emacsbug.el: Don't require url-util.
7222
4b29d9fb
GM
7223 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7224
e145f188
GM
7225 * files.el (set-auto-mode):
7226 Also respect mode: entries at the end of the file. (Bug#8586)
7227
7d15102b
GM
72282011-05-26 Glenn Morris <rgm@gnu.org>
7229
98f593b8
GM
7230 * files.el (hack-local-variables-prop-line, hack-local-variables):
7231 Downcase mode names, as seems to be traditional.
27b48e63 7232 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7233
7d15102b
GM
7234 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7235 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7236
51d5b4ec
JD
72372011-05-25 Julien Danjou <julien@danjou.info>
7238
7239 * textmodes/rst.el (rst-define-level-faces): Do not define face
7240 symbol if it is already defined.
7241
91513f63
VB
72422011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7243
7244 * play/5x5.el (5x5-new-game, 5x5-randomize):
7245 Reset 5x5-solver-output to nil when a new grid is cast.
7246 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7247 these debugging traces, as defmacro breaks the compiled code.
7248
4d90d6d0
DK
72492011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7250
7251 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7252
e1b90ef6
LL
72532011-05-24 Leo Liu <sdl.web@gmail.com>
7254
7255 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7256 (vc-bzr-sha1): Adapt.
7257
d8e4b68b 7258 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7259
7260 * bindings.el: Provide sha1 feature.
7261
db0406bb 72622011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7263
7264 * mail/sendmail.el: Require `rfc2047'.
7265 (mail-insert-from-field): Do not perform RFC2047 encoding.
7266 (mail-encode-header): New function.
7267 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7268 buffer to the return value of select-message-coding-system.
7269 Call mail-encode-header.
b8d747b9
KH
7270
7271 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7272
db0406bb 72732011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7274
4d90d6d0
DK
7275 * mail/supercite.el (sc-default-cite-frame):
7276 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7277
eb8a5e9b
GM
72782011-05-24 Glenn Morris <rgm@gnu.org>
7279
f8630703
GM
7280 * progmodes/python.el (brm-menu): Declare.
7281
8831bbed
GM
7282 * emulation/viper.el (viper-set-hooks): Declare.
7283
eb8a5e9b
GM
7284 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7285 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7286 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7287 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7288 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7289 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7290
a2a25d24
SM
72912011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7292
7293 Add an :exit-function for completion-at-point.
7294
7295 * minibuffer.el (completion--done): New fun.
7296 (completion--do-completion): Use it. New arg `expect-exact'.
7297 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7298 since completion--do-completion does it for us now.
7299 (minibuffer-force-complete): Use completion--done and
7300 completion--replace. Handle sole-completion case with more care.
7301 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7302 (completion-extra-properties): New var.
7303 (completion-annotate-function): Make obsolete.
7304 (minibuffer-completion-help): Adjust accordingly.
7305 Use completion-list-insert-choice-function.
7306 (completion-at-point, completion-help-at-point):
7307 Bind completion-extra-properties.
7308 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7309 * simple.el (completion-list-insert-choice-function): New var.
7310 (completion-setup-function): Preserve it.
7311 (choose-completion): Pay attention to it, shuffle the code a bit.
7312 (choose-completion-string): New arg `insert-function'.
7313
7314 * textmodes/bibtex.el: Convert to lexical binding.
7315 (bibtex-mode-map): Use completion-at-point.
7316 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7317 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7318 (bibtex-complete): Define as obsolete alias.
7319 (bibtex-complete-internal): Remove.
7320 (bibtex-format-entry): Remove unused sub-group in regexp.
7321 * shell.el (shell--command-completion-data)
7322 (shell-environment-variable-completion):
7323 * pcomplete.el (pcomplete-completions-at-point):
7324 * comint.el (comint--complete-file-name-data): Use :exit-function
7325 instead of completion-table-with-terminator so it also works for
7326 choose-completion.
7327
e44e373d
SM
73282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7329
4f91a816
SM
7330 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7331
782fc819
SM
7332 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7333 (bug#8710).
7334
e44e373d
SM
7335 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7336
381987c3
KM
73372011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7338
7339 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7340 customization variable and implement: If non-nil, auto-fill will
7341 be inhibited while on topic's header line.
7342
b776bc70
VB
73432011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7344
7345 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7346 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7347 always have a solution in grid size = 5 cases.
7348 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7349 (5x5-solver-output, 5x5-log-buffer): New vars.
7350 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7351 Make these variables buffer local to achieve 5x5 multi-session-ness.
7352 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7353 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7354 (5x5-solve-suggest): New funs.
7355 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7356 randomize a grid so that we ensure that there is always a solution.
7357 (5x5-make-random-grid): Allow other movement than flipping.
7358
7de88b6e
KR
73592011-05-23 Kevin Ryde <user42@zip.com.au>
7360
7361 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7362 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7363 advice and passes PREDICATE.
7364
b1ef1257
SM
73652011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7366
bbca48fe
SM
7367 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7368 byte-compile-lambda if it's actually a lambda.
7369
b1ef1257
SM
7370 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7371 Fix function quoting. Use backquote better.
7372
92a9cc65
YS
73732011-05-22 Yuanle Song <sylecn@gmail.com>
7374
7375 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7376 matching (Bug#8516).
7377
f0fb8059
JA
73782011-01-22 Jari Aalto <jari.aalto@cante.net>
7379
7380 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7381 different face (Bug#8178).
7382
d5b44c93
CY
73832011-05-22 Chong Yidong <cyd@stupidchicken.com>
7384
7385 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7386 defface (Bug#8144).
7387
79106a44
SM
73882011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7389
9c848d8a
SM
7390 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7391 funcall as well (bug#8712). Warn when performing those conversions.
7392 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7393
79106a44
SM
7394 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7395
88dfa756
GM
73962011-05-22 Glenn Morris <rgm@gnu.org>
7397
7398 * files.el (hack-local-variables-prop-line): Small simplifications.
7399 (hack-local-variables, hack-local-variables-prop-line):
7400 If MODE-ONLY, return the mode, rather than just `t'.
7401
b7cf2c79
SM
74022011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7405
3f1a8558
GM
74062011-05-21 Glenn Morris <rgm@gnu.org>
7407
7e4ccca3
GM
7408 * files.el (hack-local-variables-prop-line, hack-local-variables):
7409 If only interested in the mode, don't bother doing the other stuff.
7410
637d46ca
GM
7411 * image-mode.el (image-after-revert-hook):
7412 Redraw all frames on which the image is visible. (Bug#8567)
7413
973d955b
GM
7414 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7415
3f1a8558
GM
7416 * wid-edit.el (widget-checklist-match-inline):
7417 Fix 2011-04-19 change. (Bug#8649)
7418
96479927
SM
74192011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7420
1dcf791f
SM
7421 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7422 Also allow singlespace after single-letter capitals followed by a dot.
7423
96479927
SM
7424 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7425 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7426
35fd0881
N
74272011-05-20 Nix <nix@esperi.org.uk>
7428
7429 * files.el (basic-save-buffer-2):
7430 Fix handling of break-hardlink-on-save with non-existent files.
7431
82745640
DD
74322011-05-19 Deniz Dogan <deniz@dogan.se>
7433
7434 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7435 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7436
4a720484
GM
74372011-05-19 Glenn Morris <rgm@gnu.org>
7438
d1f21341
GM
7439 * progmodes/f90.el (f90-type-def-re):
7440 Handle "type, bind(c)". (Bug#8691)
7441
4a720484
GM
7442 * emacs-lisp/autoload.el (batch-update-autoloads):
7443 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7444
2fb0a219
MA
74452011-05-18 Michael Albinus <michael.albinus@gmx.de>
7446
7447 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7448 property for the correct connection in case of multihops.
7449
e565dd37
GM
74502011-05-18 Glenn Morris <rgm@gnu.org>
7451
c2571358 7452 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7453 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7454
e565dd37
GM
7455 Rationalize calendar handling of day and month abbrev-arrays.
7456 * calendar/calendar.el (calendar-customized-p): New function.
7457 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7458 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7459 Add :set function.
7460 (calendar-abbrev-length, calendar-day-abbrev-array)
7461 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7462 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7463 Elements may no longer be nil.
7464 (calendar-day-name, calendar-month-name):
7465 Update for changed nature of abbrev arrays.
7466 * calendar/diary-lib.el (diary-name-pattern):
7467 Update for changed nature of abbrev arrays.
7468 (diary-mark-entries-1): Update calendar-make-alist calls.
7469 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7470 * calendar/cal-html.el (cal-html-day-abbrev-array):
7471 Simply inherit from calendar-day-abbrev-array.
7472
1d99a745
SM
74732011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7474
7475 * progmodes/grep.el (grep-mode): Disable default
7476 compilation-directory-matcher setting (bug#8684).
7477
7c1d9aa0
MA
74782011-05-17 Michael Albinus <michael.albinus@gmx.de>
7479
7480 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7481 instead of "head" and "tail". There were problems with SunOS 5.9,
7482 and it performs better.
7483
3952e9d8
GM
74842011-05-17 Glenn Morris <rgm@gnu.org>
7485
2dd12e7f
GM
7486 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7487
e4157b9c
GM
7488 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7489 Replace obsolete function.
7490
8e249bbd
GM
7491 * shell.el (pcomplete-parse-arguments-function): Declare.
7492
3952e9d8
GM
7493 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7494 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7495 (appt-check): Doc fixes.
7496 (appt-disp-window-function, appt-delete-window-function):
7497 Remove needless special case in custom :type.
7498 (appt-display-count): Default to 0, not nil.
7499 (appt-check): Reset appt-display-count to 0, not nil.
7500
c71a0d48 75012011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7502
c71a0d48
GM
7503 * progmodes/python.el (python-font-lock-keywords):
7504 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7505
31d55be9
SM
75062011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7509
3bfacb2f
KR
75102011-05-16 Kevin Ryde <user42@zip.com.au>
7511
7512 * info-look.el (makefile-automake-mode): New setups, looking in
7513 automake manual, then makefile-mode.
7514 (makefile-mode): Remove automake manual, have it just in
7515 makefile-automake-mode since there's various things different or
7516 not relevant to plain make.
7517 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7518 believe a hypothetical automake-mode would go to makefile-mode,
7519 not the other way around.
7520
c8e83751
CY
75212011-05-15 Chong Yidong <cyd@stupidchicken.com>
7522
5e9e35cd
CY
7523 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7524 hunk-end tags (Bug#8672).
7525
c8e83751
CY
7526 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7527 vc-annotate-show-diff-revision-at-line (Bug#8671).
7528
50b23e5a
GM
75292011-05-14 Glenn Morris <rgm@gnu.org>
7530
7210a739
GM
7531 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7532 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7533 (change-log-font-lock-keywords): Also handle multiple author lines
7534 with leading tabs. (Bug#8644)
7210a739 7535
4691905a
GM
7536 * calendar/appt.el (appt-check): Rename some local variables.
7537 Some simplification/reordering.
7538
50b23e5a
GM
7539 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7540 (feedmail-sendmail-f-doesnt-sell-me-out)
7541 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7542 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7543 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7544 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7545 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7546 (feedmail-binmail-gnulinuxish-template):
7547 Rename from feedmail-binmail-linuxish-template.
7548 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7549 Use insert-buffer-substring.
7550
215cda7c
BC
75512011-05-14 Bill Carpenter <bill@carpenter.org>
7552
7553 * mail/feedmail.el (feedmail-patch-level): Increase.
7554 (feedmail-debug): New custom group.
7555 (feedmail-confirm-outgoing-timeout)
7556 (feedmail-sendmail-f-doesnt-sell-me-out)
7557 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7558 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7559 (feedmail-sender-line, feedmail-from-line)
7560 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7561 (feedmail-spray-this-address)
215cda7c
BC
7562 (feedmail-spray-address-fiddle-plex-list)
7563 (feedmail-queue-use-send-time-for-date)
7564 (feedmail-queue-use-send-time-for-message-id)
7565 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7566 (feedmail-buffer-eating-function):
7567 Doc fixes.
7568 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7569 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7570 (feedmail-message-action-scroll-down): New functions.
7571 (feedmail-queue-directory, feedmail-queue-draft-directory):
7572 Use expand-file-name.
7573 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7574 Remove C-v help entry.
7575 (feedmail-queue-buffer-file-name): New variable.
7576 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7577 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7578 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7579 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7580 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7581 (feedmail-message-action-toggle-spray)
7582 (feedmail-run-the-queue-no-prompts)
7583 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7584 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7585 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7586 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7587 (feedmail-envelope-deducer, feedmail-fiddle-from)
7588 (feedmail-fiddle-sender, feedmail-default-date-generator)
7589 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7590 (feedmail-fiddle-spray-address)
7591 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7592 (feedmail-fiddle-list-of-fiddle-plexes)
7593 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7594 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7595 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7596 Change default. Doc fix.
7597 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7598 (feedmail-binmail-linuxish-template): New constant.
7599 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7600 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7601 (feedmail-send-it): Add debug call.
7602 Use feedmail-queue-buffer-file-name, and
7603 feedmail-send-it-immediately-wrapper.
7604 (feedmail-message-action-send): Add debug call.
7605 Use feedmail-send-it-immediately-wrapper.
7606 (feedmail-queue-express-to-queue): Add debug call.
7607 Run feedmail-queue-express-hook.
7608 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7609 (feedmail-message-action-help-blat):
7610 Rename from feedmail-queue-send-edit-prompt-help-first.
7611 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7612 Check line-endings. Handle errors better.
7613 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7614 Doc fix. Add debug call.
7615 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7616 Use feedmail-queue-send-edit-prompt-inner.
7617 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7618 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7619 from feedmail-queue-send-edit-prompt.
7620 (feedmail-queue-send-edit-prompt-help)
7621 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7622 (feedmail-tidy-up-slug): Add debug call.
7623 Respect feedmail-queue-slug-suspect-regexp.
7624 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7625 (feedmail-dump-message-to-queue): Add debug call.
7626 Expand queue-directory.
7627 (feedmail-dump-message-to-queue): Change message slightly.
7628 Use feedmail-say-chatter.
7629 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7630 (feedmail-send-it-immediately-wrapper): New function.
7631 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7632 Insert empty string rather than newline. Handle full-frame case.
7633 Use catch/throw. Use feedmail-say-chatter.
7634 (feedmail-fiddle-from): Try mail-host-address.
7635 (feedmail-default-message-id-generator): Doc fix.
7636 Bind system-time-locale. Handle missing end.
7637 (feedmail-fiddle-x-mailer): Add debug call.
7638 Handle feedmail-x-mailer-line being nil.
7639 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7640 Add debug call. Use buffer-substring-no-properties.
7641 (feedmail-say-debug, feedmail-say-chatter): New functions.
7642 (feedmail-find-eoh): Give an explicit error.
7643
42c7e61e
UJ
76442011-05-13 Ulf Jasper <ulf.jasper@web.de>
7645
c2571358 7646 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7647 family from helvetica to sans.
c2571358 7648 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7649 etc/images/newsticker.
7650
c2571358 7651 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7652 family from helvetica to sans.
7653
7654 * net/newst-plainview.el (newsticker-new-item-face)
7655 (newsticker-old-item-face, newsticker-immortal-item-face)
7656 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7657 (newsticker-statistics-face): Change default family from
42c7e61e 7658 helvetica to sans.
c2571358 7659 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7660 etc/images/newsticker.
7661
7662 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7663 (newsticker--process-auto-mark-filter-match): : Tell user about
7664 auto-marking.
7665
8497a297
DV
76662011-05-13 Didier Verna <didier@xemacs.org>
7667
7668 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7669 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7670 TODO entries.
8497a297
DV
7671 (lisp-lambda-list-keyword-parameter-indentation)
7672 (lisp-lambda-list-keyword-parameter-alignment)
7673 (lisp-lambda-list-keyword-alignment): New customizable user options.
7674 (lisp-indent-defun-method): Improve docstring.
7675 (extended-loop-p): Fix comment.
7676 (lisp-indent-lambda-list-keywords-regexp): New variable.
7677 (lisp-indent-lambda-list): New function.
7678 (lisp-indent-259): Use it.
7679 (lisp-indent-defmethod): Support for more than one
7680 method qualifier and properly indent methods lambda-lists.
7681 (defgeneric): Provide a missing common-lisp-indent-function property.
7682
f278f87f
SM
76832011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7686 bounds for the empty string (bug#8667).
7687
5233edd7
GM
76882011-05-13 Glenn Morris <rgm@gnu.org>
7689
5237a44f
GM
7690 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7691
8340026c 7692 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7693 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7694
5233edd7 7695 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7696 (appt-time-msg-list): Doc fix.
a5464014 7697 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7698
92d10796
AS
76992011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7700
7701 * progmodes/ld-script.el (ld-script-keywords)
7702 (ld-script-builtins): Update keywords list.
7703
914a0ae1
SM
77042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7705
c89be45f
SM
7706 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7707
914a0ae1
SM
7708 * shell.el (shell-completion-vars): New function.
7709 (shell-mode):
7710 * simple.el (read-shell-command): Use it.
7711 (blink-matching-open): No need for " [...]" in minibuffer-message.
7712
98dc3df3
GM
77132011-05-12 Glenn Morris <rgm@gnu.org>
7714
7715 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7716 (appt-check): Simplify.
7717
d2fc7e3d 77182011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7719
4d61f28d 7720 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7721 literal "/dev/null".
7722
d2fc7e3d 77232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7724
7725 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7726 Fix typo.
7727
d2fc7e3d 77282011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7729
3f254caa
SM
7730 * progmodes/which-func.el (which-function):
7731 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7732 which might not be defined (Bug#8260).
7733
d45885f7
GM
77342011-05-12 Glenn Morris <rgm@gnu.org>
7735
7736 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7737 Let byte-compile-initial-macro-environment always take precedence.
7738
488086f4
SM
77392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7740
7741 * net/rcirc.el: Add support for SSL/TLS connections.
7742 (rcirc-server-alist): New field `encryption'.
7743 (rcirc): Check `encryption' settings.
7744 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7745 Merge make-local-variable into `set'.
7746 (rcirc--connection-open-p): New function.
7747 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7748 the process is not a network process (e.g. running gnutls-cli).
7749 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7750 Make rcirc-(en|de)code-coding-system local here.
7751 (rcirc-mode): Merge make-local-variable into `set'.
7752 (rcirc-parent-buffer): Make permanent buffer-local.
7753 (rcirc-multiline-minor-mode): Don't do it here.
7754 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7755 there's no server buffer.
7756
7d3b9d44
GM
77572011-05-11 Glenn Morris <rgm@gnu.org>
7758
f64049c6
GM
7759 * newcomment.el (comment-kill): Prefix "unused" local.
7760
93c9df73
GM
7761 * term/w32console.el (get-screen-color): Declare.
7762
7d3b9d44
GM
7763 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7764 Handle symbol elements of byte-compile-initial-macro-environment.
7765
9e2dd53f
LL
77662011-05-10 Leo Liu <sdl.web@gmail.com>
7767
488086f4
SM
7768 * bookmark.el (bookmark-bmenu-mode-map):
7769 Bind bookmark-bmenu-search to `/'.
8b340240 7770
9e2dd53f 7771 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7772 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7773 (Footnote-unicode): New function.
7774 (footnote-style-alist): Add unicode style to the list.
7775 (footnote-style): Doc fix.
9e2dd53f 7776
79b70037
GM
77772011-05-10 Jim Meyering <meyering@redhat.com>
7778
7779 Fix doubled-word typos.
7780 * international/quail.el (quail-insert-kbd-layout): and and -> and
7781 * kermit.el: and and -> and
7782 * net/ldap.el (ldap-search-internal): to to -> to
7783 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7784 * progmodes/js.el (js-mode): and and -> and
7785 * textmodes/artist.el (artist-move-to-xy): at at -> at
7786 (artist-draw-region-trim-line-endings): if if -> if
7787 And Safetyc -> Safety.
7788 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7789
b8f82dc1 77902011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7791 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7792
7793 * files.el (hack-one-local-variable-eval-safep):
7794 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7795
4f99f44b
GM
77962011-05-10 Glenn Morris <rgm@gnu.org>
7797
7798 * calendar/diary-lib.el (diary-list-entries-hook)
7799 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7800 (diary-nongregorian-marking-hook, diary-list-entries)
7801 (diary-include-other-diary-files, diary-mark-entries)
7802 (diary-mark-included-diary-files): Doc fixes.
7803
84f29e6b
JB
78042011-05-09 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * misc.el: Require tabulated-list.el during compilation.
7807
9bedd73a
CY
78082011-05-09 Chong Yidong <cyd@stupidchicken.com>
7809
488086f4
SM
7810 * progmodes/compile.el (compilation-start):
7811 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7812 (compilation-filter-hook): Doc fix.
7813
797c735c
DD
78142011-05-09 Deniz Dogan <deniz@dogan.se>
7815
7816 * wdired.el: Remove outdated installation comment. Fix usage
7817 comment.
7818
5f4b1dfe
JB
78192011-05-09 Juanma Barranquero <lekktu@gmail.com>
7820
7821 * misc.el: Implement new command `list-dynamic-libraries'.
7822 (list-dynamic-libraries--loaded-only-p): New variable.
7823 (list-dynamic-libraries--refresh): New function.
7824 (list-dynamic-libraries): New command.
7825
4c44026c
CY
78262011-05-09 Chong Yidong <cyd@stupidchicken.com>
7827
488086f4
SM
7828 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7829 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7830 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7831 higher priority to avoid clobbering by gnu.
7832
027f966d
CY
78332011-05-08 Chong Yidong <cyd@stupidchicken.com>
7834
7835 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7836 if the face has existing theme settings (Bug#8454).
7837
085f5d7d
CY
78382011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7839
488086f4
SM
7840 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7841 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7842
2a86a00c
RS
7843 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7844 special file names `.' and `..' (Bug#8259).
7845
d9c54a06
CY
78462011-05-08 Chong Yidong <cyd@stupidchicken.com>
7847
488086f4
SM
7848 * progmodes/grep.el (grep-mode-font-lock-keywords):
7849 Remove buffer-changing entries.
d9c54a06
CY
7850 (grep-filter): New function.
7851 (grep-mode): Add it to compilation-filter-hook.
7852
7853 * progmodes/compile.el (compilation-filter-hook)
7854 (compilation-filter-start): New defvars.
7855 (compilation-filter): Call compilation-filter-hook prior to
7856 updating the process mark.
7857
c4662635
SM
78582011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7859
7860 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7861
b0512a1d
EZ
78622011-05-07 Eli Zaretskii <eliz@gnu.org>
7863
605c9376
EZ
7864 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7865 mailclient-send-it even if window-system is nil. (Bug#8595)
7866
c4662635
SM
7867 * term/w32console.el (terminal-init-w32console):
7868 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7869 background-mode. (Bug#8597)
7870
d1dc2cc2
SM
78712011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7874 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7875 New functions.
7876 (defgeneric, eieio--defmethod): Use them.
7877 (eieio-defgeneric): Remove.
7878 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7879
915d1300
GM
78802011-05-07 Glenn Morris <rgm@gnu.org>
7881
a3961c3e
GM
7882 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7883 Use let rather than let*.
7884 (timeclock-find-discrep): Remove unused local.
7885
314347b9
GM
7886 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7887
915d1300
GM
7888 * calendar/appt.el (appt-time-msg-list): Doc fix.
7889
275b59b0
NF
78902011-05-06 Noah Friedman <friedman@splode.com>
7891
7892 * apropos.el (apropos-print-doc): Only use
7893 emacs-lisp-docstring-fill-column when it is bound to an integer,
7894 per that variable's documentation.
7895
6c19f744
SM
78962011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7899 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7900
60f884b2
GM
79012011-05-06 Glenn Morris <rgm@gnu.org>
7902
5006e634
GM
7903 * calendar/appt.el (appt-message-warning-time): Doc fix.
7904 (appt-warning-time-regexp): New option.
7905 (appt-make-list): Respect appt-message-warning-time.
7906
548d0a63
GM
7907 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7908 New options.
7909 (diary-add-to-list): Strip comments from the displayed string.
7910 (diary-mode): Set comment-start and comment-end.
7911
60f884b2
GM
7912 * vc/diff-mode.el (smerge-refine-subst): Declare.
7913 (diff-refine-hunk): Don't require smerge-mode when compiling.
7914
989681bb
JB
79152011-05-06 Juanma Barranquero <lekktu@gmail.com>
7916
7917 * simple.el (list-processes): Return nil as the docstring says.
7918
a6bc05e1
MA
79192011-05-05 Michael Albinus <michael.albinus@gmx.de>
7920
7921 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7922 to "".
7923 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7924 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7925 determining of binary transfer. (Bug#7383)
7926
23c22e9a
MA
79272011-05-05 Michael Albinus <michael.albinus@gmx.de>
7928
c4662635
SM
7929 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7930 Fix port computation bug. (Bug#8618)
23c22e9a 7931
0bff894f
GM
79322011-05-05 Glenn Morris <rgm@gnu.org>
7933
b8296902
GM
7934 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7935
1f522ce8
GM
7936 * simple.el (shell-dynamic-complete-functions)
7937 (comint-dynamic-complete-functions): Declare.
7938
cf5bee67
GM
7939 * net/network-stream.el (gnutls-negotiate):
7940 * simple.el (tabulated-list-print): Fix declarations.
7941
7942 * progmodes/gud.el (syntax-symbol, syntax-point):
7943 Remove unnecessary and incorrect declarations.
7944
0bff894f
GM
7945 * emacs-lisp/check-declare.el (check-declare-scan):
7946 Handle byte-compile-initial-macro-environment in bytecomp.el
7947
9869b3ae
SM
79482011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 Fix earlier half-done eieio-defmethod change (bug#8338).
7951 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7952 Streamline and change calling convention.
7953 (defmethod): Adjust accordingly and simplify.
7954 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7955 new eieio--defmethod.
7956 (slot-boundp): Minor CSE simplification.
7957
9c1d5ac5
MZ
79582011-05-05 Milan Zamazal <pdm@zamazal.org>
7959
7960 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7961 (glasses-make-readable): Use glasses-separate-capital-groups.
7962
455c834e
JB
79632011-05-05 Juanma Barranquero <lekktu@gmail.com>
7964
7965 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7966 (warning-series): Doc fix.
7967 (display-warning): Don't try to create the buffer if we just found it.
7968
9ed7c8cb
CY
79692011-05-04 Chong Yidong <cyd@stupidchicken.com>
7970
7971 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7972 (autoload-find-generated-file): New function.
7973 (generate-file-autoloads): Bind generated-autoload-file to
7974 buffer-file-name.
9869b3ae
SM
7975 (update-file-autoloads, update-directory-autoloads):
7976 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7977 output file (Bug#7989).
7978 (batch-update-autoloads): Doc fix.
7979
0898ca10
JB
79802011-05-04 Juanma Barranquero <lekktu@gmail.com>
7981
7982 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7983
31dfb76c
GM
79842011-05-04 Glenn Morris <rgm@gnu.org>
7985
f330b642
GM
7986 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7987 function, so it follows changes in calendar-date-style.
7988 (diary-fancy-date-matcher): New function.
7989 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7990 (diary-fancy-font-lock-fontify-region-function):
7991 Use diary-fancy-date-pattern as a function.
7992
31dfb76c
GM
7993 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7994 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7995
48e79d6a
TZ
79962011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7997
7998 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7999 instead of positional arguments. Allow :keylist and :crlfiles
8000 arguments.
8001 (open-gnutls-stream): Call it.
8002
8003 * net/network-stream.el (network-stream-open-starttls): Adjust to
8004 call `gnutls-negotiate' with :process and :hostname arguments.
8005
dd5a5ee0
SM
80062011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8007
ef80fc09
SM
8008 * minibuffer.el (completion--message): New function.
8009 (completion--do-completion, minibuffer-complete)
8010 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8011 (completion--do-completion): Don't ignore completion-auto-help when in
8012 icomplete-mode.
8013
dd5a5ee0
SM
8014 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8015 internal encoding (e.g. tibetan zero is not whitespace).
8016 (global-whitespace-mode): Prefer save-current-buffer.
8017 (whitespace-trailing-regexp): Remove useless save-match-data.
8018 (whitespace-empty-at-bob-regexp): Minor simplification.
8019
b7d22a83
CY
80202011-05-03 Chong Yidong <cyd@stupidchicken.com>
8021
8022 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8023
5192af46
AM
80242011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8025
8026 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8027 Use `concat' to create string for insertion.
5192af46 8028
5767d190
SM
80292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8032 Avoid open-line which runs post-self-insert-hook.
8033 (bibtex-fill-entry): Remove unused `end' var.
8034
bf242939
AM
80352011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8036
5767d190
SM
8037 * textmodes/ispell.el (ispell-add-per-file-word-list):
8038 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8039
25666126
LL
80402011-05-03 Leo Liu <sdl.web@gmail.com>
8041
8042 * isearch.el (isearch-yank-pop): New command.
5767d190 8043 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8044 (isearch-forward): Mention it.
8045
52d3c2d0
SM
80462011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8047
1bcace58
SM
8048 * simple.el (minibuffer-complete-shell-command): Remove.
8049 (minibuffer-local-shell-command-map): Use completion-at-point.
8050 (read-shell-command): Setup completion vars here instead.
8051 (read-expression-map): Bind TAB to symbol completion.
8052
52d3c2d0
SM
8053 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8054 error directly rather via storing it into `results'.
8055
35813471
LL
80562011-05-02 Leo Liu <sdl.web@gmail.com>
8057
8058 * vc/diff.el: Fix description.
8059
e793a940
LMI
80602011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8061
8062 * server.el (server-eval-at): New function.
8063
8de66e05
LMI
80642011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8065
8066 * net/network-stream.el (open-network-stream): Take a :nowait
8067 parameter and pass it on to `make-network-process'.
8068 (network-stream-open-plain): Ditto.
8069
dcb79f20
AS
80702011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8071
8072 * faces.el (face-spec-set-match-display): Don't match toolkit
8073 options on terminal frames.
8074
14a7fbd8
SM
80752011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8076
7eabc1be
SM
8077 * progmodes/pascal.el: Use lexical binding.
8078 (pascal-mode-map): Remove author preferences.
8079
14a7fbd8
SM
8080 * pcomplete.el (pcomplete-std-complete): Don't abuse
8081 completion-at-point.
8082
50f84510
JB
80832011-04-28 Juanma Barranquero <lekktu@gmail.com>
8084
6e087a44
JB
8085 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8086 removing code that has been dead since 1991 or so.
8087
50f84510
JB
8088 * startup.el (command-line): When warning about "_emacs", use a
8089 delayed warning to allow the user to filter it out.
8090
0ba690bd
DD
80912011-04-28 Deniz Dogan <deniz@dogan.se>
8092
8093 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8094 user has not joined.
8095
08abfaad
SM
80962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8099 aren't any completions at point.
8100
638f053a
JB
81012011-04-28 Juanma Barranquero <lekktu@gmail.com>
8102
8103 * subr.el (display-delayed-warnings): New function.
8104 (delayed-warnings-hook): New variable.
8105
8fff8daa
SM
81062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8107
08abfaad
SM
8108 * minibuffer.el (completion-at-point, completion-help-at-point):
8109 Don't presume that a given completion-at-point-function will always
8110 use the same calling convention.
8111
8fff8daa
SM
8112 * pcomplete.el (pcomplete-completions-at-point):
8113 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8114 pcomplete-seen is non-nil.
8115 (pcomplete-comint-setup): Also recognize the new comint/shell
8116 completion functions.
8117 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8118 pcomplete-seen is non-nil.
8119
841a1577 81202011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8121
841a1577 8122 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8123 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8124 the first character in the entry. This allows for code to add its
211ec907
UJ
8125 own uid to the entry.
8126 (icalendar--convert-float-to-ical): Add export of
8127 `diary-float'-entries save for those with the optional DAY
8128 argument.
8129
2a782793
DC
81302011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8131
8132 * subr.el (shell-quote-argument): Use alternate escaping strategy
8133 when we spot a variable reference in a string.
8134
0438ce91
DC
81352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8136
8137 * cus-start.el (all): Define customization for debug-on-event.
8138
841a1577 81392011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8140
8141 * subr.el (shell-quote-argument): Escape correctly under Windows.
8142
d090ed6c
SM
81432011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8146
bfd31217
MA
81472011-04-25 Michael Albinus <michael.albinus@gmx.de>
8148
d090ed6c
SM
8149 * net/tramp.el (tramp-process-actions): Add POS argument.
8150 Delete region between POS and (pos).
bfd31217 8151
d090ed6c
SM
8152 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8153 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8154 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8155
8156 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8157 position in `tramp-process-actions' call.
8158
8159 * net/trampver.el: Update release number.
8160
e92f3bd3
SM
81612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8162
850256b5
SM
8163 * custom.el (defcustom): Obey lexical-binding.
8164
e92f3bd3
SM
8165 Fix octave-inf completion problems reported by Alexander Klimov.
8166 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8167 Inherit from octave-mode-syntax-table.
8168 (inferior-octave-mode): Set info-lookup-mode.
8169 (inferior-octave-completion-at-point): New function.
8170 (inferior-octave-complete): Use it and completion-in-region.
8171 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8172 comint-filename-completion.
8173 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8174 symbol elements which shouldn't be word elements.
8175 (octave-font-lock-keywords, octave-beginning-of-defun)
8176 (octave-function-header-regexp): Adjust regexps accordingly.
8177 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8178
cd22b309
JB
81792011-04-25 Juanma Barranquero <lekktu@gmail.com>
8180
8181 * net/gnutls.el (gnutls-errorp): Declare before first use.
8182
8b492194
TZ
81832011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8184
8185 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8186 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8187 default trustfile exists before going to use it. Add missing
5a5fa834 8188 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8189 Reported by Claudio Bley <claudio.bley@gmail.com>.
8190 (open-gnutls-stream): Add usage example.
8191
8192 * net/network-stream.el (network-stream-open-starttls): Give host
8193 parameter to `gnutls-negotiate'.
8194 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8195 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8196
841a1577 81972011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8198
cd22b309
JB
8199 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8200 Use correct match group (bug#8438).
05842630 8201
3ba7869c
CY
82022011-04-24 Chong Yidong <cyd@stupidchicken.com>
8203
512e3ae1
CY
8204 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8205 (package-menu--generate): New arg specifying packages to show.
8206 (package-menu-refresh, package-menu-execute, list-packages):
8207 Callers changed.
8208 (package-show-package-list): New function, replacing deleted
8209 package--list-packages (renamed because it is non-internal).
8210
8211 * finder.el (finder-list-matches): Use package-show-package-list
8212 instead of deleted package--list-packages.
8213
e92f3bd3
SM
8214 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8215 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8216 (vc-annotate-mode-map): Bind it to RET.
8217
7031be6d
UR
82182011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8219
8220 * progmodes/etags.el (next-file): Don't use set-buffer to change
8221 buffers (Bug#8478).
8222
4ef177aa
CY
82232011-04-24 Chong Yidong <cyd@stupidchicken.com>
8224
c8d173eb
CY
8225 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8226
4ef177aa
CY
8227 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8228 (apropos-accumulator): Doc fix.
8229 (apropos-function, apropos-macro, apropos-command)
8230 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8231 (apropos-plist): Add face property.
8232 (apropos-symbols-internal): Fix indentation.
8233 (apropos-print): Simplify help, and recognize apropos-multi-type.
8234 (apropos-print-doc): Use button-type-get to extract the button's
8235 face property. Fill docstring (Bug#8352).
8236
4ffd0d6b 82372011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8238
8239 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8240
c6c32125 8241 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8242 (mpuz-mode-map): Use mapc.
c6c32125
JB
8243 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8244 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8245 Fix typos in docstrings.
8246
58d468b4
JB
8247 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8248 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8249
6470c3c6
JB
8250 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8251
4ffd0d6b 82522011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8253
8254 * minibuffer.el (completion--do-completion): Avoid the "Next char
8255 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8256
3ad8bad0
CY
8257 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8258 mouse-2 into unread-command-events, it is interpreted correctly.
8259
71d73c9c 8260 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8261 (image-toggle-display): Doc fix.
71d73c9c 8262
841a1577 82632011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8264
4ffd0d6b
GM
8265 * textmodes/page.el (what-page): Use line-number-at-pos to
8266 calculate line number (Bug#6825).
6e1dbaa9 8267
c2fb1b60
JB
82682011-04-22 Juanma Barranquero <lekktu@gmail.com>
8269
8270 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8271 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8272 Pass argument NO-DEFAULT to `find-tag-interactive'.
8273
e02f48d7
JB
82742011-04-22 Juanma Barranquero <lekktu@gmail.com>
8275
8276 Lexical-binding cleanup.
8277
8278 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8279 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8280 * progmodes/ada-prj.el (ada-prj-initialize-values)
8281 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8282 (ada-prj-show-value):
8283 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8284 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8285 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8286 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8287 * progmodes/bug-reference.el (bug-reference-push-button):
8288 * progmodes/fortran.el (fortran-line-length):
8289 * progmodes/glasses.el (glasses-change):
8290 * progmodes/octave-mod.el (octave-fill-paragraph):
8291 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8292 (python-pdbtrack-grub-for-buffer, python-sentinel):
8293 * progmodes/sql.el (sql-save-connection):
8294 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8295 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8296 Mark unused parameters.
8297
8298 * progmodes/compile.el (compilation--flush-directory-cache)
8299 (compilation--flush-parse, compile-internal): Mark unused parameters.
8300 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8301 (compilation-next-error-function): Remove unused variable `timestamp'.
8302
8303 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8304 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8305
8306 * progmodes/dcl-mode.el (dcl-end-of-command):
8307 Remove unused variable `start'.
8308 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8309 (dcl-option-value-basic, dcl-option-value-offset)
8310 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8311 Mark unused parameters.
8312 (dcl-save-local-variable): Remove unused variable `val'.
8313 (mode): Declare.
8314
8315 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8316 Mark unused parameters.
8317 (delphi-ignore-changes): Move before first use.
8318 (delphi-charset-token-at): Remove unused variable `start'.
8319 (delphi-else-start): Remove unused variable `if-count'.
8320 (delphi-comment-block-start, delphi-comment-block-end):
8321 Remove unused variable `kind'.
8322 (delphi-indent-line): Remove unused variable `new-point'.
8323
8324 * progmodes/ebrowse.el (ebrowse-files-list)
8325 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8326 Mark unused parameters. Don't quote `lambda'.
8327 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8328 Don't quote `lambda'.
8329 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8330 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8331 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8332 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8333 Use `ignore-errors'.
8334 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8335 (ebrowse-view/find-file-and-search-pattern)
8336 (ebrowse-view/find-member-declaration/definition):
8337 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8338 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8339 Rename parameter PREFIX-ARG to PREFIX.
8340 (ebrowse-tags-read-name): Remove unused variables `start' and
8341 `member-info'.
8342 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8343 to `tags-file'.
8344
8345 * progmodes/etags.el (local-find-tag-hook): Declare.
8346 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8347 Mark unused parameters.
8348
8349 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8350 (executable-interpret): Mark unused parameter.
8351
8352 * progmodes/flymake.el (flymake-process-sentinel)
8353 (flymake-after-change-function)
8354 (flymake-create-temp-with-folder-structure)
8355 (flymake-get-include-dirs-dot): Mark unused parameters.
8356 (flymake-safe-delete-directory): Remove unused variable `err'.
8357
8358 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8359 (speedbar-timer-fn, speedbar-line-text)
8360 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8361 (speedbar-center-buffer-smartly): Declare functions.
8362 (gdb-find-watch-expression): Remove unused variable `array'.
8363 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8364 (gdb-starting): Mark unused parameters.
8365 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8366 (gdb-table-string): Remove unused variable `res'.
8367 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8368 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8369 (gdb-display-buffer): Remove unused variable `cur-size'.
8370
8371 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8372 allow lexical-binding compilation.
8373 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8374 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8375 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8376 Mark unused parameters.
8377 (gud-gdb-marker-filter): Remove unused variable `match'.
8378 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8379 lambda expressions and funcall them, instead of using `fset'.
8380
8381 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8382 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8383
8384 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8385 variable `header-beg'; use `let'.
8386
8387 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8388 `restart', `last-sexp' and `at-do'.
8389
8390 * progmodes/js.el (js--debug): Mark unused parameter.
8391 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8392 (js--splice-into-items): Remove unused variable `item'.
8393 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8394
8395 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8396 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8397 (makefile-complete): Remove unused variable `try'.
8398 (makefile-fill-paragraph, makefile-match-function-end):
8399 Mark unused parameters.
8400
8401 * progmodes/octave-inf.el (inferior-octave-complete):
8402 Remove unused variable `proc'.
8403 (inferior-octave-output-digest): Mark unused parameter.
8404
8405 * progmodes/perl-mode.el (perl-calculate-indent):
8406 Remove unused variable `err'.
8407
8408 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8409 (prolog-indent-line): Mark unused parameters.
8410 (prolog-indent-line): Remove unused variable `beg'.
8411
8412 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8413 (reporter-dont-compact-list): Declare.
8414
8415 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8416 Remove unused variable `char'.
8417 (sh-debug): Mark unused parameter.
8418 (sh-get-indent-info): Remove unused variable `start'.
8419 (sh-calculate-indent): Remove unused variable `var'.
8420
8421 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8422 (simula-electric-keyword): Remove unused variable `null'.
8423 (simula-search-backward, simula-search-forward): Remove unused
8424 variables `begin' and `end'.
8425
8426 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8427 Remove unused variable `pos'.
8428 (vera-electric-tab, vera-comment-uncomment-region):
8429 Mark unused parameters.
8430 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8431
7ede3b65
CY
84322011-04-22 Chong Yidong <cyd@stupidchicken.com>
8433
8434 * emacs-lisp/package.el (package--builtins, package-alist)
8435 (package-load-descriptor, package-built-in-p, package-activate)
8436 (define-package, package-installed-p)
8437 (package-compute-transaction, package-buffer-info)
8438 (package--push): Doc fix. Distinguish more clearly between
8439 version strings and version lists.
8440
121656e9
JB
84412011-04-21 Juanma Barranquero <lekktu@gmail.com>
8442
8443 Lexical-binding cleanup.
8444
8445 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8446 (5x5-make-mutate-best):
8447 * play/fortune.el (fortune-in-buffer):
8448 * play/gomoku.el (gomoku-init-display):
8449 * play/solitaire.el (solitaire, solitaire-do-check):
8450 * play/tetris.el (tetris-default-update-speed-function):
8451 Mark unused parameters.
8452
8453 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8454 (bubbles--shift): Remove unused variable `char-org'.
8455 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8456 (bubbles--show-images): Remove unused variable `char'.
8457
8458 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8459 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8460 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8461 (decipher-analyze-buffer): Use ?\s.
8462 (decipher-make-checkpoint): Remove unused variable `mapping'.
8463
8464 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8465
8466 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8467 Remove unused variable `result'; use `let'.
8468
8469 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8470 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8471 (gametree-children-shown-p, gametree-compute-reduced-score):
8472 Use `ignore-errors'.
8473
8474 * play/handwrite.el (ps-lpr-switches): Declare.
8475 (handwrite): Remove unused variables `pmin' and `lastp'.
8476
8477 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8478
8479 * play/landmark.el (landmark-init-display)
8480 (landmark-update-naught-weights): Mark unused parameters.
8481 (landmark-y): Remove unused variable `noise'. Simplify.
8482 (landmark-human-plays): Remove unused variable `score'.
8483
8484 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8485 (mpuz-try-proposal): Remove unused variable `game'.
8486
8487 * play/zone.el (life-patterns): Declare.
8488
80f499c7
JB
84892011-04-20 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * vc/vc.el (ediff-vc-internal): Declare function.
8492
024ff170
SM
84932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8494
c0a193ea
SM
8495 * shell.el: Use lexical-binding and std completion UI.
8496 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8497 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8498 comint-preoutput-filter-functions rather than on
8499 comint-output-filter-functions.
8500 (shell-command-completion, shell--command-completion-data)
8501 (shell-filename-completion, shell-environment-variable-completion)
8502 (shell-c-a-p-replace-by-expanded-directory): New functions.
8503 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8504 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8505 (shell-dynamic-complete-environment-variable): Use them.
8506 (shell-dynamic-complete-as-environment-variable)
8507 (shell-dynamic-complete-as-command): Remove.
8508 (shell-match-partial-variable): Match past point.
8509 * comint.el: Clean up use of completion-at-point-functions.
8510 (comint-completion-at-point): New function.
8511 (comint-mode): Use it completion-at-point-functions.
8512 (comint-dynamic-complete): Make it obsolete.
8513 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8514 (comint-c-a-p-replace-by-expanded-history): New function.
8515 (comint-dynamic-complete-functions)
8516 (comint-replace-by-expanded-history): Use it.
8517 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8518 termination strings. Try harder to avoid second try-completion.
8519 (completion-in-region-mode-map): Disable bindings that don't work yet.
8520
2dbaa080
SM
8521 * comint.el: Use lexical-binding. Require CL.
8522 (comint-dynamic-complete-functions): Use comint-filename-completion.
8523 (comint-completion-addsuffix): Tweak custom type.
8524 (comint-filename-completion, comint--common-suffix)
8525 (comint--common-quoted-suffix, comint--table-subvert)
8526 (comint--complete-file-name-data): New functions.
8527 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8528 (comint-dynamic-list-filename-completions): Use them.
8529 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8530
2dbaa080
SM
8531 * minibuffer.el (completion-in-region-mode):
8532 Keep completion-in-region-mode--predicate global.
8533 (completion-in-region--postch):
8534 Assume completion-in-region-mode--predicate is not null.
8535
c79a6f38
SM
8536 * progmodes/flymake.el (flymake-start-syntax-check-process):
8537 Obey `dir'. Simplify.
8538
024ff170
SM
8539 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8540 we're in VC after all.
8541
1c6c854e
CS
85422011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8543
8544 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8545 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8546 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8547
bed7f140
SM
85482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8549
332e62ab
SM
8550 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8551 add sanity check.
8552
bed7f140
SM
8553 * obsolete/erc-hecomplete.el: Make obsolete.
8554 * obsolete/: Standardize obsolescence info in the header.
8555
f195c582
GM
85562011-04-20 Glenn Morris <rgm@gnu.org>
8557
8558 * calendar/solar.el (solar-horizontal-coordinates):
8559 Use the longitude argument rather than `calendar-longitude'.
8560 (solar-date-next-longitude): Remove unused locals.
8561
cb79b8c0
VJL
85622011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8563
8564 * whitespace.el: New version 13.2.1.
8565
85662011-04-20 felix <EmacsWiki> (tiny change)
8567
d8e4b68b 8568 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8569 switching between major modes on a file.
8570
602ea69d
SM
85712011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8574 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8575 multi-line comments as well.
8576
06b60517
JB
85772011-04-19 Juanma Barranquero <lekktu@gmail.com>
8578
8579 Lexical-binding cleanup.
8580
8581 * arc-mode.el (archive-mode-revert):
8582 * cmuscheme.el (scheme-interactively-start-process):
8583 * custom.el (custom-initialize-delay):
8584 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8585 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8586 * emacs-lock.el (emacs-lock-clear-sentinel):
8587 * ezimage.el (defezimage):
8588 * follow.el (follow-avoid-tail-recenter):
8589 * fringe.el (set-fringe-mode-1):
8590 * generic-x.el (bat-generic-mode-compile):
8591 * help-mode.el (help-info-variable, help-do-xref)
8592 (help-mode-revert-buffer):
8593 * help.el (view-emacs-todo):
8594 * iswitchb.el (iswitchb-completion-help):
8595 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8596 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8597 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8598 * locate.el (locate-update):
8599 * longlines.el (longlines-encode-region)
8600 (longlines-after-change-function):
8601 * outline.el (outline-isearch-open-invisible):
8602 * ps-def.el (declare-function, charset-dimension, char-width)
8603 (encode-char):
8604 * ps-mule.el (ps-mule-plot-string):
8605 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8606 (recentf-edit-list-select, recentf-edit-list-validate)
8607 (recentf-open-files-action):
8608 * rect.el (delete-whitespace-rectangle-line)
8609 (rectangle-number-line-callback):
8610 * register.el (window-configuration-to-register)
8611 (frame-configuration-to-register):
8612 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8613 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8614 (xselect-convert-to-targets, xselect-convert-to-delete)
8615 (xselect-convert-to-filename, xselect-convert-to-charpos)
8616 (xselect-convert-to-lineno, xselect-convert-to-colno)
8617 (xselect-convert-to-os, xselect-convert-to-host)
8618 (xselect-convert-to-user, xselect-convert-to-class)
8619 (xselect-convert-to-name, xselect-convert-to-integer)
8620 (xselect-convert-to-atom, xselect-convert-to-identity):
8621 * subr.el (declare, ignore, process-kill-without-query)
8622 (text-clone-maintain):
8623 * terminal.el (te-get-char, te-tic-sentinel):
8624 * tool-bar.el (tool-bar-make-keymap):
8625 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8626 * type-break.el (type-break-mode, type-break-noninteractive-query):
8627 * view.el (View-back-to-mark):
8628 * wid-browse.el (widget-browse-action, widget-browse-widget)
8629 (widget-browse-widgets, widget-browse-sexp):
8630 * widget.el (define-widget-keywords):
8631 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8632 Mark unused parameters.
8633
8634 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8635 (align-areas): Remove unused variable `look'.
8636 (align-region): Remove unused variables `real-end' and `pos-list'.
8637
8638 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8639
8640 * bindings.el (mode-line-modified, mode-line-remote):
8641 Mark unused parameters.
8642 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8643
8644 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8645 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8646
8647 * comint.el (comint-history-isearch-pop-state)
8648 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8649 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8650 (comint-substitute-in-file-name): Doc fix.
8651
8652 * completion.el (cmpl-statistics-block): Mark unused parameter.
8653 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8654 (save-completions-to-file, load-completions-from-file):
8655 Remove unused local variable `e'.
8656
8657 * composite.el (compose-chars): Remove unused variable `len'.
8658 (lgstring-insert-glyph): Remove unused variable `g'.
8659 (compose-glyph-string): Remove unused variables `ascent',
8660 `descent', `lbearing' and `rbearing'.
8661 (compose-glyph-string-relative): Remove unused variables
8662 `lbearing', `rbearing' and `wadjust'.
8663 (compose-gstring-for-graphic): Remove unused variables `header',
8664 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8665 (compose-gstring-for-terminal): Remove unused variables `header'
8666 and `nchars'. Use `let', not `let*'.
8667
8668 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8669 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8670 (Custom-buffer-done, custom-buffer-create-internal)
8671 (custom-browse-visibility-action, custom-browse-group-tag-action)
8672 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8673 (widget-magic-mouse-down-action, custom-toggle-parent)
8674 (custom-add-parent-links, custom-toggle-hide-variable)
8675 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8676 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8677 (custom-face-menu-create, custom-variable-menu-create, get)
8678 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8679 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8680 (customize-apropos): Remove unused variable `tests'.
8681 (custom-group-value-create): Remove unused variable `hidden-p'.
8682 (sort-fold-case): Declare.
8683
8684 * cus-theme.el (custom-reset-standard-faces-list)
8685 (custom-reset-standard-variables-list): Declare.
8686 (customize-create-theme, custom-theme-revert, custom-theme-write)
8687 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8688 Mark unused parameters.
8689
8690 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8691
8692 * delim-col.el (delimit-columns-max): Move defvar before first use.
8693
8694 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8695 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8696
8697 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8698 (auto-insert): Declare.
8699 (desktop-restore-file-buffer): Rename desktop-* parameters;
8700 mark unused ones.
8701 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8702 (desktop-buffer): Rename desktop-* parameters.
8703
8704 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8705 (dframe-reposition-frame-xemacs, dframe-help-echo)
8706 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8707 Mark unused parameters.
8708
8709 * dired-aux.el (backup-extract-version-start, overwrite-query)
8710 (overwrite-backup-query, rename-regexp-query)
8711 (rename-non-directory-query): Declare.
8712 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8713 (dired-add-entry): Remove unused variable `orig-file-name'.
8714 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8715 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8716 `dired-copy-preserve-time' directly.
8717 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8718 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8719
8720 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8721 (dired-virtual-revert, dired-make-relative-symlink):
8722 Mark unused parameters.
8723 (manual-program): Declare.
8724 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8725 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8726 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8727
8728 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8729
8730 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8731
8732 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8733 Declare.
8734
8735 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8736
8737 * electric.el (Electric-command-loop): Rename parameter
8738 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8739
8740 * expand.el (expand-in-literal): Remove unused variable `here'.
8741
8742 * facemenu.el (facemenu-add-new-color):
8743 Remove unused variable `docstring'.
8744
8745 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8746 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8747 (face-attr-construct): Mark unused parameter. Doc fix.
8748 (read-color): Remove unused variable `hex-string'.
8749
8750 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8751 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8752 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8753 (display-buffer-other-frame): Remove unused variable `old-window'.
8754 (kill-buffer-hook): Declare.
8755 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8756 Mark unused parameters.
8757 (after-find-file): Pass 1 to `auto-save-mode', not t.
8758
8759 * files-x.el (auto-insert): Declare.
8760 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8761
8762 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8763 variable `buf'. Mark unused parameter.
06b60517
JB
8764 (find-lisp-insert-directory): Mark unused parameter.
8765
8766 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8767 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8768 (format-common-tail): Remove, unused.
8769 (format-deannotate-region): Remove unused variable `loc'.
8770 (format-annotate-region): Remove unused variable `p'.
8771 (format-annotate-single-property-change): Remove unused variables
8772 `default' and `tail'.
8773
8774 * forms.el (read-file-filter): Declare.
8775 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8776
8777 * frame.el (frame-creation-function-alist): Mark unused parameter.
8778 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8779
8780 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8781 Remove unused parameters.
8782 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8783 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8784
8785 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8786 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8787 (hfy-prepare-tag-map): Mark unused parameters.
8788 (htmlfontify-buffer): Use `called-interactively-p'.
8789
8790 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8791 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8792 (ibuffer-do-occur): Mark unused parameters.
8793 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8794 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8795
8796 * ibuffer.el: Don't quote `lambda'.
8797 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8798 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8799 Mark unused parameters.
8800
8801 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8802 (ido-completing-read): Mark unused parameters.
8803 (ido-copy-current-word): Mark unused parameters;
8804 remove unused variable `name'.
8805 (ido-sort-merged-list): Remove unused parameter `dirs'.
8806
8807 * ielm.el (ielm-input-sender): Mark unused parameter.
8808 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8809 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8810 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8811 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8812 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8813
8814 * image-dired.el (image-dired-display-thumbs): Remove unused
8815 variables `curr-file' and `count'.
8816 (image-dired-remove-tag): Remove unused variable `start'.
8817 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8818 variable `curr-file'
8819 (image-dired-rotate-original): Remove unused variable `temp-file'.
8820 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8821 Remove unused variable `file'.
8822 (image-dired-gallery-generate): Remove unused variable `curr'.
8823 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8824
8825 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8826
8827 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8828
8829 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8830
8831 * isearch.el (minibuffer-history-symbol): Declare.
8832 (isearch-edit-string): Remove unused variable `err'.
8833 (isearch-message-prefix, isearch-message-suffix):
8834 Mark unused parameters.
8835
8836 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8837
8838 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8839
8840 * makesum.el (double-column): Remove unused variable `cnt'.
8841
8842 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8843 (ido-ignore-item-temp-list): Declare.
8844
8845 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8846 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8847 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8848 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8849 `mouse-col-delta'.
8850
8851 * mouse-sel.el (mouse-extend-internal):
8852 Remove unused variable `orig-window-frame'.
8853
8854 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8855 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8856 Move declarations before first use.
8857 (pcomplete-opt): Mark unused parameters; doc fix.
8858
8859 * proced.el (proced-revert): Mark unused parameter.
8860 (proced-send-signal): Remove unused variable `err'.
8861
8862 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8863 Rename parameter PREFIX-ARG to ARG.
8864 (ps-basic-plot-string, ps-basic-plot-whitespace):
8865 Mark unused parameters.
8866
8867 * replace.el (replace-count): Define.
8868 (occur-revert-function): Mark unused parameters.
8869 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8870 (isearch-case-fold-search, isearch-string): Declare.
8871 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8872 bind `case-fold-search'. Remove unused variables `beg' and `end',
8873 and simplify.
8874 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8875 COUNT and bind `replace-count'.
8876 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8877 to COUNT.
8878
8879 * savehist.el (print-readably, print-string-length): Declare.
8880
8881 * shadowfile.el (shadow-expand-cluster-in-file-name):
8882 Remove unused variable `cluster'.
8883 (shadow-copy-file): Remove unused variable `i'.
8884 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8885 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8886 (shadow-define-literal-group, shadow-define-regexp-group)
8887 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8888
8889 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8890 (shell): Use `called-interactively-p'.
8891 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8892
8893 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8894 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8895 (delete-backward-char): Remove unused variable `ocol'.
8896 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8897 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8898 (event-apply-hyper-modifier, event-apply-shift-modifier)
8899 (event-apply-control-modifier, event-apply-meta-modifier):
8900 Mark unused parameters.
8901 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8902 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8903
8904 * speedbar.el (speedbar-ignored-directory-expressions)
8905 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8906 (speedbar-find-file, speedbar-dir-follow)
8907 (speedbar-directory-buttons-follow, speedbar-tag-find)
8908 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8909 (speedbar-buffers-line-directory, speedbar-buffer-click):
8910 Mark unused parameters.
8911 (speedbar-tag-file): Remove unused variable `mode'.
8912 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8913
8914 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8915
8916 * talk.el (talk): Remove unused variable `display'.
8917
8918 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8919 (tar-write-region-annotate): Mark unused parameter.
8920
8921 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8922 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8923 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8924 warning by another.
8925
8926 * time-stamp.el (time-stamp-string-preprocess):
8927 Remove unused variable `require-padding'.
8928
8929 * tree-widget.el (widget-glyph-enable): Declare.
8930 (tree-widget-action): Mark unused parameter.
8931
8932 * w32-fns.el (x-get-selection): Mark unused parameter.
8933 (autoload-make-program, generated-autoload-file): Declare.
8934
8935 * wdired.el (wdired-revert): Mark unused parameters.
8936 (wdired-xcase-word): Remove unused variable `err'.
8937
8938 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8939 (whitespace-help-scroll): Remove unused variable `data-help'.
8940
8941 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8942 (widget-image-insert, widget-after-change, default)
8943 (widget-default-format-handler, widget-default-notify)
8944 (widget-default-prompt-value, widget-info-link-action)
8945 (widget-url-link-action, widget-function-link-action)
8946 (widget-variable-link-action, widget-file-link-action)
8947 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8948 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8949 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8950 (widget-insert-button-action, widget-delete-button-action, visibility)
8951 (widget-documentation-link-action, widget-documentation-string-action)
8952 (widget-const-prompt-value, widget-regexp-match, symbol)
8953 (widget-coding-system-prompt-value)
8954 (widget-key-sequence-value-to-external, sexp)
8955 (widget-sexp-value-to-internal, character, vector, cons)
8956 (widget-choice-prompt-value, widget-boolean-prompt-value)
8957 (widget-color--choose-action): Mark unused parameters.
8958 (widget-item-match-inline, widget-choice-match-inline)
8959 (widget-checklist-match, widget-checklist-match-inline)
8960 (widget-group-match): Rename parameter VALUES to VALS.
8961 (widget-field-value-set): Remove unused variable `size'.
8962 (widget-color-action): Remove unused variables `value' and `start'.
8963
8964 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8965 variable `dir'. Doc fix.
06b60517
JB
8966 (windmove-find-other-window): Don't pass it.
8967
8968 * window.el (count-windows): Mark unused parameter.
8969 (bw-adjust-window): Remove unused variable `err'.
8970
8971 * woman.el (woman-file-name): Remove unused variable `default'.
8972 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8973 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8974 (global-font-lock-mode): Declare.
8975 (woman-decode-region): Mark unused parameter.
8976 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8977
8978 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8979 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8980 (x-dnd-handle-moz-url): Remove unused variable `title'.
8981 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8982
8983 * xml.el (xml-parse-tag, xml-parse-attlist):
8984 Remove unused variable `pos'.
8985
bc4f7f3d
GM
89862011-04-19 Glenn Morris <rgm@gnu.org>
8987
8988 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8989 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8990 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8991 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8992 * calendar/cal-html.el (cal-html-insert-minical):
8993 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8994 (calendar-mark-date-pattern):
8995 Prefix "unused" locals.
8996
8997 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8998 optional argument `style'.
8999
9000 * calendar/appt.el (appt-make-list):
9001 * calendar/cal-china.el (calendar-chinese-date-string):
9002 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9003 (diary-hebrew-yahrzeit):
9004 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9005 * calendar/calendar.el (calendar-generate-window):
9006 * calendar/time-date.el (time-to-days):
9007 Remove unused local variables.
9008
16a43933
CY
90092011-04-18 Chong Yidong <cyd@stupidchicken.com>
9010
9011 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9012 glyphless-char-display table.
9013 (tabulated-list-glyphless-char-display): New var.
9014
7eed1860
SS
90152011-04-18 Sam Steingold <sds@gnu.org>
9016
9017 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9018 to acknowledgments.
9019
4d2d1ccd
GM
90202011-04-17 Glenn Morris <rgm@gnu.org>
9021
9022 * calendar/diary-lib.el (diary-sexp-entry):
9023 * calendar/holidays.el (holiday-sexp):
9024 Set debug-on-error rather than the removed stack-trace-on-error.
9025
239da61d
GM
90262011-04-16 Glenn Morris <rgm@gnu.org>
9027
9028 * progmodes/f90.el: Use lexical-binding.
9029 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9030
8b05752a
SM
90312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9032
daca8ba5
SM
9033 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9034 (mail-mode): Setup mailalias completion here instead.
9035 * mail/mailalias.el: Use lexical-binding.
9036 (pattern, mailalias-done): Declare dynamic.
9037 (mail-completion-at-point-function): New function, from mail-complete.
9038 (mail-complete): Use it.
9039 (mail-completion-expand): New function.
9040 (mail-get-names): Use it.
9041 (mail-directory, mail-directory-process, mail-directory-stream):
9042 Don't use `pattern' for lexically bound arg.
9043
6f542485
SM
9044 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9045
037e7c3f
SM
9046 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9047 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9048 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9049
8b05752a
SM
9050 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9051 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9052 (byte-interactive-p): Define them again, for use when inlining
9053 old code.
9054
49093f60
JB
90552011-04-15 Juanma Barranquero <lekktu@gmail.com>
9056
9057 * loadup.el: Use `string-to-number', not `string-to-int'.
9058
b5b8e7de
SM
90592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9062 gud-gdb-complete-command.
9063 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9064 (gud-gdb-completion-at-point): New function.
9065 (gud-gdb-completions): Remove.
9066
f42efeb5
MA
90672011-04-14 Michael Albinus <michael.albinus@gmx.de>
9068
49093f60
JB
9069 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9070 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9071 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9072 whether `executable-find' is bound.
f42efeb5
MA
9073
9074 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9075
e240cc21
SM
90762011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9077
9078 * minibuffer.el (completion-in-region-mode-predicate)
9079 (completion-in-region-mode--predicate): New vars.
9080 (completion-in-region, completion-in-region--postch)
9081 (completion-in-region-mode): Use them.
9082 (completion--capf-wrapper): Also return the hook function.
9083 (completion-at-point, completion-help-at-point):
9084 Adjust and provide a predicate.
c2bd2ab0
SM
9085
9086 Preserve arg names for advice of subr and lexical functions (bug#8457).
9087 * help-fns.el (help-function-arglist): Consolidate the subr and
9088 new-byte-code cases. Add argument `preserve-names' to extract names
9089 from the docstring when needed.
9090 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9091 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9092 (ad-arglist): Use help-function-arglist's new arg.
9093 (ad-definition-type): Use cond.
9094
c183f693
JB
90952011-04-13 Juanma Barranquero <lekktu@gmail.com>
9096
06641a47
JB
9097 * autorevert.el (auto-revert-handler):
9098 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9099 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9100 Don't quote lambda.
9101
c183f693
JB
9102 * image-mode.el (image-transform-set-scale):
9103 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9104
1e3b6001
G
91052011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9106
9107 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9108 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9109 Upgrades via gnutls-cli are too slow to be done opportunistically.
9110
2d6af8dd
JB
91112011-04-12 Juanma Barranquero <lekktu@gmail.com>
9112
9113 * dframe.el (dframe-current-frame): Remove spurious quote.
9114
c0749a51
GM
91152011-04-12 Glenn Morris <rgm@gnu.org>
9116
088d0d61
GM
9117 * calendar/cal-tex.el (cal-tex-end-document):
9118 Try to automatically use latin1 input if needed.
9119
c0749a51
GM
9120 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9121 Don't try to cons a mark onto an empty element.
9122
5c90fde0
LL
91232011-04-11 Leo Liu <sdl.web@gmail.com>
9124
9125 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9126 buffers.
9127 (ido-kill-buffer-at-head): Support killing virtual buffers.
9128
369e974d
CY
91292011-04-10 Chong Yidong <cyd@stupidchicken.com>
9130
9131 * minibuffer.el (completion-show-inline-help): New var.
9132 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9133 (minibuffer-force-complete, minibuffer-complete-word):
9134 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9135
9136 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9137 to avoid interference from inline help (Bug#5849).
9138
37f1c930
LL
91392011-04-10 Leo Liu <sdl.web@gmail.com>
9140
099c39a4
JB
9141 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9142 Fix typo.
37f1c930 9143
a32d4040
CY
91442011-04-09 Chong Yidong <cyd@stupidchicken.com>
9145
9146 * image-mode.el (image-toggle-display-image): Signal an error if
9147 not in Image mode.
9148 (image-transform-mode, image-transform-resize)
9149 (image-transform-set-rotation): Doc fix.
daca8ba5 9150 (image-transform-set-resize): Delete.
a32d4040
CY
9151 (image-transform-set-scale, image-transform-fit-to-height)
9152 (image-transform-fit-to-width): Handle image-toggle-display-image
9153 and image-transform-resize directly.
9154
099c39a4 91552011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9156
9157 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9158 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9159 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9160 (doc-view-mode-map): Add bindings for the new functions.
9161
099c39a4 91622011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9163
4d61f28d 9164 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9165 Fix typo in docstring.
9166
3726838a
EZ
91672011-04-08 Eli Zaretskii <eliz@gnu.org>
9168
04f33f1e
EZ
9169 * files.el (file-size-human-readable): Produce one digit after
9170 decimal, like "ls -lh" does.
9171
9172 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9173 the file size representation.
9174
3726838a
EZ
9175 * simple.el (list-processes): If async subprocesses are not
9176 available, error out with a clear error message.
9177
cbb59342
CY
91782011-04-08 Chong Yidong <cyd@stupidchicken.com>
9179
9180 * help.el (help-form-show): New function, to be called from C.
9181 Put help-form output in a buffer named differently than *Help*.
9182
e3971c44
EZ
91832011-04-08 Eli Zaretskii <eliz@gnu.org>
9184
9185 * files.el (file-size-human-readable): New function.
9186
9187 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9188 computing the representation inline. Don't require `cl'.
9189
12544bbe
GM
91902011-04-08 Glenn Morris <rgm@gnu.org>
9191
a1de6c6a
GM
9192 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9193
3c4671f4
GM
9194 * net/browse-url.el (browse-url-firefox):
9195 Test system-type, not system-configuration.
9196
b605679c
GM
9197 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9198 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9199 Use log-edit-empty-buffer-p. (Bug#7598)
9200
56442f0c
GM
9201 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9202 (rlogin-mode-map): Initialize in the defvar.
9203 (rlogin): Use ignore-errors.
9204
12544bbe
GM
9205 * replace.el (occur-mode-map): Some fixes for menu items.
9206
eb237b0f
AH
92072011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9208
9209 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9210
7d668f2c
CY
92112011-04-06 Chong Yidong <cyd@stupidchicken.com>
9212
e67a13ab
CY
9213 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9214 issuing unused warnings.
9215
9216 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9217 macro directly.
9218
7d668f2c
CY
9219 * simple.el: Lisp reimplement of list-processes. Based on an
9220 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9221 (process-menu-mode): New major mode.
9222 (list-processes--refresh, list-processes):
9223 (process-menu-visit-buffer): New functions.
9224
9225 * files.el (save-buffers-kill-emacs): Don't assume any return
9226 value of list-processes, which is undocumented anyway.
9227
a83ec3c9
CY
92282011-04-06 Chong Yidong <cyd@stupidchicken.com>
9229
9230 * emacs-lisp/tabulated-list.el: New file.
9231
e91a96fe
CY
9232 * emacs-lisp/package.el: Use Tabulated List mode.
9233 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9234 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9235 table format using Tabulated List mode variables.
9236 (package--push): New macro, replacing package-list-maybe-add.
9237 (package-menu--generate): Use package--push. Renamed from
9238 package--generate-package-list.
9239 (package-menu-refresh, list-packages): Use it.
daca8ba5 9240 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9241 Return insertion data instead of inserting it directly.
099c39a4
JB
9242 (package-menu-describe-package, package-menu-execute):
9243 Use tabulated-list-get-id.
e91a96fe
CY
9244 (package-menu-mark-delete, package-menu-mark-install)
9245 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9246 (package-menu-mark-obsolete-for-deletion):
9247 Use tabulated-list-put-tag.
e91a96fe
CY
9248 (package--list-packages, package-menu-revert)
9249 (package-menu-get-package, package-menu-get-version)
9250 (package-menu-sort-by-column): Functions deleted.
9251 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9252 (package-menu--status-predicate, package-menu--version-predicate)
9253 (package-menu--name-predicate)
9254 (package-menu--description-predicate): Handle arguments in the
9255 Tabulated List format.
9256 (package-list-packages-no-fetch): Call list-packages.
9257
3e214b50
JB
92582011-04-06 Juanma Barranquero <lekktu@gmail.com>
9259
9260 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9261 (after-find-file): Don't bind it.
3e214b50
JB
9262 (revert-buffer-in-progress-p): New variable.
9263 (revert-buffer): Bind it.
9264 Pass nil for `after-find-file-from-revert-buffer'.
9265
9266 * saveplace.el (save-place-find-file-hook): Use new variable
9267 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9268
3f0f1700
GM
92692011-04-06 Glenn Morris <rgm@gnu.org>
9270
c0274801
GM
9271 * Makefile.in (AUTOGEN_VCS): New variable.
9272 (autoloads): Use $AUTOGEN_VCS.
9273
3f0f1700
GM
9274 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9275 * calendar/calendar.el (calendar-mode-map):
9276 Check for toolkit scroll bars. (Bug#8305)
9277
41ea9e48
CY
92782011-04-05 Chong Yidong <cyd@stupidchicken.com>
9279
9280 * minibuffer.el (completion-in-region--postch)
9281 (completion-in-region-mode): Remove unnecessary messages.
9282
6194c800
JB
92832011-04-05 Juanma Barranquero <lekktu@gmail.com>
9284
33256f14
JB
9285 * font-lock.el (font-lock-refresh-defaults):
9286 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9287 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9288
6194c800
JB
9289 * info.el (Info-directory-list, Info-read-node-name-2)
9290 (Info-split-parameter-string): Doc fixes.
9291 (Info-virtual-nodes): Reflow docstring.
9292 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9293 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9294 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9295 Fix typos in docstrings.
9296 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9297 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9298 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9299 (Info-restore-desktop-buffer): Mark unused parameters.
9300 (Info-directory-find-file, Info-directory-find-node)
9301 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9302 (Info-virtual-index-find-node, Info-apropos-find-file)
9303 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9304 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9305 (Info-virtual-index): Remove unused local variable `nodename'.
9306
b87a8200 93072011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9308
b87a8200
DD
9309 * net/rcirc.el: Update my e-mail address.
9310 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9311
3b2ff876
CY
93122011-04-05 Chong Yidong <cyd@stupidchicken.com>
9313
9314 * startup.el (command-line): Save the cursor's theme-face
9315 directly, instead of using face-override-spec.
9316
9317 * custom.el (load-theme): Minor optimization in assigning faces.
9318
8d17e7ca
JB
93192011-04-04 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * help-fns.el (describe-variable): Complete all variables having
9322 documentation, including keywords.
9323 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9324
2fbc1934
JB
93252011-04-04 Juanma Barranquero <lekktu@gmail.com>
9326
9327 Convert to lexical-binding.
9328
9329 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9330 (bs--get-marked-string, bs--get-modified-string)
9331 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9332 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9333 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9334
9335 * ehelp.el (electric-help-execute-extended)
9336 (electric-help-ctrl-x-prefix):
9337 * hexl.el (hexl-revert-buffer-function):
9338 * linum.el (linum-after-change, linum-after-scroll):
9339 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9340
9341 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9342
74f50695
DU
93432011-04-04 Daiki Ueno <ueno@unixuser.org>
9344
9345 * epa-dired.el:
9346 * epa-mail.el:
9347 * epa-hook.el:
9348 * epa-file.el:
9349 * epa.el:
9350 * epg.el: Use lexical binding.
9351
c11325f7
CY
93522011-04-03 Chong Yidong <cyd@stupidchicken.com>
9353
0d9e9a12
CY
9354 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9355
c11325f7 9356 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9357 dictionary case for flyspell-mark-duplications-exceptions.
9358 Use regexp matching for languages.
c11325f7
CY
9359 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9360 default dictionary (Bug#7926).
9361
da91b5f2
CY
93622011-04-02 Chong Yidong <cyd@stupidchicken.com>
9363
099c39a4
JB
9364 * emacs-lisp/package.el (package--with-work-buffer):
9365 Recognize https URLs.
da91b5f2 9366
099c39a4
JB
9367 * net/network-stream.el: Move from gnus/proto-stream.el.
9368 Change prefix to network-stream throughout.
da91b5f2
CY
9369 (open-protocol-stream): Merge into open-network-stream, leaving
9370 open-protocol-stream as an alias. Handle nil BUFFER args.
9371
9372 * subr.el (open-network-stream): Move to net/network-stream.el.
9373
afa8e9f6
GM
93742011-04-02 Glenn Morris <rgm@gnu.org>
9375
1d2e369d
GM
9376 * find-dired.el (find-exec-terminator): New option.
9377 (find-ls-option): Test for -ls support.
9378 (find-ls-subdir-switches): Test for -b in find-ls-option.
9379 (find-dired, find-grep-dired): Doc fixes.
9380 (find-dired): Use find-exec-terminator.
9381
8abb7da8 9382 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9383 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9384 (find-name-arg): Remove purecopy.
8abb7da8 9385
f3ca7378
GM
9386 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9387 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9388 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9389 accordingly. Don't add the null-device if not needed.
9390
afa8e9f6
GM
9391 * files.el (save-some-buffers): Doc fix.
9392
35eae264
EZ
93932011-04-02 Eli Zaretskii <eliz@gnu.org>
9394
9395 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9396
26b51db5
JB
93972011-04-01 Juanma Barranquero <lekktu@gmail.com>
9398
9399 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9400 Use `dolist' rather than `mapcar'.
9401
7200d79c
SM
94022011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9403
03408648 9404 Add lexical binding.
7200d79c 9405
03408648
SM
9406 * subr.el (apply-partially): Use new closures rather than CL.
9407 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9408 (dolist, dotimes): Use slightly different expansion for lexical code.
9409 (functionp): Move to C.
9410 (letrec): New macro.
9411 (with-wrapper-hook): Use it and apply-partially instead of CL.
9412 (eval-after-load): Preserve lexical-binding.
9413 (save-window-excursion, with-output-to-temp-buffer): Turn them
9414 into macros.
7200d79c 9415
03408648
SM
9416 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9417
9418 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9419 than the arglist.
9420 (help-add-fundoc-usage): Don't add `Not documented'.
9421 (help-function-arglist): Handle closures, subroutines, and new
9422 byte-code-functions.
9423 (help-make-usage): Remove leading underscores.
9424 (describe-function-1): Handle closures.
9425 (describe-variable): Use special-variable-p for completion.
9426
9427 * files.el (lexical-binding): Declare safe.
f488fb65 9428
03408648
SM
9429 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9430 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9431 (pcase): Add `let' pattern.
9432 Change memoization so it actually works.
9433 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9434 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9435 <let>: New case.
f488fb65 9436
03408648
SM
9437 * emacs-lisp/macroexp.el: Use lexical binding.
9438 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9439 Don't convert ' to #' without checking that it's indeed quoting
9440 a lambda.
9441
9442 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9443 Use eval-sexp-add-defvars.
03408648
SM
9444 (eval-sexp-add-defvars): New fun.
9445
9446 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9447
9448 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9449 Don't autoload.
9450 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9451 than the internal `byte-compile-lambda'.
9452 (defmethod): Don't hide code under quotes.
9453 (eieio-defmethod): New `code' argument.
9454
9455 * emacs-lisp/eieio-comp.el: Remove.
9456
9457 * emacs-lisp/edebug.el (edebug-eval-defun)
9458 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9459 (edebug-toggle): Avoid `eval'.
9460
9461 * emacs-lisp/disass.el (disassemble-internal): Handle new
9462 `closure' objects.
9463 (disassemble-1): Handle new byte codes.
9464
9465 * emacs-lisp/cl.el (pushnew): Silence warning.
9466
9467 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9468 (cl-byte-compile-throw): Remove.
9469 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9470
9471 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9472 closures.
9473
9474 * emacs-lisp/cconv.el: New file.
9475
9476 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9477 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9478 (byte-compile-initial-macro-environment):
9479 Handle declare-function here.
9480 (byte-compile--lexical-environment): New var.
9481 (byte-stack-ref, byte-stack-set, byte-discardN)
9482 (byte-discardN-preserve-tos): New lap codes.
9483 (byte-interactive-p): Don't use any more.
9484 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9485 New macros.
9486 (byte-compile-lapcode): Use them and handle new lap codes.
9487 (byte-compile-obsolete): Remove.
9488 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9489 (byte-compile-arglist-warn): Check late def of inlinable funs.
9490 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9491 since they should have been expanded by now.
9492 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9493 (byte-compile-from-buffer): Remove unused second arg.
9494 (byte-compile-preprocess): New function.
9495 (byte-compile-toplevel-file-form): New function to distinguish
9496 file-form calls from outside from file-form calls from hunk-handlers.
9497 (byte-compile-file-form): Simplify.
9498 (byte-compile-file-form-defsubst): Remove.
9499 (byte-compile-file-form-defmumble): Simplify now that
9500 byte-compile-lambda always returns a byte-code-function.
9501 (byte-compile): Preprocess.
9502 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9503 Remove, not used any more.
9504 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9505 (byte-compile-make-args-desc): New funs.
9506 (byte-compile-lambda): Handle lexical functions. Always return
9507 a byte-code-function.
9508 (byte-compile-reserved-constants): New var, to make up room for
9509 closed-over variables.
9510 (byte-compile-constants-vector): Obey it.
9511 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9512 (byte-compile-macroexpand-declare-function): New function.
9513 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9514 byte-code-functions.
9515 (byte-compile-form): Check obsolescence here.
9516 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9517 (byte-compile-variable-ref): Remove.
9518 (byte-compile-dynamic-variable-op): New fun.
9519 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9520 (byte-compile-variable-set): New funs.
9521 (byte-compile-discard): Add 2 args.
9522 (byte-compile-stack-ref, byte-compile-stack-set)
9523 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9524 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9525 macroexpand-all instead.
9526 (byte-compile-quote-form): Remove.
9527 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9528 (byte-compile-bind, byte-compile-unbind): New funs.
9529 (byte-compile-let): Handle let* and lexical binding.
9530 (byte-compile-let*): Remove.
9531 (byte-compile-catch, byte-compile-unwind-protect)
9532 (byte-compile-track-mouse, byte-compile-condition-case):
9533 Handle a new :fun-body form, used for lexical scoping.
9534 (byte-compile-save-window-excursion)
9535 (byte-compile-with-output-to-temp-buffer): Remove.
9536 (byte-compile-defun): Simplify.
9537 (byte-compile-stack-adjustment): New fun.
9538 (byte-compile-out): Use it.
9539 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9540
9541 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9542 handler any more.
9543
9544 * emacs-lisp/byte-opt.el: Use lexical binding.
9545 (byte-inline-lapcode): Remove (to bytecomp).
9546 (byte-compile-inline-expand): Pay attention to inlining to/from
9547 lexically bound code.
9548 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9549 any more.
9550 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9551 any more and don't call compiler-macros.
9552 (byte-compile-splice-in-already-compiled-code): Remove.
9553 (byte-code): Don't inline any more.
9554 (disassemble-offset): Receive `bytes' as argument rather than via
9555 dynamic scoping.
9556 (byte-compile-tag-number): Declare before first use.
9557 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9558 `return' even if make-spliceable.
9559 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9560 obsolete interactive-p.
9561 (byte-optimize-lapcode): Optimize new lap-codes.
9562 Don't trip up on new form of `byte-constant' lap code.
9563
9564 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9565
9566 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9567
9568 * custom.el (custom-initialize-default, custom-declare-variable):
9569 Use `defvar'.
9570
9571 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9572 New variables.
9573 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9574 (COMPILE_FIRST): Add macroexp and cconv.
9575 * makefile.w32-in: Mirror changes in Makefile.in.
9576
9577 * vc/cvs-status.el:
9578 * vc/diff-mode.el:
9579 * vc/log-edit.el:
9580 * vc/log-view.el:
9581 * vc/smerge-mode.el:
9582 * textmodes/bibtex-style.el:
9583 * textmodes/css.el:
9584 * startup.el:
9585 * uniquify.el:
da91b5f2
CY
9586 * minibuffer.el:
9587 * newcomment.el:
9588 * reveal.el:
9589 * server.el:
9590 * mpc.el:
9591 * emacs-lisp/smie.el:
9592 * doc-view.el:
9593 * dired.el:
03408648
SM
9594 * abbrev.el: Use lexical binding.
9595
0f0c1f27
EZ
95962011-04-01 Eli Zaretskii <eliz@gnu.org>
9597
9598 * info.el (info-display-manual): New function.
9599
c82b2579
SM
96002011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9603
221ddf68
TH
96042011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9605
9606 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9607 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9608
cba6e77e
GM
96092011-03-31 Glenn Morris <rgm@gnu.org>
9610
e040639f
GM
9611 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9612
cba6e77e
GM
9613 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9614
6d0f1c9e
CS
96152011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9616
9617 * progmodes/python.el (python-default-interpreter)
9618 (python-python-command-args, python-jython-command-args)
9619 (python-which-shell, python-which-args, python-which-bufname)
9620 (python-file-queue, python-comint-output-filter-function)
9621 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9622 variables and functions.
9623
3e2d70fd
SM
96242011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9627 (completion-in-region-mode): New minor mode.
9628 (completion-in-region): Use it.
9629 (completion-in-region--data, completion-in-region-mode-map): New vars.
9630 (completion-in-region--postch): New function.
9631 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9632 New vars.
9633 (completion--capf-wrapper): New function.
9634 (completion-at-point): Use it to track well-behavedness of
9635 hook functions.
9636 (completion-help-at-point): New command.
9637
f3e4086c
JM
96382011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9639
9640 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9641 syntax class to search for whitespace on a single line
9642 (Message-ID: <4D938140.4030905@redhat.com>).
9643
eb7ffc14
LL
96442011-03-30 Leo Liu <sdl.web@gmail.com>
9645
9646 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9647 New commands.
9648 (edit-abbrevs-map): Bind them here.
9649 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9650
d806ab68
KM
96512011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9652
9653 * allout.el (allout-hide-by-annotation, allout-flag-region):
9654 Reduce possibility of overlay leakage by making them volatile.
9655
9656 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9657 hash is not shared between buffers. Mode initialization is
9658 responsible for giving it a useful starting value.
9659 (allout-item-span): Reduce possibility of overlay leakage by
9660 making them volatile.
9661 (allout-widgets-count-buttons-in-region): Add diagnostic function
9662 for tracking down button overlay leaks.
9663
ea622834
LL
96642011-03-29 Leo Liu <sdl.web@gmail.com>
9665
9666 * ido.el (ido-read-internal): Use the default history var
9667 minibuffer-history if no HISTORY is specified.
9668
b62f8267
G
96692011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9670
03408648
SM
9671 * net/imap.el (imap-shell-open, imap-process-connection-type):
9672 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9673 Kerberos, SSL, other subprocesses.
9674
947b6566
LL
96752011-03-28 Leo Liu <sdl.web@gmail.com>
9676
9677 * abbrev.el (abbrev-table-empty-p): New function.
9678 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9679 nonempty ones. (Bug#5937)
9680
5ffb62aa
JD
96812011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9682
9683 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9684
7a097943
LL
96852011-03-27 Leo Liu <sdl.web@gmail.com>
9686
9687 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9688 for foreground and background colors.
9689 (ansi-color-make-color-map): Adapt.
9690
c5b40130
LL
96912011-03-25 Leo Liu <sdl.web@gmail.com>
9692
1f48f7d2
LL
9693 * midnight.el (midnight-time-float): Remove. Note it calculates
9694 the microsecond component incorrectly and seconds-to-time does the
9695 same job.
625897ec 9696 Remove redundant (require 'timer).
1f48f7d2 9697
c5b40130
LL
9698 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9699 (ido-completions): Remove unused arguments. (Bug#8329)
9700
d86d2721
SM
97012011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * minibuffer.el (completion--flush-all-sorted-completions):
9704 Remove itself from hook.
9705 (completion-at-point): Let the functions perform the completion
9706 immediately and return nil or t.
9707 * comint.el (comint-dynamic-complete-functions): Now identical to
9708 completion-at-point-functions.
9709 (comint-dynamic-list-input-ring): Remove unused var `index'.
9710 (comint--match-partial-filename, comint--unquote&expand-filename):
9711 New funs, split from comint-match-partial-filename.
9712 (comint-dynamic-complete): Use completion-at-point.
9713 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9714
e8974c48
DA
97152011-03-24 Drew Adams <drew.adams@oracle.com>
9716
9717 * thingatpt.el: Support `defun'.
9718
def71b5e
LL
97192011-03-23 Leo Liu <sdl.web@gmail.com>
9720
cb5af48e
LL
9721 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9722
def71b5e
LL
9723 * help-mode.el (help-mode-finish): Tweak regexp.
9724
927c53e7
GM
97252011-03-23 Glenn Morris <rgm@gnu.org>
9726
18d05bed
GM
9727 * eshell/esh-opt.el (eshell-eval-using-options):
9728 Do not bind unused local variable `eshell-option-stub'.
9729
927c53e7
GM
9730 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9731
9d0da923
JB
97322011-03-22 Juanma Barranquero <lekktu@gmail.com>
9733
9734 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9735 keymap variable in `with-no-warnings' to avoid a warning when the
9736 keymap has been already `defconst'ed.
9737
4b978a67
LL
97382011-03-22 Leo Liu <sdl.web@gmail.com>
9739
9740 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9741 encode all chars in abbrevs; otherwise use emacs-mule or
9742 utf-8-emacs. (Bug#8308)
9743
5fd62452
JB
97442011-03-22 Juanma Barranquero <lekktu@gmail.com>
9745
0b1596c6
JB
9746 * simple.el (backward-delete-char-untabify):
9747 Avoid warning about using `delete-backward-char'.
9748
5fd62452
JB
9749 * image.el (image-type-file-name-regexps): Make it variable.
9750 `imagemagick-register-types' modifies it, and the user may want
9751 to add new extensions for known image types.
9752 (imagemagick-register-types): Throw error if not using ImageMagick.
9753
0b4e93f1
LL
97542011-03-22 Leo Liu <sdl.web@gmail.com>
9755
9756 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9757 located before rcirc-prompt-end-marker.
9758 (rcirc-complete): Error if point is not after rcirc prompt.
9759 Handle the case when table is nil.
9882e214 9760 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9761
fccee4ab
CY
97622011-03-22 Chong Yidong <cyd@stupidchicken.com>
9763
9764 * custom.el (custom--inhibit-theme-enable): Make it affect only
9765 custom-theme-set-variables and custom-theme-set-faces.
9766 (provide-theme): Ignore custom--inhibit-theme-enable.
9767 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9768 (custom-enabling-themes): Delete variable.
d86d2721
SM
9769 (enable-theme): Accept only loaded themes as arguments.
9770 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9771 (custom-enabled-themes): Forbid themes from setting this.
9772 Eliminate use of custom-enabling-themes.
9773 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9774
af896da6
LL
97752011-03-21 Leo Liu <sdl.web@gmail.com>
9776
9777 * ido.el (ido-read-internal): Add ido-selected to history instead
9778 of user input.
9779
78f64af0
SM
97802011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * subr.el (deferred-action-list, deferred-action-function):
9783 Mark obsolete.
9784
b16ac1ec
LL
97852011-03-21 Leo Liu <sdl.web@gmail.com>
9786
810f7698
LL
9787 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9788 change on 2011-02-13 (bug#8309).
9789
b16ac1ec
LL
9790 * minibuffer.el (read-file-name-function): Change default value.
9791 (read-file-name--defaults): Rename from read-file-name-defaults.
9792 (read-file-name-default): Rename from read-file-name.
9793 (read-file-name): Call read-file-name-function.
9794
4e05e67e
GM
97952011-03-21 Glenn Morris <rgm@gnu.org>
9796
9797 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9798 Doc fixes.
9799
4359915b
CY
98002011-03-21 Chong Yidong <cyd@stupidchicken.com>
9801
9802 * cus-theme.el: Add missing provide statement.
9803 (customize-create-theme): Extract theme value correctly.
9804 (custom-theme-visit-theme): Autoload.
9805 (customize-create-theme): Prompt before inserting default faces.
9806
1fe275ee
JB
98072011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9808
9809 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9810 units and musical notes.
9811
cd394be1 98122011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9813
9814 * ido.el (ido-read-internal): Use completing-read-default.
9815 (ido-completing-read): Fix compatibility with completing-read.
9816
7d476bde
CO
98172011-03-20 Christian Ohler <ohler@gnu.org>
9818
9819 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9820 (ert-delete-all-tests): Use `called-interactively-p' rather than
9821 `interactive-p'.
9822 (ert--make-xrefs-region): Respect END.
9823
fe0fb33e
CY
98242011-03-19 Chong Yidong <cyd@stupidchicken.com>
9825
ff854b0b
CY
9826 * dired-aux.el (dired-create-directory): Signal an error if the
9827 directory already exists (Bug#8246).
9828
fe0fb33e
CY
9829 * facemenu.el (list-colors-display): Call list-faces-display
9830 inside with-help-window.
9831 (list-colors-print): Use display property to align the final
9832 column, instead of checking window-width.
9833
576bce32
EZ
98342011-03-19 Eli Zaretskii <eliz@gnu.org>
9835
4d61f28d 9836 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9837 windows-nt systems.
9838 (emerge-protect-metachars): Quote correctly for ms-dos and
9839 windows-nt systems.
9840
89c41d68 98412011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9842
9843 * info.el (info-initialize): Replace all uses of `:' with
9844 path-separator for compatibility with non-Unix systems.
9845 Cache quoting of path-separator. (Bug#8258)
9846
b14e3e21 98472011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9848
9849 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9850 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9851 (mouse-avoidance-mode): Fix typos in docstrings.
9852
4525ce3e
CY
98532011-03-19 Chong Yidong <cyd@stupidchicken.com>
9854
9855 * startup.el (package-subdirectory-regexp): Move from package.el.
9856 Omit \\` and \\', and let callers add them.
9857
9858 * emacs-lisp/package.el (package-strip-version)
9859 (package-load-all-descriptors): Add \\` and \\' to
9860 package-subdirectory-regexp before using it.
9861 (package-untar-buffer): New arg DIR; ensure that file untars only
9862 into this expected directory. Remove superfluous delete-region.
9863 (package-unpack): Caller changed.
9864 (package-tar-file-info): Use package-subdirectory-regexp.
9865
a904a09a 98662011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9867
a904a09a
SM
9868 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9869 diff-mode-shared-map (bug#8284).
9870 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9871
98722011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9873
9874 * calendar/time-date.el (format-seconds): Use assoc instead of
9875 assoc-string, since assoc-string doesn't exist in XEmacs.
9876
171fc304
JB
98772011-03-17 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * custom.el (custom-known-themes): Reflow docstring.
9880 (custom-theme-load-path): Fix typo in docstring.
9881 (load-theme): Fix typo in error message.
9882 (custom-available-themes, custom-variable-theme-value):
9883 Use `let', not `let*'.
9884
d71990a1
JB
98852011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9886
9887 * calc/README: Mention inclusion of musical notes.
9888
9889 * calc/calc-units.el (calc-lu-quant): Rename from
9890 `calc-logunits-quantity'.
9891 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9892 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9893 (calc-db): Rename from `calc-dblevel'.
9894 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9895 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9896 (calc-np): Rename from `calc-nplevel'.
9897 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9898 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9899 (calc-lu-plus): Rename from `calc-logunits-add'.
9900 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9901 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9902 (calc-lu-minus): Rename from `calc-logunits-sub'.
9903 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9904 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9905 (calc-lu-times): Rename from `calc-logunits-mul'.
9906 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9907 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9908 (calc-lu-divide): Rename from `calc-logunits-div'.
9909 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9910 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9911
9912 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9913 functions being autoloaded.
9914
9915 * calc/calc.el (calc-lu-power-reference): Rename from
9916 `calc-logunits-power-reference'.
9917 (calc-lu-field-reference): Rename from
9918 `calc-logunits-field-reference'.
9919
9920 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9921
40c2934b
SM
99222011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * minibuffer.el (completion-all-sorted-completions):
9925 Use :completion-cycle-penalty text property if present.
9926
b0911414
KM
99272011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9928
9929 * allout.el (allout-yank-processing): Adjust for new rebulleting
9930 regime so bullet being yanked is used without prompting the user
9931 for a choice.
9932
8a05b668
JB
99332011-03-16 Juanma Barranquero <lekktu@gmail.com>
9934
9935 * startup.el (command-line): Warn the user that _emacs is deprecated.
9936
5ba5fb81
JB
99372011-03-16 Juanma Barranquero <lekktu@gmail.com>
9938
9939 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9940 (delphi-verbose, delphi-comment-face, delphi-string-face)
9941 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9942 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9943 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9944 (delphi-new-comment-line, delphi-font-lock-defaults)
9945 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9946 Fix typos in docstrings.
9947
2dab465b
KM
99482011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9949
5ba5fb81 9950 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9951 Invert the roles of character and string values for INSTEAD, so a
9952 string is used for the more common case of a defaulting prompt.
9953
0adf5618
SM
99542011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 * progmodes/ruby-mode.el (ruby-backward-sexp):
9957 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9958 * play/gamegrid.el (gamegrid-make-face):
9959 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9960 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9961 * notifications.el (notifications-notify):
9962 * net/xesam.el (xesam-search-engines):
9963 * net/quickurl.el (quickurl-list-insert):
9964 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9965
d72700e5
CY
99662011-03-15 Chong Yidong <cyd@stupidchicken.com>
9967
9968 * startup.el (command-line): Update package subdirectory regexp.
9969
49c5410a
SM
99702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9971
c6eee9aa
SM
9972 * allout.el (allout-abbreviate-flattened-numbering)
9973 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9974
49c5410a
SM
9975 * subr.el (read-char-choice): Only show the cursor after the prompt,
9976 not after the answer.
9977
047b2bb9
KR
99782011-03-15 Kevin Ryde <user42@zip.com.au>
9979
9980 * help-fns.el (variable-at-point): Skip leading quotes, if any
9981 (bug#8253).
9982
0a57d256
SM
99832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9986 warning message.
9987
77c992bc
MA
99882011-03-14 Michael Albinus <michael.albinus@gmx.de>
9989
9990 * shell.el (shell): When called interactively, offer to change the
9991 shell file name on remote hosts.
9992
eebc475d
TZ
99932011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9994
9995 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9996 integration for LDAP parameters. The host, base, user or binddn,
9997 and secret tokens can be specified in a netrc file, for instance.
9998 This is optional because an `auth-source' parameter must be
9999 specified in the search attributes.
10000
9d05d1ba
JB
100012011-03-13 Juanma Barranquero <lekktu@gmail.com>
10002
10003 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10004
09d9db2c
GM
100052011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10008 into declaration. Remove redundant and harmful binding.
10009
100102011-03-12 Eli Zaretskii <eliz@gnu.org>
10011
10012 * files.el (file-ownership-preserved-p): Pass `integer' as an
10013 explicit 2nd argument to `file-attributes'. If the file's owner
10014 is the Administrators group on Windows, and the current user is
10015 Administrator, consider that a match.
10016
10017 * server.el (server-ensure-safe-dir): Consider server directory
10018 safe on MS-Windows if its owner is the Administrators group while
10019 the current Emacs user is Administrator. Use `=' to compare
10020 numerical UIDs, since they could be integers or floats.
10021
219bd536
JB
100222011-03-12 Juanma Barranquero <lekktu@gmail.com>
10023
10024 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10025
f3afd36b
MA
100262011-03-12 Michael Albinus <michael.albinus@gmx.de>
10027
10028 Sync with Tramp 2.2.1.
10029
10030 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10031
10032 * net/trampver.el: Update release number.
10033
3aaaa6f1
SM
100342011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10035
94642599
SM
10036 * progmodes/compile.el (compilation--previous-directory): Fix up
10037 various nil/dead-marker mismatches (bug#8014).
10038 (compilation-directory-properties, compilation-error-properties):
10039 Don't call it at a position past the one we're about to change.
10040
3aaaa6f1
SM
10041 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10042 Disable obsolescence warnings in the file that declares it.
10043
14239447
KM
100442011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10045
099c39a4
JB
10046 * allout-widgets.el (allout-widgets-tally):
10047 Initialize allout-widgets-tally as a hash table rather than nil to
10048 prevent mode-line redisplay warnings. Also, clarify the module
10049 description and fix a comment typo.
14239447 10050
135e287c
JB
100512011-03-11 Juanma Barranquero <lekktu@gmail.com>
10052
10053 * help-fns.el (describe-variable): Don't complete keywords.
10054 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10055
ffbf300e
CY
100562011-03-10 Chong Yidong <cyd@stupidchicken.com>
10057
ba08b241
CY
10058 * emacs-lisp/package.el (package-version-join): Impose a standard
10059 string representation for pre/alpha/beta version lists.
10060 (package-unpack-single): Standardize the directory name by passing
10061 it through package-version-join.
10062 (package-strip-rcs-id): Accept any version string that does not
10063 signal an error in version-to-list.
ffbf300e 10064
f346fd6b
MA
100652011-03-10 Michael Albinus <michael.albinus@gmx.de>
10066
10067 * simple.el (delete-trailing-whitespace): Return nil for the
10068 benefit of `write-file-functions'.
10069
ccb55d27
GM
100702011-03-10 Glenn Morris <rgm@gnu.org>
10071
5ceaac0c
GM
10072 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10073
02da65ff
GM
10074 * vc/vc-git.el (vc-git-program): New option.
10075 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10076 (vc-git--call): Use it.
10077
b2f603cc
GM
10078 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10079
5772caab
GM
10080 * cus-edit.el (Custom-newline): If no button at point, look
10081 for a subgroup button at start-of-line. (Bug#2298)
10082
ccb55d27
GM
10083 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10084
ec6ecaed
JD
100852011-03-10 Julien Danjou <julien@danjou.info>
10086
10087 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10088 `cursor-type' is nil.
10089
9d5aa01d
JB
100902011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10091
10092 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10093
b6a5875b
KM
100942011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10095
10096 * allout.el Summary: Change so yank of distinctive-bullet items
10097 preserves the existing header prefix, rebulleting it if necessary,
10098 rather than replacing it. This is necessary for proper operation
10099 of cooperative addons like allout-widgets.
1154d12e
JB
10100 (allout-make-topic-prefix, allout-rebullet-heading):
10101 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10102 value as alternate bullet to be used, instead of prompting the user
10103 for a bullet character.
b6a5875b 10104
ee545c35
MA
101052011-03-09 Michael Albinus <michael.albinus@gmx.de>
10106
d86d2721
SM
10107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10108 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10109 `tramp-default-port'.
10110
c47971d7
DD
101112011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10112
10113 * net/rcirc.el (rcirc-handler-001): Remove useless
10114 with-rcirc-process-buffer.
10115 (rcirc-check-auth-status): Swap arguments to string-match.
10116
13522cb4
GM
101172011-03-09 Glenn Morris <rgm@gnu.org>
10118
0be6f4f1
GM
10119 * shell.el (shell-mode):
10120 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10121
13522cb4
GM
10122 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10123 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10124
515de2e3
CY
101252011-03-08 Chong Yidong <cyd@stupidchicken.com>
10126
10127 * emacs-lisp/package.el (package-refresh-contents)
10128 (package-menu-execute): Use condition-case-no-debug.
10129
b511b994
MA
101302011-03-08 Michael Albinus <michael.albinus@gmx.de>
10131
10132 * simple.el (shell-command-to-string): Use `process-file'.
10133
10134 * emacs-lisp/package.el (package-tar-file-info): Handle also
10135 remote files.
10136
d86d2721
SM
10137 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10138 Use `equal' for upload base check.
b511b994 10139
25bbfb31
AM
101402011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10141
10142 * textmodes/texinfo.el (texinfo-environments):
10143 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10144
be996521
GM
101452011-03-08 Glenn Morris <rgm@gnu.org>
10146
e9c8529f
GM
10147 * cus-start.el (cursor-in-non-selected-windows):
10148 Fix :set quoting oddness. (Bug#8192)
10149
be996521
GM
10150 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10151 in some setf expressions. (Bug#2159)
10152
2bb5649e
CY
101532011-03-08 Chong Yidong <cyd@stupidchicken.com>
10154
10155 * custom.el (custom-available-themes): Return themes in
10156 alphabetical order.
10157
33383987 10158See ChangeLog.15 for earlier changes.
e3d51b27
MR
10159
10160;; Local Variables:
10161;; coding: utf-8
e3d51b27
MR
10162;; End:
10163
acaf905b 10164 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10165
10166 This file is part of GNU Emacs.
10167
10168 GNU Emacs is free software: you can redistribute it and/or modify
10169 it under the terms of the GNU General Public License as published by
10170 the Free Software Foundation, either version 3 of the License, or
10171 (at your option) any later version.
10172
10173 GNU Emacs is distributed in the hope that it will be useful,
10174 but WITHOUT ANY WARRANTY; without even the implied warranty of
10175 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10176 GNU General Public License for more details.
10177
10178 You should have received a copy of the GNU General Public License
10179 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.