* lisp/pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b559f1a9
GM
12012-01-24 Glenn Morris <rgm@gnu.org>
2
3 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4
6725d21a
JD
52012-01-24 Julien Danjou <julien@danjou.info>
6
7 * color.el (color-rgb-to-hsl): Fix value computing.
8 (color-hue-to-rgb): New function.
9 (color-hsl-to-rgb): New function.
10 (color-clamp, color-saturate-hsl, color-saturate-name)
11 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13
70df4bbe
GM
142012-01-24 Glenn Morris <rgm@gnu.org>
15
16 * vc/vc-rcs.el (vc-rcs-create-tag):
17 * vc/vc-sccs.el (vc-sccs-create-tag):
18 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
19
802a2ae2
ML
202012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
21
22 * eshell/esh-util.el (eshell-read-hosts-file):
23 Skip comment lines. (Bug#10549)
24
d7128bb1
ML
25 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
26
d1a5c3b4
JB
272012-01-23 Juanma Barranquero <lekktu@gmail.com>
28
2724d9c7
JB
29 * subr.el (display-delayed-warnings): Doc fix.
30 (collapse-delayed-warnings): New function to collapse identical
31 adjacent warnings.
32 (delayed-warnings-hook): Add it.
d1a5c3b4 33
a5509865
MA
342012-01-22 Michael Albinus <michael.albinus@gmx.de>
35
36 * net/tramp.el (tramp-action-login): Set connection property "login-as".
37
38 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
39 properties, when "login-as" is set.
40
41 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
42 (tramp-default-user-alist): Don't add "pscp".
43 (tramp-do-copy-or-rename-file-out-of-band): Use connection
44 property "login-as", if set. (Bug#10530)
45
cc6d5805
MA
462012-01-21 Michael Albinus <michael.albinus@gmx.de>
47
48 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
49 "plink1" and "psftp". (Bug#10530)
50
512012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
52
53 * international/mule-cmds.el (prefer-coding-system): Show a
54 warning message if the default value of file-name-coding-system
55 was not changed.
56
f0960428
JC
572012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
58
59 * windmove.el (windmove-reference-loc): Fix
60 windmove-reference-loc miscalculation.
61
dd6f2a63
JB
622012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
63
64 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
65 default unit.
66
7b447e9b
GM
672012-01-21 Glenn Morris <rgm@gnu.org>
68
117a9ea1
GM
69 * international/mule.el (auto-coding-alist): Add .tbz.
70
7b447e9b
GM
71 * files.el (local-enable-local-variables): Doc fix.
72 (inhibit-local-variables-regexps): Rename from
73 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
74 Doc fix. Add some extensions from auto-coding-alist.
75 (inhibit-local-variables-suffixes):
76 Rename from inhibit-first-line-modes-suffixes. Doc fix.
77 (inhibit-local-variables-p):
78 New function, extracted from set-auto-mode-1.
79 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
80 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
81 (hack-local-variables): Doc fix. Make the mode-only case
82 respect enable-local-variables and friends.
83 Respect inhibit-local-variables-regexps for file-locals, but
84 not for directory-locals.
85 (set-visited-file-name):
86 Take account of inhibit-local-variables-regexps.
87 Whether it applies may change as the file name is changed.
88 * jka-cmpr-hook.el (jka-compr-install):
89 * jka-compr.el (jka-compr-uninstall):
90 Update for inhibit-first-line-modes-suffixes name change.
91
dd6e3cdd
MR
922012-01-20 Martin Rudalics <rudalics@gmx.at>
93
94 * help-macro.el (make-help-screen): Temporarily restore original
95 binding for minor-mode-map-alist (Bug#10454).
96
0d0deb38
JD
972012-01-19 Julien Danjou <julien@danjou.info>
98
99 * color.el (color-name-to-rgb): Use the white color to find the max
100 color component value and return correctly computed values.
101 (color-name-to-rgb): Add missing float conversion for max value.
102
34a02f46
MR
1032012-01-19 Martin Rudalics <rudalics@gmx.at>
104
105 * window.el (window--state-get-1, window-state-get): Do not use
106 special state value for window-persistent-parameters. Rename
107 argument IGNORE to WRITABLE. Rewrite doc-string.
108 (window--state-put-2): Reset all window parameters to nil before
109 assigning values of persistent parameters.
110
606c44c4
AM
1112012-01-18 Alan Mackenzie <acm@muc.de>
112
113 Eliminate sluggishness and hangs in fontification of "semicolon
114 deserts".
115
116 * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
117 value 10000 -> 3000.
118 (c-state-safe-place): Reformulate so it doesn't stack up an
119 infinite number of wrong entries in c-state-nonlit-pos-cache.
120 (c-determine-limit-get-base, c-determine-limit): New functions to
121 determine backward search limits disregarding literals.
122 (c-find-decl-spots): Amend commenting.
123 (c-cheap-inside-bracelist-p): New function which detects "={".
124
125 * progmodes/cc-fonts.el
126 (c-make-font-lock-BO-decl-search-function): Give a limit to a
127 backward search.
128 (c-font-lock-declarations): Fix an occurrence of point being
129 undefined. Check additionally for point being in a bracelist or
130 near a macro invocation without a semicolon so as to avoid a
131 fruitless time consuming search for a declarator. Give a more
132 precise search limit for declarators using the new
133 c-determine-limit.
134
f3860cea
GM
1352012-01-18 Glenn Morris <rgm@gnu.org>
136
137 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
138 (set-auto-mode): Doc fixes.
139
1db03b16
GM
1402012-01-17 Glenn Morris <rgm@gnu.org>
141
0e6038be
GM
142 * isearch.el (search-nonincremental-instead): Fix doc typo.
143
1db03b16
GM
144 * dired.el (dired-insert-directory): Handle newlines in directory name.
145 (dired-build-subdir-alist): Unescape newlines in directory name.
146
4cb0aa75
MA
1472012-01-17 Michael Albinus <michael.albinus@gmx.de>
148
149 * net/tramp.el (tramp-local-end-of-line): New defcustom.
150 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
151 (tramp-action-terminal): Use it. (Bug#10530)
152
1d00653d
SM
1532012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * minibuffer.el (completion--replace): Strip properties (bug#10062).
156
6a6ee00d
MR
1572012-01-16 Martin Rudalics <rudalics@gmx.at>
158
159 * window.el (window-state-ignored-parameters): Remove variable.
160 (window--state-get-1): Rename argument MARKERS to IGNORE.
161 Handle persistent window parameters. Make copy of clone-of
162 parameter only if requested. (Bug#10348)
163 (window--state-put-2): Install a window parameter only if it has
164 a non-nil value or an existing parameter shall be overwritten.
165
97912def
MA
1662012-01-15 Michael Albinus <michael.albinus@gmx.de>
167
168 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
169
688070a5
EZ
1702012-01-14 Eli Zaretskii <eliz@gnu.org>
171
172 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
173 don't pass the (nil) value of `upnode' to string-match.
174
301afadc
CY
1752012-01-14 Chong Yidong <cyd@gnu.org>
176
177 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 178 Fix values recognized by the cursorBlink resource.
301afadc 179
9e5788aa
PE
1802012-01-14 Paul Eggert <eggert@cs.ucla.edu>
181
182 * epg.el (epg--make-temp-file): Avoid permission race condition
183 when running on old Emacs versions (bug#10403).
184
3cdb7f5a
GM
1852012-01-14 Glenn Morris <rgm@gnu.org>
186
187 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
188
8c82b1b4
AM
1892012-01-13 Alan Mackenzie <acm@muc.de>
190
191 Fix filling for when filladapt mode is enabled.
192
193 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
194 c-mask-paragraph, pass in `fill-paragraph' rather than
195 `fill-region-as-paragraph'. (This is a reversion of a previous
196 change.)
197 * progmodes/cc-mode.el (c-basic-common-init): Make
198 fill-paragraph-handle-comment buffer local and set it to nil.
199
e517eda4
GM
2002012-01-13 Glenn Morris <rgm@gnu.org>
201
1498536e
GM
202 * dired.el (dired-switches-escape-p): New function.
203 (dired-insert-directory): Use dired-switches-escape-p.
204 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
205
e517eda4
GM
206 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
207
328f984d
GM
2082012-01-12 Glenn Morris <rgm@gnu.org>
209
210 * mail/sendmail.el (mail-mode): Update paragraph-separate for
211 changes in adaptive-fill-regexp. (Bug#10276)
212
2cc769a8
AM
2132012-01-11 Alan Mackenzie <acm@muc.de>
214
215 Fix Emacs bug #10463 - put `widen's around the critical spots.
216
1d00653d 217 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
218 widen around each invocation of c-state-pp-to-literal. Remove an
219 unused let variable.
220
e52c37fa
GM
2212012-01-11 Glenn Morris <rgm@gnu.org>
222
223 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 224 Doc fix.
e52c37fa 225
96f8741e
CY
2262012-01-10 Chong Yidong <cyd@gnu.org>
227
1d00653d
SM
228 * net/network-stream.el (network-stream-open-starttls):
229 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
230 response to the capability command.
231
b09a806e
GM
2322012-01-10 Glenn Morris <rgm@gnu.org>
233
234 * mail/unrmail.el (unrmail): Tweak previous change.
235
7655cb66
CY
2362012-01-09 Chong Yidong <cyd@gnu.org>
237
238 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
239
9d5a8f0b
AM
2402012-01-08 Alan Mackenzie <acm@muc.de>
241
242 Optimise font locking in long enum definitions.
243
244 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
245 arm to a cond form to handle enums.
246 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
247 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
248
9a0115ab 2492012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
250
251 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 252 (Bug#10401)
6bb72cbd 253
f186bb95
LMI
2542012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
255
29232a68
LMI
256 * faces.el (set-face-attribute): Clarify the meaning of the nil
257 frame (bug#10294).
258
4e5d086d
LMI
259 * subr.el (with-selected-frame): Mention that the selected frame
260 is restored (bug#9980).
261
8e66aebe
LMI
262 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
263 (bug#9759).
264
cd394be1 265 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
266 (password-read): Don't autoload unused function.
267
adf4e762
JB
2682012-01-07 Juanma Barranquero <lekktu@gmail.com>
269
270 * progmodes/which-func.el (which-func-mode): Turn into a
271 non-interactive function and mark as obsolete (bug#10428).
272
89bd9ccd
CY
2732012-01-06 Chong Yidong <cyd@gnu.org>
274
275 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
276 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
277 functions, along with 1 and -1.
278
4afee9d5
EZ
2792012-01-06 Eli Zaretskii <eliz@gnu.org>
280
281 * time.el (display-time-load-average)
282 (display-time-default-load-average): Doc fixes. See the thread
283 starting at
284 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
285 for the details.
286
536aea70
GM
2872012-01-06 Glenn Morris <rgm@gnu.org>
288
665ae865
GM
289 * mail/unrmail.el (unrmail): Give an explicit error if the input file
290 has no messages. (Bug#10377)
291
c869783d
GM
292 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
293 than Info-edit. (Bug#10385)
294
2bb4227e
GM
295 * time.el (display-time-load-average, display-time-next-load-average):
296 Doc fixes.
297
7d5944b9
GM
298 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
299 local setting of buffer-read-only to the input buffer. (Bug#10419)
300
536aea70
GM
301 * calendar/calendar.el (calendar-mode):
302 Locally set scroll-margin to 0. (Bug#10379)
303
7dccca16
UM
3042012-01-06 Ulrich Mueller <ulm@gentoo.org>
305
306 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
307
afbb7930
GM
3082012-01-05 Glenn Morris <rgm@gnu.org>
309
310 * eshell/em-unix.el (diff-no-select): Autoload it.
311 (eshell/diff): Use diff-no-select. (Bug#10420)
312
04482335
CY
3132012-01-05 Chong Yidong <cyd@gnu.org>
314
7baca3bc
CY
315 * shell.el (shell-dynamic-complete-functions): Revert last change.
316 (shell-command-completion-function): New function.
317 (shell-completion-vars): Use it to implement
318 shell-completion-execonly (Bug#10417).
319
04482335
CY
320 * custom.el (enable-theme): Don't set custom-safe-themes.
321
1d00653d
SM
322 * cus-theme.el (custom-theme-merge-theme):
323 Ignore custom-enabled-themes and custom-safe-themes.
04482335 324
bb5aa5d6
MM
3252012-01-05 Michael R. Mauger <mmaug@yahoo.com>
326
327 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
328 first prompt in `sql-interacive-mode'.
329 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 330 keywords.
bb5aa5d6
MM
331 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
332 (sql-product-interactive): Bug fix: Set `sql-buffer' in
333 context of original buffer. Invoke `sql-login-hook'.
334
a7183d7c
EZ
3352012-01-04 Eli Zaretskii <eliz@gnu.org>
336
337 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
338 letters in cite-prefix.
339
a1eacd1e
LMI
3402012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
341
342 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
343
787cdb34
CY
3442012-01-03 Chong Yidong <cyd@gnu.org>
345
1d00653d
SM
346 * shell.el (shell-dynamic-complete-functions):
347 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
348 comint-filename-completion first (Bug#10417).
349
30710442
RS
3502012-01-02 Richard Stallman <rms@gnu.org>
351
352 * battery.el (battery-status-function):
353 Detect when to use battery-yeeloong-sysfs.
354 (battery-echo-area-format): Add string for Yeeloong.
355 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
356 (battery-yeeloong-sysfs): New function.
357
f75bfc33
CY
3582012-01-02 Chong Yidong <cyd@gnu.org>
359
360 * dirtrack.el (dirtrack-list): Eliminate unused third element.
361 (dirtrack): Merge code for handling relative filenames in prompt
362 from shell-dir-cookie-watcher.
363 (dirtrack-debug-message): New arg to avoid excess format calls.
364
365 * shell.el (shell-dir-cookie-re): Variable deleted.
366 (shell-dir-cookie-watcher): Function deleted.
367 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
368 with dirtrack-mode.
369
651e947e
EZ
3702012-01-01 Eli Zaretskii <eliz@gnu.org>
371
1d00653d
SM
372 * term/w32-win.el (dynamic-library-alist) <gnutls>:
373 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
374 libgnutls-26.dll.
375
94d4c7dc
AS
3762011-12-31 Andreas Schwab <schwab@linux-m68k.org>
377
378 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
379
8d43f3cd
EZ
3802011-12-31 Eli Zaretskii <eliz@gnu.org>
381
382 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
383 headers of non-MIME messages, when rmail-enable-mime is non-nil.
384
98c8795a
MA
3852011-12-29 Michael Albinus <michael.albinus@gmx.de>
386
387 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
388 also for alternative shells.
389 (tramp-open-connection-setup-interactive-shell): Check, whether
390 the shell is a busybox.
391 (tramp-send-command): Don't suppress multiple prompts for
392 busyboxes, it hurts.
393
51281b32
CY
3942011-12-28 Chong Yidong <cyd@gnu.org>
395
396 * progmodes/gdb-mi.el (gdb-get-source-file-list)
397 (gdb-get-source-file): Move mode line update to
398 gdb-get-source-file (Bug#10087).
399
2170cb53
CY
4002011-12-25 Chong Yidong <cyd@gnu.org>
401
402 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
403 gud-gdb-marker-filter without taking it as an argument.
404 (gud-gdb-run-command-fetch-lines): Caller changed.
405 (gud-gdb-completion-function): New variable.
406 (gud-gdb-completion-at-point): Use it.
407 (gud-gdb-completions-1): Split from gud-gdb-completions.
408
409 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
410 function as separate arguments.
411 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
412 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
413 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
414 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
415 (gdb-stopped, def-gdb-auto-update-trigger)
416 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
417 (gdb-get-changed-registers, gdb-get-main-selected-frame):
418 Callers changed.
2170cb53
CY
419 (gud-gdbmi-completions): New function.
420 (gdb): Use it for generating the completion table.
421
be8b11bb
AM
4222011-12-24 Alan Mackenzie <acm@muc.de>
423
424 Introduce a mechanism to widen the region used in context font
1d00653d 425 locking. Use this to protect declarations from losing their contexts.
be8b11bb 426
1d00653d
SM
427 * progmodes/cc-langs.el (c-before-font-lock-functions):
428 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 429 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
430 functions to be run just before context (etc.) font locking.
431
432 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 433 New, functionality extracted from
be8b11bb 434 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 435 (c-in-after-change-fontification): New variable.
be8b11bb
AM
436 (c-after-change): Set c-in-after-change-fontification.
437 (c-set-fl-decl-start): Rejig its interface, so it can be called
438 from both after-change and context fontifying.
b81d40f0
JB
439 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
440 New functions.
441 (c-standard-font-lock-fontify-region-function): New variable.
442 (c-font-lock-fontify-region): New function.
be8b11bb 443
341cf6ac
JL
4442011-12-24 Juri Linkov <juri@jurta.org>
445
446 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
447 (Bug#10348)
448
bffcee0a
MA
4492011-12-23 Michael Albinus <michael.albinus@gmx.de>
450
451 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
452 existence of source file. (Bug#10325)
453
cb5e207c
AM
4542011-12-23 Alan Mackenzie <acm@muc.de>
455
456 Fix unstable fontification inside templates.
457
b81d40f0
JB
458 * progmodes/cc-langs.el (c-before-font-lock-functions):
459 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
460 additionally has c-set-fl-decl-start. The other languages (apart
461 from AWK) have that as a single entry.
462
b81d40f0
JB
463 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
464 The functionality for "local" declarations has been extracted to
cb5e207c
AM
465 c-set-fl-decl-start.
466
b81d40f0
JB
467 * progmodes/cc-mode.el (c-common-init, c-after-change):
468 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
469 (c-set-fl-decl-start): New function, extracted from
470 c-font-lock-enclosing-decls and enhanced.
471
60ff536c
JB
4722011-12-23 Juanma Barranquero <lekktu@gmail.com>
473
474 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
475
1c4757d6
JL
4762011-12-22 Juri Linkov <juri@jurta.org>
477
478 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
479
d031f2c7
CY
4802011-12-22 Chong Yidong <cyd@gnu.org>
481
482 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
483
bace743a
DA
4842011-12-21 Drew Adams <drew.adams@oracle.com>
485
486 * files.el (file-remote-p): Fix docstring. (Bug#10319)
487
728a1f2b
JC
4882011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
489
490 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
491
0d373f73
TZ
4922011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
493
fec0aaa4
TZ
494 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
495 highlighting and support. Fix up comments for capitalization.
496 (cfengine-mode-debug): New var.
497 (cfengine3-mode): Change the modeline indicator to "CFE3".
498 (cfengine3-font-lock-keywords): Improve defun highlighting.
499 (cfengine2-actions): Rename from `cfengine-actions'.
500 (cfengine2-font-lock-keywords): Rename from
501 `cfengine-font-lock-keywords'.
502 (cfengine2-imenu-expression): Rename from
503 `cfengine-imenu-expression'.
504 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
505 (cfengine2-beginning-of-defun): Rename from
506 `cfengine-beginning-of-defun'.
507 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
508 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
509 (cfengine2-mode): Rename from `cfengine-mode'. Change the
510 modeline indicator to "CFE2".
511 (cfengine-mode): Defalias to `cfengine-auto-mode'.
512 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 513
bc86f573
CY
5142011-12-21 Chong Yidong <cyd@gnu.org>
515
516 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
517 filename argument.
518
d45ba96b
MR
5192011-12-20 Martin Rudalics <rudalics@gmx.at>
520
521 * window.el (window-normalize-buffer-to-display): Remove.
522 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
523
a6198c90
CY
5242011-12-19 Chong Yidong <cyd@gnu.org>
525
526 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
527 Don't signal an error in a predicate function; return non-nil.
528 (vc-dir-mark-file): Move the error here.
529 (vc-dir-mark-unmark): If acting on the region, keep going if one
530 of the entries cannot be marked/unmarked.
531 (vc-dir-mark-all-files): If current entry is a directory, mark
532 only child files, as documented.
533
34c5fb55
VB
5342011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
535
536 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
537 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
538 addition.
539
c803b2b7
JD
5402011-12-18 Jan Djärv <jan.h.d@swipnet.se>
541
542 * term/ns-win.el (ns-get-selection-internal)
543 (ns-store-selection-internal): Declare.
1154d12e
JB
544 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
545 Declare as obsolete.
546 (ns-get-pasteboard, ns-paste-secondary):
547 Use ns-get-selection-internal.
548 (ns-set-pasteboard, ns-copy-including-secondary):
549 Use ns-store-selection-internal.
c803b2b7 550
9cff91f8 5512011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
552
553 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 554 (vc-deduce-fileset): Doc fix.
99a289d9 555
f16c898a
AS
5562011-12-16 Andreas Schwab <schwab@linux-m68k.org>
557
558 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
559
763237c4
SS
5602011-12-13 Sam Steingold <sds@gnu.org>
561
562 * man.el (Man-getpage-in-background): When running under a
563 window-system, ignore $MANWIDTH and $COLUMNS.
564
5fc1c122
KH
5652011-12-15 Kenichi Handa <handa@m17n.org>
566
567 * language/ethio-util.el: Change coding tag to utf-8-emacs.
568 (setup-ethiopic-environment-internal): Comment out key-binding for
569 ethio-toggle-punctuation.
570
13d49cbb
AM
5712011-12-13 Alan Mackenzie <acm@muc.de>
572
898169a2
AM
573 Add the switch statement to AWK Mode.
574
575 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
576 "default" to the keywords regexp.
577
578 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
579 expression as the rest.
1d00653d
SM
580 (c-nonlabel-token-key): Allow string literals for AWK.
581 Refactor for the other modes.
898169a2 582
13d49cbb 583 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 584 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
585 routines. Limit backward searching in c-font-lock-enclosing.decl.
586
587 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
588 pp-state and literal type in addition to the limits.
1d00653d 589 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 590 (c-state-literal-at): Use the above new defun.
1d00653d
SM
591 (c-slow-in-literal, c-fast-in-literal): Remove.
592 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
593
594 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
595 being in a literal. Add a limit for backward searching.
596
597 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
598 c-slow-in-literal.
599
15e0efc7
SM
6002011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
603
454592a6
MR
6042011-12-13 Martin Rudalics <rudalics@gmx.at>
605
606 * window.el (delete-other-windows): Use correct frame in call to
607 window-with-parameter.
608
87393f26
DP
6092011-12-12 Daniel Pfeiffer <occitan@t-online.de>
610
611 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
612 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
613 (makefile-gmake-statements, makefile-makepp-statements):
614 Use it and add new makepp keywords.
615 (makefile-makepp-font-lock-keywords): Add new patterns.
616 (makefile-match-function-end): Match new [...] and [[...]].
617
11636b22
JB
6182011-12-11 Juanma Barranquero <lekktu@gmail.com>
619
620 * ses.el (ses-call-printer-return, ses-cell-property-get)
621 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
622 (ses-create-cell-variable, ses-reset-header-string)
623 (ses-cell-set-formula, ses-repair-cell-reference-all)
624 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
625 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
626 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
627 (ses-aset-with-undo, ses-load, ses-truncate-cell)
628 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
629 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
630 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
631 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
632 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
633 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
634 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
635 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
636
cf018193
VB
6372011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
638
639 * ses.el: The overall change is to add cell renaming, that is
640 setting fancy names for cell symbols other than name matching
641 "\\`[A-Z]+[0-9]+\\'" regexp .
642 (ses-create-cell-variable): New defun.
643 (ses-relocate-formula): Relocate formulas only for cells the
644 symbols of which are not renamed, i.e. symbols whose names do not
645 match regexp "\\`[A-Z]+[0-9]+\\'".
646 (ses-relocate-all): Relocate values only for cells the symbols of
647 which are not renamed.
648 (ses-load): Create cells variables as the (ses-cell ...) are read,
649 in order to check row col consistency with cell symbol name only
650 for cells that are not renamed.
651 (ses-replace-name-in-formula): New defun.
652 (ses-rename-cell): New defun.
653
ee957461
CY
6542011-12-11 Chong Yidong <cyd@gnu.org>
655
656 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
657 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
658
9a9e9ef0
MR
6592011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
660
661 * window.el (other-window): Fix docstring.
662
92a8eba5
EZ
6632011-12-10 Eli Zaretskii <eliz@gnu.org>
664
665 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
666 `from' or `to' address before taking its substring.
667 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
668 encoded name is chopped in the middle of the encoded string, and
669 thus displayed encoded.
670
e152e577
JB
6712011-12-10 Juanma Barranquero <lekktu@gmail.com>
672
673 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
674
e5d84bfe
EZ
6752011-12-10 Eli Zaretskii <eliz@gnu.org>
676
677 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
678 to use texinfo-update-node and commands that call it if the
679 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 680 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
681 (texinfo-all-menus-update, texinfo-master-menu)
682 (texinfo-update-node, texinfo-every-node-update)
683 (texinfo-multiple-files-update): Doc fix. Warn against updating
684 all the @node lines.
685 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
686 argument is numeric. Explain better in the doc string what the
687 function really does.
688 (texinfo-insert-master-menu-list): Improve the error message
689 displayed if there's no menu in the Top node.
690 (Bug#2975) See also this thread:
e5d84bfe
EZ
691 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
692
1d84e9bb
MG
6932011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
694
695 * speedbar.el (speedbar-supported-extension-expressions):
696 Add .adb and .ads, commonly used for Ada source code (bug#10256).
697
382c953b
JB
6982011-12-09 Juanma Barranquero <lekktu@gmail.com>
699
700 * printing.el (pr-mode-alist):
701 * simple.el (filter-buffer-substring-functions)
702 (completion-list-insert-choice-function):
703 * window.el (window-with-parameter, window-atom-root)
704 (window-sides-slots, window-size-fixed, window-min-delta)
705 (window-max-delta, window--resize-mini-window)
706 (window--resize-child-windows-normal, window-tree)
707 (delete-other-windows, quit-window, split-window)
708 (display-buffer-record-window, special-display-buffer-names)
709 (special-display-regexps, special-display-popup-frame)
710 (same-window-p, split-window-sensibly)
711 (display-buffer-overriding-action, display-buffer-alist)
712 (display-buffer-base-action, display-buffer, switch-to-buffer)
713 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
714 (fit-window-to-buffer, recenter-positions)
715 (mouse-autoselect-window-state, mouse-autoselect-window-select):
716 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
717 and remove unneeded backslashes in docstrings.
718
39c9faef
SM
7192011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
720
98449af8
SM
721 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
722
39c9faef
SM
723 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
724 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
725 end in ".mk".
726 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
727 when reading the makefile (bug#10116).
728
86ed9fdc
SM
7292011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
732 (bug#10116).
733
5580f89d
GM
7342011-12-06 Glenn Morris <rgm@gnu.org>
735
736 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
737
28d3917c
CY
7382011-12-06 Chong Yidong <cyd@gnu.org>
739
740 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
741
a98edce9
JB
7422011-12-06 Juanma Barranquero <lekktu@gmail.com>
743
744 * textmodes/table.el (table-shorten-cell): Fix typo.
745
e65adfac
CG
7462011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
747
748 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
749
71cc0b74
EZ
7502011-12-05 Eli Zaretskii <eliz@gnu.org>
751
752 * descr-text.el (describe-char): Fix display of strong
753 right-to-left characters and directional embeddings and overrides.
754
755 * simple.el (what-cursor-position): Fix display of codepoints of
756 strong right-to-left characters.
757
315bc30d
CY
7582011-12-05 Chong Yidong <cyd@gnu.org>
759
760 * faces.el (read-color): Doc fix.
761
58a70b94
GM
7622011-12-05 Glenn Morris <rgm@gnu.org>
763
764 * align.el (align--set-marker): Add doc-string.
765 Don't try to move something that is not a marker. (Bug#10216)
766
5158face
GM
7672011-12-04 Glenn Morris <rgm@gnu.org>
768
769 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
770 overly zealous deletion of trailing whitespace.
771
520fca41
JB
7722011-12-04 Juanma Barranquero <lekktu@gmail.com>
773
774 * server.el (server-delete-client): On Windows, do not try to delete
775 the only terminal.
776 (server-process-filter): On Windows, treat requests for a tty frame as
777 if they were for a GUI frame if the running server is in GUI mode.
778
5e605a2e
GM
7792011-12-03 Glenn Morris <rgm@gnu.org>
780
781 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
782
5c3fe83f
SM
7832011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
784
6f5e57e7
SM
785 * electric.el: Streamline electric-indent's hook.
786 (electric-indent-chars): Revert to simple list.
787 (electric-indent-functions): New var.
788 (electric-indent-post-self-insert-function): Use it.
789
5c3fe83f
SM
790 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
791 there's no inferior buffer (bug#10196).
792 (prolog-consult-compile): Don't use toggle-read-only.
793
6bdac736
MA
7942011-12-02 Michael Albinus <michael.albinus@gmx.de>
795
796 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
797 interrupt. (Bug#10187)
798
6131ba7f
SM
7992011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
800
99c79fee
SM
801 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
802 (bug#9160).
803
6131ba7f
SM
804 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
805 (bug#10191).
806
cb0a02ea
JL
8072011-12-02 Juri Linkov <juri@jurta.org>
808
809 * info.el (Info-search): Display "end of manual" when Isearch
810 reaches the end of single-file Info manual. (Bug#9918)
811
66e0570c
EZ
8122011-12-02 Eli Zaretskii <eliz@gnu.org>
813
814 * isearch.el (isearch-message-prefix): Run the input method part
815 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
816
02b16839
JL
8172011-12-02 Juri Linkov <juri@jurta.org>
818
819 * isearch.el (isearch-occur): Use `word-search-regexp' for
820 `isearch-word'.
821 (isearch-search-and-update): Add condition for `isearch-word' and
822 call `word-search-regexp'. (Bug#10145)
823
0b950688
GM
8242011-12-01 Glenn Morris <rgm@gnu.org>
825
826 * eshell/em-hist.el (eshell-hist-initialize):
827 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 828 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 829
9505c3c7
SM
8302011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
833
1bbe96b2 8342011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 835
a1beca85
SM
836 * progmodes/verilog-mode.el (verilog-pretty-expr):
837 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
838 verilog, such as += *= and the like.
839 (verilog-assignment-operator-re): Regular expression to find the
840 assigment operator in a verilog assignment.
841 (verilog-assignment-operation-re): Regular expression to find an
842 assignment statement for pretty-expr.
843 (verilog-in-attribute-p): Query returns true if point is in an
844 attribute context; used to skip these for expression line up from
845 pretty-expr.
846 (verilog-in-parameter-p): Query returns true if point is in an
847 parameter definition context; used to skip these for expression
848 line up from pretty-expr.
849 (verilog-in-parenthesis-p): Query returns true if point is in a
850 parenthetical expression, specifically ( ) but not [ ] or { };
851 used by pretty-expr.
852 (verilog-just-one-space): If there is no space, don't add one.
853 (verilog-get-lineup-indent-2): Specifically skip just attribute
854 contexts for expression lineup, rather than skipping all
855 parenthetical expressions.
856 (verilog-calculate-indent): Fix comment, and fix indent.
857 (verilog-do-indent): Indent declarations in lists (suggested by
858 Joachim Lechner).
859 (verilog-mode-abbrev-table): Populate abbrev mode with the various
860 skeleton items.
861 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
862 by Alain Mellan).
863
1bbe96b2 8642011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
865
866 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
867 parameters with embedded comments. Reported by Ray Stevens.
868 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
869 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
870 Reported by Tim Holt.
871 (verilog-auto): Fix AUTOing a upper module then AUTOing module
872 instantiated by upper module causing wrong expansion until AUTOed a
873 second time. Reported by K C Buckenmaier.
874 (verilog-diff-auto): Fix showing .* as a difference when
875 `verilog-auto-star-save' off. Reported by Dan Dever.
876 (verilog-auto-reset, verilog-read-always-signals)
877 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
878 temporary signals in reset list if
879 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
880 style to each signal's assignment type, bug381.
881 Reported by Thomas Esposito.
6288f0ca
WS
882 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
883 (verilog-uvm-statement-re): Support UVM indentation and
884 highlighting, with old OVM keywords only.
a1beca85 885 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
886 Support AUTOTIEOFF creating non-wire data types.
887 Suggested by Jonathan Greenlaw.
6288f0ca
WS
888 (verilog-auto-insert-lisp, verilog-delete-to-paren)
889 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
890 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
891 (verilog-read-sub-decls, verilog-read-sub-decls-line):
892 Fix mismatching parenthesis inside commented out code when deleting
382c953b 893 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
894 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
895 non-numeric vector width. Reported by Alex Reed.
896 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 897 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
898 (verilog-auto-delete-trailing-whitespace):
899 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
900 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
901 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
902 Fix verilog-scan-cache corruption when running user AUTO expansion
903 hooks that call indentation routines.
904 (verilog-simplify-range-expression): Fix typo ignoring lower case
905 identifiers.
906 (verilog-delete-auto): Fix delete-autos to also remove user created
907 automatics, as long as they start with AUTO.
908 (verilog-batch-diff-auto, verilog-diff-auto)
909 (verilog-diff-function): Add `verilog-diff-auto' and bind to
910 "C-c?" to report differences in AUTO expansion, ignoring spaces.
911 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
912 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
913 (verilog-re-search-forward-quick, verilog-syntax-ppss):
914 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
915 is disabled and its cache will get corrupt, causing AUTOS not to
916 expand. Instead use only -quick functions.
917 (verilog-scan-region): Fix scanning over escaped quotes.
918 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
919 (verilog-re-search-backward-quick)
920 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
921 related functions now ignore strings, to fix misparsing of strings
922 with magic comments embedded in them.
a1beca85
SM
923 (verilog-read-auto-template):
924 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
925 Reported by Brad Dobbie.
926 (verilog-read-auto-template):
927 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 928 Reported by Brad Dobbie.
6288f0ca
WS
929 (verilog-auto-inst, verilog-auto-inst-param)
930 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
931 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
932 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
933 debugging templates without merge conflicts, bug357.
934 Reported by Brad Dobbie.
935 (verilog-read-auto-template):
936 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
937 Reported by Brad Dobbie.
938 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
939 abbrevs so user won't be asked to save.
940 (verilog-read-auto-lisp-present): Fix to start at beginning of
941 buffer in case called outside of verilog-auto.
942 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
943 to "X-2". Reported by Matthew Myers.
944 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
945 all inputs from module templates. Reported by Leith Johnson.
946 (verilog-module-inside-filename-p): Fix locating programs as with
947 modules.
948 (verilog-auto-inst-port): Fix vl-width expressions when using
949 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
950 (verilog-decls-get-regs, verilog-decls-get-signals,
951 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
952 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
953 verilog-read-decls): Combine reg and wire structures into one var
954 structure to represent SystemVerilog concepts.
955 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
956 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
957 (verilog-auto-wire-type, verilog-insert-definition):
958 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
959 SystemVerilog "logic" keyword instead of "wire"/"reg".
960 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
961 to declares outputs that also have assignments (presumably in an
a1beca85
SM
962 ifdef or generate if so there's not a driver conflict).
963 Reported by Matthew Myers.
964 (verilog-auto-declare-nettype, verilog-insert-definition):
965 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
966 `default_nettype none. Reported by Julian Gorfajn.
967 (verilog-read-always-signals-recurse, verilog-read-decls)
968 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
969 malformed end statement, bug325. Reported by Joshua Wise and
970 Andrew Drake.
971 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
972 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
973 when expanding .* in interfaces, bug320.
974 Reported by Pierre-David Pfister.
6288f0ca 975 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
976 name and open parenthesis, bug317.
977 Reported by Pierre-David Pfister.
6288f0ca
WS
978 (verilog-simplify-range-expression): Fix simplification of
979 multiplications inside AUTOWIRE connections, bug303.
980 (verilog-auto-inst-port): Support parameter expansion in
981 multidimensional arrays.
982 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
983 after "assert property". Reported by Julian Gorfajn.
984 (verilog-simplify-range-expression): Fix "couldn't merge" errors
985 with multiplication, bug303.
986 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
987 Reported by Jan Frode Lonnum.
988
1bbe96b2
GM
9892011-11-30 Juanma Barranquero <lekktu@gmail.com>
990
991 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
992 (hfy-shell-file-name, hfy-shell):
993 * international/fontset.el (x-decompose-font-name): Fix typos.
994
9952011-11-29 Ken Brown <kbrown@cornell.edu>
996
997 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
998 (gdb-version): Remove defvar.
999 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1000 (gdb-gud-context-command, gdb-non-stop-handler)
1001 (gdb-current-context-command, gdb-stopped): Use it.
1002 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1003 (gdb-non-stop-handler): Don't enable pretty-printing here.
1004 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1005 non-stop mode. Use the following.
1006 (gdb-check-target-async): New defun.
1007 (gud-watch, gdb-stopped): Fix whitespace.
1008 (gdb-get-source-file): Don't try to display the source file if
1009 `gdb-main-file' is nil.
1010
10112011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * align.el: Try to generate fewer markers (bug#10047).
1014 (align--set-marker): New macro.
1015 (align-region): Use it.
1016
c935221f
SM
10172011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1020
e70b5064
CY
10212011-11-29 Chong Yidong <cyd@gnu.org>
1022
1023 * indent.el (indent-for-tab-command, indent-according-to-mode):
1024 Doc fix.
1025 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1026
f3af92b7
MA
10272011-11-29 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1030 aware of remote file names. (Bug#10124)
1031
ed472be9
CY
10322011-11-29 Chong Yidong <cyd@gnu.org>
1033
1034 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1035
24510c22
SM
10362011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * files.el (find-file): Don't use force-same-window (bug#10144).
1039 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1040 use pop-to-buffer if the selected window can't be used.
1041 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1042
c60c3703
EZ
10432011-11-28 Eli Zaretskii <eliz@gnu.org>
1044
1045 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1046 special-mode-map.
1047
e95def75
CY
10482011-11-28 Chong Yidong <cyd@gnu.org>
1049
1050 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1051
c3f1c606
NR
10522011-11-27 Nick Roberts <nickrob@snap.net.nz>
1053
1054 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1055 gdb-get-source-file-list on gdb-create-source-file-list.
1056
00db469c
EZ
10572011-11-26 Eli Zaretskii <eliz@gnu.org>
1058
1059 * whitespace.el (whitespace-newline): Use a different foreground
1060 color for 16-color light-background displays.
1061
4ad3bc2a
CY
10622011-11-24 Chong Yidong <cyd@gnu.org>
1063
1064 * window.el (display-buffer--special-action): Doc fix.
1065
e9fce1ac
JB
10662011-11-25 Juanma Barranquero <lekktu@gmail.com>
1067
1068 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1069 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1070 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1071 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1072 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1073 (avl-tree-stack-first):
1074 * emacs-lisp/cconv.el (cconv--analyse-use):
1075 * net/gnutls.el (gnutls-negotiate): Fix typos.
1076
cb825e5d
GM
10772011-11-24 Glenn Morris <rgm@gnu.org>
1078
3adbe224
GM
1079 * lpr.el (lpr-windows-system, lpr-lp-system):
1080 * mail/binhex.el (binhex-begin-line):
1081 * progmodes/grep.el (grep-history, grep-find-history):
1082 * textmodes/flyspell.el:
1083 * vc/pcvs-defs.el (cvs-global-menu):
1084 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1085 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1086 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1087
321decc8
GM
1088 * net/tls.el: Fix case of "GnuTLS".
1089
420b63ad
GM
1090 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1091
cb825e5d
GM
1092 * version.el (emacs-build-system): Give it a doc-string.
1093
a0649f08
JL
10942011-11-24 Juri Linkov <juri@jurta.org>
1095
1096 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1097
c0bc0fd4
GM
10982011-11-24 Glenn Morris <rgm@gnu.org>
1099
1100 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1101 if called on a non-mime message just toggle the headers. (Bug#8006)
1102
20db1522
JB
11032011-11-24 Juanma Barranquero <lekktu@gmail.com>
1104
1105 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1106 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1107 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1108 (allout-rebullet-heading, allout-open-sibtopic)
1109 (allout-toggle-current-subtree-encryption)
1110 (allout-toggle-subtree-encryption, allout-encrypt-string)
1111 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1112 (allout-distinctive-bullets-string, allout-auto-activation):
1113 * window.el (window-normalize-buffer-to-display):
1114 * progmodes/verilog-mode.el (verilog-batch-indent):
1115 * textmodes/bibtex.el (bibtex-field-braces-opt)
1116 (bibtex-field-strings-opt):
1117 * vc/cvs-status.el (cvs-tree-merge):
1118 Fix typos.
1119
7262a87c
MA
11202011-11-23 Michael Albinus <michael.albinus@gmx.de>
1121
1122 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1123 `non-essential' to t, in order to avoid remote connections.
1124
283430a1
EZ
11252011-11-23 Eli Zaretskii <eliz@gnu.org>
1126
a1beca85
SM
1127 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1128 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1129 case-insensitively.
1130
d2992a38
ML
11312011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1132
1133 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1134
50419064
GM
11352011-11-23 Glenn Morris <rgm@gnu.org>
1136
da94eca1
GM
1137 * paths.el (rmail-file-name): Reformat the doc-string so that it
1138 is picked up.
1139
9aac4de2
GM
1140 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1141 (rmail-auto-file): Ignore case in the "special" field names,
1142 as mail-fetch-field does for all others.
1143
8038d2d2
GM
1144 * mail/rmail.el (rmail-forward):
1145 * mail/rmailkwd.el (rmail-set-label):
1146 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1147 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1148
f3fe222a
GM
1149 * mail/rmail.el (rmail-current-message): Doc fix.
1150
50419064
GM
1151 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1152
28109f49
SM
11532011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1156
394c65f1
GM
11572011-11-22 Glenn Morris <rgm@gnu.org>
1158
1159 * mail/rmailmm.el (test-rmail-mime-handler)
1160 (test-rmail-mime-bulk-handler)
1161 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1162
f2a0aa3a
JL
11632011-11-21 Juri Linkov <juri@jurta.org>
1164
1154d12e
JB
1165 * calc/calc.el (calc-read-key-sequence):
1166 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1167
9c34a344
LMI
11682011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1169
1170 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1171 Tell the caller that the next line needs recomputation, even
1172 though it doesn't start a sexp (bug#10094).
1173
f04a3be9
SM
11742011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1175
1176 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1177
7978747f
SM
11782011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1179
f04a3be9
SM
1180 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1181 Use force-same-window.
7978747f 1182
fe7a3057
JB
11832011-11-20 Juanma Barranquero <lekktu@gmail.com>
1184
1185 * descr-text.el (describe-char-unicode-data):
1186 * json.el (json-string-escape):
1187 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1188 (Footnote-unicode, Footnote-style-p):
1189 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1190
24901d61
CY
11912011-11-20 Chong Yidong <cyd@gnu.org>
1192
1193 * window.el (replace-buffer-in-windows): Restore interactive spec.
1194
bac7ff22
SM
11952011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1196
24f3d7b9
SM
1197 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1198
bac7ff22
SM
1199 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1200 (byte-compile-global-not-obsolete-vars): New var.
1201 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1202 Use it.
1203 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1204
cd1181db
JB
12052011-11-20 Juanma Barranquero <lekktu@gmail.com>
1206
1207 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1208 * progmodes/pascal.el (electric-pascal-equal):
1209 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1210 * xml.el (xml-substitute-special): Fix typos.
1211
7fb18e9e
GM
12122011-11-20 Glenn Morris <rgm@gnu.org>
1213
1214 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1215 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1216 Doc fixes.
1217 (rmail-decode-mime-charset): Mark as obsolete.
1218
1219 * mail/rmailsum.el (rmail-message-regexp-p-1):
1220 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1221 Before using mime functions, check they are set. (Bug#10077)
1222
d5a6b3ba
JL
12232011-11-19 Juri Linkov <juri@jurta.org>
1224
1225 * info.el (Info-finder-find-node): Use `package--builtins' instead
1226 of `package-alist'. Use node names formed by the pattern "Keyword "
1227 and the keyword name.
1228
e981b61f
AS
12292011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1230
1d00653d 1231 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1232
3ffbc301
JL
12332011-11-19 Juri Linkov <juri@jurta.org>
1234
1235 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1236 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1237 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1238 `old-history', `old-history-forward'. Add let-binding
1239 `window-selected'. Remove calls to `kill-buffer',
1240 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1241 before calling `Info-find-node', so `Info-find-node-2' will reread
1242 the Info file. Restore window positions only when `window-selected'
1243 is non-nil.
1244
30c62133
JL
12452011-11-19 Juri Linkov <juri@jurta.org>
1246
1247 * isearch.el (isearch-lazy-highlight-new-loop):
1248 Remove condition `(not isearch-error)'. (Bug#9918)
1249
1250 * misearch.el (multi-isearch-search-fun): Add condition
1251 `(not bound)' to ignore lazy-highlighting search.
1252 Add the search-failed message "end of multi" when the end of
1253 multi-sequence is reached. Uncapitalize the search-failed
1254 message "Repeat for next buffer".
1255
1256 * info.el (Info-search): Add the search-failed message
1257 "end of the manual" when the end of the manual is reached
1258 in Isearch mode.
1259
645ca9cf
JL
12602011-11-19 Juri Linkov <juri@jurta.org>
1261
1262 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1263 Use non-destructive `remove' instead of `delete' because
1264 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1265 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1266
df754f66
JL
12672011-11-19 Juri Linkov <juri@jurta.org>
1268
1269 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1270 to nil instead of binding `search-ring' and `regexp-search-ring'.
1271 (Bug#9185)
1272
0e23d96a
EZ
12732011-11-19 Eli Zaretskii <eliz@gnu.org>
1274
1275 * simple.el (line-move): Force movement by logical lines for any
1276 hscrolled window, not only when auto-hscroll-mode is on.
1277 (line-move-visual): Update doc string to that effect. (Bug#10076)
1278
8a6ccb66
AS
12792011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1280
1281 * language/european.el (macintosh): Define as alias for mac-roman.
1282
49ae5b39
EZ
12832011-11-19 Eli Zaretskii <eliz@gnu.org>
1284
1285 * mail/rmailmm.el (rmail-mime-display-header)
1286 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1287 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1288 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1289 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1290 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1291 of a raw aref.
1292 (rmail-mime-entity-segment): To get past the tagline, move forward
1293 2 more lines, to account for the 2 empty lines that precede and
1294 follow the line with the buttons.
1295 (rmail-mime-update-tagline): Move one more line, to get past the
1296 empty line that follows the buttons in the tagline. (Bug#9520)
1297
c56cad4a
MR
12982011-11-19 Martin Rudalics <rudalics@gmx.at>
1299
1300 * window.el (window-max-delta-1, window-min-delta-1)
1301 (window-min-size-1, window-state-get-1, window-state-put-1)
1302 (window-state-put-2): Use "window--" prefix.
1303
cbe71af3
SM
13042011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1305
2ad52c60
SM
1306 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1307 (smie-warning-count): New var.
1308 (smie-set-prec2tab): Use it.
1309 (smie-bnf->prec2): Improve warnings. Add docstring.
1310 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1311 (smie-bnf--set-class): New function.
1312 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1313 corner case.
1314
6944dbc1
SM
1315 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1316 (compilation-error-properties, compilation-move-to-column):
1317 Handle compilation-first-column while in the target buffer.
1318
c400c4d7
SM
1319 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1320 Don't hardcode point-min==1.
1321
6dbe3e96
SM
1322 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1323 (eshell-rewrite-for-command): Remove workaround.
1324 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1325 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1326 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1327
cbe71af3
SM
1328 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1329
a8e1496d
GM
13302011-11-17 Glenn Morris <rgm@gnu.org>
1331
1332 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1333 Ignore buffer-local generated-autoload-file if it is the same
1334 as the global value. (Bug#10049)
1335
df85d315
JB
13362011-11-17 Juanma Barranquero <lekktu@gmail.com>
1337
1338 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1339 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1340 (reftex-toc-previous-heading, reftex-toc-max-level)
1341 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1342 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1343 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1344 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1345 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1346 (reftex-toc-rename-label, reftex-toc-visit-location)
1347 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1348 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1349 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1350 leaving "*toc*" only for references to the buffer.
1351
a0c2d0ae
MR
13522011-11-17 Martin Rudalics <rudalics@gmx.at>
1353
1354 * window.el (window-resize, delete-window, split-window):
1355 Replace window-splits by window-combination-resize.
1d00653d 1356 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1357
35c0bac8
GM
13582011-11-17 Glenn Morris <rgm@gnu.org>
1359
1360 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1361 Make bash entry derive from sh entry, not shell entry.
1362
d0c8fc8a
MA
13632011-11-16 Michael Albinus <michael.albinus@gmx.de>
1364
d0c8fc8a
MA
1365 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1366 properties of linked files. (Bug#9879)
1367
7262a87c
MA
1368 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1369 local file name.
1370
7877f373
JB
13712011-11-16 Juanma Barranquero <lekktu@gmail.com>
1372
1373 * menu-bar.el (menu-bar-file-menu):
1374 * printing.el (pr-ps-utility):
1375 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1376 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1377 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1378 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1379 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1380 (icalendar--convert-cyclic-to-ical)
1381 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1382 (icalendar--convert-ical-to-diary)
1383 (icalendar--convert-recurring-to-diary)
1384 (icalendar--convert-non-recurring-all-day-to-diary)
1385 (icalendar-import-format-sample):
1386 * progmodes/idlw-shell.el (idlwave-shell-mode):
1387 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1388 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1389 (vhdl-ps-print-init): Fix typos.
1390
10649b82
KM
13912011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1392
9d0cfcd6
GM
1393 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1394 FSF and collapse date sequence, obscure author/maintainer email address
1395 better, remove extra version line, track relocation of author's webpage.
10649b82 1396
9d0cfcd6
GM
1397 * progmodes/python.el (python-pdbtrack-input-prompt)
1398 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1399 regular python pdb prompts. Adjustments shamelessly taken exactly as
1400 suggested in EmacsWiki page (tiny change):
1401 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1402
58179cce
JB
14032011-11-16 Juanma Barranquero <lekktu@gmail.com>
1404
1405 * expand.el (expand-pos, expand-index, expand-point):
1406 Remove redundant info from docstring.
1407 (expand-add-abbrevs): Doc fix.
1408 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1409 (expand-sample-perl-mode-expand-list): Fix typos.
1410
1411 * net/dbus.el (dbus-event-member-name):
1412 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1413 * term/pc-win.el (msdos-create-frame-with-faces):
1414 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1415
b6f67890
MR
14162011-11-16 Martin Rudalics <rudalics@gmx.at>
1417
1418 * window.el (split-window, window-state-get-1)
1419 (window-state-put-1, window-state-put-2): Rename occurrences of
1420 window-nest to window-combination-limit.
1d00653d 1421 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1422
ce7ddba0
CY
14232011-11-16 Chong Yidong <cyd@gnu.org>
1424
1425 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1426 regexp (Bug#10033).
1427
3ae704f4
SM
14282011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1431 `completing-read' will remove *Completions* and will preserve
1432 current-buffer for us.
1433 (tmm-add-prompt): Users of *Completions* will always (re)set its
1434 major mode.
1435 (tmm-old-comp-map): Remove.
1436
6ad1cdde
GM
14372011-11-16 Glenn Morris <rgm@gnu.org>
1438
1439 * mail/rmailedit.el: Require rmailmm when compiling.
1440 (rmail-old-mime-state): New declaration.
1441 (rmail-edit-current-message): If editing a mime message,
1442 edit the "raw" message from the mbox buffer.
1443 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1444
d20faa20
GM
14452011-11-15 Glenn Morris <rgm@gnu.org>
1446
1447 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1448 which wasn't being used. Add optional arg to force given state.
1449 (rmail-mime): Add optional arg to force given state.
1450
c7015153
JB
14512011-11-15 Juanma Barranquero <lekktu@gmail.com>
1452
1453 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1454 * frame.el (display-mm-dimensions-alist):
1455 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1456 (outline-move-subtree-down):
1457 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1458 (newsticker--treeview-do-get-node):
1459 * net/quickurl.el (quickurl-list-buffer-name):
1460 * progmodes/dcl-mode.el (dcl-mode):
1461 * progmodes/gdb-mi.el (gdb-mapcar*):
1462 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1463
45261b50
GM
14642011-11-15 Glenn Morris <rgm@gnu.org>
1465
1466 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1467 in a boolean sense, so just make it a boolean, and fix the doc.
1468 (rmail-show-mime-function, rmail-mime-feature)
1469 (rmail-require-mime-maybe): Doc fixes.
1470 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1471
1472 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1473
0d26e0b6
JB
14742011-11-15 Juanma Barranquero <lekktu@gmail.com>
1475
1476 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1477 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1478 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1479 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1480
447f30f6
GM
14812011-11-15 Glenn Morris <rgm@gnu.org>
1482
672b871d
GM
1483 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1484 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1485 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1486 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1487 (rmail-mime, rmail-show-mime): Doc fixes.
1488
f6aa5bb1
GM
1489 * term/ns-win.el (mode-line-frame-identification):
1490 Leave it alone. (Bug#10051)
1491
947cd66b
GM
1492 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1493
447f30f6
GM
1494 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1495 Handle empty buffers. (Bug#9978)
1496
0b381c7e
JB
14972011-11-14 Juanma Barranquero <lekktu@gmail.com>
1498
1499 * international/mule.el (define-charset):
1500 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1501 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1502 * progmodes/verilog-mode.el (verilog-backward-token):
1503 * textmodes/ispell.el (lookup-words):
1504 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1505
71e027ac
GM
15062011-11-14 Glenn Morris <rgm@gnu.org>
1507
56632ce4
GM
1508 * progmodes/executable.el
1509 (executable-make-buffer-file-executable-if-script-p):
1510 Handle file-modes returning nil.
1511
40500957
GM
1512 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1513 message - not necessary, and causes problems. (Bug#9831)
1514
071c2340
GM
1515 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1516
d3cfca60
GM
1517 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1518
71e027ac
GM
1519 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1520 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1521 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1522
89d61221
MR
15232011-11-12 Martin Rudalics <rudalics@gmx.at>
1524
1525 * window.el (window-resize, delete-window): Use window-splits
1526 variable instead of function.
1527 (window-state-get-1, window-state-put-2, window-state-put):
1528 Don't deal with windows' splits status.
1529
98282f6f
GM
15302011-11-12 Glenn Morris <rgm@gnu.org>
1531
1532 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1533 (apropos-documentation): Doc fixes.
1534
40a8bdf6
JB
15352011-11-11 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1538 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1539
65bd19ff
SM
15402011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * electric.el (electric-indent-post-self-insert-function): Make it
1543 possible for a char to only indent in some circumstances.
1544 (electric-indent-mode): Simplify.
1545
54f9154c
MR
15462011-11-11 Martin Rudalics <rudalics@gmx.at>
1547
1548 * window.el (windows-with-parameter): Remove unused function.
1549 (windows-at-side): Rename to window-at-side-list.
1550 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1551 (window-side-check, window-size-ignore, window-size-fixed-1)
1552 (window-in-direction-2): Prefix with "window--".
1553 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1554
68cbc58b
GM
15552011-11-11 Glenn Morris <rgm@gnu.org>
1556
1557 * subr.el (eval-after-load): If FILE is already loaded,
1558 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1559
b2621720
GM
15602011-11-10 Glenn Morris <rgm@gnu.org>
1561
9a4de110
GM
1562 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1563 Call svn via vc-svn-command rather than vc-do-command.
1564 (vc-svn-command): Add --non-interactive. (Bug#9993)
1565 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1566
b2621720
GM
1567 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1568 Add toggle-read-only. (Bug#7292)
1569 * files.el (toggle-read-only): Mention that it should only
1570 be used interactively. (Bug#10006)
1571
1dce7193
SM
15722011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1573
d9ac1a1e
SM
1574 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1575 Adjust regexp for OCaml warnings.
1576
0c325082
SM
1577 * electric.el (electric-pair-post-self-insert-function): Let user
1578 turn it off buffer-locally (bug#9932).
1579
90132c14
SM
1580 * progmodes/python.el (python-beginning-of-statement):
1581 Rewrite (bug#2703).
1582
1dce7193
SM
1583 * progmodes/compile.el: Better handle TABs (bug#9749).
1584 (compilation-internal-error-properties)
1585 (compilation-next-error-function): Obey the target buffer's
1586 compilation-error-screen-columns.
1587
c4e7c63a
JB
15882011-11-09 Juanma Barranquero <lekktu@gmail.com>
1589
1590 * progmodes/meta-mode.el: Remove obsolete comments.
1591 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1592 Fix typos in docstrings.
1593
2cffd681
MR
15942011-11-09 Martin Rudalics <rudalics@gmx.at>
1595
1596 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1597 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1598 (window--resizable): New function. Make all callers of
1599 window-resizable call window--resizable instead.
1600 (window-resizable): Rewrite in terms of window--resizable.
1601
0edcba87
GM
16022011-11-08 Glenn Morris <rgm@gnu.org>
1603
1604 * progmodes/delphi.el (delphi-mode-syntax-table):
1605 Let define-derived-mode define a proper syntax table. (Bug#9994)
1606
4b0d61e3
SM
16072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * window.el: Stay away from defsubst.
1610 (window-list-no-nils): Remove.
1611 (window-state-get-1, window-state-get): Use backquote instead.
1612
cd394be1 16132011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1614
4b0d61e3 1615 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1616 Fix incorrect use of default argument in `completing-read'.
1617
e1c2c6f2
MR
16182011-11-08 Martin Rudalics <rudalics@gmx.at>
1619
1620 * window.el (display-buffer-function, special-display-function):
1621 Mention display-buffer-record-window but do not mention
1622 help-setup parameter in doc-strings.
b3f4a882 1623 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1624
105216ed
CY
16252011-11-08 Chong Yidong <cyd@gnu.org>
1626
1627 * window.el (window-total-height, window-total-width): Doc fix.
1628 (window-body-size): Move from C.
1629 (window-body-height, window-body-width): Move to C.
1630
0a9f9ab5
SM
16312011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * window.el: Make special-display like display-buffer-alist (bug#9532).
1634 (display-buffer--special-action): New function, morphed
1635 from display-buffer--special.
1636 (display-buffer): Use it to handle special-display-buffers at higher
1637 priority (just after display-buffer-alist).
1638 (display-buffer-fallback-action, display-buffer--other-frame-action)
1639 (pop-to-buffer-same-window): Remove display-buffer--special.
1640
a769dd15
GM
16412011-11-07 Glenn Morris <rgm@gnu.org>
1642
1643 * calendar/cal-menu.el (cal-menu-set-date-title):
1644 Do nothing if not in a calendar. (Bug#9976)
1645
05a61ee3
SM
16462011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * files.el (find-file): Always use selected-window.
1649
be7f5545
MR
16502011-11-07 Martin Rudalics <rudalics@gmx.at>
1651
1652 * window.el (window-combinations): Make WINDOW argument
1653 mandatory. Rewrite doc-string.
1654 (walk-window-subtree, window-atom-check, window-min-delta)
1655 (window-max-delta, window--resize-this-window)
1656 (window--resize-root-window-vertically, window-tree)
1657 (balance-windows, window-state-put): Rewrite doc-strings as to
1658 not mention the term "subwindow".
1659 (window--resize-subwindows-skip-p): Rename to
1660 window--resize-child-windows-skip-p.
1661 (window--resize-subwindows-normal): Rename to
1662 window--resize-child-windows-normal.
1663 (window--resize-subwindows): Rename to
1664 window--resize-child-windows.
1665 (window-or-subwindow-p): Rename to window--in-subtree-p.
1666
3c6702ef
ML
16672011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1668
1669 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1670 Ensure that mbox format messages end in two newlines (Bug#9974).
1671
49745b39
CY
16722011-11-06 Chong Yidong <cyd@gnu.org>
1673
1674 * window.el (window-combination-p): Function deleted; its
1675 side-effect is not used in any existing code.
1676 (window-combinations, window-combined-p): Call window-*-child
1677 directly.
1678
24300f5f
CY
16792011-11-05 Chong Yidong <cyd@gnu.org>
1680
1681 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1682 (window-size-ignore, window-state-get): Callers changed.
1683 (window-normalize-window): Rename from window-normalize-any-window.
1684 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1685 (window-normalize-live-window): Delete.
447f16b8
CY
1686 (window-combination-p, window-combined-p, window-combinations)
1687 (walk-window-subtree, window-atom-root, window-min-size)
1688 (window-sizable, window-sizable-p, window-size-fixed-p)
1689 (window-min-delta, window-max-delta, window-resizable)
1690 (window-resizable-p, window-full-height-p, window-full-width-p)
1691 (window-current-scroll-bars, window-point-1, set-window-point-1)
1692 (window-at-side-p, window-in-direction, window-resize)
1693 (adjust-window-trailing-edge, maximize-window, minimize-window)
1694 (window-deletable-p, delete-window, delete-other-windows)
1695 (record-window-buffer, unrecord-window-buffer)
1696 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1697 (quit-window, split-window, window-state-put)
1698 (set-window-text-height, fit-window-to-buffer)
1699 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1700
89bd5ee1
EZ
17012011-11-04 Eli Zaretskii <eliz@gnu.org>
1702
53479029
EZ
1703 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1704 rfc2047-decode-string.
1705 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1706 warnings.
1707
89bd5ee1
EZ
1708 * window.el (window-body-height, window-body-width): Mention in
1709 the doc string that the return values are in frame's canonical
1710 units. (Bug#9949)
1711
bd17fdee
AM
17122011-11-03 Alan Mackenzie <acm@muc.de>
1713
1714 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1715 change in cc-engine.el.
1716
acc825c5
SM
17172011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1720
1885e5b8
MR
17212011-11-02 Martin Rudalics <rudalics@gmx.at>
1722
1723 * window.el (quit-window): Call unrecord-window-buffer after
1724 showing another buffer in the window. (Bug#9937)
acc825c5 1725 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1726
ebe06da9
JB
17272011-11-02 Juanma Barranquero <lekktu@gmail.com>
1728
1729 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1730 Accept status with more than 9 shelves. (Bug#9935)
1731 Reported by Colin D Bennett <colin@gibibit.com>.
1732
4ee88440
MR
17332011-11-01 Martin Rudalics <rudalics@gmx.at>
1734
1735 * help.el (with-help-window): Don't reference
1736 temp-buffer-show-specifiers in doc-string.
1737
08e1d82c
AS
17382011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1739
1740 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1741 menu-item.
1742
84bd6e9e
VJL
17432011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1744
1745 * whitespace.el: New version 13.2.2.
1746 (whitespace-newline-mode): Disable properly. Reported by Sarah
1747 <EmacsWiki>.
1748
dba0634a
UJ
17492011-10-30 Ulf Jasper <ulf.jasper@web.de>
1750
1751 * net/newst-treeview.el: Remove "Time-stamp".
1752 (newsticker--group-manage-orphan-feeds): Do not call
1753 newsticker--treeview-tree-update.
db22a3c2
JB
1754 (newsticker-treeview-update, newsticker-treeview):
1755 Call newsticker--treeview-tree-update if necessary.
dba0634a 1756
3d8daefe
MR
17572011-10-30 Martin Rudalics <rudalics@gmx.at>
1758
1759 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1760 (window-iso-combinations): Remove "iso-" infix.
1761 Suggested by Chong Yidong.
3d8daefe
MR
1762 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1763 (window-max-delta-1, window-resize, window--resize-siblings)
1764 (window--resize-this-window, adjust-window-trailing-edge)
1765 (split-window, balance-windows-1)
1766 (shrink-window-if-larger-than-buffer):
1767 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1768 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1769
1bc4c3ae
SM
17702011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1773 in place (bug#9907).
1774 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1775 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1776 (eshell-structure-basic-command, eshell-rewrite-while-command)
1777 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1778 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1779 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1780 (eshell-do-pipelines-synchronously, eshell-eval-command):
1781 Use backquotes and prefer setq to set.
1782 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1783 (eshell-macrop): Use functionp.
c1e2f5fa 1784 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1785
30b65d9c
CY
17862011-10-30 Chong Yidong <cyd@gnu.org>
1787
1788 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1789 instead of set-mark (Bug#9810).
1790
2d197ffb
CY
17912011-10-30 Chong Yidong <cyd@gnu.org>
1792
1793 * window.el (split-window-below, split-window-right): Rename from
1794 split-window-above-each-other and split-window-side-by-side
1795 respectively. All callers changed.
1796 (split-window-sensibly, split-window-sensibly): Use them.
1797 (split-window-keep-point): Doc fix.
1798
1799 * isearch.el: Add isearch-scroll property to split-window-below
1800 and split-window-right.
1801
1802 * follow.el (follow-mode):
1803 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1804 * progmodes/ada-xref.el (ada-gdb-application):
1805 * emulation/vip.el (vip-buffer-in-two-windows):
1806 * image-dired.el (image-dired-dired-with-window-configuration):
1807 * dired-x.el (dired-do-find-marked-files):
1808 * dired.el (dired-pop-to-buffer):
1809 * bs.el (bs--show-with-configuration):
1810 * vc/emerge.el (emerge-setup-windows):
1811 * textmodes/two-column.el (2C-two-columns):
1812 * textmodes/reftex-toc.el (reftex-toc):
1813 * progmodes/gdb-mi.el (gdb-setup-windows):
1814 * progmodes/fortran.el (fortran-window-create):
1815 * net/newst-treeview.el (newsticker--treeview-window-init):
1816 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1817 * emulation/tpu-edt.el (tpu-gold-map):
1818 * emulation/crisp.el (crisp-mode-map):
1819 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1820
38bb2ca8
CY
18212011-10-29 Chong Yidong <cyd@gnu.org>
1822
aa4de341
CY
1823 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1824
e1eb5385
CY
1825 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1826
5d2ece3c
CY
1827 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1828 forged Ispell output (Bug#7904).
1829
38bb2ca8
CY
1830 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1831
d0af9f77
SM
18322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * doc-view.el: Avoid ugly errors about not finding nil.
1835 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1836 (doc-view-dvipdf-program, doc-view-unoconv-program)
1837 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1838 Avoid nil or absolute file name as default value.
1839 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1840
52bedd34
AM
18412011-10-28 Alan Mackenzie <acm@muc.de>
1842
db22a3c2 1843 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1844
7e43cfa5
AM
18452011-10-28 Alan Mackenzie <acm@muc.de>
1846
1847 Amend the handling of c-beginning/end-of-defun in nested declaration
1848 scopes.
1849
52bedd34
AM
1850 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1851 cc-langs.el. Change it to a defcustom.
7e43cfa5 1852
52bedd34
AM
1853 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1854 cc-vars.el.
7e43cfa5 1855
d0af9f77
SM
1856 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1857 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1858
52bedd34 1859 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1860 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1861 (c-widen-to-enclosing-decl-scope): New function.
1862 (c-while-widening-to-decl-block): New macro.
1863 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1864 outward for defun boundaries, and correspondingly change symbol
1865 `respect-enclosure' to `go-outward'.
1866 (c-declaration-limits): Change algorithm to report only the "innermost"
1867 defun's boundaries.
1868
1a2ce9ee
DD
18692011-10-28 Deniz Dogan <deniz@dogan.se>
1870
1871 * net/rcirc.el (rcirc-mode): Use hard newlines.
1872
bc97a826
AM
18732011-10-28 Alan Mackenzie <acm@muc.de>
1874
1875 Amend to indent and fontify macros "which include their own semicolon"
1876 correctly, using the "virtual semicolon" mechanism.
1877
52bedd34 1878 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1879
d0af9f77 1880 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1881 Recode to scan one line at a time rather than having \n and \r
58179cce 1882 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1883 (c-forward-label): Amend for virtual semicolons.
58179cce 1884 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1885
52bedd34
AM
1886 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1887 of the new C macros.
bc97a826 1888
52bedd34 1889 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1890 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1891 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1892 (c-opt-cpp-macro-define): Make into a full language variable.
1893 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1894 AWK Mode (including \n, \r) removed, no longer needed.
1895
d0af9f77
SM
1896 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1897 Invoke c-make-macro-with-semi-re.
bc97a826 1898
52bedd34
AM
1899 * progmodes/cc-vars.el (c-macro-with-semi-re):
1900 (c-macro-names-with-semicolon): New variables.
58179cce 1901 (c-make-macro-with-semi-re): New function.
bc97a826 1902
7a6c0941
SM
19032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * vc/log-edit.el: Fill empty field rather than adding new one.
1906 (log-edit-add-field): New function.
1907 (log-edit-insert-changelog): Use it.
1908
b0c4cdcf
ML
19092011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1910
1911 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1912
ee1f1da9
SM
19132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1916 (gdb--check-interpreter): New function.
1917 (gdb): Use it.
1918
51bc5f8b
GM
19192011-10-27 Glenn Morris <rgm@gnu.org>
1920
416a2c45
GM
1921 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1922 (least-positive-float, least-negative-float)
1923 (least-positive-normalized-float, least-negative-normalized-float)
1924 (float-epsilon, float-negative-epsilon):
1925 Remove unnecessary declarations.
1926
1927 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1928 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1929 (least-positive-float, least-negative-float)
1930 (least-positive-normalized-float, least-negative-normalized-float)
1931 (float-epsilon, float-negative-epsilon): Add doc-strings,
1932 based on those in cl.texi.
1933
51bc5f8b
GM
1934 * files.el (set-visited-file-name): If the major-mode changed,
1935 reload the local variables. (Bug#9796)
1936
15de15c6
CY
19372011-10-27 Chong Yidong <cyd@gnu.org>
1938
1939 * subr.el (change-major-mode-after-body-hook): New hook.
1940 (run-mode-hooks): Run it.
1941
ee1f1da9
SM
1942 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1943 Use change-major-mode-before-body-hook.
15de15c6
CY
1944
1945 * simple.el (fundamental-mode):
1946 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1947 change introducing fundamental-mode-hook.
1948
5430d399
JB
19492011-10-26 Juanma Barranquero <lekktu@gmail.com>
1950
acc825c5 1951 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1952
ad74a69e
MA
19532011-10-26 Michael Albinus <michael.albinus@gmx.de>
1954
1955 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1956 tramp.el explicitly. (Bug#7583)
ad74a69e 1957
71d4c2a5
SM
19582011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * progmodes/octave-mod.el:
1961 * progmodes/octave-inf.el: Update maintainer.
1962
b1f6fa26
CY
19632011-10-26 Chong Yidong <cyd@gnu.org>
1964
1965 * subr.el (with-wrapper-hook): Rewrite doc.
1966
3f04efd6
MA
19672011-10-25 Michael Albinus <michael.albinus@gmx.de>
1968
1969 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1970 filenames "/method:foo:". (Bug#9793)
3f04efd6 1971
410488d3
SM
19722011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1975 (bug#9865).
1976
c1ebb47e
GM
19772011-10-24 Glenn Morris <rgm@gnu.org>
1978
1979 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1980
7f5c46c7
MA
19812011-10-24 Michael Albinus <michael.albinus@gmx.de>
1982
1983 * notifications.el: Add the requirement of a running D-Bus session
1984 bus to the Commentary.
1985
db2440b6
JL
19862011-10-24 Juri Linkov <juri@jurta.org>
1987
1988 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1989 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1990 (Bug#9364)
1991
feecf435
JL
19922011-10-24 Juri Linkov <juri@jurta.org>
1993
1994 * info.el (Info-following-node-name-re): Add newline to the list
1995 of allowed characters for leading space. (Bug#9824)
1996
a3839de2
SM
19972011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1998
acc825c5
SM
1999 * progmodes/octave-inf.el (inferior-octave-mode-map):
2000 Fix C-c C-h binding.
a3839de2
SM
2001 * progmodes/octave-mod.el (octave-help): Remove.
2002
09388e76
MA
20032011-10-23 Michael Albinus <michael.albinus@gmx.de>
2004
2005 Sync with Tramp 2.2.3.
2006
2007 * net/tramp-cache.el (top): Pacify byte-compiler using
2008 `init-file-user' and `site-run-file'.
2009
2010 * net/trampver.el: Update release number.
2011
86c60681
CY
20122011-10-23 Chong Yidong <cyd@gnu.org>
2013
2014 * files.el (toggle-read-only): Remove obsolete comment about
2015 version control.
2016
2017 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2018 for toggle-read-only. Note that this hasn't called vc-next-action
2019 since 2008-05-02, though it wasn't documented at the time.
2020
a3839de2
SM
2021 * vc/ediff-init.el (ediff-toggle-read-only-function):
2022 Use toggle-read-only.
86c60681 2023
cd5495ff
AM
20242011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2025
2026 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2027 of c-parse-state.
2028
00b77525 2029 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2030 correct faulty logical expression.
cd5495ff
AM
2031 (c-parse-state-state, c-record-parse-state-state):
2032 (c-replay-parse-state-state): New defvar/defuns.
2033 (c-debug-parse-state): Use new functions.
2034
42ee24ed
MR
20352011-10-22 Martin Rudalics <rudalics@gmx.at>
2036
2037 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2038 last fix. Use window-in-direction correctly.
42ee24ed 2039
a7dee7e7
CY
20402011-10-21 Chong Yidong <cyd@gnu.org>
2041
2042 * progmodes/idlwave.el (idlwave-mode):
2043 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2044 require-final-newline; that's done in prog-mode.
2045 Suggested by Stefan Monnier.
a7dee7e7 2046
e07b9a6d
MR
20472011-10-21 Martin Rudalics <rudalics@gmx.at>
2048
2049 * mouse.el (mouse-drag-window-above)
2050 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2051 (mouse-drag-mode-line-1, mouse-drag-header-line)
2052 (mouse-drag-vertical-line-rightward-window): Remove.
2053 (mouse-drag-line): New function.
2054 (mouse-drag-mode-line, mouse-drag-header-line)
2055 (mouse-drag-vertical-line): Call mouse-drag-line.
2056 * window.el (window-at-side-p, windows-at-side): New functions.
2057
7e1361d9
UM
20582011-10-21 Ulrich Mueller <ulm@gentoo.org>
2059
2060 * tar-mode.el (tar-grind-file-mode):
2061 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2062
30fcaf3a
CY
20632011-10-21 Chong Yidong <cyd@gnu.org>
2064
2065 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2066 * progmodes/vera-mode.el (vera-mode):
2067 Use mode-require-final-newline.
30fcaf3a 2068
516eddb0
GM
20692011-10-20 Glenn Morris <rgm@gnu.org>
2070
db22a3c2 2071 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2072
10d5f513
CS
20732011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2074
2075 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2076
ac6c8639
CY
20772011-10-20 Chong Yidong <cyd@gnu.org>
2078
2079 * emulation/cua-base.el (cua-mode):
2080 * mail/footnote.el (footnote-mode):
2081 * mail/mailabbrev.el (mail-abbrevs-mode):
2082 * net/xesam.el (xesam-minor-mode):
2083 * progmodes/bug-reference.el (bug-reference-mode):
2084 * progmodes/cap-words.el (capitalized-words-mode):
2085 * progmodes/compile.el (compilation-minor-mode)
2086 (compilation-shell-minor-mode):
2087 * progmodes/gud.el (gud-tooltip-mode):
2088 * progmodes/hideif.el (hide-ifdef-mode):
2089 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2090 * progmodes/subword.el (subword-mode):
2091 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2092 * progmodes/which-func.el (which-function-mode):
2093 * term/tvi970.el (tvi970-set-keypad-mode):
2094 * term/vt100.el (vt100-wide-mode):
2095 * textmodes/flyspell.el (flyspell-mode):
2096 * textmodes/ispell.el (ispell-minor-mode):
2097 * textmodes/nroff-mode.el (nroff-electric-mode):
2098 * textmodes/paragraphs.el (use-hard-newlines):
2099 * textmodes/refill.el (refill-mode):
2100 * textmodes/reftex.el (reftex-mode):
2101 * textmodes/rst.el (rst-minor-mode):
2102 * textmodes/sgml-mode.el (html-autoview-mode)
2103 (sgml-electric-tag-pair-mode):
2104 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2105 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2106 * emulation/crisp.el (crisp-mode):
2107 * emacs-lisp/eldoc.el (eldoc-mode):
2108 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2109 minor mode behavior.
2110
aa42ab43
JL
21112011-10-19 Juri Linkov <juri@jurta.org>
2112
2113 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2114 the list of hard-coded chars with escape-glyph face.
2115
89400f1d
SM
21162011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2119
305c07f6
MA
21202011-10-19 Michael Albinus <michael.albinus@gmx.de>
2121
2122 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2123 running process.
2124
13754b54
GM
21252011-10-19 Glenn Morris <rgm@gnu.org>
2126
2127 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2128 Ignore ignored files. (Bug#9726)
2129
06e21633
CY
21302011-10-19 Chong Yidong <cyd@gnu.org>
2131
2132 Doc fix for minor modes, stating that an omitted argument enables
2133 the mode unconditionally when called from Lisp.
2134
2135 * abbrev.el (abbrev-mode):
2136 * allout.el (allout-mode):
2137 * autoinsert.el (auto-insert-mode):
2138 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2139 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2140 (global-auto-revert-mode):
2141 * battery.el (display-battery-mode):
2142 * composite.el (global-auto-composition-mode)
2143 (auto-composition-mode):
2144 * delsel.el (delete-selection-mode):
2145 * desktop.el (desktop-save-mode):
2146 * dired-x.el (dired-omit-mode):
2147 * dirtrack.el (dirtrack-mode):
2148 * doc-view.el (doc-view-minor-mode):
2149 * double.el (double-mode):
2150 * electric.el (electric-indent-mode, electric-pair-mode):
2151 * emacs-lock.el (emacs-lock-mode):
2152 * epa-hook.el (auto-encryption-mode):
2153 * follow.el (follow-mode):
2154 * font-core.el (font-lock-mode):
2155 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2156 * help.el (temp-buffer-resize-mode):
2157 * hilit-chg.el (highlight-changes-mode)
2158 (highlight-changes-visible-mode):
2159 * hi-lock.el (hi-lock-mode):
2160 * hl-line.el (hl-line-mode, global-hl-line-mode):
2161 * icomplete.el (icomplete-mode):
2162 * ido.el (ido-everywhere):
2163 * image-file.el (auto-image-file-mode):
2164 * image-mode.el (image-minor-mode):
2165 * iswitchb.el (iswitchb-mode):
2166 * jka-cmpr-hook.el (auto-compression-mode):
2167 * linum.el (linum-mode):
2168 * longlines.el (longlines-mode):
2169 * master.el (master-mode):
2170 * mb-depth.el (minibuffer-depth-indicate-mode):
2171 * menu-bar.el (menu-bar-mode):
2172 * minibuf-eldef.el (minibuffer-electric-default-mode):
2173 * mouse-sel.el (mouse-sel-mode):
2174 * msb.el (msb-mode):
2175 * mwheel.el (mouse-wheel-mode):
2176 * outline.el (outline-minor-mode):
2177 * paren.el (show-paren-mode):
2178 * recentf.el (recentf-mode):
2179 * reveal.el (reveal-mode, global-reveal-mode):
2180 * rfn-eshadow.el (file-name-shadow-mode):
2181 * ruler-mode.el (ruler-mode):
2182 * savehist.el (savehist-mode):
2183 * scroll-all.el (scroll-all-mode):
2184 * scroll-bar.el (scroll-bar-mode):
2185 * server.el (server-mode):
2186 * shell.el (shell-dirtrack-mode):
2187 * simple.el (auto-fill-mode, transient-mark-mode)
2188 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2189 (line-number-mode, column-number-mode, size-indication-mode)
2190 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2191 * strokes.el (strokes-mode):
2192 * time.el (display-time-mode):
2193 * t-mouse.el (gpm-mouse-mode):
2194 * tool-bar.el (tool-bar-mode):
2195 * tooltip.el (tooltip-mode):
2196 * type-break.el (type-break-mode-line-message-mode)
2197 (type-break-query-mode):
2198 * view.el (view-mode):
2199 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2200 (global-whitespace-mode, global-whitespace-newline-mode):
2201 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2202
a3839de2
SM
2203 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2204 Fix autogenerated docstring.
06e21633 2205
5214e501
JL
22062011-10-19 Juri Linkov <juri@jurta.org>
2207
2208 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2209 by checking environment variables "DESKTOP_SESSION" and
2210 "XDG_CURRENT_DESKTOP". (Bug#9779)
2211
195f8db9
JL
22122011-10-19 Juri Linkov <juri@jurta.org>
2213
2214 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2215 (browse-url-chromium-program, browse-url-chromium-arguments):
2216 New defcustoms.
2217 (browse-url-default-browser): Check for `browse-url-chromium' and
2218 call `browse-url-chromium-program'.
2219 (browse-url-chromium): New command. (Bug#9779)
2220
343a34ff
JB
22212011-10-18 Juanma Barranquero <lekktu@gmail.com>
2222
2223 * facemenu.el (list-colors-duplicates): On Windows, detect more
2224 duplicates by assuming that only colors matching "^System" are
2225 special "system colors". (Bug#9722)
2226
6978a151
SM
22272011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2230 to distinguish the author from the committer.
2231
6a80b297
MA
22322011-10-18 Michael Albinus <michael.albinus@gmx.de>
2233
2234 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2235
b31a5677
JK
22362011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2237
2238 * international/mule.el (sgml-html-meta-auto-coding-function):
2239 Add support for detecting encoding in HTML5 specified only as
2240 <meta charset="UTF-8">. Implementation just makes http-equiv and
2241 content-type parts from HTML4 encoding string optional. (Bug#9716)
2242
80c6d77f
GM
22432011-10-18 Glenn Morris <rgm@gnu.org>
2244
2245 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2246
08b0fee8
CY
22472011-10-18 Chong Yidong <cyd@gnu.org>
2248
2249 * faces.el (cursor): Doc fix.
2250
67e729a5
CY
22512011-10-17 Chong Yidong <cyd@gnu.org>
2252
2253 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2254
343a34ff 22552011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2256
2257 * dirtrack.el (dirtrack): Support shell buffers with path
2258 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2259
0bc06380
TZ
22602011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2261
2262 * json.el: Bump version to 1.3 and note change in History.
2263 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2264
8b79f3e0
SM
22652011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2266
5a7c536b
SM
2267 * comint.el (comint-insert-input, comint-send-input)
2268 (comint-get-old-input-default, comint-backward-matching-input)
2269 (comint-next-prompt): Use nil instead of `input' for field property of
2270 past user input (bug#114).
2271
96a8a0df
SM
2272 * minibuffer.el (completion--replace): Inherit surrounding properties
2273 (bug#114).
2274 (minibuffer-complete-and-exit): Use it.
2275
8b79f3e0
SM
2276 * comint.el (comint--table-subvert): Quote the all-completions output
2277 (bug#9160).
2278
b8f7ff0d
MR
22792011-10-17 Martin Rudalics <rudalics@gmx.at>
2280
8b79f3e0 2281 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2282
b8f7ff0d 2283 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2284 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2285 entries and separate them from frame entries.
2286
c235b555
GM
22872011-10-15 Glenn Morris <rgm@gnu.org>
2288
2289 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2290 Doc fixes.
2291
6bbfa6e1
CY
22922011-10-15 Chong Yidong <cyd@stupidchicken.com>
2293
8b79f3e0
SM
2294 * net/network-stream.el (network-stream-open-starttls):
2295 Improve detection of failure due to lack of TLS support.
ec5c990d 2296
6bbfa6e1
CY
2297 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2298 putting the input text in front and in bold.
2299
98488977
SM
23002011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2301
3d1337be
SM
2302 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2303
ee0b45e4
SM
2304 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2305 empty buffer.
2306
98488977
SM
2307 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2308 unread-command-events rather than pushing yet-another event.
2309
186f4720
EZ
23102011-10-14 Eli Zaretskii <eliz@gnu.org>
2311
2312 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2313 the explanation of the possible choices. Make the options passed
2314 to completing-read shorter.
2315
8b7a997c
AM
23162011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2317
2318 * textmodes/flyspell.el (flyspell-large-region): Make sure
2319 extended character mode is used if defined (Bug#1339).
2320
12587bbb
EZ
23212011-10-13 Eli Zaretskii <eliz@gnu.org>
2322
2323 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2324 character info for LRE, LRO, RLE, and RLO characters by appending
2325 an invisible PDF.
12587bbb 2326
bad41229
SM
23272011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2330 even in case of error; add debug spec; simplify data flow.
2331 (with-timeout-handler): Remove.
2332
28dbc92f
MA
23332011-10-12 Michael Albinus <michael.albinus@gmx.de>
2334
2335 Fix Bug#6019, Bug#9315.
2336
2337 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2338 complete `buffer-file-name', the local file name part could look
2339 remotely (for example on VMS).
2340
2341 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2342 `tramp-run-real-handler'.
2343 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2344 already quoted by '"'.
2345
2346 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2347 Let `file-name-handler-alist' be nil, the local file name part
2348 could look remotely (for example on VMS).
2349
e1b0b23a
SM
23502011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2353 from here...
2354 (flyspell-post-command-hook): ...to here.
2355
a120bde9
SM
23562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2359 if not needed.
2360 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2361 using completion. Protect against "slow" callers.
2362 Remove the "message hack".
2363
7ce7717b
JL
23642011-10-11 Juri Linkov <juri@jurta.org>
2365
2366 * isearch.el (isearch-lazy-highlight-word): New variable.
2367 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2368 Use it. (Bug#9727)
2369
c02ee9d6
GM
23702011-10-11 Glenn Morris <rgm@gnu.org>
2371
2372 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2373 like f90-previous-statement does.
2374
93e616fd 23752011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2376
1f190e73 2377 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2378 only in interactive use, to avoid error.
2379
af7b6078
SM
23802011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * minibuffer.el (completion-file-name-table): Fix last change,
2383 i.e. ignore normal errors but not the other ones.
2384
0563dae9
MR
23852011-10-10 Martin Rudalics <rudalics@gmx.at>
2386
2387 * window.el (special-display-buffer-names)
2388 (special-display-regexps): Remove some remnants of earlier
2389 changes from doc-strings.
366ca7f3
MR
2390 (quit-windows-on): New function.
2391
2392 * vc/vc.el (vc-revert, vc-rollback):
2393 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2394 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2395 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2396
49677495
MR
23972011-10-09 Martin Rudalics <rudalics@gmx.at>
2398
2399 * window.el (frame-auto-hide-function): Add version tag.
2400 (Bug#9699)
2401
56f2d1e1
MA
24022011-10-09 Michael Albinus <michael.albinus@gmx.de>
2403
2404 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2405 condition.
2406
112a6592
LL
24072011-10-09 Leo Liu <sdl.web@gmail.com>
2408
2409 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2410 (Bug#9701)
2411
0812589b
GM
24122011-10-08 Glenn Morris <rgm@gnu.org>
2413
2414 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2415 before the first code statement zero indent. (Bug#9690)
2416
b2b0776e
CY
24172011-10-08 Chong Yidong <cyd@stupidchicken.com>
2418
2419 * simple.el (count-words-region): Always count in the region.
2420 Report the number of lines and characters too.
2421 (count-words): New command, which counts in the buffer if the
2422 region is inactive, as count-words-region used to.
2423 (count-words--message): New function. Handle plurals.
2424 (count-lines-region): Make it an alias for count-words-region.
2425
2426 * bindings.el (esc-map): Replace count-lines-region with
2427 count-words-region.
2428
c557cd6b
MR
24292011-10-08 Martin Rudalics <rudalics@gmx.at>
2430
2431 * window.el (window--delete): Delete dedicated frame
2432 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2433 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2434
61a57ef4 24352011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2436
2437 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2438
c3833279
CY
24392011-10-07 Chong Yidong <cyd@stupidchicken.com>
2440
2441 * bindings.el ([M-left],[M-right]): Bind to left-word and
2442 right-word respectively.
2443
21ce8245
GM
24442011-10-07 Glenn Morris <rgm@gnu.org>
2445
2446 * cus-start.el (debug-on-quit): Fix custom type.
2447
6d823bb2
LMI
24482011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2449
0181e193
LMI
2450 * subr.el (define-key-after): Clarify that the function is not
2451 useful for non-menu keymaps.
2452
6d823bb2
LMI
2453 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2454
8e3459ce 24552011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2456
21ce8245 2457 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2458 in current minibuffer (Fix bug with recursive minibuffers).
2459
a1c2d21e
CY
24602011-10-06 Chong Yidong <cyd@stupidchicken.com>
2461
2462 * progmodes/gdb-mi.el (gdb): Doc fix.
2463
5a4cf282
MR
24642011-10-05 Martin Rudalics <rudalics@gmx.at>
2465
2466 * window.el (frame-auto-hide-function): New option replacing
2467 frame-auto-delete. Suggested by Stefan Monnier.
2468 (window--delete): Call frame-auto-hide-function instead of
2469 investigating frame-auto-delete.
c96111ea
MR
2470 (window-point-1, set-window-point-1): New functions.
2471 (window-in-direction, record-window-buffer, window-state-get-1)
2472 (display-buffer-record-window): Use window-point-1 instead of
2473 window-point.
2474 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2475
9854542e
SM
24762011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2479
8943cfb0
GM
24802011-10-05 Glenn Morris <rgm@gnu.org>
2481
2482 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2483 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2484
647ab967
LL
24852011-10-05 Leo Liu <sdl.web@gmail.com>
2486
2487 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2488 works with buffer object.
2489
3ddfbced
SM
24902011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * mpc.el (mpc-tool-bar-map): Add labels.
2493
bdfa5dd2
GM
24942011-10-04 Glenn Morris <rgm@gnu.org>
2495
2496 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2497
0e2070b5
MR
24982011-10-04 Martin Rudalics <rudalics@gmx.at>
2499
2500 * window.el (window--delete): New function.
2501 (frame-auto-delete): Resuscitate option.
2502 (bury-buffer, replace-buffer-in-windows)
2503 (quit-window): Rewrite using window--delete.
2504 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2505 Pass display-buffer-mark-dedicated to window--display-buffer-2
2506 (Bug#9639).
2507
3dc61a09
SM
25082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2509
915a9b64
SM
2510 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2511 returns a list (bug#9554). Add remote file name completion.
2512 * comint.el (comint--table-subvert): Curry and get quote&unquote
2513 functions as arguments.
2514 (comint--complete-file-name-data): Adjust call accordingly.
2515 * pcomplete.el (pcomplete--table-subvert): Remove.
2516 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2517
3dc61a09
SM
2518 * minibuffer.el (completion-table-case-fold): Use currying.
2519 (completion--styles-type, completion--cycling-threshold-type):
2520 New constants.
2521 (completion-styles, completion-category-overrides)
2522 (completion-cycle-threshold): Use them.
2523 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2524 completion-table-case-fold.
2525
8ea0a993
SB
25262011-10-03 Stephen Berman <stephen.berman@gmx.net>
2527
2528 * minibuffer.el (completion-category-overrides): Fix type of styles
2529 and add more user friendly tags (bug#9660).
2530
8c24b7f6
SM
25312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2534 (mule-input-method-string): New widget.
2535 (default-input-method, language-info-custom-alist): Use it.
2536
428fe61a
SM
25372011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2538
32c1fffd
SM
2539 * pcomplete.el: Require comint.
2540 (pcomplete--common-suffix): Remove.
2541 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2542 (pcomplete--table-subvert): Sync with comint--table-subvert.
2543 (pcomplete--entries): Use comint-completion-file-name-table.
2544 * comint.el (comint-unquote-filename): Simplify.
2545 (comint-completion-file-name-table): New function (bug#9616).
2546 (comint--complete-file-name-data): Use it.
2547
428fe61a
SM
2548 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2549 (pcmpl-gnu-tar-buffer): Remove.
2550 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2551 around. Make sure pcomplete-suffix-list is only changed temporarily.
2552 Don't look inside the tar's file if it's too large.
428fe61a 2553
04c52e2f
CY
25542011-10-01 Chong Yidong <cyd@stupidchicken.com>
2555
ce3cefcc
CY
2556 * cus-edit.el (custom-mode-map):
2557 * epa.el (epa-key-list-mode-map):
2558 * man.el (Man-mode-map):
2559 * startup.el (splash-screen-keymap):
2560 * simple.el (special-mode-map): Use scroll-up-command and
2561 scroll-down-command.
2562
2563 * progmodes/idlw-help.el (idlwave-help-mode-map):
2564 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2565 * net/newst-plainview.el (newsticker-mode-map):
2566 * emulation/ws-mode.el (wordstar-mode-map):
2567 * emulation/vi.el (vi-com-map):
2568 * calc/calc-graph.el (calc-graph-show-dumb):
2569 * term/sun.el (terminal-init-sun):
2570 * term/ns-win.el (global-map):
2571 * progmodes/grep.el (grep-mode-map):
2572 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2573 * mail/rmail.el (rmail-mode-map):
2574 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2575
04c52e2f
CY
2576 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2577 custom-safe-themes as special.
2578
79adf8c8
JD
25792011-10-01 Julien Danjou <julien@danjou.info>
2580
2581 * notifications.el (notifications-notify): Fix docstring.
2582
63bd50d3
PS
25832011-10-01 Per Starbäck <per@starback.se>
2584
2585 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2586
199e4c7e
MR
25872011-09-30 Martin Rudalics <rudalics@gmx.at>
2588
2589 * startup.el (command-line-1): Fix last fix by inserting
2590 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2591 (Bug#9605) and (Bug#9636)
199e4c7e 2592
fe5f08dd
EZ
25932011-09-29 Eli Zaretskii <eliz@gnu.org>
2594
2595 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2596 window is hscrolled, move by logical lines. (Bug#9607)
2597 (line-move-visual): Update the doc string to the above effect.
2598
b5516bbd
MR
25992011-09-29 Martin Rudalics <rudalics@gmx.at>
2600
ccee00c0
MR
2601 * window.el (display-buffer-record-window): When WINDOW is the
2602 selected window use `point' instead of `window-point'. (Bug#9626)
2603
b5516bbd
MR
2604 * startup.el (command-line-1): Use insert-before-markers when
2605 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2606
b5516bbd
MR
2607 * help.el (help-window): Remove variable.
2608
52aa0014
GM
26092011-09-29 Glenn Morris <rgm@gnu.org>
2610
2611 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2612
df9a7357
JB
26132011-09-29 Juanma Barranquero <lekktu@gmail.com>
2614
2615 * descr-text.el (describe-char-categories): Accept category
2616 descriptions more than one line long.
2617
a8406c20
SM
26182011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2619
88d9610c
SM
2620 * simple.el (delete-trailing-whitespace): Fix last change.
2621
a5daf810
SM
2622 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2623 Don't confuse "y => 3" as the beginning of a `y' operation.
2624
a8406c20
SM
2625 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2626 object has more than 4 slots (bug#9613).
2627
a239d4e9
JB
26282011-09-28 Juanma Barranquero <lekktu@gmail.com>
2629
2630 * subr.el (with-output-to-temp-buffer):
2631 * net/quickurl.el (quickurl, quickurl-browse-url):
2632 Fix typos in docstrings.
2633
693fbdb6
EZ
26342011-09-27 Eli Zaretskii <eliz@gnu.org>
2635
2636 * minibuffer.el (completion-styles)
2637 (completion-category-overrides): Cross reference each other in doc
2638 strings.
2639
8b457e28
GM
26402011-09-27 Glenn Morris <rgm@gnu.org>
2641
2642 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2643 to split-string. (Bug#9606)
2644
85a16208
LMI
26452011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2646
2647 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2648 (bug#9615).
2649
502f9ebd
CY
26502011-09-27 Chong Yidong <cyd@stupidchicken.com>
2651
2652 * emacs-lisp/package.el (list-packages): Fix echo area message.
2653
7690bdea
LL
26542011-09-27 Leo Liu <sdl.web@gmail.com>
2655
2656 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2657
e2ee6f30
MA
26582011-09-25 Michael Albinus <michael.albinus@gmx.de>
2659
2660 * net/dbus.el (dbus-unregister-object): Don't release services for
2661 registered signals. (Bug#9581)
2662
f3f98342
TZ
26632011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2664
2665 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2666 function that picks between cfengine 2 and 3 support
2667 automatically. Update docs accordingly.
2668
dd7aa8dd
KH
26692011-09-22 Kenichi Handa <handa@m17n.org>
2670
2671 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2672 ZERO.
2673 (indian-itrans-v5-table-for-tamil): New variable.
2674 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2675
3f2b07f8
KM
26762011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2677
2678 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2679 that's true if the current command involved collapsing of text.
2680 It's reset to false at the beginning of the next command.
2681 (allout-post-command-business): Move the cursor to the beginning
2682 of entry if the cursor is hidden and collapsing activity just
2683 happened.
2684
371d6a61
CY
26852011-09-24 Chong Yidong <cyd@stupidchicken.com>
2686
2687 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2688 tracking (Bug#9541).
2689
2ac2721a
UJ
26902011-09-24 Ulf Jasper <ulf.jasper@web.de>
2691
2692 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2693 (newsticker-show-news): Automatically load html rendering package
2694 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2695 because w3m-fill-column is let-bound" and the error "Symbol's value
2696 as variable is void: w3m-fill-column".
2ac2721a 2697
fac7ae53
MA
26982011-09-24 Michael Albinus <michael.albinus@gmx.de>
2699
2700 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2701 Release services only if they are defined. (Bug#9581)
2702
e08b633b
RS
27032011-09-23 Richard Stallman <rms@gnu.org>
2704
e488d29c
RS
2705 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2706 distinguish start of paragraph from start of its text.
2707
19c38752
RS
2708 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2709
e08b633b
RS
2710 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2711 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2712 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2713
0a39f27e
AS
27142011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2715
2716 * international/mule-diag.el (mule-diag): Insert a newline after
2717 each fontset description.
2718
db4e950d
SM
27192011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * simple.el (delete-trailing-whitespace):
2722 Document last change; simplify.
2723
eca3f3ea
PW
27242011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2725
d68e189a
PW
2726 * simple.el (delete-trailing-whitespace): Also delete
2727 extra newlines at the end of the buffer.
2728
eca3f3ea
PW
2729 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2730 (picture-newline): Use forward-line so as to ignore fields.
2731
01c157cc
SM
27322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * subr.el (with-wrapper-hook): Fix edebug spec.
2735
022de23e
LMI
27362011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2737
2738 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2739 (bug#4538).
2740
91683089
MA
27412011-09-23 Michael Albinus <michael.albinus@gmx.de>
2742
eca3f3ea
PW
2743 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2744 Fix nasty bug using wrong cached values.
91683089 2745
5bdd6fa4
AM
27462011-09-23 Alan Mackenzie <acm@muc.de>
2747
2748 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2749
97adfb97
CY
27502011-09-23 Chong Yidong <cyd@stupidchicken.com>
2751
2752 * window.el (pop-to-buffer): Ensure right window is selected if we
2753 chose another frame.
2754
d4ef2b50
EZ
27552011-09-22 Eli Zaretskii <eliz@gnu.org>
2756
2757 * simple.el (what-cursor-position): Use get-char-property-change
2758 and next-single-char-property-change, to be able to show display
2759 properties that come from overlays as well as text properties.
2760
72258fe5
CY
27612011-09-22 Chong Yidong <cyd@stupidchicken.com>
2762
2763 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2764
2765 * cmuscheme.el (run-scheme, switch-to-scheme):
2766 * cus-edit.el (customize-group, custom-buffer-create)
2767 (customize-browse):
2768 * info.el (info):
2769 * shell.el (shell):
2770 * mail/sendmail.el (mail):
2771 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2772
8f098516
RS
27732011-09-22 Richard Stallman <rms@gnu.org>
2774
2775 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2776 move back only to line beg, don't move back over blank lines.
2777
e74f1bb6
MA
27782011-09-22 Michael Albinus <michael.albinus@gmx.de>
2779
2780 * files.el (copy-directory): Set directory attributes only in case
2781 they could be retrieved from the source directory. (Bug#9565)
2782
bfeef8b6
DK
27832011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2784
2785 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2786 (hs-find-block-beginning, hs-hide-level-recursive):
2787 Ignore strings as well as comments. (Bug#9502)
2788
7e423bb8
AS
27892011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2790
2791 * progmodes/sql.el (sql-comint-postgres):
2792 Convert port number to a string. (Bug#9566)
2793
b4d72fcf
MR
27942011-09-22 Martin Rudalics <rudalics@gmx.at>
2795
2796 * window.el (quit-window): Undedicate window when switching to
2797 previous buffer. Reported by Thierry Volpiatto
2798 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2799 (special-display-popup-frame): When popping up a new frame reset
2800 its previous buffers to nil. Simplify code.
b4d72fcf 2801
a7b88dc6
MA
28022011-09-21 Michael Albinus <michael.albinus@gmx.de>
2803
2804 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2805 and process filter, as done also in `shell-command'.
2806
cf4eacfd
MR
28072011-09-21 Martin Rudalics <rudalics@gmx.at>
2808
eca3f3ea 2809 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2810 Call set-window-start with NOFORCE argument t.
2811 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2812 (quit-window): Reword doc-string. Handle new format of
2813 quit-restore parameter. Don't delete window if it has a
2814 previous buffer we can show instead of the present one.
2815 (display-buffer-record-window): Rewrite using a new format for
2816 the quit-restore window parameter
2817 (special-display-popup-frame, display-buffer-same-window)
2818 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2819 (display-buffer-pop-up-window, display-buffer-use-some-window):
2820 Adapt symbol passed to display-buffer-record-window.
2821 * help.el (help-window-setup): Handle new format of quit-restore
2822 parameter.
2823
8d28cb95
SM
28242011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2825
94ab793f
SM
2826 * faces.el (face-list): Fix docstring (bug#9564).
2827
8d28cb95
SM
2828 * window.el (display-buffer--action-function-custom-type):
2829 Don't include internal functions in the Custom interface.
2830
3820edeb
JL
28312011-09-20 Juri Linkov <juri@jurta.org>
2832
2833 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2834 (Info-forward-node, Info-backward-node, Info-next-preorder)
2835 (Info-last-preorder): Use it. (Bug#9528)
2836
5147931d
JL
28372011-09-20 Juri Linkov <juri@jurta.org>
2838
2839 * info.el (Info-last-preorder): Visit last menu item only when
2840 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2841
cf499a1a
JD
28422011-09-20 Julien Danjou <julien@danjou.info>
2843
2844 * password-cache.el (password-cache-remove): Remove entries even if the
2845 value is nil, so that password with a nil value (negative caching) is
2846 possible to invalidate.
2847
f84e2fe2
LM
28482011-09-20 Lawrence Mitchell <wence@gmx.li>
2849
2850 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2851 all whitespace around breakpoint. (Bug#9553)
2852 (f90-find-breakpoint): Only break at whitespace inside a comment.
2853
78054a46
SM
28542011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * minibuffer.el (completion-file-name-table): Keep track of errors.
2857 (completion-table-with-predicate): Handle the case where pred1 is nil.
2858 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2859
345083b2
SM
28602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2861
e24e27be
SM
2862 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2863 (debugger-return-value): Signal an error if the debugging context does
2864 not await any return value.
2865
345083b2
SM
2866 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2867 * image-mode.el (image-toggle-display-text)
2868 (image-toggle-display-image): Stay away from evil `intangible'.
2869
08d355e3
LL
28702011-09-19 Leo Liu <sdl.web@gmail.com>
2871
2872 * replace.el (occur-revert-arguments): Make it permanent-local.
2873 (occur-mode): Don't call font-lock-defontify.
2874
f01da43f
CY
28752011-09-19 Chong Yidong <cyd@stupidchicken.com>
2876
2877 * net/ldap.el (ldap-search-internal): Don't push empty search
2878 result (Bug#9508).
2879
b6072fa6
SM
28802011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2883
443d6696
MA
28842011-09-19 Michael Albinus <michael.albinus@gmx.de>
2885
2886 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2887 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2888
7cc6e154
JL
28892011-09-18 Juri Linkov <juri@jurta.org>
2890
2891 * buff-menu.el (Buffer-menu-mode-map):
2892 * dired.el (dired-mode-map):
2893 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2894 (lisp-interaction-mode-map):
2895 * emacs-lisp/package.el (package-menu-mode-map):
2896 * epa.el (epa-key-list-mode-map):
2897 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2898 (menu-bar-options-menu):
2899 * outline.el (outline-mode-menu-bar-map):
2900 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2901 * vc/vc-dir.el (vc-dir-menu-map):
2902 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2903 Capitalize non-function content words in menu item strings.
2904
2905 * dired.el (dired-mode-map): Add menu item for
2906 `image-dired-dired-toggle-marked-thumbs'.
2907
80302a81
JL
29082011-09-18 Juri Linkov <juri@jurta.org>
2909
2910 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2911 to `isearch-case-fold-search' and restore its original value
2912 after the `isearch-mode' call.
2913
46c5cf66
JL
29142011-09-18 Juri Linkov <juri@jurta.org>
2915
2916 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2917 because `zgrep' returns 1 for successful matches (bug#9226).
2918
d18b513b
JL
29192011-09-18 Juri Linkov <juri@jurta.org>
2920
2921 * info.el (Info-extract-menu-node-name): Check the second match
2922 for empty string (second test-case of bug#9528).
2923 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2924 intermediate nodes to the history (first test-case of bug#9528).
2925
72753f87
JL
29262011-09-18 Juri Linkov <juri@jurta.org>
2927
2928 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2929 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2930
c9384295
JL
29312011-09-18 Juri Linkov <juri@jurta.org>
2932
1154d12e
JB
2933 * info.el (Info-file-supports-index-cookies):
2934 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2935 outputs one more line for long file names (bug#4142).
c9384295 2936
d473dce8
CY
29372011-09-18 Chong Yidong <cyd@stupidchicken.com>
2938
2939 * newcomment.el (comment-normalize-vars): If prompting for
2940 comment-start, set comment-start-skip too (Bug#8424).
2941
2176854d
JB
29422011-09-18 Johan Bockgård <bojohan@gnu.org>
2943
2944 * icomplete.el: Fix previous fix of Bug#5849.
2945 (icomplete-mode): Don't set completion-show-inline-help.
2946 (icomplete-minibuffer-setup): Set completion-show-inline-help
2947 locally during icompletion.
2948
3aace4e4
CY
29492011-09-18 Chong Yidong <cyd@stupidchicken.com>
2950
c940224f
CY
2951 * woman.el (woman2-process-escapes): Don't delete unrecognized
2952 escapes (Bug#7843).
2953
3aace4e4
CY
2954 * files.el (inhibit-first-line-modes-regexps): Add image files.
2955 (hack-local-variables-prop-line): Return nil for malformed
2956 prop-lines (Bug#9044).
2957
710dec63
MA
29582011-09-18 Michael Albinus <michael.albinus@gmx.de>
2959
2960 * net/tramp.el (top): Don't require 'shell.
2961 (tramp-methods): Fix docstring.
2962 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2963 Return complete remote file name. Handle "smb" case.
2964 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2965 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2966
2967 * net/tramp-compat.el (top): Require 'shell.
2968
2969 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2970 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2971 `tramp-current-host'.
2972 (tramp-get-remote-tmpdir): Remove.
2973
2974 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2975 `tramp-tmpdir' entries.
2976 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2977 (tramp-smb-handle-file-attributes): Ignore errors.
2978 (tramp-smb-wait-for-output): Check also for process end.
2979
5d5ac8ec
LMI
29802011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2981
2982 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2983 when sending QUIT (bug#9312).
2984
8c0f49f0
CY
29852011-09-17 Chong Yidong <cyd@stupidchicken.com>
2986
2987 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2988 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2989 occur-mode-display-occurrence.
2990 (occur-edit-mode): Add usage message.
2991 (occur-cease-edit): New command.
2992 (occur-after-change-function): Use text properties to find the
2993 position of the prefix text.
2994 (occur-engine): Set stickiness of prefix text properties.
2995
8f1383f7
GM
29962011-09-17 Glenn Morris <rgm@gnu.org>
2997
2998 * progmodes/etags.el (complete-tag):
2999 Fix call to completion-in-region. (Bug#9526)
3000
744ba0e3
JL
30012011-09-17 Juri Linkov <juri@jurta.org>
3002
3003 * textmodes/ispell.el (ispell-word): Add to the error message
3004 the word, ispell program name and current dictionary (bug#9121).
3005 (ispell-tex-arg-end): Capitalize "error" in the error message.
3006
d9bbf400
AS
30072011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3008
3009 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3010 check. (Bug#4251)
3011
8da11505
JL
30122011-09-17 Juri Linkov <juri@jurta.org>
3013
3014 * window.el (window-safe-min-height, window-safe-min-width):
3015 Fix typos (followup to bug#9522).
3016
a91adc7e
SJ
30172011-09-17 Sven Joachim <svenjoac@gmx.de>
3018
3019 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3020
064f328a
EZ
30212011-09-16 Eli Zaretskii <eliz@gnu.org>
3022
3023 * simple.el (line-move): If goal-column is set, move by logical
3024 lines, not by display lines. (Bug#971)
3025 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3026 to reflect the above change.
3027
e69df516
SM
30282011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * image.el (imagemagick-register-types): Use regexp-opt.
3031
cbb0f9ab
CY
30322011-09-15 Chong Yidong <cyd@stupidchicken.com>
3033
3034 * window.el (display-buffer-base-action): Rename from
3035 display-buffer-default-action. Make default value empty.
3036 (display-buffer-overriding-action): Convert to defvar.
3037 (display-buffer-fallback-action): New var.
3038
25322144
CY
30392011-09-15 Chong Yidong <cyd@stupidchicken.com>
3040
3041 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3042 declaration.
3043 (package--add-to-archive-contents): If there is a duplicate entry
3044 with an older version, remove it.
3045 (package-menu-mark-delete, package-menu-mark-install)
3046 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3047 (package-menu-mark-obsolete-for-deletion):
3048 Use package-menu-get-status instead of a regexp search.
25322144
CY
3049 (package-menu-get-status): Use tabulated-list-entry.
3050 (package-menu-mark-upgrades): New command.
d770725a 3051 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3052 (package-menu-execute): Do installation before deletion.
3053 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3054 instead of checking major-mode.
3055 (package-menu--find-upgrades): New function.
3056
7520339c
LMI
30572011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3058
3059 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3060 passwords in the log buffer.
65a046c4
LMI
3061 (smtpmail-process-filter): Update the process marker so that the
3062 "broken by peer" status message is inserted in the right place.
7520339c 3063
d3c30954
SM
30642011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3065
3fe48822
SM
3066 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3067 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3068 bibtex-completion-at-point-function.
3069 (bibtex-completion-at-point-function): Use them.
3070
1b8b3954
SM
3071 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3072
d3c30954
SM
3073 * mpc.el (mpc-constraints-tag-lookup): New function.
3074 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3075 also to browser "album|playlist".
3076
72779976
JL
30772011-09-14 Juri Linkov <juri@jurta.org>
3078
3079 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3080 (isearch-edit-string): Use length of `isearch-string' when
3081 `isearch-fail-pos' returns nil.
3082 (isearch-message): Remove duplicate code and call
3083 `isearch-fail-pos' with arg `t'.
3084
a0bf2bcd
CY
30852011-09-14 Chong Yidong <cyd@stupidchicken.com>
3086
17bb0a2d
CY
3087 * replace.el (occur-mode-goto-occurrence): Don't force using other
3088 window (Bug#9499).
3089
a0bf2bcd
CY
3090 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3091
f678e0b6
MR
30922011-09-14 Martin Rudalics <rudalics@gmx.at>
3093
3094 * window.el (display-buffer-window): Remove.
3095 (display-buffer-record-window): Use help-setup window parameter
3096 instead of variable display-buffer-window.
3097 (display-buffer-function, special-display-buffer-names)
3098 (special-display-function): Mention help-setup parameter instead
3099 of display-buffer-window in doc-string.
d3c30954
SM
3100 * help.el (help-window-setup): New argument help-window.
3101 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3102 Reword some messages.
3103 (with-help-window): Pass window used for displaying the buffer
3104 to help-window-setup. Don't set display-buffer-window.
3105
8e39b2e8
GM
31062011-09-13 Glenn Morris <rgm@gnu.org>
3107
3108 * emacs-lisp/debug.el (debugger-make-xrefs):
3109 Preserve point. (Bug#9462)
3110
85e9c04b
CY
31112011-09-13 Chong Yidong <cyd@stupidchicken.com>
3112
3113 * window.el (window-deletable-p): Use next-frame.
3114
1b36ed6a
MR
31152011-09-13 Martin Rudalics <rudalics@gmx.at>
3116
3117 * window.el (window-auto-delete): Remove.
3118 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3119 dedication and previous buffers.
1b36ed6a
MR
3120 (switch-to-prev-buffer): Don't delete window.
3121 (delete-windows-on): Delete a window's frame if and only if the
3122 window is dedicated.
3123 (replace-buffer-in-windows): Delete buffer's window or frame if
3124 and only if window is dedicated.
3125 (quit-window): Handle quit-restore as before last change.
4d61f28d 3126 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3127
ef8ef9fb
CY
31282011-09-13 Chong Yidong <cyd@stupidchicken.com>
3129
3130 * window.el (window-deletable-p): Never delete the last frame on a
3131 given terminal.
3132
b2cba41e
GM
31332011-09-13 Glenn Morris <rgm@gnu.org>
3134
3135 * help.el (describe-key-briefly): Copy previous standard-output change.
3136
51553db6 31372011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3138
3139 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3140
b7556719
GM
31412011-09-13 Glenn Morris <rgm@gnu.org>
3142
3143 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3144 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3145
64b51947
CY
31462011-09-12 Chong Yidong <cyd@stupidchicken.com>
3147
3148 * dired-aux.el (dired-mark-read-string): Don't return default
3149 value on empty input (Bug#9361).
3150 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3151 Omit initial minibuffer contents.
3152 (dired-do-chmod): Signal an error on empty input.
3153 (dired-mark-read-string): Don't return default on empty input.
3154
3155 * files.el (file-modes-symbolic-to-number): Doc fix.
3156
393a301e
SM
31572011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3159 * international/mule-cmds.el (ucs-completions): Remove.
3160 (read-char-by-name): Use complete-with-action instead; add metadata.
3161
fa5660f9
CY
31622011-09-11 Chong Yidong <cyd@stupidchicken.com>
3163
3164 * window.el (display-buffer--action-function-custom-type)
3165 (display-buffer--action-custom-type): New vars.
3166 (display-buffer-alist, display-buffer-default-action)
3167 (display-buffer-overriding-action): Add defcustom types.
3168
4a592f66
CY
3169 * frame.el (delete-other-frames): Doc fix (Bug#276).
3170
73d56dbd
LMI
31712011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3172
3173 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3174
37ac18a3
CY
31752011-09-11 Chong Yidong <cyd@stupidchicken.com>
3176
3177 Change modes that used same-window-* vars to use switch-to-buffer.
3178
3179 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3180 Use switch-to-buffer.
3181
3182 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3183 (customize-browse, custom-buffer-create-other-window):
3184 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3185
3186 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3187 (Info-prev, Info-up, Info-speedbar-goto-node)
3188 (info-display-manual): Use switch-to-buffer.
3189 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3190
3191 * mail/sendmail.el (mail): Use switch-to-buffer.
3192 (mail-recover): Use switch-to-buffer-other-window.
3193
3194 * cmuscheme.el (run-scheme, switch-to-scheme):
3195 * ielm.el (ielm):
3196 * shell.el (shell):
3197 * net/rlogin.el (rlogin):
3198 * net/telnet.el (telnet, rsh):
3199 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3200
10195bd6
AS
32012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3202
3203 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3204
b322f63a
LMI
32052011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3206
39d7fed6
LMI
3207 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3208 so don't mention it (bug#9301).
ba5a81f1 3209 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3210
ee0e9f11
LMI
3211 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3212 match `x', `w32' and `ns', like the manual says (bug#9029).
3213
0b1c89c1 3214 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3215 (process-kill-buffer-query-function): Mention the buffer name in
3216 the query.
0b1c89c1 3217
77549ea8
LMI
3218 * image-mode.el (image-next-line): The line parameter is mandatory
3219 (bug#9258).
3220
803ef892
LMI
3221 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3222 which can be useful (bug#9301).
3223
12980837
LMI
3224 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3225
91054f8f
LMI
3226 * subr.el (match-string): Mention that the current buffer should
3227 be the same as the search was done in (bug#9282).
3228
b322f63a
LMI
3229 * facemenu.el: Disable the remove-* commands if the mark isn't
3230 active (bug#9162).
3231
3199b96f
CY
32322011-09-10 Chong Yidong <cyd@stupidchicken.com>
3233
3234 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3235 of display-buffer.
3236 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3237
3238 * replace.el (occur-mode-goto-occurrence)
3239 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3240 and display-buffer.
3241
3242 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3243 display-buffer.
3244
3245 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3246 special-display and same-window variables.
3247 (mail-other-window): Use switch-to-buffer-other-window.
3248 (mail-other-frame): USe switch-to-buffer-other-frame.
3249
393a301e
SM
3250 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3251 Use display-buffer-other-frame.
3199b96f
CY
3252 (gdb-display-gdb-buffer): Use pop-to-buffer.
3253
3254 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3255
3256 * progmodes/python.el: Don't set same-window-buffer-names.
3257
3258 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3259
3260 * window.el (display-buffer-alist): Add *Python*.
3261
8319e0bf
CY
32622011-09-10 Chong Yidong <cyd@stupidchicken.com>
3263
3264 * window.el (display-buffer-alist): Add entry for buffers
3265 previously handled same-window-*.
3266 (display-buffer-alist, display-buffer-default-action)
3267 (display-buffer-overriding-action): Mark as risky.
3268 (display-buffer-alist): Document action function changes.
3269 (display-buffer--same-window-action)
3270 (display-buffer--other-frame-action): New variables.
3271 (switch-to-buffer, display-buffer-other-frame): Use them.
3272 (display-buffer): Rename reuse-frame entry to reusable-frames.
3273 (display-buffer-reuse-selected-window): Function deleted.
3274 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3275 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3276 (display-buffer-special): New function.
3277 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3278 display-buffer-reuse-or-pop-window. Split off special-display
3279 part into display-buffer-special.
3280 (display-buffer-use-some-window): Don't perform any special
3281 pop-up-frames handling.
3282 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3283 (display-buffer--maybe-same-window): Rename from
0d3ff375 3284 display-buffer-maybe-same-window.
8319e0bf 3285
919a69aa
CY
3286 * info.el: Don't set same-window-regexps.
3287 (info-setup): New function.
3288 (info-other-window, info): Call it.
3289
3290 * cus-edit.el: Don't set same-window-regexps.
3291 (customize-group): New argument.
3292 (customize-group-other-window): Use it.
3293 (customize-face, customize-face-other-window): Likewise.
3294 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3295
8319e0bf
CY
3296 * net/rlogin.el:
3297 * net/telnet.el:
3298 * progmodes/gud.el: Don't set same-window-regexps.
3299
3300 * cmuscheme.el:
3301 * ielm.el:
3302 * shell.el:
3303 * mail/sendmail.el:
3304 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3305
25173000
JL
33062011-09-10 Juri Linkov <juri@jurta.org>
3307
3308 * isearch.el (isearch-edit-string): Remove obsolete mention of
3309 `C-w' (`isearch-yank-word-or-char') from docstring.
3310 (isearch-query-replace): Fix typo in docstring (bug#9466).
3311
056e44ef
JL
33122011-09-10 Juri Linkov <juri@jurta.org>
3313
3314 * paren.el (show-paren-function): Don't show escaped parens.
3315 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3316
c3760c17
EZ
33172011-09-10 Eli Zaretskii <eliz@gnu.org>
3318
3319 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3320 (mm-default-file-encoding): Remove autoload forms, they are
3321 replaced with autoload cookies in mml.el and mm-encode.el.
3322 (mail-add-attachment): New command.
3323 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3324 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3325 the doc string.
3326 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3327
fece895e
RT
33282011-09-10 Reuben Thomas <rrt@sc3d.org>
3329
e69df516
SM
3330 * simple.el (count-words-region): Use buffer if there's no region
3331 (bug#9429).
fece895e 3332
5e68ce4a
JL
33332011-09-09 Juri Linkov <juri@jurta.org>
3334
3335 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3336 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3337 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3338
0a6b9622
AM
33392011-09-09 Alan Mackenzie <acm@muc.de>
3340
3341 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3342 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3343
14a29deb
EZ
33442011-09-09 Eli Zaretskii <eliz@gnu.org>
3345
3346 Fix for Savannah bug#9392.
3347 * simple.el (mail-encode-mml): New defvar.
3348
3349 * mail/rmail.el (mail-encode-mml): Add a defvar.
3350 (rmail-enable-mime-composing): Default to t.
3351 (rmail-forward): Use MIME method of forwarding only if both
3352 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3353 Set mail-encode-mml non-nil if the MIME method was used.
3354
3355 * mail/sendmail.el (mml-to-mime): Add autoload form.
3356 (mail-encode-mml): Add a defvar.
3357 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3358 to nil.
3359 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3360 message through mml-to-mime, and reset mail-encode-mml to nil.
3361
28c45130
GM
33622011-09-09 Glenn Morris <rgm@gnu.org>
3363
3364 * woman.el (woman-if-body): When processing an .el block,
3365 do not delete the next .el block as well. (Bug#9447)
69f4b618 3366 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3367
9b1c252e
MR
33682011-09-08 Martin Rudalics <rudalics@gmx.at>
3369
3370 * window.el (window-deletable-p): Make sure window is live before
3371 invoking window-prev-buffers.
3372
567457e3
LL
33732011-09-08 Leo Liu <sdl.web@gmail.com>
3374
3375 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3376
97f05794
JL
33772011-09-08 Juri Linkov <juri@jurta.org>
3378
3379 * progmodes/compile.el (compilation-environment): Make it
3380 a defcustom (bug#8340).
3381
8b0874b5
MR
33822011-09-08 Martin Rudalics <rudalics@gmx.at>
3383
3384 * window.el (frame-auto-delete): Rename to window-auto-delete.
3385 Make it control auto-deletion of windows and/or frames.
3386 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3387 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3388 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3389 Rewrite handling of case when window/frame can be deleted.
3390 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3391 argument t. (Bug#9456)
8b0874b5 3392
4feb6e73
CY
33932011-09-07 Chong Yidong <cyd@stupidchicken.com>
3394
3395 * help-mode.el (help-mode): Restore autoload.
3396
91ab9c13
JL
33972011-09-07 Juri Linkov <juri@jurta.org>
3398
3399 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3400 `compilation-environment'. Set buffer-local
3401 `compilation-environment' to `thisenv' later after (funcall mode).
3402 (Bug#8340)
3403
3404 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3405 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3406 instead of replacing its value. (Bug#8340)
3407
0527e251
JL
34082011-09-07 Juri Linkov <juri@jurta.org>
3409
3410 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3411 based on text properties put by `grep-filter' instead of matching
3412 escape sequences.
3413 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3414 to the value of `grep-error-screen-columns' (bug#9438).
3415
249f792c
JL
34162011-09-07 Juri Linkov <juri@jurta.org>
3417
3418 * simple.el (next-error-highlight, next-error-highlight-no-select):
3419 Doc fix (bug#9432).
3420
ff7271b9
OT
34212011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3422
3423 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3424 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3425
183fc730
LL
34262011-09-07 Leo Liu <sdl.web@gmail.com>
3427
3428 * net/rcirc.el (rcirc-mode): Conditionally initialize
3429 rcirc-input-ring.
3430
77694924
SM
34312011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * emacs-lisp/find-func.el (find-function-C-source): Only set
3434 find-function-C-source-directory after checking that we found a source
3435 file there (bug#9440).
3436
d809b8eb
AM
34372011-09-06 Alan Mackenzie <acm@muc.de>
3438
3439 * isearch.el (isearch-other-meta-char): Wherever a key list is
3440 unread, "unread" the prefix arg, too. This fixes bug #8901.
3441
453de99f
OG
34422011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3443
3444 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3445
90439906
JL
34462011-09-05 Juri Linkov <juri@jurta.org>
3447
3448 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3449
f62bd846
JL
34502011-09-05 Juri Linkov <juri@jurta.org>
3451
3452 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3453 keeping point where processing of grep matches begins, and
3454 continue to delete remaining escape sequences from the same point.
3455 (grep-filter): Make leading zero optional in "0?1;31m" because
3456 git-grep emits "\033[1;31m" escape sequences unlike expected
3457 "\033[01;31m" as GNU Grep does (bug#9408).
3458 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3459
045820ec
JL
34602011-09-05 Juri Linkov <juri@jurta.org>
3461
3462 * subr.el (y-or-n-p): Capitalize "yes".
3463
f5e29b9b
MA
34642011-09-04 Michael Albinus <michael.albinus@gmx.de>
3465
3466 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3467 `tramp-cache-unload-hook' where appropriate.
3468 (tramp-methods): Rename `tramp-remote-sh' to
3469 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3470 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3471
3472 * net/tramp-sh.el (top): Don't require 'shell.
3473 (tramp-methods): Add `tramp-remote-shell' and
3474 `tramp-remote-shell-args' entries.
3475 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3476 (tramp-sh-handle-shell-command): Remove.
3477 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3478 Use `tramp-remote-shell'.
3479
2784c434
CY
34802011-09-03 Chong Yidong <cyd@stupidchicken.com>
3481
393a301e 3482 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3483 (sendmail-query-once): Save directly to send-mail-function.
3484 Update message-send-mail-function too.
3485
3486 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3487
464cdf56
CS
34882011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3489
3490 * progmodes/python.el (python-mode-map): Use correct function to
3491 start python interpreter from menu-bar (as reported by Geert
3492 Kloosterman).
3493 (inferior-python-mode-map): Fix typo.
393a301e 3494 (python-shell-map): Remove.
464cdf56 3495
d37e5c87
DD
34962011-09-03 Deniz Dogan <deniz@dogan.se>
3497
3498 * net/rcirc.el (rcirc-print): Simplify code for
3499 rcirc-scroll-show-maximum-output. There is no need to walk
3500 through all windows to find the right one.
3501
f3ada0ee
CS
35022011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3503
3504 * help.el (help-return-method): Doc fix.
3505
1f3c99ca
MR
35062011-09-03 Martin Rudalics <rudalics@gmx.at>
3507
3508 * window.el (window-deletable-p): Don't return a non-nil value
3509 when there's a buffer that was shown in the window before.
3510 (Bug#9419)
393a301e
SM
3511 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3512 Set window's previous buffers to nil.
1f3c99ca 3513
a3cf097f
EZ
35142011-09-03 Eli Zaretskii <eliz@gnu.org>
3515
3516 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3517 newline before and after the tag line, so it doesn't interfere
3518 with determining the paragraph direction of bidirectional text.
3519
3d03de90
LL
35202011-09-03 Leo Liu <sdl.web@gmail.com>
3521
3522 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3523
c3313451
CY
35242011-09-02 Chong Yidong <cyd@stupidchicken.com>
3525
393a301e 3526 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3527 (pop-to-buffer): Change interactive spec. Pass second argument
3528 directly to display-buffer.
3529 (display-buffer): Fix interactive spec. Use functionp to
3530 distinguish between a function and a list of functions.
3531
3532 * abbrev.el (edit-abbrevs):
3533 * arc-mode.el (archive-extract):
3534 * autoinsert.el (auto-insert):
3535 * bookmark.el (bookmark-bmenu-list):
3536 * files.el (find-file):
3537 * view.el (view-buffer):
3538 * progmodes/compile.el (compilation-goto-locus):
3539 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3540
89894cd8
CY
35412011-09-02 Chong Yidong <cyd@stupidchicken.com>
3542
3543 * window.el (display-buffer-alist): Doc fix.
3544 (display-buffer): Add docstring. Don't treat
3545 display-buffer-default specially.
3546 (display-buffer-reuse-selected-window)
3547 (display-buffer-same-window, display-buffer-maybe-same-window)
3548 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3549 (display-buffer-pop-up-window)
3550 (display-buffer-reuse-or-pop-window)
3551 (display-buffer-use-some-window): New functions.
3552 (display-buffer-default-action): Use them.
393a301e 3553 (display-buffer-default): Delete.
89894cd8
CY
3554 (pop-to-buffer-1): Fix choice of actions.
3555
ae0bc9fb
SM
35562011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * minibuffer.el (completion--insert-strings): Don't get confused by
3559 completion entries that end with an LF char.
3560
e9d90883
EZ
35612011-09-01 Eli Zaretskii <eliz@gnu.org>
3562
3563 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3564
437014c8
CY
35652011-09-01 Chong Yidong <cyd@stupidchicken.com>
3566
3567 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3568 (display-buffer-same-window, display-buffer-other-window):
3569 New functions.
437014c8
CY
3570 (pop-to-buffer-1): New function. Use the above.
3571 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3572 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3573
3574 * view.el (view-buffer-other-window, view-buffer-other-frame):
3575 Just use pop-to-buffer.
3576
a5e063d5
TV
35772011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3578
3579 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3580
793d32bb
WH
35812011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3582
3583 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3584
d65e4c15
RS
35852011-08-31 Richard Stallman <rms@gnu.org>
3586
3587 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3588 of the separation of rmail-view-buffer from rmail-buffer.
3589 If you say no to "replace original", the decrypt is in the
3590 view buffer. If you say yes, the decrypt goes into the
3591 rmail buffer also.
3592
f818cd2a
MR
35932011-08-31 Martin Rudalics <rudalics@gmx.at>
3594
3595 * window.el (display-buffer-window): Rewrite doc-string.
3596 (display-buffer-record-window): New function.
3597 (display-buffer-macro-specifiers)
3598 (display-buffer-even-window-sizes, display-buffer-set-height)
3599 (display-buffer-set-width, display-buffer-in-window)
3600 (display-buffer-reuse-window, display-buffer-split-specifiers)
3601 (display-buffer-side-specifiers, display-buffer-split-window-1)
3602 (display-buffer-split-window, display-buffer-split-atom-window)
3603 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3604 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3605 (display-buffer-other-window-means-other-frame)
3606 (display-buffer-normalize-special)
3607 (display-buffer-normalize-default)
3608 (display-buffer-normalize-argument)
3609 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3610 (display-buffer-normalize-specifiers, display-buffer-frame)
3611 (display-buffer-same-window, display-buffer-same-frame)
3612 (display-buffer-other-window)
3613 (display-buffer-same-frame-other-window)
3614 (display-buffer-other-frame, pop-to-buffer-same-window)
3615 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3616 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3617 (switch-to-buffer-same-frame)
3618 (switch-to-buffer-other-window-same-frame)
3619 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3620 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3621 (display-buffer-alist-set): Remove.
3622 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3623 (special-display-regexps, special-display-function):
3624 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3625 parameter.
3626 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3627 (special-display-frame-alist, special-display-popup-frame)
3628 (same-window-buffer-names, same-window-regexps, same-window-p)
3629 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3630 (split-window-preferred-function, split-height-threshold)
3631 (split-width-threshold, window-splittable-p)
3632 (split-window-sensibly, window--try-to-split-window)
3633 (window--frame-usable-p, even-window-heights)
3634 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3635 (window--display-buffer-2, display-buffer-other-frame):
3636 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3637 (display-buffer-default, display-buffer-assq-regexp): New functions.
3638 (display-buffer-alist): Rewrite doc-string.
3639 (display-buffer-default-action)
3640 (display-buffer-overriding-action): New variables.
3641 (display-buffer, switch-to-buffer): Rewrite.
3642 (pop-to-buffer): Restore Emacs 23 behavior but use
3643 window-normalize-buffer-to-display.
3644 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3645 Restore Emacs 23 behavior but use
3646 window-normalize-buffer-to-switch-to.
3647 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3648 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3649 Rewrite using Emacs 23 options.
f818cd2a 3650
5bc3b51d
MA
36512011-08-31 Michael Albinus <michael.albinus@gmx.de>
3652
3653 * net/tramp.el (tramp-root-regexp): Remove.
3654 (tramp-completion-file-name-regexp-unified)
3655 (tramp-completion-file-name-regexp-separate)
3656 (tramp-completion-file-name-regexp-url): Don't use leading volume
3657 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3658 (tramp-drop-volume-letter): Simplify definition.
3659 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3660
b1a4f8e1
SM
36612011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3664 (bug#9356).
3665
5664fa7b
RT
36662011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3667
b1a4f8e1 3668 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3669
9a45d6c3
JL
36702011-08-29 Juri Linkov <juri@jurta.org>
3671
3672 * isearch.el (isearch-done): Don't display message "Mark saved"
3673 when arg `edit' is non-nil to prevent its flicker in the echo area.
3674
fb87e0fb
CY
36752011-08-28 Chong Yidong <cyd@stupidchicken.com>
3676
3677 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3678 obsolete packages for deletion.
3679
09ac1c2a
CS
36802011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3681
3682 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3683 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3684 view-mode from help-mode.
3685 (help-xref-override-view-map): Remove.
3686 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3687 view-mode is not used anymore.
3688
7a1ff57f
CY
36892011-08-28 Chong Yidong <cyd@stupidchicken.com>
3690
3691 * server.el (server-port): Doc fix.
3692
b9696605
CY
3693 * cus-theme.el (custom-theme-choose-mode): Inherit from
3694 special-mode (Bug#9124).
3695 (custom-theme-choose-mode-map): Add special-mode to parent.
3696
ef8cdf8c
AM
36972011-08-28 Alan Mackenzie <acm@muc.de>
3698
3699 * progmodes/cc-fonts.el
3700 (c-make-font-lock-BO-decl-search-function): New function.
3701 (c-basic-matchers-after - "Fontify the clauses after various
3702 keywords"): Extract the three keyword lists for the 3 erroneous
3703 constructs from the list of four, and use the new function above
3704 in place of an old one.
3705
27de4e20
DD
37062011-08-28 Deniz Dogan <deniz@dogan.se>
3707
3708 * net/rcirc.el (rcirc-insert-prev-input)
3709 (rcirc-insert-next-input): Remove unused argument.
3710
356a3681
SM
37112011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3714
3fc9b218
AM
37152011-08-27 Alan Mackenzie <acm@muc.de>
3716
3717 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3718 handle function pointer parameters properly.
3719
538a061c
MR
37202011-08-27 Martin Rudalics <rudalics@gmx.at>
3721
3722 * window.el (display-buffer-reuse-window): Fix case where
3723 selected window was reused with non-nil OTHER-WINDOW argument.
3724 (Bug#9381)
3725
35b1c40c
DD
37262011-08-27 Deniz Dogan <deniz@dogan.se>
3727
3728 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3729 oftc's NickServ messages.
3730
2f6a3e79
GM
37312011-08-27 Glenn Morris <rgm@gnu.org>
3732
3733 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3734
7254299e
CY
37352011-08-26 Chong Yidong <cyd@stupidchicken.com>
3736
3737 * emacs-lisp/package.el (package-install): Call package-initialize
3738 if called interactively.
3739
f8ccf167
LL
37402011-08-26 Leo Liu <sdl.web@gmail.com>
3741
3742 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3743
3e8cd5ce
JL
37442011-08-25 Juri Linkov <juri@jurta.org>
3745
3746 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3747 `search-whitespace-regexp' (bug#9364).
3748
93eb7113
JL
37492011-08-25 Juri Linkov <juri@jurta.org>
3750
3751 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3752 `regexp-search-ring' to their global values to protect from
3753 updating by `read-from-minibuffer' (bug#9185).
3754
f65d1611
JL
37552011-08-25 Juri Linkov <juri@jurta.org>
3756
3757 * textmodes/ispell.el (ispell-command-loop): Add newline
3758 at the end of the "Use option `i'..." line.
3759
f1cf7a31
JL
37602011-08-25 Juri Linkov <juri@jurta.org>
3761
3762 * battery.el (display-battery-mode): If `battery-status-function'
3763 or `battery-mode-line-format' is nil, display the message and set
3764 `display-battery-mode' to nil (bug#9363).
3765
0c95fcf7
EZ
37662011-08-25 Eli Zaretskii <eliz@gnu.org>
3767
3768 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3769 bidi-string-mark-left-to-right; they are unnecessary now.
3770
a2ebe600
DD
37712011-08-25 Deniz Dogan <deniz@dogan.se>
3772
3773 * net/quickurl.el: Documentation typo fixes.
3774
e4ed06f1
CY
37752011-08-25 Chong Yidong <cyd@stupidchicken.com>
3776
3777 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3778
e5f1c99e
GM
37792011-08-25 Glenn Morris <rgm@gnu.org>
3780
b2948976
GM
3781 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3782
e5f1c99e
GM
3783 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3784 (smtpmail-via-smtp): Handle nil response from smtp.
3785
f22f4808
JL
37862011-08-24 Juri Linkov <juri@jurta.org>
3787
3788 * proced.el (proced-marked): Inherit from `error' instead of
3789 `font-lock-warning-face'.
3790
3791 * ibuffer.el (ibuffer-marked-face): Change default face from
3792 `font-lock-warning-face' to `warning'.
3793 (ibuffer-deletion-face): Change default face from
3794 `font-lock-type-face' to `error'.
3795
3796 * battery.el (battery-update): Use the face `error' instead of
3797 `font-lock-warning-face' (bug#6117).
3798
6a93965e
JL
37992011-08-24 Juri Linkov <juri@jurta.org>
3800
3801 * faces.el (success): Change face color from "Green3" to
3802 "ForestGreen" on light background (bug#9353).
3803
1ed43b09
CY
38042011-08-24 Chong Yidong <cyd@stupidchicken.com>
3805
5664fa7b
RT
3806 * window.el (quit-window): Rename from quit-restore-window.
3807 Use same arglist as old quit-window.
1ed43b09
CY
3808 (frame-auto-delete): Doc fix.
3809
3810 * view.el (view-mode-exit): Use quit-window.
3811
11dcdbb2
JL
38122011-08-24 Juri Linkov <juri@jurta.org>
3813
3814 * isearch.el (isearch-ring-adjust1): Start visiting previous
3815 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3816 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3817 for empty search string (when the last search string is reused
3818 automatically) to adjust the isearch ring to the last element and
3819 prepare the correct index for further M-p commands (bug#9185).
3820
de62b4df
KH
38212011-08-24 Kenichi Handa <handa@m17n.org>
3822
3823 * international/ucs-normalize.el: If decomposition property of
3824 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3825 nil.
3826 (nfd, nfkd): Likewise.
3827
963b492b
SM
38282011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3831 from process filters aren't reliably transmitted to the surrounding
3832 accept-process-output.
3833 (mpc-proc-check): New function.
3834 (mpc-proc-sync): Use it (bug#8293)
3835
93b6b5e1
SM
38362011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3839 Add compatibility functions (bug#9313).
3840
bca633fb
EZ
38412011-08-23 Eli Zaretskii <eliz@gnu.org>
3842
b177498a
EZ
3843 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3844
bca633fb
EZ
3845 * international/uni-bidi.el: Regenerated.
3846
0902a04e
KH
38472011-08-23 Kenichi Handa <handa@m17n.org>
3848
3849 * international/charprop.el:
3850 * international/uni-bidi.el:
3851 * international/uni-category.el:
3852 * international/uni-combining.el:
3853 * international/uni-comment.el:
3854 * international/uni-decimal.el:
3855 * international/uni-decomposition.el:
3856 * international/uni-digit.el:
3857 * international/uni-lowercase.el:
3858 * international/uni-mirrored.el:
3859 * international/uni-name.el:
3860 * international/uni-numeric.el:
3861 * international/uni-old-name.el:
3862 * international/uni-titlecase.el:
3863 * international/uni-uppercase.el: Regenerate.
3864
3bbf23bc
MR
38652011-08-23 Martin Rudalics <rudalics@gmx.at>
3866
3867 * help.el (help-window-setup): Fix message displayed when other
3868 window is reused. (Bug#9341)
3869
b3fd59bd
SM
38702011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3871
1802e444
SM
3872 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3873 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3874
b3fd59bd
SM
3875 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3876 Mark obsolete.
3877 * shell.el (shell-parse-pcomplete-arguments): New function.
3878 (shell-completion-vars): Use it instead (bug#9160).
3879
4eb61348
SM
38802011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3881
867cab74
SM
3882 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3883 strings and comments (bug#9333).
3884
4eb61348
SM
3885 * emacs-lisp/debug.el (debug-arglist): New function.
3886 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3887 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3888
262a1439
JL
38892011-08-22 Juri Linkov <juri@jurta.org>
3890
56ee679c
JL
3891 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3892 Revert regexp that highlights output switches to its old
3893 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3894
262a1439
JL
3895 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3896 to check for empty output (bug#9226).
3897
f13f86fb
CY
38982011-08-22 Chong Yidong <cyd@stupidchicken.com>
3899
3900 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3901 symbol-constituent as the default, as that stops font-lock from
3902 working properly (Bug#8843).
3903
c65c9622
LMI
39042011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3905
3906 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3907 `coding-system-for-*' around the process open call to avoid
3908 auth-source side effects.
e7f2c178 3909 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3910 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3911 probe hangs.
c65c9622 3912
23a8a5ab
CY
39132011-08-21 Chong Yidong <cyd@stupidchicken.com>
3914
ff98b2dd
CY
3915 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3916
23a8a5ab
CY
3917 * emacs-lisp/find-func.el (find-function-noselect): New arg
3918 lisp-only.
3919
3920 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3921 signal an error for built-in functions (Bug#6664).
3922
f5e3c598
LMI
39232011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3924
3925 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3926 (smtpmail-try-auth-methods): Use it.
3927
a3f2468a
CY
39282011-08-21 Chong Yidong <cyd@stupidchicken.com>
3929
2c34e8da
CY
3930 * font-lock.el (font-lock-fontify-region)
3931 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3932 (font-lock-default-unfontify-buffer)
3933 (font-lock-default-fontify-region)
3934 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3935
b3fd59bd
SM
3936 * progmodes/compile.el (compilation-error-properties):
3937 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3938 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3939 `ant' regexp.
ee31aabc 3940
a3f2468a
CY
3941 * net/browse-url.el (browse-url-firefox): Don't call
3942 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3943
8e999f70
GM
39442011-08-20 Glenn Morris <rgm@gnu.org>
3945
c21a496a
GM
3946 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3947
59ee0542
GM
3948 * tutorial.el (tutorial--default-keys): Update some default bindings.
3949
8e999f70
GM
3950 * files.el (hack-local-variables): Fully ignore case for "mode:".
3951
e3715033
AM
39522011-08-20 Alan Mackenzie <acm@muc.de>
3953
3954 Resolve invalid use of a regexp in regexp-opt.
3955
4d61f28d
JB
3956 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3957 detection for a java annotation.
e3715033 3958
4d61f28d 3959 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3960 detection for a java annotation.
3961
4d61f28d
JB
3962 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3963 handling for java.
e3715033
AM
3964 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3965
04ed2e9c
CY
39662011-08-20 Chong Yidong <cyd@stupidchicken.com>
3967
3968 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3969 (Bug#9274).
3970
826cee64
AM
39712011-08-20 Alan Mackenzie <acm@muc.de>
3972
58179cce 3973 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3974 such a construct. Mainly for when jit-lock etc. starts a chunk
3975 here.
3976
58179cce 3977 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3978 variable.
58179cce 3979 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3980 c-make-font-lock-search-function.
3981 (c-make-font-lock-search-function): Use the above function.
3982 (c-make-font-lock-context-search-function): New function.
3983 (c-cpp-matchers): Enhance the preprocessor expression case with
3984 the above function
3985 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3986 which takes an expression.
3987
3988 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3989
13009bd8
MR
39902011-08-20 Martin Rudalics <rudalics@gmx.at>
3991
3992 * window.el (display-buffer-reuse-window)
3993 (display-buffer-pop-up-window): Don't reuse or split a side
3994 window.
3995
9234ff7f
GM
39962011-08-19 Glenn Morris <rgm@gnu.org>
3997
3998 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3999 Downcase "Mode:". (Bug#9331)
9234ff7f 4000
f635daa1
CY
40012011-08-18 Chong Yidong <cyd@stupidchicken.com>
4002
4003 * international/characters.el: Add L and R categories.
4004
4005 * subr.el (bidi-string-mark-left-to-right): Rename from
4006 string-mark-left-to-right. Use category search.
4007
4008 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4009
bc987f8b
JL
40102011-08-18 Juri Linkov <juri@jurta.org>
4011
4012 * faces.el (error, warning, success): New faces with definitions
4013 copied from old default values of `font-lock-warning-face',
4014 `compilation-warning', `compilation-info' (bug#6117).
4015
4016 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4017
4018 * progmodes/compile.el (compilation-error): Inherit from `error'.
4019 (compilation-warning): Inherit from `warning'.
4020 (compilation-info): Inherit from `success'.
4021
4022 * dired.el (dired-marked): Inherit from `warning'.
4023 (dired-flagged): Inherit from `error'.
4024
57173b96
LMI
40252011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4026
3e79eb87
LMI
4027 * mail/smtpmail.el (auth-source): Require to avoid problems with
4028 binding variables (bug#9298). Also clean up some unused
4029 autoloads.
4030
b3fd59bd
SM
4031 * net/network-stream.el (network-stream-open-starttls):
4032 Support using starttls.el without using gnutls-cli.
57173b96 4033
02b404de
JL
40342011-08-17 Juri Linkov <juri@jurta.org>
4035
4036 * progmodes/grep.el (rgrep): Handle the case when
4037 `grep-find-command' is a cons cell (bug#9278).
4038
8c9177f2
MR
40392011-08-17 Martin Rudalics <rudalics@gmx.at>
4040
4041 * window.el (display-buffer-pop-up-frame): Run frame creation
4042 function with BUFFER current (as special-display-popup-frame
4043 does). Reported by Drew Adams.
4044
3644a0ab
DU
40452011-08-17 Daiki Ueno <ueno@unixuser.org>
4046
4047 * epa-mail.el: Simplify GnuPG group expansion using
4048 epg-expand-group.
4049 (epa-mail-group-alist, epa-mail-group-modtime)
4050 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4051 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4052 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4053 Remove.
4054
5e617bc2 40552011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4056
4057 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4058
9c4aeabf
AM
40592011-08-16 Alan Mackenzie <acm@muc.de>
4060
4061 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4062 Correct, to avoid the inside of macros.
4063
3a99bf64
RS
40642011-08-16 Richard Stallman <rms@gnu.org>
4065
04963aa8
RS
4066 * epa-mail.el: Handle GnuPG group definitions.
4067 (epa-mail-group-alist, epa-mail-group-modtime)
4068 (epa-mail-gnupg-conf-file): New variables.
4069 (epa-mail-parse-groups, epa-mail-sync-groups)
4070 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4071 (epa-mail-expand-recipients): New functions.
4072 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4073
177549d0
RS
4074 * mail/rmail.el (rmail-epa-decrypt): New command.
4075
fe38beef
RS
4076 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4077 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4078 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4079 (epa-decrypt-armor-in-region): Make error message clearer.
4080
934eacb9
SM
40812011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4084 and "a2b" to "ab" for `prefix'.
4085
d024fb4e
CY
40862011-08-14 Chong Yidong <cyd@stupidchicken.com>
4087
4088 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4089 filter groups.
de148fee
CY
4090 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4091 Fourquet (Bug#8804).
d024fb4e 4092
62f1ca49
JB
40932011-08-12 Juanma Barranquero <lekktu@gmail.com>
4094
4095 * startup.el (argi): Declare as global variable (bug#9275).
4096
9ccaaa4b
CY
40972011-08-12 Chong Yidong <cyd@stupidchicken.com>
4098
4099 * subr.el (string-mark-left-to-right): Search the entire string
4100 for RTL script, not just the terminating character. Doc fix.
4101
a3dae87a
SM
41022011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4103
6cd18349
SM
4104 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4105 New function.
4106 (js--regexp-literal, js-syntax-propertize-function): Remove.
4107 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4108 (js-mode-map): Don't rebind electric keys.
4109 (js-insert-and-indent): Remove.
4110 (js-mode): Setup electric-layout and electric-indent instead.
4111
a3dae87a
SM
4112 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4113
9d5cb631
DU
41142011-08-12 Daiki Ueno <ueno@unixuser.org>
4115
4116 * epa.el (epa-progress-callback-function): Fix the logic of
4117 displaying progress.
4118 * epa-file.el (epa-file-insert-file-contents): Make progress
4119 display more user-friendly.
4120 (epa-file-write-region): Ditto.
4121
3e26a4a2
CY
41222011-08-10 Chong Yidong <cyd@stupidchicken.com>
4123
4124 * subr.el (string-mark-left-to-right): New function.
4125
4126 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4127 Use string-mark-left-to-right.
4128 (list-buffers-noselect): Caller changed.
4129
a3dae87a
SM
4130 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4131 Use string-mark-left-to-right.
3e26a4a2
CY
4132 (tabulated-list-print): Recenter after moving point.
4133
ac8cf6e6
JL
41342011-08-10 Juri Linkov <juri@jurta.org>
4135
4136 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4137 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4138 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4139
8d96c9a4
CY
41402011-08-09 Chong Yidong <cyd@stupidchicken.com>
4141
4142 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4143 (Bug#7554).
4144
7be1c708 41452011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4146
4147 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4148 character. (Bug#6594)
4149
37e11a63
CY
41502011-08-08 Chong Yidong <cyd@stupidchicken.com>
4151
839dde57
CY
4152 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4153 (image-dired--with-db-file): New macro.
4154 (image-dired-write-tags, image-dired-remove-tag)
4155 (image-dired-create-gallery-lists, image-dired-write-comments)
4156 (image-dired-get-comment, image-dired-mark-tagged-files)
4157 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4158 (image-dired-gallery-generate): Use insert-file-contents.
4159
37e11a63
CY
4160 * time.el (display-time-world-list, display-time-world-display):
4161 * time-stamp.el (time-stamp-string):
4162 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4163 set-time-zone-rule (Bug#7337).
4164
0b4946c4
DU
41652011-08-08 Daiki Ueno <ueno@unixuser.org>
4166
4167 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4168 (epg-error-to-string, epg-errors-to-string): New function.
4169 (epg-wait-for-completion): Reverse errors list.
4170 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4171 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4172 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4173 (epg-sign-keys, epg-generate-key-from-file)
4174 (epg-generate-key-from-string): Format errors by using
4175 epg-errors-to-string (bug#9255).
4176 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4177
75bfc667
JL
41782011-08-07 Juri Linkov <juri@jurta.org>
4179
4180 * faces.el (list-faces-display): Remove extra angle bracket
4181 from `help-mode-map'.
4182
4183 * info.el (Info-history-toc-nodes): Doc fix.
4184
4185 * longlines.el (longlines-mode): Doc fix.
4186
673e08bb
SM
41872011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4640dd88
SM
4189 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4190 of statements and in a few more cases (bug#9183).
4191
673e08bb
SM
4192 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4193 New functions.
4194 (cl-transform-lambda): Use them (bug#9239).
4195
89b3f019
MR
41962011-08-05 Martin Rudalics <rudalics@gmx.at>
4197
4198 * window.el (display-buffer-same-window)
4199 (display-buffer-same-frame, display-buffer-other-window)
4200 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4201 (pop-to-buffer-other-window)
4202 (pop-to-buffer-same-frame-other-window)
4203 (pop-to-buffer-other-frame): Make them defuns.
4204 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4205
640c8776
SM
42062011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * subr.el (make-composed-keymap): Move from C. Change calling
4209 convention, and improve docstring to bring attention to a subtle point.
4210 * minibuffer.el (completing-read-default): Adjust accordingly.
4211
63648a95
MA
42122011-08-03 Michael Albinus <michael.albinus@gmx.de>
4213
4214 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4215 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4216
4217 * net/trampver.el: Update release number.
4218
b796c9b7
SM
42192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4222 "in" (bug#9190).
4223
2239d7d5
LMI
42242011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4225
e07dd7c3
LMI
4226 * mail/sendmail.el (sendmail-query-once): Restore the current
4227 buffer after querying (bug#9074).
4228
0e6a2bd7
LMI
4229 * dired.el (dired-flagged): Use different faces for marked and
4230 flagged files (bug#6117).
4231
ce887515
LMI
4232 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4233 (bug#4433).
4234
92f2affc
LMI
4235 * ido.el (ido-mode): Switch off the message if called
4236 non-interactively.
4237
57d5aff0
LMI
4238 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4239 before 587, since it appears that that's more likely to work for
4240 more people.
4241
98cd6c18 4242 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4243 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4244 exist.
4245
b96dec83
LMI
4246 * info.el: Remove the `Info-beginning-of-buffer' function
4247 (bug#8325).
4248
b796c9b7
SM
4249 * net/network-stream.el (network-stream-open-starttls):
4250 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4251
d90e2ea0
MR
42522011-08-01 Martin Rudalics <rudalics@gmx.at>
4253
4254 * window.el (display-buffer-in-window): Don't set dedicated status
4255 of window here (Bug#9215).
4256 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4257 (display-buffer-pop-up-side-window)
b796c9b7 4258 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4259
cca09170
SM
42602011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4263 before binding generated-autoload-file.
4264
027b979c
DD
42652011-08-01 Deniz Dogan <deniz@dogan.se>
4266
4267 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4268
3c7ee4f3
MA
42692011-07-30 Michael Albinus <michael.albinus@gmx.de>
4270
4271 Sync with Tramp 2.2.2.
4272
4273 * net/trampver.el: Update release number.
4274
2cc8e51a
JL
42752011-07-30 Juri Linkov <juri@jurta.org>
4276
4277 * dired-aux.el (dired-touch-initial): Remove function.
4278 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4279 current time, and `default' to the last modification time of the
4280 current marked file (bug#6887).
4281
a514d856
JM
42822011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4283
4284 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4285 numeric argument to read-number (bug#9163).
a514d856 4286
8a7eddd7
MA
42872011-07-27 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4290 connection process, it could be nil.
4291
1ddd96f5
LL
42922011-07-27 Leo Liu <sdl.web@gmail.com>
4293
4294 Simplify url handling in rcirc-mode.
4295
4296 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4297 (rcirc-browse-url-at-mouse): Remove.
4298 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4299
b248a85d
AM
43002011-07-26 Alan Mackenzie <acm@muc.de>
4301
4302 Fontify bitfield declarations properly.
4303
4304 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4305 (c-symbol-chars): Now exported as a lang variable.
4306 (c-not-primitive-type-keywords): New lang variable.
4307
4308 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4309 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4310 parsed as a bitfield declaration.
b248a85d 4311
b796c9b7
SM
4312 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4313 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4314 (c-punctuation-in): New function.
4315 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4316 declarations properly.
4317
68575ab0
UJ
43182011-07-26 Ulf Jasper <ulf.jasper@web.de>
4319
4320 * calendar/icalendar.el (icalendar--all-events): Take care of
4321 multiple vcalendars in a single file.
b796c9b7 4322 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4323
0f0a88b9
DD
43242011-07-25 Deniz Dogan <deniz@dogan.se>
4325
4326 * image.el (insert-image): Clarifying docstring.
4327
0b3f36df
MA
43282011-07-24 Michael Albinus <michael.albinus@gmx.de>
4329
4330 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4331 `tramp-send-command-and-check' if there is no error.
4332 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4333
a9901f61
AM
43342011-07-22 Alan Mackenzie <acm@muc.de>
4335
4336 Prevent cc-langs.elc being loaded at run time.
4337
4338 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4339 cc-langs.
4340
4d61f28d 4341 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4342 "(require 'cc-langs)". Quote a form so it will evaluate at
4343 (cc-mode's) compilation time.
4344
11d074b2
MA
43452011-07-22 Michael Albinus <michael.albinus@gmx.de>
4346
4347 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4348 loading. (Bug#9114)
4349
938b94c8
MR
43502011-07-21 Martin Rudalics <rudalics@gmx.at>
4351
4352 * window.el (display-buffer-pop-up-window)
4353 (display-buffer-pop-up-side-window)
4354 (display-buffer-in-side-window): Call display-buffer-set-height
4355 and display-buffer-set-width after setting the new window's
b796c9b7 4356 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4357
bfa4f190
SS
43582011-07-20 Sam Steingold <sds@gnu.org>
4359
4360 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4361 (etags-tags-included-tables): Call `convert-standard-filename' on
4362 the file names contained in TAGS so that windows Emacs can handle
4363 TAGS files created by cygwin ctags.
4364
8ca42262
LMI
43652011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4366
4367 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4368 which apparently didn't work.
4369
5db2afd2 43702011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4371
5db2afd2
RW
4372 * proced.el (proced-send-signal): For *Marked Processes* buffer
4373 put point at beginning of buffer.
4374
92e15d10
SB
43752011-07-19 Stephen Berman <stephen.berman@gmx.net>
4376
4377 * proced.el (proced-format): Make header lines align with the text
4378 (bug#1779).
4379
1bfd59e5
LMI
43802011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4381
4382 * view.el (view-buffer): Allow running in `special' modes if we're
4383 visiting a file (bug#8615).
4384
f5aae37c
MR
43852011-07-19 Martin Rudalics <rudalics@gmx.at>
4386
4387 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4388 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4389 New functions.
f5aae37c
MR
4390 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4391 more accurately.
4392
bf2c1571
AM
43932011-07-18 Alan Mackenzie <acm@muc.de>
4394
4395 Fontify declarators properly when, e.g., a jit-lock chunk begins
4396 inside a declaration.
4397
4398 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4399
b796c9b7
SM
4400 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4401 New function.
bf2c1571
AM
4402 (c-complex-decl-matchers): Insert reference to
4403 c-font-lock-enclosing-decls.
4404
4405 * progmodes/cc-engine.el (c-backward-single-comment):
4406 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4407 to nil around calls to (forward-comment -1).
4408
4e190b80
LMI
44092011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4410
12dc863d
LMI
4411 * image.el (put-image): Doc typo fix.
4412
a762e966
LMI
4413 * progmodes/etags.el (tags-search): Doc typo fix.
4414
4e190b80
LMI
4415 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4416 password if we get errors 550 to 554.
4417
f019fb21
LMI
44182011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4419
b796c9b7 4420 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4421
81746738
LMI
4422 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4423 indentation character (bug#6380).
4424
3ee3a1b5
LMI
4425 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4426
c82f64de
LMI
4427 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4428 to clarify what the problem is (bug#4291).
4429
f019fb21
LMI
4430 * simple.el (current-kill): Clarify what
4431 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4432 (auto-fill-mode): Document `auto-fill-function' in relation to
4433 `auto-fill-mode' (bug#2470).
f019fb21 4434
0794775d
LM
44352011-07-16 Lawrence Mitchell <wence@gmx.li>
4436
4437 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4438 method if slot is read-only (bug#9035).
4439
be39b8cc
MR
44402011-07-16 Martin Rudalics <rudalics@gmx.at>
4441
b796c9b7 4442 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4443 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4444 selected before, see discussion of (Bug#8615), (Bug#6954).
4445 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4446
6ccf7859
GM
44472011-07-15 Glenn Morris <rgm@gnu.org>
4448
4449 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4450 Respect help-form.
6ccf7859 4451
87e86684
LM
44522011-07-09 Lawrence Mitchell <wence@gmx.li>
4453
4454 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4455 (gnutls-negotiate): Use it.
4456
d6066239
LMI
44572011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4458
b796c9b7
SM
4459 * net/gnutls.el (gnutls-negotiate):
4460 Upcase `gnutls-algorithm-priority'.
d6066239 4461
bd23ebc0
GM
44622011-07-15 Glenn Morris <rgm@gnu.org>
4463
c65bca65
GM
4464 * jka-compr.el (jka-compr-verbose): Move from here...
4465 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4466 Add missing :version tag.
4467 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4468
478615cc
LMI
44692011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4470
7b41decb
LMI
4471 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4472 (gnutls-negotiate): Use it.
4473
dbc44fcd
LMI
4474 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4475
06789f97
LMI
4476 * info.el (Info-beginning-of-buffer): New command.
4477 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4478 announcing `b' as the key (bug#8325).
ab896c37 4479 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4480
c39da690
LMI
4481 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4482
3aa5f34b
LMI
4483 * international/mule-cmds.el
4484 (describe-specified-language-support): Make the error message
4485 clearer (bug#8905).
4486
4bf0979f
LMI
4487 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4488
478615cc
LMI
4489 * isearch.el (isearch-barrier): Add a doc string, since it's
4490 mentioned in a function doc string (bug#8678).
4491
75c68aa1
MR
44922011-07-15 Martin Rudalics <rudalics@gmx.at>
4493
4494 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4495 buffer argument (Bug#9083) and self-identifying label argument.
4496
a7c33da2
GM
44972011-07-15 Glenn Morris <rgm@gnu.org>
4498
4499 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4500
2f5c6024
LMI
45012011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4502
4503 * man.el (Man-fontify-manpage): Fix message when formatting the
4504 man page (bug#7929).
4505
0bb23927 45062011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4507
4508 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4509 argument LRM; if non-nil, append an invisible LRM character to the
4510 buffer name.
4511 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4512 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4513 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4514 paragraph direction.
cce4b0a7 4515
621ef9ab
LMI
45162011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4517
d1583c48
LMI
4518 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4519 the man page name (bug#7929).
4520
6a57fb5f
LMI
4521 * image.el (put-image): Mention the `put-image' overlay property
4522 (bug#7834).
4523
d7956b14
LMI
4524 * scroll-bar.el (set-scroll-bar-mode): Mention that
4525 `scroll-bar-mode' lists the values (bug#7772).
4526
5b2d4a66
LMI
4527 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4528 command (bug#7729).
4529
7509a874
LMI
4530 * rect.el (apply-on-rectangle): Return the point after the last
4531 operation.
4532 (string-rectangle): Go to the point after the last operation
4533 (bug#7522).
4534
4fe74b19
LMI
4535 * printing.el (pr-toggle-region): Clarify the documentation
4536 slightly (bug#7493).
4537
b796c9b7
SM
4538 * time.el (display-time-update):
4539 Allow `display-time-mail-function' to return nil (bug#7158).
4540 Fix suggested by Detlev Zundel.
ab283561 4541
fc233c9d
LMI
4542 * vc/diff.el (diff): Clarify the order the file names are read
4543 (bug#7111).
4544
43f5740b
LMI
4545 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4546 the doc string (bug#7015).
4547
f2182a76
LMI
4548 * font-lock.el (font-lock-maximum-decoration): Mention what
4549 numeric levels mean (bug#6935).
4550
621ef9ab
LMI
4551 * startup.el (initial-buffer-choice): Don't mention the `none'
4552 selection, which is against policy.
4553
adc47434
MR
45542011-07-14 Martin Rudalics <rudalics@gmx.at>
4555
b796c9b7
SM
4556 * window.el (display-buffer-normalize-special):
4557 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4558
7e5bfb8f
EZ
45592011-07-14 Eli Zaretskii <eliz@gnu.org>
4560
4561 * subr.el (version<, version<=, version=): Mention "-CVS" and
4562 "-12345" alpha version numbers.
4563
27fa387a
CY
45642011-07-14 Chong Yidong <cyd@stupidchicken.com>
4565
4566 * bindings.el: Add advertised binding for set-mark-command
4567 (Bug#5772).
4568
8bdfa064
CY
45692011-07-14 Chong Yidong <cyd@stupidchicken.com>
4570
4571 * bindings.el (mode-line-other-buffer):
4572 * bookmark.el (bookmark-bmenu-2-window):
4573 * bs.el (bs-cycle-next, bs-cycle-previous):
4574 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4575 switch-to-buffer.
4576
4577 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4578 Delete.
8bdfa064 4579
5eba16a3
JB
45802011-07-14 Juanma Barranquero <lekktu@gmail.com>
4581
4582 * follow.el (follow-debug-message, follow-redisplay):
4583 * jka-cmpr-hook.el (with-auto-compression-mode):
4584 Fix typos in docstrings.
4585
15853710
LMI
45862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4587
a28e4607
LMI
4588 * subr.el (with-silent-modifications): Clarify somewhat what the
4589 macro inhibits (bug#6525).
4590
15853710
LMI
4591 * simple.el (eval-expression): Note what it does if called
4592 interactively (bug#6495).
4593
bee0fcef
CY
45942011-07-13 Chong Yidong <cyd@stupidchicken.com>
4595
b796c9b7
SM
4596 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4597 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4598
4599 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4600 Remove switch-to-buffer.
4601
58274504
LMI
46022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4603
bd2fcc8d
LMI
4604 * files.el (make-directory): Clarify that an error will be raised
4605 if there's an error (bug#6397).
4606
0f04b32c
LMI
4607 * startup.el (initial-buffer-choice): Add `none' as a choice
4608 (bug#6234).
4609
465c5fc8
LMI
4610 * subr.el (add-hook): Clarify section about buffer-local hooks
4611 (bug#6218).
4612
58274504
LMI
4613 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4614
bead9a43
JB
46152011-07-13 Juanma Barranquero <lekktu@gmail.com>
4616
4617 * tabify.el (untabify): Preserve the current column so that point
4618 doesn't move (bug#6032).
4619
3af98a7b
LMI
46202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4621
b796c9b7
SM
4622 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4623 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4624
6240145a
GM
46252011-07-13 Glenn Morris <rgm@gnu.org>
4626
4627 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4628 (dired-insert-directory): Give a message the first time
4629 if ls is found not to support --dired.
4630
1d8c2ccc
LMI
46312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4632
4633 * simple.el (toggle-truncate-lines): Clarify what is toggled
4634 (bug#5580). Text by Drew Adams.
4635
5fc4038e
CY
46362011-07-13 Chong Yidong <cyd@stupidchicken.com>
4637
4638 * simple.el (blink-matching-open): Make the error message from the
4639 last change less verbose.
4640
bf6012e5
DN
46412011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4642
4643 * font-lock.el (font-lock-comment-face): Use the high contrast
4644 "yellow" color for font-lock-comment-face on low color terminals
4645 using a dark background color (bug#4221).
4646
343c3b5a
LMI
46472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4648
7e9505c5
LMI
4649 * dired.el (dired-insert-set-properties): Make the doc string
4650 reflect what it does now (bug#5325).
4651
c26fdcf5
LMI
4652 * simple.el (blink-matching-open): Say that we were unable to find
4653 the match within the limit, if we're limited (bug#5122).
4654
bb388cc5
LMI
4655 * international/mule-cmds.el (prefer-coding-system): Add an
4656 example (bug#4869).
4657
343c3b5a
LMI
4658 * progmodes/etags.el (tags-search): Document `file-list-form'
4659 (bug#4731).
4660
2a517d45
LM
46612011-07-13 Lawrence Mitchell <wence@gmx.li>
4662
4663 * net/browse-url.el (browse-url-default-browser)
4664 (browse-url-browser-function): Make the default browser choice a
4665 bit more logical (bug#4300). Also clean up the doc string.
4666
b6c78ef2
JB
46672011-07-13 Juanma Barranquero <lekktu@gmail.com>
4668
4669 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4670 binary endings (bug#4440).
4671
1c4dd947
LMI
46722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4673
a2014063
LMI
4674 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4675 which can be pretty annoying (bug#8971).
4676
9c9c2d88
LMI
4677 * jka-compr.el (jka-compr-verbose): New variable, and use
4678 throughout (bug#8971).
4679
1c4dd947
LMI
4680 * info.el (Info-find-file): Fall back on the installation
4681 directory if we can't find the info node anywhere else.
4682
a1c9f41b
SO
46832011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4684
4685 * vc/vc.el (vc-revert-file):
4686 Don't set file time-stamp in the past. (Bug#5181)
4687
536f3d36
LMI
46882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4689
7152b011
LMI
4690 * files.el (after-find-file): Give a better error message when
4691 trying to find a symlink that points to a file that doesn't exist
4692 (bug#4398).
4693
536f3d36
LMI
4694 * progmodes/cc-vars.el: Remove (probably) misleading comment
4695 (bug#4396).
4696
460c0fba
JB
46972011-07-12 Johan Bockgård <bojohan@gnu.org>
4698
4699 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4700
7a6bda45
CY
47012011-07-12 Chong Yidong <cyd@stupidchicken.com>
4702
4703 * mouse-sel.el: Hack restoring functionality, while keeping
4704 compatibility with 2010-07-03 changes to mouse selection.
4705 (mouse-sel-primary-overlay): New var.
4706 (mouse-sel-selection-alist): Use it.
4707 (mouse-sel-mode): Doc fix; remove points that are default features
4708 of mouse.el.
4709
c79598ef
JB
47102011-07-12 Johan Bockgård <bojohan@gnu.org>
4711
4712 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4713 Fix previous fix (bug#2490).
4714
ff8be6ef
RW
47152011-07-12 Roland Winkler <winkler@gnu.org>
4716
b796c9b7
SM
4717 * textmodes/bibtex.el (bibtex-initialize):
4718 Use pop-to-buffer-same-window.
ff8be6ef
RW
4719 (bibtex-search-entries): Fix interactive call.
4720
296ba3ee
LMI
47212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4722
f5242a02 4723 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4724 Fontise bytecomp Error lines more correctly (bug#2490).
4725 Fix suggested by Johan Bockgård.
f5242a02 4726
296ba3ee
LMI
4727 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4728
4729 * dired-x.el (dired-guess-default): Use `delete-dups'.
4730
f69fd0d2
CY
47312011-07-12 Chong Yidong <cyd@stupidchicken.com>
4732
4733 * dired.el (dired-mark-prompt):
4734 * dired-aux.el (dired-read-shell-command): Doc fix.
4735
eab5dc07
LMI
47362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4737
b796c9b7
SM
4738 * mail/sendmail.el (sendmail-query-once):
4739 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4740 emacs -Q.
4741
4742 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4743
eab5dc07
LMI
4744 * cus-edit.el (custom-file): Take an optional no-error variable.
4745 (customize-save-variable): Set the variable, and give a warning if
4746 running under "emacs -q".
4747
a1e65d42
JB
47482011-07-11 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * loadhist.el (unload-feature-special-hooks):
4751 Add `auto-coding-functions', `fill-nobreak-predicate' and
4752 `find-directory-functions' (bug#5327).
4753
1d52da10
LMI
47542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4755
be958f1d
LMI
4756 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4757
5bedb26c
LMI
4758 * cus-edit.el (custom-guess-name-alist): -alist variables should
4759 use the `alist' type (bug#3120). Suggested by Drew Adams.
4760
1d52da10
LMI
4761 * printing.el: Add documentation to all the `pr-toggle-' commands.
4762
cd394be1 47632011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4764
4765 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4766 backends where it makes sense (bug#2623).
4767
dcc88d8a
LMI
47682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769
c3de9feb
LMI
4770 * dired-x.el (dired-guess-default): Remove duplicate shell command
4771 entries (bug#2028).
8a93078b 4772 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4773 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4774
dcc88d8a
LMI
4775 * subr.el (remove-duplicates): New conveniency function.
4776
505e3645
LMI
47772011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4778
4779 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4780 (bug#1526).
4781
47822011-07-10 Martin Rudalics <rudalics@gmx.at>
4783
4784 * window.el (display-buffer-normalize-default): Don't invert
4785 meaning of even-window-heights. Reported by Eli Zaretskii
4786 <eliz@gnu.org>.
4787
455e4fa1
BR
47882011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4789
4790 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4791
8e0bc3e9
CY
47922011-07-10 Chong Yidong <cyd@stupidchicken.com>
4793
4794 * window.el (display-buffer): Fix arguments to
4795 display-buffer-reuse-window in last change.
4796
fa7c3228
CY
4797 * faces.el (link): Use a less saturated blue on light backgrounds.
4798
4799 * startup.el (fancy-startup-text, fancy-about-text)
4800 (fancy-startup-tail): Use font-lock faces, for background safety.
4801
c0a7f300
BN
48022011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4803
b796c9b7
SM
4804 * emulation/viper-cmd.el (viper-change-state-to-vi):
4805 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4806
4dc2a129
MR
48072011-07-09 Martin Rudalics <rudalics@gmx.at>
4808
4809 * window.el (display-buffer-default-specifiers): Remove.
4810 (display-buffer-macro-specifiers): Remove default specifiers.
4811 (display-buffer-alist): Default to nil.
b796c9b7 4812 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4813 (display-buffer-pop-up-window): Allow splitting internal
4814 windows. Check whether a live window was created.
4815 (display-buffer-other-window-means-other-frame)
4816 (display-buffer-normalize-arguments): Rename to
4817 display-buffer-normalize-argument and rewrite. Set the
4818 other-window specifier.
4819 (display-buffer-normalize-special): New function.
4820 (display-buffer-normalize-options): Rename to
4821 display-buffer-normalize-default and rewrite.
4822 (display-buffer-normalize-options-inhibit): Remove.
4823 (display-buffer-normalize-specifiers): Rewrite.
4824 (display-buffer): Process other-window specifier and call
4825 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4826 more faithfully.
b796c9b7 4827 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4828 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4829 (display-buffer-in-window, display-buffer-alist-set):
4830 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4831 <tassilo@member.fsf.org>.
4832
2d43b8c9
LL
48332011-07-09 Leo Liu <sdl.web@gmail.com>
4834
4835 * register.el (insert-register): Restore accidental change on
4836 2011-06-26. (Bug#9028)
4837
7f9b7c53
GM
48382011-07-09 Glenn Morris <rgm@gnu.org>
4839
4840 * subr.el (remq): Handle the empty list. (Bug#9024)
4841
f042cfd8
AS
48422011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4843
4844 * mail/sendmail.el (send-mail-function): No longer delay custom
4845 initialization.
4846 * custom.el (custom-initialize-delay): Doc fix.
4847
856b2f11
SM
48482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4849
4850 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4851
afae1d68
MA
48522011-07-08 Michael Albinus <michael.albinus@gmx.de>
4853
4854 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4855 human-friendly prompt.
4856
0757af94
SM
48572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4860 provided by a particular plugin.
4861
d760b731
LMI
48622011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4863
4864 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4865 save customizations (with "emacs -Q"), just set the variable
4866 instead of erroring out.
4867
4868 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4869
cd79ce90
JL
48702011-07-08 Juri Linkov <juri@jurta.org>
4871
4872 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4873 (archive-zip-update-case): Use 7z if found by `executable-find'.
4874 The order of searching the available programs is the same as in
4875 `archive-zip-extract' (bug#8968).
4876
14cc04aa
CY
48772011-07-07 Chong Yidong <cyd@stupidchicken.com>
4878
4879 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4880 (menu-bar-options-menu): Tweak descriptions.
4881
0a1848ec
LMI
48822011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4883
4884 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4885 menu items into verb phrases (bug#1421). Also refill to fit under
4886 80 columns.
4887
f5bd0689
CY
48882011-07-07 Chong Yidong <cyd@stupidchicken.com>
4889
538e85c6
CY
4890 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4891 (Info-read-node-name): Doc fix (Bug#1084).
4892
f5bd0689
CY
4893 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4894 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4895 (end-of-sexp, beginning-of-sexp)
4896 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4897 (forward-symbol, forward-same-syntax, word-at-point)
4898 (sentence-at-point): Doc fix (Bug#1144).
4899
56ec5115
LMI
49002011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4901
f3f8e37f
LMI
4902 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4903 should cover it (bug#1281).
4904
0757af94 4905 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4906
e9fce1ac 4907 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4908 negotiation fails, then possibly try again with a non-encrypted
4909 connection (bug#9017).
4910
56ec5115
LMI
4911 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4912 be used.
4913
c2f9aec8
RS
49142011-07-07 Richard Stallman <rms@gnu.org>
4915
4916 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4917 property, and handle its changed format.
4918 Look for the correct line number.
4919 Use file's line contents (but not past first =) to find
4920 correct line in message.
4921
ef7b981d 49222011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4923
4924 * international/characters.el (build-unicode-category-table):
4925 Delete it.
0757af94 4926 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4927
0757af94 4928 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4929 to src/chartab.c.
4930 (get-char-code-property): Call unicode-property-table-internal to
4931 load a file. Call get-unicode-property-internal where necessary.
4932 (put-char-code-property): Call unicode-property-table-internal to
4933 load a file. Call put-unicode-property-internal where necessary.
4934 put-unicode-property-internal where necessary.
0757af94
SM
4935 (char-code-property-description):
4936 Call unicode-property-table-internal to load a file.
c805dec0
KH
4937
4938 * international/charprop.el:
4939 * international/uni-bidi.el:
4940 * international/uni-category.el:
4941 * international/uni-combining.el:
4942 * international/uni-comment.el:
4943 * international/uni-decimal.el:
4944 * international/uni-decomposition.el:
4945 * international/uni-digit.el:
4946 * international/uni-lowercase.el:
4947 * international/uni-mirrored.el:
4948 * international/uni-name.el:
4949 * international/uni-numeric.el:
4950 * international/uni-old-name.el:
4951 * international/uni-titlecase.el:
4952 * international/uni-uppercase.el: Regenerate.
4953
4954 * loadup.el: Load international/charprop.el before
4955 international/characters.
4956
e14b388a
CY
49572011-07-07 Chong Yidong <cyd@stupidchicken.com>
4958
4959 * window.el (next-buffer, previous-buffer): Signal an error if
4960 called from a minibuffer window.
4961
4962 * bindings.el: Revert 2011-07-04 change.
4963
354cf0ba
RS
49642011-07-06 Richard Stallman <rms@gnu.org>
4965
4966 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4967 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4968 Treat markers like ints.
4969 (rmail-mime-entity): Doc fix.
4970
a48868a7
LMI
49712011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4972
4906cd3d
LMI
4973 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4974 defcustom again for backwards compatibility.
4975
e0457abe
LMI
4976 * simple.el (shell-command-on-region): Fill.
4977
d67f7e1f
LMI
4978 * dired-aux.el (dired-kill-line): Add a doc string.
4979
fe204702
LMI
4980 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4981 to "\\sw\\|\\s_" (bug#358).
4982
a48868a7
LMI
4983 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4984 (dired-unmark-backward): Ditto.
4985 (dired-flag-backup-files): Ditto.
4986
4987 * dired-x.el (dired-mark-sexp): Ditto.
4988
aa8a705c
RS
49892011-07-06 Richard Stallman <rms@gnu.org>
4990
4991 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4992 (rmail-mime-entity): New arg TRUNCATED.
4993 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4994 New functions.
4995 (rmail-mime-save): Warn if entity is truncated.
4996 (rmail-mime-toggle-hidden): Likewise, for showing.
4997 (rmail-mime-process-multipart): Record when an entity is truncated.
4998
a9a936b9
RS
4999 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5000 if ENTITY is a string.
5001
1f2b92cb
LMI
50022011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5003
f4f73198 5004 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5005 of faces when `M-C-x'-ing their definitions (bug#8378).
5006 Also clean up the code slightly.
f4f73198 5007
12b16734 5008 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5009 because that makes the colors go away.
12b16734 5010
f0691d22
LMI
5011 * mail/sendmail.el (send-mail-function): Change the default to
5012 `sendmail-query-once'.
9e87df06 5013 (sendmail-query-once): Add an autoload cookie.
f0691d22 5014
1f2b92cb
LMI
5015 * net/network-stream.el (network-stream-open-starttls): Try using
5016 a plain connection even if the server offered STARTTLS, and we
5017 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5018 capability. This should make smtpmail.el work in slightly more
5019 configurations.
5020
1cdd2a1b
MA
50212011-07-06 Michael Albinus <michael.albinus@gmx.de>
5022
5023 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5024 New defun.
5025 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5026
fbcc67e2
MM
50272011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5028
5029 * progmodes/sql.el: Version 3.0
0757af94 5030 (sql-product-alist): Add product :completion-object,
fbcc67e2 5031 :completion-column, and :statement attributes.
0757af94 5032 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5033 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5034 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5035 ansi keywords.
5036 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5037 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5038 (sql-oracle-show-reserved-words): New function for development.
5039 (sql-product-font-lock): Simplify for source code buffers.
5040 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5041 New functions.
5042 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5043 (sql-mode-map): Add statement movement functions.
5044 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5045 New variable.
fbcc67e2
MM
5046 (sql-statement-regexp, sql-beginning-of-statement)
5047 (sql-end-of-statement, sql-signum): New functions.
0757af94 5048 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5049 (sql-show-sqli-buffer): Bug fix.
5050 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5051 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5052 with sql-interactive-mode.
5053 (sql-save-connection): Save buffer local settings.
0757af94 5054 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5055 (sql-product-interactive): Bug fix.
5056 (sql-preoutput-hold): New variable.
5057 (sql-interactive-remove-continuation-prompt): Bug fixes.
5058 (sql-debug-redirect): New variable.
5059 (sql-str-literal): New function.
5060 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5061 Redesign.
fbcc67e2
MM
5062 (sql-oracle-save-settings, sql-oracle-restore-settings)
5063 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5064 (sql-completion-object, sql-completion-column)
5065 (sql-completion-sqlbuf): New variables.
5066 (sql-build-completions-1, sql-build-completions)
5067 (sql-try-completion): New functions.
5068 (sql-read-table-name): Use them.
5069 (sql-contains-names): New buffer local variable.
5070 (sql-list-all, sql-list-table): Use it.
5071 (sql-oracle-completion-types): New variable.
5072 (sql-oracle-completion-object, sql-sqlite-completion-object)
5073 (sql-postgres-completion-object): New functions.
5074
d4eaeab1
GM
50752011-07-06 Glenn Morris <rgm@gnu.org>
5076
5077 * window.el (pop-to-buffer): Doc fix.
5078
322b7dab 50792011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5080
5081 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5082
322b7dab 50832011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5084
322b7dab 5085 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5086
322b7dab 5087 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5088
605dd5bf
CY
50892011-07-05 Chong Yidong <cyd@stupidchicken.com>
5090
5091 * button.el (button): Inherit from link face. Suggested by Dan
5092 Nicolaescu.
5093
7dbfa719
SM
50942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5095
3db614b0
SM
5096 * progmodes/gdb-mi.el: Fit in 80 columns.
5097 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5098 switch-to-buffer.
5099
7dbfa719
SM
5100 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5101 if imenu is simply not configured (bug#8941).
5102
919d884a
KM
51032011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5104
5105 * allout.el (allout-post-undo-hook): New allout outline-change
5106 event hook to signal undo activity.
5107 (allout-post-command-business): Run allout-post-undo-hook if an
5108 undo just occurred.
7dbfa719
SM
5109 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5110 * allout-widgets.el (allout-widgets-after-undo-function):
5111 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5112 in the vicinity of an undo.
5113 (allout-widgets-mode): Include allout-widgets-after-undo-function
5114 on the new allout-post-undo-hook.
5115
450a0f09
SM
51162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5119 Let define-derived-mode define it.
5120 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5121 cycles of abbrev-table inheritance (bug#8998).
5122
2de69e00
RW
51232011-07-05 Roland Winkler <winkler@gnu.org>
5124
5125 * textmodes/bibtex.el: Add support for biblatex.
5126 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5127 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5128 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5129 (bibtex-entry-alist, bibtex-field-alist): New variables.
5130 (bibtex-entry-field-alist): Obsolete alias for
5131 bibtex-BibTeX-entry-alist.
5132 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5133 (bibtex-set-dialect): New command.
5134 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5135 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5136 Bind via bibtex-set-dialect.
2de69e00
RW
5137 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5138 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5139 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5140 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5141 Define via bibtex-set-dialect.
450a0f09
SM
5142 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5143 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5144 (bibtex-vec-push, bibtex-vec-incr): New functions.
5145 (bibtex-format-entry, bibtex-field-list)
5146 (bibtex-print-help-message, bibtex-validate)
5147 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5148
2dcdbdd9
SM
51492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * progmodes/compile.el (compilation-goto-locus):
5152 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5153 * bs.el (bs-cycle-next, bs-cycle-previous):
5154 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5155 * bindings.el (mode-line-other-buffer):
5156 * autoinsert.el (auto-insert):
5157 * arc-mode.el (archive-extract):
5158 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5159
b27640fe
JB
51602011-07-05 Juanma Barranquero <lekktu@gmail.com>
5161
5162 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5163 Fix check of `emacs-lock-unlockable-modes'.
5164 Coerce true values of `emacs-lock--try-unlocking' to t.
5165
53bbe3ad
JB
51662011-07-05 Juanma Barranquero <lekktu@gmail.com>
5167
5168 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5169 * emacs-lock.el: New file.
5170
1d3cdbc7
JD
51712011-07-05 Julien Danjou <julien@danjou.info>
5172
5173 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5174 than `boundp' to check if face is set.
5175
9173deec
JB
51762011-07-05 Juanma Barranquero <lekktu@gmail.com>
5177
5178 * register.el (registerv-make):
5179 * window.el (window-min-height): Fix typos in docstrings.
5180
869795d6
JD
51812011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5182
9173deec 5183 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5184 Update doc string.
5185
b768cdcd
JB
51862011-07-04 Juanma Barranquero <lekktu@gmail.com>
5187
5188 * server.el (server-execute): Catch quit and call
5189 `server-return-error' to pass the error back to emacsclient and
5190 close the connection (bug#8942).
5191
13aa217b
KM
51922011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5193
5194 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5195 insecure exception for current topic. Also note that auto-saves
5196 are handled differently.
5197
5198 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5199 State variables for tracking auto-save inhibition situation.
5200
5201 (allout-write-contents-hook-handler): Rename from
5202 'allout-write-file-hook-handler', and describe how it depends on
5203 write-contents-functions sensitivity to non-nil value to prevent
5204 file write.
5205
5206 (allout-auto-save-hook-handler): Remove. auto-save does not check
5207 this in individual buffers, only in the starting buffer, so this
5208 is not the right way for us to inhibit auto-save in a buffer
5209 according to its condition.
5210
5211 (allout-mode): Use new allout-write-contents-hook-handler, and
5212 only with write-contents-functions. Remove auto-save provisions -
5213 they're implemented elsewhere.
5214
5215 (allout-before-change-handler): If undo is in progress, note that
5216 for attention of allout-post-command-business.
5217
5218 (allout-post-command-business): If the command we're following was
5219 an undo, check for change in the status of encrypted items and
5220 adjust auto-save inhibitions accordingly.
5221
5222 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5223 according to whether there are or aren't any plain-text topics
5224 pending encryption.
5225
2dcdbdd9 5226 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5227 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5228 if there are plain-text topics pending encryption.
13aa217b
KM
5229
5230 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5231 buffer-saved-size and some allout state to not inhibit auto-saves
5232 if there are no longer any plain-text topics pending encryption.
5233
0757af94
SM
5234 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5235 No longer provide for exemption of the current topic.
13aa217b 5236
ac89b32c
JL
52372011-07-04 Juri Linkov <juri@jurta.org>
5238
5239 Add 7z operations to delete and save changed members (bug#8968).
5240 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5241 New defcustoms.
5242 (archive-7z-write-file-member): New function.
5243 (archive-7z-summarize): Fix the number of dashes in the
5244 listing output.
5245
8fa39615
SM
52462011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5249 (bug#8958).
5250
2f11b3f1
CY
52512011-07-04 Chong Yidong <cyd@stupidchicken.com>
5252
d66fef2b
CY
5253 * bindings.el: Ignore next-buffer and previous-buffer in
5254 minibuffer-local-map.
5255
2f11b3f1
CY
5256 * font-lock.el (font-lock-builtin-face): Change light background
5257 color to dark slate blue (Bug#6693).
5258
f932a347
WD
52592011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5260
5261 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5262
c8af70e1
SM
52632011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5266 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5267 Add switch-to-buffer.
5268
f158badc
LMI
52692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5270
5271 * isearch.el (isearch-search-fun-function): Clarify further the
5272 meaning of the function returned.
5273
6d95bd46
MA
52742011-07-04 Michael Albinus <michael.albinus@gmx.de>
5275
5276 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5277
5278 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5279 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5280 Use it.
5281 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5282 `tramp-default-remote-path' does not exist.
5283 (tramp-send-command-and-read): New optional argument NOERROR.
5284 (tramp-open-connection-setup-interactive-shell)
5285 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5286 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5287 (tramp-process-sentinel): Flush also process' connection property.
5288 (tramp-sh-handle-start-file-process): Do not set process
5289 sentinel. It is done now ...
5290 (tramp-maybe-open-connection): ... here. (Bug#8929)
5291
909e6b67
MK
52922011-07-04 MON KEY <monkey@sandpframing.com>
5293
5294 * play/animate.el (animate-string): Doc fixes and allow changing
5295 the buffer name (bug#5417).
5296
52972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5298
c8af70e1 5299 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5300
f34755dc
PE
53012011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5302
396cec72
PE
5303 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5304 This is simpler and helps future-proof the code.
5305 (timer-until): Use time-subtract and float-time.
08235028 5306 (timer--time-less-p): Use time-less-p.
f34755dc 5307
56e6cc31
JB
53082011-07-04 Juanma Barranquero <lekktu@gmail.com>
5309
3abb79e5
JB
5310 * type-break.el (timep): Use the value of `float-time' to avoid a
5311 byte-compiler warning.
5312
56e6cc31
JB
5313 * server.el (server-eval-and-print): Return any result, even nil.
5314
7b9430b4
PE
53152011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5316
5317 * type-break.el: Accept time formats that the builtins accept.
5318 (timep, type-break-time-difference): Accept any format that
5319 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5320 This is simpler and helps future-proof the code.
5321 (type-break-time-difference): Round rather than ignoring
5322 subseconds components.
5323
3034e9e7
LMI
53242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5325
5326 * info.el (Info-apropos-matches): Make non-interactive, since it
5327 doesn't seem to do anything useful as a command (bug#8829).
5328
1485f4c0
CY
53292011-07-03 Chong Yidong <cyd@stupidchicken.com>
5330
5331 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5332 Move from faces.el.
1485f4c0
CY
5333 (frame-default-terminal-background): New function.
5334
5335 * custom.el (custom-push-theme): Don't record faces in `changed'
5336 theme; this doesn't work correctly for per-frame face settings.
5337 (disable-theme): Use face-set-after-frame-default to reset faces.
5338 (custom--frame-color-default): New function.
5339
9fa3dd45
LMI
53402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5341
c8af70e1 5342 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5343 (bug#8769).
5344
6cbbc20c
KR
53452011-03-29 Kevin Ryde <user42@zip.com.au>
5346
5347 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5348 `perl-Test2' extend to match possible "fail #N" rep count
5349 (bug#8377).
5350
c7f98048
LMI
53512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352
65676592
LMI
5353 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5354 `smtpmail-via-smtp' now returns the error instead of nil.
5355
c7f98048
LMI
5356 * isearch.el (isearch-search-fun-function): Clarify the doc string
5357 (bug#8101).
5358
56e6cc31 53592011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5360
5361 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5362 unnecessary spaces (bug#8987).
5363
2b216704
LMI
53642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5365
5366 * net/network-stream.el (open-network-stream): Use the
5367 :end-of-capability command thoughout.
5368
53692011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5370
5371 * net/network-stream.el (open-network-stream): Add the
5372 :end-of-capability command parameter, used by pop3.el.
5373
36adf6ce
LMI
53742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5375
1ca0da0e
LMI
5376 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5377
fc00f69c
LMI
5378 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5379 for list)" (bug#6475).
5380
28fd8759 5381 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5382 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5383 an error (bug#6297).
5384
0dd8b6da
LMI
5385 * man.el (Man-reference-regexp): Allow matching possible
5386 word-wrapped references (bug#6289).
5387
ce1438d6
LMI
5388 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5389 for consistency with the other vc buffers (bug#6197).
5390 (vc-checkin): Ditto.
5391
5392 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5393
36adf6ce
LMI
5394 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5395
e83cc1f7
LMI
53962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5397
8a20ca4c
LMI
5398 * custom.el (defcustom): Clarify that :set is only used in the
5399 Customize user interface (bug#6089).
5400
83319045
LMI
5401 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5402 associated with a file, refuse to run instead of erroring out
5403 (bug#6084).
5404
a8392169
LMI
5405 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5406 the doc string, since it appears that using `fill-column' always
5407 controls the width (bug#7845).
5408
e83cc1f7
LMI
5409 * simple.el (shell-command-on-region): Say where the error output
5410 went if `shell-command-default-error-buffer' is set (bug#6857).
5411
e47ca23b
KM
54122011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5413
5414 * allout.el (allout-yank-processing): Adjust cursor position for
5415 backwards-deleted space.
5416
5417 (allout-rebullet-heading): Register changes with
5418 allout-exposure-changed-hook, so the modified topic is properly
5419 decorated.
5420
5cf56143
LMI
54212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5422
08549772
LMI
5423 * minibuffer.el (completion-in-region): Document PREDICATE
5424 (bug#7136).
5425
48e96771
LMI
5426 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5427 of keyword/argument pairs (bug#6904).
5428
c8af70e1
SM
5429 * replace.el (multi-occur):
5430 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5431
e17d05e2
LMI
54322011-07-02 Drew Adams <drew.adams@oracle.com>
5433
5434 * dired.el (dired-mark-if): Make the message about whether it's
5435 marking or unmarking clearer (bug#8523).
5436
063b0e45
LMI
54372011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5438
5439 * disp-table.el (display-table-print-array): New function.
5440 (describe-display-table): Use it to print the vectors more pretty
5441 (Bug#8859).
5442
28545e04
MR
54432011-07-02 Martin Rudalics <rudalics@gmx.at>
5444
5445 * window.el (window-state-get-1): Don't assign clone numbers.
5446 Add clone-of item to list of window parameters.
5447 (window-state-put-2): Don't process clone numbers.
5448 (display-buffer-alist): Fix doc-string.
5449
3349e122
SM
54502011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * subr.el (remq): Don't allocate if it's not needed.
5453 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5454 (keymap--merge-bindings): New functions.
5455 (keymap-canonicalize): Use them to refine the canonicalization.
5456 * minibuffer.el (minibuffer-local-completion-map)
5457 (minibuffer-local-must-match-map): Move initialization from C.
5458 (minibuffer-local-filename-completion-map): Move initialization from C;
5459 don't inherit from anything here.
5460 (minibuffer-local-filename-must-match-map): Make obsolete.
5461 (completing-read-default): Use make-composed-keymap to combine
5462 minibuffer-local-filename-completion-map with either
5463 minibuffer-local-must-match-map or
5464 minibuffer-local-filename-completion-map.
5465
d224ac83
GM
54662011-07-01 Glenn Morris <rgm@gnu.org>
5467
3de63bf8
GM
5468 * type-break.el (type-break-time-sum): Use dolist.
5469
d224ac83
GM
5470 * textmodes/flyspell.el (flyspell-word-search-backward):
5471 Replace CL function.
5472
1a1e3f32
SM
54732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5474
fe3f64d5
SM
5475 * mouse.el (mouse--strip-first-event): New function.
5476 (function-key-map): Use it to map fringe clicks to normal clicks
5477 by default.
5478
eb604e34
SM
5479 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5480 (vc-bzr-revision-completion-table): Add support for annotate and date.
5481
1a1e3f32
SM
5482 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5483 inherit from parent.
5484
5bd35902
LMI
54852011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5486
ace6c69c 5487 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5488 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5489
191e2bed
LMI
5490 * dired.el (dired-mode): Fix up the doc string as suggested by
5491 Drew Adams (bug#8817).
5492
5bd35902
LMI
5493 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5494 cookie, since the manual says that it should be possible to add
5495 this function to `find-file-hook' (bug#8709).
5496
eee8207a
TZ
54972011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5498
5499 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5500 here. Noted Ted Zlatanov as the maintainer.
5501 (cfengine-common-settings, cfengine-common-syntax): New functions
5502 to set up common things between `cfengine-mode' and
5503 `cfengine3-mode'.
5504 (cfengine3-mode): New mode.
5505 (cfengine3-defuns cfengine3-defuns-regex
5506 (cfengine3-class-selector-regex cfengine3-category-regex)
5507 (cfengine3-vartypes cfengine3-font-lock-keywords)
5508 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5509 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5510
36b148cf
MA
55112011-07-01 Michael Albinus <michael.albinus@gmx.de>
5512
5513 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5514
5515 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5516
0bf4ba9a
MR
55172011-07-01 Martin Rudalics <rudalics@gmx.at>
5518
5519 * window.el (same-window-buffer-names, same-window-regexps)
5520 (same-window-p, special-display-frame-alist)
5521 (special-display-popup-frame, special-display-function)
5522 (special-display-buffer-names, special-display-regexps)
5523 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5524 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5525 (split-window-preferred-function, split-height-threshold)
5526 (split-width-threshold, even-window-heights)
5527 (display-buffer-mark-dedicated, window-splittable-p)
5528 (split-window-sensibly, window-safely-shrinkable-p):
5529 Un-obsolete.
5530 (display-buffer): Don't spread args with function specifier
5531 because special-display-popup-frame won't like it.
5532
35837f51
PE
55332011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5534
d0672f86
PE
5535 Time-stamp simplifications and fixes.
5536 These improve accuracy slightly, and future-proof the code
5537 against some potential changes to current-time format.
5538
b9444d97
PE
5539 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5540 by using time-since and float-time.
5541
0ef923dc
PE
5542 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5543 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5544 + NNN microseconds".
5545
2f81380d
PE
5546 * type-break.el (type-break-time-sum): Rewrite using time-add.
5547
845b5c3e
PE
5548 * play/hanoi.el (hanoi-current-time-float): Remove.
5549 All uses replaced by float-time.
5550
ee6f1be0
PE
5551 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5552 This yields a more-accurate answer.
5553 (rng-time-to-float): Remove; no longer needed.
5554
fe955043
PE
5555 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5556
5777162a
PE
5557 * calendar/timeclock.el (timeclock-seconds-to-time):
5558 Defalias to seconds-to-time, since they're the same thing.
5559
3103f8b6 5560 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5561 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5562 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5563
0e61a35f
SM
55642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * window.el (bury-buffer): Don't iconify the only frame.
5567 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5568 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5569
ddd63a1e
CY
55702011-07-01 Chong Yidong <cyd@stupidchicken.com>
5571
0e61a35f
SM
5572 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5573 Add mouse-yank-primary.
ddd63a1e 5574
055f4923
TZ
55752011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5576
5577 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5578
6a2fb145
SM
55792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5582 (find-library-name): Use it to find relative load names when provided
5583 absolute file name (bug#8803).
5584
fd4983f2
LMI
55852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5586
887d14ad
LMI
5587 * textmodes/flyspell.el (flyspell-word): Consider words that
5588 differ only in case as potential doublons (bug#5687).
5589
c53dc7fc
LMI
5590 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5591 Remove two rather uninteresting debugging-like messages to make
5592 debbugs.el more silent.
5593
fd4983f2
LMI
5594 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5595 a password-like phrase.
5596
b14c0c55
AM
55972011-06-30 Mastake YAMATO <yamato@redhat.com>
5598
5599 * progmodes/cc-guess.el: New file.
5600
6a2fb145 5601 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5602
5603 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5604 derived from `c-basic-common-init'.
5605
5606 * progmodes/cc-mode.el (top-level): Require cc-guess.
5607 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5608
1fa280a3
LM
56092011-06-30 Lawrence Mitchell <wence@gmx.li>
5610
5611 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5612
e6597158
AM
56132011-06-30 Alan Mackenzie <acm@muc.de>
5614
1fa280a3
LM
5615 * progmodes/cc-engine.el (c-guess-continued-construct):
5616 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5617 lock is disabled. Name this case as "CASE G".
5618
68ba37fb
KM
56192011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5620
5621 * allout.el (allout-yank-processing): Fix injection of extra space
5622 between bullet and non-whitespace character in first topic when
5623 pasting, ensuring that the actual spacing in the pasted topic
5624 following the bullet char is preserved. This extra space was
5625 causing pasted encrypted topics to get a decrypted status even
5626 when the content was actually still encrypted. Now the decryption
5627 status from before the paste is preserved.
5628
5629 (allout-flag-region): Set all allout overlays so they evaporate
5630 when reduced to zero length (evanescent), to prevent overlay
5631 leakage.
5632
887a0b34
GM
56332011-06-30 Glenn Morris <rgm@gnu.org>
5634
94b9acce
GM
5635 * w32-fns.el (w32-charset-info-alist): Declare.
5636
1d9b46d4
GM
5637 * find-dired.el (find-grep-options): Simplify.
5638
cc232200
GM
5639 * term/ns-win.el (ns-set-resource): Declare.
5640
28e77c46
GM
5641 * ses.el (row, col): Declare dynamic variables honestly.
5642
887a0b34
GM
5643 * textmodes/reftex-parse.el (index-tags): Declare.
5644
658d8eb8
CY
56452011-06-30 Chong Yidong <cyd@stupidchicken.com>
5646
5647 * cus-edit.el (customize-push-and-save): New function.
5648
5649 * files.el (hack-local-variables-confirm): Use it.
5650
1fa280a3
LM
5651 * custom.el (load-theme): New arg NO-CONFIRM.
5652 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5653 (custom-enabled-themes): Doc fix.
5654
5655 * cus-theme.el (customize-create-theme)
5656 (custom-theme-merge-theme): Callers to load-theme changed.
5657
bb617717
LMI
56582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5659
d61bdd5d
LMI
5660 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5661 short URLs have at least one dot in them (bug #7614).
5662
bb617717
LMI
5663 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5664 nil, because using a pty is apparently too slow (bug #895).
5665
2f31f37a
LMI
56662011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5667
5668 * mail/sendmail.el (sendmail-query-once): New function.
5669 (sendmail-query-once-function): New variable.
5670
3076b24e
GM
56712011-06-29 Glenn Morris <rgm@gnu.org>
5672
faf2a174
GM
5673 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5674
3076b24e
GM
5675 * ses.el (top-level): Require cl when compiling.
5676 (ses-set-localvars): Fix error statement.
5677 Call it at compile time to silence a storm of warnings.
5678
5386012d
MR
56792011-06-29 Martin Rudalics <rudalics@gmx.at>
5680
5681 * window.el (normalize-live-buffer): Rename to
5682 window-normalize-buffer.
5683 (normalize-live-frame): Rename to window-normalize-frame.
5684 (normalize-any-window): Rename to window-normalize-any-window.
5685 (normalize-live-window): Rename to window-normalize-live-window.
5686 (make-window-atom): Rename to window-make-atom.
5687 (window-resize-reset): Rename to window--resize-reset.
5688 (window-resize-reset-1): Rename to window--resize-reset-1.
5689 (resize-mini-window): Rename to window--resize-mini-window.
5690 (resize-subwindows-skip-p): Rename to
5691 window--resize-subwindows-skip-p.
5692 (resize-subwindows-normal): Rename to
5693 window--resize-subwindows-normal.
5694 (resize-subwindows): Rename to window--resize-subwindows.
5695 (resize-other-windows): Rename to window--resize-siblings.
5696 (resize-this-window): Rename to window--resize-this-window.
5697 (resize-root-window): Rename to window--resize-root-window.
5698 (resize-root-window-vertically): Rename to
5699 window--resize-root-window-vertically.
5700 (normalize-buffer-to-display): Rename to
5701 window-normalize-buffer-to-display.
5702 (normalize-buffer-to-switch-to): Rename to
5703 window-normalize-buffer-to-switch-to.
5704 Correspondingly update all callers of the functions listed
5705 above.
5706 (display-buffer-alist, display-buffer-normalize-arguments)
5707 (display-buffer-normalize-options, display-buffer)
5708 (display-buffer-alist-set): Use "function" instead of
5709 "fun-with-args".
5710
1176868d
CY
57112011-06-28 Chong Yidong <cyd@stupidchicken.com>
5712
5713 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5714 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5715 debbugs.gnu.org. Mention acknowledgment email.
5716
20a7a65f
LMI
57172011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5718
5719 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5720 buffer multibyteness, since it shouldn't matter.
5721
5f45cca5
MR
57222011-06-28 Martin Rudalics <rudalics@gmx.at>
5723
5724 * window.el (display-buffer-in-side-window): Handle dedicated
5725 windows as in display-buffer-reuse-window.
5726 (display-buffer-normalize-alist): Use value of override
5727 specifier.
5728 (display-buffer-normalize-specifiers): Use value of
5729 other-window-means-other-frame specifier.
5730 (display-buffer-alist): Rewrite some texts in widgets.
5731 (display-buffer): Spread arguments when calling function
5732 specified by fun-with-args.
5733
ad85fe1f
DD
57342011-06-28 Deniz Dogan <deniz@dogan.se>
5735
1fa280a3
LM
5736 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5737 Unnest `let'.
da68c4c8 5738
ad85fe1f
DD
5739 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5740 selectors (Bug#5732).
ec49bd31 5741 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5742
a08cc025
JA
57432011-06-27 Jari Aalto <jari.aalto@cante.net>
5744
5745 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5746 (eshell-ls-date-format): New defcustom.
5747 (eshell-ls-file): Use it.
5748
e2b551c5
SM
57492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5752
8982b231
KY
57532011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5754
5755 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5756 (ange-ftp-make-tmp-name): New arg.
5757 (ange-ftp-file-local-copy): Use it.
5758
36c9fa27
J
57592011-06-27 Jambunathan K <kjambunathan@gmail.com>
5760
5761 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5762 no-conversion (Bug#8870).
5763
d68443dc
MR
57642011-06-27 Martin Rudalics <rudalics@gmx.at>
5765
5766 * window.el (window-right, window-left, window-child)
5767 (window-child-count, window-last-child)
5768 (window-iso-combination-p, walk-window-tree-1)
5769 (window-atom-check-1, window-tree-1, delete-window)
5770 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5771 new naming conventions - window-vchild, window-hchild,
5772 window-next and window-prev are now called window-top-child,
5773 window-left-child, window-next-sibling and window-prev-sibling
5774 respectively.
d615d6d2
MR
5775 (resize-window-reset): Rename to window-resize-reset.
5776 (resize-window-reset-1): Rename to window-resize-reset-1.
5777 (resize-window): Rename to window-resize.
5778 (window-min-height, window-min-width)
5779 (resize-mini-window, resize-this-window, resize-root-window)
5780 (resize-root-window-vertically, adjust-window-trailing-edge)
5781 (enlarge-window, shrink-window, maximize-window)
5782 (minimize-window, delete-window, quit-restore-window)
5783 (split-window, balance-windows, balance-windows-area-adjust)
5784 (balance-windows-area, window-state-put-2)
5785 (display-buffer-even-window-sizes, display-buffer-set-height)
5786 (display-buffer-set-width, set-window-text-height)
5787 (fit-window-to-buffer): Rename all "resize-window" prefixed
5788 calls to use the "window-resize" prefix convention.
5789 (display-buffer-alist): Fix symbol for label specifier.
5790 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5791 corresponding specifier.
5792 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5793
b6458526
VB
57942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5795
5796 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5797 convention.
5798 (ses-call-printer): Does not pass an empty string to formatter when the
5799 cell is empty to keep from barking printer Calc math-format-value.
5800
d31fd9ac
RS
58012011-06-27 Richard Stallman <rms@gnu.org>
5802
43d5bf84
RS
5803 * battery.el (battery-mode-line-limit): New variable.
5804 (battery-update): Handle it.
5805
d31fd9ac
RS
5806 * mail/rmailmm.el (rmail-mime-process-multipart):
5807 Handle truncated messages.
5808
819a6054
GM
58092011-06-27 Glenn Morris <rgm@gnu.org>
5810
5811 * progmodes/flymake.el (flymake-err-line-patterns):
5812 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5813
cedc73f2
VB
58142011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5815
819a6054 5816 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5817 (ses--clean-!, ses--clean-_): New functions.
5818 (ses-range): Add configurability of readout order, and conversion
5819 to Calc vector.
5820
5e5d49b6
VB
5821 * ses.el (ses-repair-cell-reference-all): New function.
5822 (ses-cell-symbol): Set macro as safe, so that it can be used in
5823 formulas.
5824
56e6cc31 5825 * ses.el: Update cycle detection algorithm.
90ca8b49 5826 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5827 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5828 (ses-set-localvars): New function.
5829 (ses-make-cell): Add property-list as a cell element.
5830 (ses-cell-property-get-fun, ses-cell-property-get)
5831 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5832 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5833 New functions.
90ca8b49
VB
5834 (ses-cell-property-set, ses-cell-property-pop)
5835 (ses-cell-property-get-handle): New macro.
5836 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5837 New aliases, used for code readability.
5838 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5839 cycle detection.
5840 (ses-self-reference-early-detection): New defcustom.
fac916bf 5841 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5842 (ses-mode): Use ses-set-localvars.
5843 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5844 before lauching the update processing.
5845 (ses-initialize-Dijkstra-attempt): New function.
5846 (ses-recalculate-cell): Update for cycle detection based on
5847 Dijkstra algorithm.
5848
2bb63e81
VB
5849 * ses.el: Fix commenting and indenting convention.
5850
c9d29fb8
SM
58512011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * bs.el (bs-cycle-next): Complete last change.
5854
d8e4b68b
JB
58552011-06-27 Drew Adams <drew.adams@oracle.com>
5856
5857 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5858
40098786
LMI
58592011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5860
c9d29fb8
SM
5861 * net/network-stream.el (network-stream-open-starttls):
5862 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5863 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5864
40098786
LMI
5865 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5866 to binary to possibly avoid line encoding issues on Windows (among
5867 other things).
5868
468d09d4
LMI
58692011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5870
5871 * net/network-stream.el (open-network-stream): Return an :error
5872 saying what the problem was, if possible.
5873
5874 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5875 server.
5876
5877 * net/network-stream.el (network-stream-open-starttls): If we
5878 wanted to use STARTTLS, and the server offered it, but we weren't
5879 able to because we had no STARTTLS support, then close the connection.
5880 (open-network-stream): Return an :error element, if present.
5881
16f07dd7
CY
58822011-06-26 Chong Yidong <cyd@stupidchicken.com>
5883
88821ca0
CY
5884 * hl-line.el (hl-line-sticky-flag): Doc fix.
5885 (global-hl-line-sticky-flag): New option (Bug#8323).
5886 (global-hl-line-highlight): Obey it.
5887
16f07dd7
CY
5888 * vc/vc.el (vc-revert-show-diff): Default to t.
5889
6b5ccddf
KM
58902011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5891
c9d29fb8
SM
5892 * allout-widgets.el (allout-widgets-post-command-business):
5893 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5894 undecorated when an isearch is continued past, and isearch
5895 automatically collapses them. This leads to "widget leaks", where
5896 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5897 hidden widgets can slow down cursor travel, substantially.
5898 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5899 so we're doing without this nicety.
5900
5901 (allout-widgets-tally-string): Don't try to do a hash-table-count
5902 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5903 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5904 *Messages* when allout-widgets-maintain-tally is t.
5905
355f2e07
MR
59062011-06-26 Martin Rudalics <rudalics@gmx.at>
5907
5908 * window.el (display-buffer-normalize-argument): Rename to
5909 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5910 LABEL argument. Respect special-display-function when popping up
5911 a new frame. Fix code searching for a window showing the buffer
5912 on another frame.
c9d29fb8
SM
5913 (display-buffer-normalize-specifiers):
5914 Call display-buffer-normalize-arguments.
355f2e07
MR
5915 (display-buffer-in-window): Don't undedicate the window if its
5916 buffer remains the same.
5917 Reported by Drew Adams <drew.adams@oracle.com>.
5918 (display-buffer-alist): Add choice for same-window macro
5919 specfier.
5920 (display-buffer): Mention special meaning of LABEL argument in
5921 doc-string. Fix quoting. Don't pop up a new frame even as
5922 fallback.
5923
7ca8fc42
JB
59242011-06-26 Juanma Barranquero <lekktu@gmail.com>
5925
5926 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5927 avoid deleting the current window in some cases (bug#8911).
5928
bc312254
AS
59292011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5930
5931 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5932 (Bug#8934)
5933
2db18f3f
LMI
59342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935
c9d29fb8
SM
5936 * net/network-stream.el (network-stream-open-starttls):
5937 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5938 (network-stream-open-tls): Ditto.
5939
6302e0d3
LL
59402011-06-26 Leo Liu <sdl.web@gmail.com>
5941
5942 * register.el (registerv): New struct.
5943 (registerv-make): New function.
c9d29fb8
SM
5944 (jump-to-register, describe-register-1, insert-register):
5945 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5946 struct. (Bug#8415)
5947
5fdd4046
CY
59482011-06-26 Chong Yidong <cyd@stupidchicken.com>
5949
2afef60a
CY
5950 * vc/vc.el (vc-revert-show-diff): New defcustom.
5951 (vc-diff-internal): New arg specifying diff buffer.
5952 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5953 reuse an existing *vc-diff* buffer (Bug#8927).
5954
5fdd4046
CY
5955 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5956
e93db24a
GM
59572011-06-26 Glenn Morris <rgm@gnu.org>
5958
5959 * progmodes/f90.el (f90-critical-indent): New option.
5960 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5961 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5962 (f90-mode): Doc fix.
5963 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5964 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5965 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5966 (f90-match-end): Handle block, critical.
5967
eefff499
GM
59682011-06-25 Glenn Morris <rgm@gnu.org>
5969
f6ba4cc9
GM
5970 * calendar/diary-lib.el (diary-included-files): Doc fix.
5971 (diary-include-files): New function, extracted from
5972 diary-include-other-diary-files and diary-mark-included-diary-files.
5973 (diary-include-other-diary-files, diary-mark-included-diary-files):
5974 Just call diary-include-files.
5975 (diary-mark-entries): Reset diary-included-files on first call.
5976
16712304
GM
5977 * calendar/diary-lib.el (diary-mark-entries)
5978 (diary-mark-included-diary-files):
5979 Visit included diary-files in temp buffers.
5980
5d8e0d43
GM
5981 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5982 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5983 (f90-start-block-re, f90-imenu-generic-expression)
5984 (f90-looking-at-program-block-start, f90-no-block-limit):
5985 Add support for submodules.
5986
ccf7a5d5
GM
5987 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5988 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5989
11fdef7d 59902011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5991
5992 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5993 buffer-file-type before setting its value, to avoid disastrous
eefff499 5994 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5995
74f53697
JB
59962011-06-25 Juanma Barranquero <lekktu@gmail.com>
5997
5998 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5999
6000 * ses.el (ses-unload-function):
6001 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6002
6003 * proced.el (proced-unload-function):
6004 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6005
18a4ce5e
AR
60062011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6007
6008 * server.el (server-create-window-system-frame): Add parameters arg.
6009 (server-process-filter): Doc fix. Handle frame-parameters.
6010
519d22cc
JB
60112011-06-25 Juanma Barranquero <lekktu@gmail.com>
6012
6013 Fix bug#8730, bug#8781.
6014
6015 * loadhist.el (unload--set-major-mode): New function.
6016 (unload-feature): Use it.
6017
6018 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6019 (python-unload-function): New function.
6020
c206f5b0
SM
60212011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6024
f9ad64f3
GS
60252011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6026
6027 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6028 the candidates list.
6029
7d0da90e
JB
60302011-06-24 Juanma Barranquero <lekktu@gmail.com>
6031
6032 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6033
14b4e83d
RS
60342011-06-23 Richard Stallman <rms@gnu.org>
6035
6036 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6037 (rmail-variables): Set next-error-move-function.
6038 (rmail-what-message): Take argument POS.
6039 (rmail-next-error-move): New function.
6040
273d2baf
SM
60412011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6044 messages for adjacent non-terminals.
6045
56c2cc9a
RS
60462011-06-23 Richard Stallman <rms@gnu.org>
6047
6048 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6049 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6050 (rmail-start-mail): Don't specify use of rmail-mail-return;
6051 that's done by mail-bury now.
6052 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6053
d59eb518
MA
60542011-06-23 Michael Albinus <michael.albinus@gmx.de>
6055
6056 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6057 SIZE is a number.
6058
02cfc6d6
MR
60592011-06-23 Martin Rudalics <rudalics@gmx.at>
6060
6061 * window.el (get-lru-window, get-mru-window)
6062 (get-largest-window): Never return a minibuffer window.
6063 (display-buffer-pop-up-window): Fix a bug that could lead to
6064 reusing the minibuffer window.
6065 (display-buffer): Pass original specifier argument to
6066 display-buffer-function instead of the normalized one.
6067 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6068
4e323265
LL
60692011-06-22 Leo Liu <sdl.web@gmail.com>
6070
6071 * minibuffer.el (completing-read-function)
6072 (completing-read-default): Move from minibuf.c
6073
7a70468f
RS
60742011-06-22 Richard Stallman <rms@gnu.org>
6075
50718fc2
RS
6076 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6077 to Rmail even if not started by a special Rmail command.
6078
7a70468f
RS
6079 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6080 Copy the buffer currently showing just one message.
6081
297dde5a
RW
60822011-06-22 Roland Winkler <winkler@gnu.org>
6083
6084 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6085 (bibtex-clean-entry): First delete the old key so that a
6086 customized algorithm for generating the new key does not get
6087 confused by the old key.
6088 (bibtex-url): Obey regexp of first step.
6089 (bibtex-search-entries): Do not use add-to-list with local
6090 list-var.
6091
97bb1093
LMI
60922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6093
6094 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6095 stored a user name, then query for the password first, instead of
6096 waiting for SMTP to give an error message and the trying again.
6097
1c0f1a19
JD
60982011-06-22 Lawrence Mitchell <wence@gmx.li>
6099
6100 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6101 BUFFER in call-process.
6102
396f7c9d
LMI
61032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6104
6105 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6106 QUIT twice.
ddb7ffee
LMI
6107 (smtpmail-try-auth-methods): Require user name and password from
6108 auth-source.
396f7c9d 6109
8998d1b3
MR
61102011-06-22 Martin Rudalics <rudalics@gmx.at>
6111
6112 * window.el (display-buffer-default-specifiers)
6113 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6114 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6115 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6116
6117 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6118 (special-display-frame-alist, special-display-popup-frame):
6119 Remove duplicate declarations. These are now in window.el.
6120
4ea31e07
LMI
61212011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6122
c9d29fb8
SM
6123 * mail/smtpmail.el (smtpmail-via-smtp):
6124 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6125 server supports it. SMTP servers that support STARTTLS commonly
6126 require it.
6127
6128 * net/network-stream.el (network-stream-open-starttls): Support
6129 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6130 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6131
95f41d9a
LMI
6132 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6133 upgrades with `open-network-stream', and rely solely on
6134 auth-source for all credentials. Big changes throughout the file,
6135 but in particular:
c9d29fb8
SM
6136 (smtpmail-auth-credentials): Remove.
6137 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6138 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6139 MAIL FROM, too.
95f41d9a 6140
c9d29fb8
SM
6141 * net/network-stream.el (network-stream-open-starttls):
6142 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6143 STARTTLS.
6144 (auth-source): Require.
6145 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6146 (network-stream-certificate): Change cert-cert to cert and
6147 cert-key to key.
4ea31e07 6148
065ec2c7
MA
61492011-06-21 Michael Albinus <michael.albinus@gmx.de>
6150
6151 * net/tramp-cache.el (top): Don't load the persistency file when
6152 "emacs -Q" has been called.
6153
cd93b359
DR
61542011-06-21 Tim Harper <timcharper@gmail.com>
6155
d8e4b68b
JB
6156 * term/ns-win.el (ns-initialize-window-system):
6157 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6158 resource to NO as it is not yet supported by the NS port.
6159
ae9c0411
JB
61602011-06-21 Juanma Barranquero <lekktu@gmail.com>
6161
6162 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6163 (list-dynamic-libraries): ...not here.
6164
7f3f739f
LL
61652011-06-21 Leo Liu <sdl.web@gmail.com>
6166
6167 * subr.el (sha1): Implement sha1 using secure-hash.
6168
327c8fb1
MR
61692011-06-21 Martin Rudalics <rudalics@gmx.at>
6170
6171 * window.el (display-buffer-alist): In default value do not
6172 enforce searching a window on any but the selected frame.
6173 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6174 (display-buffer-select-window): Remove function.
6175 (display-buffer-in-window): When a window on another frame gets
6176 reused, do not select it any more but just raise its frame if
6177 necessary (Bug#8851) and (Bug#8856).
6178 (display-buffer-normalize-options): Handle pop-up-frames related
6179 options more faithfully.
6180 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6181 window if it is on another frame.
c9d29fb8
SM
6182 (display-buffer-alist, display-buffer-default-specifiers):
6183 Don't make new frame unsplittable by default.
9e9de014
MR
6184 (display-buffer-normalize-argument): Fix doc-string typo and use
6185 'same-frame-other-window instead of 'other-window when associating
6186 with display-buffer-macro-specifiers.
327c8fb1 6187
7cf3f556
VB
61882011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6189
6190 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6191 New functions.
6192 (5x5-mode-map, 5x5-mode-menu): Bind them.
6193 (5x5-draw-grid): Tweak the solver's rendering.
6194
60a406cf
SM
61952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6198 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6199
d8e4b68b 62002011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6201
6202 * menu-bar.el: Use function variable instead of switch-to-buffer.
6203 (menu-bar-select-buffer-function): New variable.
60a406cf 6204 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6205
478d6f95
SM
62062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6209 variable's status.
6210
ca530739
JD
62112011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6212
6213 * x-dnd.el (x-dnd-version-from-flags)
6214 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6215 and long as number (Bug#8899).
6216 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6217
bcd70d97
SM
62182011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6219
60a406cf 6220 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6221 (completion-try-completion, completion-all-completions): Compute the
6222 metadata argument if it's missing; make it optional (bug#8795).
6223
60a406cf 6224 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6225 (widget-complete): Use new :completion-function property.
6226 (widget-completions-at-point): New function.
6227 (default): Use :completion-function instead of :complete.
60a406cf
SM
6228 (widget-default-completions): Rename from widget-default-complete;
6229 Rewrite.
bcd70d97
SM
6230 (widget-string-complete, widget-file-complete, widget-color-complete):
6231 Remove functions.
6232 (file, symbol, function, variable, coding-system, color):
6233 * international/mule-cmds.el (default-input-method, charset)
6234 (language-info-custom-alist):
6235 * cus-edit.el (face): Use new property :completions.
6236
6237 * progmodes/pascal.el (pascal-completions-at-point): New function.
6238 (pascal-mode): Use it.
6239 (pascal-mode-map): Use completion-at-point.
6240 (pascal-toggle-completions): Make obsolete.
6241 (pascal-complete-word, pascal-show-completions):
6242 * progmodes/octave-mod.el (octave-complete-symbol):
6243 Redefine as obsolete alias.
6244 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6245 Signal absence of completion info for old Octave,
6246 (inferior-octave-complete): Redefine as obsolete alias.
6247 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6248 (meta-completions-at-point): Rename from meta-complete-symbol and
6249 adapt it for use on completion-at-point-functions.
6250 (meta-common-mode): Use it.
6251 (meta-looking-at-backward, meta-match-buffer): Remove.
6252 (meta-complete-symbol): Redefine as obsolete alias.
6253 (meta-common-mode-map): Use completion-at-point.
6254 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6255 (makefile-mode-map): Use completion-at-point.
6256 (makefile-completions-at-point): Rename from makefile-complete and
6257 adapt it for use on completion-at-point-functions.
6258 (makefile-mode): Use it.
6259 (makefile-complete): Redefine as obsolete alias.
6260
aebf69c8
DD
62612011-06-20 Deniz Dogan <deniz@dogan.se>
6262
6263 * net/rcirc.el: Delete trailing whitespaces once and for all.
6264
bfbbb27d
DC
62652011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6266
6267 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6268
d264a46b
CY
62692011-06-19 Chong Yidong <cyd@stupidchicken.com>
6270
4ca009e5
CY
6271 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6272
d264a46b
CY
6273 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6274
fbf5b3ce
MR
62752011-06-19 Martin Rudalics <rudalics@gmx.at>
6276
6277 * window.el (display-buffer-other-window-means-other-frame):
6278 Call display-buffer-normalize-alist.
6279 (display-buffer-normalize-specifiers-1): Rename to
6280 display-buffer-normalize-argument. New argument other-frame.
6281 Rewrite.
6282 (display-buffer-normalize-specifiers-2): Rename to
6283 display-buffer-normalize-options.
6284 (display-buffer-normalize-alist-1): New function.
6285 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6286 display-buffer-normalize-alist.
6287 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6288 (display-buffer-normalize-options-inhibit): New variable.
6289 (display-buffer-normalize-specifiers): Rewrite calling
6290 display-buffer-normalize-alist,
6291 display-buffer-normalize-argument, and
6292 display-buffer-normalize-options. Don't call the latter if
6293 display-buffer-normalize-options-inhibit is non-nil.
6294 (frame-auto-delete): New option.
6295 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6296 (window-list-no-nils, window-state-ignored-parameters)
6297 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6298 (window-state-put-1, window-state-put-2, window-state-put):
6299 New functions.
9a028c23
MR
6300 (display-buffer-normalize-options): Move special-display-p group
6301 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6302
6d10d800
CY
63032011-06-18 Chong Yidong <cyd@stupidchicken.com>
6304
6420d28b
CY
6305 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6306 groups (Bug#8776).
6307 (rx-submatch-n): New function.
6308 (rx): Document it.
6309
ddb8b596
CY
6310 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6311 (Bug#8768).
6312
6313 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6314
77080289
CY
6315 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6316
61dfb316
CY
6317 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6318 anytime existing face settings are present (Bug#8889).
6319
6d10d800
CY
6320 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6321 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6322 Remove unused argument.
6323
be3fb2b8
MR
63242011-06-18 Martin Rudalics <rudalics@gmx.at>
6325
bcd70d97
SM
6326 * window.el (display-buffer-default-specifiers):
6327 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6328 pop-up-window-min-width, and another reuse-window specifier
6329 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6330 (display-buffer-normalize-specifiers-2):
6331 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6332 pop-up-windows is unset. Add a reuse-window specifier for the
6333 case popping up a new window fails.
6334 (special-display-popup-frame): Remove double quoting.
28dec25a 6335 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6336
1c6d8c76
SM
63372011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6340 according to comint-completion-addsuffix.
6341
6342 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6343 (pcomplete-suffix-list): Mark as obsolete.
6344 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6345 pcomplete-seen in the closure.
6346 (pcomplete-comint-setup): Setup completion-at-point as well.
6347 (pcomplete--entries): New function.
6348 (pcomplete--env-regexp): New var.
6349 (pcomplete-entries): Rewrite to work with partial-completion and
6350 without relying on pcomplete-suffix-list.
6351 (pcomplete-pare-list): Remove, unused.
6352
25aef8b8
MR
63532011-06-17 Martin Rudalics <rudalics@gmx.at>
6354
6355 * window.el (display-buffer-alist): Set pop-up-window-min-height
6356 and pop-up-window-min-width in default value. Reported by
6357 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6358 other-window-means-other-frame.
6359 (display-buffer-macro-specifiers): Comment out entry for
6360 other-window specifier.
6361 (display-buffer-other-window-means-other-frame): New function.
6362 (display-buffer-normalize-specifiers-1): New arguments
6363 buffer-name and label. Treat other-window case specially.
6364 (display-buffer-normalize-specifiers-2): Treat other-window case
6365 specially.
6366 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6367 (display-buffer-normalize-specifiers):
6368 Call display-buffer-normalize-specifiers-3.
25aef8b8 6369
dbad4f69
MR
63702011-06-17 Martin Rudalics <rudalics@gmx.at>
6371
6372 * window.el (same-window-p): Fix two typos introduced when
6373 adding with-no-warnings.
d1067961
MR
6374 (display-buffer-normalize-specifiers-1): Don't check
6375 pop-up-frames for 'unset initialization.
6376 (display-buffer-normalize-specifiers-2): Major rewrite using
6377 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6378 (pop-up-frames, display-buffer-reuse-frames)
6379 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6380 Suggested by David Engster <deng@randomsample.de>.
6381 (even-window-heights): Initialize to 'unset.
6382 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6383 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6384 other window case.
dbad4f69 6385
9b9c9e3a
MR
63862011-06-16 Martin Rudalics <rudalics@gmx.at>
6387
bcd70d97
SM
6388 * window.el (display-buffer-normalize-specifiers-1):
6389 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6390 second argument of display-buffer (Bug#8865).
981d5c09
MR
6391 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6392 (switch-to-buffer-other-window-same-frame)
6393 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6394 Adams (Bug#8875).
9c2755e9
MR
6395 (display-buffer): Don't check noninteractive when calling
6396 display-buffer-pop-up-frame.
6397 (display-buffer-pop-up-frame): Never pop up a frame in
6398 noninteractive mode (Bug#8857).
67222e1d
MR
6399 (enlarge-window, shrink-window): Don't report an error when the
6400 window can't be resized as requested (Bug#8862).
9b9c9e3a 6401
2b75be67
SM
64022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6403
9ffdd3ba
SM
6404 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6405
cb581a67
SM
6406 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6407
2b75be67
SM
6408 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6409
8c0e3589
AM
64102011-06-15 Alan Mackenzie <acm@muc.de>
6411
cb581a67
SM
6412 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6413 for declarators, disable knr checking to speed up for normal files.
6414 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6415
b96e6cde
LMI
64162011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6417
4bba86e6
LMI
6418 * net/network-stream.el (open-network-stream): Add the keyword
6419 :always-query-capabilities for the case where you want to force a
6420 `plain' network connection, but the protocol still requires the
6421 capabilitiy command (i.e., SMTP and EHLO).
6422
2b75be67 6423 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6424 consistency with other `-live-p' functions.
6425
efdcdbf8
SM
64262011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * window.el (same-window-buffer-names, same-window-regexps)
6429 (special-display-frame-alist, special-display-popup-frame)
6430 (special-display-function, special-display-buffer-names)
6431 (special-display-regexps, pop-up-frame-alist)
6432 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6433 (pop-up-windows, split-window-preferred-function)
6434 (split-height-threshold, split-width-threshold, even-window-heights)
6435 (display-buffer-mark-dedicated): Don't encourage the use of
6436 display-buffer-alist from Elisp code.
6437
c5cde042
DN
64382011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6439
6440 * progmodes/python.el (python-mode): Derive from prog-mode.
6441 * progmodes/ps-mode.el (ps-mode):
6442 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6443 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6444 * progmodes/ld-script.el (ld-script-mode): Likewise.
6445
baa1c9ab
MR
64462011-06-15 Martin Rudalics <rudalics@gmx.at>
6447
6448 * window.el (display-buffer-alist): Trim default value to avoid
6449 popping up a new frame (Bug#8857) or reusing an arbitrary window
6450 on another frame.
6451 (display-buffer): Do not fall back on popping up a new frame in
6452 batch mode (Bug#8857).
6453
c5dd5a51
CY
64542011-06-14 Chong Yidong <cyd@stupidchicken.com>
6455
6456 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6457 (custom-theme-summary): New function.
6458 (customize-themes): Use it.
6459
d647b7c4
GM
64602011-06-13 Glenn Morris <rgm@gnu.org>
6461
6462 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6463
9481c002
MR
64642011-06-13 Martin Rudalics <rudalics@gmx.at>
6465
357f93d2
MR
6466 * help.el (help-window): Remove variable.
6467 (help-window-point-marker, temp-buffer-max-height)
6468 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6469 (help-print-return-message): Don't set help-window.
6470 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6471 (help-window-setup-finish): Remove.
6472 (help-window-display-message, help-window-setup)
6473 (with-help-window): Major rewrite based on new
6474 display-buffer-window variable.
6475
6476 * help-mode.el (help-mode-finish): Remove help-window related
6477 code.
6478
6479 * view.el (view-exits-all-viewing-windows): Remove reference to
6480 view-return-to-alist in doc-string.
6481 (view-return-to-alist): Make obsolete.
6482 (view-buffer): Call pop-to-buffer-same-window and remove
6483 undo-window code.
6484 (view-buffer-other-window): Call pop-to-buffer-other-window and
6485 simplify code. Ignore second argument.
6486 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6487 simplify code. Ignore second argument.
6488 (view-return-to-alist-update): Make obsolete.
6489 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6490 Rewrite using quit-restore window parameters.
2b75be67
SM
6491 (view-mode-exit): Rename second argument to EXIT-ONLY.
6492 Rewrite using quit-restore-window.
357f93d2
MR
6493 (View-exit, View-exit-and-edit, View-leave, View-quit)
6494 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6495 appropriate arguments.
6496 (view-end-message): Use quit-restore window parameter.
6497
9481c002
MR
6498 * window.el (display-buffer-function): Rewrite doc-string.
6499 (display-buffer-window, display-buffer-alist): New variables.
6500 (display-buffer-split-specifiers)
6501 (display-buffer-side-specifiers)
6502 (display-buffer-macro-specifiers): New constants.
6503 (display-buffer-even-window-sizes, display-buffer-set-height)
6504 (display-buffer-set-width, display-buffer-select-window)
6505 (display-buffer-in-window, display-buffer-reuse-window)
6506 (display-buffer-split-window-1, display-buffer-split-window)
6507 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6508 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6509 (display-buffer-in-side-window, normalize-buffer-to-display)
6510 (display-buffer-normalize-specifiers-1)
6511 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6512 (display-buffer-normalize-specifiers, display-buffer-frame):
6513 New functions.
9481c002
MR
6514 (display-buffer): Major rewrite.
6515 (display-buffer-other-window, display-buffer-other-frame)
6516 (pop-to-buffer, switch-to-buffer-other-window)
6517 (switch-to-buffer-other-frame): Rewrite.
6518 (display-buffer-same-window, display-buffer-same-frame)
6519 (display-buffer-same-frame-other-window)
6520 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6521 (pop-to-buffer-other-window)
6522 (pop-to-buffer-same-frame-other-window)
6523 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6524 (switch-to-buffer-other-window-same-frame): New functions.
6525 (same-window-p, special-display-p): Rewrite disabling warnings.
6526 Make obsolete.
6527 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6528 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6529 Make obsolete
6530 (same-window-buffer-names, same-window-regexps)
6531 (special-display-frame-alist, special-display-popup-frame)
6532 (special-display-function, special-display-buffer-names)
6533 (special-display-regexps, pop-up-frame-alist)
6534 (pop-up-frame-function, split-window-preferred-function)
6535 (split-height-threshold, split-width-threshold)
6536 (even-window-heights): Make obsolete.
6537
9db51aca
GM
65382011-06-12 Glenn Morris <rgm@gnu.org>
6539
6540 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6541 Misc simplifications.
9db51aca 6542
39cffb44
MR
65432011-06-12 Martin Rudalics <rudalics@gmx.at>
6544
6545 * window.el (window-safely-shrinkable-p): Restore function which
6546 was inadvertently removed in change from 2011-06-11. Declare as
6547 obsolete.
6548
2b75be67
SM
6549 * calendar/calendar.el (calendar-generate-window):
6550 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6551 window-safely-shrinkable-p.
6552
a8955be7
GM
65532011-06-12 Glenn Morris <rgm@gnu.org>
6554
6555 * progmodes/fortran.el (fortran-mode-syntax-table):
6556 * progmodes/f90.el (f90-mode-syntax-table):
6557 Set % to punctuation. (Bug#8820)
6558 (f90-find-tag-default): Remove, no longer needed.
6559
f0d4059d
DC
65602011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6561
6562 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6563
1100a63c
CY
65642011-06-11 Chong Yidong <cyd@stupidchicken.com>
6565
6566 * image.el (image-animated-p): Return animation delay in seconds.
6567 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6568 (image-animate-timeout): Remove DELAY argument. Don't assume
6569 every subimage has the same delay; get it from image-animated-p.
6570 (image-animate): Caller changed.
6571
def722bf
MA
65722011-06-11 Michael Albinus <michael.albinus@gmx.de>
6573
6574 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6575 to ignored backtrace functions.
6576
0a2bb1a9
GM
65772011-06-11 Glenn Morris <rgm@gnu.org>
6578
6579 * calendar/appt.el (appt-disp-window-function): Doc fix.
6580 (appt-check): Handle overlapping appointments. (Bug#8337)
6581
6198ccd0
MR
65822011-06-11 Martin Rudalics <rudalics@gmx.at>
6583
6584 * window.el (window-tree-1, window-tree): New functions, moving
6585 the latter to window.el.
6586 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6587 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6588 (bw-refresh-edges): Remove.
6589 (balance-windows-1, balance-windows-2): New functions.
6590 (balance-windows): Rewrite in terms of window tree functions,
6591 balance-windows-1 and balance-windows-2.
6592 (bw-adjust-window): Remove.
6593 (balance-windows-area-adjust): New function with functionality of
6594 bw-adjust-window but using resize-window.
2b75be67
SM
6595 (set-window-text-height): Rewrite doc-string.
6596 Use normalize-live-window and resize-window.
6597 (enlarge-window-horizontally, shrink-window-horizontally):
6598 Rename argument to DELTA.
6198ccd0
MR
6599 (window-buffer-height): New function.
6600 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6601 Rewrite using new window resize routines.
2b75be67
SM
6602 (kill-buffer-and-window, mouse-autoselect-window-select):
6603 Use ignore-errors instead of condition-case.
6198ccd0
MR
6604 (quit-window): Call delete-frame instead of delete-windows-on
6605 for the only buffer on frame.
6606
9397e56f
MR
66072011-06-10 Martin Rudalics <rudalics@gmx.at>
6608
6609 * loadup.el (top-level): Load window before files for the sake
6610 of replace-buffer-in-windows.
6611
6612 * files.el (read-buffer-to-switch)
6613 (switch-to-buffer-other-window)
2b75be67
SM
6614 (switch-to-buffer-other-frame, display-buffer-other-frame):
6615 Move to window.el.
9397e56f
MR
6616
6617 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6618 (previous-buffer): Move to window.el.
6619
6620 * bindings.el (unbury-buffer): Move to window.el.
6621
6622 * window.el (delete-other-windows-vertically): Move after
6623 definition of delete-other-windows.
6624 (other-window, delete-windows-on, replace-buffer-in-windows):
6625 Move here from window.c.
6626 (record-window-buffer, unrecord-window-buffer)
6627 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6628 (switch-to-next-buffer): New functions.
6629 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6630 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6631 (previous-buffer): Move here from simple.el.
6632 Call switch-to-prev-buffer.
9397e56f
MR
6633 (bury-buffer): Move here from buffer.c. Switch to previous
6634 buffer when window cannot be deleted.
6635 (unbury-buffer): Move here from bindings.el.
6636 (ctl-x-map): Move binding for other-window from window.c to
6637 here.
6638 (read-buffer-to-switch, switch-to-buffer-other-window)
6639 (switch-to-buffer-other-frame): Move here from files.el.
6640 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6641 (switch-to-buffer): Move here from buffer.c.
6642 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6643
562dd5e9
MR
66442011-06-10 Martin Rudalics <rudalics@gmx.at>
6645
6646 * window.el (window-min-height, window-min-width): Move here
6647 from window.c. Add defcustoms and rewrite doc-strings.
6648 (resize-mini-window, resize-window): New functions.
6649 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6650 Move here from window.c.
6651 (maximize-window, minimize-window): New functions.
6652 (delete-window, delete-other-windows, split-window): Move here
6653 from window.c.
6654 (window-split-min-size): New function.
6655 (split-window-keep-point): Mention split-window-above-each-other
6656 instead of split-window-vertically.
2b75be67 6657 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6658 Rename split-window-vertically to split-window-above-each-other
6659 and provide defalias for old definition.
6660 (split-window-side-by-side, split-window-horizontally):
6661 Rename split-window-horizontally to split-window-side-by-side
6662 and provide defalias for the old definition.
562dd5e9
MR
6663 (ctl-x-map): Move bindings for delete-window,
6664 delete-other-windows and enlarge-window here from window.c.
6665 Replace bindings for split-window-vertically and
6666 split-window-horizontally by bindings for
6667 split-window-above-each-other and split-window-side-by-side.
6668
6669 * cus-start.el (all): Remove entries for window-min-height and
6670 window-min-width. Add entries for window-splits and
6671 window-nest.
6672
f0da764a
GM
66732011-06-09 Glenn Morris <rgm@gnu.org>
6674
80675c21
GM
6675 * calendar/appt.el (appt-mode-line): New function.
6676 (appt-check, appt-disp-window): Use it.
6677
f0da764a
GM
6678 * files.el (hack-one-local-variable-eval-safep):
6679 Allow minor-modes with explicit +/-1 arguments.
6680
59f623b7
TZ
66812011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6682
6683 * term/xterm.el (xterm): Add defgroup.
6684 (xterm-extra-capabilities): Add defcustom to supply known xterm
6685 capabilities, skip querying them, or query them (default).
6686 (terminal-init-xterm): Use it.
6687 (terminal-init-xterm-modify-other-keys): New function to set up
6688 modifyOtherKeys support to simplify `terminal-init-xterm'.
6689
9aab8e0d
MR
66902011-06-09 Martin Rudalics <rudalics@gmx.at>
6691
6692 * window.el (resize-window-reset, resize-window-reset-1)
6693 (resize-subwindows-skip-p, resize-subwindows-normal)
6694 (resize-subwindows, resize-other-windows, resize-this-window)
6695 (resize-root-window, resize-root-window-vertically)
6696 (window-deletable-p, window-or-subwindow-p)
6697 (frame-root-window-p): New functions.
6698
e8b08aee
GM
66992011-06-09 Glenn Morris <rgm@gnu.org>
6700
6701 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6702 (ange-ftp-get-files): Use it.
6703
254c37a5
AK
67042011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6705
6706 * mail/sendmail.el (mail-recover-1, mail-recover):
6707 * files.el (recover-file, recover-session):
6708 Handle dired-listing-switches not being just a single short option.
6709
35d7dbd3
GM
67102011-06-09 Glenn Morris <rgm@gnu.org>
6711
6712 * calendar/appt.el (appt-display-message, appt-disp-window):
6713 Handle lists of appointments.
6714
387522b2
MR
67152011-06-08 Martin Rudalics <rudalics@gmx.at>
6716
2b75be67
SM
6717 * window.el (one-window-p): Move down in code.
6718 Rewrite doc-string.
6719 (window-current-scroll-bars): Rewrite doc-string.
6720 Normalize live window argument.
387522b2
MR
6721 (walk-windows, get-window-with-predicate, count-windows):
6722 Rewrite doc-string. Use window-list-1.
6723 (window-in-direction-2, window-in-direction, get-mru-window):
6724 New functions.
6725
d8e4b68b 67262011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6727
6728 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6729 Doc fix (Bug#8713).
6730
67312011-06-08 Chong Yidong <cyd@stupidchicken.com>
6732
6733 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6734
67352011-06-08 Juanma Barranquero <lekktu@gmail.com>
6736
6737 * loadhist.el (unload-feature-special-hooks):
6738 Add `comint-output-filter-functions'.
6739
0de12c52
IK
67402011-06-08 Ivan Kanis <gnu@kanis.fr>
6741
6742 * calendar/appt.el (appt-check): Move some initializations into the let.
6743
f3d1777e
MR
67442011-06-08 Martin Rudalics <rudalics@gmx.at>
6745
6746 * window.el (window-height): Defalias to window-total-height.
6747 (window-width): Defalias to window-body-width.
6748
18af70d0
CY
67492011-06-07 Chong Yidong <cyd@stupidchicken.com>
6750
6751 * image-mode.el (image-toggle-animation): New command.
6752 (image-mode-map): Bind it to RET.
6753 (image-mode): Update message.
6754 (image-toggle-display-image): Avoid a spurious cache flush.
6755 (image-transform-rotation): Doc fix.
6756 (image-transform-properties): Return quickly in the normal case.
6757 (image-animate-loop): Rename from image-animate-max-time.
6758
2b75be67 6759 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6760 (create-animated-image): Remove unnecessary function.
6761 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6762 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6763 (image-animate-timer): Use car-safe.
6764 (image-animate-timeout): Rename argument.
6765
190b47e6
MR
67662011-06-07 Martin Rudalics <rudalics@gmx.at>
6767
6768 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6769 window.c. Rename first argument to ALL-FRAMES.
6770 Rephrase doc-strings.
6771 (get-buffer-window-list): Rewrite using window-list-1.
6772 Rephrase doc-string.
a1511caf
MR
6773 (window-safe-min-height, window-safe-min-width): New constants.
6774 (window-size-ignore, window-min-size, window-min-size-1)
6775 (window-sizable, window-sizable-p, window-size-fixed-1)
6776 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6777 (window-max-delta-1, window-max-delta, window-resizable)
6778 (window-resizable-p, window-total-height, window-total-width)
6779 (window-body-width): New functions.
6780 (window-full-height-p, window-full-width-p): Rewrite using
6781 window-total-size.
6782 (window-body-height): Rewrite using window-body-size.
190b47e6 6783
85cc1f11
MR
67842011-06-06 Martin Rudalics <rudalics@gmx.at>
6785
6786 * window.el (window-right, window-left, window-child)
6787 (window-child-count, window-last-child, window-any-p)
6788 (normalize-live-buffer, normalize-live-frame)
6789 (normalize-any-window, normalize-live-window)
6790 (window-iso-combination-p, window-iso-combined-p)
6791 (window-iso-combinations)
6792 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6793 (windows-with-parameter, window-with-parameter)
6794 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6795 (window-atom-check, window-side-check, window-check):
6796 New functions.
85cc1f11
MR
6797 (ignore-window-parameters, window-sides, window-sides-vertical)
6798 (window-sides-slots): New variables.
6799 (window-size-fixed): Move down in code. Minor doc-string fix.
6800
e7156492
AS
68012011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6802
6803 * comint.el (comint-dynamic-complete-as-filename)
6804 (comint-dynamic-complete-filename): Correctly call
6805 completion-in-region.
6806
7e821d0d
DD
68072011-06-05 Deniz Dogan <deniz@dogan.se>
6808
6809 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6810 in last change.
6811
ac09b8a1
DD
68122011-06-05 Deniz Dogan <deniz@dogan.se>
6813
6814 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6815 (rcirc): Use it to prompt for encryption.
6816
34699b85
RW
68172011-06-05 Roland Winkler <winkler@gnu.org>
6818
6819 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6820 (bibtex-search-entries): New command bound to C-c C-a.
6821 (bibtex-display-entries): New function.
6822
004dedd3
RW
68232011-06-05 Roland Winkler <winkler@gnu.org>
6824
6825 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6826 (bibtex-insert-kill): After yanking insert newline if necessary.
6827 (bibtex-initialize): Call bibtex-string-files-init only once.
6828 (bibtex-mode): Do not call easy-menu-add.
6829 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6830 (bibtex-yank): Set arg properly if nil.
6831
022fe7ce
RW
68322011-06-05 Roland Winkler <winkler@gnu.org>
6833
2b75be67
SM
6834 * textmodes/bibtex.el (bibtex-search-entry-globally):
6835 New variable.
022fe7ce
RW
6836 (bibtex-search-entry): Use it.
6837
b7c3692a
RW
68382011-06-05 Roland Winkler <winkler@gnu.org>
6839
6840 * textmodes/bibtex.el (bibtex-entry-format): New option
6841 sort-fields.
6842 (bibtex-format-entry, bibtex-reformat): Honor this option.
6843 (bibtex-parse-entry): Return fields in proper order.
6844
8eda563d
JB
68452011-06-05 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * doc-view.el (doc-view-remove-if): Move computation of result out
6848 of `dolist' to silence misleading lexical-binding warning.
6849
7dbe3dbc
CY
68502011-06-04 Chong Yidong <cyd@stupidchicken.com>
6851
6852 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6853 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6854
0c33dd17
MA
68552011-06-04 Michael Albinus <michael.albinus@gmx.de>
6856
6857 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6858 "SunOS 5.10".
6859
f8f91c2b
MA
68602011-06-04 Michael Albinus <michael.albinus@gmx.de>
6861
6862 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6863 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6864 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6865 (tramp-parse-putty):
6866 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6867 (tramp-completion-function-alist-ssh)
6868 (tramp-completion-function-alist-telnet)
6869 (tramp-completion-function-alist-su)
6870 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6871 cookie.
6872
6873 * net/tramp-ftp.el:
6874 * net/tramp-sh.el:
6875 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6876 load "tramp.el" `tramp-set-completion-function'.
6877
e17d9003
SM
68782011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * shell.el: Require and use pcomplete.
6881 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6882 (shell-completion-vars): Set pcomplete-default-completion-function.
6883
6c4cab03
DD
68842011-06-04 Deniz Dogan <deniz@dogan.se>
6885
6886 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6887 `memq' (Bug#8799).
6888
ea9fafe0
SM
68892011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6892
b3e945d3
JB
68932011-06-02 Juanma Barranquero <lekktu@gmail.com>
6894
6895 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6896 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6897 * vc/log-view.el (log-view-beginning-of-defun):
6898 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6899 (smerge-refine-forward, smerge-refine-chopup-region):
6900 Silence warning for unused `dotimes' counter variables.
6901
7d520089
SM
69022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6903
6904 * net/tramp.el (tramp-with-progress-reporter): Rename from
6905 with-progress-reporter. Use `declare'.
6906 * net/tramp-smb.el:
6907 * net/tramp-sh.el:
6908 * net/tramp-gvfs.el: Update all uses.
6909
a1c2400f
JB
69102011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6911
6912 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6913 buffer isn't killed before making it current.
6914
2403c841
SM
69152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 Silence various byte-compiler warnings.
6918 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6919 `access-type' and new obsolescence format.
6920 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6921 new format.
6922 (byte-compile-check-variable): New `access-type' argument.
6923 Only warn if the access-type is obsolete.
6924 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6925 (byte-compile-variable-set): Adjust callers.
6926 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6927 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6928 setting it as obsolete.
6929 * simple.el (minibuffer-completing-symbol):
6930 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6931 access as obsolete.
6932 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6933 obsolete yet.
6934 * international/quail.el (quail-mouse-choose-completion): Remove unused
6935 code referring to obsolete var.
6936 (quail-choose-completion-string): Remove.
6937 * server.el (server-clients-with, server-kill-buffer-query-function)
6938 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6939 * proced.el (proced-send-signal):
6940 * emacs-lisp/lisp.el (lisp-complete-symbol):
6941 Replace completion-annotate-function with completion-extra-properties.
6942
2462470b
SM
69432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6944
fb5b2591
SM
6945 * simple.el (goto-line): Use read-number.
6946 (overriding-map-is-bound): Remove.
6947 (saved-overriding-map): Change default.
6948 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6949 Take the map as argument.
6950 (universal-argument, negative-argument, digit-argument): Use it.
6951 (restore-overriding-map): Adjust.
6952 (do-auto-fill): Use fill-forward-paragraph.
6953 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6954
fd6fa53f
SM
6955 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6956 (minibuffer-inactive-mode): New major mode.
6957 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6958 the *Messages* buffer" hack.
6959 (mouse-popup-menubar): Don't burp if the event is a normal key.
6960
2462470b
SM
6961 Miscellaneous tweaks.
6962 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6963 lexical scoping as in subr.el's dolist and dotimes.
6964 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6965 Silence compiler warning.
6966 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6967 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6968 * international/ccl.el (ccl-compile): Trivial simplification.
6969 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6970 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6971 `printflag' argument.
6972 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6973 Purecopy the whole obsolescence data.
6974
108bf785
LL
69752011-06-01 Leo Liu <sdl.web@gmail.com>
6976
6977 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6978 improve doc-string as suggested by Marco Pessotto
6979 <melmothx@gmail.com>.
6980 (rcirc-print): Fix last change.
6981
30a23501
SM
69822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * minibuffer.el (complete-with-action): Return nil for the metadata and
6985 boundaries of non-functional tables.
6986 (completion-table-dynamic): Return nil for the metadata.
6987 (completion-table-with-terminator): Add default case, using
6988 complete-with-action.
6989 (completion--metadata): New function.
6990 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6991 to try and avoid pathological performance problems.
6992 (completion--embedded-envvar-table): Return `category' metadata.
6993
bcd54f83
LMI
69942011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6995
6996 * subr.el (process-alive-p): New tiny convenience function.
6997
e227544d
SM
69982011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7001 content but also its previous major mode.
7002
e8296fdc
HE
70032011-05-31 Helmut Eller <eller.helmut@gmail.com>
7004
4d61f28d 7005 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7006 *Backtrace* buffer when we exit with C-M-c.
7007
620c53a6
SM
70082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * minibuffer.el: Add metadata method to completion tables.
7011 (completion-category-overrides): New defcustom.
7012 (completion-metadata, completion--field-metadata)
7013 (completion-metadata-get, completion--styles)
7014 (completion--cycle-threshold): New functions.
7015 (completion-try-completion, completion-all-completions):
7016 Add `metadata' argument to choose completion-styles.
7017 (completion--do-completion): Use metadata to choose cycling.
7018 (completion-all-sorted-completions): Use metadata for sorting.
7019 Remove :completion-cycle-penalty which is not needed any more.
7020 (completion--try-word-completion): Add `metadata' argument.
7021 (minibuffer-completion-help): Check metadata for annotation function
7022 and sorting.
7023 (completion-file-name-table): Return `category' metadata.
7024 (minibuffer-completing-file-name): Make obsolete.
7025 * simple.el (minibuffer-completing-symbol): Make obsolete.
7026 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7027 completion-try-completion.
7028
1257e755
SM
70292011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7032
3767e706
LL
70332011-05-30 Leo Liu <sdl.web@gmail.com>
7034
7035 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7036 (rcirc-print): Decode all incoming messages (bug#8744).
7037 (rcirc-decode-coding-system): Allow value nil for automatic coding
7038 system detection.
3767e706 7039
d1a5d56a
GM
70402011-06-01 Glenn Morris <rgm@gnu.org>
7041
7042 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7043
e8cbec34
CY
70442011-05-29 Chong Yidong <cyd@stupidchicken.com>
7045
7046 * image.el (image-animate-max-time): Allow nil and t values.
7047 Default to nil.
7048 (create-animated-image): Doc fix.
7049 (image-animate-start): Remove second arg; just use
7050 image-animate-max-time.
7051 (image-animate-timeout): Doc fix. Args changed.
7052
7053 * image-mode.el (image-toggle-display-image): Ensure that the
7054 image spec passed to the animate timer is the same object as in
58179cce 7055 the buffer's display property (Bug#6981).
e8cbec34
CY
7056 (image-transform-properties): Doc fix.
7057
7058 * image.el (image-animate-max-time): Default to nil.
7059
159daf87
MR
70602011-05-29 Martin Rudalics <rudalics@gmx.at>
7061
7062 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7063 entire buffer list (Bug#8184).
7064
d66c4c7c
CY
70652011-05-29 Chong Yidong <cyd@stupidchicken.com>
7066
7067 * image.el (imagemagick-types-inhibit)
7068 (imagemagick-register-types): Doc fix.
7069
80aec780
DD
70702011-05-29 Deniz Dogan <deniz@dogan.se>
7071
7072 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7073 default.
7074
1dd3c2d9
CY
70752011-05-29 Chong Yidong <cyd@stupidchicken.com>
7076
7077 * select.el: Don't perform clipboard-manager saving in hooks;
7078 leave the hooks empty.
7079
60e56523
LL
70802011-05-28 Leo Liu <sdl.web@gmail.com>
7081
7082 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7083 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7084 (occur-edit-mode): New major mode (Bug#8463).
7085 (occur-after-change-function): New function.
7086 (occur-engine): Give Occur tags a read-only property.
7087
2b1e1a22
KR
70882011-05-28 Kevin Ryde <user42@zip.com.au>
7089
7090 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7091
5d344e88
CY
70922011-05-28 Chong Yidong <cyd@stupidchicken.com>
7093
8e6ca83d
CY
7094 * bindings.el (help-echo): Make the initial non-indicator dash
7095 empty on graphical terminals (Bug#7295).
7096
5d344e88
CY
7097 * files.el (auto-mode-alist): Move config rule after the
7098 in-stripping one (Bug#8547).
7099
bfbbace7
CY
7100 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7101
fbeba6e2
CY
7102 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7103 setting (Bug#8740).
7104
60ed8c72
AA
71052011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7106
4ac619f0
AA
7107 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7108 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7109 (Bug#8539).
60ed8c72 7110
23db196e
CY
71112011-05-28 Chong Yidong <cyd@stupidchicken.com>
7112
7113 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7114
5012f24c
DK
71152011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7116
7117 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7118 (hs-hide-block-at-point, hs-find-block-beginning)
7119 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7120 (Bug#8279).
7121
6a639b16
GM
71222011-05-28 Glenn Morris <rgm@gnu.org>
7123
7124 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7125
d43eaf2c
CY
71262011-05-28 Chong Yidong <cyd@stupidchicken.com>
7127
5199bde1
CY
7128 * help-fns.el (describe-function-1): If the function is a derived
7129 major mode, print the parent mode.
7130
d43eaf2c
CY
7131 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7132 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7133
423428a8
SM
71342011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7135
0ff8e1ba 7136 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7137 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7138 * progmodes/etags.el (tags-completion-at-point-function):
7139 * info-look.el (info-lookup-completions-at-point): Mark as
7140 non-exclusive.
7141 (info-complete): Adjust accordingly.
7142
423428a8
SM
7143 * info-look.el: Convert to lexical-binding and completion-at-point.
7144 (info-lookup-completions-at-point): New function.
7145 (info-complete): Use it and completion-in-region.
7146
b74aa22b
DA
71472011-05-28 Drew Adams <drew.adams@oracle.com>
7148
7149 * isearch.el: Let M-e start with point at the first mismatched char.
7150 (isearch-fail-pos): New function.
7151 (isearch-edit-string): Use it.
7152
66e2e71d
DK
71532011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7154
7155 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7156
eb95d01d
TC
71572009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7158
7159 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7160 traversal functions for avl-trees.
7161 (avl-tree--stack): New struct.
7162 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7163 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7164 (avl-tree--do-enter): Add optional `updatefun' arg.
7165 Change return value.
eb95d01d 7166 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7167 (avl-tree--do-delete): Add `test' and `nilflag' args.
7168 Change return value.
eb95d01d
TC
7169 (avl-tree-member): Add optional `nilflag'
7170 (avl-tree-member-p): New function.
7171 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7172 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7173 (avl-tree-stack-empty-p): New functions.
7174
3769ddcf
TC
71752009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7176
7177 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7178 avl-tree--del-balance1 and make it work both ways.
7179 (avl-tree--del-balance2): Remove.
7180 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7181 make it work both ways.
7182 (avl-tree--enter-balance2): Remove.
7183 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7184 New macros.
7185 (avl-tree--mapc, avl-tree-map): Add direction argument.
7186
eb95d01d 71872011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7188
7189 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7190
a9f737ee
CY
71912011-05-27 Chong Yidong <cyd@stupidchicken.com>
7192
7193 * select.el: Support clipboard managers with built-in function
7194 x-clipboard-manager-save, via delete-frame-functions and
7195 kill-emacs-hook.
7196 (xselect-convert-to-targets): Add MULTIPLE target to list.
7197 (xselect-convert-to-save-targets): New function.
7198
c92a1e54
KH
71992011-05-27 Kenichi Handa <handa@m17n.org>
7200
7201 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7202 let-binding rfc2047-encode-encoded-words to nil.
7203
e145f188
GM
72042011-05-27 Glenn Morris <rgm@gnu.org>
7205
5ec8a862
GM
7206 * mail/emacsbug.el: Don't require url-util.
7207
4b29d9fb
GM
7208 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7209
e145f188
GM
7210 * files.el (set-auto-mode):
7211 Also respect mode: entries at the end of the file. (Bug#8586)
7212
7d15102b
GM
72132011-05-26 Glenn Morris <rgm@gnu.org>
7214
98f593b8
GM
7215 * files.el (hack-local-variables-prop-line, hack-local-variables):
7216 Downcase mode names, as seems to be traditional.
27b48e63 7217 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7218
7d15102b
GM
7219 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7220 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7221
51d5b4ec
JD
72222011-05-25 Julien Danjou <julien@danjou.info>
7223
7224 * textmodes/rst.el (rst-define-level-faces): Do not define face
7225 symbol if it is already defined.
7226
91513f63
VB
72272011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7228
7229 * play/5x5.el (5x5-new-game, 5x5-randomize):
7230 Reset 5x5-solver-output to nil when a new grid is cast.
7231 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7232 these debugging traces, as defmacro breaks the compiled code.
7233
4d90d6d0
DK
72342011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7235
7236 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7237
e1b90ef6
LL
72382011-05-24 Leo Liu <sdl.web@gmail.com>
7239
7240 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7241 (vc-bzr-sha1): Adapt.
7242
d8e4b68b 7243 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7244
7245 * bindings.el: Provide sha1 feature.
7246
db0406bb 72472011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7248
7249 * mail/sendmail.el: Require `rfc2047'.
7250 (mail-insert-from-field): Do not perform RFC2047 encoding.
7251 (mail-encode-header): New function.
7252 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7253 buffer to the return value of select-message-coding-system.
7254 Call mail-encode-header.
b8d747b9
KH
7255
7256 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7257
db0406bb 72582011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7259
4d90d6d0
DK
7260 * mail/supercite.el (sc-default-cite-frame):
7261 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7262
eb8a5e9b
GM
72632011-05-24 Glenn Morris <rgm@gnu.org>
7264
f8630703
GM
7265 * progmodes/python.el (brm-menu): Declare.
7266
8831bbed
GM
7267 * emulation/viper.el (viper-set-hooks): Declare.
7268
eb8a5e9b
GM
7269 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7270 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7271 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7272 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7273 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7274 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7275
a2a25d24
SM
72762011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 Add an :exit-function for completion-at-point.
7279
7280 * minibuffer.el (completion--done): New fun.
7281 (completion--do-completion): Use it. New arg `expect-exact'.
7282 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7283 since completion--do-completion does it for us now.
7284 (minibuffer-force-complete): Use completion--done and
7285 completion--replace. Handle sole-completion case with more care.
7286 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7287 (completion-extra-properties): New var.
7288 (completion-annotate-function): Make obsolete.
7289 (minibuffer-completion-help): Adjust accordingly.
7290 Use completion-list-insert-choice-function.
7291 (completion-at-point, completion-help-at-point):
7292 Bind completion-extra-properties.
7293 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7294 * simple.el (completion-list-insert-choice-function): New var.
7295 (completion-setup-function): Preserve it.
7296 (choose-completion): Pay attention to it, shuffle the code a bit.
7297 (choose-completion-string): New arg `insert-function'.
7298
7299 * textmodes/bibtex.el: Convert to lexical binding.
7300 (bibtex-mode-map): Use completion-at-point.
7301 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7302 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7303 (bibtex-complete): Define as obsolete alias.
7304 (bibtex-complete-internal): Remove.
7305 (bibtex-format-entry): Remove unused sub-group in regexp.
7306 * shell.el (shell--command-completion-data)
7307 (shell-environment-variable-completion):
7308 * pcomplete.el (pcomplete-completions-at-point):
7309 * comint.el (comint--complete-file-name-data): Use :exit-function
7310 instead of completion-table-with-terminator so it also works for
7311 choose-completion.
7312
e44e373d
SM
73132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7314
4f91a816
SM
7315 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7316
782fc819
SM
7317 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7318 (bug#8710).
7319
e44e373d
SM
7320 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7321
381987c3
KM
73222011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7323
7324 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7325 customization variable and implement: If non-nil, auto-fill will
7326 be inhibited while on topic's header line.
7327
b776bc70
VB
73282011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7329
7330 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7331 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7332 always have a solution in grid size = 5 cases.
7333 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7334 (5x5-solver-output, 5x5-log-buffer): New vars.
7335 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7336 Make these variables buffer local to achieve 5x5 multi-session-ness.
7337 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7338 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7339 (5x5-solve-suggest): New funs.
7340 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7341 randomize a grid so that we ensure that there is always a solution.
7342 (5x5-make-random-grid): Allow other movement than flipping.
7343
7de88b6e
KR
73442011-05-23 Kevin Ryde <user42@zip.com.au>
7345
7346 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7347 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7348 advice and passes PREDICATE.
7349
b1ef1257
SM
73502011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7351
bbca48fe
SM
7352 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7353 byte-compile-lambda if it's actually a lambda.
7354
b1ef1257
SM
7355 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7356 Fix function quoting. Use backquote better.
7357
92a9cc65
YS
73582011-05-22 Yuanle Song <sylecn@gmail.com>
7359
7360 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7361 matching (Bug#8516).
7362
f0fb8059
JA
73632011-01-22 Jari Aalto <jari.aalto@cante.net>
7364
7365 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7366 different face (Bug#8178).
7367
d5b44c93
CY
73682011-05-22 Chong Yidong <cyd@stupidchicken.com>
7369
7370 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7371 defface (Bug#8144).
7372
79106a44
SM
73732011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7374
9c848d8a
SM
7375 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7376 funcall as well (bug#8712). Warn when performing those conversions.
7377 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7378
79106a44
SM
7379 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7380
88dfa756
GM
73812011-05-22 Glenn Morris <rgm@gnu.org>
7382
7383 * files.el (hack-local-variables-prop-line): Small simplifications.
7384 (hack-local-variables, hack-local-variables-prop-line):
7385 If MODE-ONLY, return the mode, rather than just `t'.
7386
b7cf2c79
SM
73872011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7390
3f1a8558
GM
73912011-05-21 Glenn Morris <rgm@gnu.org>
7392
7e4ccca3
GM
7393 * files.el (hack-local-variables-prop-line, hack-local-variables):
7394 If only interested in the mode, don't bother doing the other stuff.
7395
637d46ca
GM
7396 * image-mode.el (image-after-revert-hook):
7397 Redraw all frames on which the image is visible. (Bug#8567)
7398
973d955b
GM
7399 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7400
3f1a8558
GM
7401 * wid-edit.el (widget-checklist-match-inline):
7402 Fix 2011-04-19 change. (Bug#8649)
7403
96479927
SM
74042011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7405
1dcf791f
SM
7406 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7407 Also allow singlespace after single-letter capitals followed by a dot.
7408
96479927
SM
7409 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7410 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7411
35fd0881
N
74122011-05-20 Nix <nix@esperi.org.uk>
7413
7414 * files.el (basic-save-buffer-2):
7415 Fix handling of break-hardlink-on-save with non-existent files.
7416
82745640
DD
74172011-05-19 Deniz Dogan <deniz@dogan.se>
7418
7419 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7420 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7421
4a720484
GM
74222011-05-19 Glenn Morris <rgm@gnu.org>
7423
d1f21341
GM
7424 * progmodes/f90.el (f90-type-def-re):
7425 Handle "type, bind(c)". (Bug#8691)
7426
4a720484
GM
7427 * emacs-lisp/autoload.el (batch-update-autoloads):
7428 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7429
2fb0a219
MA
74302011-05-18 Michael Albinus <michael.albinus@gmx.de>
7431
7432 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7433 property for the correct connection in case of multihops.
7434
e565dd37
GM
74352011-05-18 Glenn Morris <rgm@gnu.org>
7436
c2571358 7437 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7438 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7439
e565dd37
GM
7440 Rationalize calendar handling of day and month abbrev-arrays.
7441 * calendar/calendar.el (calendar-customized-p): New function.
7442 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7443 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7444 Add :set function.
7445 (calendar-abbrev-length, calendar-day-abbrev-array)
7446 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7447 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7448 Elements may no longer be nil.
7449 (calendar-day-name, calendar-month-name):
7450 Update for changed nature of abbrev arrays.
7451 * calendar/diary-lib.el (diary-name-pattern):
7452 Update for changed nature of abbrev arrays.
7453 (diary-mark-entries-1): Update calendar-make-alist calls.
7454 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7455 * calendar/cal-html.el (cal-html-day-abbrev-array):
7456 Simply inherit from calendar-day-abbrev-array.
7457
1d99a745
SM
74582011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * progmodes/grep.el (grep-mode): Disable default
7461 compilation-directory-matcher setting (bug#8684).
7462
7c1d9aa0
MA
74632011-05-17 Michael Albinus <michael.albinus@gmx.de>
7464
7465 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7466 instead of "head" and "tail". There were problems with SunOS 5.9,
7467 and it performs better.
7468
3952e9d8
GM
74692011-05-17 Glenn Morris <rgm@gnu.org>
7470
2dd12e7f
GM
7471 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7472
e4157b9c
GM
7473 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7474 Replace obsolete function.
7475
8e249bbd
GM
7476 * shell.el (pcomplete-parse-arguments-function): Declare.
7477
3952e9d8
GM
7478 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7479 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7480 (appt-check): Doc fixes.
7481 (appt-disp-window-function, appt-delete-window-function):
7482 Remove needless special case in custom :type.
7483 (appt-display-count): Default to 0, not nil.
7484 (appt-check): Reset appt-display-count to 0, not nil.
7485
c71a0d48 74862011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7487
c71a0d48
GM
7488 * progmodes/python.el (python-font-lock-keywords):
7489 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7490
31d55be9
SM
74912011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7494
3bfacb2f
KR
74952011-05-16 Kevin Ryde <user42@zip.com.au>
7496
7497 * info-look.el (makefile-automake-mode): New setups, looking in
7498 automake manual, then makefile-mode.
7499 (makefile-mode): Remove automake manual, have it just in
7500 makefile-automake-mode since there's various things different or
7501 not relevant to plain make.
7502 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7503 believe a hypothetical automake-mode would go to makefile-mode,
7504 not the other way around.
7505
c8e83751
CY
75062011-05-15 Chong Yidong <cyd@stupidchicken.com>
7507
5e9e35cd
CY
7508 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7509 hunk-end tags (Bug#8672).
7510
c8e83751
CY
7511 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7512 vc-annotate-show-diff-revision-at-line (Bug#8671).
7513
50b23e5a
GM
75142011-05-14 Glenn Morris <rgm@gnu.org>
7515
7210a739
GM
7516 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7517 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7518 (change-log-font-lock-keywords): Also handle multiple author lines
7519 with leading tabs. (Bug#8644)
7210a739 7520
4691905a
GM
7521 * calendar/appt.el (appt-check): Rename some local variables.
7522 Some simplification/reordering.
7523
50b23e5a
GM
7524 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7525 (feedmail-sendmail-f-doesnt-sell-me-out)
7526 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7527 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7528 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7529 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7530 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7531 (feedmail-binmail-gnulinuxish-template):
7532 Rename from feedmail-binmail-linuxish-template.
7533 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7534 Use insert-buffer-substring.
7535
215cda7c
BC
75362011-05-14 Bill Carpenter <bill@carpenter.org>
7537
7538 * mail/feedmail.el (feedmail-patch-level): Increase.
7539 (feedmail-debug): New custom group.
7540 (feedmail-confirm-outgoing-timeout)
7541 (feedmail-sendmail-f-doesnt-sell-me-out)
7542 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7543 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7544 (feedmail-sender-line, feedmail-from-line)
7545 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7546 (feedmail-spray-this-address)
215cda7c
BC
7547 (feedmail-spray-address-fiddle-plex-list)
7548 (feedmail-queue-use-send-time-for-date)
7549 (feedmail-queue-use-send-time-for-message-id)
7550 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7551 (feedmail-buffer-eating-function):
7552 Doc fixes.
7553 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7554 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7555 (feedmail-message-action-scroll-down): New functions.
7556 (feedmail-queue-directory, feedmail-queue-draft-directory):
7557 Use expand-file-name.
7558 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7559 Remove C-v help entry.
7560 (feedmail-queue-buffer-file-name): New variable.
7561 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7562 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7563 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7564 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7565 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7566 (feedmail-message-action-toggle-spray)
7567 (feedmail-run-the-queue-no-prompts)
7568 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7569 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7570 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7571 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7572 (feedmail-envelope-deducer, feedmail-fiddle-from)
7573 (feedmail-fiddle-sender, feedmail-default-date-generator)
7574 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7575 (feedmail-fiddle-spray-address)
7576 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7577 (feedmail-fiddle-list-of-fiddle-plexes)
7578 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7579 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7580 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7581 Change default. Doc fix.
7582 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7583 (feedmail-binmail-linuxish-template): New constant.
7584 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7585 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7586 (feedmail-send-it): Add debug call.
7587 Use feedmail-queue-buffer-file-name, and
7588 feedmail-send-it-immediately-wrapper.
7589 (feedmail-message-action-send): Add debug call.
7590 Use feedmail-send-it-immediately-wrapper.
7591 (feedmail-queue-express-to-queue): Add debug call.
7592 Run feedmail-queue-express-hook.
7593 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7594 (feedmail-message-action-help-blat):
7595 Rename from feedmail-queue-send-edit-prompt-help-first.
7596 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7597 Check line-endings. Handle errors better.
7598 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7599 Doc fix. Add debug call.
7600 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7601 Use feedmail-queue-send-edit-prompt-inner.
7602 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7603 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7604 from feedmail-queue-send-edit-prompt.
7605 (feedmail-queue-send-edit-prompt-help)
7606 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7607 (feedmail-tidy-up-slug): Add debug call.
7608 Respect feedmail-queue-slug-suspect-regexp.
7609 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7610 (feedmail-dump-message-to-queue): Add debug call.
7611 Expand queue-directory.
7612 (feedmail-dump-message-to-queue): Change message slightly.
7613 Use feedmail-say-chatter.
7614 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7615 (feedmail-send-it-immediately-wrapper): New function.
7616 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7617 Insert empty string rather than newline. Handle full-frame case.
7618 Use catch/throw. Use feedmail-say-chatter.
7619 (feedmail-fiddle-from): Try mail-host-address.
7620 (feedmail-default-message-id-generator): Doc fix.
7621 Bind system-time-locale. Handle missing end.
7622 (feedmail-fiddle-x-mailer): Add debug call.
7623 Handle feedmail-x-mailer-line being nil.
7624 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7625 Add debug call. Use buffer-substring-no-properties.
7626 (feedmail-say-debug, feedmail-say-chatter): New functions.
7627 (feedmail-find-eoh): Give an explicit error.
7628
42c7e61e
UJ
76292011-05-13 Ulf Jasper <ulf.jasper@web.de>
7630
c2571358 7631 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7632 family from helvetica to sans.
c2571358 7633 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7634 etc/images/newsticker.
7635
c2571358 7636 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7637 family from helvetica to sans.
7638
7639 * net/newst-plainview.el (newsticker-new-item-face)
7640 (newsticker-old-item-face, newsticker-immortal-item-face)
7641 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7642 (newsticker-statistics-face): Change default family from
42c7e61e 7643 helvetica to sans.
c2571358 7644 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7645 etc/images/newsticker.
7646
7647 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7648 (newsticker--process-auto-mark-filter-match): : Tell user about
7649 auto-marking.
7650
8497a297
DV
76512011-05-13 Didier Verna <didier@xemacs.org>
7652
7653 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7654 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7655 TODO entries.
8497a297
DV
7656 (lisp-lambda-list-keyword-parameter-indentation)
7657 (lisp-lambda-list-keyword-parameter-alignment)
7658 (lisp-lambda-list-keyword-alignment): New customizable user options.
7659 (lisp-indent-defun-method): Improve docstring.
7660 (extended-loop-p): Fix comment.
7661 (lisp-indent-lambda-list-keywords-regexp): New variable.
7662 (lisp-indent-lambda-list): New function.
7663 (lisp-indent-259): Use it.
7664 (lisp-indent-defmethod): Support for more than one
7665 method qualifier and properly indent methods lambda-lists.
7666 (defgeneric): Provide a missing common-lisp-indent-function property.
7667
f278f87f
SM
76682011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7671 bounds for the empty string (bug#8667).
7672
5233edd7
GM
76732011-05-13 Glenn Morris <rgm@gnu.org>
7674
5237a44f
GM
7675 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7676
8340026c 7677 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7678 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7679
5233edd7 7680 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7681 (appt-time-msg-list): Doc fix.
a5464014 7682 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7683
92d10796
AS
76842011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7685
7686 * progmodes/ld-script.el (ld-script-keywords)
7687 (ld-script-builtins): Update keywords list.
7688
914a0ae1
SM
76892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7690
c89be45f
SM
7691 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7692
914a0ae1
SM
7693 * shell.el (shell-completion-vars): New function.
7694 (shell-mode):
7695 * simple.el (read-shell-command): Use it.
7696 (blink-matching-open): No need for " [...]" in minibuffer-message.
7697
98dc3df3
GM
76982011-05-12 Glenn Morris <rgm@gnu.org>
7699
7700 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7701 (appt-check): Simplify.
7702
d2fc7e3d 77032011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7704
4d61f28d 7705 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7706 literal "/dev/null".
7707
d2fc7e3d 77082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7709
7710 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7711 Fix typo.
7712
d2fc7e3d 77132011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7714
3f254caa
SM
7715 * progmodes/which-func.el (which-function):
7716 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7717 which might not be defined (Bug#8260).
7718
d45885f7
GM
77192011-05-12 Glenn Morris <rgm@gnu.org>
7720
7721 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7722 Let byte-compile-initial-macro-environment always take precedence.
7723
488086f4
SM
77242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * net/rcirc.el: Add support for SSL/TLS connections.
7727 (rcirc-server-alist): New field `encryption'.
7728 (rcirc): Check `encryption' settings.
7729 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7730 Merge make-local-variable into `set'.
7731 (rcirc--connection-open-p): New function.
7732 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7733 the process is not a network process (e.g. running gnutls-cli).
7734 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7735 Make rcirc-(en|de)code-coding-system local here.
7736 (rcirc-mode): Merge make-local-variable into `set'.
7737 (rcirc-parent-buffer): Make permanent buffer-local.
7738 (rcirc-multiline-minor-mode): Don't do it here.
7739 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7740 there's no server buffer.
7741
7d3b9d44
GM
77422011-05-11 Glenn Morris <rgm@gnu.org>
7743
f64049c6
GM
7744 * newcomment.el (comment-kill): Prefix "unused" local.
7745
93c9df73
GM
7746 * term/w32console.el (get-screen-color): Declare.
7747
7d3b9d44
GM
7748 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7749 Handle symbol elements of byte-compile-initial-macro-environment.
7750
9e2dd53f
LL
77512011-05-10 Leo Liu <sdl.web@gmail.com>
7752
488086f4
SM
7753 * bookmark.el (bookmark-bmenu-mode-map):
7754 Bind bookmark-bmenu-search to `/'.
8b340240 7755
9e2dd53f 7756 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7757 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7758 (Footnote-unicode): New function.
7759 (footnote-style-alist): Add unicode style to the list.
7760 (footnote-style): Doc fix.
9e2dd53f 7761
79b70037
GM
77622011-05-10 Jim Meyering <meyering@redhat.com>
7763
7764 Fix doubled-word typos.
7765 * international/quail.el (quail-insert-kbd-layout): and and -> and
7766 * kermit.el: and and -> and
7767 * net/ldap.el (ldap-search-internal): to to -> to
7768 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7769 * progmodes/js.el (js-mode): and and -> and
7770 * textmodes/artist.el (artist-move-to-xy): at at -> at
7771 (artist-draw-region-trim-line-endings): if if -> if
7772 And Safetyc -> Safety.
7773 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7774
b8f82dc1 77752011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7776 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7777
7778 * files.el (hack-one-local-variable-eval-safep):
7779 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7780
4f99f44b
GM
77812011-05-10 Glenn Morris <rgm@gnu.org>
7782
7783 * calendar/diary-lib.el (diary-list-entries-hook)
7784 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7785 (diary-nongregorian-marking-hook, diary-list-entries)
7786 (diary-include-other-diary-files, diary-mark-entries)
7787 (diary-mark-included-diary-files): Doc fixes.
7788
84f29e6b
JB
77892011-05-09 Juanma Barranquero <lekktu@gmail.com>
7790
7791 * misc.el: Require tabulated-list.el during compilation.
7792
9bedd73a
CY
77932011-05-09 Chong Yidong <cyd@stupidchicken.com>
7794
488086f4
SM
7795 * progmodes/compile.el (compilation-start):
7796 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7797 (compilation-filter-hook): Doc fix.
7798
797c735c
DD
77992011-05-09 Deniz Dogan <deniz@dogan.se>
7800
7801 * wdired.el: Remove outdated installation comment. Fix usage
7802 comment.
7803
5f4b1dfe
JB
78042011-05-09 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * misc.el: Implement new command `list-dynamic-libraries'.
7807 (list-dynamic-libraries--loaded-only-p): New variable.
7808 (list-dynamic-libraries--refresh): New function.
7809 (list-dynamic-libraries): New command.
7810
4c44026c
CY
78112011-05-09 Chong Yidong <cyd@stupidchicken.com>
7812
488086f4
SM
7813 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7814 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7815 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7816 higher priority to avoid clobbering by gnu.
7817
027f966d
CY
78182011-05-08 Chong Yidong <cyd@stupidchicken.com>
7819
7820 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7821 if the face has existing theme settings (Bug#8454).
7822
085f5d7d
CY
78232011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7824
488086f4
SM
7825 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7826 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7827
2a86a00c
RS
7828 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7829 special file names `.' and `..' (Bug#8259).
7830
d9c54a06
CY
78312011-05-08 Chong Yidong <cyd@stupidchicken.com>
7832
488086f4
SM
7833 * progmodes/grep.el (grep-mode-font-lock-keywords):
7834 Remove buffer-changing entries.
d9c54a06
CY
7835 (grep-filter): New function.
7836 (grep-mode): Add it to compilation-filter-hook.
7837
7838 * progmodes/compile.el (compilation-filter-hook)
7839 (compilation-filter-start): New defvars.
7840 (compilation-filter): Call compilation-filter-hook prior to
7841 updating the process mark.
7842
c4662635
SM
78432011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7846
b0512a1d
EZ
78472011-05-07 Eli Zaretskii <eliz@gnu.org>
7848
605c9376
EZ
7849 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7850 mailclient-send-it even if window-system is nil. (Bug#8595)
7851
c4662635
SM
7852 * term/w32console.el (terminal-init-w32console):
7853 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7854 background-mode. (Bug#8597)
7855
d1dc2cc2
SM
78562011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7859 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7860 New functions.
7861 (defgeneric, eieio--defmethod): Use them.
7862 (eieio-defgeneric): Remove.
7863 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7864
915d1300
GM
78652011-05-07 Glenn Morris <rgm@gnu.org>
7866
a3961c3e
GM
7867 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7868 Use let rather than let*.
7869 (timeclock-find-discrep): Remove unused local.
7870
314347b9
GM
7871 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7872
915d1300
GM
7873 * calendar/appt.el (appt-time-msg-list): Doc fix.
7874
275b59b0
NF
78752011-05-06 Noah Friedman <friedman@splode.com>
7876
7877 * apropos.el (apropos-print-doc): Only use
7878 emacs-lisp-docstring-fill-column when it is bound to an integer,
7879 per that variable's documentation.
7880
6c19f744
SM
78812011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7884 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7885
60f884b2
GM
78862011-05-06 Glenn Morris <rgm@gnu.org>
7887
5006e634
GM
7888 * calendar/appt.el (appt-message-warning-time): Doc fix.
7889 (appt-warning-time-regexp): New option.
7890 (appt-make-list): Respect appt-message-warning-time.
7891
548d0a63
GM
7892 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7893 New options.
7894 (diary-add-to-list): Strip comments from the displayed string.
7895 (diary-mode): Set comment-start and comment-end.
7896
60f884b2
GM
7897 * vc/diff-mode.el (smerge-refine-subst): Declare.
7898 (diff-refine-hunk): Don't require smerge-mode when compiling.
7899
989681bb
JB
79002011-05-06 Juanma Barranquero <lekktu@gmail.com>
7901
7902 * simple.el (list-processes): Return nil as the docstring says.
7903
a6bc05e1
MA
79042011-05-05 Michael Albinus <michael.albinus@gmx.de>
7905
7906 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7907 to "".
7908 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7909 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7910 determining of binary transfer. (Bug#7383)
7911
23c22e9a
MA
79122011-05-05 Michael Albinus <michael.albinus@gmx.de>
7913
c4662635
SM
7914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7915 Fix port computation bug. (Bug#8618)
23c22e9a 7916
0bff894f
GM
79172011-05-05 Glenn Morris <rgm@gnu.org>
7918
b8296902
GM
7919 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7920
1f522ce8
GM
7921 * simple.el (shell-dynamic-complete-functions)
7922 (comint-dynamic-complete-functions): Declare.
7923
cf5bee67
GM
7924 * net/network-stream.el (gnutls-negotiate):
7925 * simple.el (tabulated-list-print): Fix declarations.
7926
7927 * progmodes/gud.el (syntax-symbol, syntax-point):
7928 Remove unnecessary and incorrect declarations.
7929
0bff894f
GM
7930 * emacs-lisp/check-declare.el (check-declare-scan):
7931 Handle byte-compile-initial-macro-environment in bytecomp.el
7932
9869b3ae
SM
79332011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 Fix earlier half-done eieio-defmethod change (bug#8338).
7936 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7937 Streamline and change calling convention.
7938 (defmethod): Adjust accordingly and simplify.
7939 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7940 new eieio--defmethod.
7941 (slot-boundp): Minor CSE simplification.
7942
9c1d5ac5
MZ
79432011-05-05 Milan Zamazal <pdm@zamazal.org>
7944
7945 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7946 (glasses-make-readable): Use glasses-separate-capital-groups.
7947
455c834e
JB
79482011-05-05 Juanma Barranquero <lekktu@gmail.com>
7949
7950 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7951 (warning-series): Doc fix.
7952 (display-warning): Don't try to create the buffer if we just found it.
7953
9ed7c8cb
CY
79542011-05-04 Chong Yidong <cyd@stupidchicken.com>
7955
7956 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7957 (autoload-find-generated-file): New function.
7958 (generate-file-autoloads): Bind generated-autoload-file to
7959 buffer-file-name.
9869b3ae
SM
7960 (update-file-autoloads, update-directory-autoloads):
7961 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7962 output file (Bug#7989).
7963 (batch-update-autoloads): Doc fix.
7964
0898ca10
JB
79652011-05-04 Juanma Barranquero <lekktu@gmail.com>
7966
7967 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7968
31dfb76c
GM
79692011-05-04 Glenn Morris <rgm@gnu.org>
7970
f330b642
GM
7971 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7972 function, so it follows changes in calendar-date-style.
7973 (diary-fancy-date-matcher): New function.
7974 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7975 (diary-fancy-font-lock-fontify-region-function):
7976 Use diary-fancy-date-pattern as a function.
7977
31dfb76c
GM
7978 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7979 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7980
48e79d6a
TZ
79812011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7982
7983 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7984 instead of positional arguments. Allow :keylist and :crlfiles
7985 arguments.
7986 (open-gnutls-stream): Call it.
7987
7988 * net/network-stream.el (network-stream-open-starttls): Adjust to
7989 call `gnutls-negotiate' with :process and :hostname arguments.
7990
dd5a5ee0
SM
79912011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7992
ef80fc09
SM
7993 * minibuffer.el (completion--message): New function.
7994 (completion--do-completion, minibuffer-complete)
7995 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7996 (completion--do-completion): Don't ignore completion-auto-help when in
7997 icomplete-mode.
7998
dd5a5ee0
SM
7999 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8000 internal encoding (e.g. tibetan zero is not whitespace).
8001 (global-whitespace-mode): Prefer save-current-buffer.
8002 (whitespace-trailing-regexp): Remove useless save-match-data.
8003 (whitespace-empty-at-bob-regexp): Minor simplification.
8004
b7d22a83
CY
80052011-05-03 Chong Yidong <cyd@stupidchicken.com>
8006
8007 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8008
5192af46
AM
80092011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8010
8011 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8012 Use `concat' to create string for insertion.
5192af46 8013
5767d190
SM
80142011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8017 Avoid open-line which runs post-self-insert-hook.
8018 (bibtex-fill-entry): Remove unused `end' var.
8019
bf242939
AM
80202011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8021
5767d190
SM
8022 * textmodes/ispell.el (ispell-add-per-file-word-list):
8023 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8024
25666126
LL
80252011-05-03 Leo Liu <sdl.web@gmail.com>
8026
8027 * isearch.el (isearch-yank-pop): New command.
5767d190 8028 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8029 (isearch-forward): Mention it.
8030
52d3c2d0
SM
80312011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8032
1bcace58
SM
8033 * simple.el (minibuffer-complete-shell-command): Remove.
8034 (minibuffer-local-shell-command-map): Use completion-at-point.
8035 (read-shell-command): Setup completion vars here instead.
8036 (read-expression-map): Bind TAB to symbol completion.
8037
52d3c2d0
SM
8038 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8039 error directly rather via storing it into `results'.
8040
35813471
LL
80412011-05-02 Leo Liu <sdl.web@gmail.com>
8042
8043 * vc/diff.el: Fix description.
8044
e793a940
LMI
80452011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8046
8047 * server.el (server-eval-at): New function.
8048
8de66e05
LMI
80492011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8050
8051 * net/network-stream.el (open-network-stream): Take a :nowait
8052 parameter and pass it on to `make-network-process'.
8053 (network-stream-open-plain): Ditto.
8054
dcb79f20
AS
80552011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8056
8057 * faces.el (face-spec-set-match-display): Don't match toolkit
8058 options on terminal frames.
8059
14a7fbd8
SM
80602011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8061
7eabc1be
SM
8062 * progmodes/pascal.el: Use lexical binding.
8063 (pascal-mode-map): Remove author preferences.
8064
14a7fbd8
SM
8065 * pcomplete.el (pcomplete-std-complete): Don't abuse
8066 completion-at-point.
8067
50f84510
JB
80682011-04-28 Juanma Barranquero <lekktu@gmail.com>
8069
6e087a44
JB
8070 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8071 removing code that has been dead since 1991 or so.
8072
50f84510
JB
8073 * startup.el (command-line): When warning about "_emacs", use a
8074 delayed warning to allow the user to filter it out.
8075
0ba690bd
DD
80762011-04-28 Deniz Dogan <deniz@dogan.se>
8077
8078 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8079 user has not joined.
8080
08abfaad
SM
80812011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8084 aren't any completions at point.
8085
638f053a
JB
80862011-04-28 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * subr.el (display-delayed-warnings): New function.
8089 (delayed-warnings-hook): New variable.
8090
8fff8daa
SM
80912011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8092
08abfaad
SM
8093 * minibuffer.el (completion-at-point, completion-help-at-point):
8094 Don't presume that a given completion-at-point-function will always
8095 use the same calling convention.
8096
8fff8daa
SM
8097 * pcomplete.el (pcomplete-completions-at-point):
8098 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8099 pcomplete-seen is non-nil.
8100 (pcomplete-comint-setup): Also recognize the new comint/shell
8101 completion functions.
8102 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8103 pcomplete-seen is non-nil.
8104
841a1577 81052011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8106
841a1577 8107 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8108 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8109 the first character in the entry. This allows for code to add its
211ec907
UJ
8110 own uid to the entry.
8111 (icalendar--convert-float-to-ical): Add export of
8112 `diary-float'-entries save for those with the optional DAY
8113 argument.
8114
2a782793
DC
81152011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8116
8117 * subr.el (shell-quote-argument): Use alternate escaping strategy
8118 when we spot a variable reference in a string.
8119
0438ce91
DC
81202011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8121
8122 * cus-start.el (all): Define customization for debug-on-event.
8123
841a1577 81242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8125
8126 * subr.el (shell-quote-argument): Escape correctly under Windows.
8127
d090ed6c
SM
81282011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8131
bfd31217
MA
81322011-04-25 Michael Albinus <michael.albinus@gmx.de>
8133
d090ed6c
SM
8134 * net/tramp.el (tramp-process-actions): Add POS argument.
8135 Delete region between POS and (pos).
bfd31217 8136
d090ed6c
SM
8137 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8138 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8139 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8140
8141 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8142 position in `tramp-process-actions' call.
8143
8144 * net/trampver.el: Update release number.
8145
e92f3bd3
SM
81462011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8147
850256b5
SM
8148 * custom.el (defcustom): Obey lexical-binding.
8149
e92f3bd3
SM
8150 Fix octave-inf completion problems reported by Alexander Klimov.
8151 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8152 Inherit from octave-mode-syntax-table.
8153 (inferior-octave-mode): Set info-lookup-mode.
8154 (inferior-octave-completion-at-point): New function.
8155 (inferior-octave-complete): Use it and completion-in-region.
8156 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8157 comint-filename-completion.
8158 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8159 symbol elements which shouldn't be word elements.
8160 (octave-font-lock-keywords, octave-beginning-of-defun)
8161 (octave-function-header-regexp): Adjust regexps accordingly.
8162 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8163
cd22b309
JB
81642011-04-25 Juanma Barranquero <lekktu@gmail.com>
8165
8166 * net/gnutls.el (gnutls-errorp): Declare before first use.
8167
8b492194
TZ
81682011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8169
8170 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8171 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8172 default trustfile exists before going to use it. Add missing
5a5fa834 8173 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8174 Reported by Claudio Bley <claudio.bley@gmail.com>.
8175 (open-gnutls-stream): Add usage example.
8176
8177 * net/network-stream.el (network-stream-open-starttls): Give host
8178 parameter to `gnutls-negotiate'.
8179 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8180 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8181
841a1577 81822011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8183
cd22b309
JB
8184 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8185 Use correct match group (bug#8438).
05842630 8186
3ba7869c
CY
81872011-04-24 Chong Yidong <cyd@stupidchicken.com>
8188
512e3ae1
CY
8189 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8190 (package-menu--generate): New arg specifying packages to show.
8191 (package-menu-refresh, package-menu-execute, list-packages):
8192 Callers changed.
8193 (package-show-package-list): New function, replacing deleted
8194 package--list-packages (renamed because it is non-internal).
8195
8196 * finder.el (finder-list-matches): Use package-show-package-list
8197 instead of deleted package--list-packages.
8198
e92f3bd3
SM
8199 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8200 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8201 (vc-annotate-mode-map): Bind it to RET.
8202
7031be6d
UR
82032011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8204
8205 * progmodes/etags.el (next-file): Don't use set-buffer to change
8206 buffers (Bug#8478).
8207
4ef177aa
CY
82082011-04-24 Chong Yidong <cyd@stupidchicken.com>
8209
c8d173eb
CY
8210 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8211
4ef177aa
CY
8212 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8213 (apropos-accumulator): Doc fix.
8214 (apropos-function, apropos-macro, apropos-command)
8215 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8216 (apropos-plist): Add face property.
8217 (apropos-symbols-internal): Fix indentation.
8218 (apropos-print): Simplify help, and recognize apropos-multi-type.
8219 (apropos-print-doc): Use button-type-get to extract the button's
8220 face property. Fill docstring (Bug#8352).
8221
4ffd0d6b 82222011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8223
8224 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8225
c6c32125 8226 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8227 (mpuz-mode-map): Use mapc.
c6c32125
JB
8228 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8229 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8230 Fix typos in docstrings.
8231
58d468b4
JB
8232 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8233 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8234
6470c3c6
JB
8235 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8236
4ffd0d6b 82372011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8238
8239 * minibuffer.el (completion--do-completion): Avoid the "Next char
8240 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8241
3ad8bad0
CY
8242 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8243 mouse-2 into unread-command-events, it is interpreted correctly.
8244
71d73c9c 8245 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8246 (image-toggle-display): Doc fix.
71d73c9c 8247
841a1577 82482011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8249
4ffd0d6b
GM
8250 * textmodes/page.el (what-page): Use line-number-at-pos to
8251 calculate line number (Bug#6825).
6e1dbaa9 8252
c2fb1b60
JB
82532011-04-22 Juanma Barranquero <lekktu@gmail.com>
8254
8255 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8256 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8257 Pass argument NO-DEFAULT to `find-tag-interactive'.
8258
e02f48d7
JB
82592011-04-22 Juanma Barranquero <lekktu@gmail.com>
8260
8261 Lexical-binding cleanup.
8262
8263 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8264 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8265 * progmodes/ada-prj.el (ada-prj-initialize-values)
8266 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8267 (ada-prj-show-value):
8268 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8269 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8270 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8271 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8272 * progmodes/bug-reference.el (bug-reference-push-button):
8273 * progmodes/fortran.el (fortran-line-length):
8274 * progmodes/glasses.el (glasses-change):
8275 * progmodes/octave-mod.el (octave-fill-paragraph):
8276 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8277 (python-pdbtrack-grub-for-buffer, python-sentinel):
8278 * progmodes/sql.el (sql-save-connection):
8279 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8280 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8281 Mark unused parameters.
8282
8283 * progmodes/compile.el (compilation--flush-directory-cache)
8284 (compilation--flush-parse, compile-internal): Mark unused parameters.
8285 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8286 (compilation-next-error-function): Remove unused variable `timestamp'.
8287
8288 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8289 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8290
8291 * progmodes/dcl-mode.el (dcl-end-of-command):
8292 Remove unused variable `start'.
8293 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8294 (dcl-option-value-basic, dcl-option-value-offset)
8295 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8296 Mark unused parameters.
8297 (dcl-save-local-variable): Remove unused variable `val'.
8298 (mode): Declare.
8299
8300 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8301 Mark unused parameters.
8302 (delphi-ignore-changes): Move before first use.
8303 (delphi-charset-token-at): Remove unused variable `start'.
8304 (delphi-else-start): Remove unused variable `if-count'.
8305 (delphi-comment-block-start, delphi-comment-block-end):
8306 Remove unused variable `kind'.
8307 (delphi-indent-line): Remove unused variable `new-point'.
8308
8309 * progmodes/ebrowse.el (ebrowse-files-list)
8310 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8311 Mark unused parameters. Don't quote `lambda'.
8312 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8313 Don't quote `lambda'.
8314 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8315 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8316 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8317 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8318 Use `ignore-errors'.
8319 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8320 (ebrowse-view/find-file-and-search-pattern)
8321 (ebrowse-view/find-member-declaration/definition):
8322 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8323 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8324 Rename parameter PREFIX-ARG to PREFIX.
8325 (ebrowse-tags-read-name): Remove unused variables `start' and
8326 `member-info'.
8327 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8328 to `tags-file'.
8329
8330 * progmodes/etags.el (local-find-tag-hook): Declare.
8331 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8332 Mark unused parameters.
8333
8334 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8335 (executable-interpret): Mark unused parameter.
8336
8337 * progmodes/flymake.el (flymake-process-sentinel)
8338 (flymake-after-change-function)
8339 (flymake-create-temp-with-folder-structure)
8340 (flymake-get-include-dirs-dot): Mark unused parameters.
8341 (flymake-safe-delete-directory): Remove unused variable `err'.
8342
8343 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8344 (speedbar-timer-fn, speedbar-line-text)
8345 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8346 (speedbar-center-buffer-smartly): Declare functions.
8347 (gdb-find-watch-expression): Remove unused variable `array'.
8348 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8349 (gdb-starting): Mark unused parameters.
8350 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8351 (gdb-table-string): Remove unused variable `res'.
8352 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8353 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8354 (gdb-display-buffer): Remove unused variable `cur-size'.
8355
8356 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8357 allow lexical-binding compilation.
8358 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8359 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8360 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8361 Mark unused parameters.
8362 (gud-gdb-marker-filter): Remove unused variable `match'.
8363 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8364 lambda expressions and funcall them, instead of using `fset'.
8365
8366 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8367 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8368
8369 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8370 variable `header-beg'; use `let'.
8371
8372 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8373 `restart', `last-sexp' and `at-do'.
8374
8375 * progmodes/js.el (js--debug): Mark unused parameter.
8376 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8377 (js--splice-into-items): Remove unused variable `item'.
8378 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8379
8380 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8381 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8382 (makefile-complete): Remove unused variable `try'.
8383 (makefile-fill-paragraph, makefile-match-function-end):
8384 Mark unused parameters.
8385
8386 * progmodes/octave-inf.el (inferior-octave-complete):
8387 Remove unused variable `proc'.
8388 (inferior-octave-output-digest): Mark unused parameter.
8389
8390 * progmodes/perl-mode.el (perl-calculate-indent):
8391 Remove unused variable `err'.
8392
8393 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8394 (prolog-indent-line): Mark unused parameters.
8395 (prolog-indent-line): Remove unused variable `beg'.
8396
8397 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8398 (reporter-dont-compact-list): Declare.
8399
8400 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8401 Remove unused variable `char'.
8402 (sh-debug): Mark unused parameter.
8403 (sh-get-indent-info): Remove unused variable `start'.
8404 (sh-calculate-indent): Remove unused variable `var'.
8405
8406 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8407 (simula-electric-keyword): Remove unused variable `null'.
8408 (simula-search-backward, simula-search-forward): Remove unused
8409 variables `begin' and `end'.
8410
8411 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8412 Remove unused variable `pos'.
8413 (vera-electric-tab, vera-comment-uncomment-region):
8414 Mark unused parameters.
8415 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8416
7ede3b65
CY
84172011-04-22 Chong Yidong <cyd@stupidchicken.com>
8418
8419 * emacs-lisp/package.el (package--builtins, package-alist)
8420 (package-load-descriptor, package-built-in-p, package-activate)
8421 (define-package, package-installed-p)
8422 (package-compute-transaction, package-buffer-info)
8423 (package--push): Doc fix. Distinguish more clearly between
8424 version strings and version lists.
8425
121656e9
JB
84262011-04-21 Juanma Barranquero <lekktu@gmail.com>
8427
8428 Lexical-binding cleanup.
8429
8430 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8431 (5x5-make-mutate-best):
8432 * play/fortune.el (fortune-in-buffer):
8433 * play/gomoku.el (gomoku-init-display):
8434 * play/solitaire.el (solitaire, solitaire-do-check):
8435 * play/tetris.el (tetris-default-update-speed-function):
8436 Mark unused parameters.
8437
8438 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8439 (bubbles--shift): Remove unused variable `char-org'.
8440 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8441 (bubbles--show-images): Remove unused variable `char'.
8442
8443 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8444 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8445 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8446 (decipher-analyze-buffer): Use ?\s.
8447 (decipher-make-checkpoint): Remove unused variable `mapping'.
8448
8449 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8450
8451 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8452 Remove unused variable `result'; use `let'.
8453
8454 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8455 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8456 (gametree-children-shown-p, gametree-compute-reduced-score):
8457 Use `ignore-errors'.
8458
8459 * play/handwrite.el (ps-lpr-switches): Declare.
8460 (handwrite): Remove unused variables `pmin' and `lastp'.
8461
8462 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8463
8464 * play/landmark.el (landmark-init-display)
8465 (landmark-update-naught-weights): Mark unused parameters.
8466 (landmark-y): Remove unused variable `noise'. Simplify.
8467 (landmark-human-plays): Remove unused variable `score'.
8468
8469 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8470 (mpuz-try-proposal): Remove unused variable `game'.
8471
8472 * play/zone.el (life-patterns): Declare.
8473
80f499c7
JB
84742011-04-20 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * vc/vc.el (ediff-vc-internal): Declare function.
8477
024ff170
SM
84782011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8479
c0a193ea
SM
8480 * shell.el: Use lexical-binding and std completion UI.
8481 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8482 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8483 comint-preoutput-filter-functions rather than on
8484 comint-output-filter-functions.
8485 (shell-command-completion, shell--command-completion-data)
8486 (shell-filename-completion, shell-environment-variable-completion)
8487 (shell-c-a-p-replace-by-expanded-directory): New functions.
8488 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8489 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8490 (shell-dynamic-complete-environment-variable): Use them.
8491 (shell-dynamic-complete-as-environment-variable)
8492 (shell-dynamic-complete-as-command): Remove.
8493 (shell-match-partial-variable): Match past point.
8494 * comint.el: Clean up use of completion-at-point-functions.
8495 (comint-completion-at-point): New function.
8496 (comint-mode): Use it completion-at-point-functions.
8497 (comint-dynamic-complete): Make it obsolete.
8498 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8499 (comint-c-a-p-replace-by-expanded-history): New function.
8500 (comint-dynamic-complete-functions)
8501 (comint-replace-by-expanded-history): Use it.
8502 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8503 termination strings. Try harder to avoid second try-completion.
8504 (completion-in-region-mode-map): Disable bindings that don't work yet.
8505
2dbaa080
SM
8506 * comint.el: Use lexical-binding. Require CL.
8507 (comint-dynamic-complete-functions): Use comint-filename-completion.
8508 (comint-completion-addsuffix): Tweak custom type.
8509 (comint-filename-completion, comint--common-suffix)
8510 (comint--common-quoted-suffix, comint--table-subvert)
8511 (comint--complete-file-name-data): New functions.
8512 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8513 (comint-dynamic-list-filename-completions): Use them.
8514 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8515
2dbaa080
SM
8516 * minibuffer.el (completion-in-region-mode):
8517 Keep completion-in-region-mode--predicate global.
8518 (completion-in-region--postch):
8519 Assume completion-in-region-mode--predicate is not null.
8520
c79a6f38
SM
8521 * progmodes/flymake.el (flymake-start-syntax-check-process):
8522 Obey `dir'. Simplify.
8523
024ff170
SM
8524 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8525 we're in VC after all.
8526
1c6c854e
CS
85272011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8528
8529 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8530 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8531 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8532
bed7f140
SM
85332011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8534
332e62ab
SM
8535 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8536 add sanity check.
8537
bed7f140
SM
8538 * obsolete/erc-hecomplete.el: Make obsolete.
8539 * obsolete/: Standardize obsolescence info in the header.
8540
f195c582
GM
85412011-04-20 Glenn Morris <rgm@gnu.org>
8542
8543 * calendar/solar.el (solar-horizontal-coordinates):
8544 Use the longitude argument rather than `calendar-longitude'.
8545 (solar-date-next-longitude): Remove unused locals.
8546
cb79b8c0
VJL
85472011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8548
8549 * whitespace.el: New version 13.2.1.
8550
85512011-04-20 felix <EmacsWiki> (tiny change)
8552
d8e4b68b 8553 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8554 switching between major modes on a file.
8555
602ea69d
SM
85562011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8559 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8560 multi-line comments as well.
8561
06b60517
JB
85622011-04-19 Juanma Barranquero <lekktu@gmail.com>
8563
8564 Lexical-binding cleanup.
8565
8566 * arc-mode.el (archive-mode-revert):
8567 * cmuscheme.el (scheme-interactively-start-process):
8568 * custom.el (custom-initialize-delay):
8569 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8570 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8571 * emacs-lock.el (emacs-lock-clear-sentinel):
8572 * ezimage.el (defezimage):
8573 * follow.el (follow-avoid-tail-recenter):
8574 * fringe.el (set-fringe-mode-1):
8575 * generic-x.el (bat-generic-mode-compile):
8576 * help-mode.el (help-info-variable, help-do-xref)
8577 (help-mode-revert-buffer):
8578 * help.el (view-emacs-todo):
8579 * iswitchb.el (iswitchb-completion-help):
8580 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8581 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8582 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8583 * locate.el (locate-update):
8584 * longlines.el (longlines-encode-region)
8585 (longlines-after-change-function):
8586 * outline.el (outline-isearch-open-invisible):
8587 * ps-def.el (declare-function, charset-dimension, char-width)
8588 (encode-char):
8589 * ps-mule.el (ps-mule-plot-string):
8590 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8591 (recentf-edit-list-select, recentf-edit-list-validate)
8592 (recentf-open-files-action):
8593 * rect.el (delete-whitespace-rectangle-line)
8594 (rectangle-number-line-callback):
8595 * register.el (window-configuration-to-register)
8596 (frame-configuration-to-register):
8597 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8598 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8599 (xselect-convert-to-targets, xselect-convert-to-delete)
8600 (xselect-convert-to-filename, xselect-convert-to-charpos)
8601 (xselect-convert-to-lineno, xselect-convert-to-colno)
8602 (xselect-convert-to-os, xselect-convert-to-host)
8603 (xselect-convert-to-user, xselect-convert-to-class)
8604 (xselect-convert-to-name, xselect-convert-to-integer)
8605 (xselect-convert-to-atom, xselect-convert-to-identity):
8606 * subr.el (declare, ignore, process-kill-without-query)
8607 (text-clone-maintain):
8608 * terminal.el (te-get-char, te-tic-sentinel):
8609 * tool-bar.el (tool-bar-make-keymap):
8610 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8611 * type-break.el (type-break-mode, type-break-noninteractive-query):
8612 * view.el (View-back-to-mark):
8613 * wid-browse.el (widget-browse-action, widget-browse-widget)
8614 (widget-browse-widgets, widget-browse-sexp):
8615 * widget.el (define-widget-keywords):
8616 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8617 Mark unused parameters.
8618
8619 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8620 (align-areas): Remove unused variable `look'.
8621 (align-region): Remove unused variables `real-end' and `pos-list'.
8622
8623 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8624
8625 * bindings.el (mode-line-modified, mode-line-remote):
8626 Mark unused parameters.
8627 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8628
8629 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8630 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8631
8632 * comint.el (comint-history-isearch-pop-state)
8633 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8634 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8635 (comint-substitute-in-file-name): Doc fix.
8636
8637 * completion.el (cmpl-statistics-block): Mark unused parameter.
8638 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8639 (save-completions-to-file, load-completions-from-file):
8640 Remove unused local variable `e'.
8641
8642 * composite.el (compose-chars): Remove unused variable `len'.
8643 (lgstring-insert-glyph): Remove unused variable `g'.
8644 (compose-glyph-string): Remove unused variables `ascent',
8645 `descent', `lbearing' and `rbearing'.
8646 (compose-glyph-string-relative): Remove unused variables
8647 `lbearing', `rbearing' and `wadjust'.
8648 (compose-gstring-for-graphic): Remove unused variables `header',
8649 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8650 (compose-gstring-for-terminal): Remove unused variables `header'
8651 and `nchars'. Use `let', not `let*'.
8652
8653 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8654 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8655 (Custom-buffer-done, custom-buffer-create-internal)
8656 (custom-browse-visibility-action, custom-browse-group-tag-action)
8657 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8658 (widget-magic-mouse-down-action, custom-toggle-parent)
8659 (custom-add-parent-links, custom-toggle-hide-variable)
8660 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8661 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8662 (custom-face-menu-create, custom-variable-menu-create, get)
8663 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8664 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8665 (customize-apropos): Remove unused variable `tests'.
8666 (custom-group-value-create): Remove unused variable `hidden-p'.
8667 (sort-fold-case): Declare.
8668
8669 * cus-theme.el (custom-reset-standard-faces-list)
8670 (custom-reset-standard-variables-list): Declare.
8671 (customize-create-theme, custom-theme-revert, custom-theme-write)
8672 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8673 Mark unused parameters.
8674
8675 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8676
8677 * delim-col.el (delimit-columns-max): Move defvar before first use.
8678
8679 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8680 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8681
8682 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8683 (auto-insert): Declare.
8684 (desktop-restore-file-buffer): Rename desktop-* parameters;
8685 mark unused ones.
8686 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8687 (desktop-buffer): Rename desktop-* parameters.
8688
8689 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8690 (dframe-reposition-frame-xemacs, dframe-help-echo)
8691 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8692 Mark unused parameters.
8693
8694 * dired-aux.el (backup-extract-version-start, overwrite-query)
8695 (overwrite-backup-query, rename-regexp-query)
8696 (rename-non-directory-query): Declare.
8697 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8698 (dired-add-entry): Remove unused variable `orig-file-name'.
8699 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8700 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8701 `dired-copy-preserve-time' directly.
8702 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8703 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8704
8705 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8706 (dired-virtual-revert, dired-make-relative-symlink):
8707 Mark unused parameters.
8708 (manual-program): Declare.
8709 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8710 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8711 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8712
8713 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8714
8715 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8716
8717 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8718 Declare.
8719
8720 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8721
8722 * electric.el (Electric-command-loop): Rename parameter
8723 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8724
8725 * expand.el (expand-in-literal): Remove unused variable `here'.
8726
8727 * facemenu.el (facemenu-add-new-color):
8728 Remove unused variable `docstring'.
8729
8730 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8731 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8732 (face-attr-construct): Mark unused parameter. Doc fix.
8733 (read-color): Remove unused variable `hex-string'.
8734
8735 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8736 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8737 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8738 (display-buffer-other-frame): Remove unused variable `old-window'.
8739 (kill-buffer-hook): Declare.
8740 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8741 Mark unused parameters.
8742 (after-find-file): Pass 1 to `auto-save-mode', not t.
8743
8744 * files-x.el (auto-insert): Declare.
8745 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8746
8747 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8748 variable `buf'. Mark unused parameter.
06b60517
JB
8749 (find-lisp-insert-directory): Mark unused parameter.
8750
8751 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8752 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8753 (format-common-tail): Remove, unused.
8754 (format-deannotate-region): Remove unused variable `loc'.
8755 (format-annotate-region): Remove unused variable `p'.
8756 (format-annotate-single-property-change): Remove unused variables
8757 `default' and `tail'.
8758
8759 * forms.el (read-file-filter): Declare.
8760 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8761
8762 * frame.el (frame-creation-function-alist): Mark unused parameter.
8763 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8764
8765 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8766 Remove unused parameters.
8767 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8768 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8769
8770 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8771 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8772 (hfy-prepare-tag-map): Mark unused parameters.
8773 (htmlfontify-buffer): Use `called-interactively-p'.
8774
8775 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8776 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8777 (ibuffer-do-occur): Mark unused parameters.
8778 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8779 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8780
8781 * ibuffer.el: Don't quote `lambda'.
8782 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8783 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8784 Mark unused parameters.
8785
8786 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8787 (ido-completing-read): Mark unused parameters.
8788 (ido-copy-current-word): Mark unused parameters;
8789 remove unused variable `name'.
8790 (ido-sort-merged-list): Remove unused parameter `dirs'.
8791
8792 * ielm.el (ielm-input-sender): Mark unused parameter.
8793 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8794 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8795 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8796 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8797 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8798
8799 * image-dired.el (image-dired-display-thumbs): Remove unused
8800 variables `curr-file' and `count'.
8801 (image-dired-remove-tag): Remove unused variable `start'.
8802 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8803 variable `curr-file'
8804 (image-dired-rotate-original): Remove unused variable `temp-file'.
8805 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8806 Remove unused variable `file'.
8807 (image-dired-gallery-generate): Remove unused variable `curr'.
8808 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8809
8810 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8811
8812 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8813
8814 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8815
8816 * isearch.el (minibuffer-history-symbol): Declare.
8817 (isearch-edit-string): Remove unused variable `err'.
8818 (isearch-message-prefix, isearch-message-suffix):
8819 Mark unused parameters.
8820
8821 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8822
8823 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8824
8825 * makesum.el (double-column): Remove unused variable `cnt'.
8826
8827 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8828 (ido-ignore-item-temp-list): Declare.
8829
8830 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8831 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8832 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8833 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8834 `mouse-col-delta'.
8835
8836 * mouse-sel.el (mouse-extend-internal):
8837 Remove unused variable `orig-window-frame'.
8838
8839 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8840 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8841 Move declarations before first use.
8842 (pcomplete-opt): Mark unused parameters; doc fix.
8843
8844 * proced.el (proced-revert): Mark unused parameter.
8845 (proced-send-signal): Remove unused variable `err'.
8846
8847 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8848 Rename parameter PREFIX-ARG to ARG.
8849 (ps-basic-plot-string, ps-basic-plot-whitespace):
8850 Mark unused parameters.
8851
8852 * replace.el (replace-count): Define.
8853 (occur-revert-function): Mark unused parameters.
8854 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8855 (isearch-case-fold-search, isearch-string): Declare.
8856 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8857 bind `case-fold-search'. Remove unused variables `beg' and `end',
8858 and simplify.
8859 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8860 COUNT and bind `replace-count'.
8861 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8862 to COUNT.
8863
8864 * savehist.el (print-readably, print-string-length): Declare.
8865
8866 * shadowfile.el (shadow-expand-cluster-in-file-name):
8867 Remove unused variable `cluster'.
8868 (shadow-copy-file): Remove unused variable `i'.
8869 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8870 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8871 (shadow-define-literal-group, shadow-define-regexp-group)
8872 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8873
8874 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8875 (shell): Use `called-interactively-p'.
8876 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8877
8878 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8879 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8880 (delete-backward-char): Remove unused variable `ocol'.
8881 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8882 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8883 (event-apply-hyper-modifier, event-apply-shift-modifier)
8884 (event-apply-control-modifier, event-apply-meta-modifier):
8885 Mark unused parameters.
8886 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8887 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8888
8889 * speedbar.el (speedbar-ignored-directory-expressions)
8890 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8891 (speedbar-find-file, speedbar-dir-follow)
8892 (speedbar-directory-buttons-follow, speedbar-tag-find)
8893 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8894 (speedbar-buffers-line-directory, speedbar-buffer-click):
8895 Mark unused parameters.
8896 (speedbar-tag-file): Remove unused variable `mode'.
8897 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8898
8899 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8900
8901 * talk.el (talk): Remove unused variable `display'.
8902
8903 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8904 (tar-write-region-annotate): Mark unused parameter.
8905
8906 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8907 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8908 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8909 warning by another.
8910
8911 * time-stamp.el (time-stamp-string-preprocess):
8912 Remove unused variable `require-padding'.
8913
8914 * tree-widget.el (widget-glyph-enable): Declare.
8915 (tree-widget-action): Mark unused parameter.
8916
8917 * w32-fns.el (x-get-selection): Mark unused parameter.
8918 (autoload-make-program, generated-autoload-file): Declare.
8919
8920 * wdired.el (wdired-revert): Mark unused parameters.
8921 (wdired-xcase-word): Remove unused variable `err'.
8922
8923 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8924 (whitespace-help-scroll): Remove unused variable `data-help'.
8925
8926 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8927 (widget-image-insert, widget-after-change, default)
8928 (widget-default-format-handler, widget-default-notify)
8929 (widget-default-prompt-value, widget-info-link-action)
8930 (widget-url-link-action, widget-function-link-action)
8931 (widget-variable-link-action, widget-file-link-action)
8932 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8933 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8934 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8935 (widget-insert-button-action, widget-delete-button-action, visibility)
8936 (widget-documentation-link-action, widget-documentation-string-action)
8937 (widget-const-prompt-value, widget-regexp-match, symbol)
8938 (widget-coding-system-prompt-value)
8939 (widget-key-sequence-value-to-external, sexp)
8940 (widget-sexp-value-to-internal, character, vector, cons)
8941 (widget-choice-prompt-value, widget-boolean-prompt-value)
8942 (widget-color--choose-action): Mark unused parameters.
8943 (widget-item-match-inline, widget-choice-match-inline)
8944 (widget-checklist-match, widget-checklist-match-inline)
8945 (widget-group-match): Rename parameter VALUES to VALS.
8946 (widget-field-value-set): Remove unused variable `size'.
8947 (widget-color-action): Remove unused variables `value' and `start'.
8948
8949 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8950 variable `dir'. Doc fix.
06b60517
JB
8951 (windmove-find-other-window): Don't pass it.
8952
8953 * window.el (count-windows): Mark unused parameter.
8954 (bw-adjust-window): Remove unused variable `err'.
8955
8956 * woman.el (woman-file-name): Remove unused variable `default'.
8957 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8958 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8959 (global-font-lock-mode): Declare.
8960 (woman-decode-region): Mark unused parameter.
8961 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8962
8963 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8964 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8965 (x-dnd-handle-moz-url): Remove unused variable `title'.
8966 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8967
8968 * xml.el (xml-parse-tag, xml-parse-attlist):
8969 Remove unused variable `pos'.
8970
bc4f7f3d
GM
89712011-04-19 Glenn Morris <rgm@gnu.org>
8972
8973 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8974 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8975 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8976 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8977 * calendar/cal-html.el (cal-html-insert-minical):
8978 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8979 (calendar-mark-date-pattern):
8980 Prefix "unused" locals.
8981
8982 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8983 optional argument `style'.
8984
8985 * calendar/appt.el (appt-make-list):
8986 * calendar/cal-china.el (calendar-chinese-date-string):
8987 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8988 (diary-hebrew-yahrzeit):
8989 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8990 * calendar/calendar.el (calendar-generate-window):
8991 * calendar/time-date.el (time-to-days):
8992 Remove unused local variables.
8993
16a43933
CY
89942011-04-18 Chong Yidong <cyd@stupidchicken.com>
8995
8996 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8997 glyphless-char-display table.
8998 (tabulated-list-glyphless-char-display): New var.
8999
7eed1860
SS
90002011-04-18 Sam Steingold <sds@gnu.org>
9001
9002 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9003 to acknowledgments.
9004
4d2d1ccd
GM
90052011-04-17 Glenn Morris <rgm@gnu.org>
9006
9007 * calendar/diary-lib.el (diary-sexp-entry):
9008 * calendar/holidays.el (holiday-sexp):
9009 Set debug-on-error rather than the removed stack-trace-on-error.
9010
239da61d
GM
90112011-04-16 Glenn Morris <rgm@gnu.org>
9012
9013 * progmodes/f90.el: Use lexical-binding.
9014 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9015
8b05752a
SM
90162011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9017
daca8ba5
SM
9018 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9019 (mail-mode): Setup mailalias completion here instead.
9020 * mail/mailalias.el: Use lexical-binding.
9021 (pattern, mailalias-done): Declare dynamic.
9022 (mail-completion-at-point-function): New function, from mail-complete.
9023 (mail-complete): Use it.
9024 (mail-completion-expand): New function.
9025 (mail-get-names): Use it.
9026 (mail-directory, mail-directory-process, mail-directory-stream):
9027 Don't use `pattern' for lexically bound arg.
9028
6f542485
SM
9029 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9030
037e7c3f
SM
9031 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9032 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9033 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9034
8b05752a
SM
9035 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9036 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9037 (byte-interactive-p): Define them again, for use when inlining
9038 old code.
9039
49093f60
JB
90402011-04-15 Juanma Barranquero <lekktu@gmail.com>
9041
9042 * loadup.el: Use `string-to-number', not `string-to-int'.
9043
b5b8e7de
SM
90442011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9047 gud-gdb-complete-command.
9048 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9049 (gud-gdb-completion-at-point): New function.
9050 (gud-gdb-completions): Remove.
9051
f42efeb5
MA
90522011-04-14 Michael Albinus <michael.albinus@gmx.de>
9053
49093f60
JB
9054 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9055 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9056 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9057 whether `executable-find' is bound.
f42efeb5
MA
9058
9059 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9060
e240cc21
SM
90612011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * minibuffer.el (completion-in-region-mode-predicate)
9064 (completion-in-region-mode--predicate): New vars.
9065 (completion-in-region, completion-in-region--postch)
9066 (completion-in-region-mode): Use them.
9067 (completion--capf-wrapper): Also return the hook function.
9068 (completion-at-point, completion-help-at-point):
9069 Adjust and provide a predicate.
c2bd2ab0
SM
9070
9071 Preserve arg names for advice of subr and lexical functions (bug#8457).
9072 * help-fns.el (help-function-arglist): Consolidate the subr and
9073 new-byte-code cases. Add argument `preserve-names' to extract names
9074 from the docstring when needed.
9075 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9076 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9077 (ad-arglist): Use help-function-arglist's new arg.
9078 (ad-definition-type): Use cond.
9079
c183f693
JB
90802011-04-13 Juanma Barranquero <lekktu@gmail.com>
9081
06641a47
JB
9082 * autorevert.el (auto-revert-handler):
9083 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9084 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9085 Don't quote lambda.
9086
c183f693
JB
9087 * image-mode.el (image-transform-set-scale):
9088 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9089
1e3b6001
G
90902011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9091
9092 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9093 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9094 Upgrades via gnutls-cli are too slow to be done opportunistically.
9095
2d6af8dd
JB
90962011-04-12 Juanma Barranquero <lekktu@gmail.com>
9097
9098 * dframe.el (dframe-current-frame): Remove spurious quote.
9099
c0749a51
GM
91002011-04-12 Glenn Morris <rgm@gnu.org>
9101
088d0d61
GM
9102 * calendar/cal-tex.el (cal-tex-end-document):
9103 Try to automatically use latin1 input if needed.
9104
c0749a51
GM
9105 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9106 Don't try to cons a mark onto an empty element.
9107
5c90fde0
LL
91082011-04-11 Leo Liu <sdl.web@gmail.com>
9109
9110 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9111 buffers.
9112 (ido-kill-buffer-at-head): Support killing virtual buffers.
9113
369e974d
CY
91142011-04-10 Chong Yidong <cyd@stupidchicken.com>
9115
9116 * minibuffer.el (completion-show-inline-help): New var.
9117 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9118 (minibuffer-force-complete, minibuffer-complete-word):
9119 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9120
9121 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9122 to avoid interference from inline help (Bug#5849).
9123
37f1c930
LL
91242011-04-10 Leo Liu <sdl.web@gmail.com>
9125
099c39a4
JB
9126 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9127 Fix typo.
37f1c930 9128
a32d4040
CY
91292011-04-09 Chong Yidong <cyd@stupidchicken.com>
9130
9131 * image-mode.el (image-toggle-display-image): Signal an error if
9132 not in Image mode.
9133 (image-transform-mode, image-transform-resize)
9134 (image-transform-set-rotation): Doc fix.
daca8ba5 9135 (image-transform-set-resize): Delete.
a32d4040
CY
9136 (image-transform-set-scale, image-transform-fit-to-height)
9137 (image-transform-fit-to-width): Handle image-toggle-display-image
9138 and image-transform-resize directly.
9139
099c39a4 91402011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9141
9142 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9143 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9144 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9145 (doc-view-mode-map): Add bindings for the new functions.
9146
099c39a4 91472011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9148
4d61f28d 9149 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9150 Fix typo in docstring.
9151
3726838a
EZ
91522011-04-08 Eli Zaretskii <eliz@gnu.org>
9153
04f33f1e
EZ
9154 * files.el (file-size-human-readable): Produce one digit after
9155 decimal, like "ls -lh" does.
9156
9157 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9158 the file size representation.
9159
3726838a
EZ
9160 * simple.el (list-processes): If async subprocesses are not
9161 available, error out with a clear error message.
9162
cbb59342
CY
91632011-04-08 Chong Yidong <cyd@stupidchicken.com>
9164
9165 * help.el (help-form-show): New function, to be called from C.
9166 Put help-form output in a buffer named differently than *Help*.
9167
e3971c44
EZ
91682011-04-08 Eli Zaretskii <eliz@gnu.org>
9169
9170 * files.el (file-size-human-readable): New function.
9171
9172 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9173 computing the representation inline. Don't require `cl'.
9174
12544bbe
GM
91752011-04-08 Glenn Morris <rgm@gnu.org>
9176
a1de6c6a
GM
9177 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9178
3c4671f4
GM
9179 * net/browse-url.el (browse-url-firefox):
9180 Test system-type, not system-configuration.
9181
b605679c
GM
9182 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9183 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9184 Use log-edit-empty-buffer-p. (Bug#7598)
9185
56442f0c
GM
9186 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9187 (rlogin-mode-map): Initialize in the defvar.
9188 (rlogin): Use ignore-errors.
9189
12544bbe
GM
9190 * replace.el (occur-mode-map): Some fixes for menu items.
9191
eb237b0f
AH
91922011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9193
9194 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9195
7d668f2c
CY
91962011-04-06 Chong Yidong <cyd@stupidchicken.com>
9197
e67a13ab
CY
9198 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9199 issuing unused warnings.
9200
9201 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9202 macro directly.
9203
7d668f2c
CY
9204 * simple.el: Lisp reimplement of list-processes. Based on an
9205 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9206 (process-menu-mode): New major mode.
9207 (list-processes--refresh, list-processes):
9208 (process-menu-visit-buffer): New functions.
9209
9210 * files.el (save-buffers-kill-emacs): Don't assume any return
9211 value of list-processes, which is undocumented anyway.
9212
a83ec3c9
CY
92132011-04-06 Chong Yidong <cyd@stupidchicken.com>
9214
9215 * emacs-lisp/tabulated-list.el: New file.
9216
e91a96fe
CY
9217 * emacs-lisp/package.el: Use Tabulated List mode.
9218 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9219 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9220 table format using Tabulated List mode variables.
9221 (package--push): New macro, replacing package-list-maybe-add.
9222 (package-menu--generate): Use package--push. Renamed from
9223 package--generate-package-list.
9224 (package-menu-refresh, list-packages): Use it.
daca8ba5 9225 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9226 Return insertion data instead of inserting it directly.
099c39a4
JB
9227 (package-menu-describe-package, package-menu-execute):
9228 Use tabulated-list-get-id.
e91a96fe
CY
9229 (package-menu-mark-delete, package-menu-mark-install)
9230 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9231 (package-menu-mark-obsolete-for-deletion):
9232 Use tabulated-list-put-tag.
e91a96fe
CY
9233 (package--list-packages, package-menu-revert)
9234 (package-menu-get-package, package-menu-get-version)
9235 (package-menu-sort-by-column): Functions deleted.
9236 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9237 (package-menu--status-predicate, package-menu--version-predicate)
9238 (package-menu--name-predicate)
9239 (package-menu--description-predicate): Handle arguments in the
9240 Tabulated List format.
9241 (package-list-packages-no-fetch): Call list-packages.
9242
3e214b50
JB
92432011-04-06 Juanma Barranquero <lekktu@gmail.com>
9244
9245 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9246 (after-find-file): Don't bind it.
3e214b50
JB
9247 (revert-buffer-in-progress-p): New variable.
9248 (revert-buffer): Bind it.
9249 Pass nil for `after-find-file-from-revert-buffer'.
9250
9251 * saveplace.el (save-place-find-file-hook): Use new variable
9252 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9253
3f0f1700
GM
92542011-04-06 Glenn Morris <rgm@gnu.org>
9255
c0274801
GM
9256 * Makefile.in (AUTOGEN_VCS): New variable.
9257 (autoloads): Use $AUTOGEN_VCS.
9258
3f0f1700
GM
9259 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9260 * calendar/calendar.el (calendar-mode-map):
9261 Check for toolkit scroll bars. (Bug#8305)
9262
41ea9e48
CY
92632011-04-05 Chong Yidong <cyd@stupidchicken.com>
9264
9265 * minibuffer.el (completion-in-region--postch)
9266 (completion-in-region-mode): Remove unnecessary messages.
9267
6194c800
JB
92682011-04-05 Juanma Barranquero <lekktu@gmail.com>
9269
33256f14
JB
9270 * font-lock.el (font-lock-refresh-defaults):
9271 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9272 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9273
6194c800
JB
9274 * info.el (Info-directory-list, Info-read-node-name-2)
9275 (Info-split-parameter-string): Doc fixes.
9276 (Info-virtual-nodes): Reflow docstring.
9277 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9278 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9279 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9280 Fix typos in docstrings.
9281 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9282 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9283 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9284 (Info-restore-desktop-buffer): Mark unused parameters.
9285 (Info-directory-find-file, Info-directory-find-node)
9286 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9287 (Info-virtual-index-find-node, Info-apropos-find-file)
9288 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9289 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9290 (Info-virtual-index): Remove unused local variable `nodename'.
9291
b87a8200 92922011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9293
b87a8200
DD
9294 * net/rcirc.el: Update my e-mail address.
9295 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9296
3b2ff876
CY
92972011-04-05 Chong Yidong <cyd@stupidchicken.com>
9298
9299 * startup.el (command-line): Save the cursor's theme-face
9300 directly, instead of using face-override-spec.
9301
9302 * custom.el (load-theme): Minor optimization in assigning faces.
9303
8d17e7ca
JB
93042011-04-04 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * help-fns.el (describe-variable): Complete all variables having
9307 documentation, including keywords.
9308 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9309
2fbc1934
JB
93102011-04-04 Juanma Barranquero <lekktu@gmail.com>
9311
9312 Convert to lexical-binding.
9313
9314 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9315 (bs--get-marked-string, bs--get-modified-string)
9316 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9317 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9318 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9319
9320 * ehelp.el (electric-help-execute-extended)
9321 (electric-help-ctrl-x-prefix):
9322 * hexl.el (hexl-revert-buffer-function):
9323 * linum.el (linum-after-change, linum-after-scroll):
9324 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9325
9326 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9327
74f50695
DU
93282011-04-04 Daiki Ueno <ueno@unixuser.org>
9329
9330 * epa-dired.el:
9331 * epa-mail.el:
9332 * epa-hook.el:
9333 * epa-file.el:
9334 * epa.el:
9335 * epg.el: Use lexical binding.
9336
c11325f7
CY
93372011-04-03 Chong Yidong <cyd@stupidchicken.com>
9338
0d9e9a12
CY
9339 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9340
c11325f7 9341 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9342 dictionary case for flyspell-mark-duplications-exceptions.
9343 Use regexp matching for languages.
c11325f7
CY
9344 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9345 default dictionary (Bug#7926).
9346
da91b5f2
CY
93472011-04-02 Chong Yidong <cyd@stupidchicken.com>
9348
099c39a4
JB
9349 * emacs-lisp/package.el (package--with-work-buffer):
9350 Recognize https URLs.
da91b5f2 9351
099c39a4
JB
9352 * net/network-stream.el: Move from gnus/proto-stream.el.
9353 Change prefix to network-stream throughout.
da91b5f2
CY
9354 (open-protocol-stream): Merge into open-network-stream, leaving
9355 open-protocol-stream as an alias. Handle nil BUFFER args.
9356
9357 * subr.el (open-network-stream): Move to net/network-stream.el.
9358
afa8e9f6
GM
93592011-04-02 Glenn Morris <rgm@gnu.org>
9360
1d2e369d
GM
9361 * find-dired.el (find-exec-terminator): New option.
9362 (find-ls-option): Test for -ls support.
9363 (find-ls-subdir-switches): Test for -b in find-ls-option.
9364 (find-dired, find-grep-dired): Doc fixes.
9365 (find-dired): Use find-exec-terminator.
9366
8abb7da8 9367 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9368 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9369 (find-name-arg): Remove purecopy.
8abb7da8 9370
f3ca7378
GM
9371 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9372 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9373 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9374 accordingly. Don't add the null-device if not needed.
9375
afa8e9f6
GM
9376 * files.el (save-some-buffers): Doc fix.
9377
35eae264
EZ
93782011-04-02 Eli Zaretskii <eliz@gnu.org>
9379
9380 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9381
26b51db5
JB
93822011-04-01 Juanma Barranquero <lekktu@gmail.com>
9383
9384 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9385 Use `dolist' rather than `mapcar'.
9386
7200d79c
SM
93872011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9388
03408648 9389 Add lexical binding.
7200d79c 9390
03408648
SM
9391 * subr.el (apply-partially): Use new closures rather than CL.
9392 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9393 (dolist, dotimes): Use slightly different expansion for lexical code.
9394 (functionp): Move to C.
9395 (letrec): New macro.
9396 (with-wrapper-hook): Use it and apply-partially instead of CL.
9397 (eval-after-load): Preserve lexical-binding.
9398 (save-window-excursion, with-output-to-temp-buffer): Turn them
9399 into macros.
7200d79c 9400
03408648
SM
9401 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9402
9403 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9404 than the arglist.
9405 (help-add-fundoc-usage): Don't add `Not documented'.
9406 (help-function-arglist): Handle closures, subroutines, and new
9407 byte-code-functions.
9408 (help-make-usage): Remove leading underscores.
9409 (describe-function-1): Handle closures.
9410 (describe-variable): Use special-variable-p for completion.
9411
9412 * files.el (lexical-binding): Declare safe.
f488fb65 9413
03408648
SM
9414 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9415 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9416 (pcase): Add `let' pattern.
9417 Change memoization so it actually works.
9418 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9419 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9420 <let>: New case.
f488fb65 9421
03408648
SM
9422 * emacs-lisp/macroexp.el: Use lexical binding.
9423 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9424 Don't convert ' to #' without checking that it's indeed quoting
9425 a lambda.
9426
9427 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9428 Use eval-sexp-add-defvars.
03408648
SM
9429 (eval-sexp-add-defvars): New fun.
9430
9431 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9432
9433 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9434 Don't autoload.
9435 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9436 than the internal `byte-compile-lambda'.
9437 (defmethod): Don't hide code under quotes.
9438 (eieio-defmethod): New `code' argument.
9439
9440 * emacs-lisp/eieio-comp.el: Remove.
9441
9442 * emacs-lisp/edebug.el (edebug-eval-defun)
9443 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9444 (edebug-toggle): Avoid `eval'.
9445
9446 * emacs-lisp/disass.el (disassemble-internal): Handle new
9447 `closure' objects.
9448 (disassemble-1): Handle new byte codes.
9449
9450 * emacs-lisp/cl.el (pushnew): Silence warning.
9451
9452 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9453 (cl-byte-compile-throw): Remove.
9454 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9455
9456 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9457 closures.
9458
9459 * emacs-lisp/cconv.el: New file.
9460
9461 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9462 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9463 (byte-compile-initial-macro-environment):
9464 Handle declare-function here.
9465 (byte-compile--lexical-environment): New var.
9466 (byte-stack-ref, byte-stack-set, byte-discardN)
9467 (byte-discardN-preserve-tos): New lap codes.
9468 (byte-interactive-p): Don't use any more.
9469 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9470 New macros.
9471 (byte-compile-lapcode): Use them and handle new lap codes.
9472 (byte-compile-obsolete): Remove.
9473 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9474 (byte-compile-arglist-warn): Check late def of inlinable funs.
9475 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9476 since they should have been expanded by now.
9477 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9478 (byte-compile-from-buffer): Remove unused second arg.
9479 (byte-compile-preprocess): New function.
9480 (byte-compile-toplevel-file-form): New function to distinguish
9481 file-form calls from outside from file-form calls from hunk-handlers.
9482 (byte-compile-file-form): Simplify.
9483 (byte-compile-file-form-defsubst): Remove.
9484 (byte-compile-file-form-defmumble): Simplify now that
9485 byte-compile-lambda always returns a byte-code-function.
9486 (byte-compile): Preprocess.
9487 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9488 Remove, not used any more.
9489 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9490 (byte-compile-make-args-desc): New funs.
9491 (byte-compile-lambda): Handle lexical functions. Always return
9492 a byte-code-function.
9493 (byte-compile-reserved-constants): New var, to make up room for
9494 closed-over variables.
9495 (byte-compile-constants-vector): Obey it.
9496 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9497 (byte-compile-macroexpand-declare-function): New function.
9498 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9499 byte-code-functions.
9500 (byte-compile-form): Check obsolescence here.
9501 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9502 (byte-compile-variable-ref): Remove.
9503 (byte-compile-dynamic-variable-op): New fun.
9504 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9505 (byte-compile-variable-set): New funs.
9506 (byte-compile-discard): Add 2 args.
9507 (byte-compile-stack-ref, byte-compile-stack-set)
9508 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9509 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9510 macroexpand-all instead.
9511 (byte-compile-quote-form): Remove.
9512 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9513 (byte-compile-bind, byte-compile-unbind): New funs.
9514 (byte-compile-let): Handle let* and lexical binding.
9515 (byte-compile-let*): Remove.
9516 (byte-compile-catch, byte-compile-unwind-protect)
9517 (byte-compile-track-mouse, byte-compile-condition-case):
9518 Handle a new :fun-body form, used for lexical scoping.
9519 (byte-compile-save-window-excursion)
9520 (byte-compile-with-output-to-temp-buffer): Remove.
9521 (byte-compile-defun): Simplify.
9522 (byte-compile-stack-adjustment): New fun.
9523 (byte-compile-out): Use it.
9524 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9525
9526 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9527 handler any more.
9528
9529 * emacs-lisp/byte-opt.el: Use lexical binding.
9530 (byte-inline-lapcode): Remove (to bytecomp).
9531 (byte-compile-inline-expand): Pay attention to inlining to/from
9532 lexically bound code.
9533 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9534 any more.
9535 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9536 any more and don't call compiler-macros.
9537 (byte-compile-splice-in-already-compiled-code): Remove.
9538 (byte-code): Don't inline any more.
9539 (disassemble-offset): Receive `bytes' as argument rather than via
9540 dynamic scoping.
9541 (byte-compile-tag-number): Declare before first use.
9542 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9543 `return' even if make-spliceable.
9544 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9545 obsolete interactive-p.
9546 (byte-optimize-lapcode): Optimize new lap-codes.
9547 Don't trip up on new form of `byte-constant' lap code.
9548
9549 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9550
9551 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9552
9553 * custom.el (custom-initialize-default, custom-declare-variable):
9554 Use `defvar'.
9555
9556 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9557 New variables.
9558 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9559 (COMPILE_FIRST): Add macroexp and cconv.
9560 * makefile.w32-in: Mirror changes in Makefile.in.
9561
9562 * vc/cvs-status.el:
9563 * vc/diff-mode.el:
9564 * vc/log-edit.el:
9565 * vc/log-view.el:
9566 * vc/smerge-mode.el:
9567 * textmodes/bibtex-style.el:
9568 * textmodes/css.el:
9569 * startup.el:
9570 * uniquify.el:
da91b5f2
CY
9571 * minibuffer.el:
9572 * newcomment.el:
9573 * reveal.el:
9574 * server.el:
9575 * mpc.el:
9576 * emacs-lisp/smie.el:
9577 * doc-view.el:
9578 * dired.el:
03408648
SM
9579 * abbrev.el: Use lexical binding.
9580
0f0c1f27
EZ
95812011-04-01 Eli Zaretskii <eliz@gnu.org>
9582
9583 * info.el (info-display-manual): New function.
9584
c82b2579
SM
95852011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9588
221ddf68
TH
95892011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9590
9591 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9592 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9593
cba6e77e
GM
95942011-03-31 Glenn Morris <rgm@gnu.org>
9595
e040639f
GM
9596 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9597
cba6e77e
GM
9598 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9599
6d0f1c9e
CS
96002011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9601
9602 * progmodes/python.el (python-default-interpreter)
9603 (python-python-command-args, python-jython-command-args)
9604 (python-which-shell, python-which-args, python-which-bufname)
9605 (python-file-queue, python-comint-output-filter-function)
9606 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9607 variables and functions.
9608
3e2d70fd
SM
96092011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9612 (completion-in-region-mode): New minor mode.
9613 (completion-in-region): Use it.
9614 (completion-in-region--data, completion-in-region-mode-map): New vars.
9615 (completion-in-region--postch): New function.
9616 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9617 New vars.
9618 (completion--capf-wrapper): New function.
9619 (completion-at-point): Use it to track well-behavedness of
9620 hook functions.
9621 (completion-help-at-point): New command.
9622
f3e4086c
JM
96232011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9624
9625 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9626 syntax class to search for whitespace on a single line
9627 (Message-ID: <4D938140.4030905@redhat.com>).
9628
eb7ffc14
LL
96292011-03-30 Leo Liu <sdl.web@gmail.com>
9630
9631 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9632 New commands.
9633 (edit-abbrevs-map): Bind them here.
9634 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9635
d806ab68
KM
96362011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9637
9638 * allout.el (allout-hide-by-annotation, allout-flag-region):
9639 Reduce possibility of overlay leakage by making them volatile.
9640
9641 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9642 hash is not shared between buffers. Mode initialization is
9643 responsible for giving it a useful starting value.
9644 (allout-item-span): Reduce possibility of overlay leakage by
9645 making them volatile.
9646 (allout-widgets-count-buttons-in-region): Add diagnostic function
9647 for tracking down button overlay leaks.
9648
ea622834
LL
96492011-03-29 Leo Liu <sdl.web@gmail.com>
9650
9651 * ido.el (ido-read-internal): Use the default history var
9652 minibuffer-history if no HISTORY is specified.
9653
b62f8267
G
96542011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9655
03408648
SM
9656 * net/imap.el (imap-shell-open, imap-process-connection-type):
9657 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9658 Kerberos, SSL, other subprocesses.
9659
947b6566
LL
96602011-03-28 Leo Liu <sdl.web@gmail.com>
9661
9662 * abbrev.el (abbrev-table-empty-p): New function.
9663 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9664 nonempty ones. (Bug#5937)
9665
5ffb62aa
JD
96662011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9667
9668 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9669
7a097943
LL
96702011-03-27 Leo Liu <sdl.web@gmail.com>
9671
9672 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9673 for foreground and background colors.
9674 (ansi-color-make-color-map): Adapt.
9675
c5b40130
LL
96762011-03-25 Leo Liu <sdl.web@gmail.com>
9677
1f48f7d2
LL
9678 * midnight.el (midnight-time-float): Remove. Note it calculates
9679 the microsecond component incorrectly and seconds-to-time does the
9680 same job.
625897ec 9681 Remove redundant (require 'timer).
1f48f7d2 9682
c5b40130
LL
9683 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9684 (ido-completions): Remove unused arguments. (Bug#8329)
9685
d86d2721
SM
96862011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * minibuffer.el (completion--flush-all-sorted-completions):
9689 Remove itself from hook.
9690 (completion-at-point): Let the functions perform the completion
9691 immediately and return nil or t.
9692 * comint.el (comint-dynamic-complete-functions): Now identical to
9693 completion-at-point-functions.
9694 (comint-dynamic-list-input-ring): Remove unused var `index'.
9695 (comint--match-partial-filename, comint--unquote&expand-filename):
9696 New funs, split from comint-match-partial-filename.
9697 (comint-dynamic-complete): Use completion-at-point.
9698 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9699
e8974c48
DA
97002011-03-24 Drew Adams <drew.adams@oracle.com>
9701
9702 * thingatpt.el: Support `defun'.
9703
def71b5e
LL
97042011-03-23 Leo Liu <sdl.web@gmail.com>
9705
cb5af48e
LL
9706 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9707
def71b5e
LL
9708 * help-mode.el (help-mode-finish): Tweak regexp.
9709
927c53e7
GM
97102011-03-23 Glenn Morris <rgm@gnu.org>
9711
18d05bed
GM
9712 * eshell/esh-opt.el (eshell-eval-using-options):
9713 Do not bind unused local variable `eshell-option-stub'.
9714
927c53e7
GM
9715 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9716
9d0da923
JB
97172011-03-22 Juanma Barranquero <lekktu@gmail.com>
9718
9719 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9720 keymap variable in `with-no-warnings' to avoid a warning when the
9721 keymap has been already `defconst'ed.
9722
4b978a67
LL
97232011-03-22 Leo Liu <sdl.web@gmail.com>
9724
9725 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9726 encode all chars in abbrevs; otherwise use emacs-mule or
9727 utf-8-emacs. (Bug#8308)
9728
5fd62452
JB
97292011-03-22 Juanma Barranquero <lekktu@gmail.com>
9730
0b1596c6
JB
9731 * simple.el (backward-delete-char-untabify):
9732 Avoid warning about using `delete-backward-char'.
9733
5fd62452
JB
9734 * image.el (image-type-file-name-regexps): Make it variable.
9735 `imagemagick-register-types' modifies it, and the user may want
9736 to add new extensions for known image types.
9737 (imagemagick-register-types): Throw error if not using ImageMagick.
9738
0b4e93f1
LL
97392011-03-22 Leo Liu <sdl.web@gmail.com>
9740
9741 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9742 located before rcirc-prompt-end-marker.
9743 (rcirc-complete): Error if point is not after rcirc prompt.
9744 Handle the case when table is nil.
9882e214 9745 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9746
fccee4ab
CY
97472011-03-22 Chong Yidong <cyd@stupidchicken.com>
9748
9749 * custom.el (custom--inhibit-theme-enable): Make it affect only
9750 custom-theme-set-variables and custom-theme-set-faces.
9751 (provide-theme): Ignore custom--inhibit-theme-enable.
9752 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9753 (custom-enabling-themes): Delete variable.
d86d2721
SM
9754 (enable-theme): Accept only loaded themes as arguments.
9755 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9756 (custom-enabled-themes): Forbid themes from setting this.
9757 Eliminate use of custom-enabling-themes.
9758 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9759
af896da6
LL
97602011-03-21 Leo Liu <sdl.web@gmail.com>
9761
9762 * ido.el (ido-read-internal): Add ido-selected to history instead
9763 of user input.
9764
78f64af0
SM
97652011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * subr.el (deferred-action-list, deferred-action-function):
9768 Mark obsolete.
9769
b16ac1ec
LL
97702011-03-21 Leo Liu <sdl.web@gmail.com>
9771
810f7698
LL
9772 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9773 change on 2011-02-13 (bug#8309).
9774
b16ac1ec
LL
9775 * minibuffer.el (read-file-name-function): Change default value.
9776 (read-file-name--defaults): Rename from read-file-name-defaults.
9777 (read-file-name-default): Rename from read-file-name.
9778 (read-file-name): Call read-file-name-function.
9779
4e05e67e
GM
97802011-03-21 Glenn Morris <rgm@gnu.org>
9781
9782 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9783 Doc fixes.
9784
4359915b
CY
97852011-03-21 Chong Yidong <cyd@stupidchicken.com>
9786
9787 * cus-theme.el: Add missing provide statement.
9788 (customize-create-theme): Extract theme value correctly.
9789 (custom-theme-visit-theme): Autoload.
9790 (customize-create-theme): Prompt before inserting default faces.
9791
1fe275ee
JB
97922011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9793
9794 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9795 units and musical notes.
9796
cd394be1 97972011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9798
9799 * ido.el (ido-read-internal): Use completing-read-default.
9800 (ido-completing-read): Fix compatibility with completing-read.
9801
7d476bde
CO
98022011-03-20 Christian Ohler <ohler@gnu.org>
9803
9804 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9805 (ert-delete-all-tests): Use `called-interactively-p' rather than
9806 `interactive-p'.
9807 (ert--make-xrefs-region): Respect END.
9808
fe0fb33e
CY
98092011-03-19 Chong Yidong <cyd@stupidchicken.com>
9810
ff854b0b
CY
9811 * dired-aux.el (dired-create-directory): Signal an error if the
9812 directory already exists (Bug#8246).
9813
fe0fb33e
CY
9814 * facemenu.el (list-colors-display): Call list-faces-display
9815 inside with-help-window.
9816 (list-colors-print): Use display property to align the final
9817 column, instead of checking window-width.
9818
576bce32
EZ
98192011-03-19 Eli Zaretskii <eliz@gnu.org>
9820
4d61f28d 9821 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9822 windows-nt systems.
9823 (emerge-protect-metachars): Quote correctly for ms-dos and
9824 windows-nt systems.
9825
89c41d68 98262011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9827
9828 * info.el (info-initialize): Replace all uses of `:' with
9829 path-separator for compatibility with non-Unix systems.
9830 Cache quoting of path-separator. (Bug#8258)
9831
b14e3e21 98322011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9833
9834 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9835 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9836 (mouse-avoidance-mode): Fix typos in docstrings.
9837
4525ce3e
CY
98382011-03-19 Chong Yidong <cyd@stupidchicken.com>
9839
9840 * startup.el (package-subdirectory-regexp): Move from package.el.
9841 Omit \\` and \\', and let callers add them.
9842
9843 * emacs-lisp/package.el (package-strip-version)
9844 (package-load-all-descriptors): Add \\` and \\' to
9845 package-subdirectory-regexp before using it.
9846 (package-untar-buffer): New arg DIR; ensure that file untars only
9847 into this expected directory. Remove superfluous delete-region.
9848 (package-unpack): Caller changed.
9849 (package-tar-file-info): Use package-subdirectory-regexp.
9850
a904a09a 98512011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9852
a904a09a
SM
9853 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9854 diff-mode-shared-map (bug#8284).
9855 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9856
98572011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9858
9859 * calendar/time-date.el (format-seconds): Use assoc instead of
9860 assoc-string, since assoc-string doesn't exist in XEmacs.
9861
171fc304
JB
98622011-03-17 Juanma Barranquero <lekktu@gmail.com>
9863
9864 * custom.el (custom-known-themes): Reflow docstring.
9865 (custom-theme-load-path): Fix typo in docstring.
9866 (load-theme): Fix typo in error message.
9867 (custom-available-themes, custom-variable-theme-value):
9868 Use `let', not `let*'.
9869
d71990a1
JB
98702011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9871
9872 * calc/README: Mention inclusion of musical notes.
9873
9874 * calc/calc-units.el (calc-lu-quant): Rename from
9875 `calc-logunits-quantity'.
9876 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9877 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9878 (calc-db): Rename from `calc-dblevel'.
9879 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9880 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9881 (calc-np): Rename from `calc-nplevel'.
9882 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9883 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9884 (calc-lu-plus): Rename from `calc-logunits-add'.
9885 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9886 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9887 (calc-lu-minus): Rename from `calc-logunits-sub'.
9888 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9889 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9890 (calc-lu-times): Rename from `calc-logunits-mul'.
9891 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9892 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9893 (calc-lu-divide): Rename from `calc-logunits-div'.
9894 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9895 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9896
9897 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9898 functions being autoloaded.
9899
9900 * calc/calc.el (calc-lu-power-reference): Rename from
9901 `calc-logunits-power-reference'.
9902 (calc-lu-field-reference): Rename from
9903 `calc-logunits-field-reference'.
9904
9905 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9906
40c2934b
SM
99072011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * minibuffer.el (completion-all-sorted-completions):
9910 Use :completion-cycle-penalty text property if present.
9911
b0911414
KM
99122011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9913
9914 * allout.el (allout-yank-processing): Adjust for new rebulleting
9915 regime so bullet being yanked is used without prompting the user
9916 for a choice.
9917
8a05b668
JB
99182011-03-16 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * startup.el (command-line): Warn the user that _emacs is deprecated.
9921
5ba5fb81
JB
99222011-03-16 Juanma Barranquero <lekktu@gmail.com>
9923
9924 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9925 (delphi-verbose, delphi-comment-face, delphi-string-face)
9926 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9927 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9928 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9929 (delphi-new-comment-line, delphi-font-lock-defaults)
9930 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9931 Fix typos in docstrings.
9932
2dab465b
KM
99332011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9934
5ba5fb81 9935 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9936 Invert the roles of character and string values for INSTEAD, so a
9937 string is used for the more common case of a defaulting prompt.
9938
0adf5618
SM
99392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * progmodes/ruby-mode.el (ruby-backward-sexp):
9942 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9943 * play/gamegrid.el (gamegrid-make-face):
9944 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9945 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9946 * notifications.el (notifications-notify):
9947 * net/xesam.el (xesam-search-engines):
9948 * net/quickurl.el (quickurl-list-insert):
9949 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9950
d72700e5
CY
99512011-03-15 Chong Yidong <cyd@stupidchicken.com>
9952
9953 * startup.el (command-line): Update package subdirectory regexp.
9954
49c5410a
SM
99552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9956
c6eee9aa
SM
9957 * allout.el (allout-abbreviate-flattened-numbering)
9958 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9959
49c5410a
SM
9960 * subr.el (read-char-choice): Only show the cursor after the prompt,
9961 not after the answer.
9962
047b2bb9
KR
99632011-03-15 Kevin Ryde <user42@zip.com.au>
9964
9965 * help-fns.el (variable-at-point): Skip leading quotes, if any
9966 (bug#8253).
9967
0a57d256
SM
99682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9971 warning message.
9972
77c992bc
MA
99732011-03-14 Michael Albinus <michael.albinus@gmx.de>
9974
9975 * shell.el (shell): When called interactively, offer to change the
9976 shell file name on remote hosts.
9977
eebc475d
TZ
99782011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9979
9980 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9981 integration for LDAP parameters. The host, base, user or binddn,
9982 and secret tokens can be specified in a netrc file, for instance.
9983 This is optional because an `auth-source' parameter must be
9984 specified in the search attributes.
9985
9d05d1ba
JB
99862011-03-13 Juanma Barranquero <lekktu@gmail.com>
9987
9988 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9989
09d9db2c
GM
99902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9991
9992 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9993 into declaration. Remove redundant and harmful binding.
9994
99952011-03-12 Eli Zaretskii <eliz@gnu.org>
9996
9997 * files.el (file-ownership-preserved-p): Pass `integer' as an
9998 explicit 2nd argument to `file-attributes'. If the file's owner
9999 is the Administrators group on Windows, and the current user is
10000 Administrator, consider that a match.
10001
10002 * server.el (server-ensure-safe-dir): Consider server directory
10003 safe on MS-Windows if its owner is the Administrators group while
10004 the current Emacs user is Administrator. Use `=' to compare
10005 numerical UIDs, since they could be integers or floats.
10006
219bd536
JB
100072011-03-12 Juanma Barranquero <lekktu@gmail.com>
10008
10009 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10010
f3afd36b
MA
100112011-03-12 Michael Albinus <michael.albinus@gmx.de>
10012
10013 Sync with Tramp 2.2.1.
10014
10015 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10016
10017 * net/trampver.el: Update release number.
10018
3aaaa6f1
SM
100192011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10020
94642599
SM
10021 * progmodes/compile.el (compilation--previous-directory): Fix up
10022 various nil/dead-marker mismatches (bug#8014).
10023 (compilation-directory-properties, compilation-error-properties):
10024 Don't call it at a position past the one we're about to change.
10025
3aaaa6f1
SM
10026 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10027 Disable obsolescence warnings in the file that declares it.
10028
14239447
KM
100292011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10030
099c39a4
JB
10031 * allout-widgets.el (allout-widgets-tally):
10032 Initialize allout-widgets-tally as a hash table rather than nil to
10033 prevent mode-line redisplay warnings. Also, clarify the module
10034 description and fix a comment typo.
14239447 10035
135e287c
JB
100362011-03-11 Juanma Barranquero <lekktu@gmail.com>
10037
10038 * help-fns.el (describe-variable): Don't complete keywords.
10039 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10040
ffbf300e
CY
100412011-03-10 Chong Yidong <cyd@stupidchicken.com>
10042
ba08b241
CY
10043 * emacs-lisp/package.el (package-version-join): Impose a standard
10044 string representation for pre/alpha/beta version lists.
10045 (package-unpack-single): Standardize the directory name by passing
10046 it through package-version-join.
10047 (package-strip-rcs-id): Accept any version string that does not
10048 signal an error in version-to-list.
ffbf300e 10049
f346fd6b
MA
100502011-03-10 Michael Albinus <michael.albinus@gmx.de>
10051
10052 * simple.el (delete-trailing-whitespace): Return nil for the
10053 benefit of `write-file-functions'.
10054
ccb55d27
GM
100552011-03-10 Glenn Morris <rgm@gnu.org>
10056
5ceaac0c
GM
10057 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10058
02da65ff
GM
10059 * vc/vc-git.el (vc-git-program): New option.
10060 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10061 (vc-git--call): Use it.
10062
b2f603cc
GM
10063 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10064
5772caab
GM
10065 * cus-edit.el (Custom-newline): If no button at point, look
10066 for a subgroup button at start-of-line. (Bug#2298)
10067
ccb55d27
GM
10068 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10069
ec6ecaed
JD
100702011-03-10 Julien Danjou <julien@danjou.info>
10071
10072 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10073 `cursor-type' is nil.
10074
9d5aa01d
JB
100752011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10076
10077 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10078
b6a5875b
KM
100792011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10080
10081 * allout.el Summary: Change so yank of distinctive-bullet items
10082 preserves the existing header prefix, rebulleting it if necessary,
10083 rather than replacing it. This is necessary for proper operation
10084 of cooperative addons like allout-widgets.
1154d12e
JB
10085 (allout-make-topic-prefix, allout-rebullet-heading):
10086 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10087 value as alternate bullet to be used, instead of prompting the user
10088 for a bullet character.
b6a5875b 10089
ee545c35
MA
100902011-03-09 Michael Albinus <michael.albinus@gmx.de>
10091
d86d2721
SM
10092 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10093 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10094 `tramp-default-port'.
10095
c47971d7
DD
100962011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10097
10098 * net/rcirc.el (rcirc-handler-001): Remove useless
10099 with-rcirc-process-buffer.
10100 (rcirc-check-auth-status): Swap arguments to string-match.
10101
13522cb4
GM
101022011-03-09 Glenn Morris <rgm@gnu.org>
10103
0be6f4f1
GM
10104 * shell.el (shell-mode):
10105 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10106
13522cb4
GM
10107 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10108 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10109
515de2e3
CY
101102011-03-08 Chong Yidong <cyd@stupidchicken.com>
10111
10112 * emacs-lisp/package.el (package-refresh-contents)
10113 (package-menu-execute): Use condition-case-no-debug.
10114
b511b994
MA
101152011-03-08 Michael Albinus <michael.albinus@gmx.de>
10116
10117 * simple.el (shell-command-to-string): Use `process-file'.
10118
10119 * emacs-lisp/package.el (package-tar-file-info): Handle also
10120 remote files.
10121
d86d2721
SM
10122 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10123 Use `equal' for upload base check.
b511b994 10124
25bbfb31
AM
101252011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10126
10127 * textmodes/texinfo.el (texinfo-environments):
10128 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10129
be996521
GM
101302011-03-08 Glenn Morris <rgm@gnu.org>
10131
e9c8529f
GM
10132 * cus-start.el (cursor-in-non-selected-windows):
10133 Fix :set quoting oddness. (Bug#8192)
10134
be996521
GM
10135 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10136 in some setf expressions. (Bug#2159)
10137
2bb5649e
CY
101382011-03-08 Chong Yidong <cyd@stupidchicken.com>
10139
10140 * custom.el (custom-available-themes): Return themes in
10141 alphabetical order.
10142
33383987 10143See ChangeLog.15 for earlier changes.
e3d51b27
MR
10144
10145;; Local Variables:
10146;; coding: utf-8
e3d51b27
MR
10147;; End:
10148
acaf905b 10149 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10150
10151 This file is part of GNU Emacs.
10152
10153 GNU Emacs is free software: you can redistribute it and/or modify
10154 it under the terms of the GNU General Public License as published by
10155 the Free Software Foundation, either version 3 of the License, or
10156 (at your option) any later version.
10157
10158 GNU Emacs is distributed in the hope that it will be useful,
10159 but WITHOUT ANY WARRANTY; without even the implied warranty of
10160 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10161 GNU General Public License for more details.
10162
10163 You should have received a copy of the GNU General Public License
10164 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.