Fix last commit.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
70550acf
PH
12012-01-28 Phil Hagelberg <phil@hagelb.org>
2
3 * emacs-lisp/package.el (package-install): Run
80ed5304 4 package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5
0ce8e868
CY
62012-01-28 Chong Yidong <cyd@gnu.org>
7
8 * emacs-lisp/package.el (package-maybe-load-descriptor): New
9 function, split from package-maybe-load-descriptor.
10 (package-maybe-load-descriptor): Use it.
11 (package-download-transaction): Fully load required packages
12 inside the loop, so that `require' calls work (Bug#10593).
13 (package-install): No need to call package-initialize now.
14
2e7f3bea
CY
152012-01-28 Chong Yidong <cyd@gnu.org>
16
f823b8ca
CY
17 * tooltip.el (tooltip-mode): Doc fix.
18 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
19
2680c309
CY
20 * frame.el (set-cursor-color): Doc fix (Bug#352).
21
d7a9e63b
CY
22 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
23 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
24
2e7f3bea
CY
25 * cus-edit.el (custom-buffer-create-internal): Fix search button
26 action (Bug#10542).
2ae01800 27 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 28
fc4f7a23
EW
292012-01-27 Eduard Wiebe <usenet@pusto.de>
30
31 * dired.el (dired-mark-files-regexp):
32 Include any subdirectory components. (Bug#10445)
33
7dd37071
ML
342012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
35
36 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
37 Handle [host]:port syntax. (Bug#10533)
38
a268160b
AH
392012-01-27 Alex Harsanyi <harsanyi@mac.com>
40
41 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
42
e43273ef
GM
432012-01-26 Glenn Morris <rgm@gnu.org>
44
45 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
46 * term.el (term-raw-escape-map): Use Control-X-prefix.
47 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
48
1edf595d
MR
492012-01-25 Martin Rudalics <rudalics@gmx.at>
50
51 * window.el (window-state-get, window--state-get-1): Don't deal
52 with fixed-sizeness of windows. Simplify code.
53
fa8eafef
JC
542012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
55
56 * window.el (window--state-get-1, window--state-put-2): Don't
57 save and restore the mark.
58
0b21c100
CY
592012-01-25 Chong Yidong <cyd@gnu.org>
60
61 * custom.el (custom-variable-p): Doc fix.
62
5ae1a6c8
GM
632012-01-25 Glenn Morris <rgm@gnu.org>
64
40047858
GM
65 * dired.el (dired-goto-file): Handle some of the more common
66 characters that `ls -b' escapes. (Bug#10596)
67
5ddce96c
GM
68 * progmodes/compile.el (compilation-next-error-function):
69 Respect compilation-first-column in the "*compilation*" buffer.
70 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
71
5ae1a6c8
GM
72 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
73
b559f1a9
GM
742012-01-24 Glenn Morris <rgm@gnu.org>
75
76 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
77
6725d21a
JD
782012-01-24 Julien Danjou <julien@danjou.info>
79
80 * color.el (color-rgb-to-hsl): Fix value computing.
81 (color-hue-to-rgb): New function.
82 (color-hsl-to-rgb): New function.
83 (color-clamp, color-saturate-hsl, color-saturate-name)
84 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
85 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
86
70df4bbe
GM
872012-01-24 Glenn Morris <rgm@gnu.org>
88
89 * vc/vc-rcs.el (vc-rcs-create-tag):
90 * vc/vc-sccs.el (vc-sccs-create-tag):
91 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
92
802a2ae2
ML
932012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
94
95 * eshell/esh-util.el (eshell-read-hosts-file):
96 Skip comment lines. (Bug#10549)
97
d7128bb1
ML
98 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
99
d1a5c3b4
JB
1002012-01-23 Juanma Barranquero <lekktu@gmail.com>
101
2724d9c7
JB
102 * subr.el (display-delayed-warnings): Doc fix.
103 (collapse-delayed-warnings): New function to collapse identical
104 adjacent warnings.
105 (delayed-warnings-hook): Add it.
d1a5c3b4 106
a5509865
MA
1072012-01-22 Michael Albinus <michael.albinus@gmx.de>
108
109 * net/tramp.el (tramp-action-login): Set connection property "login-as".
110
111 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
112 properties, when "login-as" is set.
113
114 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
115 (tramp-default-user-alist): Don't add "pscp".
116 (tramp-do-copy-or-rename-file-out-of-band): Use connection
117 property "login-as", if set. (Bug#10530)
118
cc6d5805
MA
1192012-01-21 Michael Albinus <michael.albinus@gmx.de>
120
121 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
122 "plink1" and "psftp". (Bug#10530)
123
1242012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
125
126 * international/mule-cmds.el (prefer-coding-system): Show a
127 warning message if the default value of file-name-coding-system
128 was not changed.
129
f0960428
JC
1302012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
131
132 * windmove.el (windmove-reference-loc): Fix
133 windmove-reference-loc miscalculation.
134
dd6f2a63
JB
1352012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
136
137 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
138 default unit.
139
7b447e9b
GM
1402012-01-21 Glenn Morris <rgm@gnu.org>
141
117a9ea1
GM
142 * international/mule.el (auto-coding-alist): Add .tbz.
143
7b447e9b
GM
144 * files.el (local-enable-local-variables): Doc fix.
145 (inhibit-local-variables-regexps): Rename from
146 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
147 Doc fix. Add some extensions from auto-coding-alist.
148 (inhibit-local-variables-suffixes):
149 Rename from inhibit-first-line-modes-suffixes. Doc fix.
150 (inhibit-local-variables-p):
151 New function, extracted from set-auto-mode-1.
152 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
153 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
154 (hack-local-variables): Doc fix. Make the mode-only case
155 respect enable-local-variables and friends.
156 Respect inhibit-local-variables-regexps for file-locals, but
157 not for directory-locals.
158 (set-visited-file-name):
159 Take account of inhibit-local-variables-regexps.
160 Whether it applies may change as the file name is changed.
161 * jka-cmpr-hook.el (jka-compr-install):
162 * jka-compr.el (jka-compr-uninstall):
163 Update for inhibit-first-line-modes-suffixes name change.
164
dd6e3cdd
MR
1652012-01-20 Martin Rudalics <rudalics@gmx.at>
166
167 * help-macro.el (make-help-screen): Temporarily restore original
168 binding for minor-mode-map-alist (Bug#10454).
169
0d0deb38
JD
1702012-01-19 Julien Danjou <julien@danjou.info>
171
172 * color.el (color-name-to-rgb): Use the white color to find the max
173 color component value and return correctly computed values.
174 (color-name-to-rgb): Add missing float conversion for max value.
175
34a02f46
MR
1762012-01-19 Martin Rudalics <rudalics@gmx.at>
177
178 * window.el (window--state-get-1, window-state-get): Do not use
179 special state value for window-persistent-parameters. Rename
180 argument IGNORE to WRITABLE. Rewrite doc-string.
181 (window--state-put-2): Reset all window parameters to nil before
182 assigning values of persistent parameters.
183
606c44c4
AM
1842012-01-18 Alan Mackenzie <acm@muc.de>
185
186 Eliminate sluggishness and hangs in fontification of "semicolon
187 deserts".
188
189 * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
190 value 10000 -> 3000.
191 (c-state-safe-place): Reformulate so it doesn't stack up an
192 infinite number of wrong entries in c-state-nonlit-pos-cache.
193 (c-determine-limit-get-base, c-determine-limit): New functions to
194 determine backward search limits disregarding literals.
195 (c-find-decl-spots): Amend commenting.
196 (c-cheap-inside-bracelist-p): New function which detects "={".
197
198 * progmodes/cc-fonts.el
199 (c-make-font-lock-BO-decl-search-function): Give a limit to a
200 backward search.
201 (c-font-lock-declarations): Fix an occurrence of point being
202 undefined. Check additionally for point being in a bracelist or
203 near a macro invocation without a semicolon so as to avoid a
204 fruitless time consuming search for a declarator. Give a more
205 precise search limit for declarators using the new
206 c-determine-limit.
207
f3860cea
GM
2082012-01-18 Glenn Morris <rgm@gnu.org>
209
210 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
211 (set-auto-mode): Doc fixes.
212
1db03b16
GM
2132012-01-17 Glenn Morris <rgm@gnu.org>
214
0e6038be
GM
215 * isearch.el (search-nonincremental-instead): Fix doc typo.
216
1db03b16
GM
217 * dired.el (dired-insert-directory): Handle newlines in directory name.
218 (dired-build-subdir-alist): Unescape newlines in directory name.
219
4cb0aa75
MA
2202012-01-17 Michael Albinus <michael.albinus@gmx.de>
221
222 * net/tramp.el (tramp-local-end-of-line): New defcustom.
223 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
224 (tramp-action-terminal): Use it. (Bug#10530)
225
1d00653d
SM
2262012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * minibuffer.el (completion--replace): Strip properties (bug#10062).
229
6a6ee00d
MR
2302012-01-16 Martin Rudalics <rudalics@gmx.at>
231
232 * window.el (window-state-ignored-parameters): Remove variable.
233 (window--state-get-1): Rename argument MARKERS to IGNORE.
234 Handle persistent window parameters. Make copy of clone-of
235 parameter only if requested. (Bug#10348)
236 (window--state-put-2): Install a window parameter only if it has
237 a non-nil value or an existing parameter shall be overwritten.
238
97912def
MA
2392012-01-15 Michael Albinus <michael.albinus@gmx.de>
240
241 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
242
688070a5
EZ
2432012-01-14 Eli Zaretskii <eliz@gnu.org>
244
245 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
246 don't pass the (nil) value of `upnode' to string-match.
247
301afadc
CY
2482012-01-14 Chong Yidong <cyd@gnu.org>
249
250 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 251 Fix values recognized by the cursorBlink resource.
301afadc 252
9e5788aa
PE
2532012-01-14 Paul Eggert <eggert@cs.ucla.edu>
254
255 * epg.el (epg--make-temp-file): Avoid permission race condition
256 when running on old Emacs versions (bug#10403).
257
3cdb7f5a
GM
2582012-01-14 Glenn Morris <rgm@gnu.org>
259
260 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
261
8c82b1b4
AM
2622012-01-13 Alan Mackenzie <acm@muc.de>
263
264 Fix filling for when filladapt mode is enabled.
265
266 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
267 c-mask-paragraph, pass in `fill-paragraph' rather than
268 `fill-region-as-paragraph'. (This is a reversion of a previous
269 change.)
270 * progmodes/cc-mode.el (c-basic-common-init): Make
271 fill-paragraph-handle-comment buffer local and set it to nil.
272
e517eda4
GM
2732012-01-13 Glenn Morris <rgm@gnu.org>
274
1498536e
GM
275 * dired.el (dired-switches-escape-p): New function.
276 (dired-insert-directory): Use dired-switches-escape-p.
277 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
278
e517eda4
GM
279 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
280
328f984d
GM
2812012-01-12 Glenn Morris <rgm@gnu.org>
282
283 * mail/sendmail.el (mail-mode): Update paragraph-separate for
284 changes in adaptive-fill-regexp. (Bug#10276)
285
2cc769a8
AM
2862012-01-11 Alan Mackenzie <acm@muc.de>
287
288 Fix Emacs bug #10463 - put `widen's around the critical spots.
289
1d00653d 290 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
291 widen around each invocation of c-state-pp-to-literal. Remove an
292 unused let variable.
293
e52c37fa
GM
2942012-01-11 Glenn Morris <rgm@gnu.org>
295
296 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 297 Doc fix.
e52c37fa 298
96f8741e
CY
2992012-01-10 Chong Yidong <cyd@gnu.org>
300
1d00653d
SM
301 * net/network-stream.el (network-stream-open-starttls):
302 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
303 response to the capability command.
304
b09a806e
GM
3052012-01-10 Glenn Morris <rgm@gnu.org>
306
307 * mail/unrmail.el (unrmail): Tweak previous change.
308
7655cb66
CY
3092012-01-09 Chong Yidong <cyd@gnu.org>
310
311 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
312
9d5a8f0b
AM
3132012-01-08 Alan Mackenzie <acm@muc.de>
314
315 Optimise font locking in long enum definitions.
316
317 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
318 arm to a cond form to handle enums.
319 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
320 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
321
9a0115ab 3222012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
323
324 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 325 (Bug#10401)
6bb72cbd 326
f186bb95
LMI
3272012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
328
29232a68
LMI
329 * faces.el (set-face-attribute): Clarify the meaning of the nil
330 frame (bug#10294).
331
4e5d086d
LMI
332 * subr.el (with-selected-frame): Mention that the selected frame
333 is restored (bug#9980).
334
8e66aebe
LMI
335 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
336 (bug#9759).
337
cd394be1 338 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
339 (password-read): Don't autoload unused function.
340
adf4e762
JB
3412012-01-07 Juanma Barranquero <lekktu@gmail.com>
342
343 * progmodes/which-func.el (which-func-mode): Turn into a
344 non-interactive function and mark as obsolete (bug#10428).
345
89bd9ccd
CY
3462012-01-06 Chong Yidong <cyd@gnu.org>
347
348 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
349 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
350 functions, along with 1 and -1.
351
4afee9d5
EZ
3522012-01-06 Eli Zaretskii <eliz@gnu.org>
353
354 * time.el (display-time-load-average)
355 (display-time-default-load-average): Doc fixes. See the thread
356 starting at
357 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
358 for the details.
359
536aea70
GM
3602012-01-06 Glenn Morris <rgm@gnu.org>
361
665ae865
GM
362 * mail/unrmail.el (unrmail): Give an explicit error if the input file
363 has no messages. (Bug#10377)
364
c869783d
GM
365 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
366 than Info-edit. (Bug#10385)
367
2bb4227e
GM
368 * time.el (display-time-load-average, display-time-next-load-average):
369 Doc fixes.
370
7d5944b9
GM
371 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
372 local setting of buffer-read-only to the input buffer. (Bug#10419)
373
536aea70
GM
374 * calendar/calendar.el (calendar-mode):
375 Locally set scroll-margin to 0. (Bug#10379)
376
7dccca16
UM
3772012-01-06 Ulrich Mueller <ulm@gentoo.org>
378
379 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
380
afbb7930
GM
3812012-01-05 Glenn Morris <rgm@gnu.org>
382
383 * eshell/em-unix.el (diff-no-select): Autoload it.
384 (eshell/diff): Use diff-no-select. (Bug#10420)
385
04482335
CY
3862012-01-05 Chong Yidong <cyd@gnu.org>
387
7baca3bc
CY
388 * shell.el (shell-dynamic-complete-functions): Revert last change.
389 (shell-command-completion-function): New function.
390 (shell-completion-vars): Use it to implement
391 shell-completion-execonly (Bug#10417).
392
04482335
CY
393 * custom.el (enable-theme): Don't set custom-safe-themes.
394
1d00653d
SM
395 * cus-theme.el (custom-theme-merge-theme):
396 Ignore custom-enabled-themes and custom-safe-themes.
04482335 397
bb5aa5d6
MM
3982012-01-05 Michael R. Mauger <mmaug@yahoo.com>
399
400 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
401 first prompt in `sql-interacive-mode'.
402 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 403 keywords.
bb5aa5d6
MM
404 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
405 (sql-product-interactive): Bug fix: Set `sql-buffer' in
406 context of original buffer. Invoke `sql-login-hook'.
407
a7183d7c
EZ
4082012-01-04 Eli Zaretskii <eliz@gnu.org>
409
410 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
411 letters in cite-prefix.
412
a1eacd1e
LMI
4132012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
414
415 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
416
787cdb34
CY
4172012-01-03 Chong Yidong <cyd@gnu.org>
418
1d00653d
SM
419 * shell.el (shell-dynamic-complete-functions):
420 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
421 comint-filename-completion first (Bug#10417).
422
30710442
RS
4232012-01-02 Richard Stallman <rms@gnu.org>
424
425 * battery.el (battery-status-function):
426 Detect when to use battery-yeeloong-sysfs.
427 (battery-echo-area-format): Add string for Yeeloong.
428 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
429 (battery-yeeloong-sysfs): New function.
430
f75bfc33
CY
4312012-01-02 Chong Yidong <cyd@gnu.org>
432
433 * dirtrack.el (dirtrack-list): Eliminate unused third element.
434 (dirtrack): Merge code for handling relative filenames in prompt
435 from shell-dir-cookie-watcher.
436 (dirtrack-debug-message): New arg to avoid excess format calls.
437
438 * shell.el (shell-dir-cookie-re): Variable deleted.
439 (shell-dir-cookie-watcher): Function deleted.
440 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
441 with dirtrack-mode.
442
651e947e
EZ
4432012-01-01 Eli Zaretskii <eliz@gnu.org>
444
1d00653d
SM
445 * term/w32-win.el (dynamic-library-alist) <gnutls>:
446 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
447 libgnutls-26.dll.
448
94d4c7dc
AS
4492011-12-31 Andreas Schwab <schwab@linux-m68k.org>
450
451 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
452
8d43f3cd
EZ
4532011-12-31 Eli Zaretskii <eliz@gnu.org>
454
455 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
456 headers of non-MIME messages, when rmail-enable-mime is non-nil.
457
98c8795a
MA
4582011-12-29 Michael Albinus <michael.albinus@gmx.de>
459
460 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
461 also for alternative shells.
462 (tramp-open-connection-setup-interactive-shell): Check, whether
463 the shell is a busybox.
464 (tramp-send-command): Don't suppress multiple prompts for
465 busyboxes, it hurts.
466
51281b32
CY
4672011-12-28 Chong Yidong <cyd@gnu.org>
468
469 * progmodes/gdb-mi.el (gdb-get-source-file-list)
470 (gdb-get-source-file): Move mode line update to
471 gdb-get-source-file (Bug#10087).
472
2170cb53
CY
4732011-12-25 Chong Yidong <cyd@gnu.org>
474
475 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
476 gud-gdb-marker-filter without taking it as an argument.
477 (gud-gdb-run-command-fetch-lines): Caller changed.
478 (gud-gdb-completion-function): New variable.
479 (gud-gdb-completion-at-point): Use it.
480 (gud-gdb-completions-1): Split from gud-gdb-completions.
481
482 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
483 function as separate arguments.
484 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
485 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
486 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
487 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
488 (gdb-stopped, def-gdb-auto-update-trigger)
489 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
490 (gdb-get-changed-registers, gdb-get-main-selected-frame):
491 Callers changed.
2170cb53
CY
492 (gud-gdbmi-completions): New function.
493 (gdb): Use it for generating the completion table.
494
be8b11bb
AM
4952011-12-24 Alan Mackenzie <acm@muc.de>
496
497 Introduce a mechanism to widen the region used in context font
1d00653d 498 locking. Use this to protect declarations from losing their contexts.
be8b11bb 499
1d00653d
SM
500 * progmodes/cc-langs.el (c-before-font-lock-functions):
501 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 502 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
503 functions to be run just before context (etc.) font locking.
504
505 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 506 New, functionality extracted from
be8b11bb 507 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 508 (c-in-after-change-fontification): New variable.
be8b11bb
AM
509 (c-after-change): Set c-in-after-change-fontification.
510 (c-set-fl-decl-start): Rejig its interface, so it can be called
511 from both after-change and context fontifying.
b81d40f0
JB
512 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
513 New functions.
514 (c-standard-font-lock-fontify-region-function): New variable.
515 (c-font-lock-fontify-region): New function.
be8b11bb 516
341cf6ac
JL
5172011-12-24 Juri Linkov <juri@jurta.org>
518
519 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
520 (Bug#10348)
521
bffcee0a
MA
5222011-12-23 Michael Albinus <michael.albinus@gmx.de>
523
524 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
525 existence of source file. (Bug#10325)
526
cb5e207c
AM
5272011-12-23 Alan Mackenzie <acm@muc.de>
528
529 Fix unstable fontification inside templates.
530
b81d40f0
JB
531 * progmodes/cc-langs.el (c-before-font-lock-functions):
532 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
533 additionally has c-set-fl-decl-start. The other languages (apart
534 from AWK) have that as a single entry.
535
b81d40f0
JB
536 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
537 The functionality for "local" declarations has been extracted to
cb5e207c
AM
538 c-set-fl-decl-start.
539
b81d40f0
JB
540 * progmodes/cc-mode.el (c-common-init, c-after-change):
541 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
542 (c-set-fl-decl-start): New function, extracted from
543 c-font-lock-enclosing-decls and enhanced.
544
60ff536c
JB
5452011-12-23 Juanma Barranquero <lekktu@gmail.com>
546
547 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
548
1c4757d6
JL
5492011-12-22 Juri Linkov <juri@jurta.org>
550
551 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
552
d031f2c7
CY
5532011-12-22 Chong Yidong <cyd@gnu.org>
554
555 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
556
bace743a
DA
5572011-12-21 Drew Adams <drew.adams@oracle.com>
558
559 * files.el (file-remote-p): Fix docstring. (Bug#10319)
560
728a1f2b
JC
5612011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
562
563 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
564
0d373f73
TZ
5652011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
566
fec0aaa4
TZ
567 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
568 highlighting and support. Fix up comments for capitalization.
569 (cfengine-mode-debug): New var.
570 (cfengine3-mode): Change the modeline indicator to "CFE3".
571 (cfengine3-font-lock-keywords): Improve defun highlighting.
572 (cfengine2-actions): Rename from `cfengine-actions'.
573 (cfengine2-font-lock-keywords): Rename from
574 `cfengine-font-lock-keywords'.
575 (cfengine2-imenu-expression): Rename from
576 `cfengine-imenu-expression'.
577 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
578 (cfengine2-beginning-of-defun): Rename from
579 `cfengine-beginning-of-defun'.
580 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
581 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
582 (cfengine2-mode): Rename from `cfengine-mode'. Change the
583 modeline indicator to "CFE2".
584 (cfengine-mode): Defalias to `cfengine-auto-mode'.
585 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 586
bc86f573
CY
5872011-12-21 Chong Yidong <cyd@gnu.org>
588
589 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
590 filename argument.
591
d45ba96b
MR
5922011-12-20 Martin Rudalics <rudalics@gmx.at>
593
594 * window.el (window-normalize-buffer-to-display): Remove.
595 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
596
a6198c90
CY
5972011-12-19 Chong Yidong <cyd@gnu.org>
598
599 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
600 Don't signal an error in a predicate function; return non-nil.
601 (vc-dir-mark-file): Move the error here.
602 (vc-dir-mark-unmark): If acting on the region, keep going if one
603 of the entries cannot be marked/unmarked.
604 (vc-dir-mark-all-files): If current entry is a directory, mark
605 only child files, as documented.
606
34c5fb55
VB
6072011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
608
609 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
610 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
611 addition.
612
c803b2b7
JD
6132011-12-18 Jan Djärv <jan.h.d@swipnet.se>
614
615 * term/ns-win.el (ns-get-selection-internal)
616 (ns-store-selection-internal): Declare.
1154d12e
JB
617 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
618 Declare as obsolete.
619 (ns-get-pasteboard, ns-paste-secondary):
620 Use ns-get-selection-internal.
621 (ns-set-pasteboard, ns-copy-including-secondary):
622 Use ns-store-selection-internal.
c803b2b7 623
9cff91f8 6242011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
625
626 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 627 (vc-deduce-fileset): Doc fix.
99a289d9 628
f16c898a
AS
6292011-12-16 Andreas Schwab <schwab@linux-m68k.org>
630
631 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
632
763237c4
SS
6332011-12-13 Sam Steingold <sds@gnu.org>
634
635 * man.el (Man-getpage-in-background): When running under a
636 window-system, ignore $MANWIDTH and $COLUMNS.
637
5fc1c122
KH
6382011-12-15 Kenichi Handa <handa@m17n.org>
639
640 * language/ethio-util.el: Change coding tag to utf-8-emacs.
641 (setup-ethiopic-environment-internal): Comment out key-binding for
642 ethio-toggle-punctuation.
643
13d49cbb
AM
6442011-12-13 Alan Mackenzie <acm@muc.de>
645
898169a2
AM
646 Add the switch statement to AWK Mode.
647
648 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
649 "default" to the keywords regexp.
650
651 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
652 expression as the rest.
1d00653d
SM
653 (c-nonlabel-token-key): Allow string literals for AWK.
654 Refactor for the other modes.
898169a2 655
13d49cbb 656 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 657 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
658 routines. Limit backward searching in c-font-lock-enclosing.decl.
659
660 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
661 pp-state and literal type in addition to the limits.
1d00653d 662 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 663 (c-state-literal-at): Use the above new defun.
1d00653d
SM
664 (c-slow-in-literal, c-fast-in-literal): Remove.
665 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
666
667 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
668 being in a literal. Add a limit for backward searching.
669
670 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
671 c-slow-in-literal.
672
15e0efc7
SM
6732011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
676
454592a6
MR
6772011-12-13 Martin Rudalics <rudalics@gmx.at>
678
679 * window.el (delete-other-windows): Use correct frame in call to
680 window-with-parameter.
681
87393f26
DP
6822011-12-12 Daniel Pfeiffer <occitan@t-online.de>
683
684 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
685 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
686 (makefile-gmake-statements, makefile-makepp-statements):
687 Use it and add new makepp keywords.
688 (makefile-makepp-font-lock-keywords): Add new patterns.
689 (makefile-match-function-end): Match new [...] and [[...]].
690
11636b22
JB
6912011-12-11 Juanma Barranquero <lekktu@gmail.com>
692
693 * ses.el (ses-call-printer-return, ses-cell-property-get)
694 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
695 (ses-create-cell-variable, ses-reset-header-string)
696 (ses-cell-set-formula, ses-repair-cell-reference-all)
697 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
698 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
699 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
700 (ses-aset-with-undo, ses-load, ses-truncate-cell)
701 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
702 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
703 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
704 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
705 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
706 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
707 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
708 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
709
cf018193
VB
7102011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
711
712 * ses.el: The overall change is to add cell renaming, that is
713 setting fancy names for cell symbols other than name matching
714 "\\`[A-Z]+[0-9]+\\'" regexp .
715 (ses-create-cell-variable): New defun.
716 (ses-relocate-formula): Relocate formulas only for cells the
717 symbols of which are not renamed, i.e. symbols whose names do not
718 match regexp "\\`[A-Z]+[0-9]+\\'".
719 (ses-relocate-all): Relocate values only for cells the symbols of
720 which are not renamed.
721 (ses-load): Create cells variables as the (ses-cell ...) are read,
722 in order to check row col consistency with cell symbol name only
723 for cells that are not renamed.
724 (ses-replace-name-in-formula): New defun.
725 (ses-rename-cell): New defun.
726
ee957461
CY
7272011-12-11 Chong Yidong <cyd@gnu.org>
728
729 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
730 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
731
9a9e9ef0
MR
7322011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
733
734 * window.el (other-window): Fix docstring.
735
92a8eba5
EZ
7362011-12-10 Eli Zaretskii <eliz@gnu.org>
737
738 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
739 `from' or `to' address before taking its substring.
740 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
741 encoded name is chopped in the middle of the encoded string, and
742 thus displayed encoded.
743
e152e577
JB
7442011-12-10 Juanma Barranquero <lekktu@gmail.com>
745
746 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
747
e5d84bfe
EZ
7482011-12-10 Eli Zaretskii <eliz@gnu.org>
749
750 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
751 to use texinfo-update-node and commands that call it if the
752 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 753 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
754 (texinfo-all-menus-update, texinfo-master-menu)
755 (texinfo-update-node, texinfo-every-node-update)
756 (texinfo-multiple-files-update): Doc fix. Warn against updating
757 all the @node lines.
758 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
759 argument is numeric. Explain better in the doc string what the
760 function really does.
761 (texinfo-insert-master-menu-list): Improve the error message
762 displayed if there's no menu in the Top node.
763 (Bug#2975) See also this thread:
e5d84bfe
EZ
764 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
765
1d84e9bb
MG
7662011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
767
768 * speedbar.el (speedbar-supported-extension-expressions):
769 Add .adb and .ads, commonly used for Ada source code (bug#10256).
770
382c953b
JB
7712011-12-09 Juanma Barranquero <lekktu@gmail.com>
772
773 * printing.el (pr-mode-alist):
774 * simple.el (filter-buffer-substring-functions)
775 (completion-list-insert-choice-function):
776 * window.el (window-with-parameter, window-atom-root)
777 (window-sides-slots, window-size-fixed, window-min-delta)
778 (window-max-delta, window--resize-mini-window)
779 (window--resize-child-windows-normal, window-tree)
780 (delete-other-windows, quit-window, split-window)
781 (display-buffer-record-window, special-display-buffer-names)
782 (special-display-regexps, special-display-popup-frame)
783 (same-window-p, split-window-sensibly)
784 (display-buffer-overriding-action, display-buffer-alist)
785 (display-buffer-base-action, display-buffer, switch-to-buffer)
786 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
787 (fit-window-to-buffer, recenter-positions)
788 (mouse-autoselect-window-state, mouse-autoselect-window-select):
789 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
790 and remove unneeded backslashes in docstrings.
791
39c9faef
SM
7922011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
793
98449af8
SM
794 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
795
39c9faef
SM
796 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
797 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
798 end in ".mk".
799 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
800 when reading the makefile (bug#10116).
801
86ed9fdc
SM
8022011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
805 (bug#10116).
806
5580f89d
GM
8072011-12-06 Glenn Morris <rgm@gnu.org>
808
809 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
810
28d3917c
CY
8112011-12-06 Chong Yidong <cyd@gnu.org>
812
813 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
814
a98edce9
JB
8152011-12-06 Juanma Barranquero <lekktu@gmail.com>
816
817 * textmodes/table.el (table-shorten-cell): Fix typo.
818
e65adfac
CG
8192011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
820
821 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
822
71cc0b74
EZ
8232011-12-05 Eli Zaretskii <eliz@gnu.org>
824
825 * descr-text.el (describe-char): Fix display of strong
826 right-to-left characters and directional embeddings and overrides.
827
828 * simple.el (what-cursor-position): Fix display of codepoints of
829 strong right-to-left characters.
830
315bc30d
CY
8312011-12-05 Chong Yidong <cyd@gnu.org>
832
833 * faces.el (read-color): Doc fix.
834
58a70b94
GM
8352011-12-05 Glenn Morris <rgm@gnu.org>
836
837 * align.el (align--set-marker): Add doc-string.
838 Don't try to move something that is not a marker. (Bug#10216)
839
5158face
GM
8402011-12-04 Glenn Morris <rgm@gnu.org>
841
842 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
843 overly zealous deletion of trailing whitespace.
844
520fca41
JB
8452011-12-04 Juanma Barranquero <lekktu@gmail.com>
846
847 * server.el (server-delete-client): On Windows, do not try to delete
848 the only terminal.
849 (server-process-filter): On Windows, treat requests for a tty frame as
850 if they were for a GUI frame if the running server is in GUI mode.
851
5e605a2e
GM
8522011-12-03 Glenn Morris <rgm@gnu.org>
853
854 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
855
5c3fe83f
SM
8562011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
857
6f5e57e7
SM
858 * electric.el: Streamline electric-indent's hook.
859 (electric-indent-chars): Revert to simple list.
860 (electric-indent-functions): New var.
861 (electric-indent-post-self-insert-function): Use it.
862
5c3fe83f
SM
863 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
864 there's no inferior buffer (bug#10196).
865 (prolog-consult-compile): Don't use toggle-read-only.
866
6bdac736
MA
8672011-12-02 Michael Albinus <michael.albinus@gmx.de>
868
869 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
870 interrupt. (Bug#10187)
871
6131ba7f
SM
8722011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
873
99c79fee
SM
874 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
875 (bug#9160).
876
6131ba7f
SM
877 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
878 (bug#10191).
879
cb0a02ea
JL
8802011-12-02 Juri Linkov <juri@jurta.org>
881
882 * info.el (Info-search): Display "end of manual" when Isearch
883 reaches the end of single-file Info manual. (Bug#9918)
884
66e0570c
EZ
8852011-12-02 Eli Zaretskii <eliz@gnu.org>
886
887 * isearch.el (isearch-message-prefix): Run the input method part
888 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
889
02b16839
JL
8902011-12-02 Juri Linkov <juri@jurta.org>
891
892 * isearch.el (isearch-occur): Use `word-search-regexp' for
893 `isearch-word'.
894 (isearch-search-and-update): Add condition for `isearch-word' and
895 call `word-search-regexp'. (Bug#10145)
896
0b950688
GM
8972011-12-01 Glenn Morris <rgm@gnu.org>
898
899 * eshell/em-hist.el (eshell-hist-initialize):
900 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 901 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 902
9505c3c7
SM
9032011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
906
1bbe96b2 9072011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 908
a1beca85
SM
909 * progmodes/verilog-mode.el (verilog-pretty-expr):
910 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
911 verilog, such as += *= and the like.
912 (verilog-assignment-operator-re): Regular expression to find the
913 assigment operator in a verilog assignment.
914 (verilog-assignment-operation-re): Regular expression to find an
915 assignment statement for pretty-expr.
916 (verilog-in-attribute-p): Query returns true if point is in an
917 attribute context; used to skip these for expression line up from
918 pretty-expr.
919 (verilog-in-parameter-p): Query returns true if point is in an
920 parameter definition context; used to skip these for expression
921 line up from pretty-expr.
922 (verilog-in-parenthesis-p): Query returns true if point is in a
923 parenthetical expression, specifically ( ) but not [ ] or { };
924 used by pretty-expr.
925 (verilog-just-one-space): If there is no space, don't add one.
926 (verilog-get-lineup-indent-2): Specifically skip just attribute
927 contexts for expression lineup, rather than skipping all
928 parenthetical expressions.
929 (verilog-calculate-indent): Fix comment, and fix indent.
930 (verilog-do-indent): Indent declarations in lists (suggested by
931 Joachim Lechner).
932 (verilog-mode-abbrev-table): Populate abbrev mode with the various
933 skeleton items.
934 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
935 by Alain Mellan).
936
1bbe96b2 9372011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
938
939 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
940 parameters with embedded comments. Reported by Ray Stevens.
941 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
942 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
943 Reported by Tim Holt.
944 (verilog-auto): Fix AUTOing a upper module then AUTOing module
945 instantiated by upper module causing wrong expansion until AUTOed a
946 second time. Reported by K C Buckenmaier.
947 (verilog-diff-auto): Fix showing .* as a difference when
948 `verilog-auto-star-save' off. Reported by Dan Dever.
949 (verilog-auto-reset, verilog-read-always-signals)
950 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
951 temporary signals in reset list if
952 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
953 style to each signal's assignment type, bug381.
954 Reported by Thomas Esposito.
6288f0ca
WS
955 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
956 (verilog-uvm-statement-re): Support UVM indentation and
957 highlighting, with old OVM keywords only.
a1beca85 958 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
959 Support AUTOTIEOFF creating non-wire data types.
960 Suggested by Jonathan Greenlaw.
6288f0ca
WS
961 (verilog-auto-insert-lisp, verilog-delete-to-paren)
962 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
963 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
964 (verilog-read-sub-decls, verilog-read-sub-decls-line):
965 Fix mismatching parenthesis inside commented out code when deleting
382c953b 966 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
967 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
968 non-numeric vector width. Reported by Alex Reed.
969 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 970 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
971 (verilog-auto-delete-trailing-whitespace):
972 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
973 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
974 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
975 Fix verilog-scan-cache corruption when running user AUTO expansion
976 hooks that call indentation routines.
977 (verilog-simplify-range-expression): Fix typo ignoring lower case
978 identifiers.
979 (verilog-delete-auto): Fix delete-autos to also remove user created
980 automatics, as long as they start with AUTO.
981 (verilog-batch-diff-auto, verilog-diff-auto)
982 (verilog-diff-function): Add `verilog-diff-auto' and bind to
983 "C-c?" to report differences in AUTO expansion, ignoring spaces.
984 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
985 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
986 (verilog-re-search-forward-quick, verilog-syntax-ppss):
987 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
988 is disabled and its cache will get corrupt, causing AUTOS not to
989 expand. Instead use only -quick functions.
990 (verilog-scan-region): Fix scanning over escaped quotes.
991 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
992 (verilog-re-search-backward-quick)
993 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
994 related functions now ignore strings, to fix misparsing of strings
995 with magic comments embedded in them.
a1beca85
SM
996 (verilog-read-auto-template):
997 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
998 Reported by Brad Dobbie.
999 (verilog-read-auto-template):
1000 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1001 Reported by Brad Dobbie.
6288f0ca
WS
1002 (verilog-auto-inst, verilog-auto-inst-param)
1003 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1004 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1005 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1006 debugging templates without merge conflicts, bug357.
1007 Reported by Brad Dobbie.
1008 (verilog-read-auto-template):
1009 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1010 Reported by Brad Dobbie.
1011 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1012 abbrevs so user won't be asked to save.
1013 (verilog-read-auto-lisp-present): Fix to start at beginning of
1014 buffer in case called outside of verilog-auto.
1015 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1016 to "X-2". Reported by Matthew Myers.
1017 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1018 all inputs from module templates. Reported by Leith Johnson.
1019 (verilog-module-inside-filename-p): Fix locating programs as with
1020 modules.
1021 (verilog-auto-inst-port): Fix vl-width expressions when using
1022 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1023 (verilog-decls-get-regs, verilog-decls-get-signals,
1024 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1025 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1026 verilog-read-decls): Combine reg and wire structures into one var
1027 structure to represent SystemVerilog concepts.
1028 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1029 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1030 (verilog-auto-wire-type, verilog-insert-definition):
1031 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1032 SystemVerilog "logic" keyword instead of "wire"/"reg".
1033 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1034 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1035 ifdef or generate if so there's not a driver conflict).
1036 Reported by Matthew Myers.
1037 (verilog-auto-declare-nettype, verilog-insert-definition):
1038 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1039 `default_nettype none. Reported by Julian Gorfajn.
1040 (verilog-read-always-signals-recurse, verilog-read-decls)
1041 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1042 malformed end statement, bug325. Reported by Joshua Wise and
1043 Andrew Drake.
1044 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1045 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1046 when expanding .* in interfaces, bug320.
1047 Reported by Pierre-David Pfister.
6288f0ca 1048 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1049 name and open parenthesis, bug317.
1050 Reported by Pierre-David Pfister.
6288f0ca
WS
1051 (verilog-simplify-range-expression): Fix simplification of
1052 multiplications inside AUTOWIRE connections, bug303.
1053 (verilog-auto-inst-port): Support parameter expansion in
1054 multidimensional arrays.
1055 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1056 after "assert property". Reported by Julian Gorfajn.
1057 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1058 with multiplication, bug303.
1059 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1060 Reported by Jan Frode Lonnum.
1061
1bbe96b2
GM
10622011-11-30 Juanma Barranquero <lekktu@gmail.com>
1063
1064 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1065 (hfy-shell-file-name, hfy-shell):
1066 * international/fontset.el (x-decompose-font-name): Fix typos.
1067
10682011-11-29 Ken Brown <kbrown@cornell.edu>
1069
1070 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1071 (gdb-version): Remove defvar.
1072 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1073 (gdb-gud-context-command, gdb-non-stop-handler)
1074 (gdb-current-context-command, gdb-stopped): Use it.
1075 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1076 (gdb-non-stop-handler): Don't enable pretty-printing here.
1077 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1078 non-stop mode. Use the following.
1079 (gdb-check-target-async): New defun.
1080 (gud-watch, gdb-stopped): Fix whitespace.
1081 (gdb-get-source-file): Don't try to display the source file if
1082 `gdb-main-file' is nil.
1083
10842011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * align.el: Try to generate fewer markers (bug#10047).
1087 (align--set-marker): New macro.
1088 (align-region): Use it.
1089
c935221f
SM
10902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1093
e70b5064
CY
10942011-11-29 Chong Yidong <cyd@gnu.org>
1095
1096 * indent.el (indent-for-tab-command, indent-according-to-mode):
1097 Doc fix.
1098 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1099
f3af92b7
MA
11002011-11-29 Michael Albinus <michael.albinus@gmx.de>
1101
1102 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1103 aware of remote file names. (Bug#10124)
1104
ed472be9
CY
11052011-11-29 Chong Yidong <cyd@gnu.org>
1106
1107 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1108
24510c22
SM
11092011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * files.el (find-file): Don't use force-same-window (bug#10144).
1112 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1113 use pop-to-buffer if the selected window can't be used.
1114 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1115
c60c3703
EZ
11162011-11-28 Eli Zaretskii <eliz@gnu.org>
1117
1118 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1119 special-mode-map.
1120
e95def75
CY
11212011-11-28 Chong Yidong <cyd@gnu.org>
1122
1123 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1124
c3f1c606
NR
11252011-11-27 Nick Roberts <nickrob@snap.net.nz>
1126
1127 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1128 gdb-get-source-file-list on gdb-create-source-file-list.
1129
00db469c
EZ
11302011-11-26 Eli Zaretskii <eliz@gnu.org>
1131
1132 * whitespace.el (whitespace-newline): Use a different foreground
1133 color for 16-color light-background displays.
1134
4ad3bc2a
CY
11352011-11-24 Chong Yidong <cyd@gnu.org>
1136
1137 * window.el (display-buffer--special-action): Doc fix.
1138
e9fce1ac
JB
11392011-11-25 Juanma Barranquero <lekktu@gmail.com>
1140
1141 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1142 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1143 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1144 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1145 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1146 (avl-tree-stack-first):
1147 * emacs-lisp/cconv.el (cconv--analyse-use):
1148 * net/gnutls.el (gnutls-negotiate): Fix typos.
1149
cb825e5d
GM
11502011-11-24 Glenn Morris <rgm@gnu.org>
1151
3adbe224
GM
1152 * lpr.el (lpr-windows-system, lpr-lp-system):
1153 * mail/binhex.el (binhex-begin-line):
1154 * progmodes/grep.el (grep-history, grep-find-history):
1155 * textmodes/flyspell.el:
1156 * vc/pcvs-defs.el (cvs-global-menu):
1157 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1158 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1159 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1160
321decc8
GM
1161 * net/tls.el: Fix case of "GnuTLS".
1162
420b63ad
GM
1163 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1164
cb825e5d
GM
1165 * version.el (emacs-build-system): Give it a doc-string.
1166
a0649f08
JL
11672011-11-24 Juri Linkov <juri@jurta.org>
1168
1169 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1170
c0bc0fd4
GM
11712011-11-24 Glenn Morris <rgm@gnu.org>
1172
1173 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1174 if called on a non-mime message just toggle the headers. (Bug#8006)
1175
20db1522
JB
11762011-11-24 Juanma Barranquero <lekktu@gmail.com>
1177
1178 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1179 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1180 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1181 (allout-rebullet-heading, allout-open-sibtopic)
1182 (allout-toggle-current-subtree-encryption)
1183 (allout-toggle-subtree-encryption, allout-encrypt-string)
1184 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1185 (allout-distinctive-bullets-string, allout-auto-activation):
1186 * window.el (window-normalize-buffer-to-display):
1187 * progmodes/verilog-mode.el (verilog-batch-indent):
1188 * textmodes/bibtex.el (bibtex-field-braces-opt)
1189 (bibtex-field-strings-opt):
1190 * vc/cvs-status.el (cvs-tree-merge):
1191 Fix typos.
1192
7262a87c
MA
11932011-11-23 Michael Albinus <michael.albinus@gmx.de>
1194
1195 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1196 `non-essential' to t, in order to avoid remote connections.
1197
283430a1
EZ
11982011-11-23 Eli Zaretskii <eliz@gnu.org>
1199
a1beca85
SM
1200 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1201 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1202 case-insensitively.
1203
d2992a38
ML
12042011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1205
1206 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1207
50419064
GM
12082011-11-23 Glenn Morris <rgm@gnu.org>
1209
da94eca1
GM
1210 * paths.el (rmail-file-name): Reformat the doc-string so that it
1211 is picked up.
1212
9aac4de2
GM
1213 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1214 (rmail-auto-file): Ignore case in the "special" field names,
1215 as mail-fetch-field does for all others.
1216
8038d2d2
GM
1217 * mail/rmail.el (rmail-forward):
1218 * mail/rmailkwd.el (rmail-set-label):
1219 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1220 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1221
f3fe222a
GM
1222 * mail/rmail.el (rmail-current-message): Doc fix.
1223
50419064
GM
1224 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1225
28109f49
SM
12262011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1229
394c65f1
GM
12302011-11-22 Glenn Morris <rgm@gnu.org>
1231
1232 * mail/rmailmm.el (test-rmail-mime-handler)
1233 (test-rmail-mime-bulk-handler)
1234 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1235
f2a0aa3a
JL
12362011-11-21 Juri Linkov <juri@jurta.org>
1237
1154d12e
JB
1238 * calc/calc.el (calc-read-key-sequence):
1239 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1240
9c34a344
LMI
12412011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1242
1243 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1244 Tell the caller that the next line needs recomputation, even
1245 though it doesn't start a sexp (bug#10094).
1246
f04a3be9
SM
12472011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1250
7978747f
SM
12512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1252
f04a3be9
SM
1253 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1254 Use force-same-window.
7978747f 1255
fe7a3057
JB
12562011-11-20 Juanma Barranquero <lekktu@gmail.com>
1257
1258 * descr-text.el (describe-char-unicode-data):
1259 * json.el (json-string-escape):
1260 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1261 (Footnote-unicode, Footnote-style-p):
1262 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1263
24901d61
CY
12642011-11-20 Chong Yidong <cyd@gnu.org>
1265
1266 * window.el (replace-buffer-in-windows): Restore interactive spec.
1267
bac7ff22
SM
12682011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1269
24f3d7b9
SM
1270 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1271
bac7ff22
SM
1272 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1273 (byte-compile-global-not-obsolete-vars): New var.
1274 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1275 Use it.
1276 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1277
cd1181db
JB
12782011-11-20 Juanma Barranquero <lekktu@gmail.com>
1279
1280 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1281 * progmodes/pascal.el (electric-pascal-equal):
1282 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1283 * xml.el (xml-substitute-special): Fix typos.
1284
7fb18e9e
GM
12852011-11-20 Glenn Morris <rgm@gnu.org>
1286
1287 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1288 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1289 Doc fixes.
1290 (rmail-decode-mime-charset): Mark as obsolete.
1291
1292 * mail/rmailsum.el (rmail-message-regexp-p-1):
1293 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1294 Before using mime functions, check they are set. (Bug#10077)
1295
d5a6b3ba
JL
12962011-11-19 Juri Linkov <juri@jurta.org>
1297
1298 * info.el (Info-finder-find-node): Use `package--builtins' instead
1299 of `package-alist'. Use node names formed by the pattern "Keyword "
1300 and the keyword name.
1301
e981b61f
AS
13022011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1303
1d00653d 1304 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1305
3ffbc301
JL
13062011-11-19 Juri Linkov <juri@jurta.org>
1307
1308 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1309 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1310 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1311 `old-history', `old-history-forward'. Add let-binding
1312 `window-selected'. Remove calls to `kill-buffer',
1313 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1314 before calling `Info-find-node', so `Info-find-node-2' will reread
1315 the Info file. Restore window positions only when `window-selected'
1316 is non-nil.
1317
30c62133
JL
13182011-11-19 Juri Linkov <juri@jurta.org>
1319
1320 * isearch.el (isearch-lazy-highlight-new-loop):
1321 Remove condition `(not isearch-error)'. (Bug#9918)
1322
1323 * misearch.el (multi-isearch-search-fun): Add condition
1324 `(not bound)' to ignore lazy-highlighting search.
1325 Add the search-failed message "end of multi" when the end of
1326 multi-sequence is reached. Uncapitalize the search-failed
1327 message "Repeat for next buffer".
1328
1329 * info.el (Info-search): Add the search-failed message
1330 "end of the manual" when the end of the manual is reached
1331 in Isearch mode.
1332
645ca9cf
JL
13332011-11-19 Juri Linkov <juri@jurta.org>
1334
1335 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1336 Use non-destructive `remove' instead of `delete' because
1337 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1338 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1339
df754f66
JL
13402011-11-19 Juri Linkov <juri@jurta.org>
1341
1342 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1343 to nil instead of binding `search-ring' and `regexp-search-ring'.
1344 (Bug#9185)
1345
0e23d96a
EZ
13462011-11-19 Eli Zaretskii <eliz@gnu.org>
1347
1348 * simple.el (line-move): Force movement by logical lines for any
1349 hscrolled window, not only when auto-hscroll-mode is on.
1350 (line-move-visual): Update doc string to that effect. (Bug#10076)
1351
8a6ccb66
AS
13522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1353
1354 * language/european.el (macintosh): Define as alias for mac-roman.
1355
49ae5b39
EZ
13562011-11-19 Eli Zaretskii <eliz@gnu.org>
1357
1358 * mail/rmailmm.el (rmail-mime-display-header)
1359 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1360 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1361 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1362 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1363 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1364 of a raw aref.
1365 (rmail-mime-entity-segment): To get past the tagline, move forward
1366 2 more lines, to account for the 2 empty lines that precede and
1367 follow the line with the buttons.
1368 (rmail-mime-update-tagline): Move one more line, to get past the
1369 empty line that follows the buttons in the tagline. (Bug#9520)
1370
c56cad4a
MR
13712011-11-19 Martin Rudalics <rudalics@gmx.at>
1372
1373 * window.el (window-max-delta-1, window-min-delta-1)
1374 (window-min-size-1, window-state-get-1, window-state-put-1)
1375 (window-state-put-2): Use "window--" prefix.
1376
cbe71af3
SM
13772011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1378
2ad52c60
SM
1379 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1380 (smie-warning-count): New var.
1381 (smie-set-prec2tab): Use it.
1382 (smie-bnf->prec2): Improve warnings. Add docstring.
1383 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1384 (smie-bnf--set-class): New function.
1385 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1386 corner case.
1387
6944dbc1
SM
1388 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1389 (compilation-error-properties, compilation-move-to-column):
1390 Handle compilation-first-column while in the target buffer.
1391
c400c4d7
SM
1392 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1393 Don't hardcode point-min==1.
1394
6dbe3e96
SM
1395 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1396 (eshell-rewrite-for-command): Remove workaround.
1397 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1398 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1399 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1400
cbe71af3
SM
1401 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1402
a8e1496d
GM
14032011-11-17 Glenn Morris <rgm@gnu.org>
1404
1405 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1406 Ignore buffer-local generated-autoload-file if it is the same
1407 as the global value. (Bug#10049)
1408
df85d315
JB
14092011-11-17 Juanma Barranquero <lekktu@gmail.com>
1410
1411 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1412 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1413 (reftex-toc-previous-heading, reftex-toc-max-level)
1414 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1415 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1416 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1417 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1418 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1419 (reftex-toc-rename-label, reftex-toc-visit-location)
1420 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1421 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1422 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1423 leaving "*toc*" only for references to the buffer.
1424
a0c2d0ae
MR
14252011-11-17 Martin Rudalics <rudalics@gmx.at>
1426
1427 * window.el (window-resize, delete-window, split-window):
1428 Replace window-splits by window-combination-resize.
1d00653d 1429 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1430
35c0bac8
GM
14312011-11-17 Glenn Morris <rgm@gnu.org>
1432
1433 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1434 Make bash entry derive from sh entry, not shell entry.
1435
d0c8fc8a
MA
14362011-11-16 Michael Albinus <michael.albinus@gmx.de>
1437
d0c8fc8a
MA
1438 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1439 properties of linked files. (Bug#9879)
1440
7262a87c
MA
1441 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1442 local file name.
1443
7877f373
JB
14442011-11-16 Juanma Barranquero <lekktu@gmail.com>
1445
1446 * menu-bar.el (menu-bar-file-menu):
1447 * printing.el (pr-ps-utility):
1448 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1449 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1450 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1451 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1452 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1453 (icalendar--convert-cyclic-to-ical)
1454 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1455 (icalendar--convert-ical-to-diary)
1456 (icalendar--convert-recurring-to-diary)
1457 (icalendar--convert-non-recurring-all-day-to-diary)
1458 (icalendar-import-format-sample):
1459 * progmodes/idlw-shell.el (idlwave-shell-mode):
1460 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1461 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1462 (vhdl-ps-print-init): Fix typos.
1463
10649b82
KM
14642011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1465
9d0cfcd6
GM
1466 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1467 FSF and collapse date sequence, obscure author/maintainer email address
1468 better, remove extra version line, track relocation of author's webpage.
10649b82 1469
9d0cfcd6
GM
1470 * progmodes/python.el (python-pdbtrack-input-prompt)
1471 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1472 regular python pdb prompts. Adjustments shamelessly taken exactly as
1473 suggested in EmacsWiki page (tiny change):
1474 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1475
58179cce
JB
14762011-11-16 Juanma Barranquero <lekktu@gmail.com>
1477
1478 * expand.el (expand-pos, expand-index, expand-point):
1479 Remove redundant info from docstring.
1480 (expand-add-abbrevs): Doc fix.
1481 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1482 (expand-sample-perl-mode-expand-list): Fix typos.
1483
1484 * net/dbus.el (dbus-event-member-name):
1485 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1486 * term/pc-win.el (msdos-create-frame-with-faces):
1487 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1488
b6f67890
MR
14892011-11-16 Martin Rudalics <rudalics@gmx.at>
1490
1491 * window.el (split-window, window-state-get-1)
1492 (window-state-put-1, window-state-put-2): Rename occurrences of
1493 window-nest to window-combination-limit.
1d00653d 1494 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1495
ce7ddba0
CY
14962011-11-16 Chong Yidong <cyd@gnu.org>
1497
1498 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1499 regexp (Bug#10033).
1500
3ae704f4
SM
15012011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1502
1503 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1504 `completing-read' will remove *Completions* and will preserve
1505 current-buffer for us.
1506 (tmm-add-prompt): Users of *Completions* will always (re)set its
1507 major mode.
1508 (tmm-old-comp-map): Remove.
1509
6ad1cdde
GM
15102011-11-16 Glenn Morris <rgm@gnu.org>
1511
1512 * mail/rmailedit.el: Require rmailmm when compiling.
1513 (rmail-old-mime-state): New declaration.
1514 (rmail-edit-current-message): If editing a mime message,
1515 edit the "raw" message from the mbox buffer.
1516 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1517
d20faa20
GM
15182011-11-15 Glenn Morris <rgm@gnu.org>
1519
1520 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1521 which wasn't being used. Add optional arg to force given state.
1522 (rmail-mime): Add optional arg to force given state.
1523
c7015153
JB
15242011-11-15 Juanma Barranquero <lekktu@gmail.com>
1525
1526 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1527 * frame.el (display-mm-dimensions-alist):
1528 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1529 (outline-move-subtree-down):
1530 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1531 (newsticker--treeview-do-get-node):
1532 * net/quickurl.el (quickurl-list-buffer-name):
1533 * progmodes/dcl-mode.el (dcl-mode):
1534 * progmodes/gdb-mi.el (gdb-mapcar*):
1535 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1536
45261b50
GM
15372011-11-15 Glenn Morris <rgm@gnu.org>
1538
1539 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1540 in a boolean sense, so just make it a boolean, and fix the doc.
1541 (rmail-show-mime-function, rmail-mime-feature)
1542 (rmail-require-mime-maybe): Doc fixes.
1543 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1544
1545 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1546
0d26e0b6
JB
15472011-11-15 Juanma Barranquero <lekktu@gmail.com>
1548
1549 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1550 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1551 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1552 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1553
447f30f6
GM
15542011-11-15 Glenn Morris <rgm@gnu.org>
1555
672b871d
GM
1556 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1557 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1558 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1559 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1560 (rmail-mime, rmail-show-mime): Doc fixes.
1561
f6aa5bb1
GM
1562 * term/ns-win.el (mode-line-frame-identification):
1563 Leave it alone. (Bug#10051)
1564
947cd66b
GM
1565 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1566
447f30f6
GM
1567 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1568 Handle empty buffers. (Bug#9978)
1569
0b381c7e
JB
15702011-11-14 Juanma Barranquero <lekktu@gmail.com>
1571
1572 * international/mule.el (define-charset):
1573 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1574 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1575 * progmodes/verilog-mode.el (verilog-backward-token):
1576 * textmodes/ispell.el (lookup-words):
1577 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1578
71e027ac
GM
15792011-11-14 Glenn Morris <rgm@gnu.org>
1580
56632ce4
GM
1581 * progmodes/executable.el
1582 (executable-make-buffer-file-executable-if-script-p):
1583 Handle file-modes returning nil.
1584
40500957
GM
1585 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1586 message - not necessary, and causes problems. (Bug#9831)
1587
071c2340
GM
1588 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1589
d3cfca60
GM
1590 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1591
71e027ac
GM
1592 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1593 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1594 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1595
89d61221
MR
15962011-11-12 Martin Rudalics <rudalics@gmx.at>
1597
1598 * window.el (window-resize, delete-window): Use window-splits
1599 variable instead of function.
1600 (window-state-get-1, window-state-put-2, window-state-put):
1601 Don't deal with windows' splits status.
1602
98282f6f
GM
16032011-11-12 Glenn Morris <rgm@gnu.org>
1604
1605 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1606 (apropos-documentation): Doc fixes.
1607
40a8bdf6
JB
16082011-11-11 Juanma Barranquero <lekktu@gmail.com>
1609
1610 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1611 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1612
65bd19ff
SM
16132011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * electric.el (electric-indent-post-self-insert-function): Make it
1616 possible for a char to only indent in some circumstances.
1617 (electric-indent-mode): Simplify.
1618
54f9154c
MR
16192011-11-11 Martin Rudalics <rudalics@gmx.at>
1620
1621 * window.el (windows-with-parameter): Remove unused function.
1622 (windows-at-side): Rename to window-at-side-list.
1623 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1624 (window-side-check, window-size-ignore, window-size-fixed-1)
1625 (window-in-direction-2): Prefix with "window--".
1626 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1627
68cbc58b
GM
16282011-11-11 Glenn Morris <rgm@gnu.org>
1629
1630 * subr.el (eval-after-load): If FILE is already loaded,
1631 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1632
b2621720
GM
16332011-11-10 Glenn Morris <rgm@gnu.org>
1634
9a4de110
GM
1635 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1636 Call svn via vc-svn-command rather than vc-do-command.
1637 (vc-svn-command): Add --non-interactive. (Bug#9993)
1638 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1639
b2621720
GM
1640 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1641 Add toggle-read-only. (Bug#7292)
1642 * files.el (toggle-read-only): Mention that it should only
1643 be used interactively. (Bug#10006)
1644
1dce7193
SM
16452011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1646
d9ac1a1e
SM
1647 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1648 Adjust regexp for OCaml warnings.
1649
0c325082
SM
1650 * electric.el (electric-pair-post-self-insert-function): Let user
1651 turn it off buffer-locally (bug#9932).
1652
90132c14
SM
1653 * progmodes/python.el (python-beginning-of-statement):
1654 Rewrite (bug#2703).
1655
1dce7193
SM
1656 * progmodes/compile.el: Better handle TABs (bug#9749).
1657 (compilation-internal-error-properties)
1658 (compilation-next-error-function): Obey the target buffer's
1659 compilation-error-screen-columns.
1660
c4e7c63a
JB
16612011-11-09 Juanma Barranquero <lekktu@gmail.com>
1662
1663 * progmodes/meta-mode.el: Remove obsolete comments.
1664 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1665 Fix typos in docstrings.
1666
2cffd681
MR
16672011-11-09 Martin Rudalics <rudalics@gmx.at>
1668
1669 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1670 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1671 (window--resizable): New function. Make all callers of
1672 window-resizable call window--resizable instead.
1673 (window-resizable): Rewrite in terms of window--resizable.
1674
0edcba87
GM
16752011-11-08 Glenn Morris <rgm@gnu.org>
1676
1677 * progmodes/delphi.el (delphi-mode-syntax-table):
1678 Let define-derived-mode define a proper syntax table. (Bug#9994)
1679
4b0d61e3
SM
16802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * window.el: Stay away from defsubst.
1683 (window-list-no-nils): Remove.
1684 (window-state-get-1, window-state-get): Use backquote instead.
1685
cd394be1 16862011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1687
4b0d61e3 1688 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1689 Fix incorrect use of default argument in `completing-read'.
1690
e1c2c6f2
MR
16912011-11-08 Martin Rudalics <rudalics@gmx.at>
1692
1693 * window.el (display-buffer-function, special-display-function):
1694 Mention display-buffer-record-window but do not mention
1695 help-setup parameter in doc-strings.
b3f4a882 1696 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1697
105216ed
CY
16982011-11-08 Chong Yidong <cyd@gnu.org>
1699
1700 * window.el (window-total-height, window-total-width): Doc fix.
1701 (window-body-size): Move from C.
1702 (window-body-height, window-body-width): Move to C.
1703
0a9f9ab5
SM
17042011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * window.el: Make special-display like display-buffer-alist (bug#9532).
1707 (display-buffer--special-action): New function, morphed
1708 from display-buffer--special.
1709 (display-buffer): Use it to handle special-display-buffers at higher
1710 priority (just after display-buffer-alist).
1711 (display-buffer-fallback-action, display-buffer--other-frame-action)
1712 (pop-to-buffer-same-window): Remove display-buffer--special.
1713
a769dd15
GM
17142011-11-07 Glenn Morris <rgm@gnu.org>
1715
1716 * calendar/cal-menu.el (cal-menu-set-date-title):
1717 Do nothing if not in a calendar. (Bug#9976)
1718
05a61ee3
SM
17192011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * files.el (find-file): Always use selected-window.
1722
be7f5545
MR
17232011-11-07 Martin Rudalics <rudalics@gmx.at>
1724
1725 * window.el (window-combinations): Make WINDOW argument
1726 mandatory. Rewrite doc-string.
1727 (walk-window-subtree, window-atom-check, window-min-delta)
1728 (window-max-delta, window--resize-this-window)
1729 (window--resize-root-window-vertically, window-tree)
1730 (balance-windows, window-state-put): Rewrite doc-strings as to
1731 not mention the term "subwindow".
1732 (window--resize-subwindows-skip-p): Rename to
1733 window--resize-child-windows-skip-p.
1734 (window--resize-subwindows-normal): Rename to
1735 window--resize-child-windows-normal.
1736 (window--resize-subwindows): Rename to
1737 window--resize-child-windows.
1738 (window-or-subwindow-p): Rename to window--in-subtree-p.
1739
3c6702ef
ML
17402011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1741
1742 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1743 Ensure that mbox format messages end in two newlines (Bug#9974).
1744
49745b39
CY
17452011-11-06 Chong Yidong <cyd@gnu.org>
1746
1747 * window.el (window-combination-p): Function deleted; its
1748 side-effect is not used in any existing code.
1749 (window-combinations, window-combined-p): Call window-*-child
1750 directly.
1751
24300f5f
CY
17522011-11-05 Chong Yidong <cyd@gnu.org>
1753
1754 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1755 (window-size-ignore, window-state-get): Callers changed.
1756 (window-normalize-window): Rename from window-normalize-any-window.
1757 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1758 (window-normalize-live-window): Delete.
447f16b8
CY
1759 (window-combination-p, window-combined-p, window-combinations)
1760 (walk-window-subtree, window-atom-root, window-min-size)
1761 (window-sizable, window-sizable-p, window-size-fixed-p)
1762 (window-min-delta, window-max-delta, window-resizable)
1763 (window-resizable-p, window-full-height-p, window-full-width-p)
1764 (window-current-scroll-bars, window-point-1, set-window-point-1)
1765 (window-at-side-p, window-in-direction, window-resize)
1766 (adjust-window-trailing-edge, maximize-window, minimize-window)
1767 (window-deletable-p, delete-window, delete-other-windows)
1768 (record-window-buffer, unrecord-window-buffer)
1769 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1770 (quit-window, split-window, window-state-put)
1771 (set-window-text-height, fit-window-to-buffer)
1772 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1773
89bd5ee1
EZ
17742011-11-04 Eli Zaretskii <eliz@gnu.org>
1775
53479029
EZ
1776 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1777 rfc2047-decode-string.
1778 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1779 warnings.
1780
89bd5ee1
EZ
1781 * window.el (window-body-height, window-body-width): Mention in
1782 the doc string that the return values are in frame's canonical
1783 units. (Bug#9949)
1784
bd17fdee
AM
17852011-11-03 Alan Mackenzie <acm@muc.de>
1786
1787 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1788 change in cc-engine.el.
1789
acc825c5
SM
17902011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1793
1885e5b8
MR
17942011-11-02 Martin Rudalics <rudalics@gmx.at>
1795
1796 * window.el (quit-window): Call unrecord-window-buffer after
1797 showing another buffer in the window. (Bug#9937)
acc825c5 1798 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1799
ebe06da9
JB
18002011-11-02 Juanma Barranquero <lekktu@gmail.com>
1801
1802 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1803 Accept status with more than 9 shelves. (Bug#9935)
1804 Reported by Colin D Bennett <colin@gibibit.com>.
1805
4ee88440
MR
18062011-11-01 Martin Rudalics <rudalics@gmx.at>
1807
1808 * help.el (with-help-window): Don't reference
1809 temp-buffer-show-specifiers in doc-string.
1810
08e1d82c
AS
18112011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1812
1813 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1814 menu-item.
1815
84bd6e9e
VJL
18162011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1817
1818 * whitespace.el: New version 13.2.2.
1819 (whitespace-newline-mode): Disable properly. Reported by Sarah
1820 <EmacsWiki>.
1821
dba0634a
UJ
18222011-10-30 Ulf Jasper <ulf.jasper@web.de>
1823
1824 * net/newst-treeview.el: Remove "Time-stamp".
1825 (newsticker--group-manage-orphan-feeds): Do not call
1826 newsticker--treeview-tree-update.
db22a3c2
JB
1827 (newsticker-treeview-update, newsticker-treeview):
1828 Call newsticker--treeview-tree-update if necessary.
dba0634a 1829
3d8daefe
MR
18302011-10-30 Martin Rudalics <rudalics@gmx.at>
1831
1832 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1833 (window-iso-combinations): Remove "iso-" infix.
1834 Suggested by Chong Yidong.
3d8daefe
MR
1835 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1836 (window-max-delta-1, window-resize, window--resize-siblings)
1837 (window--resize-this-window, adjust-window-trailing-edge)
1838 (split-window, balance-windows-1)
1839 (shrink-window-if-larger-than-buffer):
1840 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1841 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1842
1bc4c3ae
SM
18432011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1846 in place (bug#9907).
1847 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1848 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1849 (eshell-structure-basic-command, eshell-rewrite-while-command)
1850 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1851 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1852 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1853 (eshell-do-pipelines-synchronously, eshell-eval-command):
1854 Use backquotes and prefer setq to set.
1855 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1856 (eshell-macrop): Use functionp.
c1e2f5fa 1857 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1858
30b65d9c
CY
18592011-10-30 Chong Yidong <cyd@gnu.org>
1860
1861 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1862 instead of set-mark (Bug#9810).
1863
2d197ffb
CY
18642011-10-30 Chong Yidong <cyd@gnu.org>
1865
1866 * window.el (split-window-below, split-window-right): Rename from
1867 split-window-above-each-other and split-window-side-by-side
1868 respectively. All callers changed.
1869 (split-window-sensibly, split-window-sensibly): Use them.
1870 (split-window-keep-point): Doc fix.
1871
1872 * isearch.el: Add isearch-scroll property to split-window-below
1873 and split-window-right.
1874
1875 * follow.el (follow-mode):
1876 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1877 * progmodes/ada-xref.el (ada-gdb-application):
1878 * emulation/vip.el (vip-buffer-in-two-windows):
1879 * image-dired.el (image-dired-dired-with-window-configuration):
1880 * dired-x.el (dired-do-find-marked-files):
1881 * dired.el (dired-pop-to-buffer):
1882 * bs.el (bs--show-with-configuration):
1883 * vc/emerge.el (emerge-setup-windows):
1884 * textmodes/two-column.el (2C-two-columns):
1885 * textmodes/reftex-toc.el (reftex-toc):
1886 * progmodes/gdb-mi.el (gdb-setup-windows):
1887 * progmodes/fortran.el (fortran-window-create):
1888 * net/newst-treeview.el (newsticker--treeview-window-init):
1889 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1890 * emulation/tpu-edt.el (tpu-gold-map):
1891 * emulation/crisp.el (crisp-mode-map):
1892 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1893
38bb2ca8
CY
18942011-10-29 Chong Yidong <cyd@gnu.org>
1895
aa4de341
CY
1896 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1897
e1eb5385
CY
1898 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1899
5d2ece3c
CY
1900 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1901 forged Ispell output (Bug#7904).
1902
38bb2ca8
CY
1903 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1904
d0af9f77
SM
19052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * doc-view.el: Avoid ugly errors about not finding nil.
1908 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1909 (doc-view-dvipdf-program, doc-view-unoconv-program)
1910 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1911 Avoid nil or absolute file name as default value.
1912 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1913
52bedd34
AM
19142011-10-28 Alan Mackenzie <acm@muc.de>
1915
db22a3c2 1916 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1917
7e43cfa5
AM
19182011-10-28 Alan Mackenzie <acm@muc.de>
1919
1920 Amend the handling of c-beginning/end-of-defun in nested declaration
1921 scopes.
1922
52bedd34
AM
1923 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1924 cc-langs.el. Change it to a defcustom.
7e43cfa5 1925
52bedd34
AM
1926 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1927 cc-vars.el.
7e43cfa5 1928
d0af9f77
SM
1929 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1930 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1931
52bedd34 1932 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1933 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1934 (c-widen-to-enclosing-decl-scope): New function.
1935 (c-while-widening-to-decl-block): New macro.
1936 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1937 outward for defun boundaries, and correspondingly change symbol
1938 `respect-enclosure' to `go-outward'.
1939 (c-declaration-limits): Change algorithm to report only the "innermost"
1940 defun's boundaries.
1941
1a2ce9ee
DD
19422011-10-28 Deniz Dogan <deniz@dogan.se>
1943
1944 * net/rcirc.el (rcirc-mode): Use hard newlines.
1945
bc97a826
AM
19462011-10-28 Alan Mackenzie <acm@muc.de>
1947
1948 Amend to indent and fontify macros "which include their own semicolon"
1949 correctly, using the "virtual semicolon" mechanism.
1950
52bedd34 1951 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1952
d0af9f77 1953 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1954 Recode to scan one line at a time rather than having \n and \r
58179cce 1955 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1956 (c-forward-label): Amend for virtual semicolons.
58179cce 1957 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1958
52bedd34
AM
1959 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1960 of the new C macros.
bc97a826 1961
52bedd34 1962 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1963 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1964 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1965 (c-opt-cpp-macro-define): Make into a full language variable.
1966 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1967 AWK Mode (including \n, \r) removed, no longer needed.
1968
d0af9f77
SM
1969 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1970 Invoke c-make-macro-with-semi-re.
bc97a826 1971
52bedd34
AM
1972 * progmodes/cc-vars.el (c-macro-with-semi-re):
1973 (c-macro-names-with-semicolon): New variables.
58179cce 1974 (c-make-macro-with-semi-re): New function.
bc97a826 1975
7a6c0941
SM
19762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1977
1978 * vc/log-edit.el: Fill empty field rather than adding new one.
1979 (log-edit-add-field): New function.
1980 (log-edit-insert-changelog): Use it.
1981
b0c4cdcf
ML
19822011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1983
1984 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1985
ee1f1da9
SM
19862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1989 (gdb--check-interpreter): New function.
1990 (gdb): Use it.
1991
51bc5f8b
GM
19922011-10-27 Glenn Morris <rgm@gnu.org>
1993
416a2c45
GM
1994 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1995 (least-positive-float, least-negative-float)
1996 (least-positive-normalized-float, least-negative-normalized-float)
1997 (float-epsilon, float-negative-epsilon):
1998 Remove unnecessary declarations.
1999
2000 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2001 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2002 (least-positive-float, least-negative-float)
2003 (least-positive-normalized-float, least-negative-normalized-float)
2004 (float-epsilon, float-negative-epsilon): Add doc-strings,
2005 based on those in cl.texi.
2006
51bc5f8b
GM
2007 * files.el (set-visited-file-name): If the major-mode changed,
2008 reload the local variables. (Bug#9796)
2009
15de15c6
CY
20102011-10-27 Chong Yidong <cyd@gnu.org>
2011
2012 * subr.el (change-major-mode-after-body-hook): New hook.
2013 (run-mode-hooks): Run it.
2014
ee1f1da9
SM
2015 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2016 Use change-major-mode-before-body-hook.
15de15c6
CY
2017
2018 * simple.el (fundamental-mode):
2019 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2020 change introducing fundamental-mode-hook.
2021
5430d399
JB
20222011-10-26 Juanma Barranquero <lekktu@gmail.com>
2023
acc825c5 2024 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2025
ad74a69e
MA
20262011-10-26 Michael Albinus <michael.albinus@gmx.de>
2027
2028 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2029 tramp.el explicitly. (Bug#7583)
ad74a69e 2030
71d4c2a5
SM
20312011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * progmodes/octave-mod.el:
2034 * progmodes/octave-inf.el: Update maintainer.
2035
b1f6fa26
CY
20362011-10-26 Chong Yidong <cyd@gnu.org>
2037
2038 * subr.el (with-wrapper-hook): Rewrite doc.
2039
3f04efd6
MA
20402011-10-25 Michael Albinus <michael.albinus@gmx.de>
2041
2042 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2043 filenames "/method:foo:". (Bug#9793)
3f04efd6 2044
410488d3
SM
20452011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2048 (bug#9865).
2049
c1ebb47e
GM
20502011-10-24 Glenn Morris <rgm@gnu.org>
2051
2052 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2053
7f5c46c7
MA
20542011-10-24 Michael Albinus <michael.albinus@gmx.de>
2055
2056 * notifications.el: Add the requirement of a running D-Bus session
2057 bus to the Commentary.
2058
db2440b6
JL
20592011-10-24 Juri Linkov <juri@jurta.org>
2060
2061 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2062 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2063 (Bug#9364)
2064
feecf435
JL
20652011-10-24 Juri Linkov <juri@jurta.org>
2066
2067 * info.el (Info-following-node-name-re): Add newline to the list
2068 of allowed characters for leading space. (Bug#9824)
2069
a3839de2
SM
20702011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2071
acc825c5
SM
2072 * progmodes/octave-inf.el (inferior-octave-mode-map):
2073 Fix C-c C-h binding.
a3839de2
SM
2074 * progmodes/octave-mod.el (octave-help): Remove.
2075
09388e76
MA
20762011-10-23 Michael Albinus <michael.albinus@gmx.de>
2077
2078 Sync with Tramp 2.2.3.
2079
2080 * net/tramp-cache.el (top): Pacify byte-compiler using
2081 `init-file-user' and `site-run-file'.
2082
2083 * net/trampver.el: Update release number.
2084
86c60681
CY
20852011-10-23 Chong Yidong <cyd@gnu.org>
2086
2087 * files.el (toggle-read-only): Remove obsolete comment about
2088 version control.
2089
2090 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2091 for toggle-read-only. Note that this hasn't called vc-next-action
2092 since 2008-05-02, though it wasn't documented at the time.
2093
a3839de2
SM
2094 * vc/ediff-init.el (ediff-toggle-read-only-function):
2095 Use toggle-read-only.
86c60681 2096
cd5495ff
AM
20972011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2098
2099 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2100 of c-parse-state.
2101
00b77525 2102 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2103 correct faulty logical expression.
cd5495ff
AM
2104 (c-parse-state-state, c-record-parse-state-state):
2105 (c-replay-parse-state-state): New defvar/defuns.
2106 (c-debug-parse-state): Use new functions.
2107
42ee24ed
MR
21082011-10-22 Martin Rudalics <rudalics@gmx.at>
2109
2110 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2111 last fix. Use window-in-direction correctly.
42ee24ed 2112
a7dee7e7
CY
21132011-10-21 Chong Yidong <cyd@gnu.org>
2114
2115 * progmodes/idlwave.el (idlwave-mode):
2116 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2117 require-final-newline; that's done in prog-mode.
2118 Suggested by Stefan Monnier.
a7dee7e7 2119
e07b9a6d
MR
21202011-10-21 Martin Rudalics <rudalics@gmx.at>
2121
2122 * mouse.el (mouse-drag-window-above)
2123 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2124 (mouse-drag-mode-line-1, mouse-drag-header-line)
2125 (mouse-drag-vertical-line-rightward-window): Remove.
2126 (mouse-drag-line): New function.
2127 (mouse-drag-mode-line, mouse-drag-header-line)
2128 (mouse-drag-vertical-line): Call mouse-drag-line.
2129 * window.el (window-at-side-p, windows-at-side): New functions.
2130
7e1361d9
UM
21312011-10-21 Ulrich Mueller <ulm@gentoo.org>
2132
2133 * tar-mode.el (tar-grind-file-mode):
2134 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2135
30fcaf3a
CY
21362011-10-21 Chong Yidong <cyd@gnu.org>
2137
2138 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2139 * progmodes/vera-mode.el (vera-mode):
2140 Use mode-require-final-newline.
30fcaf3a 2141
516eddb0
GM
21422011-10-20 Glenn Morris <rgm@gnu.org>
2143
db22a3c2 2144 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2145
10d5f513
CS
21462011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2147
2148 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2149
ac6c8639
CY
21502011-10-20 Chong Yidong <cyd@gnu.org>
2151
2152 * emulation/cua-base.el (cua-mode):
2153 * mail/footnote.el (footnote-mode):
2154 * mail/mailabbrev.el (mail-abbrevs-mode):
2155 * net/xesam.el (xesam-minor-mode):
2156 * progmodes/bug-reference.el (bug-reference-mode):
2157 * progmodes/cap-words.el (capitalized-words-mode):
2158 * progmodes/compile.el (compilation-minor-mode)
2159 (compilation-shell-minor-mode):
2160 * progmodes/gud.el (gud-tooltip-mode):
2161 * progmodes/hideif.el (hide-ifdef-mode):
2162 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2163 * progmodes/subword.el (subword-mode):
2164 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2165 * progmodes/which-func.el (which-function-mode):
2166 * term/tvi970.el (tvi970-set-keypad-mode):
2167 * term/vt100.el (vt100-wide-mode):
2168 * textmodes/flyspell.el (flyspell-mode):
2169 * textmodes/ispell.el (ispell-minor-mode):
2170 * textmodes/nroff-mode.el (nroff-electric-mode):
2171 * textmodes/paragraphs.el (use-hard-newlines):
2172 * textmodes/refill.el (refill-mode):
2173 * textmodes/reftex.el (reftex-mode):
2174 * textmodes/rst.el (rst-minor-mode):
2175 * textmodes/sgml-mode.el (html-autoview-mode)
2176 (sgml-electric-tag-pair-mode):
2177 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2178 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2179 * emulation/crisp.el (crisp-mode):
2180 * emacs-lisp/eldoc.el (eldoc-mode):
2181 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2182 minor mode behavior.
2183
aa42ab43
JL
21842011-10-19 Juri Linkov <juri@jurta.org>
2185
2186 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2187 the list of hard-coded chars with escape-glyph face.
2188
89400f1d
SM
21892011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2190
2191 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2192
305c07f6
MA
21932011-10-19 Michael Albinus <michael.albinus@gmx.de>
2194
2195 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2196 running process.
2197
13754b54
GM
21982011-10-19 Glenn Morris <rgm@gnu.org>
2199
2200 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2201 Ignore ignored files. (Bug#9726)
2202
06e21633
CY
22032011-10-19 Chong Yidong <cyd@gnu.org>
2204
2205 Doc fix for minor modes, stating that an omitted argument enables
2206 the mode unconditionally when called from Lisp.
2207
2208 * abbrev.el (abbrev-mode):
2209 * allout.el (allout-mode):
2210 * autoinsert.el (auto-insert-mode):
2211 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2212 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2213 (global-auto-revert-mode):
2214 * battery.el (display-battery-mode):
2215 * composite.el (global-auto-composition-mode)
2216 (auto-composition-mode):
2217 * delsel.el (delete-selection-mode):
2218 * desktop.el (desktop-save-mode):
2219 * dired-x.el (dired-omit-mode):
2220 * dirtrack.el (dirtrack-mode):
2221 * doc-view.el (doc-view-minor-mode):
2222 * double.el (double-mode):
2223 * electric.el (electric-indent-mode, electric-pair-mode):
2224 * emacs-lock.el (emacs-lock-mode):
2225 * epa-hook.el (auto-encryption-mode):
2226 * follow.el (follow-mode):
2227 * font-core.el (font-lock-mode):
2228 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2229 * help.el (temp-buffer-resize-mode):
2230 * hilit-chg.el (highlight-changes-mode)
2231 (highlight-changes-visible-mode):
2232 * hi-lock.el (hi-lock-mode):
2233 * hl-line.el (hl-line-mode, global-hl-line-mode):
2234 * icomplete.el (icomplete-mode):
2235 * ido.el (ido-everywhere):
2236 * image-file.el (auto-image-file-mode):
2237 * image-mode.el (image-minor-mode):
2238 * iswitchb.el (iswitchb-mode):
2239 * jka-cmpr-hook.el (auto-compression-mode):
2240 * linum.el (linum-mode):
2241 * longlines.el (longlines-mode):
2242 * master.el (master-mode):
2243 * mb-depth.el (minibuffer-depth-indicate-mode):
2244 * menu-bar.el (menu-bar-mode):
2245 * minibuf-eldef.el (minibuffer-electric-default-mode):
2246 * mouse-sel.el (mouse-sel-mode):
2247 * msb.el (msb-mode):
2248 * mwheel.el (mouse-wheel-mode):
2249 * outline.el (outline-minor-mode):
2250 * paren.el (show-paren-mode):
2251 * recentf.el (recentf-mode):
2252 * reveal.el (reveal-mode, global-reveal-mode):
2253 * rfn-eshadow.el (file-name-shadow-mode):
2254 * ruler-mode.el (ruler-mode):
2255 * savehist.el (savehist-mode):
2256 * scroll-all.el (scroll-all-mode):
2257 * scroll-bar.el (scroll-bar-mode):
2258 * server.el (server-mode):
2259 * shell.el (shell-dirtrack-mode):
2260 * simple.el (auto-fill-mode, transient-mark-mode)
2261 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2262 (line-number-mode, column-number-mode, size-indication-mode)
2263 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2264 * strokes.el (strokes-mode):
2265 * time.el (display-time-mode):
2266 * t-mouse.el (gpm-mouse-mode):
2267 * tool-bar.el (tool-bar-mode):
2268 * tooltip.el (tooltip-mode):
2269 * type-break.el (type-break-mode-line-message-mode)
2270 (type-break-query-mode):
2271 * view.el (view-mode):
2272 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2273 (global-whitespace-mode, global-whitespace-newline-mode):
2274 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2275
a3839de2
SM
2276 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2277 Fix autogenerated docstring.
06e21633 2278
5214e501
JL
22792011-10-19 Juri Linkov <juri@jurta.org>
2280
2281 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2282 by checking environment variables "DESKTOP_SESSION" and
2283 "XDG_CURRENT_DESKTOP". (Bug#9779)
2284
195f8db9
JL
22852011-10-19 Juri Linkov <juri@jurta.org>
2286
2287 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2288 (browse-url-chromium-program, browse-url-chromium-arguments):
2289 New defcustoms.
2290 (browse-url-default-browser): Check for `browse-url-chromium' and
2291 call `browse-url-chromium-program'.
2292 (browse-url-chromium): New command. (Bug#9779)
2293
343a34ff
JB
22942011-10-18 Juanma Barranquero <lekktu@gmail.com>
2295
2296 * facemenu.el (list-colors-duplicates): On Windows, detect more
2297 duplicates by assuming that only colors matching "^System" are
2298 special "system colors". (Bug#9722)
2299
6978a151
SM
23002011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2303 to distinguish the author from the committer.
2304
6a80b297
MA
23052011-10-18 Michael Albinus <michael.albinus@gmx.de>
2306
2307 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2308
b31a5677
JK
23092011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2310
2311 * international/mule.el (sgml-html-meta-auto-coding-function):
2312 Add support for detecting encoding in HTML5 specified only as
2313 <meta charset="UTF-8">. Implementation just makes http-equiv and
2314 content-type parts from HTML4 encoding string optional. (Bug#9716)
2315
80c6d77f
GM
23162011-10-18 Glenn Morris <rgm@gnu.org>
2317
2318 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2319
08b0fee8
CY
23202011-10-18 Chong Yidong <cyd@gnu.org>
2321
2322 * faces.el (cursor): Doc fix.
2323
67e729a5
CY
23242011-10-17 Chong Yidong <cyd@gnu.org>
2325
2326 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2327
343a34ff 23282011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2329
2330 * dirtrack.el (dirtrack): Support shell buffers with path
2331 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2332
0bc06380
TZ
23332011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2334
2335 * json.el: Bump version to 1.3 and note change in History.
2336 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2337
8b79f3e0
SM
23382011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2339
5a7c536b
SM
2340 * comint.el (comint-insert-input, comint-send-input)
2341 (comint-get-old-input-default, comint-backward-matching-input)
2342 (comint-next-prompt): Use nil instead of `input' for field property of
2343 past user input (bug#114).
2344
96a8a0df
SM
2345 * minibuffer.el (completion--replace): Inherit surrounding properties
2346 (bug#114).
2347 (minibuffer-complete-and-exit): Use it.
2348
8b79f3e0
SM
2349 * comint.el (comint--table-subvert): Quote the all-completions output
2350 (bug#9160).
2351
b8f7ff0d
MR
23522011-10-17 Martin Rudalics <rudalics@gmx.at>
2353
8b79f3e0 2354 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2355
b8f7ff0d 2356 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2357 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2358 entries and separate them from frame entries.
2359
c235b555
GM
23602011-10-15 Glenn Morris <rgm@gnu.org>
2361
2362 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2363 Doc fixes.
2364
6bbfa6e1
CY
23652011-10-15 Chong Yidong <cyd@stupidchicken.com>
2366
8b79f3e0
SM
2367 * net/network-stream.el (network-stream-open-starttls):
2368 Improve detection of failure due to lack of TLS support.
ec5c990d 2369
6bbfa6e1
CY
2370 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2371 putting the input text in front and in bold.
2372
98488977
SM
23732011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2374
3d1337be
SM
2375 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2376
ee0b45e4
SM
2377 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2378 empty buffer.
2379
98488977
SM
2380 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2381 unread-command-events rather than pushing yet-another event.
2382
186f4720
EZ
23832011-10-14 Eli Zaretskii <eliz@gnu.org>
2384
2385 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2386 the explanation of the possible choices. Make the options passed
2387 to completing-read shorter.
2388
8b7a997c
AM
23892011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2390
2391 * textmodes/flyspell.el (flyspell-large-region): Make sure
2392 extended character mode is used if defined (Bug#1339).
2393
12587bbb
EZ
23942011-10-13 Eli Zaretskii <eliz@gnu.org>
2395
2396 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2397 character info for LRE, LRO, RLE, and RLO characters by appending
2398 an invisible PDF.
12587bbb 2399
bad41229
SM
24002011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2401
2402 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2403 even in case of error; add debug spec; simplify data flow.
2404 (with-timeout-handler): Remove.
2405
28dbc92f
MA
24062011-10-12 Michael Albinus <michael.albinus@gmx.de>
2407
2408 Fix Bug#6019, Bug#9315.
2409
2410 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2411 complete `buffer-file-name', the local file name part could look
2412 remotely (for example on VMS).
2413
2414 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2415 `tramp-run-real-handler'.
2416 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2417 already quoted by '"'.
2418
2419 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2420 Let `file-name-handler-alist' be nil, the local file name part
2421 could look remotely (for example on VMS).
2422
e1b0b23a
SM
24232011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2426 from here...
2427 (flyspell-post-command-hook): ...to here.
2428
a120bde9
SM
24292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2432 if not needed.
2433 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2434 using completion. Protect against "slow" callers.
2435 Remove the "message hack".
2436
7ce7717b
JL
24372011-10-11 Juri Linkov <juri@jurta.org>
2438
2439 * isearch.el (isearch-lazy-highlight-word): New variable.
2440 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2441 Use it. (Bug#9727)
2442
c02ee9d6
GM
24432011-10-11 Glenn Morris <rgm@gnu.org>
2444
2445 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2446 like f90-previous-statement does.
2447
93e616fd 24482011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2449
1f190e73 2450 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2451 only in interactive use, to avoid error.
2452
af7b6078
SM
24532011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * minibuffer.el (completion-file-name-table): Fix last change,
2456 i.e. ignore normal errors but not the other ones.
2457
0563dae9
MR
24582011-10-10 Martin Rudalics <rudalics@gmx.at>
2459
2460 * window.el (special-display-buffer-names)
2461 (special-display-regexps): Remove some remnants of earlier
2462 changes from doc-strings.
366ca7f3
MR
2463 (quit-windows-on): New function.
2464
2465 * vc/vc.el (vc-revert, vc-rollback):
2466 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2467 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2468 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2469
49677495
MR
24702011-10-09 Martin Rudalics <rudalics@gmx.at>
2471
2472 * window.el (frame-auto-hide-function): Add version tag.
2473 (Bug#9699)
2474
56f2d1e1
MA
24752011-10-09 Michael Albinus <michael.albinus@gmx.de>
2476
2477 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2478 condition.
2479
112a6592
LL
24802011-10-09 Leo Liu <sdl.web@gmail.com>
2481
2482 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2483 (Bug#9701)
2484
0812589b
GM
24852011-10-08 Glenn Morris <rgm@gnu.org>
2486
2487 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2488 before the first code statement zero indent. (Bug#9690)
2489
b2b0776e
CY
24902011-10-08 Chong Yidong <cyd@stupidchicken.com>
2491
2492 * simple.el (count-words-region): Always count in the region.
2493 Report the number of lines and characters too.
2494 (count-words): New command, which counts in the buffer if the
2495 region is inactive, as count-words-region used to.
2496 (count-words--message): New function. Handle plurals.
2497 (count-lines-region): Make it an alias for count-words-region.
2498
2499 * bindings.el (esc-map): Replace count-lines-region with
2500 count-words-region.
2501
c557cd6b
MR
25022011-10-08 Martin Rudalics <rudalics@gmx.at>
2503
2504 * window.el (window--delete): Delete dedicated frame
2505 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2506 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2507
61a57ef4 25082011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2509
2510 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2511
c3833279
CY
25122011-10-07 Chong Yidong <cyd@stupidchicken.com>
2513
2514 * bindings.el ([M-left],[M-right]): Bind to left-word and
2515 right-word respectively.
2516
21ce8245
GM
25172011-10-07 Glenn Morris <rgm@gnu.org>
2518
2519 * cus-start.el (debug-on-quit): Fix custom type.
2520
6d823bb2
LMI
25212011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2522
0181e193
LMI
2523 * subr.el (define-key-after): Clarify that the function is not
2524 useful for non-menu keymaps.
2525
6d823bb2
LMI
2526 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2527
8e3459ce 25282011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2529
21ce8245 2530 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2531 in current minibuffer (Fix bug with recursive minibuffers).
2532
a1c2d21e
CY
25332011-10-06 Chong Yidong <cyd@stupidchicken.com>
2534
2535 * progmodes/gdb-mi.el (gdb): Doc fix.
2536
5a4cf282
MR
25372011-10-05 Martin Rudalics <rudalics@gmx.at>
2538
2539 * window.el (frame-auto-hide-function): New option replacing
2540 frame-auto-delete. Suggested by Stefan Monnier.
2541 (window--delete): Call frame-auto-hide-function instead of
2542 investigating frame-auto-delete.
c96111ea
MR
2543 (window-point-1, set-window-point-1): New functions.
2544 (window-in-direction, record-window-buffer, window-state-get-1)
2545 (display-buffer-record-window): Use window-point-1 instead of
2546 window-point.
2547 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2548
9854542e
SM
25492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2552
8943cfb0
GM
25532011-10-05 Glenn Morris <rgm@gnu.org>
2554
2555 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2556 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2557
647ab967
LL
25582011-10-05 Leo Liu <sdl.web@gmail.com>
2559
2560 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2561 works with buffer object.
2562
3ddfbced
SM
25632011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * mpc.el (mpc-tool-bar-map): Add labels.
2566
bdfa5dd2
GM
25672011-10-04 Glenn Morris <rgm@gnu.org>
2568
2569 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2570
0e2070b5
MR
25712011-10-04 Martin Rudalics <rudalics@gmx.at>
2572
2573 * window.el (window--delete): New function.
2574 (frame-auto-delete): Resuscitate option.
2575 (bury-buffer, replace-buffer-in-windows)
2576 (quit-window): Rewrite using window--delete.
2577 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2578 Pass display-buffer-mark-dedicated to window--display-buffer-2
2579 (Bug#9639).
2580
3dc61a09
SM
25812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2582
915a9b64
SM
2583 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2584 returns a list (bug#9554). Add remote file name completion.
2585 * comint.el (comint--table-subvert): Curry and get quote&unquote
2586 functions as arguments.
2587 (comint--complete-file-name-data): Adjust call accordingly.
2588 * pcomplete.el (pcomplete--table-subvert): Remove.
2589 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2590
3dc61a09
SM
2591 * minibuffer.el (completion-table-case-fold): Use currying.
2592 (completion--styles-type, completion--cycling-threshold-type):
2593 New constants.
2594 (completion-styles, completion-category-overrides)
2595 (completion-cycle-threshold): Use them.
2596 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2597 completion-table-case-fold.
2598
8ea0a993
SB
25992011-10-03 Stephen Berman <stephen.berman@gmx.net>
2600
2601 * minibuffer.el (completion-category-overrides): Fix type of styles
2602 and add more user friendly tags (bug#9660).
2603
8c24b7f6
SM
26042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2607 (mule-input-method-string): New widget.
2608 (default-input-method, language-info-custom-alist): Use it.
2609
428fe61a
SM
26102011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2611
32c1fffd
SM
2612 * pcomplete.el: Require comint.
2613 (pcomplete--common-suffix): Remove.
2614 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2615 (pcomplete--table-subvert): Sync with comint--table-subvert.
2616 (pcomplete--entries): Use comint-completion-file-name-table.
2617 * comint.el (comint-unquote-filename): Simplify.
2618 (comint-completion-file-name-table): New function (bug#9616).
2619 (comint--complete-file-name-data): Use it.
2620
428fe61a
SM
2621 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2622 (pcmpl-gnu-tar-buffer): Remove.
2623 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2624 around. Make sure pcomplete-suffix-list is only changed temporarily.
2625 Don't look inside the tar's file if it's too large.
428fe61a 2626
04c52e2f
CY
26272011-10-01 Chong Yidong <cyd@stupidchicken.com>
2628
ce3cefcc
CY
2629 * cus-edit.el (custom-mode-map):
2630 * epa.el (epa-key-list-mode-map):
2631 * man.el (Man-mode-map):
2632 * startup.el (splash-screen-keymap):
2633 * simple.el (special-mode-map): Use scroll-up-command and
2634 scroll-down-command.
2635
2636 * progmodes/idlw-help.el (idlwave-help-mode-map):
2637 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2638 * net/newst-plainview.el (newsticker-mode-map):
2639 * emulation/ws-mode.el (wordstar-mode-map):
2640 * emulation/vi.el (vi-com-map):
2641 * calc/calc-graph.el (calc-graph-show-dumb):
2642 * term/sun.el (terminal-init-sun):
2643 * term/ns-win.el (global-map):
2644 * progmodes/grep.el (grep-mode-map):
2645 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2646 * mail/rmail.el (rmail-mode-map):
2647 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2648
04c52e2f
CY
2649 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2650 custom-safe-themes as special.
2651
79adf8c8
JD
26522011-10-01 Julien Danjou <julien@danjou.info>
2653
2654 * notifications.el (notifications-notify): Fix docstring.
2655
63bd50d3
PS
26562011-10-01 Per Starbäck <per@starback.se>
2657
2658 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2659
199e4c7e
MR
26602011-09-30 Martin Rudalics <rudalics@gmx.at>
2661
2662 * startup.el (command-line-1): Fix last fix by inserting
2663 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2664 (Bug#9605) and (Bug#9636)
199e4c7e 2665
fe5f08dd
EZ
26662011-09-29 Eli Zaretskii <eliz@gnu.org>
2667
2668 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2669 window is hscrolled, move by logical lines. (Bug#9607)
2670 (line-move-visual): Update the doc string to the above effect.
2671
b5516bbd
MR
26722011-09-29 Martin Rudalics <rudalics@gmx.at>
2673
ccee00c0
MR
2674 * window.el (display-buffer-record-window): When WINDOW is the
2675 selected window use `point' instead of `window-point'. (Bug#9626)
2676
b5516bbd
MR
2677 * startup.el (command-line-1): Use insert-before-markers when
2678 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2679
b5516bbd
MR
2680 * help.el (help-window): Remove variable.
2681
52aa0014
GM
26822011-09-29 Glenn Morris <rgm@gnu.org>
2683
2684 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2685
df9a7357
JB
26862011-09-29 Juanma Barranquero <lekktu@gmail.com>
2687
2688 * descr-text.el (describe-char-categories): Accept category
2689 descriptions more than one line long.
2690
a8406c20
SM
26912011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2692
88d9610c
SM
2693 * simple.el (delete-trailing-whitespace): Fix last change.
2694
a5daf810
SM
2695 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2696 Don't confuse "y => 3" as the beginning of a `y' operation.
2697
a8406c20
SM
2698 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2699 object has more than 4 slots (bug#9613).
2700
a239d4e9
JB
27012011-09-28 Juanma Barranquero <lekktu@gmail.com>
2702
2703 * subr.el (with-output-to-temp-buffer):
2704 * net/quickurl.el (quickurl, quickurl-browse-url):
2705 Fix typos in docstrings.
2706
693fbdb6
EZ
27072011-09-27 Eli Zaretskii <eliz@gnu.org>
2708
2709 * minibuffer.el (completion-styles)
2710 (completion-category-overrides): Cross reference each other in doc
2711 strings.
2712
8b457e28
GM
27132011-09-27 Glenn Morris <rgm@gnu.org>
2714
2715 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2716 to split-string. (Bug#9606)
2717
85a16208
LMI
27182011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2719
2720 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2721 (bug#9615).
2722
502f9ebd
CY
27232011-09-27 Chong Yidong <cyd@stupidchicken.com>
2724
2725 * emacs-lisp/package.el (list-packages): Fix echo area message.
2726
7690bdea
LL
27272011-09-27 Leo Liu <sdl.web@gmail.com>
2728
2729 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2730
e2ee6f30
MA
27312011-09-25 Michael Albinus <michael.albinus@gmx.de>
2732
2733 * net/dbus.el (dbus-unregister-object): Don't release services for
2734 registered signals. (Bug#9581)
2735
f3f98342
TZ
27362011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2737
2738 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2739 function that picks between cfengine 2 and 3 support
2740 automatically. Update docs accordingly.
2741
dd7aa8dd
KH
27422011-09-22 Kenichi Handa <handa@m17n.org>
2743
2744 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2745 ZERO.
2746 (indian-itrans-v5-table-for-tamil): New variable.
2747 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2748
3f2b07f8
KM
27492011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2750
2751 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2752 that's true if the current command involved collapsing of text.
2753 It's reset to false at the beginning of the next command.
2754 (allout-post-command-business): Move the cursor to the beginning
2755 of entry if the cursor is hidden and collapsing activity just
2756 happened.
2757
371d6a61
CY
27582011-09-24 Chong Yidong <cyd@stupidchicken.com>
2759
2760 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2761 tracking (Bug#9541).
2762
2ac2721a
UJ
27632011-09-24 Ulf Jasper <ulf.jasper@web.de>
2764
2765 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2766 (newsticker-show-news): Automatically load html rendering package
2767 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2768 because w3m-fill-column is let-bound" and the error "Symbol's value
2769 as variable is void: w3m-fill-column".
2ac2721a 2770
fac7ae53
MA
27712011-09-24 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2774 Release services only if they are defined. (Bug#9581)
2775
e08b633b
RS
27762011-09-23 Richard Stallman <rms@gnu.org>
2777
e488d29c
RS
2778 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2779 distinguish start of paragraph from start of its text.
2780
19c38752
RS
2781 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2782
e08b633b
RS
2783 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2784 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2785 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2786
0a39f27e
AS
27872011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2788
2789 * international/mule-diag.el (mule-diag): Insert a newline after
2790 each fontset description.
2791
db4e950d
SM
27922011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * simple.el (delete-trailing-whitespace):
2795 Document last change; simplify.
2796
eca3f3ea
PW
27972011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2798
d68e189a
PW
2799 * simple.el (delete-trailing-whitespace): Also delete
2800 extra newlines at the end of the buffer.
2801
eca3f3ea
PW
2802 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2803 (picture-newline): Use forward-line so as to ignore fields.
2804
01c157cc
SM
28052011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * subr.el (with-wrapper-hook): Fix edebug spec.
2808
022de23e
LMI
28092011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2810
2811 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2812 (bug#4538).
2813
91683089
MA
28142011-09-23 Michael Albinus <michael.albinus@gmx.de>
2815
eca3f3ea
PW
2816 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2817 Fix nasty bug using wrong cached values.
91683089 2818
5bdd6fa4
AM
28192011-09-23 Alan Mackenzie <acm@muc.de>
2820
2821 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2822
97adfb97
CY
28232011-09-23 Chong Yidong <cyd@stupidchicken.com>
2824
2825 * window.el (pop-to-buffer): Ensure right window is selected if we
2826 chose another frame.
2827
d4ef2b50
EZ
28282011-09-22 Eli Zaretskii <eliz@gnu.org>
2829
2830 * simple.el (what-cursor-position): Use get-char-property-change
2831 and next-single-char-property-change, to be able to show display
2832 properties that come from overlays as well as text properties.
2833
72258fe5
CY
28342011-09-22 Chong Yidong <cyd@stupidchicken.com>
2835
2836 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2837
2838 * cmuscheme.el (run-scheme, switch-to-scheme):
2839 * cus-edit.el (customize-group, custom-buffer-create)
2840 (customize-browse):
2841 * info.el (info):
2842 * shell.el (shell):
2843 * mail/sendmail.el (mail):
2844 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2845
8f098516
RS
28462011-09-22 Richard Stallman <rms@gnu.org>
2847
2848 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2849 move back only to line beg, don't move back over blank lines.
2850
e74f1bb6
MA
28512011-09-22 Michael Albinus <michael.albinus@gmx.de>
2852
2853 * files.el (copy-directory): Set directory attributes only in case
2854 they could be retrieved from the source directory. (Bug#9565)
2855
bfeef8b6
DK
28562011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2857
2858 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2859 (hs-find-block-beginning, hs-hide-level-recursive):
2860 Ignore strings as well as comments. (Bug#9502)
2861
7e423bb8
AS
28622011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2863
2864 * progmodes/sql.el (sql-comint-postgres):
2865 Convert port number to a string. (Bug#9566)
2866
b4d72fcf
MR
28672011-09-22 Martin Rudalics <rudalics@gmx.at>
2868
2869 * window.el (quit-window): Undedicate window when switching to
2870 previous buffer. Reported by Thierry Volpiatto
2871 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2872 (special-display-popup-frame): When popping up a new frame reset
2873 its previous buffers to nil. Simplify code.
b4d72fcf 2874
a7b88dc6
MA
28752011-09-21 Michael Albinus <michael.albinus@gmx.de>
2876
2877 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2878 and process filter, as done also in `shell-command'.
2879
cf4eacfd
MR
28802011-09-21 Martin Rudalics <rudalics@gmx.at>
2881
eca3f3ea 2882 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2883 Call set-window-start with NOFORCE argument t.
2884 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2885 (quit-window): Reword doc-string. Handle new format of
2886 quit-restore parameter. Don't delete window if it has a
2887 previous buffer we can show instead of the present one.
2888 (display-buffer-record-window): Rewrite using a new format for
2889 the quit-restore window parameter
2890 (special-display-popup-frame, display-buffer-same-window)
2891 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2892 (display-buffer-pop-up-window, display-buffer-use-some-window):
2893 Adapt symbol passed to display-buffer-record-window.
2894 * help.el (help-window-setup): Handle new format of quit-restore
2895 parameter.
2896
8d28cb95
SM
28972011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2898
94ab793f
SM
2899 * faces.el (face-list): Fix docstring (bug#9564).
2900
8d28cb95
SM
2901 * window.el (display-buffer--action-function-custom-type):
2902 Don't include internal functions in the Custom interface.
2903
3820edeb
JL
29042011-09-20 Juri Linkov <juri@jurta.org>
2905
2906 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2907 (Info-forward-node, Info-backward-node, Info-next-preorder)
2908 (Info-last-preorder): Use it. (Bug#9528)
2909
5147931d
JL
29102011-09-20 Juri Linkov <juri@jurta.org>
2911
2912 * info.el (Info-last-preorder): Visit last menu item only when
2913 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2914
cf499a1a
JD
29152011-09-20 Julien Danjou <julien@danjou.info>
2916
2917 * password-cache.el (password-cache-remove): Remove entries even if the
2918 value is nil, so that password with a nil value (negative caching) is
2919 possible to invalidate.
2920
f84e2fe2
LM
29212011-09-20 Lawrence Mitchell <wence@gmx.li>
2922
2923 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2924 all whitespace around breakpoint. (Bug#9553)
2925 (f90-find-breakpoint): Only break at whitespace inside a comment.
2926
78054a46
SM
29272011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * minibuffer.el (completion-file-name-table): Keep track of errors.
2930 (completion-table-with-predicate): Handle the case where pred1 is nil.
2931 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2932
345083b2
SM
29332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2934
e24e27be
SM
2935 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2936 (debugger-return-value): Signal an error if the debugging context does
2937 not await any return value.
2938
345083b2
SM
2939 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2940 * image-mode.el (image-toggle-display-text)
2941 (image-toggle-display-image): Stay away from evil `intangible'.
2942
08d355e3
LL
29432011-09-19 Leo Liu <sdl.web@gmail.com>
2944
2945 * replace.el (occur-revert-arguments): Make it permanent-local.
2946 (occur-mode): Don't call font-lock-defontify.
2947
f01da43f
CY
29482011-09-19 Chong Yidong <cyd@stupidchicken.com>
2949
2950 * net/ldap.el (ldap-search-internal): Don't push empty search
2951 result (Bug#9508).
2952
b6072fa6
SM
29532011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2956
443d6696
MA
29572011-09-19 Michael Albinus <michael.albinus@gmx.de>
2958
2959 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2960 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2961
7cc6e154
JL
29622011-09-18 Juri Linkov <juri@jurta.org>
2963
2964 * buff-menu.el (Buffer-menu-mode-map):
2965 * dired.el (dired-mode-map):
2966 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2967 (lisp-interaction-mode-map):
2968 * emacs-lisp/package.el (package-menu-mode-map):
2969 * epa.el (epa-key-list-mode-map):
2970 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2971 (menu-bar-options-menu):
2972 * outline.el (outline-mode-menu-bar-map):
2973 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2974 * vc/vc-dir.el (vc-dir-menu-map):
2975 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2976 Capitalize non-function content words in menu item strings.
2977
2978 * dired.el (dired-mode-map): Add menu item for
2979 `image-dired-dired-toggle-marked-thumbs'.
2980
80302a81
JL
29812011-09-18 Juri Linkov <juri@jurta.org>
2982
2983 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2984 to `isearch-case-fold-search' and restore its original value
2985 after the `isearch-mode' call.
2986
46c5cf66
JL
29872011-09-18 Juri Linkov <juri@jurta.org>
2988
2989 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2990 because `zgrep' returns 1 for successful matches (bug#9226).
2991
d18b513b
JL
29922011-09-18 Juri Linkov <juri@jurta.org>
2993
2994 * info.el (Info-extract-menu-node-name): Check the second match
2995 for empty string (second test-case of bug#9528).
2996 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2997 intermediate nodes to the history (first test-case of bug#9528).
2998
72753f87
JL
29992011-09-18 Juri Linkov <juri@jurta.org>
3000
3001 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3002 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3003
c9384295
JL
30042011-09-18 Juri Linkov <juri@jurta.org>
3005
1154d12e
JB
3006 * info.el (Info-file-supports-index-cookies):
3007 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3008 outputs one more line for long file names (bug#4142).
c9384295 3009
d473dce8
CY
30102011-09-18 Chong Yidong <cyd@stupidchicken.com>
3011
3012 * newcomment.el (comment-normalize-vars): If prompting for
3013 comment-start, set comment-start-skip too (Bug#8424).
3014
2176854d
JB
30152011-09-18 Johan Bockgård <bojohan@gnu.org>
3016
3017 * icomplete.el: Fix previous fix of Bug#5849.
3018 (icomplete-mode): Don't set completion-show-inline-help.
3019 (icomplete-minibuffer-setup): Set completion-show-inline-help
3020 locally during icompletion.
3021
3aace4e4
CY
30222011-09-18 Chong Yidong <cyd@stupidchicken.com>
3023
c940224f
CY
3024 * woman.el (woman2-process-escapes): Don't delete unrecognized
3025 escapes (Bug#7843).
3026
3aace4e4
CY
3027 * files.el (inhibit-first-line-modes-regexps): Add image files.
3028 (hack-local-variables-prop-line): Return nil for malformed
3029 prop-lines (Bug#9044).
3030
710dec63
MA
30312011-09-18 Michael Albinus <michael.albinus@gmx.de>
3032
3033 * net/tramp.el (top): Don't require 'shell.
3034 (tramp-methods): Fix docstring.
3035 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3036 Return complete remote file name. Handle "smb" case.
3037 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3038 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3039
3040 * net/tramp-compat.el (top): Require 'shell.
3041
3042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3043 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3044 `tramp-current-host'.
3045 (tramp-get-remote-tmpdir): Remove.
3046
3047 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3048 `tramp-tmpdir' entries.
3049 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3050 (tramp-smb-handle-file-attributes): Ignore errors.
3051 (tramp-smb-wait-for-output): Check also for process end.
3052
5d5ac8ec
LMI
30532011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3054
3055 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3056 when sending QUIT (bug#9312).
3057
8c0f49f0
CY
30582011-09-17 Chong Yidong <cyd@stupidchicken.com>
3059
3060 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3061 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3062 occur-mode-display-occurrence.
3063 (occur-edit-mode): Add usage message.
3064 (occur-cease-edit): New command.
3065 (occur-after-change-function): Use text properties to find the
3066 position of the prefix text.
3067 (occur-engine): Set stickiness of prefix text properties.
3068
8f1383f7
GM
30692011-09-17 Glenn Morris <rgm@gnu.org>
3070
3071 * progmodes/etags.el (complete-tag):
3072 Fix call to completion-in-region. (Bug#9526)
3073
744ba0e3
JL
30742011-09-17 Juri Linkov <juri@jurta.org>
3075
3076 * textmodes/ispell.el (ispell-word): Add to the error message
3077 the word, ispell program name and current dictionary (bug#9121).
3078 (ispell-tex-arg-end): Capitalize "error" in the error message.
3079
d9bbf400
AS
30802011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3081
3082 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3083 check. (Bug#4251)
3084
8da11505
JL
30852011-09-17 Juri Linkov <juri@jurta.org>
3086
3087 * window.el (window-safe-min-height, window-safe-min-width):
3088 Fix typos (followup to bug#9522).
3089
a91adc7e
SJ
30902011-09-17 Sven Joachim <svenjoac@gmx.de>
3091
3092 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3093
064f328a
EZ
30942011-09-16 Eli Zaretskii <eliz@gnu.org>
3095
3096 * simple.el (line-move): If goal-column is set, move by logical
3097 lines, not by display lines. (Bug#971)
3098 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3099 to reflect the above change.
3100
e69df516
SM
31012011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * image.el (imagemagick-register-types): Use regexp-opt.
3104
cbb0f9ab
CY
31052011-09-15 Chong Yidong <cyd@stupidchicken.com>
3106
3107 * window.el (display-buffer-base-action): Rename from
3108 display-buffer-default-action. Make default value empty.
3109 (display-buffer-overriding-action): Convert to defvar.
3110 (display-buffer-fallback-action): New var.
3111
25322144
CY
31122011-09-15 Chong Yidong <cyd@stupidchicken.com>
3113
3114 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3115 declaration.
3116 (package--add-to-archive-contents): If there is a duplicate entry
3117 with an older version, remove it.
3118 (package-menu-mark-delete, package-menu-mark-install)
3119 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3120 (package-menu-mark-obsolete-for-deletion):
3121 Use package-menu-get-status instead of a regexp search.
25322144
CY
3122 (package-menu-get-status): Use tabulated-list-entry.
3123 (package-menu-mark-upgrades): New command.
d770725a 3124 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3125 (package-menu-execute): Do installation before deletion.
3126 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3127 instead of checking major-mode.
3128 (package-menu--find-upgrades): New function.
3129
7520339c
LMI
31302011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3131
3132 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3133 passwords in the log buffer.
65a046c4
LMI
3134 (smtpmail-process-filter): Update the process marker so that the
3135 "broken by peer" status message is inserted in the right place.
7520339c 3136
d3c30954
SM
31372011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3fe48822
SM
3139 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3140 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3141 bibtex-completion-at-point-function.
3142 (bibtex-completion-at-point-function): Use them.
3143
1b8b3954
SM
3144 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3145
d3c30954
SM
3146 * mpc.el (mpc-constraints-tag-lookup): New function.
3147 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3148 also to browser "album|playlist".
3149
72779976
JL
31502011-09-14 Juri Linkov <juri@jurta.org>
3151
3152 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3153 (isearch-edit-string): Use length of `isearch-string' when
3154 `isearch-fail-pos' returns nil.
3155 (isearch-message): Remove duplicate code and call
3156 `isearch-fail-pos' with arg `t'.
3157
a0bf2bcd
CY
31582011-09-14 Chong Yidong <cyd@stupidchicken.com>
3159
17bb0a2d
CY
3160 * replace.el (occur-mode-goto-occurrence): Don't force using other
3161 window (Bug#9499).
3162
a0bf2bcd
CY
3163 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3164
f678e0b6
MR
31652011-09-14 Martin Rudalics <rudalics@gmx.at>
3166
3167 * window.el (display-buffer-window): Remove.
3168 (display-buffer-record-window): Use help-setup window parameter
3169 instead of variable display-buffer-window.
3170 (display-buffer-function, special-display-buffer-names)
3171 (special-display-function): Mention help-setup parameter instead
3172 of display-buffer-window in doc-string.
d3c30954
SM
3173 * help.el (help-window-setup): New argument help-window.
3174 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3175 Reword some messages.
3176 (with-help-window): Pass window used for displaying the buffer
3177 to help-window-setup. Don't set display-buffer-window.
3178
8e39b2e8
GM
31792011-09-13 Glenn Morris <rgm@gnu.org>
3180
3181 * emacs-lisp/debug.el (debugger-make-xrefs):
3182 Preserve point. (Bug#9462)
3183
85e9c04b
CY
31842011-09-13 Chong Yidong <cyd@stupidchicken.com>
3185
3186 * window.el (window-deletable-p): Use next-frame.
3187
1b36ed6a
MR
31882011-09-13 Martin Rudalics <rudalics@gmx.at>
3189
3190 * window.el (window-auto-delete): Remove.
3191 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3192 dedication and previous buffers.
1b36ed6a
MR
3193 (switch-to-prev-buffer): Don't delete window.
3194 (delete-windows-on): Delete a window's frame if and only if the
3195 window is dedicated.
3196 (replace-buffer-in-windows): Delete buffer's window or frame if
3197 and only if window is dedicated.
3198 (quit-window): Handle quit-restore as before last change.
4d61f28d 3199 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3200
ef8ef9fb
CY
32012011-09-13 Chong Yidong <cyd@stupidchicken.com>
3202
3203 * window.el (window-deletable-p): Never delete the last frame on a
3204 given terminal.
3205
b2cba41e
GM
32062011-09-13 Glenn Morris <rgm@gnu.org>
3207
3208 * help.el (describe-key-briefly): Copy previous standard-output change.
3209
51553db6 32102011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3211
3212 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3213
b7556719
GM
32142011-09-13 Glenn Morris <rgm@gnu.org>
3215
3216 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3217 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3218
64b51947
CY
32192011-09-12 Chong Yidong <cyd@stupidchicken.com>
3220
3221 * dired-aux.el (dired-mark-read-string): Don't return default
3222 value on empty input (Bug#9361).
3223 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3224 Omit initial minibuffer contents.
3225 (dired-do-chmod): Signal an error on empty input.
3226 (dired-mark-read-string): Don't return default on empty input.
3227
3228 * files.el (file-modes-symbolic-to-number): Doc fix.
3229
393a301e
SM
32302011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * international/mule-cmds.el (ucs-completions): Remove.
3233 (read-char-by-name): Use complete-with-action instead; add metadata.
3234
fa5660f9
CY
32352011-09-11 Chong Yidong <cyd@stupidchicken.com>
3236
3237 * window.el (display-buffer--action-function-custom-type)
3238 (display-buffer--action-custom-type): New vars.
3239 (display-buffer-alist, display-buffer-default-action)
3240 (display-buffer-overriding-action): Add defcustom types.
3241
4a592f66
CY
3242 * frame.el (delete-other-frames): Doc fix (Bug#276).
3243
73d56dbd
LMI
32442011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3245
3246 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3247
37ac18a3
CY
32482011-09-11 Chong Yidong <cyd@stupidchicken.com>
3249
3250 Change modes that used same-window-* vars to use switch-to-buffer.
3251
3252 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3253 Use switch-to-buffer.
3254
3255 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3256 (customize-browse, custom-buffer-create-other-window):
3257 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3258
3259 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3260 (Info-prev, Info-up, Info-speedbar-goto-node)
3261 (info-display-manual): Use switch-to-buffer.
3262 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3263
3264 * mail/sendmail.el (mail): Use switch-to-buffer.
3265 (mail-recover): Use switch-to-buffer-other-window.
3266
3267 * cmuscheme.el (run-scheme, switch-to-scheme):
3268 * ielm.el (ielm):
3269 * shell.el (shell):
3270 * net/rlogin.el (rlogin):
3271 * net/telnet.el (telnet, rsh):
3272 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3273
10195bd6
AS
32742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3275
3276 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3277
b322f63a
LMI
32782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3279
39d7fed6
LMI
3280 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3281 so don't mention it (bug#9301).
ba5a81f1 3282 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3283
ee0e9f11
LMI
3284 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3285 match `x', `w32' and `ns', like the manual says (bug#9029).
3286
0b1c89c1 3287 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3288 (process-kill-buffer-query-function): Mention the buffer name in
3289 the query.
0b1c89c1 3290
77549ea8
LMI
3291 * image-mode.el (image-next-line): The line parameter is mandatory
3292 (bug#9258).
3293
803ef892
LMI
3294 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3295 which can be useful (bug#9301).
3296
12980837
LMI
3297 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3298
91054f8f
LMI
3299 * subr.el (match-string): Mention that the current buffer should
3300 be the same as the search was done in (bug#9282).
3301
b322f63a
LMI
3302 * facemenu.el: Disable the remove-* commands if the mark isn't
3303 active (bug#9162).
3304
3199b96f
CY
33052011-09-10 Chong Yidong <cyd@stupidchicken.com>
3306
3307 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3308 of display-buffer.
3309 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3310
3311 * replace.el (occur-mode-goto-occurrence)
3312 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3313 and display-buffer.
3314
3315 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3316 display-buffer.
3317
3318 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3319 special-display and same-window variables.
3320 (mail-other-window): Use switch-to-buffer-other-window.
3321 (mail-other-frame): USe switch-to-buffer-other-frame.
3322
393a301e
SM
3323 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3324 Use display-buffer-other-frame.
3199b96f
CY
3325 (gdb-display-gdb-buffer): Use pop-to-buffer.
3326
3327 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3328
3329 * progmodes/python.el: Don't set same-window-buffer-names.
3330
3331 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3332
3333 * window.el (display-buffer-alist): Add *Python*.
3334
8319e0bf
CY
33352011-09-10 Chong Yidong <cyd@stupidchicken.com>
3336
3337 * window.el (display-buffer-alist): Add entry for buffers
3338 previously handled same-window-*.
3339 (display-buffer-alist, display-buffer-default-action)
3340 (display-buffer-overriding-action): Mark as risky.
3341 (display-buffer-alist): Document action function changes.
3342 (display-buffer--same-window-action)
3343 (display-buffer--other-frame-action): New variables.
3344 (switch-to-buffer, display-buffer-other-frame): Use them.
3345 (display-buffer): Rename reuse-frame entry to reusable-frames.
3346 (display-buffer-reuse-selected-window): Function deleted.
3347 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3348 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3349 (display-buffer-special): New function.
3350 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3351 display-buffer-reuse-or-pop-window. Split off special-display
3352 part into display-buffer-special.
3353 (display-buffer-use-some-window): Don't perform any special
3354 pop-up-frames handling.
3355 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3356 (display-buffer--maybe-same-window): Rename from
0d3ff375 3357 display-buffer-maybe-same-window.
8319e0bf 3358
919a69aa
CY
3359 * info.el: Don't set same-window-regexps.
3360 (info-setup): New function.
3361 (info-other-window, info): Call it.
3362
3363 * cus-edit.el: Don't set same-window-regexps.
3364 (customize-group): New argument.
3365 (customize-group-other-window): Use it.
3366 (customize-face, customize-face-other-window): Likewise.
3367 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3368
8319e0bf
CY
3369 * net/rlogin.el:
3370 * net/telnet.el:
3371 * progmodes/gud.el: Don't set same-window-regexps.
3372
3373 * cmuscheme.el:
3374 * ielm.el:
3375 * shell.el:
3376 * mail/sendmail.el:
3377 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3378
25173000
JL
33792011-09-10 Juri Linkov <juri@jurta.org>
3380
3381 * isearch.el (isearch-edit-string): Remove obsolete mention of
3382 `C-w' (`isearch-yank-word-or-char') from docstring.
3383 (isearch-query-replace): Fix typo in docstring (bug#9466).
3384
056e44ef
JL
33852011-09-10 Juri Linkov <juri@jurta.org>
3386
3387 * paren.el (show-paren-function): Don't show escaped parens.
3388 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3389
c3760c17
EZ
33902011-09-10 Eli Zaretskii <eliz@gnu.org>
3391
3392 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3393 (mm-default-file-encoding): Remove autoload forms, they are
3394 replaced with autoload cookies in mml.el and mm-encode.el.
3395 (mail-add-attachment): New command.
3396 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3397 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3398 the doc string.
3399 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3400
fece895e
RT
34012011-09-10 Reuben Thomas <rrt@sc3d.org>
3402
e69df516
SM
3403 * simple.el (count-words-region): Use buffer if there's no region
3404 (bug#9429).
fece895e 3405
5e68ce4a
JL
34062011-09-09 Juri Linkov <juri@jurta.org>
3407
3408 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3409 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3410 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3411
0a6b9622
AM
34122011-09-09 Alan Mackenzie <acm@muc.de>
3413
3414 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3415 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3416
14a29deb
EZ
34172011-09-09 Eli Zaretskii <eliz@gnu.org>
3418
3419 Fix for Savannah bug#9392.
3420 * simple.el (mail-encode-mml): New defvar.
3421
3422 * mail/rmail.el (mail-encode-mml): Add a defvar.
3423 (rmail-enable-mime-composing): Default to t.
3424 (rmail-forward): Use MIME method of forwarding only if both
3425 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3426 Set mail-encode-mml non-nil if the MIME method was used.
3427
3428 * mail/sendmail.el (mml-to-mime): Add autoload form.
3429 (mail-encode-mml): Add a defvar.
3430 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3431 to nil.
3432 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3433 message through mml-to-mime, and reset mail-encode-mml to nil.
3434
28c45130
GM
34352011-09-09 Glenn Morris <rgm@gnu.org>
3436
3437 * woman.el (woman-if-body): When processing an .el block,
3438 do not delete the next .el block as well. (Bug#9447)
69f4b618 3439 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3440
9b1c252e
MR
34412011-09-08 Martin Rudalics <rudalics@gmx.at>
3442
3443 * window.el (window-deletable-p): Make sure window is live before
3444 invoking window-prev-buffers.
3445
567457e3
LL
34462011-09-08 Leo Liu <sdl.web@gmail.com>
3447
3448 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3449
97f05794
JL
34502011-09-08 Juri Linkov <juri@jurta.org>
3451
3452 * progmodes/compile.el (compilation-environment): Make it
3453 a defcustom (bug#8340).
3454
8b0874b5
MR
34552011-09-08 Martin Rudalics <rudalics@gmx.at>
3456
3457 * window.el (frame-auto-delete): Rename to window-auto-delete.
3458 Make it control auto-deletion of windows and/or frames.
3459 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3460 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3461 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3462 Rewrite handling of case when window/frame can be deleted.
3463 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3464 argument t. (Bug#9456)
8b0874b5 3465
4feb6e73
CY
34662011-09-07 Chong Yidong <cyd@stupidchicken.com>
3467
3468 * help-mode.el (help-mode): Restore autoload.
3469
91ab9c13
JL
34702011-09-07 Juri Linkov <juri@jurta.org>
3471
3472 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3473 `compilation-environment'. Set buffer-local
3474 `compilation-environment' to `thisenv' later after (funcall mode).
3475 (Bug#8340)
3476
3477 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3478 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3479 instead of replacing its value. (Bug#8340)
3480
0527e251
JL
34812011-09-07 Juri Linkov <juri@jurta.org>
3482
3483 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3484 based on text properties put by `grep-filter' instead of matching
3485 escape sequences.
3486 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3487 to the value of `grep-error-screen-columns' (bug#9438).
3488
249f792c
JL
34892011-09-07 Juri Linkov <juri@jurta.org>
3490
3491 * simple.el (next-error-highlight, next-error-highlight-no-select):
3492 Doc fix (bug#9432).
3493
ff7271b9
OT
34942011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3495
3496 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3497 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3498
183fc730
LL
34992011-09-07 Leo Liu <sdl.web@gmail.com>
3500
3501 * net/rcirc.el (rcirc-mode): Conditionally initialize
3502 rcirc-input-ring.
3503
77694924
SM
35042011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * emacs-lisp/find-func.el (find-function-C-source): Only set
3507 find-function-C-source-directory after checking that we found a source
3508 file there (bug#9440).
3509
d809b8eb
AM
35102011-09-06 Alan Mackenzie <acm@muc.de>
3511
3512 * isearch.el (isearch-other-meta-char): Wherever a key list is
3513 unread, "unread" the prefix arg, too. This fixes bug #8901.
3514
453de99f
OG
35152011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3516
3517 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3518
90439906
JL
35192011-09-05 Juri Linkov <juri@jurta.org>
3520
3521 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3522
f62bd846
JL
35232011-09-05 Juri Linkov <juri@jurta.org>
3524
3525 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3526 keeping point where processing of grep matches begins, and
3527 continue to delete remaining escape sequences from the same point.
3528 (grep-filter): Make leading zero optional in "0?1;31m" because
3529 git-grep emits "\033[1;31m" escape sequences unlike expected
3530 "\033[01;31m" as GNU Grep does (bug#9408).
3531 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3532
045820ec
JL
35332011-09-05 Juri Linkov <juri@jurta.org>
3534
3535 * subr.el (y-or-n-p): Capitalize "yes".
3536
f5e29b9b
MA
35372011-09-04 Michael Albinus <michael.albinus@gmx.de>
3538
3539 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3540 `tramp-cache-unload-hook' where appropriate.
3541 (tramp-methods): Rename `tramp-remote-sh' to
3542 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3543 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3544
3545 * net/tramp-sh.el (top): Don't require 'shell.
3546 (tramp-methods): Add `tramp-remote-shell' and
3547 `tramp-remote-shell-args' entries.
3548 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3549 (tramp-sh-handle-shell-command): Remove.
3550 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3551 Use `tramp-remote-shell'.
3552
2784c434
CY
35532011-09-03 Chong Yidong <cyd@stupidchicken.com>
3554
393a301e 3555 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3556 (sendmail-query-once): Save directly to send-mail-function.
3557 Update message-send-mail-function too.
3558
3559 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3560
464cdf56
CS
35612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3562
3563 * progmodes/python.el (python-mode-map): Use correct function to
3564 start python interpreter from menu-bar (as reported by Geert
3565 Kloosterman).
3566 (inferior-python-mode-map): Fix typo.
393a301e 3567 (python-shell-map): Remove.
464cdf56 3568
d37e5c87
DD
35692011-09-03 Deniz Dogan <deniz@dogan.se>
3570
3571 * net/rcirc.el (rcirc-print): Simplify code for
3572 rcirc-scroll-show-maximum-output. There is no need to walk
3573 through all windows to find the right one.
3574
f3ada0ee
CS
35752011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3576
3577 * help.el (help-return-method): Doc fix.
3578
1f3c99ca
MR
35792011-09-03 Martin Rudalics <rudalics@gmx.at>
3580
3581 * window.el (window-deletable-p): Don't return a non-nil value
3582 when there's a buffer that was shown in the window before.
3583 (Bug#9419)
393a301e
SM
3584 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3585 Set window's previous buffers to nil.
1f3c99ca 3586
a3cf097f
EZ
35872011-09-03 Eli Zaretskii <eliz@gnu.org>
3588
3589 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3590 newline before and after the tag line, so it doesn't interfere
3591 with determining the paragraph direction of bidirectional text.
3592
3d03de90
LL
35932011-09-03 Leo Liu <sdl.web@gmail.com>
3594
3595 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3596
c3313451
CY
35972011-09-02 Chong Yidong <cyd@stupidchicken.com>
3598
393a301e 3599 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3600 (pop-to-buffer): Change interactive spec. Pass second argument
3601 directly to display-buffer.
3602 (display-buffer): Fix interactive spec. Use functionp to
3603 distinguish between a function and a list of functions.
3604
3605 * abbrev.el (edit-abbrevs):
3606 * arc-mode.el (archive-extract):
3607 * autoinsert.el (auto-insert):
3608 * bookmark.el (bookmark-bmenu-list):
3609 * files.el (find-file):
3610 * view.el (view-buffer):
3611 * progmodes/compile.el (compilation-goto-locus):
3612 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3613
89894cd8
CY
36142011-09-02 Chong Yidong <cyd@stupidchicken.com>
3615
3616 * window.el (display-buffer-alist): Doc fix.
3617 (display-buffer): Add docstring. Don't treat
3618 display-buffer-default specially.
3619 (display-buffer-reuse-selected-window)
3620 (display-buffer-same-window, display-buffer-maybe-same-window)
3621 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3622 (display-buffer-pop-up-window)
3623 (display-buffer-reuse-or-pop-window)
3624 (display-buffer-use-some-window): New functions.
3625 (display-buffer-default-action): Use them.
393a301e 3626 (display-buffer-default): Delete.
89894cd8
CY
3627 (pop-to-buffer-1): Fix choice of actions.
3628
ae0bc9fb
SM
36292011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * minibuffer.el (completion--insert-strings): Don't get confused by
3632 completion entries that end with an LF char.
3633
e9d90883
EZ
36342011-09-01 Eli Zaretskii <eliz@gnu.org>
3635
3636 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3637
437014c8
CY
36382011-09-01 Chong Yidong <cyd@stupidchicken.com>
3639
3640 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3641 (display-buffer-same-window, display-buffer-other-window):
3642 New functions.
437014c8
CY
3643 (pop-to-buffer-1): New function. Use the above.
3644 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3645 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3646
3647 * view.el (view-buffer-other-window, view-buffer-other-frame):
3648 Just use pop-to-buffer.
3649
a5e063d5
TV
36502011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3651
3652 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3653
793d32bb
WH
36542011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3655
3656 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3657
d65e4c15
RS
36582011-08-31 Richard Stallman <rms@gnu.org>
3659
3660 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3661 of the separation of rmail-view-buffer from rmail-buffer.
3662 If you say no to "replace original", the decrypt is in the
3663 view buffer. If you say yes, the decrypt goes into the
3664 rmail buffer also.
3665
f818cd2a
MR
36662011-08-31 Martin Rudalics <rudalics@gmx.at>
3667
3668 * window.el (display-buffer-window): Rewrite doc-string.
3669 (display-buffer-record-window): New function.
3670 (display-buffer-macro-specifiers)
3671 (display-buffer-even-window-sizes, display-buffer-set-height)
3672 (display-buffer-set-width, display-buffer-in-window)
3673 (display-buffer-reuse-window, display-buffer-split-specifiers)
3674 (display-buffer-side-specifiers, display-buffer-split-window-1)
3675 (display-buffer-split-window, display-buffer-split-atom-window)
3676 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3677 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3678 (display-buffer-other-window-means-other-frame)
3679 (display-buffer-normalize-special)
3680 (display-buffer-normalize-default)
3681 (display-buffer-normalize-argument)
3682 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3683 (display-buffer-normalize-specifiers, display-buffer-frame)
3684 (display-buffer-same-window, display-buffer-same-frame)
3685 (display-buffer-other-window)
3686 (display-buffer-same-frame-other-window)
3687 (display-buffer-other-frame, pop-to-buffer-same-window)
3688 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3689 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3690 (switch-to-buffer-same-frame)
3691 (switch-to-buffer-other-window-same-frame)
3692 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3693 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3694 (display-buffer-alist-set): Remove.
3695 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3696 (special-display-regexps, special-display-function):
3697 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3698 parameter.
3699 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3700 (special-display-frame-alist, special-display-popup-frame)
3701 (same-window-buffer-names, same-window-regexps, same-window-p)
3702 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3703 (split-window-preferred-function, split-height-threshold)
3704 (split-width-threshold, window-splittable-p)
3705 (split-window-sensibly, window--try-to-split-window)
3706 (window--frame-usable-p, even-window-heights)
3707 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3708 (window--display-buffer-2, display-buffer-other-frame):
3709 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3710 (display-buffer-default, display-buffer-assq-regexp): New functions.
3711 (display-buffer-alist): Rewrite doc-string.
3712 (display-buffer-default-action)
3713 (display-buffer-overriding-action): New variables.
3714 (display-buffer, switch-to-buffer): Rewrite.
3715 (pop-to-buffer): Restore Emacs 23 behavior but use
3716 window-normalize-buffer-to-display.
3717 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3718 Restore Emacs 23 behavior but use
3719 window-normalize-buffer-to-switch-to.
3720 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3721 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3722 Rewrite using Emacs 23 options.
f818cd2a 3723
5bc3b51d
MA
37242011-08-31 Michael Albinus <michael.albinus@gmx.de>
3725
3726 * net/tramp.el (tramp-root-regexp): Remove.
3727 (tramp-completion-file-name-regexp-unified)
3728 (tramp-completion-file-name-regexp-separate)
3729 (tramp-completion-file-name-regexp-url): Don't use leading volume
3730 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3731 (tramp-drop-volume-letter): Simplify definition.
3732 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3733
b1a4f8e1
SM
37342011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3735
3736 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3737 (bug#9356).
3738
5664fa7b
RT
37392011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3740
b1a4f8e1 3741 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3742
9a45d6c3
JL
37432011-08-29 Juri Linkov <juri@jurta.org>
3744
3745 * isearch.el (isearch-done): Don't display message "Mark saved"
3746 when arg `edit' is non-nil to prevent its flicker in the echo area.
3747
fb87e0fb
CY
37482011-08-28 Chong Yidong <cyd@stupidchicken.com>
3749
3750 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3751 obsolete packages for deletion.
3752
09ac1c2a
CS
37532011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3754
3755 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3756 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3757 view-mode from help-mode.
3758 (help-xref-override-view-map): Remove.
3759 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3760 view-mode is not used anymore.
3761
7a1ff57f
CY
37622011-08-28 Chong Yidong <cyd@stupidchicken.com>
3763
3764 * server.el (server-port): Doc fix.
3765
b9696605
CY
3766 * cus-theme.el (custom-theme-choose-mode): Inherit from
3767 special-mode (Bug#9124).
3768 (custom-theme-choose-mode-map): Add special-mode to parent.
3769
ef8cdf8c
AM
37702011-08-28 Alan Mackenzie <acm@muc.de>
3771
3772 * progmodes/cc-fonts.el
3773 (c-make-font-lock-BO-decl-search-function): New function.
3774 (c-basic-matchers-after - "Fontify the clauses after various
3775 keywords"): Extract the three keyword lists for the 3 erroneous
3776 constructs from the list of four, and use the new function above
3777 in place of an old one.
3778
27de4e20
DD
37792011-08-28 Deniz Dogan <deniz@dogan.se>
3780
3781 * net/rcirc.el (rcirc-insert-prev-input)
3782 (rcirc-insert-next-input): Remove unused argument.
3783
356a3681
SM
37842011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3787
3fc9b218
AM
37882011-08-27 Alan Mackenzie <acm@muc.de>
3789
3790 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3791 handle function pointer parameters properly.
3792
538a061c
MR
37932011-08-27 Martin Rudalics <rudalics@gmx.at>
3794
3795 * window.el (display-buffer-reuse-window): Fix case where
3796 selected window was reused with non-nil OTHER-WINDOW argument.
3797 (Bug#9381)
3798
35b1c40c
DD
37992011-08-27 Deniz Dogan <deniz@dogan.se>
3800
3801 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3802 oftc's NickServ messages.
3803
2f6a3e79
GM
38042011-08-27 Glenn Morris <rgm@gnu.org>
3805
3806 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3807
7254299e
CY
38082011-08-26 Chong Yidong <cyd@stupidchicken.com>
3809
3810 * emacs-lisp/package.el (package-install): Call package-initialize
3811 if called interactively.
3812
f8ccf167
LL
38132011-08-26 Leo Liu <sdl.web@gmail.com>
3814
3815 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3816
3e8cd5ce
JL
38172011-08-25 Juri Linkov <juri@jurta.org>
3818
3819 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3820 `search-whitespace-regexp' (bug#9364).
3821
93eb7113
JL
38222011-08-25 Juri Linkov <juri@jurta.org>
3823
3824 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3825 `regexp-search-ring' to their global values to protect from
3826 updating by `read-from-minibuffer' (bug#9185).
3827
f65d1611
JL
38282011-08-25 Juri Linkov <juri@jurta.org>
3829
3830 * textmodes/ispell.el (ispell-command-loop): Add newline
3831 at the end of the "Use option `i'..." line.
3832
f1cf7a31
JL
38332011-08-25 Juri Linkov <juri@jurta.org>
3834
3835 * battery.el (display-battery-mode): If `battery-status-function'
3836 or `battery-mode-line-format' is nil, display the message and set
3837 `display-battery-mode' to nil (bug#9363).
3838
0c95fcf7
EZ
38392011-08-25 Eli Zaretskii <eliz@gnu.org>
3840
3841 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3842 bidi-string-mark-left-to-right; they are unnecessary now.
3843
a2ebe600
DD
38442011-08-25 Deniz Dogan <deniz@dogan.se>
3845
3846 * net/quickurl.el: Documentation typo fixes.
3847
e4ed06f1
CY
38482011-08-25 Chong Yidong <cyd@stupidchicken.com>
3849
3850 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3851
e5f1c99e
GM
38522011-08-25 Glenn Morris <rgm@gnu.org>
3853
b2948976
GM
3854 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3855
e5f1c99e
GM
3856 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3857 (smtpmail-via-smtp): Handle nil response from smtp.
3858
f22f4808
JL
38592011-08-24 Juri Linkov <juri@jurta.org>
3860
3861 * proced.el (proced-marked): Inherit from `error' instead of
3862 `font-lock-warning-face'.
3863
3864 * ibuffer.el (ibuffer-marked-face): Change default face from
3865 `font-lock-warning-face' to `warning'.
3866 (ibuffer-deletion-face): Change default face from
3867 `font-lock-type-face' to `error'.
3868
3869 * battery.el (battery-update): Use the face `error' instead of
3870 `font-lock-warning-face' (bug#6117).
3871
6a93965e
JL
38722011-08-24 Juri Linkov <juri@jurta.org>
3873
3874 * faces.el (success): Change face color from "Green3" to
3875 "ForestGreen" on light background (bug#9353).
3876
1ed43b09
CY
38772011-08-24 Chong Yidong <cyd@stupidchicken.com>
3878
5664fa7b
RT
3879 * window.el (quit-window): Rename from quit-restore-window.
3880 Use same arglist as old quit-window.
1ed43b09
CY
3881 (frame-auto-delete): Doc fix.
3882
3883 * view.el (view-mode-exit): Use quit-window.
3884
11dcdbb2
JL
38852011-08-24 Juri Linkov <juri@jurta.org>
3886
3887 * isearch.el (isearch-ring-adjust1): Start visiting previous
3888 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3889 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3890 for empty search string (when the last search string is reused
3891 automatically) to adjust the isearch ring to the last element and
3892 prepare the correct index for further M-p commands (bug#9185).
3893
de62b4df
KH
38942011-08-24 Kenichi Handa <handa@m17n.org>
3895
3896 * international/ucs-normalize.el: If decomposition property of
3897 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3898 nil.
3899 (nfd, nfkd): Likewise.
3900
963b492b
SM
39012011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3904 from process filters aren't reliably transmitted to the surrounding
3905 accept-process-output.
3906 (mpc-proc-check): New function.
3907 (mpc-proc-sync): Use it (bug#8293)
3908
93b6b5e1
SM
39092011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3912 Add compatibility functions (bug#9313).
3913
bca633fb
EZ
39142011-08-23 Eli Zaretskii <eliz@gnu.org>
3915
b177498a
EZ
3916 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3917
bca633fb
EZ
3918 * international/uni-bidi.el: Regenerated.
3919
0902a04e
KH
39202011-08-23 Kenichi Handa <handa@m17n.org>
3921
3922 * international/charprop.el:
3923 * international/uni-bidi.el:
3924 * international/uni-category.el:
3925 * international/uni-combining.el:
3926 * international/uni-comment.el:
3927 * international/uni-decimal.el:
3928 * international/uni-decomposition.el:
3929 * international/uni-digit.el:
3930 * international/uni-lowercase.el:
3931 * international/uni-mirrored.el:
3932 * international/uni-name.el:
3933 * international/uni-numeric.el:
3934 * international/uni-old-name.el:
3935 * international/uni-titlecase.el:
3936 * international/uni-uppercase.el: Regenerate.
3937
3bbf23bc
MR
39382011-08-23 Martin Rudalics <rudalics@gmx.at>
3939
3940 * help.el (help-window-setup): Fix message displayed when other
3941 window is reused. (Bug#9341)
3942
b3fd59bd
SM
39432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3944
1802e444
SM
3945 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3946 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3947
b3fd59bd
SM
3948 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3949 Mark obsolete.
3950 * shell.el (shell-parse-pcomplete-arguments): New function.
3951 (shell-completion-vars): Use it instead (bug#9160).
3952
4eb61348
SM
39532011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3954
867cab74
SM
3955 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3956 strings and comments (bug#9333).
3957
4eb61348
SM
3958 * emacs-lisp/debug.el (debug-arglist): New function.
3959 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3960 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3961
262a1439
JL
39622011-08-22 Juri Linkov <juri@jurta.org>
3963
56ee679c
JL
3964 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3965 Revert regexp that highlights output switches to its old
3966 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3967
262a1439
JL
3968 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3969 to check for empty output (bug#9226).
3970
f13f86fb
CY
39712011-08-22 Chong Yidong <cyd@stupidchicken.com>
3972
3973 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3974 symbol-constituent as the default, as that stops font-lock from
3975 working properly (Bug#8843).
3976
c65c9622
LMI
39772011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3978
3979 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3980 `coding-system-for-*' around the process open call to avoid
3981 auth-source side effects.
e7f2c178 3982 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3983 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3984 probe hangs.
c65c9622 3985
23a8a5ab
CY
39862011-08-21 Chong Yidong <cyd@stupidchicken.com>
3987
ff98b2dd
CY
3988 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3989
23a8a5ab
CY
3990 * emacs-lisp/find-func.el (find-function-noselect): New arg
3991 lisp-only.
3992
3993 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3994 signal an error for built-in functions (Bug#6664).
3995
f5e3c598
LMI
39962011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3997
3998 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3999 (smtpmail-try-auth-methods): Use it.
4000
a3f2468a
CY
40012011-08-21 Chong Yidong <cyd@stupidchicken.com>
4002
2c34e8da
CY
4003 * font-lock.el (font-lock-fontify-region)
4004 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4005 (font-lock-default-unfontify-buffer)
4006 (font-lock-default-fontify-region)
4007 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4008
b3fd59bd
SM
4009 * progmodes/compile.el (compilation-error-properties):
4010 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4011 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4012 `ant' regexp.
ee31aabc 4013
a3f2468a
CY
4014 * net/browse-url.el (browse-url-firefox): Don't call
4015 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4016
8e999f70
GM
40172011-08-20 Glenn Morris <rgm@gnu.org>
4018
c21a496a
GM
4019 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4020
59ee0542
GM
4021 * tutorial.el (tutorial--default-keys): Update some default bindings.
4022
8e999f70
GM
4023 * files.el (hack-local-variables): Fully ignore case for "mode:".
4024
e3715033
AM
40252011-08-20 Alan Mackenzie <acm@muc.de>
4026
4027 Resolve invalid use of a regexp in regexp-opt.
4028
4d61f28d
JB
4029 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4030 detection for a java annotation.
e3715033 4031
4d61f28d 4032 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4033 detection for a java annotation.
4034
4d61f28d
JB
4035 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4036 handling for java.
e3715033
AM
4037 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4038
04ed2e9c
CY
40392011-08-20 Chong Yidong <cyd@stupidchicken.com>
4040
4041 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4042 (Bug#9274).
4043
826cee64
AM
40442011-08-20 Alan Mackenzie <acm@muc.de>
4045
58179cce 4046 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4047 such a construct. Mainly for when jit-lock etc. starts a chunk
4048 here.
4049
58179cce 4050 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4051 variable.
58179cce 4052 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4053 c-make-font-lock-search-function.
4054 (c-make-font-lock-search-function): Use the above function.
4055 (c-make-font-lock-context-search-function): New function.
4056 (c-cpp-matchers): Enhance the preprocessor expression case with
4057 the above function
4058 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4059 which takes an expression.
4060
4061 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4062
13009bd8
MR
40632011-08-20 Martin Rudalics <rudalics@gmx.at>
4064
4065 * window.el (display-buffer-reuse-window)
4066 (display-buffer-pop-up-window): Don't reuse or split a side
4067 window.
4068
9234ff7f
GM
40692011-08-19 Glenn Morris <rgm@gnu.org>
4070
4071 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4072 Downcase "Mode:". (Bug#9331)
9234ff7f 4073
f635daa1
CY
40742011-08-18 Chong Yidong <cyd@stupidchicken.com>
4075
4076 * international/characters.el: Add L and R categories.
4077
4078 * subr.el (bidi-string-mark-left-to-right): Rename from
4079 string-mark-left-to-right. Use category search.
4080
4081 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4082
bc987f8b
JL
40832011-08-18 Juri Linkov <juri@jurta.org>
4084
4085 * faces.el (error, warning, success): New faces with definitions
4086 copied from old default values of `font-lock-warning-face',
4087 `compilation-warning', `compilation-info' (bug#6117).
4088
4089 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4090
4091 * progmodes/compile.el (compilation-error): Inherit from `error'.
4092 (compilation-warning): Inherit from `warning'.
4093 (compilation-info): Inherit from `success'.
4094
4095 * dired.el (dired-marked): Inherit from `warning'.
4096 (dired-flagged): Inherit from `error'.
4097
57173b96
LMI
40982011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4099
3e79eb87
LMI
4100 * mail/smtpmail.el (auth-source): Require to avoid problems with
4101 binding variables (bug#9298). Also clean up some unused
4102 autoloads.
4103
b3fd59bd
SM
4104 * net/network-stream.el (network-stream-open-starttls):
4105 Support using starttls.el without using gnutls-cli.
57173b96 4106
02b404de
JL
41072011-08-17 Juri Linkov <juri@jurta.org>
4108
4109 * progmodes/grep.el (rgrep): Handle the case when
4110 `grep-find-command' is a cons cell (bug#9278).
4111
8c9177f2
MR
41122011-08-17 Martin Rudalics <rudalics@gmx.at>
4113
4114 * window.el (display-buffer-pop-up-frame): Run frame creation
4115 function with BUFFER current (as special-display-popup-frame
4116 does). Reported by Drew Adams.
4117
3644a0ab
DU
41182011-08-17 Daiki Ueno <ueno@unixuser.org>
4119
4120 * epa-mail.el: Simplify GnuPG group expansion using
4121 epg-expand-group.
4122 (epa-mail-group-alist, epa-mail-group-modtime)
4123 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4124 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4125 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4126 Remove.
4127
5e617bc2 41282011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4129
4130 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4131
9c4aeabf
AM
41322011-08-16 Alan Mackenzie <acm@muc.de>
4133
4134 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4135 Correct, to avoid the inside of macros.
4136
3a99bf64
RS
41372011-08-16 Richard Stallman <rms@gnu.org>
4138
04963aa8
RS
4139 * epa-mail.el: Handle GnuPG group definitions.
4140 (epa-mail-group-alist, epa-mail-group-modtime)
4141 (epa-mail-gnupg-conf-file): New variables.
4142 (epa-mail-parse-groups, epa-mail-sync-groups)
4143 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4144 (epa-mail-expand-recipients): New functions.
4145 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4146
177549d0
RS
4147 * mail/rmail.el (rmail-epa-decrypt): New command.
4148
fe38beef
RS
4149 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4150 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4151 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4152 (epa-decrypt-armor-in-region): Make error message clearer.
4153
934eacb9
SM
41542011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4157 and "a2b" to "ab" for `prefix'.
4158
d024fb4e
CY
41592011-08-14 Chong Yidong <cyd@stupidchicken.com>
4160
4161 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4162 filter groups.
de148fee
CY
4163 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4164 Fourquet (Bug#8804).
d024fb4e 4165
62f1ca49
JB
41662011-08-12 Juanma Barranquero <lekktu@gmail.com>
4167
4168 * startup.el (argi): Declare as global variable (bug#9275).
4169
9ccaaa4b
CY
41702011-08-12 Chong Yidong <cyd@stupidchicken.com>
4171
4172 * subr.el (string-mark-left-to-right): Search the entire string
4173 for RTL script, not just the terminating character. Doc fix.
4174
a3dae87a
SM
41752011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4176
6cd18349
SM
4177 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4178 New function.
4179 (js--regexp-literal, js-syntax-propertize-function): Remove.
4180 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4181 (js-mode-map): Don't rebind electric keys.
4182 (js-insert-and-indent): Remove.
4183 (js-mode): Setup electric-layout and electric-indent instead.
4184
a3dae87a
SM
4185 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4186
9d5cb631
DU
41872011-08-12 Daiki Ueno <ueno@unixuser.org>
4188
4189 * epa.el (epa-progress-callback-function): Fix the logic of
4190 displaying progress.
4191 * epa-file.el (epa-file-insert-file-contents): Make progress
4192 display more user-friendly.
4193 (epa-file-write-region): Ditto.
4194
3e26a4a2
CY
41952011-08-10 Chong Yidong <cyd@stupidchicken.com>
4196
4197 * subr.el (string-mark-left-to-right): New function.
4198
4199 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4200 Use string-mark-left-to-right.
4201 (list-buffers-noselect): Caller changed.
4202
a3dae87a
SM
4203 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4204 Use string-mark-left-to-right.
3e26a4a2
CY
4205 (tabulated-list-print): Recenter after moving point.
4206
ac8cf6e6
JL
42072011-08-10 Juri Linkov <juri@jurta.org>
4208
4209 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4210 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4211 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4212
8d96c9a4
CY
42132011-08-09 Chong Yidong <cyd@stupidchicken.com>
4214
4215 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4216 (Bug#7554).
4217
7be1c708 42182011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4219
4220 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4221 character. (Bug#6594)
4222
37e11a63
CY
42232011-08-08 Chong Yidong <cyd@stupidchicken.com>
4224
839dde57
CY
4225 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4226 (image-dired--with-db-file): New macro.
4227 (image-dired-write-tags, image-dired-remove-tag)
4228 (image-dired-create-gallery-lists, image-dired-write-comments)
4229 (image-dired-get-comment, image-dired-mark-tagged-files)
4230 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4231 (image-dired-gallery-generate): Use insert-file-contents.
4232
37e11a63
CY
4233 * time.el (display-time-world-list, display-time-world-display):
4234 * time-stamp.el (time-stamp-string):
4235 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4236 set-time-zone-rule (Bug#7337).
4237
0b4946c4
DU
42382011-08-08 Daiki Ueno <ueno@unixuser.org>
4239
4240 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4241 (epg-error-to-string, epg-errors-to-string): New function.
4242 (epg-wait-for-completion): Reverse errors list.
4243 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4244 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4245 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4246 (epg-sign-keys, epg-generate-key-from-file)
4247 (epg-generate-key-from-string): Format errors by using
4248 epg-errors-to-string (bug#9255).
4249 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4250
75bfc667
JL
42512011-08-07 Juri Linkov <juri@jurta.org>
4252
4253 * faces.el (list-faces-display): Remove extra angle bracket
4254 from `help-mode-map'.
4255
4256 * info.el (Info-history-toc-nodes): Doc fix.
4257
4258 * longlines.el (longlines-mode): Doc fix.
4259
673e08bb
SM
42602011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4640dd88
SM
4262 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4263 of statements and in a few more cases (bug#9183).
4264
673e08bb
SM
4265 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4266 New functions.
4267 (cl-transform-lambda): Use them (bug#9239).
4268
89b3f019
MR
42692011-08-05 Martin Rudalics <rudalics@gmx.at>
4270
4271 * window.el (display-buffer-same-window)
4272 (display-buffer-same-frame, display-buffer-other-window)
4273 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4274 (pop-to-buffer-other-window)
4275 (pop-to-buffer-same-frame-other-window)
4276 (pop-to-buffer-other-frame): Make them defuns.
4277 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4278
640c8776
SM
42792011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * subr.el (make-composed-keymap): Move from C. Change calling
4282 convention, and improve docstring to bring attention to a subtle point.
4283 * minibuffer.el (completing-read-default): Adjust accordingly.
4284
63648a95
MA
42852011-08-03 Michael Albinus <michael.albinus@gmx.de>
4286
4287 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4288 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4289
4290 * net/trampver.el: Update release number.
4291
b796c9b7
SM
42922011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4295 "in" (bug#9190).
4296
2239d7d5
LMI
42972011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4298
e07dd7c3
LMI
4299 * mail/sendmail.el (sendmail-query-once): Restore the current
4300 buffer after querying (bug#9074).
4301
0e6a2bd7
LMI
4302 * dired.el (dired-flagged): Use different faces for marked and
4303 flagged files (bug#6117).
4304
ce887515
LMI
4305 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4306 (bug#4433).
4307
92f2affc
LMI
4308 * ido.el (ido-mode): Switch off the message if called
4309 non-interactively.
4310
57d5aff0
LMI
4311 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4312 before 587, since it appears that that's more likely to work for
4313 more people.
4314
98cd6c18 4315 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4316 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4317 exist.
4318
b96dec83
LMI
4319 * info.el: Remove the `Info-beginning-of-buffer' function
4320 (bug#8325).
4321
b796c9b7
SM
4322 * net/network-stream.el (network-stream-open-starttls):
4323 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4324
d90e2ea0
MR
43252011-08-01 Martin Rudalics <rudalics@gmx.at>
4326
4327 * window.el (display-buffer-in-window): Don't set dedicated status
4328 of window here (Bug#9215).
4329 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4330 (display-buffer-pop-up-side-window)
b796c9b7 4331 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4332
cca09170
SM
43332011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4336 before binding generated-autoload-file.
4337
027b979c
DD
43382011-08-01 Deniz Dogan <deniz@dogan.se>
4339
4340 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4341
3c7ee4f3
MA
43422011-07-30 Michael Albinus <michael.albinus@gmx.de>
4343
4344 Sync with Tramp 2.2.2.
4345
4346 * net/trampver.el: Update release number.
4347
2cc8e51a
JL
43482011-07-30 Juri Linkov <juri@jurta.org>
4349
4350 * dired-aux.el (dired-touch-initial): Remove function.
4351 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4352 current time, and `default' to the last modification time of the
4353 current marked file (bug#6887).
4354
a514d856
JM
43552011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4356
4357 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4358 numeric argument to read-number (bug#9163).
a514d856 4359
8a7eddd7
MA
43602011-07-27 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4363 connection process, it could be nil.
4364
1ddd96f5
LL
43652011-07-27 Leo Liu <sdl.web@gmail.com>
4366
4367 Simplify url handling in rcirc-mode.
4368
4369 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4370 (rcirc-browse-url-at-mouse): Remove.
4371 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4372
b248a85d
AM
43732011-07-26 Alan Mackenzie <acm@muc.de>
4374
4375 Fontify bitfield declarations properly.
4376
4377 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4378 (c-symbol-chars): Now exported as a lang variable.
4379 (c-not-primitive-type-keywords): New lang variable.
4380
4381 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4382 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4383 parsed as a bitfield declaration.
b248a85d 4384
b796c9b7
SM
4385 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4386 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4387 (c-punctuation-in): New function.
4388 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4389 declarations properly.
4390
68575ab0
UJ
43912011-07-26 Ulf Jasper <ulf.jasper@web.de>
4392
4393 * calendar/icalendar.el (icalendar--all-events): Take care of
4394 multiple vcalendars in a single file.
b796c9b7 4395 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4396
0f0a88b9
DD
43972011-07-25 Deniz Dogan <deniz@dogan.se>
4398
4399 * image.el (insert-image): Clarifying docstring.
4400
0b3f36df
MA
44012011-07-24 Michael Albinus <michael.albinus@gmx.de>
4402
4403 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4404 `tramp-send-command-and-check' if there is no error.
4405 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4406
a9901f61
AM
44072011-07-22 Alan Mackenzie <acm@muc.de>
4408
4409 Prevent cc-langs.elc being loaded at run time.
4410
4411 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4412 cc-langs.
4413
4d61f28d 4414 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4415 "(require 'cc-langs)". Quote a form so it will evaluate at
4416 (cc-mode's) compilation time.
4417
11d074b2
MA
44182011-07-22 Michael Albinus <michael.albinus@gmx.de>
4419
4420 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4421 loading. (Bug#9114)
4422
938b94c8
MR
44232011-07-21 Martin Rudalics <rudalics@gmx.at>
4424
4425 * window.el (display-buffer-pop-up-window)
4426 (display-buffer-pop-up-side-window)
4427 (display-buffer-in-side-window): Call display-buffer-set-height
4428 and display-buffer-set-width after setting the new window's
b796c9b7 4429 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4430
bfa4f190
SS
44312011-07-20 Sam Steingold <sds@gnu.org>
4432
4433 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4434 (etags-tags-included-tables): Call `convert-standard-filename' on
4435 the file names contained in TAGS so that windows Emacs can handle
4436 TAGS files created by cygwin ctags.
4437
8ca42262
LMI
44382011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4439
4440 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4441 which apparently didn't work.
4442
5db2afd2 44432011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4444
5db2afd2
RW
4445 * proced.el (proced-send-signal): For *Marked Processes* buffer
4446 put point at beginning of buffer.
4447
92e15d10
SB
44482011-07-19 Stephen Berman <stephen.berman@gmx.net>
4449
4450 * proced.el (proced-format): Make header lines align with the text
4451 (bug#1779).
4452
1bfd59e5
LMI
44532011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4454
4455 * view.el (view-buffer): Allow running in `special' modes if we're
4456 visiting a file (bug#8615).
4457
f5aae37c
MR
44582011-07-19 Martin Rudalics <rudalics@gmx.at>
4459
4460 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4461 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4462 New functions.
f5aae37c
MR
4463 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4464 more accurately.
4465
bf2c1571
AM
44662011-07-18 Alan Mackenzie <acm@muc.de>
4467
4468 Fontify declarators properly when, e.g., a jit-lock chunk begins
4469 inside a declaration.
4470
4471 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4472
b796c9b7
SM
4473 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4474 New function.
bf2c1571
AM
4475 (c-complex-decl-matchers): Insert reference to
4476 c-font-lock-enclosing-decls.
4477
4478 * progmodes/cc-engine.el (c-backward-single-comment):
4479 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4480 to nil around calls to (forward-comment -1).
4481
4e190b80
LMI
44822011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4483
12dc863d
LMI
4484 * image.el (put-image): Doc typo fix.
4485
a762e966
LMI
4486 * progmodes/etags.el (tags-search): Doc typo fix.
4487
4e190b80
LMI
4488 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4489 password if we get errors 550 to 554.
4490
f019fb21
LMI
44912011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4492
b796c9b7 4493 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4494
81746738
LMI
4495 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4496 indentation character (bug#6380).
4497
3ee3a1b5
LMI
4498 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4499
c82f64de
LMI
4500 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4501 to clarify what the problem is (bug#4291).
4502
f019fb21
LMI
4503 * simple.el (current-kill): Clarify what
4504 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4505 (auto-fill-mode): Document `auto-fill-function' in relation to
4506 `auto-fill-mode' (bug#2470).
f019fb21 4507
0794775d
LM
45082011-07-16 Lawrence Mitchell <wence@gmx.li>
4509
4510 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4511 method if slot is read-only (bug#9035).
4512
be39b8cc
MR
45132011-07-16 Martin Rudalics <rudalics@gmx.at>
4514
b796c9b7 4515 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4516 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4517 selected before, see discussion of (Bug#8615), (Bug#6954).
4518 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4519
6ccf7859
GM
45202011-07-15 Glenn Morris <rgm@gnu.org>
4521
4522 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4523 Respect help-form.
6ccf7859 4524
87e86684
LM
45252011-07-09 Lawrence Mitchell <wence@gmx.li>
4526
4527 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4528 (gnutls-negotiate): Use it.
4529
d6066239
LMI
45302011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4531
b796c9b7
SM
4532 * net/gnutls.el (gnutls-negotiate):
4533 Upcase `gnutls-algorithm-priority'.
d6066239 4534
bd23ebc0
GM
45352011-07-15 Glenn Morris <rgm@gnu.org>
4536
c65bca65
GM
4537 * jka-compr.el (jka-compr-verbose): Move from here...
4538 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4539 Add missing :version tag.
4540 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4541
478615cc
LMI
45422011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4543
7b41decb
LMI
4544 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4545 (gnutls-negotiate): Use it.
4546
dbc44fcd
LMI
4547 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4548
06789f97
LMI
4549 * info.el (Info-beginning-of-buffer): New command.
4550 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4551 announcing `b' as the key (bug#8325).
ab896c37 4552 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4553
c39da690
LMI
4554 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4555
3aa5f34b
LMI
4556 * international/mule-cmds.el
4557 (describe-specified-language-support): Make the error message
4558 clearer (bug#8905).
4559
4bf0979f
LMI
4560 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4561
478615cc
LMI
4562 * isearch.el (isearch-barrier): Add a doc string, since it's
4563 mentioned in a function doc string (bug#8678).
4564
75c68aa1
MR
45652011-07-15 Martin Rudalics <rudalics@gmx.at>
4566
4567 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4568 buffer argument (Bug#9083) and self-identifying label argument.
4569
a7c33da2
GM
45702011-07-15 Glenn Morris <rgm@gnu.org>
4571
4572 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4573
2f5c6024
LMI
45742011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4575
4576 * man.el (Man-fontify-manpage): Fix message when formatting the
4577 man page (bug#7929).
4578
0bb23927 45792011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4580
4581 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4582 argument LRM; if non-nil, append an invisible LRM character to the
4583 buffer name.
4584 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4585 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4586 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4587 paragraph direction.
cce4b0a7 4588
621ef9ab
LMI
45892011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4590
d1583c48
LMI
4591 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4592 the man page name (bug#7929).
4593
6a57fb5f
LMI
4594 * image.el (put-image): Mention the `put-image' overlay property
4595 (bug#7834).
4596
d7956b14
LMI
4597 * scroll-bar.el (set-scroll-bar-mode): Mention that
4598 `scroll-bar-mode' lists the values (bug#7772).
4599
5b2d4a66
LMI
4600 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4601 command (bug#7729).
4602
7509a874
LMI
4603 * rect.el (apply-on-rectangle): Return the point after the last
4604 operation.
4605 (string-rectangle): Go to the point after the last operation
4606 (bug#7522).
4607
4fe74b19
LMI
4608 * printing.el (pr-toggle-region): Clarify the documentation
4609 slightly (bug#7493).
4610
b796c9b7
SM
4611 * time.el (display-time-update):
4612 Allow `display-time-mail-function' to return nil (bug#7158).
4613 Fix suggested by Detlev Zundel.
ab283561 4614
fc233c9d
LMI
4615 * vc/diff.el (diff): Clarify the order the file names are read
4616 (bug#7111).
4617
43f5740b
LMI
4618 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4619 the doc string (bug#7015).
4620
f2182a76
LMI
4621 * font-lock.el (font-lock-maximum-decoration): Mention what
4622 numeric levels mean (bug#6935).
4623
621ef9ab
LMI
4624 * startup.el (initial-buffer-choice): Don't mention the `none'
4625 selection, which is against policy.
4626
adc47434
MR
46272011-07-14 Martin Rudalics <rudalics@gmx.at>
4628
b796c9b7
SM
4629 * window.el (display-buffer-normalize-special):
4630 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4631
7e5bfb8f
EZ
46322011-07-14 Eli Zaretskii <eliz@gnu.org>
4633
4634 * subr.el (version<, version<=, version=): Mention "-CVS" and
4635 "-12345" alpha version numbers.
4636
27fa387a
CY
46372011-07-14 Chong Yidong <cyd@stupidchicken.com>
4638
4639 * bindings.el: Add advertised binding for set-mark-command
4640 (Bug#5772).
4641
8bdfa064
CY
46422011-07-14 Chong Yidong <cyd@stupidchicken.com>
4643
4644 * bindings.el (mode-line-other-buffer):
4645 * bookmark.el (bookmark-bmenu-2-window):
4646 * bs.el (bs-cycle-next, bs-cycle-previous):
4647 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4648 switch-to-buffer.
4649
4650 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4651 Delete.
8bdfa064 4652
5eba16a3
JB
46532011-07-14 Juanma Barranquero <lekktu@gmail.com>
4654
4655 * follow.el (follow-debug-message, follow-redisplay):
4656 * jka-cmpr-hook.el (with-auto-compression-mode):
4657 Fix typos in docstrings.
4658
15853710
LMI
46592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4660
a28e4607
LMI
4661 * subr.el (with-silent-modifications): Clarify somewhat what the
4662 macro inhibits (bug#6525).
4663
15853710
LMI
4664 * simple.el (eval-expression): Note what it does if called
4665 interactively (bug#6495).
4666
bee0fcef
CY
46672011-07-13 Chong Yidong <cyd@stupidchicken.com>
4668
b796c9b7
SM
4669 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4670 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4671
4672 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4673 Remove switch-to-buffer.
4674
58274504
LMI
46752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4676
bd2fcc8d
LMI
4677 * files.el (make-directory): Clarify that an error will be raised
4678 if there's an error (bug#6397).
4679
0f04b32c
LMI
4680 * startup.el (initial-buffer-choice): Add `none' as a choice
4681 (bug#6234).
4682
465c5fc8
LMI
4683 * subr.el (add-hook): Clarify section about buffer-local hooks
4684 (bug#6218).
4685
58274504
LMI
4686 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4687
bead9a43
JB
46882011-07-13 Juanma Barranquero <lekktu@gmail.com>
4689
4690 * tabify.el (untabify): Preserve the current column so that point
4691 doesn't move (bug#6032).
4692
3af98a7b
LMI
46932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4694
b796c9b7
SM
4695 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4696 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4697
6240145a
GM
46982011-07-13 Glenn Morris <rgm@gnu.org>
4699
4700 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4701 (dired-insert-directory): Give a message the first time
4702 if ls is found not to support --dired.
4703
1d8c2ccc
LMI
47042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4705
4706 * simple.el (toggle-truncate-lines): Clarify what is toggled
4707 (bug#5580). Text by Drew Adams.
4708
5fc4038e
CY
47092011-07-13 Chong Yidong <cyd@stupidchicken.com>
4710
4711 * simple.el (blink-matching-open): Make the error message from the
4712 last change less verbose.
4713
bf6012e5
DN
47142011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4715
4716 * font-lock.el (font-lock-comment-face): Use the high contrast
4717 "yellow" color for font-lock-comment-face on low color terminals
4718 using a dark background color (bug#4221).
4719
343c3b5a
LMI
47202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4721
7e9505c5
LMI
4722 * dired.el (dired-insert-set-properties): Make the doc string
4723 reflect what it does now (bug#5325).
4724
c26fdcf5
LMI
4725 * simple.el (blink-matching-open): Say that we were unable to find
4726 the match within the limit, if we're limited (bug#5122).
4727
bb388cc5
LMI
4728 * international/mule-cmds.el (prefer-coding-system): Add an
4729 example (bug#4869).
4730
343c3b5a
LMI
4731 * progmodes/etags.el (tags-search): Document `file-list-form'
4732 (bug#4731).
4733
2a517d45
LM
47342011-07-13 Lawrence Mitchell <wence@gmx.li>
4735
4736 * net/browse-url.el (browse-url-default-browser)
4737 (browse-url-browser-function): Make the default browser choice a
4738 bit more logical (bug#4300). Also clean up the doc string.
4739
b6c78ef2
JB
47402011-07-13 Juanma Barranquero <lekktu@gmail.com>
4741
4742 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4743 binary endings (bug#4440).
4744
1c4dd947
LMI
47452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4746
a2014063
LMI
4747 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4748 which can be pretty annoying (bug#8971).
4749
9c9c2d88
LMI
4750 * jka-compr.el (jka-compr-verbose): New variable, and use
4751 throughout (bug#8971).
4752
1c4dd947
LMI
4753 * info.el (Info-find-file): Fall back on the installation
4754 directory if we can't find the info node anywhere else.
4755
a1c9f41b
SO
47562011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4757
4758 * vc/vc.el (vc-revert-file):
4759 Don't set file time-stamp in the past. (Bug#5181)
4760
536f3d36
LMI
47612011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4762
7152b011
LMI
4763 * files.el (after-find-file): Give a better error message when
4764 trying to find a symlink that points to a file that doesn't exist
4765 (bug#4398).
4766
536f3d36
LMI
4767 * progmodes/cc-vars.el: Remove (probably) misleading comment
4768 (bug#4396).
4769
460c0fba
JB
47702011-07-12 Johan Bockgård <bojohan@gnu.org>
4771
4772 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4773
7a6bda45
CY
47742011-07-12 Chong Yidong <cyd@stupidchicken.com>
4775
4776 * mouse-sel.el: Hack restoring functionality, while keeping
4777 compatibility with 2010-07-03 changes to mouse selection.
4778 (mouse-sel-primary-overlay): New var.
4779 (mouse-sel-selection-alist): Use it.
4780 (mouse-sel-mode): Doc fix; remove points that are default features
4781 of mouse.el.
4782
c79598ef
JB
47832011-07-12 Johan Bockgård <bojohan@gnu.org>
4784
4785 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4786 Fix previous fix (bug#2490).
4787
ff8be6ef
RW
47882011-07-12 Roland Winkler <winkler@gnu.org>
4789
b796c9b7
SM
4790 * textmodes/bibtex.el (bibtex-initialize):
4791 Use pop-to-buffer-same-window.
ff8be6ef
RW
4792 (bibtex-search-entries): Fix interactive call.
4793
296ba3ee
LMI
47942011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4795
f5242a02 4796 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4797 Fontise bytecomp Error lines more correctly (bug#2490).
4798 Fix suggested by Johan Bockgård.
f5242a02 4799
296ba3ee
LMI
4800 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4801
4802 * dired-x.el (dired-guess-default): Use `delete-dups'.
4803
f69fd0d2
CY
48042011-07-12 Chong Yidong <cyd@stupidchicken.com>
4805
4806 * dired.el (dired-mark-prompt):
4807 * dired-aux.el (dired-read-shell-command): Doc fix.
4808
eab5dc07
LMI
48092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4810
b796c9b7
SM
4811 * mail/sendmail.el (sendmail-query-once):
4812 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4813 emacs -Q.
4814
4815 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4816
eab5dc07
LMI
4817 * cus-edit.el (custom-file): Take an optional no-error variable.
4818 (customize-save-variable): Set the variable, and give a warning if
4819 running under "emacs -q".
4820
a1e65d42
JB
48212011-07-11 Juanma Barranquero <lekktu@gmail.com>
4822
4823 * loadhist.el (unload-feature-special-hooks):
4824 Add `auto-coding-functions', `fill-nobreak-predicate' and
4825 `find-directory-functions' (bug#5327).
4826
1d52da10
LMI
48272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4828
be958f1d
LMI
4829 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4830
5bedb26c
LMI
4831 * cus-edit.el (custom-guess-name-alist): -alist variables should
4832 use the `alist' type (bug#3120). Suggested by Drew Adams.
4833
1d52da10
LMI
4834 * printing.el: Add documentation to all the `pr-toggle-' commands.
4835
cd394be1 48362011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4837
4838 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4839 backends where it makes sense (bug#2623).
4840
dcc88d8a
LMI
48412011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4842
c3de9feb
LMI
4843 * dired-x.el (dired-guess-default): Remove duplicate shell command
4844 entries (bug#2028).
8a93078b 4845 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4846 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4847
dcc88d8a
LMI
4848 * subr.el (remove-duplicates): New conveniency function.
4849
505e3645
LMI
48502011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4851
4852 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4853 (bug#1526).
4854
48552011-07-10 Martin Rudalics <rudalics@gmx.at>
4856
4857 * window.el (display-buffer-normalize-default): Don't invert
4858 meaning of even-window-heights. Reported by Eli Zaretskii
4859 <eliz@gnu.org>.
4860
455e4fa1
BR
48612011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4862
4863 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4864
8e0bc3e9
CY
48652011-07-10 Chong Yidong <cyd@stupidchicken.com>
4866
4867 * window.el (display-buffer): Fix arguments to
4868 display-buffer-reuse-window in last change.
4869
fa7c3228
CY
4870 * faces.el (link): Use a less saturated blue on light backgrounds.
4871
4872 * startup.el (fancy-startup-text, fancy-about-text)
4873 (fancy-startup-tail): Use font-lock faces, for background safety.
4874
c0a7f300
BN
48752011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4876
b796c9b7
SM
4877 * emulation/viper-cmd.el (viper-change-state-to-vi):
4878 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4879
4dc2a129
MR
48802011-07-09 Martin Rudalics <rudalics@gmx.at>
4881
4882 * window.el (display-buffer-default-specifiers): Remove.
4883 (display-buffer-macro-specifiers): Remove default specifiers.
4884 (display-buffer-alist): Default to nil.
b796c9b7 4885 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4886 (display-buffer-pop-up-window): Allow splitting internal
4887 windows. Check whether a live window was created.
4888 (display-buffer-other-window-means-other-frame)
4889 (display-buffer-normalize-arguments): Rename to
4890 display-buffer-normalize-argument and rewrite. Set the
4891 other-window specifier.
4892 (display-buffer-normalize-special): New function.
4893 (display-buffer-normalize-options): Rename to
4894 display-buffer-normalize-default and rewrite.
4895 (display-buffer-normalize-options-inhibit): Remove.
4896 (display-buffer-normalize-specifiers): Rewrite.
4897 (display-buffer): Process other-window specifier and call
4898 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4899 more faithfully.
b796c9b7 4900 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4901 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4902 (display-buffer-in-window, display-buffer-alist-set):
4903 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4904 <tassilo@member.fsf.org>.
4905
2d43b8c9
LL
49062011-07-09 Leo Liu <sdl.web@gmail.com>
4907
4908 * register.el (insert-register): Restore accidental change on
4909 2011-06-26. (Bug#9028)
4910
7f9b7c53
GM
49112011-07-09 Glenn Morris <rgm@gnu.org>
4912
4913 * subr.el (remq): Handle the empty list. (Bug#9024)
4914
f042cfd8
AS
49152011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4916
4917 * mail/sendmail.el (send-mail-function): No longer delay custom
4918 initialization.
4919 * custom.el (custom-initialize-delay): Doc fix.
4920
856b2f11
SM
49212011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4924
afae1d68
MA
49252011-07-08 Michael Albinus <michael.albinus@gmx.de>
4926
4927 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4928 human-friendly prompt.
4929
0757af94
SM
49302011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4933 provided by a particular plugin.
4934
d760b731
LMI
49352011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4936
4937 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4938 save customizations (with "emacs -Q"), just set the variable
4939 instead of erroring out.
4940
4941 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4942
cd79ce90
JL
49432011-07-08 Juri Linkov <juri@jurta.org>
4944
4945 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4946 (archive-zip-update-case): Use 7z if found by `executable-find'.
4947 The order of searching the available programs is the same as in
4948 `archive-zip-extract' (bug#8968).
4949
14cc04aa
CY
49502011-07-07 Chong Yidong <cyd@stupidchicken.com>
4951
4952 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4953 (menu-bar-options-menu): Tweak descriptions.
4954
0a1848ec
LMI
49552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4956
4957 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4958 menu items into verb phrases (bug#1421). Also refill to fit under
4959 80 columns.
4960
f5bd0689
CY
49612011-07-07 Chong Yidong <cyd@stupidchicken.com>
4962
538e85c6
CY
4963 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4964 (Info-read-node-name): Doc fix (Bug#1084).
4965
f5bd0689
CY
4966 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4967 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4968 (end-of-sexp, beginning-of-sexp)
4969 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4970 (forward-symbol, forward-same-syntax, word-at-point)
4971 (sentence-at-point): Doc fix (Bug#1144).
4972
56ec5115
LMI
49732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4974
f3f8e37f
LMI
4975 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4976 should cover it (bug#1281).
4977
0757af94 4978 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4979
e9fce1ac 4980 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4981 negotiation fails, then possibly try again with a non-encrypted
4982 connection (bug#9017).
4983
56ec5115
LMI
4984 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4985 be used.
4986
c2f9aec8
RS
49872011-07-07 Richard Stallman <rms@gnu.org>
4988
4989 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4990 property, and handle its changed format.
4991 Look for the correct line number.
4992 Use file's line contents (but not past first =) to find
4993 correct line in message.
4994
ef7b981d 49952011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4996
4997 * international/characters.el (build-unicode-category-table):
4998 Delete it.
0757af94 4999 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5000
0757af94 5001 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5002 to src/chartab.c.
5003 (get-char-code-property): Call unicode-property-table-internal to
5004 load a file. Call get-unicode-property-internal where necessary.
5005 (put-char-code-property): Call unicode-property-table-internal to
5006 load a file. Call put-unicode-property-internal where necessary.
5007 put-unicode-property-internal where necessary.
0757af94
SM
5008 (char-code-property-description):
5009 Call unicode-property-table-internal to load a file.
c805dec0
KH
5010
5011 * international/charprop.el:
5012 * international/uni-bidi.el:
5013 * international/uni-category.el:
5014 * international/uni-combining.el:
5015 * international/uni-comment.el:
5016 * international/uni-decimal.el:
5017 * international/uni-decomposition.el:
5018 * international/uni-digit.el:
5019 * international/uni-lowercase.el:
5020 * international/uni-mirrored.el:
5021 * international/uni-name.el:
5022 * international/uni-numeric.el:
5023 * international/uni-old-name.el:
5024 * international/uni-titlecase.el:
5025 * international/uni-uppercase.el: Regenerate.
5026
5027 * loadup.el: Load international/charprop.el before
5028 international/characters.
5029
e14b388a
CY
50302011-07-07 Chong Yidong <cyd@stupidchicken.com>
5031
5032 * window.el (next-buffer, previous-buffer): Signal an error if
5033 called from a minibuffer window.
5034
5035 * bindings.el: Revert 2011-07-04 change.
5036
354cf0ba
RS
50372011-07-06 Richard Stallman <rms@gnu.org>
5038
5039 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5040 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5041 Treat markers like ints.
5042 (rmail-mime-entity): Doc fix.
5043
a48868a7
LMI
50442011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5045
4906cd3d
LMI
5046 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5047 defcustom again for backwards compatibility.
5048
e0457abe
LMI
5049 * simple.el (shell-command-on-region): Fill.
5050
d67f7e1f
LMI
5051 * dired-aux.el (dired-kill-line): Add a doc string.
5052
fe204702
LMI
5053 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5054 to "\\sw\\|\\s_" (bug#358).
5055
a48868a7
LMI
5056 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5057 (dired-unmark-backward): Ditto.
5058 (dired-flag-backup-files): Ditto.
5059
5060 * dired-x.el (dired-mark-sexp): Ditto.
5061
aa8a705c
RS
50622011-07-06 Richard Stallman <rms@gnu.org>
5063
5064 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5065 (rmail-mime-entity): New arg TRUNCATED.
5066 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5067 New functions.
5068 (rmail-mime-save): Warn if entity is truncated.
5069 (rmail-mime-toggle-hidden): Likewise, for showing.
5070 (rmail-mime-process-multipart): Record when an entity is truncated.
5071
a9a936b9
RS
5072 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5073 if ENTITY is a string.
5074
1f2b92cb
LMI
50752011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076
f4f73198 5077 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5078 of faces when `M-C-x'-ing their definitions (bug#8378).
5079 Also clean up the code slightly.
f4f73198 5080
12b16734 5081 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5082 because that makes the colors go away.
12b16734 5083
f0691d22
LMI
5084 * mail/sendmail.el (send-mail-function): Change the default to
5085 `sendmail-query-once'.
9e87df06 5086 (sendmail-query-once): Add an autoload cookie.
f0691d22 5087
1f2b92cb
LMI
5088 * net/network-stream.el (network-stream-open-starttls): Try using
5089 a plain connection even if the server offered STARTTLS, and we
5090 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5091 capability. This should make smtpmail.el work in slightly more
5092 configurations.
5093
1cdd2a1b
MA
50942011-07-06 Michael Albinus <michael.albinus@gmx.de>
5095
5096 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5097 New defun.
5098 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5099
fbcc67e2
MM
51002011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5101
5102 * progmodes/sql.el: Version 3.0
0757af94 5103 (sql-product-alist): Add product :completion-object,
fbcc67e2 5104 :completion-column, and :statement attributes.
0757af94 5105 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5106 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5107 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5108 ansi keywords.
5109 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5110 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5111 (sql-oracle-show-reserved-words): New function for development.
5112 (sql-product-font-lock): Simplify for source code buffers.
5113 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5114 New functions.
5115 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5116 (sql-mode-map): Add statement movement functions.
5117 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5118 New variable.
fbcc67e2
MM
5119 (sql-statement-regexp, sql-beginning-of-statement)
5120 (sql-end-of-statement, sql-signum): New functions.
0757af94 5121 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5122 (sql-show-sqli-buffer): Bug fix.
5123 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5124 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5125 with sql-interactive-mode.
5126 (sql-save-connection): Save buffer local settings.
0757af94 5127 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5128 (sql-product-interactive): Bug fix.
5129 (sql-preoutput-hold): New variable.
5130 (sql-interactive-remove-continuation-prompt): Bug fixes.
5131 (sql-debug-redirect): New variable.
5132 (sql-str-literal): New function.
5133 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5134 Redesign.
fbcc67e2
MM
5135 (sql-oracle-save-settings, sql-oracle-restore-settings)
5136 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5137 (sql-completion-object, sql-completion-column)
5138 (sql-completion-sqlbuf): New variables.
5139 (sql-build-completions-1, sql-build-completions)
5140 (sql-try-completion): New functions.
5141 (sql-read-table-name): Use them.
5142 (sql-contains-names): New buffer local variable.
5143 (sql-list-all, sql-list-table): Use it.
5144 (sql-oracle-completion-types): New variable.
5145 (sql-oracle-completion-object, sql-sqlite-completion-object)
5146 (sql-postgres-completion-object): New functions.
5147
d4eaeab1
GM
51482011-07-06 Glenn Morris <rgm@gnu.org>
5149
5150 * window.el (pop-to-buffer): Doc fix.
5151
322b7dab 51522011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5153
5154 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5155
322b7dab 51562011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5157
322b7dab 5158 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5159
322b7dab 5160 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5161
605dd5bf
CY
51622011-07-05 Chong Yidong <cyd@stupidchicken.com>
5163
5164 * button.el (button): Inherit from link face. Suggested by Dan
5165 Nicolaescu.
5166
7dbfa719
SM
51672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5168
3db614b0
SM
5169 * progmodes/gdb-mi.el: Fit in 80 columns.
5170 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5171 switch-to-buffer.
5172
7dbfa719
SM
5173 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5174 if imenu is simply not configured (bug#8941).
5175
919d884a
KM
51762011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5177
5178 * allout.el (allout-post-undo-hook): New allout outline-change
5179 event hook to signal undo activity.
5180 (allout-post-command-business): Run allout-post-undo-hook if an
5181 undo just occurred.
7dbfa719
SM
5182 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5183 * allout-widgets.el (allout-widgets-after-undo-function):
5184 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5185 in the vicinity of an undo.
5186 (allout-widgets-mode): Include allout-widgets-after-undo-function
5187 on the new allout-post-undo-hook.
5188
450a0f09
SM
51892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5192 Let define-derived-mode define it.
5193 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5194 cycles of abbrev-table inheritance (bug#8998).
5195
2de69e00
RW
51962011-07-05 Roland Winkler <winkler@gnu.org>
5197
5198 * textmodes/bibtex.el: Add support for biblatex.
5199 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5200 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5201 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5202 (bibtex-entry-alist, bibtex-field-alist): New variables.
5203 (bibtex-entry-field-alist): Obsolete alias for
5204 bibtex-BibTeX-entry-alist.
5205 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5206 (bibtex-set-dialect): New command.
5207 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5208 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5209 Bind via bibtex-set-dialect.
2de69e00
RW
5210 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5211 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5212 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5213 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5214 Define via bibtex-set-dialect.
450a0f09
SM
5215 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5216 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5217 (bibtex-vec-push, bibtex-vec-incr): New functions.
5218 (bibtex-format-entry, bibtex-field-list)
5219 (bibtex-print-help-message, bibtex-validate)
5220 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5221
2dcdbdd9
SM
52222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * progmodes/compile.el (compilation-goto-locus):
5225 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5226 * bs.el (bs-cycle-next, bs-cycle-previous):
5227 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5228 * bindings.el (mode-line-other-buffer):
5229 * autoinsert.el (auto-insert):
5230 * arc-mode.el (archive-extract):
5231 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5232
b27640fe
JB
52332011-07-05 Juanma Barranquero <lekktu@gmail.com>
5234
5235 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5236 Fix check of `emacs-lock-unlockable-modes'.
5237 Coerce true values of `emacs-lock--try-unlocking' to t.
5238
53bbe3ad
JB
52392011-07-05 Juanma Barranquero <lekktu@gmail.com>
5240
5241 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5242 * emacs-lock.el: New file.
5243
1d3cdbc7
JD
52442011-07-05 Julien Danjou <julien@danjou.info>
5245
5246 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5247 than `boundp' to check if face is set.
5248
9173deec
JB
52492011-07-05 Juanma Barranquero <lekktu@gmail.com>
5250
5251 * register.el (registerv-make):
5252 * window.el (window-min-height): Fix typos in docstrings.
5253
869795d6
JD
52542011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5255
9173deec 5256 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5257 Update doc string.
5258
b768cdcd
JB
52592011-07-04 Juanma Barranquero <lekktu@gmail.com>
5260
5261 * server.el (server-execute): Catch quit and call
5262 `server-return-error' to pass the error back to emacsclient and
5263 close the connection (bug#8942).
5264
13aa217b
KM
52652011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5266
5267 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5268 insecure exception for current topic. Also note that auto-saves
5269 are handled differently.
5270
5271 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5272 State variables for tracking auto-save inhibition situation.
5273
5274 (allout-write-contents-hook-handler): Rename from
5275 'allout-write-file-hook-handler', and describe how it depends on
5276 write-contents-functions sensitivity to non-nil value to prevent
5277 file write.
5278
5279 (allout-auto-save-hook-handler): Remove. auto-save does not check
5280 this in individual buffers, only in the starting buffer, so this
5281 is not the right way for us to inhibit auto-save in a buffer
5282 according to its condition.
5283
5284 (allout-mode): Use new allout-write-contents-hook-handler, and
5285 only with write-contents-functions. Remove auto-save provisions -
5286 they're implemented elsewhere.
5287
5288 (allout-before-change-handler): If undo is in progress, note that
5289 for attention of allout-post-command-business.
5290
5291 (allout-post-command-business): If the command we're following was
5292 an undo, check for change in the status of encrypted items and
5293 adjust auto-save inhibitions accordingly.
5294
5295 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5296 according to whether there are or aren't any plain-text topics
5297 pending encryption.
5298
2dcdbdd9 5299 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5300 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5301 if there are plain-text topics pending encryption.
13aa217b
KM
5302
5303 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5304 buffer-saved-size and some allout state to not inhibit auto-saves
5305 if there are no longer any plain-text topics pending encryption.
5306
0757af94
SM
5307 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5308 No longer provide for exemption of the current topic.
13aa217b 5309
ac89b32c
JL
53102011-07-04 Juri Linkov <juri@jurta.org>
5311
5312 Add 7z operations to delete and save changed members (bug#8968).
5313 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5314 New defcustoms.
5315 (archive-7z-write-file-member): New function.
5316 (archive-7z-summarize): Fix the number of dashes in the
5317 listing output.
5318
8fa39615
SM
53192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5320
5321 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5322 (bug#8958).
5323
2f11b3f1
CY
53242011-07-04 Chong Yidong <cyd@stupidchicken.com>
5325
d66fef2b
CY
5326 * bindings.el: Ignore next-buffer and previous-buffer in
5327 minibuffer-local-map.
5328
2f11b3f1
CY
5329 * font-lock.el (font-lock-builtin-face): Change light background
5330 color to dark slate blue (Bug#6693).
5331
f932a347
WD
53322011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5333
5334 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5335
c8af70e1
SM
53362011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5339 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5340 Add switch-to-buffer.
5341
f158badc
LMI
53422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5343
5344 * isearch.el (isearch-search-fun-function): Clarify further the
5345 meaning of the function returned.
5346
6d95bd46
MA
53472011-07-04 Michael Albinus <michael.albinus@gmx.de>
5348
5349 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5350
5351 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5352 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5353 Use it.
5354 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5355 `tramp-default-remote-path' does not exist.
5356 (tramp-send-command-and-read): New optional argument NOERROR.
5357 (tramp-open-connection-setup-interactive-shell)
5358 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5359 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5360 (tramp-process-sentinel): Flush also process' connection property.
5361 (tramp-sh-handle-start-file-process): Do not set process
5362 sentinel. It is done now ...
5363 (tramp-maybe-open-connection): ... here. (Bug#8929)
5364
909e6b67
MK
53652011-07-04 MON KEY <monkey@sandpframing.com>
5366
5367 * play/animate.el (animate-string): Doc fixes and allow changing
5368 the buffer name (bug#5417).
5369
53702011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5371
c8af70e1 5372 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5373
f34755dc
PE
53742011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5375
396cec72
PE
5376 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5377 This is simpler and helps future-proof the code.
5378 (timer-until): Use time-subtract and float-time.
08235028 5379 (timer--time-less-p): Use time-less-p.
f34755dc 5380
56e6cc31
JB
53812011-07-04 Juanma Barranquero <lekktu@gmail.com>
5382
3abb79e5
JB
5383 * type-break.el (timep): Use the value of `float-time' to avoid a
5384 byte-compiler warning.
5385
56e6cc31
JB
5386 * server.el (server-eval-and-print): Return any result, even nil.
5387
7b9430b4
PE
53882011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5389
5390 * type-break.el: Accept time formats that the builtins accept.
5391 (timep, type-break-time-difference): Accept any format that
5392 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5393 This is simpler and helps future-proof the code.
5394 (type-break-time-difference): Round rather than ignoring
5395 subseconds components.
5396
3034e9e7
LMI
53972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5398
5399 * info.el (Info-apropos-matches): Make non-interactive, since it
5400 doesn't seem to do anything useful as a command (bug#8829).
5401
1485f4c0
CY
54022011-07-03 Chong Yidong <cyd@stupidchicken.com>
5403
5404 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5405 Move from faces.el.
1485f4c0
CY
5406 (frame-default-terminal-background): New function.
5407
5408 * custom.el (custom-push-theme): Don't record faces in `changed'
5409 theme; this doesn't work correctly for per-frame face settings.
5410 (disable-theme): Use face-set-after-frame-default to reset faces.
5411 (custom--frame-color-default): New function.
5412
9fa3dd45
LMI
54132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5414
c8af70e1 5415 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5416 (bug#8769).
5417
6cbbc20c
KR
54182011-03-29 Kevin Ryde <user42@zip.com.au>
5419
5420 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5421 `perl-Test2' extend to match possible "fail #N" rep count
5422 (bug#8377).
5423
c7f98048
LMI
54242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5425
65676592
LMI
5426 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5427 `smtpmail-via-smtp' now returns the error instead of nil.
5428
c7f98048
LMI
5429 * isearch.el (isearch-search-fun-function): Clarify the doc string
5430 (bug#8101).
5431
56e6cc31 54322011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5433
5434 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5435 unnecessary spaces (bug#8987).
5436
2b216704
LMI
54372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5438
5439 * net/network-stream.el (open-network-stream): Use the
5440 :end-of-capability command thoughout.
5441
54422011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5443
5444 * net/network-stream.el (open-network-stream): Add the
5445 :end-of-capability command parameter, used by pop3.el.
5446
36adf6ce
LMI
54472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5448
1ca0da0e
LMI
5449 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5450
fc00f69c
LMI
5451 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5452 for list)" (bug#6475).
5453
28fd8759 5454 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5455 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5456 an error (bug#6297).
5457
0dd8b6da
LMI
5458 * man.el (Man-reference-regexp): Allow matching possible
5459 word-wrapped references (bug#6289).
5460
ce1438d6
LMI
5461 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5462 for consistency with the other vc buffers (bug#6197).
5463 (vc-checkin): Ditto.
5464
5465 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5466
36adf6ce
LMI
5467 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5468
e83cc1f7
LMI
54692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5470
8a20ca4c
LMI
5471 * custom.el (defcustom): Clarify that :set is only used in the
5472 Customize user interface (bug#6089).
5473
83319045
LMI
5474 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5475 associated with a file, refuse to run instead of erroring out
5476 (bug#6084).
5477
a8392169
LMI
5478 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5479 the doc string, since it appears that using `fill-column' always
5480 controls the width (bug#7845).
5481
e83cc1f7
LMI
5482 * simple.el (shell-command-on-region): Say where the error output
5483 went if `shell-command-default-error-buffer' is set (bug#6857).
5484
e47ca23b
KM
54852011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5486
5487 * allout.el (allout-yank-processing): Adjust cursor position for
5488 backwards-deleted space.
5489
5490 (allout-rebullet-heading): Register changes with
5491 allout-exposure-changed-hook, so the modified topic is properly
5492 decorated.
5493
5cf56143
LMI
54942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5495
08549772
LMI
5496 * minibuffer.el (completion-in-region): Document PREDICATE
5497 (bug#7136).
5498
48e96771
LMI
5499 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5500 of keyword/argument pairs (bug#6904).
5501
c8af70e1
SM
5502 * replace.el (multi-occur):
5503 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5504
e17d05e2
LMI
55052011-07-02 Drew Adams <drew.adams@oracle.com>
5506
5507 * dired.el (dired-mark-if): Make the message about whether it's
5508 marking or unmarking clearer (bug#8523).
5509
063b0e45
LMI
55102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5511
5512 * disp-table.el (display-table-print-array): New function.
5513 (describe-display-table): Use it to print the vectors more pretty
5514 (Bug#8859).
5515
28545e04
MR
55162011-07-02 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (window-state-get-1): Don't assign clone numbers.
5519 Add clone-of item to list of window parameters.
5520 (window-state-put-2): Don't process clone numbers.
5521 (display-buffer-alist): Fix doc-string.
5522
3349e122
SM
55232011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * subr.el (remq): Don't allocate if it's not needed.
5526 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5527 (keymap--merge-bindings): New functions.
5528 (keymap-canonicalize): Use them to refine the canonicalization.
5529 * minibuffer.el (minibuffer-local-completion-map)
5530 (minibuffer-local-must-match-map): Move initialization from C.
5531 (minibuffer-local-filename-completion-map): Move initialization from C;
5532 don't inherit from anything here.
5533 (minibuffer-local-filename-must-match-map): Make obsolete.
5534 (completing-read-default): Use make-composed-keymap to combine
5535 minibuffer-local-filename-completion-map with either
5536 minibuffer-local-must-match-map or
5537 minibuffer-local-filename-completion-map.
5538
d224ac83
GM
55392011-07-01 Glenn Morris <rgm@gnu.org>
5540
3de63bf8
GM
5541 * type-break.el (type-break-time-sum): Use dolist.
5542
d224ac83
GM
5543 * textmodes/flyspell.el (flyspell-word-search-backward):
5544 Replace CL function.
5545
1a1e3f32
SM
55462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5547
fe3f64d5
SM
5548 * mouse.el (mouse--strip-first-event): New function.
5549 (function-key-map): Use it to map fringe clicks to normal clicks
5550 by default.
5551
eb604e34
SM
5552 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5553 (vc-bzr-revision-completion-table): Add support for annotate and date.
5554
1a1e3f32
SM
5555 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5556 inherit from parent.
5557
5bd35902
LMI
55582011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5559
ace6c69c 5560 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5561 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5562
191e2bed
LMI
5563 * dired.el (dired-mode): Fix up the doc string as suggested by
5564 Drew Adams (bug#8817).
5565
5bd35902
LMI
5566 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5567 cookie, since the manual says that it should be possible to add
5568 this function to `find-file-hook' (bug#8709).
5569
eee8207a
TZ
55702011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5571
5572 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5573 here. Noted Ted Zlatanov as the maintainer.
5574 (cfengine-common-settings, cfengine-common-syntax): New functions
5575 to set up common things between `cfengine-mode' and
5576 `cfengine3-mode'.
5577 (cfengine3-mode): New mode.
5578 (cfengine3-defuns cfengine3-defuns-regex
5579 (cfengine3-class-selector-regex cfengine3-category-regex)
5580 (cfengine3-vartypes cfengine3-font-lock-keywords)
5581 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5582 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5583
36b148cf
MA
55842011-07-01 Michael Albinus <michael.albinus@gmx.de>
5585
5586 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5587
5588 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5589
0bf4ba9a
MR
55902011-07-01 Martin Rudalics <rudalics@gmx.at>
5591
5592 * window.el (same-window-buffer-names, same-window-regexps)
5593 (same-window-p, special-display-frame-alist)
5594 (special-display-popup-frame, special-display-function)
5595 (special-display-buffer-names, special-display-regexps)
5596 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5597 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5598 (split-window-preferred-function, split-height-threshold)
5599 (split-width-threshold, even-window-heights)
5600 (display-buffer-mark-dedicated, window-splittable-p)
5601 (split-window-sensibly, window-safely-shrinkable-p):
5602 Un-obsolete.
5603 (display-buffer): Don't spread args with function specifier
5604 because special-display-popup-frame won't like it.
5605
35837f51
PE
56062011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5607
d0672f86
PE
5608 Time-stamp simplifications and fixes.
5609 These improve accuracy slightly, and future-proof the code
5610 against some potential changes to current-time format.
5611
b9444d97
PE
5612 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5613 by using time-since and float-time.
5614
0ef923dc
PE
5615 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5616 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5617 + NNN microseconds".
5618
2f81380d
PE
5619 * type-break.el (type-break-time-sum): Rewrite using time-add.
5620
845b5c3e
PE
5621 * play/hanoi.el (hanoi-current-time-float): Remove.
5622 All uses replaced by float-time.
5623
ee6f1be0
PE
5624 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5625 This yields a more-accurate answer.
5626 (rng-time-to-float): Remove; no longer needed.
5627
fe955043
PE
5628 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5629
5777162a
PE
5630 * calendar/timeclock.el (timeclock-seconds-to-time):
5631 Defalias to seconds-to-time, since they're the same thing.
5632
3103f8b6 5633 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5634 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5635 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5636
0e61a35f
SM
56372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5638
5639 * window.el (bury-buffer): Don't iconify the only frame.
5640 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5641 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5642
ddd63a1e
CY
56432011-07-01 Chong Yidong <cyd@stupidchicken.com>
5644
0e61a35f
SM
5645 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5646 Add mouse-yank-primary.
ddd63a1e 5647
055f4923
TZ
56482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5649
5650 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5651
6a2fb145
SM
56522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5655 (find-library-name): Use it to find relative load names when provided
5656 absolute file name (bug#8803).
5657
fd4983f2
LMI
56582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5659
887d14ad
LMI
5660 * textmodes/flyspell.el (flyspell-word): Consider words that
5661 differ only in case as potential doublons (bug#5687).
5662
c53dc7fc
LMI
5663 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5664 Remove two rather uninteresting debugging-like messages to make
5665 debbugs.el more silent.
5666
fd4983f2
LMI
5667 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5668 a password-like phrase.
5669
b14c0c55
AM
56702011-06-30 Mastake YAMATO <yamato@redhat.com>
5671
5672 * progmodes/cc-guess.el: New file.
5673
6a2fb145 5674 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5675
5676 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5677 derived from `c-basic-common-init'.
5678
5679 * progmodes/cc-mode.el (top-level): Require cc-guess.
5680 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5681
1fa280a3
LM
56822011-06-30 Lawrence Mitchell <wence@gmx.li>
5683
5684 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5685
e6597158
AM
56862011-06-30 Alan Mackenzie <acm@muc.de>
5687
1fa280a3
LM
5688 * progmodes/cc-engine.el (c-guess-continued-construct):
5689 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5690 lock is disabled. Name this case as "CASE G".
5691
68ba37fb
KM
56922011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5693
5694 * allout.el (allout-yank-processing): Fix injection of extra space
5695 between bullet and non-whitespace character in first topic when
5696 pasting, ensuring that the actual spacing in the pasted topic
5697 following the bullet char is preserved. This extra space was
5698 causing pasted encrypted topics to get a decrypted status even
5699 when the content was actually still encrypted. Now the decryption
5700 status from before the paste is preserved.
5701
5702 (allout-flag-region): Set all allout overlays so they evaporate
5703 when reduced to zero length (evanescent), to prevent overlay
5704 leakage.
5705
887a0b34
GM
57062011-06-30 Glenn Morris <rgm@gnu.org>
5707
94b9acce
GM
5708 * w32-fns.el (w32-charset-info-alist): Declare.
5709
1d9b46d4
GM
5710 * find-dired.el (find-grep-options): Simplify.
5711
cc232200
GM
5712 * term/ns-win.el (ns-set-resource): Declare.
5713
28e77c46
GM
5714 * ses.el (row, col): Declare dynamic variables honestly.
5715
887a0b34
GM
5716 * textmodes/reftex-parse.el (index-tags): Declare.
5717
658d8eb8
CY
57182011-06-30 Chong Yidong <cyd@stupidchicken.com>
5719
5720 * cus-edit.el (customize-push-and-save): New function.
5721
5722 * files.el (hack-local-variables-confirm): Use it.
5723
1fa280a3
LM
5724 * custom.el (load-theme): New arg NO-CONFIRM.
5725 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5726 (custom-enabled-themes): Doc fix.
5727
5728 * cus-theme.el (customize-create-theme)
5729 (custom-theme-merge-theme): Callers to load-theme changed.
5730
bb617717
LMI
57312011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5732
d61bdd5d
LMI
5733 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5734 short URLs have at least one dot in them (bug #7614).
5735
bb617717
LMI
5736 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5737 nil, because using a pty is apparently too slow (bug #895).
5738
2f31f37a
LMI
57392011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5740
5741 * mail/sendmail.el (sendmail-query-once): New function.
5742 (sendmail-query-once-function): New variable.
5743
3076b24e
GM
57442011-06-29 Glenn Morris <rgm@gnu.org>
5745
faf2a174
GM
5746 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5747
3076b24e
GM
5748 * ses.el (top-level): Require cl when compiling.
5749 (ses-set-localvars): Fix error statement.
5750 Call it at compile time to silence a storm of warnings.
5751
5386012d
MR
57522011-06-29 Martin Rudalics <rudalics@gmx.at>
5753
5754 * window.el (normalize-live-buffer): Rename to
5755 window-normalize-buffer.
5756 (normalize-live-frame): Rename to window-normalize-frame.
5757 (normalize-any-window): Rename to window-normalize-any-window.
5758 (normalize-live-window): Rename to window-normalize-live-window.
5759 (make-window-atom): Rename to window-make-atom.
5760 (window-resize-reset): Rename to window--resize-reset.
5761 (window-resize-reset-1): Rename to window--resize-reset-1.
5762 (resize-mini-window): Rename to window--resize-mini-window.
5763 (resize-subwindows-skip-p): Rename to
5764 window--resize-subwindows-skip-p.
5765 (resize-subwindows-normal): Rename to
5766 window--resize-subwindows-normal.
5767 (resize-subwindows): Rename to window--resize-subwindows.
5768 (resize-other-windows): Rename to window--resize-siblings.
5769 (resize-this-window): Rename to window--resize-this-window.
5770 (resize-root-window): Rename to window--resize-root-window.
5771 (resize-root-window-vertically): Rename to
5772 window--resize-root-window-vertically.
5773 (normalize-buffer-to-display): Rename to
5774 window-normalize-buffer-to-display.
5775 (normalize-buffer-to-switch-to): Rename to
5776 window-normalize-buffer-to-switch-to.
5777 Correspondingly update all callers of the functions listed
5778 above.
5779 (display-buffer-alist, display-buffer-normalize-arguments)
5780 (display-buffer-normalize-options, display-buffer)
5781 (display-buffer-alist-set): Use "function" instead of
5782 "fun-with-args".
5783
1176868d
CY
57842011-06-28 Chong Yidong <cyd@stupidchicken.com>
5785
5786 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5787 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5788 debbugs.gnu.org. Mention acknowledgment email.
5789
20a7a65f
LMI
57902011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5791
5792 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5793 buffer multibyteness, since it shouldn't matter.
5794
5f45cca5
MR
57952011-06-28 Martin Rudalics <rudalics@gmx.at>
5796
5797 * window.el (display-buffer-in-side-window): Handle dedicated
5798 windows as in display-buffer-reuse-window.
5799 (display-buffer-normalize-alist): Use value of override
5800 specifier.
5801 (display-buffer-normalize-specifiers): Use value of
5802 other-window-means-other-frame specifier.
5803 (display-buffer-alist): Rewrite some texts in widgets.
5804 (display-buffer): Spread arguments when calling function
5805 specified by fun-with-args.
5806
ad85fe1f
DD
58072011-06-28 Deniz Dogan <deniz@dogan.se>
5808
1fa280a3
LM
5809 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5810 Unnest `let'.
da68c4c8 5811
ad85fe1f
DD
5812 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5813 selectors (Bug#5732).
ec49bd31 5814 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5815
a08cc025
JA
58162011-06-27 Jari Aalto <jari.aalto@cante.net>
5817
5818 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5819 (eshell-ls-date-format): New defcustom.
5820 (eshell-ls-file): Use it.
5821
e2b551c5
SM
58222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5823
5824 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5825
8982b231
KY
58262011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5827
5828 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5829 (ange-ftp-make-tmp-name): New arg.
5830 (ange-ftp-file-local-copy): Use it.
5831
36c9fa27
J
58322011-06-27 Jambunathan K <kjambunathan@gmail.com>
5833
5834 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5835 no-conversion (Bug#8870).
5836
d68443dc
MR
58372011-06-27 Martin Rudalics <rudalics@gmx.at>
5838
5839 * window.el (window-right, window-left, window-child)
5840 (window-child-count, window-last-child)
5841 (window-iso-combination-p, walk-window-tree-1)
5842 (window-atom-check-1, window-tree-1, delete-window)
5843 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5844 new naming conventions - window-vchild, window-hchild,
5845 window-next and window-prev are now called window-top-child,
5846 window-left-child, window-next-sibling and window-prev-sibling
5847 respectively.
d615d6d2
MR
5848 (resize-window-reset): Rename to window-resize-reset.
5849 (resize-window-reset-1): Rename to window-resize-reset-1.
5850 (resize-window): Rename to window-resize.
5851 (window-min-height, window-min-width)
5852 (resize-mini-window, resize-this-window, resize-root-window)
5853 (resize-root-window-vertically, adjust-window-trailing-edge)
5854 (enlarge-window, shrink-window, maximize-window)
5855 (minimize-window, delete-window, quit-restore-window)
5856 (split-window, balance-windows, balance-windows-area-adjust)
5857 (balance-windows-area, window-state-put-2)
5858 (display-buffer-even-window-sizes, display-buffer-set-height)
5859 (display-buffer-set-width, set-window-text-height)
5860 (fit-window-to-buffer): Rename all "resize-window" prefixed
5861 calls to use the "window-resize" prefix convention.
5862 (display-buffer-alist): Fix symbol for label specifier.
5863 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5864 corresponding specifier.
5865 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5866
b6458526
VB
58672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5868
5869 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5870 convention.
5871 (ses-call-printer): Does not pass an empty string to formatter when the
5872 cell is empty to keep from barking printer Calc math-format-value.
5873
d31fd9ac
RS
58742011-06-27 Richard Stallman <rms@gnu.org>
5875
43d5bf84
RS
5876 * battery.el (battery-mode-line-limit): New variable.
5877 (battery-update): Handle it.
5878
d31fd9ac
RS
5879 * mail/rmailmm.el (rmail-mime-process-multipart):
5880 Handle truncated messages.
5881
819a6054
GM
58822011-06-27 Glenn Morris <rgm@gnu.org>
5883
5884 * progmodes/flymake.el (flymake-err-line-patterns):
5885 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5886
cedc73f2
VB
58872011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5888
819a6054 5889 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5890 (ses--clean-!, ses--clean-_): New functions.
5891 (ses-range): Add configurability of readout order, and conversion
5892 to Calc vector.
5893
5e5d49b6
VB
5894 * ses.el (ses-repair-cell-reference-all): New function.
5895 (ses-cell-symbol): Set macro as safe, so that it can be used in
5896 formulas.
5897
56e6cc31 5898 * ses.el: Update cycle detection algorithm.
90ca8b49 5899 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5900 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5901 (ses-set-localvars): New function.
5902 (ses-make-cell): Add property-list as a cell element.
5903 (ses-cell-property-get-fun, ses-cell-property-get)
5904 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5905 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5906 New functions.
90ca8b49
VB
5907 (ses-cell-property-set, ses-cell-property-pop)
5908 (ses-cell-property-get-handle): New macro.
5909 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5910 New aliases, used for code readability.
5911 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5912 cycle detection.
5913 (ses-self-reference-early-detection): New defcustom.
fac916bf 5914 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5915 (ses-mode): Use ses-set-localvars.
5916 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5917 before lauching the update processing.
5918 (ses-initialize-Dijkstra-attempt): New function.
5919 (ses-recalculate-cell): Update for cycle detection based on
5920 Dijkstra algorithm.
5921
2bb63e81
VB
5922 * ses.el: Fix commenting and indenting convention.
5923
c9d29fb8
SM
59242011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * bs.el (bs-cycle-next): Complete last change.
5927
d8e4b68b
JB
59282011-06-27 Drew Adams <drew.adams@oracle.com>
5929
5930 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5931
40098786
LMI
59322011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5933
c9d29fb8
SM
5934 * net/network-stream.el (network-stream-open-starttls):
5935 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5936 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5937
40098786
LMI
5938 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5939 to binary to possibly avoid line encoding issues on Windows (among
5940 other things).
5941
468d09d4
LMI
59422011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943
5944 * net/network-stream.el (open-network-stream): Return an :error
5945 saying what the problem was, if possible.
5946
5947 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5948 server.
5949
5950 * net/network-stream.el (network-stream-open-starttls): If we
5951 wanted to use STARTTLS, and the server offered it, but we weren't
5952 able to because we had no STARTTLS support, then close the connection.
5953 (open-network-stream): Return an :error element, if present.
5954
16f07dd7
CY
59552011-06-26 Chong Yidong <cyd@stupidchicken.com>
5956
88821ca0
CY
5957 * hl-line.el (hl-line-sticky-flag): Doc fix.
5958 (global-hl-line-sticky-flag): New option (Bug#8323).
5959 (global-hl-line-highlight): Obey it.
5960
16f07dd7
CY
5961 * vc/vc.el (vc-revert-show-diff): Default to t.
5962
6b5ccddf
KM
59632011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5964
c9d29fb8
SM
5965 * allout-widgets.el (allout-widgets-post-command-business):
5966 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5967 undecorated when an isearch is continued past, and isearch
5968 automatically collapses them. This leads to "widget leaks", where
5969 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5970 hidden widgets can slow down cursor travel, substantially.
5971 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5972 so we're doing without this nicety.
5973
5974 (allout-widgets-tally-string): Don't try to do a hash-table-count
5975 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5976 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5977 *Messages* when allout-widgets-maintain-tally is t.
5978
355f2e07
MR
59792011-06-26 Martin Rudalics <rudalics@gmx.at>
5980
5981 * window.el (display-buffer-normalize-argument): Rename to
5982 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5983 LABEL argument. Respect special-display-function when popping up
5984 a new frame. Fix code searching for a window showing the buffer
5985 on another frame.
c9d29fb8
SM
5986 (display-buffer-normalize-specifiers):
5987 Call display-buffer-normalize-arguments.
355f2e07
MR
5988 (display-buffer-in-window): Don't undedicate the window if its
5989 buffer remains the same.
5990 Reported by Drew Adams <drew.adams@oracle.com>.
5991 (display-buffer-alist): Add choice for same-window macro
5992 specfier.
5993 (display-buffer): Mention special meaning of LABEL argument in
5994 doc-string. Fix quoting. Don't pop up a new frame even as
5995 fallback.
5996
7ca8fc42
JB
59972011-06-26 Juanma Barranquero <lekktu@gmail.com>
5998
5999 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6000 avoid deleting the current window in some cases (bug#8911).
6001
bc312254
AS
60022011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6003
6004 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6005 (Bug#8934)
6006
2db18f3f
LMI
60072011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
c9d29fb8
SM
6009 * net/network-stream.el (network-stream-open-starttls):
6010 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6011 (network-stream-open-tls): Ditto.
6012
6302e0d3
LL
60132011-06-26 Leo Liu <sdl.web@gmail.com>
6014
6015 * register.el (registerv): New struct.
6016 (registerv-make): New function.
c9d29fb8
SM
6017 (jump-to-register, describe-register-1, insert-register):
6018 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6019 struct. (Bug#8415)
6020
5fdd4046
CY
60212011-06-26 Chong Yidong <cyd@stupidchicken.com>
6022
2afef60a
CY
6023 * vc/vc.el (vc-revert-show-diff): New defcustom.
6024 (vc-diff-internal): New arg specifying diff buffer.
6025 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6026 reuse an existing *vc-diff* buffer (Bug#8927).
6027
5fdd4046
CY
6028 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6029
e93db24a
GM
60302011-06-26 Glenn Morris <rgm@gnu.org>
6031
6032 * progmodes/f90.el (f90-critical-indent): New option.
6033 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6034 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6035 (f90-mode): Doc fix.
6036 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6037 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6038 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6039 (f90-match-end): Handle block, critical.
6040
eefff499
GM
60412011-06-25 Glenn Morris <rgm@gnu.org>
6042
f6ba4cc9
GM
6043 * calendar/diary-lib.el (diary-included-files): Doc fix.
6044 (diary-include-files): New function, extracted from
6045 diary-include-other-diary-files and diary-mark-included-diary-files.
6046 (diary-include-other-diary-files, diary-mark-included-diary-files):
6047 Just call diary-include-files.
6048 (diary-mark-entries): Reset diary-included-files on first call.
6049
16712304
GM
6050 * calendar/diary-lib.el (diary-mark-entries)
6051 (diary-mark-included-diary-files):
6052 Visit included diary-files in temp buffers.
6053
5d8e0d43
GM
6054 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6055 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6056 (f90-start-block-re, f90-imenu-generic-expression)
6057 (f90-looking-at-program-block-start, f90-no-block-limit):
6058 Add support for submodules.
6059
ccf7a5d5
GM
6060 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6061 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6062
11fdef7d 60632011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6064
6065 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6066 buffer-file-type before setting its value, to avoid disastrous
eefff499 6067 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6068
74f53697
JB
60692011-06-25 Juanma Barranquero <lekktu@gmail.com>
6070
6071 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6072
6073 * ses.el (ses-unload-function):
6074 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6075
6076 * proced.el (proced-unload-function):
6077 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6078
18a4ce5e
AR
60792011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6080
6081 * server.el (server-create-window-system-frame): Add parameters arg.
6082 (server-process-filter): Doc fix. Handle frame-parameters.
6083
519d22cc
JB
60842011-06-25 Juanma Barranquero <lekktu@gmail.com>
6085
6086 Fix bug#8730, bug#8781.
6087
6088 * loadhist.el (unload--set-major-mode): New function.
6089 (unload-feature): Use it.
6090
6091 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6092 (python-unload-function): New function.
6093
c206f5b0
SM
60942011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6097
f9ad64f3
GS
60982011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6099
6100 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6101 the candidates list.
6102
7d0da90e
JB
61032011-06-24 Juanma Barranquero <lekktu@gmail.com>
6104
6105 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6106
14b4e83d
RS
61072011-06-23 Richard Stallman <rms@gnu.org>
6108
6109 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6110 (rmail-variables): Set next-error-move-function.
6111 (rmail-what-message): Take argument POS.
6112 (rmail-next-error-move): New function.
6113
273d2baf
SM
61142011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6117 messages for adjacent non-terminals.
6118
56c2cc9a
RS
61192011-06-23 Richard Stallman <rms@gnu.org>
6120
6121 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6122 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6123 (rmail-start-mail): Don't specify use of rmail-mail-return;
6124 that's done by mail-bury now.
6125 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6126
d59eb518
MA
61272011-06-23 Michael Albinus <michael.albinus@gmx.de>
6128
6129 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6130 SIZE is a number.
6131
02cfc6d6
MR
61322011-06-23 Martin Rudalics <rudalics@gmx.at>
6133
6134 * window.el (get-lru-window, get-mru-window)
6135 (get-largest-window): Never return a minibuffer window.
6136 (display-buffer-pop-up-window): Fix a bug that could lead to
6137 reusing the minibuffer window.
6138 (display-buffer): Pass original specifier argument to
6139 display-buffer-function instead of the normalized one.
6140 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6141
4e323265
LL
61422011-06-22 Leo Liu <sdl.web@gmail.com>
6143
6144 * minibuffer.el (completing-read-function)
6145 (completing-read-default): Move from minibuf.c
6146
7a70468f
RS
61472011-06-22 Richard Stallman <rms@gnu.org>
6148
50718fc2
RS
6149 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6150 to Rmail even if not started by a special Rmail command.
6151
7a70468f
RS
6152 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6153 Copy the buffer currently showing just one message.
6154
297dde5a
RW
61552011-06-22 Roland Winkler <winkler@gnu.org>
6156
6157 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6158 (bibtex-clean-entry): First delete the old key so that a
6159 customized algorithm for generating the new key does not get
6160 confused by the old key.
6161 (bibtex-url): Obey regexp of first step.
6162 (bibtex-search-entries): Do not use add-to-list with local
6163 list-var.
6164
97bb1093
LMI
61652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6166
6167 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6168 stored a user name, then query for the password first, instead of
6169 waiting for SMTP to give an error message and the trying again.
6170
1c0f1a19
JD
61712011-06-22 Lawrence Mitchell <wence@gmx.li>
6172
6173 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6174 BUFFER in call-process.
6175
396f7c9d
LMI
61762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6177
6178 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6179 QUIT twice.
ddb7ffee
LMI
6180 (smtpmail-try-auth-methods): Require user name and password from
6181 auth-source.
396f7c9d 6182
8998d1b3
MR
61832011-06-22 Martin Rudalics <rudalics@gmx.at>
6184
6185 * window.el (display-buffer-default-specifiers)
6186 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6187 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6188 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6189
6190 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6191 (special-display-frame-alist, special-display-popup-frame):
6192 Remove duplicate declarations. These are now in window.el.
6193
4ea31e07
LMI
61942011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6195
c9d29fb8
SM
6196 * mail/smtpmail.el (smtpmail-via-smtp):
6197 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6198 server supports it. SMTP servers that support STARTTLS commonly
6199 require it.
6200
6201 * net/network-stream.el (network-stream-open-starttls): Support
6202 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6203 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6204
95f41d9a
LMI
6205 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6206 upgrades with `open-network-stream', and rely solely on
6207 auth-source for all credentials. Big changes throughout the file,
6208 but in particular:
c9d29fb8
SM
6209 (smtpmail-auth-credentials): Remove.
6210 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6211 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6212 MAIL FROM, too.
95f41d9a 6213
c9d29fb8
SM
6214 * net/network-stream.el (network-stream-open-starttls):
6215 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6216 STARTTLS.
6217 (auth-source): Require.
6218 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6219 (network-stream-certificate): Change cert-cert to cert and
6220 cert-key to key.
4ea31e07 6221
065ec2c7
MA
62222011-06-21 Michael Albinus <michael.albinus@gmx.de>
6223
6224 * net/tramp-cache.el (top): Don't load the persistency file when
6225 "emacs -Q" has been called.
6226
cd93b359
DR
62272011-06-21 Tim Harper <timcharper@gmail.com>
6228
d8e4b68b
JB
6229 * term/ns-win.el (ns-initialize-window-system):
6230 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6231 resource to NO as it is not yet supported by the NS port.
6232
ae9c0411
JB
62332011-06-21 Juanma Barranquero <lekktu@gmail.com>
6234
6235 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6236 (list-dynamic-libraries): ...not here.
6237
7f3f739f
LL
62382011-06-21 Leo Liu <sdl.web@gmail.com>
6239
6240 * subr.el (sha1): Implement sha1 using secure-hash.
6241
327c8fb1
MR
62422011-06-21 Martin Rudalics <rudalics@gmx.at>
6243
6244 * window.el (display-buffer-alist): In default value do not
6245 enforce searching a window on any but the selected frame.
6246 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6247 (display-buffer-select-window): Remove function.
6248 (display-buffer-in-window): When a window on another frame gets
6249 reused, do not select it any more but just raise its frame if
6250 necessary (Bug#8851) and (Bug#8856).
6251 (display-buffer-normalize-options): Handle pop-up-frames related
6252 options more faithfully.
6253 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6254 window if it is on another frame.
c9d29fb8
SM
6255 (display-buffer-alist, display-buffer-default-specifiers):
6256 Don't make new frame unsplittable by default.
9e9de014
MR
6257 (display-buffer-normalize-argument): Fix doc-string typo and use
6258 'same-frame-other-window instead of 'other-window when associating
6259 with display-buffer-macro-specifiers.
327c8fb1 6260
7cf3f556
VB
62612011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6262
6263 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6264 New functions.
6265 (5x5-mode-map, 5x5-mode-menu): Bind them.
6266 (5x5-draw-grid): Tweak the solver's rendering.
6267
60a406cf
SM
62682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6271 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6272
d8e4b68b 62732011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6274
6275 * menu-bar.el: Use function variable instead of switch-to-buffer.
6276 (menu-bar-select-buffer-function): New variable.
60a406cf 6277 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6278
478d6f95
SM
62792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6282 variable's status.
6283
ca530739
JD
62842011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6285
6286 * x-dnd.el (x-dnd-version-from-flags)
6287 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6288 and long as number (Bug#8899).
6289 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6290
bcd70d97
SM
62912011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6292
60a406cf 6293 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6294 (completion-try-completion, completion-all-completions): Compute the
6295 metadata argument if it's missing; make it optional (bug#8795).
6296
60a406cf 6297 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6298 (widget-complete): Use new :completion-function property.
6299 (widget-completions-at-point): New function.
6300 (default): Use :completion-function instead of :complete.
60a406cf
SM
6301 (widget-default-completions): Rename from widget-default-complete;
6302 Rewrite.
bcd70d97
SM
6303 (widget-string-complete, widget-file-complete, widget-color-complete):
6304 Remove functions.
6305 (file, symbol, function, variable, coding-system, color):
6306 * international/mule-cmds.el (default-input-method, charset)
6307 (language-info-custom-alist):
6308 * cus-edit.el (face): Use new property :completions.
6309
6310 * progmodes/pascal.el (pascal-completions-at-point): New function.
6311 (pascal-mode): Use it.
6312 (pascal-mode-map): Use completion-at-point.
6313 (pascal-toggle-completions): Make obsolete.
6314 (pascal-complete-word, pascal-show-completions):
6315 * progmodes/octave-mod.el (octave-complete-symbol):
6316 Redefine as obsolete alias.
6317 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6318 Signal absence of completion info for old Octave,
6319 (inferior-octave-complete): Redefine as obsolete alias.
6320 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6321 (meta-completions-at-point): Rename from meta-complete-symbol and
6322 adapt it for use on completion-at-point-functions.
6323 (meta-common-mode): Use it.
6324 (meta-looking-at-backward, meta-match-buffer): Remove.
6325 (meta-complete-symbol): Redefine as obsolete alias.
6326 (meta-common-mode-map): Use completion-at-point.
6327 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6328 (makefile-mode-map): Use completion-at-point.
6329 (makefile-completions-at-point): Rename from makefile-complete and
6330 adapt it for use on completion-at-point-functions.
6331 (makefile-mode): Use it.
6332 (makefile-complete): Redefine as obsolete alias.
6333
aebf69c8
DD
63342011-06-20 Deniz Dogan <deniz@dogan.se>
6335
6336 * net/rcirc.el: Delete trailing whitespaces once and for all.
6337
bfbbb27d
DC
63382011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6339
6340 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6341
d264a46b
CY
63422011-06-19 Chong Yidong <cyd@stupidchicken.com>
6343
4ca009e5
CY
6344 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6345
d264a46b
CY
6346 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6347
fbf5b3ce
MR
63482011-06-19 Martin Rudalics <rudalics@gmx.at>
6349
6350 * window.el (display-buffer-other-window-means-other-frame):
6351 Call display-buffer-normalize-alist.
6352 (display-buffer-normalize-specifiers-1): Rename to
6353 display-buffer-normalize-argument. New argument other-frame.
6354 Rewrite.
6355 (display-buffer-normalize-specifiers-2): Rename to
6356 display-buffer-normalize-options.
6357 (display-buffer-normalize-alist-1): New function.
6358 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6359 display-buffer-normalize-alist.
6360 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6361 (display-buffer-normalize-options-inhibit): New variable.
6362 (display-buffer-normalize-specifiers): Rewrite calling
6363 display-buffer-normalize-alist,
6364 display-buffer-normalize-argument, and
6365 display-buffer-normalize-options. Don't call the latter if
6366 display-buffer-normalize-options-inhibit is non-nil.
6367 (frame-auto-delete): New option.
6368 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6369 (window-list-no-nils, window-state-ignored-parameters)
6370 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6371 (window-state-put-1, window-state-put-2, window-state-put):
6372 New functions.
9a028c23
MR
6373 (display-buffer-normalize-options): Move special-display-p group
6374 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6375
6d10d800
CY
63762011-06-18 Chong Yidong <cyd@stupidchicken.com>
6377
6420d28b
CY
6378 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6379 groups (Bug#8776).
6380 (rx-submatch-n): New function.
6381 (rx): Document it.
6382
ddb8b596
CY
6383 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6384 (Bug#8768).
6385
6386 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6387
77080289
CY
6388 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6389
61dfb316
CY
6390 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6391 anytime existing face settings are present (Bug#8889).
6392
6d10d800
CY
6393 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6394 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6395 Remove unused argument.
6396
be3fb2b8
MR
63972011-06-18 Martin Rudalics <rudalics@gmx.at>
6398
bcd70d97
SM
6399 * window.el (display-buffer-default-specifiers):
6400 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6401 pop-up-window-min-width, and another reuse-window specifier
6402 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6403 (display-buffer-normalize-specifiers-2):
6404 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6405 pop-up-windows is unset. Add a reuse-window specifier for the
6406 case popping up a new window fails.
6407 (special-display-popup-frame): Remove double quoting.
28dec25a 6408 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6409
1c6d8c76
SM
64102011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6413 according to comint-completion-addsuffix.
6414
6415 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6416 (pcomplete-suffix-list): Mark as obsolete.
6417 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6418 pcomplete-seen in the closure.
6419 (pcomplete-comint-setup): Setup completion-at-point as well.
6420 (pcomplete--entries): New function.
6421 (pcomplete--env-regexp): New var.
6422 (pcomplete-entries): Rewrite to work with partial-completion and
6423 without relying on pcomplete-suffix-list.
6424 (pcomplete-pare-list): Remove, unused.
6425
25aef8b8
MR
64262011-06-17 Martin Rudalics <rudalics@gmx.at>
6427
6428 * window.el (display-buffer-alist): Set pop-up-window-min-height
6429 and pop-up-window-min-width in default value. Reported by
6430 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6431 other-window-means-other-frame.
6432 (display-buffer-macro-specifiers): Comment out entry for
6433 other-window specifier.
6434 (display-buffer-other-window-means-other-frame): New function.
6435 (display-buffer-normalize-specifiers-1): New arguments
6436 buffer-name and label. Treat other-window case specially.
6437 (display-buffer-normalize-specifiers-2): Treat other-window case
6438 specially.
6439 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6440 (display-buffer-normalize-specifiers):
6441 Call display-buffer-normalize-specifiers-3.
25aef8b8 6442
dbad4f69
MR
64432011-06-17 Martin Rudalics <rudalics@gmx.at>
6444
6445 * window.el (same-window-p): Fix two typos introduced when
6446 adding with-no-warnings.
d1067961
MR
6447 (display-buffer-normalize-specifiers-1): Don't check
6448 pop-up-frames for 'unset initialization.
6449 (display-buffer-normalize-specifiers-2): Major rewrite using
6450 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6451 (pop-up-frames, display-buffer-reuse-frames)
6452 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6453 Suggested by David Engster <deng@randomsample.de>.
6454 (even-window-heights): Initialize to 'unset.
6455 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6456 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6457 other window case.
dbad4f69 6458
9b9c9e3a
MR
64592011-06-16 Martin Rudalics <rudalics@gmx.at>
6460
bcd70d97
SM
6461 * window.el (display-buffer-normalize-specifiers-1):
6462 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6463 second argument of display-buffer (Bug#8865).
981d5c09
MR
6464 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6465 (switch-to-buffer-other-window-same-frame)
6466 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6467 Adams (Bug#8875).
9c2755e9
MR
6468 (display-buffer): Don't check noninteractive when calling
6469 display-buffer-pop-up-frame.
6470 (display-buffer-pop-up-frame): Never pop up a frame in
6471 noninteractive mode (Bug#8857).
67222e1d
MR
6472 (enlarge-window, shrink-window): Don't report an error when the
6473 window can't be resized as requested (Bug#8862).
9b9c9e3a 6474
2b75be67
SM
64752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6476
9ffdd3ba
SM
6477 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6478
cb581a67
SM
6479 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6480
2b75be67
SM
6481 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6482
8c0e3589
AM
64832011-06-15 Alan Mackenzie <acm@muc.de>
6484
cb581a67
SM
6485 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6486 for declarators, disable knr checking to speed up for normal files.
6487 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6488
b96e6cde
LMI
64892011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6490
4bba86e6
LMI
6491 * net/network-stream.el (open-network-stream): Add the keyword
6492 :always-query-capabilities for the case where you want to force a
6493 `plain' network connection, but the protocol still requires the
6494 capabilitiy command (i.e., SMTP and EHLO).
6495
2b75be67 6496 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6497 consistency with other `-live-p' functions.
6498
efdcdbf8
SM
64992011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * window.el (same-window-buffer-names, same-window-regexps)
6502 (special-display-frame-alist, special-display-popup-frame)
6503 (special-display-function, special-display-buffer-names)
6504 (special-display-regexps, pop-up-frame-alist)
6505 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6506 (pop-up-windows, split-window-preferred-function)
6507 (split-height-threshold, split-width-threshold, even-window-heights)
6508 (display-buffer-mark-dedicated): Don't encourage the use of
6509 display-buffer-alist from Elisp code.
6510
c5cde042
DN
65112011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6512
6513 * progmodes/python.el (python-mode): Derive from prog-mode.
6514 * progmodes/ps-mode.el (ps-mode):
6515 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6516 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6517 * progmodes/ld-script.el (ld-script-mode): Likewise.
6518
baa1c9ab
MR
65192011-06-15 Martin Rudalics <rudalics@gmx.at>
6520
6521 * window.el (display-buffer-alist): Trim default value to avoid
6522 popping up a new frame (Bug#8857) or reusing an arbitrary window
6523 on another frame.
6524 (display-buffer): Do not fall back on popping up a new frame in
6525 batch mode (Bug#8857).
6526
c5dd5a51
CY
65272011-06-14 Chong Yidong <cyd@stupidchicken.com>
6528
6529 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6530 (custom-theme-summary): New function.
6531 (customize-themes): Use it.
6532
d647b7c4
GM
65332011-06-13 Glenn Morris <rgm@gnu.org>
6534
6535 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6536
9481c002
MR
65372011-06-13 Martin Rudalics <rudalics@gmx.at>
6538
357f93d2
MR
6539 * help.el (help-window): Remove variable.
6540 (help-window-point-marker, temp-buffer-max-height)
6541 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6542 (help-print-return-message): Don't set help-window.
6543 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6544 (help-window-setup-finish): Remove.
6545 (help-window-display-message, help-window-setup)
6546 (with-help-window): Major rewrite based on new
6547 display-buffer-window variable.
6548
6549 * help-mode.el (help-mode-finish): Remove help-window related
6550 code.
6551
6552 * view.el (view-exits-all-viewing-windows): Remove reference to
6553 view-return-to-alist in doc-string.
6554 (view-return-to-alist): Make obsolete.
6555 (view-buffer): Call pop-to-buffer-same-window and remove
6556 undo-window code.
6557 (view-buffer-other-window): Call pop-to-buffer-other-window and
6558 simplify code. Ignore second argument.
6559 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6560 simplify code. Ignore second argument.
6561 (view-return-to-alist-update): Make obsolete.
6562 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6563 Rewrite using quit-restore window parameters.
2b75be67
SM
6564 (view-mode-exit): Rename second argument to EXIT-ONLY.
6565 Rewrite using quit-restore-window.
357f93d2
MR
6566 (View-exit, View-exit-and-edit, View-leave, View-quit)
6567 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6568 appropriate arguments.
6569 (view-end-message): Use quit-restore window parameter.
6570
9481c002
MR
6571 * window.el (display-buffer-function): Rewrite doc-string.
6572 (display-buffer-window, display-buffer-alist): New variables.
6573 (display-buffer-split-specifiers)
6574 (display-buffer-side-specifiers)
6575 (display-buffer-macro-specifiers): New constants.
6576 (display-buffer-even-window-sizes, display-buffer-set-height)
6577 (display-buffer-set-width, display-buffer-select-window)
6578 (display-buffer-in-window, display-buffer-reuse-window)
6579 (display-buffer-split-window-1, display-buffer-split-window)
6580 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6581 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6582 (display-buffer-in-side-window, normalize-buffer-to-display)
6583 (display-buffer-normalize-specifiers-1)
6584 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6585 (display-buffer-normalize-specifiers, display-buffer-frame):
6586 New functions.
9481c002
MR
6587 (display-buffer): Major rewrite.
6588 (display-buffer-other-window, display-buffer-other-frame)
6589 (pop-to-buffer, switch-to-buffer-other-window)
6590 (switch-to-buffer-other-frame): Rewrite.
6591 (display-buffer-same-window, display-buffer-same-frame)
6592 (display-buffer-same-frame-other-window)
6593 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6594 (pop-to-buffer-other-window)
6595 (pop-to-buffer-same-frame-other-window)
6596 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6597 (switch-to-buffer-other-window-same-frame): New functions.
6598 (same-window-p, special-display-p): Rewrite disabling warnings.
6599 Make obsolete.
6600 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6601 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6602 Make obsolete
6603 (same-window-buffer-names, same-window-regexps)
6604 (special-display-frame-alist, special-display-popup-frame)
6605 (special-display-function, special-display-buffer-names)
6606 (special-display-regexps, pop-up-frame-alist)
6607 (pop-up-frame-function, split-window-preferred-function)
6608 (split-height-threshold, split-width-threshold)
6609 (even-window-heights): Make obsolete.
6610
9db51aca
GM
66112011-06-12 Glenn Morris <rgm@gnu.org>
6612
6613 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6614 Misc simplifications.
9db51aca 6615
39cffb44
MR
66162011-06-12 Martin Rudalics <rudalics@gmx.at>
6617
6618 * window.el (window-safely-shrinkable-p): Restore function which
6619 was inadvertently removed in change from 2011-06-11. Declare as
6620 obsolete.
6621
2b75be67
SM
6622 * calendar/calendar.el (calendar-generate-window):
6623 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6624 window-safely-shrinkable-p.
6625
a8955be7
GM
66262011-06-12 Glenn Morris <rgm@gnu.org>
6627
6628 * progmodes/fortran.el (fortran-mode-syntax-table):
6629 * progmodes/f90.el (f90-mode-syntax-table):
6630 Set % to punctuation. (Bug#8820)
6631 (f90-find-tag-default): Remove, no longer needed.
6632
f0d4059d
DC
66332011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6634
6635 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6636
1100a63c
CY
66372011-06-11 Chong Yidong <cyd@stupidchicken.com>
6638
6639 * image.el (image-animated-p): Return animation delay in seconds.
6640 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6641 (image-animate-timeout): Remove DELAY argument. Don't assume
6642 every subimage has the same delay; get it from image-animated-p.
6643 (image-animate): Caller changed.
6644
def722bf
MA
66452011-06-11 Michael Albinus <michael.albinus@gmx.de>
6646
6647 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6648 to ignored backtrace functions.
6649
0a2bb1a9
GM
66502011-06-11 Glenn Morris <rgm@gnu.org>
6651
6652 * calendar/appt.el (appt-disp-window-function): Doc fix.
6653 (appt-check): Handle overlapping appointments. (Bug#8337)
6654
6198ccd0
MR
66552011-06-11 Martin Rudalics <rudalics@gmx.at>
6656
6657 * window.el (window-tree-1, window-tree): New functions, moving
6658 the latter to window.el.
6659 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6660 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6661 (bw-refresh-edges): Remove.
6662 (balance-windows-1, balance-windows-2): New functions.
6663 (balance-windows): Rewrite in terms of window tree functions,
6664 balance-windows-1 and balance-windows-2.
6665 (bw-adjust-window): Remove.
6666 (balance-windows-area-adjust): New function with functionality of
6667 bw-adjust-window but using resize-window.
2b75be67
SM
6668 (set-window-text-height): Rewrite doc-string.
6669 Use normalize-live-window and resize-window.
6670 (enlarge-window-horizontally, shrink-window-horizontally):
6671 Rename argument to DELTA.
6198ccd0
MR
6672 (window-buffer-height): New function.
6673 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6674 Rewrite using new window resize routines.
2b75be67
SM
6675 (kill-buffer-and-window, mouse-autoselect-window-select):
6676 Use ignore-errors instead of condition-case.
6198ccd0
MR
6677 (quit-window): Call delete-frame instead of delete-windows-on
6678 for the only buffer on frame.
6679
9397e56f
MR
66802011-06-10 Martin Rudalics <rudalics@gmx.at>
6681
6682 * loadup.el (top-level): Load window before files for the sake
6683 of replace-buffer-in-windows.
6684
6685 * files.el (read-buffer-to-switch)
6686 (switch-to-buffer-other-window)
2b75be67
SM
6687 (switch-to-buffer-other-frame, display-buffer-other-frame):
6688 Move to window.el.
9397e56f
MR
6689
6690 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6691 (previous-buffer): Move to window.el.
6692
6693 * bindings.el (unbury-buffer): Move to window.el.
6694
6695 * window.el (delete-other-windows-vertically): Move after
6696 definition of delete-other-windows.
6697 (other-window, delete-windows-on, replace-buffer-in-windows):
6698 Move here from window.c.
6699 (record-window-buffer, unrecord-window-buffer)
6700 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6701 (switch-to-next-buffer): New functions.
6702 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6703 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6704 (previous-buffer): Move here from simple.el.
6705 Call switch-to-prev-buffer.
9397e56f
MR
6706 (bury-buffer): Move here from buffer.c. Switch to previous
6707 buffer when window cannot be deleted.
6708 (unbury-buffer): Move here from bindings.el.
6709 (ctl-x-map): Move binding for other-window from window.c to
6710 here.
6711 (read-buffer-to-switch, switch-to-buffer-other-window)
6712 (switch-to-buffer-other-frame): Move here from files.el.
6713 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6714 (switch-to-buffer): Move here from buffer.c.
6715 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6716
562dd5e9
MR
67172011-06-10 Martin Rudalics <rudalics@gmx.at>
6718
6719 * window.el (window-min-height, window-min-width): Move here
6720 from window.c. Add defcustoms and rewrite doc-strings.
6721 (resize-mini-window, resize-window): New functions.
6722 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6723 Move here from window.c.
6724 (maximize-window, minimize-window): New functions.
6725 (delete-window, delete-other-windows, split-window): Move here
6726 from window.c.
6727 (window-split-min-size): New function.
6728 (split-window-keep-point): Mention split-window-above-each-other
6729 instead of split-window-vertically.
2b75be67 6730 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6731 Rename split-window-vertically to split-window-above-each-other
6732 and provide defalias for old definition.
6733 (split-window-side-by-side, split-window-horizontally):
6734 Rename split-window-horizontally to split-window-side-by-side
6735 and provide defalias for the old definition.
562dd5e9
MR
6736 (ctl-x-map): Move bindings for delete-window,
6737 delete-other-windows and enlarge-window here from window.c.
6738 Replace bindings for split-window-vertically and
6739 split-window-horizontally by bindings for
6740 split-window-above-each-other and split-window-side-by-side.
6741
6742 * cus-start.el (all): Remove entries for window-min-height and
6743 window-min-width. Add entries for window-splits and
6744 window-nest.
6745
f0da764a
GM
67462011-06-09 Glenn Morris <rgm@gnu.org>
6747
80675c21
GM
6748 * calendar/appt.el (appt-mode-line): New function.
6749 (appt-check, appt-disp-window): Use it.
6750
f0da764a
GM
6751 * files.el (hack-one-local-variable-eval-safep):
6752 Allow minor-modes with explicit +/-1 arguments.
6753
59f623b7
TZ
67542011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6755
6756 * term/xterm.el (xterm): Add defgroup.
6757 (xterm-extra-capabilities): Add defcustom to supply known xterm
6758 capabilities, skip querying them, or query them (default).
6759 (terminal-init-xterm): Use it.
6760 (terminal-init-xterm-modify-other-keys): New function to set up
6761 modifyOtherKeys support to simplify `terminal-init-xterm'.
6762
9aab8e0d
MR
67632011-06-09 Martin Rudalics <rudalics@gmx.at>
6764
6765 * window.el (resize-window-reset, resize-window-reset-1)
6766 (resize-subwindows-skip-p, resize-subwindows-normal)
6767 (resize-subwindows, resize-other-windows, resize-this-window)
6768 (resize-root-window, resize-root-window-vertically)
6769 (window-deletable-p, window-or-subwindow-p)
6770 (frame-root-window-p): New functions.
6771
e8b08aee
GM
67722011-06-09 Glenn Morris <rgm@gnu.org>
6773
6774 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6775 (ange-ftp-get-files): Use it.
6776
254c37a5
AK
67772011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6778
6779 * mail/sendmail.el (mail-recover-1, mail-recover):
6780 * files.el (recover-file, recover-session):
6781 Handle dired-listing-switches not being just a single short option.
6782
35d7dbd3
GM
67832011-06-09 Glenn Morris <rgm@gnu.org>
6784
6785 * calendar/appt.el (appt-display-message, appt-disp-window):
6786 Handle lists of appointments.
6787
387522b2
MR
67882011-06-08 Martin Rudalics <rudalics@gmx.at>
6789
2b75be67
SM
6790 * window.el (one-window-p): Move down in code.
6791 Rewrite doc-string.
6792 (window-current-scroll-bars): Rewrite doc-string.
6793 Normalize live window argument.
387522b2
MR
6794 (walk-windows, get-window-with-predicate, count-windows):
6795 Rewrite doc-string. Use window-list-1.
6796 (window-in-direction-2, window-in-direction, get-mru-window):
6797 New functions.
6798
d8e4b68b 67992011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6800
6801 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6802 Doc fix (Bug#8713).
6803
68042011-06-08 Chong Yidong <cyd@stupidchicken.com>
6805
6806 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6807
68082011-06-08 Juanma Barranquero <lekktu@gmail.com>
6809
6810 * loadhist.el (unload-feature-special-hooks):
6811 Add `comint-output-filter-functions'.
6812
0de12c52
IK
68132011-06-08 Ivan Kanis <gnu@kanis.fr>
6814
6815 * calendar/appt.el (appt-check): Move some initializations into the let.
6816
f3d1777e
MR
68172011-06-08 Martin Rudalics <rudalics@gmx.at>
6818
6819 * window.el (window-height): Defalias to window-total-height.
6820 (window-width): Defalias to window-body-width.
6821
18af70d0
CY
68222011-06-07 Chong Yidong <cyd@stupidchicken.com>
6823
6824 * image-mode.el (image-toggle-animation): New command.
6825 (image-mode-map): Bind it to RET.
6826 (image-mode): Update message.
6827 (image-toggle-display-image): Avoid a spurious cache flush.
6828 (image-transform-rotation): Doc fix.
6829 (image-transform-properties): Return quickly in the normal case.
6830 (image-animate-loop): Rename from image-animate-max-time.
6831
2b75be67 6832 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6833 (create-animated-image): Remove unnecessary function.
6834 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6835 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6836 (image-animate-timer): Use car-safe.
6837 (image-animate-timeout): Rename argument.
6838
190b47e6
MR
68392011-06-07 Martin Rudalics <rudalics@gmx.at>
6840
6841 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6842 window.c. Rename first argument to ALL-FRAMES.
6843 Rephrase doc-strings.
6844 (get-buffer-window-list): Rewrite using window-list-1.
6845 Rephrase doc-string.
a1511caf
MR
6846 (window-safe-min-height, window-safe-min-width): New constants.
6847 (window-size-ignore, window-min-size, window-min-size-1)
6848 (window-sizable, window-sizable-p, window-size-fixed-1)
6849 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6850 (window-max-delta-1, window-max-delta, window-resizable)
6851 (window-resizable-p, window-total-height, window-total-width)
6852 (window-body-width): New functions.
6853 (window-full-height-p, window-full-width-p): Rewrite using
6854 window-total-size.
6855 (window-body-height): Rewrite using window-body-size.
190b47e6 6856
85cc1f11
MR
68572011-06-06 Martin Rudalics <rudalics@gmx.at>
6858
6859 * window.el (window-right, window-left, window-child)
6860 (window-child-count, window-last-child, window-any-p)
6861 (normalize-live-buffer, normalize-live-frame)
6862 (normalize-any-window, normalize-live-window)
6863 (window-iso-combination-p, window-iso-combined-p)
6864 (window-iso-combinations)
6865 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6866 (windows-with-parameter, window-with-parameter)
6867 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6868 (window-atom-check, window-side-check, window-check):
6869 New functions.
85cc1f11
MR
6870 (ignore-window-parameters, window-sides, window-sides-vertical)
6871 (window-sides-slots): New variables.
6872 (window-size-fixed): Move down in code. Minor doc-string fix.
6873
e7156492
AS
68742011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6875
6876 * comint.el (comint-dynamic-complete-as-filename)
6877 (comint-dynamic-complete-filename): Correctly call
6878 completion-in-region.
6879
7e821d0d
DD
68802011-06-05 Deniz Dogan <deniz@dogan.se>
6881
6882 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6883 in last change.
6884
ac09b8a1
DD
68852011-06-05 Deniz Dogan <deniz@dogan.se>
6886
6887 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6888 (rcirc): Use it to prompt for encryption.
6889
34699b85
RW
68902011-06-05 Roland Winkler <winkler@gnu.org>
6891
6892 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6893 (bibtex-search-entries): New command bound to C-c C-a.
6894 (bibtex-display-entries): New function.
6895
004dedd3
RW
68962011-06-05 Roland Winkler <winkler@gnu.org>
6897
6898 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6899 (bibtex-insert-kill): After yanking insert newline if necessary.
6900 (bibtex-initialize): Call bibtex-string-files-init only once.
6901 (bibtex-mode): Do not call easy-menu-add.
6902 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6903 (bibtex-yank): Set arg properly if nil.
6904
022fe7ce
RW
69052011-06-05 Roland Winkler <winkler@gnu.org>
6906
2b75be67
SM
6907 * textmodes/bibtex.el (bibtex-search-entry-globally):
6908 New variable.
022fe7ce
RW
6909 (bibtex-search-entry): Use it.
6910
b7c3692a
RW
69112011-06-05 Roland Winkler <winkler@gnu.org>
6912
6913 * textmodes/bibtex.el (bibtex-entry-format): New option
6914 sort-fields.
6915 (bibtex-format-entry, bibtex-reformat): Honor this option.
6916 (bibtex-parse-entry): Return fields in proper order.
6917
8eda563d
JB
69182011-06-05 Juanma Barranquero <lekktu@gmail.com>
6919
6920 * doc-view.el (doc-view-remove-if): Move computation of result out
6921 of `dolist' to silence misleading lexical-binding warning.
6922
7dbe3dbc
CY
69232011-06-04 Chong Yidong <cyd@stupidchicken.com>
6924
6925 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6926 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6927
0c33dd17
MA
69282011-06-04 Michael Albinus <michael.albinus@gmx.de>
6929
6930 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6931 "SunOS 5.10".
6932
f8f91c2b
MA
69332011-06-04 Michael Albinus <michael.albinus@gmx.de>
6934
6935 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6936 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6937 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6938 (tramp-parse-putty):
6939 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6940 (tramp-completion-function-alist-ssh)
6941 (tramp-completion-function-alist-telnet)
6942 (tramp-completion-function-alist-su)
6943 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6944 cookie.
6945
6946 * net/tramp-ftp.el:
6947 * net/tramp-sh.el:
6948 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6949 load "tramp.el" `tramp-set-completion-function'.
6950
e17d9003
SM
69512011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * shell.el: Require and use pcomplete.
6954 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6955 (shell-completion-vars): Set pcomplete-default-completion-function.
6956
6c4cab03
DD
69572011-06-04 Deniz Dogan <deniz@dogan.se>
6958
6959 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6960 `memq' (Bug#8799).
6961
ea9fafe0
SM
69622011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6965
b3e945d3
JB
69662011-06-02 Juanma Barranquero <lekktu@gmail.com>
6967
6968 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6969 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6970 * vc/log-view.el (log-view-beginning-of-defun):
6971 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6972 (smerge-refine-forward, smerge-refine-chopup-region):
6973 Silence warning for unused `dotimes' counter variables.
6974
7d520089
SM
69752011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * net/tramp.el (tramp-with-progress-reporter): Rename from
6978 with-progress-reporter. Use `declare'.
6979 * net/tramp-smb.el:
6980 * net/tramp-sh.el:
6981 * net/tramp-gvfs.el: Update all uses.
6982
a1c2400f
JB
69832011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6984
6985 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6986 buffer isn't killed before making it current.
6987
2403c841
SM
69882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 Silence various byte-compiler warnings.
6991 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6992 `access-type' and new obsolescence format.
6993 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6994 new format.
6995 (byte-compile-check-variable): New `access-type' argument.
6996 Only warn if the access-type is obsolete.
6997 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6998 (byte-compile-variable-set): Adjust callers.
6999 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7000 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7001 setting it as obsolete.
7002 * simple.el (minibuffer-completing-symbol):
7003 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7004 access as obsolete.
7005 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7006 obsolete yet.
7007 * international/quail.el (quail-mouse-choose-completion): Remove unused
7008 code referring to obsolete var.
7009 (quail-choose-completion-string): Remove.
7010 * server.el (server-clients-with, server-kill-buffer-query-function)
7011 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7012 * proced.el (proced-send-signal):
7013 * emacs-lisp/lisp.el (lisp-complete-symbol):
7014 Replace completion-annotate-function with completion-extra-properties.
7015
2462470b
SM
70162011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7017
fb5b2591
SM
7018 * simple.el (goto-line): Use read-number.
7019 (overriding-map-is-bound): Remove.
7020 (saved-overriding-map): Change default.
7021 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7022 Take the map as argument.
7023 (universal-argument, negative-argument, digit-argument): Use it.
7024 (restore-overriding-map): Adjust.
7025 (do-auto-fill): Use fill-forward-paragraph.
7026 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7027
fd6fa53f
SM
7028 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7029 (minibuffer-inactive-mode): New major mode.
7030 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7031 the *Messages* buffer" hack.
7032 (mouse-popup-menubar): Don't burp if the event is a normal key.
7033
2462470b
SM
7034 Miscellaneous tweaks.
7035 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7036 lexical scoping as in subr.el's dolist and dotimes.
7037 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7038 Silence compiler warning.
7039 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7040 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7041 * international/ccl.el (ccl-compile): Trivial simplification.
7042 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7043 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7044 `printflag' argument.
7045 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7046 Purecopy the whole obsolescence data.
7047
108bf785
LL
70482011-06-01 Leo Liu <sdl.web@gmail.com>
7049
7050 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7051 improve doc-string as suggested by Marco Pessotto
7052 <melmothx@gmail.com>.
7053 (rcirc-print): Fix last change.
7054
30a23501
SM
70552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7056
7057 * minibuffer.el (complete-with-action): Return nil for the metadata and
7058 boundaries of non-functional tables.
7059 (completion-table-dynamic): Return nil for the metadata.
7060 (completion-table-with-terminator): Add default case, using
7061 complete-with-action.
7062 (completion--metadata): New function.
7063 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7064 to try and avoid pathological performance problems.
7065 (completion--embedded-envvar-table): Return `category' metadata.
7066
bcd54f83
LMI
70672011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7068
7069 * subr.el (process-alive-p): New tiny convenience function.
7070
e227544d
SM
70712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7074 content but also its previous major mode.
7075
e8296fdc
HE
70762011-05-31 Helmut Eller <eller.helmut@gmail.com>
7077
4d61f28d 7078 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7079 *Backtrace* buffer when we exit with C-M-c.
7080
620c53a6
SM
70812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * minibuffer.el: Add metadata method to completion tables.
7084 (completion-category-overrides): New defcustom.
7085 (completion-metadata, completion--field-metadata)
7086 (completion-metadata-get, completion--styles)
7087 (completion--cycle-threshold): New functions.
7088 (completion-try-completion, completion-all-completions):
7089 Add `metadata' argument to choose completion-styles.
7090 (completion--do-completion): Use metadata to choose cycling.
7091 (completion-all-sorted-completions): Use metadata for sorting.
7092 Remove :completion-cycle-penalty which is not needed any more.
7093 (completion--try-word-completion): Add `metadata' argument.
7094 (minibuffer-completion-help): Check metadata for annotation function
7095 and sorting.
7096 (completion-file-name-table): Return `category' metadata.
7097 (minibuffer-completing-file-name): Make obsolete.
7098 * simple.el (minibuffer-completing-symbol): Make obsolete.
7099 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7100 completion-try-completion.
7101
1257e755
SM
71022011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7105
3767e706
LL
71062011-05-30 Leo Liu <sdl.web@gmail.com>
7107
7108 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7109 (rcirc-print): Decode all incoming messages (bug#8744).
7110 (rcirc-decode-coding-system): Allow value nil for automatic coding
7111 system detection.
3767e706 7112
d1a5d56a
GM
71132011-06-01 Glenn Morris <rgm@gnu.org>
7114
7115 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7116
e8cbec34
CY
71172011-05-29 Chong Yidong <cyd@stupidchicken.com>
7118
7119 * image.el (image-animate-max-time): Allow nil and t values.
7120 Default to nil.
7121 (create-animated-image): Doc fix.
7122 (image-animate-start): Remove second arg; just use
7123 image-animate-max-time.
7124 (image-animate-timeout): Doc fix. Args changed.
7125
7126 * image-mode.el (image-toggle-display-image): Ensure that the
7127 image spec passed to the animate timer is the same object as in
58179cce 7128 the buffer's display property (Bug#6981).
e8cbec34
CY
7129 (image-transform-properties): Doc fix.
7130
7131 * image.el (image-animate-max-time): Default to nil.
7132
159daf87
MR
71332011-05-29 Martin Rudalics <rudalics@gmx.at>
7134
7135 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7136 entire buffer list (Bug#8184).
7137
d66c4c7c
CY
71382011-05-29 Chong Yidong <cyd@stupidchicken.com>
7139
7140 * image.el (imagemagick-types-inhibit)
7141 (imagemagick-register-types): Doc fix.
7142
80aec780
DD
71432011-05-29 Deniz Dogan <deniz@dogan.se>
7144
7145 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7146 default.
7147
1dd3c2d9
CY
71482011-05-29 Chong Yidong <cyd@stupidchicken.com>
7149
7150 * select.el: Don't perform clipboard-manager saving in hooks;
7151 leave the hooks empty.
7152
60e56523
LL
71532011-05-28 Leo Liu <sdl.web@gmail.com>
7154
7155 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7156 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7157 (occur-edit-mode): New major mode (Bug#8463).
7158 (occur-after-change-function): New function.
7159 (occur-engine): Give Occur tags a read-only property.
7160
2b1e1a22
KR
71612011-05-28 Kevin Ryde <user42@zip.com.au>
7162
7163 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7164
5d344e88
CY
71652011-05-28 Chong Yidong <cyd@stupidchicken.com>
7166
8e6ca83d
CY
7167 * bindings.el (help-echo): Make the initial non-indicator dash
7168 empty on graphical terminals (Bug#7295).
7169
5d344e88
CY
7170 * files.el (auto-mode-alist): Move config rule after the
7171 in-stripping one (Bug#8547).
7172
bfbbace7
CY
7173 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7174
fbeba6e2
CY
7175 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7176 setting (Bug#8740).
7177
60ed8c72
AA
71782011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7179
4ac619f0
AA
7180 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7181 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7182 (Bug#8539).
60ed8c72 7183
23db196e
CY
71842011-05-28 Chong Yidong <cyd@stupidchicken.com>
7185
7186 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7187
5012f24c
DK
71882011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7189
7190 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7191 (hs-hide-block-at-point, hs-find-block-beginning)
7192 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7193 (Bug#8279).
7194
6a639b16
GM
71952011-05-28 Glenn Morris <rgm@gnu.org>
7196
7197 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7198
d43eaf2c
CY
71992011-05-28 Chong Yidong <cyd@stupidchicken.com>
7200
5199bde1
CY
7201 * help-fns.el (describe-function-1): If the function is a derived
7202 major mode, print the parent mode.
7203
d43eaf2c
CY
7204 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7205 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7206
423428a8
SM
72072011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7208
0ff8e1ba 7209 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7210 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7211 * progmodes/etags.el (tags-completion-at-point-function):
7212 * info-look.el (info-lookup-completions-at-point): Mark as
7213 non-exclusive.
7214 (info-complete): Adjust accordingly.
7215
423428a8
SM
7216 * info-look.el: Convert to lexical-binding and completion-at-point.
7217 (info-lookup-completions-at-point): New function.
7218 (info-complete): Use it and completion-in-region.
7219
b74aa22b
DA
72202011-05-28 Drew Adams <drew.adams@oracle.com>
7221
7222 * isearch.el: Let M-e start with point at the first mismatched char.
7223 (isearch-fail-pos): New function.
7224 (isearch-edit-string): Use it.
7225
66e2e71d
DK
72262011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7227
7228 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7229
eb95d01d
TC
72302009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7231
7232 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7233 traversal functions for avl-trees.
7234 (avl-tree--stack): New struct.
7235 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7236 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7237 (avl-tree--do-enter): Add optional `updatefun' arg.
7238 Change return value.
eb95d01d 7239 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7240 (avl-tree--do-delete): Add `test' and `nilflag' args.
7241 Change return value.
eb95d01d
TC
7242 (avl-tree-member): Add optional `nilflag'
7243 (avl-tree-member-p): New function.
7244 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7245 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7246 (avl-tree-stack-empty-p): New functions.
7247
3769ddcf
TC
72482009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7249
7250 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7251 avl-tree--del-balance1 and make it work both ways.
7252 (avl-tree--del-balance2): Remove.
7253 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7254 make it work both ways.
7255 (avl-tree--enter-balance2): Remove.
7256 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7257 New macros.
7258 (avl-tree--mapc, avl-tree-map): Add direction argument.
7259
eb95d01d 72602011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7261
7262 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7263
a9f737ee
CY
72642011-05-27 Chong Yidong <cyd@stupidchicken.com>
7265
7266 * select.el: Support clipboard managers with built-in function
7267 x-clipboard-manager-save, via delete-frame-functions and
7268 kill-emacs-hook.
7269 (xselect-convert-to-targets): Add MULTIPLE target to list.
7270 (xselect-convert-to-save-targets): New function.
7271
c92a1e54
KH
72722011-05-27 Kenichi Handa <handa@m17n.org>
7273
7274 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7275 let-binding rfc2047-encode-encoded-words to nil.
7276
e145f188
GM
72772011-05-27 Glenn Morris <rgm@gnu.org>
7278
5ec8a862
GM
7279 * mail/emacsbug.el: Don't require url-util.
7280
4b29d9fb
GM
7281 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7282
e145f188
GM
7283 * files.el (set-auto-mode):
7284 Also respect mode: entries at the end of the file. (Bug#8586)
7285
7d15102b
GM
72862011-05-26 Glenn Morris <rgm@gnu.org>
7287
98f593b8
GM
7288 * files.el (hack-local-variables-prop-line, hack-local-variables):
7289 Downcase mode names, as seems to be traditional.
27b48e63 7290 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7291
7d15102b
GM
7292 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7293 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7294
51d5b4ec
JD
72952011-05-25 Julien Danjou <julien@danjou.info>
7296
7297 * textmodes/rst.el (rst-define-level-faces): Do not define face
7298 symbol if it is already defined.
7299
91513f63
VB
73002011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7301
7302 * play/5x5.el (5x5-new-game, 5x5-randomize):
7303 Reset 5x5-solver-output to nil when a new grid is cast.
7304 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7305 these debugging traces, as defmacro breaks the compiled code.
7306
4d90d6d0
DK
73072011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7308
7309 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7310
e1b90ef6
LL
73112011-05-24 Leo Liu <sdl.web@gmail.com>
7312
7313 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7314 (vc-bzr-sha1): Adapt.
7315
d8e4b68b 7316 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7317
7318 * bindings.el: Provide sha1 feature.
7319
db0406bb 73202011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7321
7322 * mail/sendmail.el: Require `rfc2047'.
7323 (mail-insert-from-field): Do not perform RFC2047 encoding.
7324 (mail-encode-header): New function.
7325 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7326 buffer to the return value of select-message-coding-system.
7327 Call mail-encode-header.
b8d747b9
KH
7328
7329 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7330
db0406bb 73312011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7332
4d90d6d0
DK
7333 * mail/supercite.el (sc-default-cite-frame):
7334 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7335
eb8a5e9b
GM
73362011-05-24 Glenn Morris <rgm@gnu.org>
7337
f8630703
GM
7338 * progmodes/python.el (brm-menu): Declare.
7339
8831bbed
GM
7340 * emulation/viper.el (viper-set-hooks): Declare.
7341
eb8a5e9b
GM
7342 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7343 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7344 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7345 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7346 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7347 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7348
a2a25d24
SM
73492011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 Add an :exit-function for completion-at-point.
7352
7353 * minibuffer.el (completion--done): New fun.
7354 (completion--do-completion): Use it. New arg `expect-exact'.
7355 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7356 since completion--do-completion does it for us now.
7357 (minibuffer-force-complete): Use completion--done and
7358 completion--replace. Handle sole-completion case with more care.
7359 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7360 (completion-extra-properties): New var.
7361 (completion-annotate-function): Make obsolete.
7362 (minibuffer-completion-help): Adjust accordingly.
7363 Use completion-list-insert-choice-function.
7364 (completion-at-point, completion-help-at-point):
7365 Bind completion-extra-properties.
7366 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7367 * simple.el (completion-list-insert-choice-function): New var.
7368 (completion-setup-function): Preserve it.
7369 (choose-completion): Pay attention to it, shuffle the code a bit.
7370 (choose-completion-string): New arg `insert-function'.
7371
7372 * textmodes/bibtex.el: Convert to lexical binding.
7373 (bibtex-mode-map): Use completion-at-point.
7374 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7375 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7376 (bibtex-complete): Define as obsolete alias.
7377 (bibtex-complete-internal): Remove.
7378 (bibtex-format-entry): Remove unused sub-group in regexp.
7379 * shell.el (shell--command-completion-data)
7380 (shell-environment-variable-completion):
7381 * pcomplete.el (pcomplete-completions-at-point):
7382 * comint.el (comint--complete-file-name-data): Use :exit-function
7383 instead of completion-table-with-terminator so it also works for
7384 choose-completion.
7385
e44e373d
SM
73862011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7387
4f91a816
SM
7388 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7389
782fc819
SM
7390 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7391 (bug#8710).
7392
e44e373d
SM
7393 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7394
381987c3
KM
73952011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7396
7397 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7398 customization variable and implement: If non-nil, auto-fill will
7399 be inhibited while on topic's header line.
7400
b776bc70
VB
74012011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7402
7403 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7404 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7405 always have a solution in grid size = 5 cases.
7406 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7407 (5x5-solver-output, 5x5-log-buffer): New vars.
7408 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7409 Make these variables buffer local to achieve 5x5 multi-session-ness.
7410 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7411 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7412 (5x5-solve-suggest): New funs.
7413 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7414 randomize a grid so that we ensure that there is always a solution.
7415 (5x5-make-random-grid): Allow other movement than flipping.
7416
7de88b6e
KR
74172011-05-23 Kevin Ryde <user42@zip.com.au>
7418
7419 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7420 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7421 advice and passes PREDICATE.
7422
b1ef1257
SM
74232011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7424
bbca48fe
SM
7425 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7426 byte-compile-lambda if it's actually a lambda.
7427
b1ef1257
SM
7428 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7429 Fix function quoting. Use backquote better.
7430
92a9cc65
YS
74312011-05-22 Yuanle Song <sylecn@gmail.com>
7432
7433 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7434 matching (Bug#8516).
7435
f0fb8059
JA
74362011-01-22 Jari Aalto <jari.aalto@cante.net>
7437
7438 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7439 different face (Bug#8178).
7440
d5b44c93
CY
74412011-05-22 Chong Yidong <cyd@stupidchicken.com>
7442
7443 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7444 defface (Bug#8144).
7445
79106a44
SM
74462011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7447
9c848d8a
SM
7448 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7449 funcall as well (bug#8712). Warn when performing those conversions.
7450 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7451
79106a44
SM
7452 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7453
88dfa756
GM
74542011-05-22 Glenn Morris <rgm@gnu.org>
7455
7456 * files.el (hack-local-variables-prop-line): Small simplifications.
7457 (hack-local-variables, hack-local-variables-prop-line):
7458 If MODE-ONLY, return the mode, rather than just `t'.
7459
b7cf2c79
SM
74602011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7463
3f1a8558
GM
74642011-05-21 Glenn Morris <rgm@gnu.org>
7465
7e4ccca3
GM
7466 * files.el (hack-local-variables-prop-line, hack-local-variables):
7467 If only interested in the mode, don't bother doing the other stuff.
7468
637d46ca
GM
7469 * image-mode.el (image-after-revert-hook):
7470 Redraw all frames on which the image is visible. (Bug#8567)
7471
973d955b
GM
7472 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7473
3f1a8558
GM
7474 * wid-edit.el (widget-checklist-match-inline):
7475 Fix 2011-04-19 change. (Bug#8649)
7476
96479927
SM
74772011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7478
1dcf791f
SM
7479 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7480 Also allow singlespace after single-letter capitals followed by a dot.
7481
96479927
SM
7482 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7483 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7484
35fd0881
N
74852011-05-20 Nix <nix@esperi.org.uk>
7486
7487 * files.el (basic-save-buffer-2):
7488 Fix handling of break-hardlink-on-save with non-existent files.
7489
82745640
DD
74902011-05-19 Deniz Dogan <deniz@dogan.se>
7491
7492 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7493 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7494
4a720484
GM
74952011-05-19 Glenn Morris <rgm@gnu.org>
7496
d1f21341
GM
7497 * progmodes/f90.el (f90-type-def-re):
7498 Handle "type, bind(c)". (Bug#8691)
7499
4a720484
GM
7500 * emacs-lisp/autoload.el (batch-update-autoloads):
7501 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7502
2fb0a219
MA
75032011-05-18 Michael Albinus <michael.albinus@gmx.de>
7504
7505 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7506 property for the correct connection in case of multihops.
7507
e565dd37
GM
75082011-05-18 Glenn Morris <rgm@gnu.org>
7509
c2571358 7510 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7511 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7512
e565dd37
GM
7513 Rationalize calendar handling of day and month abbrev-arrays.
7514 * calendar/calendar.el (calendar-customized-p): New function.
7515 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7516 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7517 Add :set function.
7518 (calendar-abbrev-length, calendar-day-abbrev-array)
7519 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7520 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7521 Elements may no longer be nil.
7522 (calendar-day-name, calendar-month-name):
7523 Update for changed nature of abbrev arrays.
7524 * calendar/diary-lib.el (diary-name-pattern):
7525 Update for changed nature of abbrev arrays.
7526 (diary-mark-entries-1): Update calendar-make-alist calls.
7527 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7528 * calendar/cal-html.el (cal-html-day-abbrev-array):
7529 Simply inherit from calendar-day-abbrev-array.
7530
1d99a745
SM
75312011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * progmodes/grep.el (grep-mode): Disable default
7534 compilation-directory-matcher setting (bug#8684).
7535
7c1d9aa0
MA
75362011-05-17 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7539 instead of "head" and "tail". There were problems with SunOS 5.9,
7540 and it performs better.
7541
3952e9d8
GM
75422011-05-17 Glenn Morris <rgm@gnu.org>
7543
2dd12e7f
GM
7544 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7545
e4157b9c
GM
7546 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7547 Replace obsolete function.
7548
8e249bbd
GM
7549 * shell.el (pcomplete-parse-arguments-function): Declare.
7550
3952e9d8
GM
7551 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7552 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7553 (appt-check): Doc fixes.
7554 (appt-disp-window-function, appt-delete-window-function):
7555 Remove needless special case in custom :type.
7556 (appt-display-count): Default to 0, not nil.
7557 (appt-check): Reset appt-display-count to 0, not nil.
7558
c71a0d48 75592011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7560
c71a0d48
GM
7561 * progmodes/python.el (python-font-lock-keywords):
7562 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7563
31d55be9
SM
75642011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7567
3bfacb2f
KR
75682011-05-16 Kevin Ryde <user42@zip.com.au>
7569
7570 * info-look.el (makefile-automake-mode): New setups, looking in
7571 automake manual, then makefile-mode.
7572 (makefile-mode): Remove automake manual, have it just in
7573 makefile-automake-mode since there's various things different or
7574 not relevant to plain make.
7575 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7576 believe a hypothetical automake-mode would go to makefile-mode,
7577 not the other way around.
7578
c8e83751
CY
75792011-05-15 Chong Yidong <cyd@stupidchicken.com>
7580
5e9e35cd
CY
7581 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7582 hunk-end tags (Bug#8672).
7583
c8e83751
CY
7584 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7585 vc-annotate-show-diff-revision-at-line (Bug#8671).
7586
50b23e5a
GM
75872011-05-14 Glenn Morris <rgm@gnu.org>
7588
7210a739
GM
7589 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7590 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7591 (change-log-font-lock-keywords): Also handle multiple author lines
7592 with leading tabs. (Bug#8644)
7210a739 7593
4691905a
GM
7594 * calendar/appt.el (appt-check): Rename some local variables.
7595 Some simplification/reordering.
7596
50b23e5a
GM
7597 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7598 (feedmail-sendmail-f-doesnt-sell-me-out)
7599 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7600 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7601 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7602 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7603 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7604 (feedmail-binmail-gnulinuxish-template):
7605 Rename from feedmail-binmail-linuxish-template.
7606 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7607 Use insert-buffer-substring.
7608
215cda7c
BC
76092011-05-14 Bill Carpenter <bill@carpenter.org>
7610
7611 * mail/feedmail.el (feedmail-patch-level): Increase.
7612 (feedmail-debug): New custom group.
7613 (feedmail-confirm-outgoing-timeout)
7614 (feedmail-sendmail-f-doesnt-sell-me-out)
7615 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7616 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7617 (feedmail-sender-line, feedmail-from-line)
7618 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7619 (feedmail-spray-this-address)
215cda7c
BC
7620 (feedmail-spray-address-fiddle-plex-list)
7621 (feedmail-queue-use-send-time-for-date)
7622 (feedmail-queue-use-send-time-for-message-id)
7623 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7624 (feedmail-buffer-eating-function):
7625 Doc fixes.
7626 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7627 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7628 (feedmail-message-action-scroll-down): New functions.
7629 (feedmail-queue-directory, feedmail-queue-draft-directory):
7630 Use expand-file-name.
7631 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7632 Remove C-v help entry.
7633 (feedmail-queue-buffer-file-name): New variable.
7634 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7635 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7636 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7637 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7638 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7639 (feedmail-message-action-toggle-spray)
7640 (feedmail-run-the-queue-no-prompts)
7641 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7642 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7643 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7644 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7645 (feedmail-envelope-deducer, feedmail-fiddle-from)
7646 (feedmail-fiddle-sender, feedmail-default-date-generator)
7647 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7648 (feedmail-fiddle-spray-address)
7649 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7650 (feedmail-fiddle-list-of-fiddle-plexes)
7651 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7652 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7653 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7654 Change default. Doc fix.
7655 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7656 (feedmail-binmail-linuxish-template): New constant.
7657 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7658 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7659 (feedmail-send-it): Add debug call.
7660 Use feedmail-queue-buffer-file-name, and
7661 feedmail-send-it-immediately-wrapper.
7662 (feedmail-message-action-send): Add debug call.
7663 Use feedmail-send-it-immediately-wrapper.
7664 (feedmail-queue-express-to-queue): Add debug call.
7665 Run feedmail-queue-express-hook.
7666 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7667 (feedmail-message-action-help-blat):
7668 Rename from feedmail-queue-send-edit-prompt-help-first.
7669 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7670 Check line-endings. Handle errors better.
7671 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7672 Doc fix. Add debug call.
7673 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7674 Use feedmail-queue-send-edit-prompt-inner.
7675 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7676 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7677 from feedmail-queue-send-edit-prompt.
7678 (feedmail-queue-send-edit-prompt-help)
7679 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7680 (feedmail-tidy-up-slug): Add debug call.
7681 Respect feedmail-queue-slug-suspect-regexp.
7682 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7683 (feedmail-dump-message-to-queue): Add debug call.
7684 Expand queue-directory.
7685 (feedmail-dump-message-to-queue): Change message slightly.
7686 Use feedmail-say-chatter.
7687 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7688 (feedmail-send-it-immediately-wrapper): New function.
7689 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7690 Insert empty string rather than newline. Handle full-frame case.
7691 Use catch/throw. Use feedmail-say-chatter.
7692 (feedmail-fiddle-from): Try mail-host-address.
7693 (feedmail-default-message-id-generator): Doc fix.
7694 Bind system-time-locale. Handle missing end.
7695 (feedmail-fiddle-x-mailer): Add debug call.
7696 Handle feedmail-x-mailer-line being nil.
7697 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7698 Add debug call. Use buffer-substring-no-properties.
7699 (feedmail-say-debug, feedmail-say-chatter): New functions.
7700 (feedmail-find-eoh): Give an explicit error.
7701
42c7e61e
UJ
77022011-05-13 Ulf Jasper <ulf.jasper@web.de>
7703
c2571358 7704 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7705 family from helvetica to sans.
c2571358 7706 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7707 etc/images/newsticker.
7708
c2571358 7709 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7710 family from helvetica to sans.
7711
7712 * net/newst-plainview.el (newsticker-new-item-face)
7713 (newsticker-old-item-face, newsticker-immortal-item-face)
7714 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7715 (newsticker-statistics-face): Change default family from
42c7e61e 7716 helvetica to sans.
c2571358 7717 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7718 etc/images/newsticker.
7719
7720 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7721 (newsticker--process-auto-mark-filter-match): : Tell user about
7722 auto-marking.
7723
8497a297
DV
77242011-05-13 Didier Verna <didier@xemacs.org>
7725
7726 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7727 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7728 TODO entries.
8497a297
DV
7729 (lisp-lambda-list-keyword-parameter-indentation)
7730 (lisp-lambda-list-keyword-parameter-alignment)
7731 (lisp-lambda-list-keyword-alignment): New customizable user options.
7732 (lisp-indent-defun-method): Improve docstring.
7733 (extended-loop-p): Fix comment.
7734 (lisp-indent-lambda-list-keywords-regexp): New variable.
7735 (lisp-indent-lambda-list): New function.
7736 (lisp-indent-259): Use it.
7737 (lisp-indent-defmethod): Support for more than one
7738 method qualifier and properly indent methods lambda-lists.
7739 (defgeneric): Provide a missing common-lisp-indent-function property.
7740
f278f87f
SM
77412011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7744 bounds for the empty string (bug#8667).
7745
5233edd7
GM
77462011-05-13 Glenn Morris <rgm@gnu.org>
7747
5237a44f
GM
7748 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7749
8340026c 7750 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7751 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7752
5233edd7 7753 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7754 (appt-time-msg-list): Doc fix.
a5464014 7755 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7756
92d10796
AS
77572011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7758
7759 * progmodes/ld-script.el (ld-script-keywords)
7760 (ld-script-builtins): Update keywords list.
7761
914a0ae1
SM
77622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7763
c89be45f
SM
7764 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7765
914a0ae1
SM
7766 * shell.el (shell-completion-vars): New function.
7767 (shell-mode):
7768 * simple.el (read-shell-command): Use it.
7769 (blink-matching-open): No need for " [...]" in minibuffer-message.
7770
98dc3df3
GM
77712011-05-12 Glenn Morris <rgm@gnu.org>
7772
7773 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7774 (appt-check): Simplify.
7775
d2fc7e3d 77762011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7777
4d61f28d 7778 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7779 literal "/dev/null".
7780
d2fc7e3d 77812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7782
7783 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7784 Fix typo.
7785
d2fc7e3d 77862011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7787
3f254caa
SM
7788 * progmodes/which-func.el (which-function):
7789 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7790 which might not be defined (Bug#8260).
7791
d45885f7
GM
77922011-05-12 Glenn Morris <rgm@gnu.org>
7793
7794 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7795 Let byte-compile-initial-macro-environment always take precedence.
7796
488086f4
SM
77972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * net/rcirc.el: Add support for SSL/TLS connections.
7800 (rcirc-server-alist): New field `encryption'.
7801 (rcirc): Check `encryption' settings.
7802 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7803 Merge make-local-variable into `set'.
7804 (rcirc--connection-open-p): New function.
7805 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7806 the process is not a network process (e.g. running gnutls-cli).
7807 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7808 Make rcirc-(en|de)code-coding-system local here.
7809 (rcirc-mode): Merge make-local-variable into `set'.
7810 (rcirc-parent-buffer): Make permanent buffer-local.
7811 (rcirc-multiline-minor-mode): Don't do it here.
7812 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7813 there's no server buffer.
7814
7d3b9d44
GM
78152011-05-11 Glenn Morris <rgm@gnu.org>
7816
f64049c6
GM
7817 * newcomment.el (comment-kill): Prefix "unused" local.
7818
93c9df73
GM
7819 * term/w32console.el (get-screen-color): Declare.
7820
7d3b9d44
GM
7821 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7822 Handle symbol elements of byte-compile-initial-macro-environment.
7823
9e2dd53f
LL
78242011-05-10 Leo Liu <sdl.web@gmail.com>
7825
488086f4
SM
7826 * bookmark.el (bookmark-bmenu-mode-map):
7827 Bind bookmark-bmenu-search to `/'.
8b340240 7828
9e2dd53f 7829 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7830 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7831 (Footnote-unicode): New function.
7832 (footnote-style-alist): Add unicode style to the list.
7833 (footnote-style): Doc fix.
9e2dd53f 7834
79b70037
GM
78352011-05-10 Jim Meyering <meyering@redhat.com>
7836
7837 Fix doubled-word typos.
7838 * international/quail.el (quail-insert-kbd-layout): and and -> and
7839 * kermit.el: and and -> and
7840 * net/ldap.el (ldap-search-internal): to to -> to
7841 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7842 * progmodes/js.el (js-mode): and and -> and
7843 * textmodes/artist.el (artist-move-to-xy): at at -> at
7844 (artist-draw-region-trim-line-endings): if if -> if
7845 And Safetyc -> Safety.
7846 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7847
b8f82dc1 78482011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7849 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7850
7851 * files.el (hack-one-local-variable-eval-safep):
7852 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7853
4f99f44b
GM
78542011-05-10 Glenn Morris <rgm@gnu.org>
7855
7856 * calendar/diary-lib.el (diary-list-entries-hook)
7857 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7858 (diary-nongregorian-marking-hook, diary-list-entries)
7859 (diary-include-other-diary-files, diary-mark-entries)
7860 (diary-mark-included-diary-files): Doc fixes.
7861
84f29e6b
JB
78622011-05-09 Juanma Barranquero <lekktu@gmail.com>
7863
7864 * misc.el: Require tabulated-list.el during compilation.
7865
9bedd73a
CY
78662011-05-09 Chong Yidong <cyd@stupidchicken.com>
7867
488086f4
SM
7868 * progmodes/compile.el (compilation-start):
7869 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7870 (compilation-filter-hook): Doc fix.
7871
797c735c
DD
78722011-05-09 Deniz Dogan <deniz@dogan.se>
7873
7874 * wdired.el: Remove outdated installation comment. Fix usage
7875 comment.
7876
5f4b1dfe
JB
78772011-05-09 Juanma Barranquero <lekktu@gmail.com>
7878
7879 * misc.el: Implement new command `list-dynamic-libraries'.
7880 (list-dynamic-libraries--loaded-only-p): New variable.
7881 (list-dynamic-libraries--refresh): New function.
7882 (list-dynamic-libraries): New command.
7883
4c44026c
CY
78842011-05-09 Chong Yidong <cyd@stupidchicken.com>
7885
488086f4
SM
7886 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7887 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7888 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7889 higher priority to avoid clobbering by gnu.
7890
027f966d
CY
78912011-05-08 Chong Yidong <cyd@stupidchicken.com>
7892
7893 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7894 if the face has existing theme settings (Bug#8454).
7895
085f5d7d
CY
78962011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7897
488086f4
SM
7898 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7899 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7900
2a86a00c
RS
7901 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7902 special file names `.' and `..' (Bug#8259).
7903
d9c54a06
CY
79042011-05-08 Chong Yidong <cyd@stupidchicken.com>
7905
488086f4
SM
7906 * progmodes/grep.el (grep-mode-font-lock-keywords):
7907 Remove buffer-changing entries.
d9c54a06
CY
7908 (grep-filter): New function.
7909 (grep-mode): Add it to compilation-filter-hook.
7910
7911 * progmodes/compile.el (compilation-filter-hook)
7912 (compilation-filter-start): New defvars.
7913 (compilation-filter): Call compilation-filter-hook prior to
7914 updating the process mark.
7915
c4662635
SM
79162011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7919
b0512a1d
EZ
79202011-05-07 Eli Zaretskii <eliz@gnu.org>
7921
605c9376
EZ
7922 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7923 mailclient-send-it even if window-system is nil. (Bug#8595)
7924
c4662635
SM
7925 * term/w32console.el (terminal-init-w32console):
7926 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7927 background-mode. (Bug#8597)
7928
d1dc2cc2
SM
79292011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7932 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7933 New functions.
7934 (defgeneric, eieio--defmethod): Use them.
7935 (eieio-defgeneric): Remove.
7936 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7937
915d1300
GM
79382011-05-07 Glenn Morris <rgm@gnu.org>
7939
a3961c3e
GM
7940 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7941 Use let rather than let*.
7942 (timeclock-find-discrep): Remove unused local.
7943
314347b9
GM
7944 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7945
915d1300
GM
7946 * calendar/appt.el (appt-time-msg-list): Doc fix.
7947
275b59b0
NF
79482011-05-06 Noah Friedman <friedman@splode.com>
7949
7950 * apropos.el (apropos-print-doc): Only use
7951 emacs-lisp-docstring-fill-column when it is bound to an integer,
7952 per that variable's documentation.
7953
6c19f744
SM
79542011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7957 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7958
60f884b2
GM
79592011-05-06 Glenn Morris <rgm@gnu.org>
7960
5006e634
GM
7961 * calendar/appt.el (appt-message-warning-time): Doc fix.
7962 (appt-warning-time-regexp): New option.
7963 (appt-make-list): Respect appt-message-warning-time.
7964
548d0a63
GM
7965 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7966 New options.
7967 (diary-add-to-list): Strip comments from the displayed string.
7968 (diary-mode): Set comment-start and comment-end.
7969
60f884b2
GM
7970 * vc/diff-mode.el (smerge-refine-subst): Declare.
7971 (diff-refine-hunk): Don't require smerge-mode when compiling.
7972
989681bb
JB
79732011-05-06 Juanma Barranquero <lekktu@gmail.com>
7974
7975 * simple.el (list-processes): Return nil as the docstring says.
7976
a6bc05e1
MA
79772011-05-05 Michael Albinus <michael.albinus@gmx.de>
7978
7979 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7980 to "".
7981 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7982 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7983 determining of binary transfer. (Bug#7383)
7984
23c22e9a
MA
79852011-05-05 Michael Albinus <michael.albinus@gmx.de>
7986
c4662635
SM
7987 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7988 Fix port computation bug. (Bug#8618)
23c22e9a 7989
0bff894f
GM
79902011-05-05 Glenn Morris <rgm@gnu.org>
7991
b8296902
GM
7992 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7993
1f522ce8
GM
7994 * simple.el (shell-dynamic-complete-functions)
7995 (comint-dynamic-complete-functions): Declare.
7996
cf5bee67
GM
7997 * net/network-stream.el (gnutls-negotiate):
7998 * simple.el (tabulated-list-print): Fix declarations.
7999
8000 * progmodes/gud.el (syntax-symbol, syntax-point):
8001 Remove unnecessary and incorrect declarations.
8002
0bff894f
GM
8003 * emacs-lisp/check-declare.el (check-declare-scan):
8004 Handle byte-compile-initial-macro-environment in bytecomp.el
8005
9869b3ae
SM
80062011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 Fix earlier half-done eieio-defmethod change (bug#8338).
8009 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8010 Streamline and change calling convention.
8011 (defmethod): Adjust accordingly and simplify.
8012 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8013 new eieio--defmethod.
8014 (slot-boundp): Minor CSE simplification.
8015
9c1d5ac5
MZ
80162011-05-05 Milan Zamazal <pdm@zamazal.org>
8017
8018 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8019 (glasses-make-readable): Use glasses-separate-capital-groups.
8020
455c834e
JB
80212011-05-05 Juanma Barranquero <lekktu@gmail.com>
8022
8023 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8024 (warning-series): Doc fix.
8025 (display-warning): Don't try to create the buffer if we just found it.
8026
9ed7c8cb
CY
80272011-05-04 Chong Yidong <cyd@stupidchicken.com>
8028
8029 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8030 (autoload-find-generated-file): New function.
8031 (generate-file-autoloads): Bind generated-autoload-file to
8032 buffer-file-name.
9869b3ae
SM
8033 (update-file-autoloads, update-directory-autoloads):
8034 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8035 output file (Bug#7989).
8036 (batch-update-autoloads): Doc fix.
8037
0898ca10
JB
80382011-05-04 Juanma Barranquero <lekktu@gmail.com>
8039
8040 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8041
31dfb76c
GM
80422011-05-04 Glenn Morris <rgm@gnu.org>
8043
f330b642
GM
8044 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8045 function, so it follows changes in calendar-date-style.
8046 (diary-fancy-date-matcher): New function.
8047 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8048 (diary-fancy-font-lock-fontify-region-function):
8049 Use diary-fancy-date-pattern as a function.
8050
31dfb76c
GM
8051 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8052 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8053
48e79d6a
TZ
80542011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8055
8056 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8057 instead of positional arguments. Allow :keylist and :crlfiles
8058 arguments.
8059 (open-gnutls-stream): Call it.
8060
8061 * net/network-stream.el (network-stream-open-starttls): Adjust to
8062 call `gnutls-negotiate' with :process and :hostname arguments.
8063
dd5a5ee0
SM
80642011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8065
ef80fc09
SM
8066 * minibuffer.el (completion--message): New function.
8067 (completion--do-completion, minibuffer-complete)
8068 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8069 (completion--do-completion): Don't ignore completion-auto-help when in
8070 icomplete-mode.
8071
dd5a5ee0
SM
8072 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8073 internal encoding (e.g. tibetan zero is not whitespace).
8074 (global-whitespace-mode): Prefer save-current-buffer.
8075 (whitespace-trailing-regexp): Remove useless save-match-data.
8076 (whitespace-empty-at-bob-regexp): Minor simplification.
8077
b7d22a83
CY
80782011-05-03 Chong Yidong <cyd@stupidchicken.com>
8079
8080 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8081
5192af46
AM
80822011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8083
8084 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8085 Use `concat' to create string for insertion.
5192af46 8086
5767d190
SM
80872011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8090 Avoid open-line which runs post-self-insert-hook.
8091 (bibtex-fill-entry): Remove unused `end' var.
8092
bf242939
AM
80932011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8094
5767d190
SM
8095 * textmodes/ispell.el (ispell-add-per-file-word-list):
8096 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8097
25666126
LL
80982011-05-03 Leo Liu <sdl.web@gmail.com>
8099
8100 * isearch.el (isearch-yank-pop): New command.
5767d190 8101 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8102 (isearch-forward): Mention it.
8103
52d3c2d0
SM
81042011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8105
1bcace58
SM
8106 * simple.el (minibuffer-complete-shell-command): Remove.
8107 (minibuffer-local-shell-command-map): Use completion-at-point.
8108 (read-shell-command): Setup completion vars here instead.
8109 (read-expression-map): Bind TAB to symbol completion.
8110
52d3c2d0
SM
8111 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8112 error directly rather via storing it into `results'.
8113
35813471
LL
81142011-05-02 Leo Liu <sdl.web@gmail.com>
8115
8116 * vc/diff.el: Fix description.
8117
e793a940
LMI
81182011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8119
8120 * server.el (server-eval-at): New function.
8121
8de66e05
LMI
81222011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8123
8124 * net/network-stream.el (open-network-stream): Take a :nowait
8125 parameter and pass it on to `make-network-process'.
8126 (network-stream-open-plain): Ditto.
8127
dcb79f20
AS
81282011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8129
8130 * faces.el (face-spec-set-match-display): Don't match toolkit
8131 options on terminal frames.
8132
14a7fbd8
SM
81332011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8134
7eabc1be
SM
8135 * progmodes/pascal.el: Use lexical binding.
8136 (pascal-mode-map): Remove author preferences.
8137
14a7fbd8
SM
8138 * pcomplete.el (pcomplete-std-complete): Don't abuse
8139 completion-at-point.
8140
50f84510
JB
81412011-04-28 Juanma Barranquero <lekktu@gmail.com>
8142
6e087a44
JB
8143 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8144 removing code that has been dead since 1991 or so.
8145
50f84510
JB
8146 * startup.el (command-line): When warning about "_emacs", use a
8147 delayed warning to allow the user to filter it out.
8148
0ba690bd
DD
81492011-04-28 Deniz Dogan <deniz@dogan.se>
8150
8151 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8152 user has not joined.
8153
08abfaad
SM
81542011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8157 aren't any completions at point.
8158
638f053a
JB
81592011-04-28 Juanma Barranquero <lekktu@gmail.com>
8160
8161 * subr.el (display-delayed-warnings): New function.
8162 (delayed-warnings-hook): New variable.
8163
8fff8daa
SM
81642011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8165
08abfaad
SM
8166 * minibuffer.el (completion-at-point, completion-help-at-point):
8167 Don't presume that a given completion-at-point-function will always
8168 use the same calling convention.
8169
8fff8daa
SM
8170 * pcomplete.el (pcomplete-completions-at-point):
8171 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8172 pcomplete-seen is non-nil.
8173 (pcomplete-comint-setup): Also recognize the new comint/shell
8174 completion functions.
8175 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8176 pcomplete-seen is non-nil.
8177
841a1577 81782011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8179
841a1577 8180 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8181 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8182 the first character in the entry. This allows for code to add its
211ec907
UJ
8183 own uid to the entry.
8184 (icalendar--convert-float-to-ical): Add export of
8185 `diary-float'-entries save for those with the optional DAY
8186 argument.
8187
2a782793
DC
81882011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8189
8190 * subr.el (shell-quote-argument): Use alternate escaping strategy
8191 when we spot a variable reference in a string.
8192
0438ce91
DC
81932011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8194
8195 * cus-start.el (all): Define customization for debug-on-event.
8196
841a1577 81972011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8198
8199 * subr.el (shell-quote-argument): Escape correctly under Windows.
8200
d090ed6c
SM
82012011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8204
bfd31217
MA
82052011-04-25 Michael Albinus <michael.albinus@gmx.de>
8206
d090ed6c
SM
8207 * net/tramp.el (tramp-process-actions): Add POS argument.
8208 Delete region between POS and (pos).
bfd31217 8209
d090ed6c
SM
8210 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8211 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8212 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8213
8214 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8215 position in `tramp-process-actions' call.
8216
8217 * net/trampver.el: Update release number.
8218
e92f3bd3
SM
82192011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8220
850256b5
SM
8221 * custom.el (defcustom): Obey lexical-binding.
8222
e92f3bd3
SM
8223 Fix octave-inf completion problems reported by Alexander Klimov.
8224 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8225 Inherit from octave-mode-syntax-table.
8226 (inferior-octave-mode): Set info-lookup-mode.
8227 (inferior-octave-completion-at-point): New function.
8228 (inferior-octave-complete): Use it and completion-in-region.
8229 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8230 comint-filename-completion.
8231 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8232 symbol elements which shouldn't be word elements.
8233 (octave-font-lock-keywords, octave-beginning-of-defun)
8234 (octave-function-header-regexp): Adjust regexps accordingly.
8235 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8236
cd22b309
JB
82372011-04-25 Juanma Barranquero <lekktu@gmail.com>
8238
8239 * net/gnutls.el (gnutls-errorp): Declare before first use.
8240
8b492194
TZ
82412011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8242
8243 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8244 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8245 default trustfile exists before going to use it. Add missing
5a5fa834 8246 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8247 Reported by Claudio Bley <claudio.bley@gmail.com>.
8248 (open-gnutls-stream): Add usage example.
8249
8250 * net/network-stream.el (network-stream-open-starttls): Give host
8251 parameter to `gnutls-negotiate'.
8252 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8253 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8254
841a1577 82552011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8256
cd22b309
JB
8257 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8258 Use correct match group (bug#8438).
05842630 8259
3ba7869c
CY
82602011-04-24 Chong Yidong <cyd@stupidchicken.com>
8261
512e3ae1
CY
8262 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8263 (package-menu--generate): New arg specifying packages to show.
8264 (package-menu-refresh, package-menu-execute, list-packages):
8265 Callers changed.
8266 (package-show-package-list): New function, replacing deleted
8267 package--list-packages (renamed because it is non-internal).
8268
8269 * finder.el (finder-list-matches): Use package-show-package-list
8270 instead of deleted package--list-packages.
8271
e92f3bd3
SM
8272 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8273 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8274 (vc-annotate-mode-map): Bind it to RET.
8275
7031be6d
UR
82762011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8277
8278 * progmodes/etags.el (next-file): Don't use set-buffer to change
8279 buffers (Bug#8478).
8280
4ef177aa
CY
82812011-04-24 Chong Yidong <cyd@stupidchicken.com>
8282
c8d173eb
CY
8283 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8284
4ef177aa
CY
8285 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8286 (apropos-accumulator): Doc fix.
8287 (apropos-function, apropos-macro, apropos-command)
8288 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8289 (apropos-plist): Add face property.
8290 (apropos-symbols-internal): Fix indentation.
8291 (apropos-print): Simplify help, and recognize apropos-multi-type.
8292 (apropos-print-doc): Use button-type-get to extract the button's
8293 face property. Fill docstring (Bug#8352).
8294
4ffd0d6b 82952011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8296
8297 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8298
c6c32125 8299 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8300 (mpuz-mode-map): Use mapc.
c6c32125
JB
8301 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8302 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8303 Fix typos in docstrings.
8304
58d468b4
JB
8305 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8306 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8307
6470c3c6
JB
8308 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8309
4ffd0d6b 83102011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8311
8312 * minibuffer.el (completion--do-completion): Avoid the "Next char
8313 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8314
3ad8bad0
CY
8315 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8316 mouse-2 into unread-command-events, it is interpreted correctly.
8317
71d73c9c 8318 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8319 (image-toggle-display): Doc fix.
71d73c9c 8320
841a1577 83212011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8322
4ffd0d6b
GM
8323 * textmodes/page.el (what-page): Use line-number-at-pos to
8324 calculate line number (Bug#6825).
6e1dbaa9 8325
c2fb1b60
JB
83262011-04-22 Juanma Barranquero <lekktu@gmail.com>
8327
8328 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8329 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8330 Pass argument NO-DEFAULT to `find-tag-interactive'.
8331
e02f48d7
JB
83322011-04-22 Juanma Barranquero <lekktu@gmail.com>
8333
8334 Lexical-binding cleanup.
8335
8336 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8337 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8338 * progmodes/ada-prj.el (ada-prj-initialize-values)
8339 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8340 (ada-prj-show-value):
8341 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8342 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8343 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8344 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8345 * progmodes/bug-reference.el (bug-reference-push-button):
8346 * progmodes/fortran.el (fortran-line-length):
8347 * progmodes/glasses.el (glasses-change):
8348 * progmodes/octave-mod.el (octave-fill-paragraph):
8349 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8350 (python-pdbtrack-grub-for-buffer, python-sentinel):
8351 * progmodes/sql.el (sql-save-connection):
8352 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8353 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8354 Mark unused parameters.
8355
8356 * progmodes/compile.el (compilation--flush-directory-cache)
8357 (compilation--flush-parse, compile-internal): Mark unused parameters.
8358 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8359 (compilation-next-error-function): Remove unused variable `timestamp'.
8360
8361 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8362 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8363
8364 * progmodes/dcl-mode.el (dcl-end-of-command):
8365 Remove unused variable `start'.
8366 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8367 (dcl-option-value-basic, dcl-option-value-offset)
8368 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8369 Mark unused parameters.
8370 (dcl-save-local-variable): Remove unused variable `val'.
8371 (mode): Declare.
8372
8373 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8374 Mark unused parameters.
8375 (delphi-ignore-changes): Move before first use.
8376 (delphi-charset-token-at): Remove unused variable `start'.
8377 (delphi-else-start): Remove unused variable `if-count'.
8378 (delphi-comment-block-start, delphi-comment-block-end):
8379 Remove unused variable `kind'.
8380 (delphi-indent-line): Remove unused variable `new-point'.
8381
8382 * progmodes/ebrowse.el (ebrowse-files-list)
8383 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8384 Mark unused parameters. Don't quote `lambda'.
8385 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8386 Don't quote `lambda'.
8387 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8388 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8389 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8390 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8391 Use `ignore-errors'.
8392 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8393 (ebrowse-view/find-file-and-search-pattern)
8394 (ebrowse-view/find-member-declaration/definition):
8395 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8396 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8397 Rename parameter PREFIX-ARG to PREFIX.
8398 (ebrowse-tags-read-name): Remove unused variables `start' and
8399 `member-info'.
8400 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8401 to `tags-file'.
8402
8403 * progmodes/etags.el (local-find-tag-hook): Declare.
8404 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8405 Mark unused parameters.
8406
8407 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8408 (executable-interpret): Mark unused parameter.
8409
8410 * progmodes/flymake.el (flymake-process-sentinel)
8411 (flymake-after-change-function)
8412 (flymake-create-temp-with-folder-structure)
8413 (flymake-get-include-dirs-dot): Mark unused parameters.
8414 (flymake-safe-delete-directory): Remove unused variable `err'.
8415
8416 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8417 (speedbar-timer-fn, speedbar-line-text)
8418 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8419 (speedbar-center-buffer-smartly): Declare functions.
8420 (gdb-find-watch-expression): Remove unused variable `array'.
8421 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8422 (gdb-starting): Mark unused parameters.
8423 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8424 (gdb-table-string): Remove unused variable `res'.
8425 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8426 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8427 (gdb-display-buffer): Remove unused variable `cur-size'.
8428
8429 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8430 allow lexical-binding compilation.
8431 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8432 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8433 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8434 Mark unused parameters.
8435 (gud-gdb-marker-filter): Remove unused variable `match'.
8436 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8437 lambda expressions and funcall them, instead of using `fset'.
8438
8439 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8440 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8441
8442 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8443 variable `header-beg'; use `let'.
8444
8445 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8446 `restart', `last-sexp' and `at-do'.
8447
8448 * progmodes/js.el (js--debug): Mark unused parameter.
8449 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8450 (js--splice-into-items): Remove unused variable `item'.
8451 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8452
8453 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8454 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8455 (makefile-complete): Remove unused variable `try'.
8456 (makefile-fill-paragraph, makefile-match-function-end):
8457 Mark unused parameters.
8458
8459 * progmodes/octave-inf.el (inferior-octave-complete):
8460 Remove unused variable `proc'.
8461 (inferior-octave-output-digest): Mark unused parameter.
8462
8463 * progmodes/perl-mode.el (perl-calculate-indent):
8464 Remove unused variable `err'.
8465
8466 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8467 (prolog-indent-line): Mark unused parameters.
8468 (prolog-indent-line): Remove unused variable `beg'.
8469
8470 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8471 (reporter-dont-compact-list): Declare.
8472
8473 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8474 Remove unused variable `char'.
8475 (sh-debug): Mark unused parameter.
8476 (sh-get-indent-info): Remove unused variable `start'.
8477 (sh-calculate-indent): Remove unused variable `var'.
8478
8479 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8480 (simula-electric-keyword): Remove unused variable `null'.
8481 (simula-search-backward, simula-search-forward): Remove unused
8482 variables `begin' and `end'.
8483
8484 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8485 Remove unused variable `pos'.
8486 (vera-electric-tab, vera-comment-uncomment-region):
8487 Mark unused parameters.
8488 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8489
7ede3b65
CY
84902011-04-22 Chong Yidong <cyd@stupidchicken.com>
8491
8492 * emacs-lisp/package.el (package--builtins, package-alist)
8493 (package-load-descriptor, package-built-in-p, package-activate)
8494 (define-package, package-installed-p)
8495 (package-compute-transaction, package-buffer-info)
8496 (package--push): Doc fix. Distinguish more clearly between
8497 version strings and version lists.
8498
121656e9
JB
84992011-04-21 Juanma Barranquero <lekktu@gmail.com>
8500
8501 Lexical-binding cleanup.
8502
8503 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8504 (5x5-make-mutate-best):
8505 * play/fortune.el (fortune-in-buffer):
8506 * play/gomoku.el (gomoku-init-display):
8507 * play/solitaire.el (solitaire, solitaire-do-check):
8508 * play/tetris.el (tetris-default-update-speed-function):
8509 Mark unused parameters.
8510
8511 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8512 (bubbles--shift): Remove unused variable `char-org'.
8513 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8514 (bubbles--show-images): Remove unused variable `char'.
8515
8516 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8517 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8518 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8519 (decipher-analyze-buffer): Use ?\s.
8520 (decipher-make-checkpoint): Remove unused variable `mapping'.
8521
8522 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8523
8524 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8525 Remove unused variable `result'; use `let'.
8526
8527 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8528 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8529 (gametree-children-shown-p, gametree-compute-reduced-score):
8530 Use `ignore-errors'.
8531
8532 * play/handwrite.el (ps-lpr-switches): Declare.
8533 (handwrite): Remove unused variables `pmin' and `lastp'.
8534
8535 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8536
8537 * play/landmark.el (landmark-init-display)
8538 (landmark-update-naught-weights): Mark unused parameters.
8539 (landmark-y): Remove unused variable `noise'. Simplify.
8540 (landmark-human-plays): Remove unused variable `score'.
8541
8542 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8543 (mpuz-try-proposal): Remove unused variable `game'.
8544
8545 * play/zone.el (life-patterns): Declare.
8546
80f499c7
JB
85472011-04-20 Juanma Barranquero <lekktu@gmail.com>
8548
8549 * vc/vc.el (ediff-vc-internal): Declare function.
8550
024ff170
SM
85512011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8552
c0a193ea
SM
8553 * shell.el: Use lexical-binding and std completion UI.
8554 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8555 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8556 comint-preoutput-filter-functions rather than on
8557 comint-output-filter-functions.
8558 (shell-command-completion, shell--command-completion-data)
8559 (shell-filename-completion, shell-environment-variable-completion)
8560 (shell-c-a-p-replace-by-expanded-directory): New functions.
8561 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8562 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8563 (shell-dynamic-complete-environment-variable): Use them.
8564 (shell-dynamic-complete-as-environment-variable)
8565 (shell-dynamic-complete-as-command): Remove.
8566 (shell-match-partial-variable): Match past point.
8567 * comint.el: Clean up use of completion-at-point-functions.
8568 (comint-completion-at-point): New function.
8569 (comint-mode): Use it completion-at-point-functions.
8570 (comint-dynamic-complete): Make it obsolete.
8571 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8572 (comint-c-a-p-replace-by-expanded-history): New function.
8573 (comint-dynamic-complete-functions)
8574 (comint-replace-by-expanded-history): Use it.
8575 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8576 termination strings. Try harder to avoid second try-completion.
8577 (completion-in-region-mode-map): Disable bindings that don't work yet.
8578
2dbaa080
SM
8579 * comint.el: Use lexical-binding. Require CL.
8580 (comint-dynamic-complete-functions): Use comint-filename-completion.
8581 (comint-completion-addsuffix): Tweak custom type.
8582 (comint-filename-completion, comint--common-suffix)
8583 (comint--common-quoted-suffix, comint--table-subvert)
8584 (comint--complete-file-name-data): New functions.
8585 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8586 (comint-dynamic-list-filename-completions): Use them.
8587 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8588
2dbaa080
SM
8589 * minibuffer.el (completion-in-region-mode):
8590 Keep completion-in-region-mode--predicate global.
8591 (completion-in-region--postch):
8592 Assume completion-in-region-mode--predicate is not null.
8593
c79a6f38
SM
8594 * progmodes/flymake.el (flymake-start-syntax-check-process):
8595 Obey `dir'. Simplify.
8596
024ff170
SM
8597 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8598 we're in VC after all.
8599
1c6c854e
CS
86002011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8601
8602 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8603 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8604 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8605
bed7f140
SM
86062011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8607
332e62ab
SM
8608 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8609 add sanity check.
8610
bed7f140
SM
8611 * obsolete/erc-hecomplete.el: Make obsolete.
8612 * obsolete/: Standardize obsolescence info in the header.
8613
f195c582
GM
86142011-04-20 Glenn Morris <rgm@gnu.org>
8615
8616 * calendar/solar.el (solar-horizontal-coordinates):
8617 Use the longitude argument rather than `calendar-longitude'.
8618 (solar-date-next-longitude): Remove unused locals.
8619
cb79b8c0
VJL
86202011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8621
8622 * whitespace.el: New version 13.2.1.
8623
86242011-04-20 felix <EmacsWiki> (tiny change)
8625
d8e4b68b 8626 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8627 switching between major modes on a file.
8628
602ea69d
SM
86292011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8632 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8633 multi-line comments as well.
8634
06b60517
JB
86352011-04-19 Juanma Barranquero <lekktu@gmail.com>
8636
8637 Lexical-binding cleanup.
8638
8639 * arc-mode.el (archive-mode-revert):
8640 * cmuscheme.el (scheme-interactively-start-process):
8641 * custom.el (custom-initialize-delay):
8642 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8643 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8644 * emacs-lock.el (emacs-lock-clear-sentinel):
8645 * ezimage.el (defezimage):
8646 * follow.el (follow-avoid-tail-recenter):
8647 * fringe.el (set-fringe-mode-1):
8648 * generic-x.el (bat-generic-mode-compile):
8649 * help-mode.el (help-info-variable, help-do-xref)
8650 (help-mode-revert-buffer):
8651 * help.el (view-emacs-todo):
8652 * iswitchb.el (iswitchb-completion-help):
8653 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8654 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8655 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8656 * locate.el (locate-update):
8657 * longlines.el (longlines-encode-region)
8658 (longlines-after-change-function):
8659 * outline.el (outline-isearch-open-invisible):
8660 * ps-def.el (declare-function, charset-dimension, char-width)
8661 (encode-char):
8662 * ps-mule.el (ps-mule-plot-string):
8663 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8664 (recentf-edit-list-select, recentf-edit-list-validate)
8665 (recentf-open-files-action):
8666 * rect.el (delete-whitespace-rectangle-line)
8667 (rectangle-number-line-callback):
8668 * register.el (window-configuration-to-register)
8669 (frame-configuration-to-register):
8670 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8671 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8672 (xselect-convert-to-targets, xselect-convert-to-delete)
8673 (xselect-convert-to-filename, xselect-convert-to-charpos)
8674 (xselect-convert-to-lineno, xselect-convert-to-colno)
8675 (xselect-convert-to-os, xselect-convert-to-host)
8676 (xselect-convert-to-user, xselect-convert-to-class)
8677 (xselect-convert-to-name, xselect-convert-to-integer)
8678 (xselect-convert-to-atom, xselect-convert-to-identity):
8679 * subr.el (declare, ignore, process-kill-without-query)
8680 (text-clone-maintain):
8681 * terminal.el (te-get-char, te-tic-sentinel):
8682 * tool-bar.el (tool-bar-make-keymap):
8683 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8684 * type-break.el (type-break-mode, type-break-noninteractive-query):
8685 * view.el (View-back-to-mark):
8686 * wid-browse.el (widget-browse-action, widget-browse-widget)
8687 (widget-browse-widgets, widget-browse-sexp):
8688 * widget.el (define-widget-keywords):
8689 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8690 Mark unused parameters.
8691
8692 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8693 (align-areas): Remove unused variable `look'.
8694 (align-region): Remove unused variables `real-end' and `pos-list'.
8695
8696 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8697
8698 * bindings.el (mode-line-modified, mode-line-remote):
8699 Mark unused parameters.
8700 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8701
8702 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8703 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8704
8705 * comint.el (comint-history-isearch-pop-state)
8706 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8707 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8708 (comint-substitute-in-file-name): Doc fix.
8709
8710 * completion.el (cmpl-statistics-block): Mark unused parameter.
8711 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8712 (save-completions-to-file, load-completions-from-file):
8713 Remove unused local variable `e'.
8714
8715 * composite.el (compose-chars): Remove unused variable `len'.
8716 (lgstring-insert-glyph): Remove unused variable `g'.
8717 (compose-glyph-string): Remove unused variables `ascent',
8718 `descent', `lbearing' and `rbearing'.
8719 (compose-glyph-string-relative): Remove unused variables
8720 `lbearing', `rbearing' and `wadjust'.
8721 (compose-gstring-for-graphic): Remove unused variables `header',
8722 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8723 (compose-gstring-for-terminal): Remove unused variables `header'
8724 and `nchars'. Use `let', not `let*'.
8725
8726 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8727 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8728 (Custom-buffer-done, custom-buffer-create-internal)
8729 (custom-browse-visibility-action, custom-browse-group-tag-action)
8730 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8731 (widget-magic-mouse-down-action, custom-toggle-parent)
8732 (custom-add-parent-links, custom-toggle-hide-variable)
8733 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8734 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8735 (custom-face-menu-create, custom-variable-menu-create, get)
8736 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8737 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8738 (customize-apropos): Remove unused variable `tests'.
8739 (custom-group-value-create): Remove unused variable `hidden-p'.
8740 (sort-fold-case): Declare.
8741
8742 * cus-theme.el (custom-reset-standard-faces-list)
8743 (custom-reset-standard-variables-list): Declare.
8744 (customize-create-theme, custom-theme-revert, custom-theme-write)
8745 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8746 Mark unused parameters.
8747
8748 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8749
8750 * delim-col.el (delimit-columns-max): Move defvar before first use.
8751
8752 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8753 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8754
8755 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8756 (auto-insert): Declare.
8757 (desktop-restore-file-buffer): Rename desktop-* parameters;
8758 mark unused ones.
8759 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8760 (desktop-buffer): Rename desktop-* parameters.
8761
8762 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8763 (dframe-reposition-frame-xemacs, dframe-help-echo)
8764 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8765 Mark unused parameters.
8766
8767 * dired-aux.el (backup-extract-version-start, overwrite-query)
8768 (overwrite-backup-query, rename-regexp-query)
8769 (rename-non-directory-query): Declare.
8770 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8771 (dired-add-entry): Remove unused variable `orig-file-name'.
8772 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8773 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8774 `dired-copy-preserve-time' directly.
8775 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8776 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8777
8778 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8779 (dired-virtual-revert, dired-make-relative-symlink):
8780 Mark unused parameters.
8781 (manual-program): Declare.
8782 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8783 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8784 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8785
8786 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8787
8788 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8789
8790 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8791 Declare.
8792
8793 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8794
8795 * electric.el (Electric-command-loop): Rename parameter
8796 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8797
8798 * expand.el (expand-in-literal): Remove unused variable `here'.
8799
8800 * facemenu.el (facemenu-add-new-color):
8801 Remove unused variable `docstring'.
8802
8803 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8804 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8805 (face-attr-construct): Mark unused parameter. Doc fix.
8806 (read-color): Remove unused variable `hex-string'.
8807
8808 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8809 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8810 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8811 (display-buffer-other-frame): Remove unused variable `old-window'.
8812 (kill-buffer-hook): Declare.
8813 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8814 Mark unused parameters.
8815 (after-find-file): Pass 1 to `auto-save-mode', not t.
8816
8817 * files-x.el (auto-insert): Declare.
8818 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8819
8820 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8821 variable `buf'. Mark unused parameter.
06b60517
JB
8822 (find-lisp-insert-directory): Mark unused parameter.
8823
8824 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8825 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8826 (format-common-tail): Remove, unused.
8827 (format-deannotate-region): Remove unused variable `loc'.
8828 (format-annotate-region): Remove unused variable `p'.
8829 (format-annotate-single-property-change): Remove unused variables
8830 `default' and `tail'.
8831
8832 * forms.el (read-file-filter): Declare.
8833 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8834
8835 * frame.el (frame-creation-function-alist): Mark unused parameter.
8836 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8837
8838 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8839 Remove unused parameters.
8840 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8841 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8842
8843 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8844 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8845 (hfy-prepare-tag-map): Mark unused parameters.
8846 (htmlfontify-buffer): Use `called-interactively-p'.
8847
8848 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8849 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8850 (ibuffer-do-occur): Mark unused parameters.
8851 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8852 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8853
8854 * ibuffer.el: Don't quote `lambda'.
8855 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8856 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8857 Mark unused parameters.
8858
8859 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8860 (ido-completing-read): Mark unused parameters.
8861 (ido-copy-current-word): Mark unused parameters;
8862 remove unused variable `name'.
8863 (ido-sort-merged-list): Remove unused parameter `dirs'.
8864
8865 * ielm.el (ielm-input-sender): Mark unused parameter.
8866 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8867 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8868 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8869 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8870 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8871
8872 * image-dired.el (image-dired-display-thumbs): Remove unused
8873 variables `curr-file' and `count'.
8874 (image-dired-remove-tag): Remove unused variable `start'.
8875 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8876 variable `curr-file'
8877 (image-dired-rotate-original): Remove unused variable `temp-file'.
8878 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8879 Remove unused variable `file'.
8880 (image-dired-gallery-generate): Remove unused variable `curr'.
8881 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8882
8883 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8884
8885 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8886
8887 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8888
8889 * isearch.el (minibuffer-history-symbol): Declare.
8890 (isearch-edit-string): Remove unused variable `err'.
8891 (isearch-message-prefix, isearch-message-suffix):
8892 Mark unused parameters.
8893
8894 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8895
8896 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8897
8898 * makesum.el (double-column): Remove unused variable `cnt'.
8899
8900 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8901 (ido-ignore-item-temp-list): Declare.
8902
8903 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8904 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8905 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8906 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8907 `mouse-col-delta'.
8908
8909 * mouse-sel.el (mouse-extend-internal):
8910 Remove unused variable `orig-window-frame'.
8911
8912 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8913 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8914 Move declarations before first use.
8915 (pcomplete-opt): Mark unused parameters; doc fix.
8916
8917 * proced.el (proced-revert): Mark unused parameter.
8918 (proced-send-signal): Remove unused variable `err'.
8919
8920 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8921 Rename parameter PREFIX-ARG to ARG.
8922 (ps-basic-plot-string, ps-basic-plot-whitespace):
8923 Mark unused parameters.
8924
8925 * replace.el (replace-count): Define.
8926 (occur-revert-function): Mark unused parameters.
8927 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8928 (isearch-case-fold-search, isearch-string): Declare.
8929 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8930 bind `case-fold-search'. Remove unused variables `beg' and `end',
8931 and simplify.
8932 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8933 COUNT and bind `replace-count'.
8934 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8935 to COUNT.
8936
8937 * savehist.el (print-readably, print-string-length): Declare.
8938
8939 * shadowfile.el (shadow-expand-cluster-in-file-name):
8940 Remove unused variable `cluster'.
8941 (shadow-copy-file): Remove unused variable `i'.
8942 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8943 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8944 (shadow-define-literal-group, shadow-define-regexp-group)
8945 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8946
8947 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8948 (shell): Use `called-interactively-p'.
8949 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8950
8951 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8952 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8953 (delete-backward-char): Remove unused variable `ocol'.
8954 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8955 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8956 (event-apply-hyper-modifier, event-apply-shift-modifier)
8957 (event-apply-control-modifier, event-apply-meta-modifier):
8958 Mark unused parameters.
8959 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8960 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8961
8962 * speedbar.el (speedbar-ignored-directory-expressions)
8963 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8964 (speedbar-find-file, speedbar-dir-follow)
8965 (speedbar-directory-buttons-follow, speedbar-tag-find)
8966 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8967 (speedbar-buffers-line-directory, speedbar-buffer-click):
8968 Mark unused parameters.
8969 (speedbar-tag-file): Remove unused variable `mode'.
8970 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8971
8972 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8973
8974 * talk.el (talk): Remove unused variable `display'.
8975
8976 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8977 (tar-write-region-annotate): Mark unused parameter.
8978
8979 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8980 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8981 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8982 warning by another.
8983
8984 * time-stamp.el (time-stamp-string-preprocess):
8985 Remove unused variable `require-padding'.
8986
8987 * tree-widget.el (widget-glyph-enable): Declare.
8988 (tree-widget-action): Mark unused parameter.
8989
8990 * w32-fns.el (x-get-selection): Mark unused parameter.
8991 (autoload-make-program, generated-autoload-file): Declare.
8992
8993 * wdired.el (wdired-revert): Mark unused parameters.
8994 (wdired-xcase-word): Remove unused variable `err'.
8995
8996 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8997 (whitespace-help-scroll): Remove unused variable `data-help'.
8998
8999 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9000 (widget-image-insert, widget-after-change, default)
9001 (widget-default-format-handler, widget-default-notify)
9002 (widget-default-prompt-value, widget-info-link-action)
9003 (widget-url-link-action, widget-function-link-action)
9004 (widget-variable-link-action, widget-file-link-action)
9005 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9006 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9007 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9008 (widget-insert-button-action, widget-delete-button-action, visibility)
9009 (widget-documentation-link-action, widget-documentation-string-action)
9010 (widget-const-prompt-value, widget-regexp-match, symbol)
9011 (widget-coding-system-prompt-value)
9012 (widget-key-sequence-value-to-external, sexp)
9013 (widget-sexp-value-to-internal, character, vector, cons)
9014 (widget-choice-prompt-value, widget-boolean-prompt-value)
9015 (widget-color--choose-action): Mark unused parameters.
9016 (widget-item-match-inline, widget-choice-match-inline)
9017 (widget-checklist-match, widget-checklist-match-inline)
9018 (widget-group-match): Rename parameter VALUES to VALS.
9019 (widget-field-value-set): Remove unused variable `size'.
9020 (widget-color-action): Remove unused variables `value' and `start'.
9021
9022 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9023 variable `dir'. Doc fix.
06b60517
JB
9024 (windmove-find-other-window): Don't pass it.
9025
9026 * window.el (count-windows): Mark unused parameter.
9027 (bw-adjust-window): Remove unused variable `err'.
9028
9029 * woman.el (woman-file-name): Remove unused variable `default'.
9030 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9031 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9032 (global-font-lock-mode): Declare.
9033 (woman-decode-region): Mark unused parameter.
9034 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9035
9036 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9037 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9038 (x-dnd-handle-moz-url): Remove unused variable `title'.
9039 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9040
9041 * xml.el (xml-parse-tag, xml-parse-attlist):
9042 Remove unused variable `pos'.
9043
bc4f7f3d
GM
90442011-04-19 Glenn Morris <rgm@gnu.org>
9045
9046 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9047 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9048 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9049 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9050 * calendar/cal-html.el (cal-html-insert-minical):
9051 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9052 (calendar-mark-date-pattern):
9053 Prefix "unused" locals.
9054
9055 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9056 optional argument `style'.
9057
9058 * calendar/appt.el (appt-make-list):
9059 * calendar/cal-china.el (calendar-chinese-date-string):
9060 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9061 (diary-hebrew-yahrzeit):
9062 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9063 * calendar/calendar.el (calendar-generate-window):
9064 * calendar/time-date.el (time-to-days):
9065 Remove unused local variables.
9066
16a43933
CY
90672011-04-18 Chong Yidong <cyd@stupidchicken.com>
9068
9069 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9070 glyphless-char-display table.
9071 (tabulated-list-glyphless-char-display): New var.
9072
7eed1860
SS
90732011-04-18 Sam Steingold <sds@gnu.org>
9074
9075 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9076 to acknowledgments.
9077
4d2d1ccd
GM
90782011-04-17 Glenn Morris <rgm@gnu.org>
9079
9080 * calendar/diary-lib.el (diary-sexp-entry):
9081 * calendar/holidays.el (holiday-sexp):
9082 Set debug-on-error rather than the removed stack-trace-on-error.
9083
239da61d
GM
90842011-04-16 Glenn Morris <rgm@gnu.org>
9085
9086 * progmodes/f90.el: Use lexical-binding.
9087 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9088
8b05752a
SM
90892011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9090
daca8ba5
SM
9091 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9092 (mail-mode): Setup mailalias completion here instead.
9093 * mail/mailalias.el: Use lexical-binding.
9094 (pattern, mailalias-done): Declare dynamic.
9095 (mail-completion-at-point-function): New function, from mail-complete.
9096 (mail-complete): Use it.
9097 (mail-completion-expand): New function.
9098 (mail-get-names): Use it.
9099 (mail-directory, mail-directory-process, mail-directory-stream):
9100 Don't use `pattern' for lexically bound arg.
9101
6f542485
SM
9102 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9103
037e7c3f
SM
9104 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9105 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9106 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9107
8b05752a
SM
9108 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9109 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9110 (byte-interactive-p): Define them again, for use when inlining
9111 old code.
9112
49093f60
JB
91132011-04-15 Juanma Barranquero <lekktu@gmail.com>
9114
9115 * loadup.el: Use `string-to-number', not `string-to-int'.
9116
b5b8e7de
SM
91172011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9120 gud-gdb-complete-command.
9121 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9122 (gud-gdb-completion-at-point): New function.
9123 (gud-gdb-completions): Remove.
9124
f42efeb5
MA
91252011-04-14 Michael Albinus <michael.albinus@gmx.de>
9126
49093f60
JB
9127 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9128 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9129 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9130 whether `executable-find' is bound.
f42efeb5
MA
9131
9132 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9133
e240cc21
SM
91342011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * minibuffer.el (completion-in-region-mode-predicate)
9137 (completion-in-region-mode--predicate): New vars.
9138 (completion-in-region, completion-in-region--postch)
9139 (completion-in-region-mode): Use them.
9140 (completion--capf-wrapper): Also return the hook function.
9141 (completion-at-point, completion-help-at-point):
9142 Adjust and provide a predicate.
c2bd2ab0
SM
9143
9144 Preserve arg names for advice of subr and lexical functions (bug#8457).
9145 * help-fns.el (help-function-arglist): Consolidate the subr and
9146 new-byte-code cases. Add argument `preserve-names' to extract names
9147 from the docstring when needed.
9148 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9149 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9150 (ad-arglist): Use help-function-arglist's new arg.
9151 (ad-definition-type): Use cond.
9152
c183f693
JB
91532011-04-13 Juanma Barranquero <lekktu@gmail.com>
9154
06641a47
JB
9155 * autorevert.el (auto-revert-handler):
9156 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9157 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9158 Don't quote lambda.
9159
c183f693
JB
9160 * image-mode.el (image-transform-set-scale):
9161 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9162
1e3b6001
G
91632011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9164
9165 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9166 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9167 Upgrades via gnutls-cli are too slow to be done opportunistically.
9168
2d6af8dd
JB
91692011-04-12 Juanma Barranquero <lekktu@gmail.com>
9170
9171 * dframe.el (dframe-current-frame): Remove spurious quote.
9172
c0749a51
GM
91732011-04-12 Glenn Morris <rgm@gnu.org>
9174
088d0d61
GM
9175 * calendar/cal-tex.el (cal-tex-end-document):
9176 Try to automatically use latin1 input if needed.
9177
c0749a51
GM
9178 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9179 Don't try to cons a mark onto an empty element.
9180
5c90fde0
LL
91812011-04-11 Leo Liu <sdl.web@gmail.com>
9182
9183 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9184 buffers.
9185 (ido-kill-buffer-at-head): Support killing virtual buffers.
9186
369e974d
CY
91872011-04-10 Chong Yidong <cyd@stupidchicken.com>
9188
9189 * minibuffer.el (completion-show-inline-help): New var.
9190 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9191 (minibuffer-force-complete, minibuffer-complete-word):
9192 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9193
9194 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9195 to avoid interference from inline help (Bug#5849).
9196
37f1c930
LL
91972011-04-10 Leo Liu <sdl.web@gmail.com>
9198
099c39a4
JB
9199 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9200 Fix typo.
37f1c930 9201
a32d4040
CY
92022011-04-09 Chong Yidong <cyd@stupidchicken.com>
9203
9204 * image-mode.el (image-toggle-display-image): Signal an error if
9205 not in Image mode.
9206 (image-transform-mode, image-transform-resize)
9207 (image-transform-set-rotation): Doc fix.
daca8ba5 9208 (image-transform-set-resize): Delete.
a32d4040
CY
9209 (image-transform-set-scale, image-transform-fit-to-height)
9210 (image-transform-fit-to-width): Handle image-toggle-display-image
9211 and image-transform-resize directly.
9212
099c39a4 92132011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9214
9215 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9216 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9217 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9218 (doc-view-mode-map): Add bindings for the new functions.
9219
099c39a4 92202011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9221
4d61f28d 9222 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9223 Fix typo in docstring.
9224
3726838a
EZ
92252011-04-08 Eli Zaretskii <eliz@gnu.org>
9226
04f33f1e
EZ
9227 * files.el (file-size-human-readable): Produce one digit after
9228 decimal, like "ls -lh" does.
9229
9230 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9231 the file size representation.
9232
3726838a
EZ
9233 * simple.el (list-processes): If async subprocesses are not
9234 available, error out with a clear error message.
9235
cbb59342
CY
92362011-04-08 Chong Yidong <cyd@stupidchicken.com>
9237
9238 * help.el (help-form-show): New function, to be called from C.
9239 Put help-form output in a buffer named differently than *Help*.
9240
e3971c44
EZ
92412011-04-08 Eli Zaretskii <eliz@gnu.org>
9242
9243 * files.el (file-size-human-readable): New function.
9244
9245 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9246 computing the representation inline. Don't require `cl'.
9247
12544bbe
GM
92482011-04-08 Glenn Morris <rgm@gnu.org>
9249
a1de6c6a
GM
9250 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9251
3c4671f4
GM
9252 * net/browse-url.el (browse-url-firefox):
9253 Test system-type, not system-configuration.
9254
b605679c
GM
9255 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9256 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9257 Use log-edit-empty-buffer-p. (Bug#7598)
9258
56442f0c
GM
9259 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9260 (rlogin-mode-map): Initialize in the defvar.
9261 (rlogin): Use ignore-errors.
9262
12544bbe
GM
9263 * replace.el (occur-mode-map): Some fixes for menu items.
9264
eb237b0f
AH
92652011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9266
9267 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9268
7d668f2c
CY
92692011-04-06 Chong Yidong <cyd@stupidchicken.com>
9270
e67a13ab
CY
9271 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9272 issuing unused warnings.
9273
9274 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9275 macro directly.
9276
7d668f2c
CY
9277 * simple.el: Lisp reimplement of list-processes. Based on an
9278 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9279 (process-menu-mode): New major mode.
9280 (list-processes--refresh, list-processes):
9281 (process-menu-visit-buffer): New functions.
9282
9283 * files.el (save-buffers-kill-emacs): Don't assume any return
9284 value of list-processes, which is undocumented anyway.
9285
a83ec3c9
CY
92862011-04-06 Chong Yidong <cyd@stupidchicken.com>
9287
9288 * emacs-lisp/tabulated-list.el: New file.
9289
e91a96fe
CY
9290 * emacs-lisp/package.el: Use Tabulated List mode.
9291 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9292 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9293 table format using Tabulated List mode variables.
9294 (package--push): New macro, replacing package-list-maybe-add.
9295 (package-menu--generate): Use package--push. Renamed from
9296 package--generate-package-list.
9297 (package-menu-refresh, list-packages): Use it.
daca8ba5 9298 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9299 Return insertion data instead of inserting it directly.
099c39a4
JB
9300 (package-menu-describe-package, package-menu-execute):
9301 Use tabulated-list-get-id.
e91a96fe
CY
9302 (package-menu-mark-delete, package-menu-mark-install)
9303 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9304 (package-menu-mark-obsolete-for-deletion):
9305 Use tabulated-list-put-tag.
e91a96fe
CY
9306 (package--list-packages, package-menu-revert)
9307 (package-menu-get-package, package-menu-get-version)
9308 (package-menu-sort-by-column): Functions deleted.
9309 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9310 (package-menu--status-predicate, package-menu--version-predicate)
9311 (package-menu--name-predicate)
9312 (package-menu--description-predicate): Handle arguments in the
9313 Tabulated List format.
9314 (package-list-packages-no-fetch): Call list-packages.
9315
3e214b50
JB
93162011-04-06 Juanma Barranquero <lekktu@gmail.com>
9317
9318 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9319 (after-find-file): Don't bind it.
3e214b50
JB
9320 (revert-buffer-in-progress-p): New variable.
9321 (revert-buffer): Bind it.
9322 Pass nil for `after-find-file-from-revert-buffer'.
9323
9324 * saveplace.el (save-place-find-file-hook): Use new variable
9325 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9326
3f0f1700
GM
93272011-04-06 Glenn Morris <rgm@gnu.org>
9328
c0274801
GM
9329 * Makefile.in (AUTOGEN_VCS): New variable.
9330 (autoloads): Use $AUTOGEN_VCS.
9331
3f0f1700
GM
9332 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9333 * calendar/calendar.el (calendar-mode-map):
9334 Check for toolkit scroll bars. (Bug#8305)
9335
41ea9e48
CY
93362011-04-05 Chong Yidong <cyd@stupidchicken.com>
9337
9338 * minibuffer.el (completion-in-region--postch)
9339 (completion-in-region-mode): Remove unnecessary messages.
9340
6194c800
JB
93412011-04-05 Juanma Barranquero <lekktu@gmail.com>
9342
33256f14
JB
9343 * font-lock.el (font-lock-refresh-defaults):
9344 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9345 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9346
6194c800
JB
9347 * info.el (Info-directory-list, Info-read-node-name-2)
9348 (Info-split-parameter-string): Doc fixes.
9349 (Info-virtual-nodes): Reflow docstring.
9350 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9351 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9352 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9353 Fix typos in docstrings.
9354 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9355 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9356 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9357 (Info-restore-desktop-buffer): Mark unused parameters.
9358 (Info-directory-find-file, Info-directory-find-node)
9359 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9360 (Info-virtual-index-find-node, Info-apropos-find-file)
9361 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9362 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9363 (Info-virtual-index): Remove unused local variable `nodename'.
9364
b87a8200 93652011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9366
b87a8200
DD
9367 * net/rcirc.el: Update my e-mail address.
9368 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9369
3b2ff876
CY
93702011-04-05 Chong Yidong <cyd@stupidchicken.com>
9371
9372 * startup.el (command-line): Save the cursor's theme-face
9373 directly, instead of using face-override-spec.
9374
9375 * custom.el (load-theme): Minor optimization in assigning faces.
9376
8d17e7ca
JB
93772011-04-04 Juanma Barranquero <lekktu@gmail.com>
9378
9379 * help-fns.el (describe-variable): Complete all variables having
9380 documentation, including keywords.
9381 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9382
2fbc1934
JB
93832011-04-04 Juanma Barranquero <lekktu@gmail.com>
9384
9385 Convert to lexical-binding.
9386
9387 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9388 (bs--get-marked-string, bs--get-modified-string)
9389 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9390 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9391 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9392
9393 * ehelp.el (electric-help-execute-extended)
9394 (electric-help-ctrl-x-prefix):
9395 * hexl.el (hexl-revert-buffer-function):
9396 * linum.el (linum-after-change, linum-after-scroll):
9397 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9398
9399 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9400
74f50695
DU
94012011-04-04 Daiki Ueno <ueno@unixuser.org>
9402
9403 * epa-dired.el:
9404 * epa-mail.el:
9405 * epa-hook.el:
9406 * epa-file.el:
9407 * epa.el:
9408 * epg.el: Use lexical binding.
9409
c11325f7
CY
94102011-04-03 Chong Yidong <cyd@stupidchicken.com>
9411
0d9e9a12
CY
9412 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9413
c11325f7 9414 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9415 dictionary case for flyspell-mark-duplications-exceptions.
9416 Use regexp matching for languages.
c11325f7
CY
9417 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9418 default dictionary (Bug#7926).
9419
da91b5f2
CY
94202011-04-02 Chong Yidong <cyd@stupidchicken.com>
9421
099c39a4
JB
9422 * emacs-lisp/package.el (package--with-work-buffer):
9423 Recognize https URLs.
da91b5f2 9424
099c39a4
JB
9425 * net/network-stream.el: Move from gnus/proto-stream.el.
9426 Change prefix to network-stream throughout.
da91b5f2
CY
9427 (open-protocol-stream): Merge into open-network-stream, leaving
9428 open-protocol-stream as an alias. Handle nil BUFFER args.
9429
9430 * subr.el (open-network-stream): Move to net/network-stream.el.
9431
afa8e9f6
GM
94322011-04-02 Glenn Morris <rgm@gnu.org>
9433
1d2e369d
GM
9434 * find-dired.el (find-exec-terminator): New option.
9435 (find-ls-option): Test for -ls support.
9436 (find-ls-subdir-switches): Test for -b in find-ls-option.
9437 (find-dired, find-grep-dired): Doc fixes.
9438 (find-dired): Use find-exec-terminator.
9439
8abb7da8 9440 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9441 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9442 (find-name-arg): Remove purecopy.
8abb7da8 9443
f3ca7378
GM
9444 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9445 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9446 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9447 accordingly. Don't add the null-device if not needed.
9448
afa8e9f6
GM
9449 * files.el (save-some-buffers): Doc fix.
9450
35eae264
EZ
94512011-04-02 Eli Zaretskii <eliz@gnu.org>
9452
9453 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9454
26b51db5
JB
94552011-04-01 Juanma Barranquero <lekktu@gmail.com>
9456
9457 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9458 Use `dolist' rather than `mapcar'.
9459
7200d79c
SM
94602011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9461
03408648 9462 Add lexical binding.
7200d79c 9463
03408648
SM
9464 * subr.el (apply-partially): Use new closures rather than CL.
9465 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9466 (dolist, dotimes): Use slightly different expansion for lexical code.
9467 (functionp): Move to C.
9468 (letrec): New macro.
9469 (with-wrapper-hook): Use it and apply-partially instead of CL.
9470 (eval-after-load): Preserve lexical-binding.
9471 (save-window-excursion, with-output-to-temp-buffer): Turn them
9472 into macros.
7200d79c 9473
03408648
SM
9474 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9475
9476 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9477 than the arglist.
9478 (help-add-fundoc-usage): Don't add `Not documented'.
9479 (help-function-arglist): Handle closures, subroutines, and new
9480 byte-code-functions.
9481 (help-make-usage): Remove leading underscores.
9482 (describe-function-1): Handle closures.
9483 (describe-variable): Use special-variable-p for completion.
9484
9485 * files.el (lexical-binding): Declare safe.
f488fb65 9486
03408648
SM
9487 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9488 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9489 (pcase): Add `let' pattern.
9490 Change memoization so it actually works.
9491 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9492 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9493 <let>: New case.
f488fb65 9494
03408648
SM
9495 * emacs-lisp/macroexp.el: Use lexical binding.
9496 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9497 Don't convert ' to #' without checking that it's indeed quoting
9498 a lambda.
9499
9500 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9501 Use eval-sexp-add-defvars.
03408648
SM
9502 (eval-sexp-add-defvars): New fun.
9503
9504 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9505
9506 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9507 Don't autoload.
9508 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9509 than the internal `byte-compile-lambda'.
9510 (defmethod): Don't hide code under quotes.
9511 (eieio-defmethod): New `code' argument.
9512
9513 * emacs-lisp/eieio-comp.el: Remove.
9514
9515 * emacs-lisp/edebug.el (edebug-eval-defun)
9516 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9517 (edebug-toggle): Avoid `eval'.
9518
9519 * emacs-lisp/disass.el (disassemble-internal): Handle new
9520 `closure' objects.
9521 (disassemble-1): Handle new byte codes.
9522
9523 * emacs-lisp/cl.el (pushnew): Silence warning.
9524
9525 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9526 (cl-byte-compile-throw): Remove.
9527 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9528
9529 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9530 closures.
9531
9532 * emacs-lisp/cconv.el: New file.
9533
9534 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9535 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9536 (byte-compile-initial-macro-environment):
9537 Handle declare-function here.
9538 (byte-compile--lexical-environment): New var.
9539 (byte-stack-ref, byte-stack-set, byte-discardN)
9540 (byte-discardN-preserve-tos): New lap codes.
9541 (byte-interactive-p): Don't use any more.
9542 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9543 New macros.
9544 (byte-compile-lapcode): Use them and handle new lap codes.
9545 (byte-compile-obsolete): Remove.
9546 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9547 (byte-compile-arglist-warn): Check late def of inlinable funs.
9548 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9549 since they should have been expanded by now.
9550 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9551 (byte-compile-from-buffer): Remove unused second arg.
9552 (byte-compile-preprocess): New function.
9553 (byte-compile-toplevel-file-form): New function to distinguish
9554 file-form calls from outside from file-form calls from hunk-handlers.
9555 (byte-compile-file-form): Simplify.
9556 (byte-compile-file-form-defsubst): Remove.
9557 (byte-compile-file-form-defmumble): Simplify now that
9558 byte-compile-lambda always returns a byte-code-function.
9559 (byte-compile): Preprocess.
9560 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9561 Remove, not used any more.
9562 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9563 (byte-compile-make-args-desc): New funs.
9564 (byte-compile-lambda): Handle lexical functions. Always return
9565 a byte-code-function.
9566 (byte-compile-reserved-constants): New var, to make up room for
9567 closed-over variables.
9568 (byte-compile-constants-vector): Obey it.
9569 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9570 (byte-compile-macroexpand-declare-function): New function.
9571 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9572 byte-code-functions.
9573 (byte-compile-form): Check obsolescence here.
9574 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9575 (byte-compile-variable-ref): Remove.
9576 (byte-compile-dynamic-variable-op): New fun.
9577 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9578 (byte-compile-variable-set): New funs.
9579 (byte-compile-discard): Add 2 args.
9580 (byte-compile-stack-ref, byte-compile-stack-set)
9581 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9582 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9583 macroexpand-all instead.
9584 (byte-compile-quote-form): Remove.
9585 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9586 (byte-compile-bind, byte-compile-unbind): New funs.
9587 (byte-compile-let): Handle let* and lexical binding.
9588 (byte-compile-let*): Remove.
9589 (byte-compile-catch, byte-compile-unwind-protect)
9590 (byte-compile-track-mouse, byte-compile-condition-case):
9591 Handle a new :fun-body form, used for lexical scoping.
9592 (byte-compile-save-window-excursion)
9593 (byte-compile-with-output-to-temp-buffer): Remove.
9594 (byte-compile-defun): Simplify.
9595 (byte-compile-stack-adjustment): New fun.
9596 (byte-compile-out): Use it.
9597 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9598
9599 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9600 handler any more.
9601
9602 * emacs-lisp/byte-opt.el: Use lexical binding.
9603 (byte-inline-lapcode): Remove (to bytecomp).
9604 (byte-compile-inline-expand): Pay attention to inlining to/from
9605 lexically bound code.
9606 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9607 any more.
9608 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9609 any more and don't call compiler-macros.
9610 (byte-compile-splice-in-already-compiled-code): Remove.
9611 (byte-code): Don't inline any more.
9612 (disassemble-offset): Receive `bytes' as argument rather than via
9613 dynamic scoping.
9614 (byte-compile-tag-number): Declare before first use.
9615 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9616 `return' even if make-spliceable.
9617 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9618 obsolete interactive-p.
9619 (byte-optimize-lapcode): Optimize new lap-codes.
9620 Don't trip up on new form of `byte-constant' lap code.
9621
9622 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9623
9624 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9625
9626 * custom.el (custom-initialize-default, custom-declare-variable):
9627 Use `defvar'.
9628
9629 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9630 New variables.
9631 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9632 (COMPILE_FIRST): Add macroexp and cconv.
9633 * makefile.w32-in: Mirror changes in Makefile.in.
9634
9635 * vc/cvs-status.el:
9636 * vc/diff-mode.el:
9637 * vc/log-edit.el:
9638 * vc/log-view.el:
9639 * vc/smerge-mode.el:
9640 * textmodes/bibtex-style.el:
9641 * textmodes/css.el:
9642 * startup.el:
9643 * uniquify.el:
da91b5f2
CY
9644 * minibuffer.el:
9645 * newcomment.el:
9646 * reveal.el:
9647 * server.el:
9648 * mpc.el:
9649 * emacs-lisp/smie.el:
9650 * doc-view.el:
9651 * dired.el:
03408648
SM
9652 * abbrev.el: Use lexical binding.
9653
0f0c1f27
EZ
96542011-04-01 Eli Zaretskii <eliz@gnu.org>
9655
9656 * info.el (info-display-manual): New function.
9657
c82b2579
SM
96582011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9661
221ddf68
TH
96622011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9663
9664 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9665 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9666
cba6e77e
GM
96672011-03-31 Glenn Morris <rgm@gnu.org>
9668
e040639f
GM
9669 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9670
cba6e77e
GM
9671 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9672
6d0f1c9e
CS
96732011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9674
9675 * progmodes/python.el (python-default-interpreter)
9676 (python-python-command-args, python-jython-command-args)
9677 (python-which-shell, python-which-args, python-which-bufname)
9678 (python-file-queue, python-comint-output-filter-function)
9679 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9680 variables and functions.
9681
3e2d70fd
SM
96822011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9685 (completion-in-region-mode): New minor mode.
9686 (completion-in-region): Use it.
9687 (completion-in-region--data, completion-in-region-mode-map): New vars.
9688 (completion-in-region--postch): New function.
9689 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9690 New vars.
9691 (completion--capf-wrapper): New function.
9692 (completion-at-point): Use it to track well-behavedness of
9693 hook functions.
9694 (completion-help-at-point): New command.
9695
f3e4086c
JM
96962011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9697
9698 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9699 syntax class to search for whitespace on a single line
9700 (Message-ID: <4D938140.4030905@redhat.com>).
9701
eb7ffc14
LL
97022011-03-30 Leo Liu <sdl.web@gmail.com>
9703
9704 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9705 New commands.
9706 (edit-abbrevs-map): Bind them here.
9707 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9708
d806ab68
KM
97092011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9710
9711 * allout.el (allout-hide-by-annotation, allout-flag-region):
9712 Reduce possibility of overlay leakage by making them volatile.
9713
9714 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9715 hash is not shared between buffers. Mode initialization is
9716 responsible for giving it a useful starting value.
9717 (allout-item-span): Reduce possibility of overlay leakage by
9718 making them volatile.
9719 (allout-widgets-count-buttons-in-region): Add diagnostic function
9720 for tracking down button overlay leaks.
9721
ea622834
LL
97222011-03-29 Leo Liu <sdl.web@gmail.com>
9723
9724 * ido.el (ido-read-internal): Use the default history var
9725 minibuffer-history if no HISTORY is specified.
9726
b62f8267
G
97272011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9728
03408648
SM
9729 * net/imap.el (imap-shell-open, imap-process-connection-type):
9730 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9731 Kerberos, SSL, other subprocesses.
9732
947b6566
LL
97332011-03-28 Leo Liu <sdl.web@gmail.com>
9734
9735 * abbrev.el (abbrev-table-empty-p): New function.
9736 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9737 nonempty ones. (Bug#5937)
9738
5ffb62aa
JD
97392011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9740
9741 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9742
7a097943
LL
97432011-03-27 Leo Liu <sdl.web@gmail.com>
9744
9745 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9746 for foreground and background colors.
9747 (ansi-color-make-color-map): Adapt.
9748
c5b40130
LL
97492011-03-25 Leo Liu <sdl.web@gmail.com>
9750
1f48f7d2
LL
9751 * midnight.el (midnight-time-float): Remove. Note it calculates
9752 the microsecond component incorrectly and seconds-to-time does the
9753 same job.
625897ec 9754 Remove redundant (require 'timer).
1f48f7d2 9755
c5b40130
LL
9756 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9757 (ido-completions): Remove unused arguments. (Bug#8329)
9758
d86d2721
SM
97592011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * minibuffer.el (completion--flush-all-sorted-completions):
9762 Remove itself from hook.
9763 (completion-at-point): Let the functions perform the completion
9764 immediately and return nil or t.
9765 * comint.el (comint-dynamic-complete-functions): Now identical to
9766 completion-at-point-functions.
9767 (comint-dynamic-list-input-ring): Remove unused var `index'.
9768 (comint--match-partial-filename, comint--unquote&expand-filename):
9769 New funs, split from comint-match-partial-filename.
9770 (comint-dynamic-complete): Use completion-at-point.
9771 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9772
e8974c48
DA
97732011-03-24 Drew Adams <drew.adams@oracle.com>
9774
9775 * thingatpt.el: Support `defun'.
9776
def71b5e
LL
97772011-03-23 Leo Liu <sdl.web@gmail.com>
9778
cb5af48e
LL
9779 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9780
def71b5e
LL
9781 * help-mode.el (help-mode-finish): Tweak regexp.
9782
927c53e7
GM
97832011-03-23 Glenn Morris <rgm@gnu.org>
9784
18d05bed
GM
9785 * eshell/esh-opt.el (eshell-eval-using-options):
9786 Do not bind unused local variable `eshell-option-stub'.
9787
927c53e7
GM
9788 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9789
9d0da923
JB
97902011-03-22 Juanma Barranquero <lekktu@gmail.com>
9791
9792 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9793 keymap variable in `with-no-warnings' to avoid a warning when the
9794 keymap has been already `defconst'ed.
9795
4b978a67
LL
97962011-03-22 Leo Liu <sdl.web@gmail.com>
9797
9798 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9799 encode all chars in abbrevs; otherwise use emacs-mule or
9800 utf-8-emacs. (Bug#8308)
9801
5fd62452
JB
98022011-03-22 Juanma Barranquero <lekktu@gmail.com>
9803
0b1596c6
JB
9804 * simple.el (backward-delete-char-untabify):
9805 Avoid warning about using `delete-backward-char'.
9806
5fd62452
JB
9807 * image.el (image-type-file-name-regexps): Make it variable.
9808 `imagemagick-register-types' modifies it, and the user may want
9809 to add new extensions for known image types.
9810 (imagemagick-register-types): Throw error if not using ImageMagick.
9811
0b4e93f1
LL
98122011-03-22 Leo Liu <sdl.web@gmail.com>
9813
9814 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9815 located before rcirc-prompt-end-marker.
9816 (rcirc-complete): Error if point is not after rcirc prompt.
9817 Handle the case when table is nil.
9882e214 9818 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9819
fccee4ab
CY
98202011-03-22 Chong Yidong <cyd@stupidchicken.com>
9821
9822 * custom.el (custom--inhibit-theme-enable): Make it affect only
9823 custom-theme-set-variables and custom-theme-set-faces.
9824 (provide-theme): Ignore custom--inhibit-theme-enable.
9825 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9826 (custom-enabling-themes): Delete variable.
d86d2721
SM
9827 (enable-theme): Accept only loaded themes as arguments.
9828 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9829 (custom-enabled-themes): Forbid themes from setting this.
9830 Eliminate use of custom-enabling-themes.
9831 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9832
af896da6
LL
98332011-03-21 Leo Liu <sdl.web@gmail.com>
9834
9835 * ido.el (ido-read-internal): Add ido-selected to history instead
9836 of user input.
9837
78f64af0
SM
98382011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * subr.el (deferred-action-list, deferred-action-function):
9841 Mark obsolete.
9842
b16ac1ec
LL
98432011-03-21 Leo Liu <sdl.web@gmail.com>
9844
810f7698
LL
9845 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9846 change on 2011-02-13 (bug#8309).
9847
b16ac1ec
LL
9848 * minibuffer.el (read-file-name-function): Change default value.
9849 (read-file-name--defaults): Rename from read-file-name-defaults.
9850 (read-file-name-default): Rename from read-file-name.
9851 (read-file-name): Call read-file-name-function.
9852
4e05e67e
GM
98532011-03-21 Glenn Morris <rgm@gnu.org>
9854
9855 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9856 Doc fixes.
9857
4359915b
CY
98582011-03-21 Chong Yidong <cyd@stupidchicken.com>
9859
9860 * cus-theme.el: Add missing provide statement.
9861 (customize-create-theme): Extract theme value correctly.
9862 (custom-theme-visit-theme): Autoload.
9863 (customize-create-theme): Prompt before inserting default faces.
9864
1fe275ee
JB
98652011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9866
9867 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9868 units and musical notes.
9869
cd394be1 98702011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9871
9872 * ido.el (ido-read-internal): Use completing-read-default.
9873 (ido-completing-read): Fix compatibility with completing-read.
9874
7d476bde
CO
98752011-03-20 Christian Ohler <ohler@gnu.org>
9876
9877 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9878 (ert-delete-all-tests): Use `called-interactively-p' rather than
9879 `interactive-p'.
9880 (ert--make-xrefs-region): Respect END.
9881
fe0fb33e
CY
98822011-03-19 Chong Yidong <cyd@stupidchicken.com>
9883
ff854b0b
CY
9884 * dired-aux.el (dired-create-directory): Signal an error if the
9885 directory already exists (Bug#8246).
9886
fe0fb33e
CY
9887 * facemenu.el (list-colors-display): Call list-faces-display
9888 inside with-help-window.
9889 (list-colors-print): Use display property to align the final
9890 column, instead of checking window-width.
9891
576bce32
EZ
98922011-03-19 Eli Zaretskii <eliz@gnu.org>
9893
4d61f28d 9894 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9895 windows-nt systems.
9896 (emerge-protect-metachars): Quote correctly for ms-dos and
9897 windows-nt systems.
9898
89c41d68 98992011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9900
9901 * info.el (info-initialize): Replace all uses of `:' with
9902 path-separator for compatibility with non-Unix systems.
9903 Cache quoting of path-separator. (Bug#8258)
9904
b14e3e21 99052011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9906
9907 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9908 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9909 (mouse-avoidance-mode): Fix typos in docstrings.
9910
4525ce3e
CY
99112011-03-19 Chong Yidong <cyd@stupidchicken.com>
9912
9913 * startup.el (package-subdirectory-regexp): Move from package.el.
9914 Omit \\` and \\', and let callers add them.
9915
9916 * emacs-lisp/package.el (package-strip-version)
9917 (package-load-all-descriptors): Add \\` and \\' to
9918 package-subdirectory-regexp before using it.
9919 (package-untar-buffer): New arg DIR; ensure that file untars only
9920 into this expected directory. Remove superfluous delete-region.
9921 (package-unpack): Caller changed.
9922 (package-tar-file-info): Use package-subdirectory-regexp.
9923
a904a09a 99242011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9925
a904a09a
SM
9926 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9927 diff-mode-shared-map (bug#8284).
9928 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9929
99302011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9931
9932 * calendar/time-date.el (format-seconds): Use assoc instead of
9933 assoc-string, since assoc-string doesn't exist in XEmacs.
9934
171fc304
JB
99352011-03-17 Juanma Barranquero <lekktu@gmail.com>
9936
9937 * custom.el (custom-known-themes): Reflow docstring.
9938 (custom-theme-load-path): Fix typo in docstring.
9939 (load-theme): Fix typo in error message.
9940 (custom-available-themes, custom-variable-theme-value):
9941 Use `let', not `let*'.
9942
d71990a1
JB
99432011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9944
9945 * calc/README: Mention inclusion of musical notes.
9946
9947 * calc/calc-units.el (calc-lu-quant): Rename from
9948 `calc-logunits-quantity'.
9949 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9950 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9951 (calc-db): Rename from `calc-dblevel'.
9952 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9953 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9954 (calc-np): Rename from `calc-nplevel'.
9955 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9956 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9957 (calc-lu-plus): Rename from `calc-logunits-add'.
9958 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9959 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9960 (calc-lu-minus): Rename from `calc-logunits-sub'.
9961 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9962 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9963 (calc-lu-times): Rename from `calc-logunits-mul'.
9964 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9965 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9966 (calc-lu-divide): Rename from `calc-logunits-div'.
9967 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9968 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9969
9970 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9971 functions being autoloaded.
9972
9973 * calc/calc.el (calc-lu-power-reference): Rename from
9974 `calc-logunits-power-reference'.
9975 (calc-lu-field-reference): Rename from
9976 `calc-logunits-field-reference'.
9977
9978 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9979
40c2934b
SM
99802011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * minibuffer.el (completion-all-sorted-completions):
9983 Use :completion-cycle-penalty text property if present.
9984
b0911414
KM
99852011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9986
9987 * allout.el (allout-yank-processing): Adjust for new rebulleting
9988 regime so bullet being yanked is used without prompting the user
9989 for a choice.
9990
8a05b668
JB
99912011-03-16 Juanma Barranquero <lekktu@gmail.com>
9992
9993 * startup.el (command-line): Warn the user that _emacs is deprecated.
9994
5ba5fb81
JB
99952011-03-16 Juanma Barranquero <lekktu@gmail.com>
9996
9997 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9998 (delphi-verbose, delphi-comment-face, delphi-string-face)
9999 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10000 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10001 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10002 (delphi-new-comment-line, delphi-font-lock-defaults)
10003 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10004 Fix typos in docstrings.
10005
2dab465b
KM
100062011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10007
5ba5fb81 10008 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10009 Invert the roles of character and string values for INSTEAD, so a
10010 string is used for the more common case of a defaulting prompt.
10011
0adf5618
SM
100122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * progmodes/ruby-mode.el (ruby-backward-sexp):
10015 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10016 * play/gamegrid.el (gamegrid-make-face):
10017 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10018 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10019 * notifications.el (notifications-notify):
10020 * net/xesam.el (xesam-search-engines):
10021 * net/quickurl.el (quickurl-list-insert):
10022 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10023
d72700e5
CY
100242011-03-15 Chong Yidong <cyd@stupidchicken.com>
10025
10026 * startup.el (command-line): Update package subdirectory regexp.
10027
49c5410a
SM
100282011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10029
c6eee9aa
SM
10030 * allout.el (allout-abbreviate-flattened-numbering)
10031 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10032
49c5410a
SM
10033 * subr.el (read-char-choice): Only show the cursor after the prompt,
10034 not after the answer.
10035
047b2bb9
KR
100362011-03-15 Kevin Ryde <user42@zip.com.au>
10037
10038 * help-fns.el (variable-at-point): Skip leading quotes, if any
10039 (bug#8253).
10040
0a57d256
SM
100412011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10044 warning message.
10045
77c992bc
MA
100462011-03-14 Michael Albinus <michael.albinus@gmx.de>
10047
10048 * shell.el (shell): When called interactively, offer to change the
10049 shell file name on remote hosts.
10050
eebc475d
TZ
100512011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10052
10053 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10054 integration for LDAP parameters. The host, base, user or binddn,
10055 and secret tokens can be specified in a netrc file, for instance.
10056 This is optional because an `auth-source' parameter must be
10057 specified in the search attributes.
10058
9d05d1ba
JB
100592011-03-13 Juanma Barranquero <lekktu@gmail.com>
10060
10061 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10062
09d9db2c
GM
100632011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10066 into declaration. Remove redundant and harmful binding.
10067
100682011-03-12 Eli Zaretskii <eliz@gnu.org>
10069
10070 * files.el (file-ownership-preserved-p): Pass `integer' as an
10071 explicit 2nd argument to `file-attributes'. If the file's owner
10072 is the Administrators group on Windows, and the current user is
10073 Administrator, consider that a match.
10074
10075 * server.el (server-ensure-safe-dir): Consider server directory
10076 safe on MS-Windows if its owner is the Administrators group while
10077 the current Emacs user is Administrator. Use `=' to compare
10078 numerical UIDs, since they could be integers or floats.
10079
219bd536
JB
100802011-03-12 Juanma Barranquero <lekktu@gmail.com>
10081
10082 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10083
f3afd36b
MA
100842011-03-12 Michael Albinus <michael.albinus@gmx.de>
10085
10086 Sync with Tramp 2.2.1.
10087
10088 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10089
10090 * net/trampver.el: Update release number.
10091
3aaaa6f1
SM
100922011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10093
94642599
SM
10094 * progmodes/compile.el (compilation--previous-directory): Fix up
10095 various nil/dead-marker mismatches (bug#8014).
10096 (compilation-directory-properties, compilation-error-properties):
10097 Don't call it at a position past the one we're about to change.
10098
3aaaa6f1
SM
10099 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10100 Disable obsolescence warnings in the file that declares it.
10101
14239447
KM
101022011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10103
099c39a4
JB
10104 * allout-widgets.el (allout-widgets-tally):
10105 Initialize allout-widgets-tally as a hash table rather than nil to
10106 prevent mode-line redisplay warnings. Also, clarify the module
10107 description and fix a comment typo.
14239447 10108
135e287c
JB
101092011-03-11 Juanma Barranquero <lekktu@gmail.com>
10110
10111 * help-fns.el (describe-variable): Don't complete keywords.
10112 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10113
ffbf300e
CY
101142011-03-10 Chong Yidong <cyd@stupidchicken.com>
10115
ba08b241
CY
10116 * emacs-lisp/package.el (package-version-join): Impose a standard
10117 string representation for pre/alpha/beta version lists.
10118 (package-unpack-single): Standardize the directory name by passing
10119 it through package-version-join.
10120 (package-strip-rcs-id): Accept any version string that does not
10121 signal an error in version-to-list.
ffbf300e 10122
f346fd6b
MA
101232011-03-10 Michael Albinus <michael.albinus@gmx.de>
10124
10125 * simple.el (delete-trailing-whitespace): Return nil for the
10126 benefit of `write-file-functions'.
10127
ccb55d27
GM
101282011-03-10 Glenn Morris <rgm@gnu.org>
10129
5ceaac0c
GM
10130 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10131
02da65ff
GM
10132 * vc/vc-git.el (vc-git-program): New option.
10133 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10134 (vc-git--call): Use it.
10135
b2f603cc
GM
10136 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10137
5772caab
GM
10138 * cus-edit.el (Custom-newline): If no button at point, look
10139 for a subgroup button at start-of-line. (Bug#2298)
10140
ccb55d27
GM
10141 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10142
ec6ecaed
JD
101432011-03-10 Julien Danjou <julien@danjou.info>
10144
10145 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10146 `cursor-type' is nil.
10147
9d5aa01d
JB
101482011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10149
10150 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10151
b6a5875b
KM
101522011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10153
10154 * allout.el Summary: Change so yank of distinctive-bullet items
10155 preserves the existing header prefix, rebulleting it if necessary,
10156 rather than replacing it. This is necessary for proper operation
10157 of cooperative addons like allout-widgets.
1154d12e
JB
10158 (allout-make-topic-prefix, allout-rebullet-heading):
10159 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10160 value as alternate bullet to be used, instead of prompting the user
10161 for a bullet character.
b6a5875b 10162
ee545c35
MA
101632011-03-09 Michael Albinus <michael.albinus@gmx.de>
10164
d86d2721
SM
10165 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10166 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10167 `tramp-default-port'.
10168
c47971d7
DD
101692011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10170
10171 * net/rcirc.el (rcirc-handler-001): Remove useless
10172 with-rcirc-process-buffer.
10173 (rcirc-check-auth-status): Swap arguments to string-match.
10174
13522cb4
GM
101752011-03-09 Glenn Morris <rgm@gnu.org>
10176
0be6f4f1
GM
10177 * shell.el (shell-mode):
10178 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10179
13522cb4
GM
10180 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10181 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10182
515de2e3
CY
101832011-03-08 Chong Yidong <cyd@stupidchicken.com>
10184
10185 * emacs-lisp/package.el (package-refresh-contents)
10186 (package-menu-execute): Use condition-case-no-debug.
10187
b511b994
MA
101882011-03-08 Michael Albinus <michael.albinus@gmx.de>
10189
10190 * simple.el (shell-command-to-string): Use `process-file'.
10191
10192 * emacs-lisp/package.el (package-tar-file-info): Handle also
10193 remote files.
10194
d86d2721
SM
10195 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10196 Use `equal' for upload base check.
b511b994 10197
25bbfb31
AM
101982011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10199
10200 * textmodes/texinfo.el (texinfo-environments):
10201 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10202
be996521
GM
102032011-03-08 Glenn Morris <rgm@gnu.org>
10204
e9c8529f
GM
10205 * cus-start.el (cursor-in-non-selected-windows):
10206 Fix :set quoting oddness. (Bug#8192)
10207
be996521
GM
10208 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10209 in some setf expressions. (Bug#2159)
10210
2bb5649e
CY
102112011-03-08 Chong Yidong <cyd@stupidchicken.com>
10212
10213 * custom.el (custom-available-themes): Return themes in
10214 alphabetical order.
10215
33383987 10216See ChangeLog.15 for earlier changes.
e3d51b27
MR
10217
10218;; Local Variables:
10219;; coding: utf-8
e3d51b27
MR
10220;; End:
10221
acaf905b 10222 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10223
10224 This file is part of GNU Emacs.
10225
10226 GNU Emacs is free software: you can redistribute it and/or modify
10227 it under the terms of the GNU General Public License as published by
10228 the Free Software Foundation, either version 3 of the License, or
10229 (at your option) any later version.
10230
10231 GNU Emacs is distributed in the hope that it will be useful,
10232 but WITHOUT ANY WARRANTY; without even the implied warranty of
10233 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10234 GNU General Public License for more details.
10235
10236 You should have received a copy of the GNU General Public License
10237 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.