Update Variables chapter of Lisp manual to handle lexical binding.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6725d21a
JD
12012-01-24 Julien Danjou <julien@danjou.info>
2
3 * color.el (color-rgb-to-hsl): Fix value computing.
4 (color-hue-to-rgb): New function.
5 (color-hsl-to-rgb): New function.
6 (color-clamp, color-saturate-hsl, color-saturate-name)
7 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9
70df4bbe
GM
102012-01-24 Glenn Morris <rgm@gnu.org>
11
12 * vc/vc-rcs.el (vc-rcs-create-tag):
13 * vc/vc-sccs.el (vc-sccs-create-tag):
14 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15
802a2ae2
ML
162012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17
18 * eshell/esh-util.el (eshell-read-hosts-file):
19 Skip comment lines. (Bug#10549)
20
d7128bb1
ML
21 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
22
d1a5c3b4
JB
232012-01-23 Juanma Barranquero <lekktu@gmail.com>
24
2724d9c7
JB
25 * subr.el (display-delayed-warnings): Doc fix.
26 (collapse-delayed-warnings): New function to collapse identical
27 adjacent warnings.
28 (delayed-warnings-hook): Add it.
d1a5c3b4 29
a5509865
MA
302012-01-22 Michael Albinus <michael.albinus@gmx.de>
31
32 * net/tramp.el (tramp-action-login): Set connection property "login-as".
33
34 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
35 properties, when "login-as" is set.
36
37 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
38 (tramp-default-user-alist): Don't add "pscp".
39 (tramp-do-copy-or-rename-file-out-of-band): Use connection
40 property "login-as", if set. (Bug#10530)
41
cc6d5805
MA
422012-01-21 Michael Albinus <michael.albinus@gmx.de>
43
44 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
45 "plink1" and "psftp". (Bug#10530)
46
472012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
48
49 * international/mule-cmds.el (prefer-coding-system): Show a
50 warning message if the default value of file-name-coding-system
51 was not changed.
52
f0960428
JC
532012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
54
55 * windmove.el (windmove-reference-loc): Fix
56 windmove-reference-loc miscalculation.
57
dd6f2a63
JB
582012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
59
60 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
61 default unit.
62
7b447e9b
GM
632012-01-21 Glenn Morris <rgm@gnu.org>
64
117a9ea1
GM
65 * international/mule.el (auto-coding-alist): Add .tbz.
66
7b447e9b
GM
67 * files.el (local-enable-local-variables): Doc fix.
68 (inhibit-local-variables-regexps): Rename from
69 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
70 Doc fix. Add some extensions from auto-coding-alist.
71 (inhibit-local-variables-suffixes):
72 Rename from inhibit-first-line-modes-suffixes. Doc fix.
73 (inhibit-local-variables-p):
74 New function, extracted from set-auto-mode-1.
75 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
76 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
77 (hack-local-variables): Doc fix. Make the mode-only case
78 respect enable-local-variables and friends.
79 Respect inhibit-local-variables-regexps for file-locals, but
80 not for directory-locals.
81 (set-visited-file-name):
82 Take account of inhibit-local-variables-regexps.
83 Whether it applies may change as the file name is changed.
84 * jka-cmpr-hook.el (jka-compr-install):
85 * jka-compr.el (jka-compr-uninstall):
86 Update for inhibit-first-line-modes-suffixes name change.
87
dd6e3cdd
MR
882012-01-20 Martin Rudalics <rudalics@gmx.at>
89
90 * help-macro.el (make-help-screen): Temporarily restore original
91 binding for minor-mode-map-alist (Bug#10454).
92
0d0deb38
JD
932012-01-19 Julien Danjou <julien@danjou.info>
94
95 * color.el (color-name-to-rgb): Use the white color to find the max
96 color component value and return correctly computed values.
97 (color-name-to-rgb): Add missing float conversion for max value.
98
34a02f46
MR
992012-01-19 Martin Rudalics <rudalics@gmx.at>
100
101 * window.el (window--state-get-1, window-state-get): Do not use
102 special state value for window-persistent-parameters. Rename
103 argument IGNORE to WRITABLE. Rewrite doc-string.
104 (window--state-put-2): Reset all window parameters to nil before
105 assigning values of persistent parameters.
106
606c44c4
AM
1072012-01-18 Alan Mackenzie <acm@muc.de>
108
109 Eliminate sluggishness and hangs in fontification of "semicolon
110 deserts".
111
112 * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
113 value 10000 -> 3000.
114 (c-state-safe-place): Reformulate so it doesn't stack up an
115 infinite number of wrong entries in c-state-nonlit-pos-cache.
116 (c-determine-limit-get-base, c-determine-limit): New functions to
117 determine backward search limits disregarding literals.
118 (c-find-decl-spots): Amend commenting.
119 (c-cheap-inside-bracelist-p): New function which detects "={".
120
121 * progmodes/cc-fonts.el
122 (c-make-font-lock-BO-decl-search-function): Give a limit to a
123 backward search.
124 (c-font-lock-declarations): Fix an occurrence of point being
125 undefined. Check additionally for point being in a bracelist or
126 near a macro invocation without a semicolon so as to avoid a
127 fruitless time consuming search for a declarator. Give a more
128 precise search limit for declarators using the new
129 c-determine-limit.
130
f3860cea
GM
1312012-01-18 Glenn Morris <rgm@gnu.org>
132
133 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
134 (set-auto-mode): Doc fixes.
135
1db03b16
GM
1362012-01-17 Glenn Morris <rgm@gnu.org>
137
0e6038be
GM
138 * isearch.el (search-nonincremental-instead): Fix doc typo.
139
1db03b16
GM
140 * dired.el (dired-insert-directory): Handle newlines in directory name.
141 (dired-build-subdir-alist): Unescape newlines in directory name.
142
4cb0aa75
MA
1432012-01-17 Michael Albinus <michael.albinus@gmx.de>
144
145 * net/tramp.el (tramp-local-end-of-line): New defcustom.
146 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
147 (tramp-action-terminal): Use it. (Bug#10530)
148
1d00653d
SM
1492012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * minibuffer.el (completion--replace): Strip properties (bug#10062).
152
6a6ee00d
MR
1532012-01-16 Martin Rudalics <rudalics@gmx.at>
154
155 * window.el (window-state-ignored-parameters): Remove variable.
156 (window--state-get-1): Rename argument MARKERS to IGNORE.
157 Handle persistent window parameters. Make copy of clone-of
158 parameter only if requested. (Bug#10348)
159 (window--state-put-2): Install a window parameter only if it has
160 a non-nil value or an existing parameter shall be overwritten.
161
97912def
MA
1622012-01-15 Michael Albinus <michael.albinus@gmx.de>
163
164 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
165
688070a5
EZ
1662012-01-14 Eli Zaretskii <eliz@gnu.org>
167
168 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
169 don't pass the (nil) value of `upnode' to string-match.
170
301afadc
CY
1712012-01-14 Chong Yidong <cyd@gnu.org>
172
173 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 174 Fix values recognized by the cursorBlink resource.
301afadc 175
9e5788aa
PE
1762012-01-14 Paul Eggert <eggert@cs.ucla.edu>
177
178 * epg.el (epg--make-temp-file): Avoid permission race condition
179 when running on old Emacs versions (bug#10403).
180
3cdb7f5a
GM
1812012-01-14 Glenn Morris <rgm@gnu.org>
182
183 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
184
8c82b1b4
AM
1852012-01-13 Alan Mackenzie <acm@muc.de>
186
187 Fix filling for when filladapt mode is enabled.
188
189 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
190 c-mask-paragraph, pass in `fill-paragraph' rather than
191 `fill-region-as-paragraph'. (This is a reversion of a previous
192 change.)
193 * progmodes/cc-mode.el (c-basic-common-init): Make
194 fill-paragraph-handle-comment buffer local and set it to nil.
195
e517eda4
GM
1962012-01-13 Glenn Morris <rgm@gnu.org>
197
1498536e
GM
198 * dired.el (dired-switches-escape-p): New function.
199 (dired-insert-directory): Use dired-switches-escape-p.
200 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
201
e517eda4
GM
202 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
203
328f984d
GM
2042012-01-12 Glenn Morris <rgm@gnu.org>
205
206 * mail/sendmail.el (mail-mode): Update paragraph-separate for
207 changes in adaptive-fill-regexp. (Bug#10276)
208
2cc769a8
AM
2092012-01-11 Alan Mackenzie <acm@muc.de>
210
211 Fix Emacs bug #10463 - put `widen's around the critical spots.
212
1d00653d 213 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
214 widen around each invocation of c-state-pp-to-literal. Remove an
215 unused let variable.
216
e52c37fa
GM
2172012-01-11 Glenn Morris <rgm@gnu.org>
218
219 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 220 Doc fix.
e52c37fa 221
96f8741e
CY
2222012-01-10 Chong Yidong <cyd@gnu.org>
223
1d00653d
SM
224 * net/network-stream.el (network-stream-open-starttls):
225 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
226 response to the capability command.
227
b09a806e
GM
2282012-01-10 Glenn Morris <rgm@gnu.org>
229
230 * mail/unrmail.el (unrmail): Tweak previous change.
231
7655cb66
CY
2322012-01-09 Chong Yidong <cyd@gnu.org>
233
234 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
235
9d5a8f0b
AM
2362012-01-08 Alan Mackenzie <acm@muc.de>
237
238 Optimise font locking in long enum definitions.
239
240 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
241 arm to a cond form to handle enums.
242 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
243 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
244
9a0115ab 2452012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
246
247 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 248 (Bug#10401)
6bb72cbd 249
f186bb95
LMI
2502012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
251
29232a68
LMI
252 * faces.el (set-face-attribute): Clarify the meaning of the nil
253 frame (bug#10294).
254
4e5d086d
LMI
255 * subr.el (with-selected-frame): Mention that the selected frame
256 is restored (bug#9980).
257
8e66aebe
LMI
258 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
259 (bug#9759).
260
cd394be1 261 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
262 (password-read): Don't autoload unused function.
263
adf4e762
JB
2642012-01-07 Juanma Barranquero <lekktu@gmail.com>
265
266 * progmodes/which-func.el (which-func-mode): Turn into a
267 non-interactive function and mark as obsolete (bug#10428).
268
89bd9ccd
CY
2692012-01-06 Chong Yidong <cyd@gnu.org>
270
271 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
272 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
273 functions, along with 1 and -1.
274
4afee9d5
EZ
2752012-01-06 Eli Zaretskii <eliz@gnu.org>
276
277 * time.el (display-time-load-average)
278 (display-time-default-load-average): Doc fixes. See the thread
279 starting at
280 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
281 for the details.
282
536aea70
GM
2832012-01-06 Glenn Morris <rgm@gnu.org>
284
665ae865
GM
285 * mail/unrmail.el (unrmail): Give an explicit error if the input file
286 has no messages. (Bug#10377)
287
c869783d
GM
288 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
289 than Info-edit. (Bug#10385)
290
2bb4227e
GM
291 * time.el (display-time-load-average, display-time-next-load-average):
292 Doc fixes.
293
7d5944b9
GM
294 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
295 local setting of buffer-read-only to the input buffer. (Bug#10419)
296
536aea70
GM
297 * calendar/calendar.el (calendar-mode):
298 Locally set scroll-margin to 0. (Bug#10379)
299
7dccca16
UM
3002012-01-06 Ulrich Mueller <ulm@gentoo.org>
301
302 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
303
afbb7930
GM
3042012-01-05 Glenn Morris <rgm@gnu.org>
305
306 * eshell/em-unix.el (diff-no-select): Autoload it.
307 (eshell/diff): Use diff-no-select. (Bug#10420)
308
04482335
CY
3092012-01-05 Chong Yidong <cyd@gnu.org>
310
7baca3bc
CY
311 * shell.el (shell-dynamic-complete-functions): Revert last change.
312 (shell-command-completion-function): New function.
313 (shell-completion-vars): Use it to implement
314 shell-completion-execonly (Bug#10417).
315
04482335
CY
316 * custom.el (enable-theme): Don't set custom-safe-themes.
317
1d00653d
SM
318 * cus-theme.el (custom-theme-merge-theme):
319 Ignore custom-enabled-themes and custom-safe-themes.
04482335 320
bb5aa5d6
MM
3212012-01-05 Michael R. Mauger <mmaug@yahoo.com>
322
323 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
324 first prompt in `sql-interacive-mode'.
325 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 326 keywords.
bb5aa5d6
MM
327 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
328 (sql-product-interactive): Bug fix: Set `sql-buffer' in
329 context of original buffer. Invoke `sql-login-hook'.
330
a7183d7c
EZ
3312012-01-04 Eli Zaretskii <eliz@gnu.org>
332
333 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
334 letters in cite-prefix.
335
a1eacd1e
LMI
3362012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
337
338 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
339
787cdb34
CY
3402012-01-03 Chong Yidong <cyd@gnu.org>
341
1d00653d
SM
342 * shell.el (shell-dynamic-complete-functions):
343 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
344 comint-filename-completion first (Bug#10417).
345
30710442
RS
3462012-01-02 Richard Stallman <rms@gnu.org>
347
348 * battery.el (battery-status-function):
349 Detect when to use battery-yeeloong-sysfs.
350 (battery-echo-area-format): Add string for Yeeloong.
351 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
352 (battery-yeeloong-sysfs): New function.
353
f75bfc33
CY
3542012-01-02 Chong Yidong <cyd@gnu.org>
355
356 * dirtrack.el (dirtrack-list): Eliminate unused third element.
357 (dirtrack): Merge code for handling relative filenames in prompt
358 from shell-dir-cookie-watcher.
359 (dirtrack-debug-message): New arg to avoid excess format calls.
360
361 * shell.el (shell-dir-cookie-re): Variable deleted.
362 (shell-dir-cookie-watcher): Function deleted.
363 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
364 with dirtrack-mode.
365
651e947e
EZ
3662012-01-01 Eli Zaretskii <eliz@gnu.org>
367
1d00653d
SM
368 * term/w32-win.el (dynamic-library-alist) <gnutls>:
369 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
370 libgnutls-26.dll.
371
94d4c7dc
AS
3722011-12-31 Andreas Schwab <schwab@linux-m68k.org>
373
374 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
375
8d43f3cd
EZ
3762011-12-31 Eli Zaretskii <eliz@gnu.org>
377
378 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
379 headers of non-MIME messages, when rmail-enable-mime is non-nil.
380
98c8795a
MA
3812011-12-29 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
384 also for alternative shells.
385 (tramp-open-connection-setup-interactive-shell): Check, whether
386 the shell is a busybox.
387 (tramp-send-command): Don't suppress multiple prompts for
388 busyboxes, it hurts.
389
51281b32
CY
3902011-12-28 Chong Yidong <cyd@gnu.org>
391
392 * progmodes/gdb-mi.el (gdb-get-source-file-list)
393 (gdb-get-source-file): Move mode line update to
394 gdb-get-source-file (Bug#10087).
395
2170cb53
CY
3962011-12-25 Chong Yidong <cyd@gnu.org>
397
398 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
399 gud-gdb-marker-filter without taking it as an argument.
400 (gud-gdb-run-command-fetch-lines): Caller changed.
401 (gud-gdb-completion-function): New variable.
402 (gud-gdb-completion-at-point): Use it.
403 (gud-gdb-completions-1): Split from gud-gdb-completions.
404
405 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
406 function as separate arguments.
407 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
408 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
409 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
410 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
411 (gdb-stopped, def-gdb-auto-update-trigger)
412 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
413 (gdb-get-changed-registers, gdb-get-main-selected-frame):
414 Callers changed.
2170cb53
CY
415 (gud-gdbmi-completions): New function.
416 (gdb): Use it for generating the completion table.
417
be8b11bb
AM
4182011-12-24 Alan Mackenzie <acm@muc.de>
419
420 Introduce a mechanism to widen the region used in context font
1d00653d 421 locking. Use this to protect declarations from losing their contexts.
be8b11bb 422
1d00653d
SM
423 * progmodes/cc-langs.el (c-before-font-lock-functions):
424 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 425 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
426 functions to be run just before context (etc.) font locking.
427
428 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 429 New, functionality extracted from
be8b11bb 430 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 431 (c-in-after-change-fontification): New variable.
be8b11bb
AM
432 (c-after-change): Set c-in-after-change-fontification.
433 (c-set-fl-decl-start): Rejig its interface, so it can be called
434 from both after-change and context fontifying.
b81d40f0
JB
435 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
436 New functions.
437 (c-standard-font-lock-fontify-region-function): New variable.
438 (c-font-lock-fontify-region): New function.
be8b11bb 439
341cf6ac
JL
4402011-12-24 Juri Linkov <juri@jurta.org>
441
442 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
443 (Bug#10348)
444
bffcee0a
MA
4452011-12-23 Michael Albinus <michael.albinus@gmx.de>
446
447 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
448 existence of source file. (Bug#10325)
449
cb5e207c
AM
4502011-12-23 Alan Mackenzie <acm@muc.de>
451
452 Fix unstable fontification inside templates.
453
b81d40f0
JB
454 * progmodes/cc-langs.el (c-before-font-lock-functions):
455 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
456 additionally has c-set-fl-decl-start. The other languages (apart
457 from AWK) have that as a single entry.
458
b81d40f0
JB
459 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
460 The functionality for "local" declarations has been extracted to
cb5e207c
AM
461 c-set-fl-decl-start.
462
b81d40f0
JB
463 * progmodes/cc-mode.el (c-common-init, c-after-change):
464 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
465 (c-set-fl-decl-start): New function, extracted from
466 c-font-lock-enclosing-decls and enhanced.
467
60ff536c
JB
4682011-12-23 Juanma Barranquero <lekktu@gmail.com>
469
470 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
471
1c4757d6
JL
4722011-12-22 Juri Linkov <juri@jurta.org>
473
474 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
475
d031f2c7
CY
4762011-12-22 Chong Yidong <cyd@gnu.org>
477
478 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
479
bace743a
DA
4802011-12-21 Drew Adams <drew.adams@oracle.com>
481
482 * files.el (file-remote-p): Fix docstring. (Bug#10319)
483
728a1f2b
JC
4842011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
485
486 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
487
0d373f73
TZ
4882011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
489
fec0aaa4
TZ
490 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
491 highlighting and support. Fix up comments for capitalization.
492 (cfengine-mode-debug): New var.
493 (cfengine3-mode): Change the modeline indicator to "CFE3".
494 (cfengine3-font-lock-keywords): Improve defun highlighting.
495 (cfengine2-actions): Rename from `cfengine-actions'.
496 (cfengine2-font-lock-keywords): Rename from
497 `cfengine-font-lock-keywords'.
498 (cfengine2-imenu-expression): Rename from
499 `cfengine-imenu-expression'.
500 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
501 (cfengine2-beginning-of-defun): Rename from
502 `cfengine-beginning-of-defun'.
503 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
504 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
505 (cfengine2-mode): Rename from `cfengine-mode'. Change the
506 modeline indicator to "CFE2".
507 (cfengine-mode): Defalias to `cfengine-auto-mode'.
508 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 509
bc86f573
CY
5102011-12-21 Chong Yidong <cyd@gnu.org>
511
512 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
513 filename argument.
514
d45ba96b
MR
5152011-12-20 Martin Rudalics <rudalics@gmx.at>
516
517 * window.el (window-normalize-buffer-to-display): Remove.
518 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
519
a6198c90
CY
5202011-12-19 Chong Yidong <cyd@gnu.org>
521
522 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
523 Don't signal an error in a predicate function; return non-nil.
524 (vc-dir-mark-file): Move the error here.
525 (vc-dir-mark-unmark): If acting on the region, keep going if one
526 of the entries cannot be marked/unmarked.
527 (vc-dir-mark-all-files): If current entry is a directory, mark
528 only child files, as documented.
529
34c5fb55
VB
5302011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
531
532 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
533 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
534 addition.
535
c803b2b7
JD
5362011-12-18 Jan Djärv <jan.h.d@swipnet.se>
537
538 * term/ns-win.el (ns-get-selection-internal)
539 (ns-store-selection-internal): Declare.
1154d12e
JB
540 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
541 Declare as obsolete.
542 (ns-get-pasteboard, ns-paste-secondary):
543 Use ns-get-selection-internal.
544 (ns-set-pasteboard, ns-copy-including-secondary):
545 Use ns-store-selection-internal.
c803b2b7 546
9cff91f8 5472011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
548
549 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 550 (vc-deduce-fileset): Doc fix.
99a289d9 551
f16c898a
AS
5522011-12-16 Andreas Schwab <schwab@linux-m68k.org>
553
554 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
555
763237c4
SS
5562011-12-13 Sam Steingold <sds@gnu.org>
557
558 * man.el (Man-getpage-in-background): When running under a
559 window-system, ignore $MANWIDTH and $COLUMNS.
560
5fc1c122
KH
5612011-12-15 Kenichi Handa <handa@m17n.org>
562
563 * language/ethio-util.el: Change coding tag to utf-8-emacs.
564 (setup-ethiopic-environment-internal): Comment out key-binding for
565 ethio-toggle-punctuation.
566
13d49cbb
AM
5672011-12-13 Alan Mackenzie <acm@muc.de>
568
898169a2
AM
569 Add the switch statement to AWK Mode.
570
571 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
572 "default" to the keywords regexp.
573
574 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
575 expression as the rest.
1d00653d
SM
576 (c-nonlabel-token-key): Allow string literals for AWK.
577 Refactor for the other modes.
898169a2 578
13d49cbb 579 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 580 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
581 routines. Limit backward searching in c-font-lock-enclosing.decl.
582
583 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
584 pp-state and literal type in addition to the limits.
1d00653d 585 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 586 (c-state-literal-at): Use the above new defun.
1d00653d
SM
587 (c-slow-in-literal, c-fast-in-literal): Remove.
588 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
589
590 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
591 being in a literal. Add a limit for backward searching.
592
593 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
594 c-slow-in-literal.
595
15e0efc7
SM
5962011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
599
454592a6
MR
6002011-12-13 Martin Rudalics <rudalics@gmx.at>
601
602 * window.el (delete-other-windows): Use correct frame in call to
603 window-with-parameter.
604
87393f26
DP
6052011-12-12 Daniel Pfeiffer <occitan@t-online.de>
606
607 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
608 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
609 (makefile-gmake-statements, makefile-makepp-statements):
610 Use it and add new makepp keywords.
611 (makefile-makepp-font-lock-keywords): Add new patterns.
612 (makefile-match-function-end): Match new [...] and [[...]].
613
11636b22
JB
6142011-12-11 Juanma Barranquero <lekktu@gmail.com>
615
616 * ses.el (ses-call-printer-return, ses-cell-property-get)
617 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
618 (ses-create-cell-variable, ses-reset-header-string)
619 (ses-cell-set-formula, ses-repair-cell-reference-all)
620 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
621 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
622 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
623 (ses-aset-with-undo, ses-load, ses-truncate-cell)
624 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
625 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
626 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
627 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
628 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
629 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
630 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
631 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
632
cf018193
VB
6332011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
634
635 * ses.el: The overall change is to add cell renaming, that is
636 setting fancy names for cell symbols other than name matching
637 "\\`[A-Z]+[0-9]+\\'" regexp .
638 (ses-create-cell-variable): New defun.
639 (ses-relocate-formula): Relocate formulas only for cells the
640 symbols of which are not renamed, i.e. symbols whose names do not
641 match regexp "\\`[A-Z]+[0-9]+\\'".
642 (ses-relocate-all): Relocate values only for cells the symbols of
643 which are not renamed.
644 (ses-load): Create cells variables as the (ses-cell ...) are read,
645 in order to check row col consistency with cell symbol name only
646 for cells that are not renamed.
647 (ses-replace-name-in-formula): New defun.
648 (ses-rename-cell): New defun.
649
ee957461
CY
6502011-12-11 Chong Yidong <cyd@gnu.org>
651
652 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
653 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
654
9a9e9ef0
MR
6552011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
656
657 * window.el (other-window): Fix docstring.
658
92a8eba5
EZ
6592011-12-10 Eli Zaretskii <eliz@gnu.org>
660
661 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
662 `from' or `to' address before taking its substring.
663 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
664 encoded name is chopped in the middle of the encoded string, and
665 thus displayed encoded.
666
e152e577
JB
6672011-12-10 Juanma Barranquero <lekktu@gmail.com>
668
669 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
670
e5d84bfe
EZ
6712011-12-10 Eli Zaretskii <eliz@gnu.org>
672
673 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
674 to use texinfo-update-node and commands that call it if the
675 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 676 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
677 (texinfo-all-menus-update, texinfo-master-menu)
678 (texinfo-update-node, texinfo-every-node-update)
679 (texinfo-multiple-files-update): Doc fix. Warn against updating
680 all the @node lines.
681 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
682 argument is numeric. Explain better in the doc string what the
683 function really does.
684 (texinfo-insert-master-menu-list): Improve the error message
685 displayed if there's no menu in the Top node.
686 (Bug#2975) See also this thread:
e5d84bfe
EZ
687 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
688
1d84e9bb
MG
6892011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
690
691 * speedbar.el (speedbar-supported-extension-expressions):
692 Add .adb and .ads, commonly used for Ada source code (bug#10256).
693
382c953b
JB
6942011-12-09 Juanma Barranquero <lekktu@gmail.com>
695
696 * printing.el (pr-mode-alist):
697 * simple.el (filter-buffer-substring-functions)
698 (completion-list-insert-choice-function):
699 * window.el (window-with-parameter, window-atom-root)
700 (window-sides-slots, window-size-fixed, window-min-delta)
701 (window-max-delta, window--resize-mini-window)
702 (window--resize-child-windows-normal, window-tree)
703 (delete-other-windows, quit-window, split-window)
704 (display-buffer-record-window, special-display-buffer-names)
705 (special-display-regexps, special-display-popup-frame)
706 (same-window-p, split-window-sensibly)
707 (display-buffer-overriding-action, display-buffer-alist)
708 (display-buffer-base-action, display-buffer, switch-to-buffer)
709 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
710 (fit-window-to-buffer, recenter-positions)
711 (mouse-autoselect-window-state, mouse-autoselect-window-select):
712 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
713 and remove unneeded backslashes in docstrings.
714
39c9faef
SM
7152011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
716
98449af8
SM
717 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
718
39c9faef
SM
719 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
720 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
721 end in ".mk".
722 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
723 when reading the makefile (bug#10116).
724
86ed9fdc
SM
7252011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
728 (bug#10116).
729
5580f89d
GM
7302011-12-06 Glenn Morris <rgm@gnu.org>
731
732 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
733
28d3917c
CY
7342011-12-06 Chong Yidong <cyd@gnu.org>
735
736 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
737
a98edce9
JB
7382011-12-06 Juanma Barranquero <lekktu@gmail.com>
739
740 * textmodes/table.el (table-shorten-cell): Fix typo.
741
e65adfac
CG
7422011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
743
744 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
745
71cc0b74
EZ
7462011-12-05 Eli Zaretskii <eliz@gnu.org>
747
748 * descr-text.el (describe-char): Fix display of strong
749 right-to-left characters and directional embeddings and overrides.
750
751 * simple.el (what-cursor-position): Fix display of codepoints of
752 strong right-to-left characters.
753
315bc30d
CY
7542011-12-05 Chong Yidong <cyd@gnu.org>
755
756 * faces.el (read-color): Doc fix.
757
58a70b94
GM
7582011-12-05 Glenn Morris <rgm@gnu.org>
759
760 * align.el (align--set-marker): Add doc-string.
761 Don't try to move something that is not a marker. (Bug#10216)
762
5158face
GM
7632011-12-04 Glenn Morris <rgm@gnu.org>
764
765 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
766 overly zealous deletion of trailing whitespace.
767
520fca41
JB
7682011-12-04 Juanma Barranquero <lekktu@gmail.com>
769
770 * server.el (server-delete-client): On Windows, do not try to delete
771 the only terminal.
772 (server-process-filter): On Windows, treat requests for a tty frame as
773 if they were for a GUI frame if the running server is in GUI mode.
774
5e605a2e
GM
7752011-12-03 Glenn Morris <rgm@gnu.org>
776
777 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
778
5c3fe83f
SM
7792011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
780
6f5e57e7
SM
781 * electric.el: Streamline electric-indent's hook.
782 (electric-indent-chars): Revert to simple list.
783 (electric-indent-functions): New var.
784 (electric-indent-post-self-insert-function): Use it.
785
5c3fe83f
SM
786 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
787 there's no inferior buffer (bug#10196).
788 (prolog-consult-compile): Don't use toggle-read-only.
789
6bdac736
MA
7902011-12-02 Michael Albinus <michael.albinus@gmx.de>
791
792 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
793 interrupt. (Bug#10187)
794
6131ba7f
SM
7952011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
796
99c79fee
SM
797 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
798 (bug#9160).
799
6131ba7f
SM
800 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
801 (bug#10191).
802
cb0a02ea
JL
8032011-12-02 Juri Linkov <juri@jurta.org>
804
805 * info.el (Info-search): Display "end of manual" when Isearch
806 reaches the end of single-file Info manual. (Bug#9918)
807
66e0570c
EZ
8082011-12-02 Eli Zaretskii <eliz@gnu.org>
809
810 * isearch.el (isearch-message-prefix): Run the input method part
811 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
812
02b16839
JL
8132011-12-02 Juri Linkov <juri@jurta.org>
814
815 * isearch.el (isearch-occur): Use `word-search-regexp' for
816 `isearch-word'.
817 (isearch-search-and-update): Add condition for `isearch-word' and
818 call `word-search-regexp'. (Bug#10145)
819
0b950688
GM
8202011-12-01 Glenn Morris <rgm@gnu.org>
821
822 * eshell/em-hist.el (eshell-hist-initialize):
823 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 824 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 825
9505c3c7
SM
8262011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
829
1bbe96b2 8302011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 831
a1beca85
SM
832 * progmodes/verilog-mode.el (verilog-pretty-expr):
833 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
834 verilog, such as += *= and the like.
835 (verilog-assignment-operator-re): Regular expression to find the
836 assigment operator in a verilog assignment.
837 (verilog-assignment-operation-re): Regular expression to find an
838 assignment statement for pretty-expr.
839 (verilog-in-attribute-p): Query returns true if point is in an
840 attribute context; used to skip these for expression line up from
841 pretty-expr.
842 (verilog-in-parameter-p): Query returns true if point is in an
843 parameter definition context; used to skip these for expression
844 line up from pretty-expr.
845 (verilog-in-parenthesis-p): Query returns true if point is in a
846 parenthetical expression, specifically ( ) but not [ ] or { };
847 used by pretty-expr.
848 (verilog-just-one-space): If there is no space, don't add one.
849 (verilog-get-lineup-indent-2): Specifically skip just attribute
850 contexts for expression lineup, rather than skipping all
851 parenthetical expressions.
852 (verilog-calculate-indent): Fix comment, and fix indent.
853 (verilog-do-indent): Indent declarations in lists (suggested by
854 Joachim Lechner).
855 (verilog-mode-abbrev-table): Populate abbrev mode with the various
856 skeleton items.
857 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
858 by Alain Mellan).
859
1bbe96b2 8602011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
861
862 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
863 parameters with embedded comments. Reported by Ray Stevens.
864 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
865 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
866 Reported by Tim Holt.
867 (verilog-auto): Fix AUTOing a upper module then AUTOing module
868 instantiated by upper module causing wrong expansion until AUTOed a
869 second time. Reported by K C Buckenmaier.
870 (verilog-diff-auto): Fix showing .* as a difference when
871 `verilog-auto-star-save' off. Reported by Dan Dever.
872 (verilog-auto-reset, verilog-read-always-signals)
873 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
874 temporary signals in reset list if
875 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
876 style to each signal's assignment type, bug381.
877 Reported by Thomas Esposito.
6288f0ca
WS
878 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
879 (verilog-uvm-statement-re): Support UVM indentation and
880 highlighting, with old OVM keywords only.
a1beca85 881 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
882 Support AUTOTIEOFF creating non-wire data types.
883 Suggested by Jonathan Greenlaw.
6288f0ca
WS
884 (verilog-auto-insert-lisp, verilog-delete-to-paren)
885 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
886 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
887 (verilog-read-sub-decls, verilog-read-sub-decls-line):
888 Fix mismatching parenthesis inside commented out code when deleting
382c953b 889 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
890 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
891 non-numeric vector width. Reported by Alex Reed.
892 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 893 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
894 (verilog-auto-delete-trailing-whitespace):
895 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
896 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
897 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
898 Fix verilog-scan-cache corruption when running user AUTO expansion
899 hooks that call indentation routines.
900 (verilog-simplify-range-expression): Fix typo ignoring lower case
901 identifiers.
902 (verilog-delete-auto): Fix delete-autos to also remove user created
903 automatics, as long as they start with AUTO.
904 (verilog-batch-diff-auto, verilog-diff-auto)
905 (verilog-diff-function): Add `verilog-diff-auto' and bind to
906 "C-c?" to report differences in AUTO expansion, ignoring spaces.
907 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
908 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
909 (verilog-re-search-forward-quick, verilog-syntax-ppss):
910 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
911 is disabled and its cache will get corrupt, causing AUTOS not to
912 expand. Instead use only -quick functions.
913 (verilog-scan-region): Fix scanning over escaped quotes.
914 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
915 (verilog-re-search-backward-quick)
916 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
917 related functions now ignore strings, to fix misparsing of strings
918 with magic comments embedded in them.
a1beca85
SM
919 (verilog-read-auto-template):
920 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
921 Reported by Brad Dobbie.
922 (verilog-read-auto-template):
923 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 924 Reported by Brad Dobbie.
6288f0ca
WS
925 (verilog-auto-inst, verilog-auto-inst-param)
926 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
927 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
928 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
929 debugging templates without merge conflicts, bug357.
930 Reported by Brad Dobbie.
931 (verilog-read-auto-template):
932 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
933 Reported by Brad Dobbie.
934 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
935 abbrevs so user won't be asked to save.
936 (verilog-read-auto-lisp-present): Fix to start at beginning of
937 buffer in case called outside of verilog-auto.
938 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
939 to "X-2". Reported by Matthew Myers.
940 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
941 all inputs from module templates. Reported by Leith Johnson.
942 (verilog-module-inside-filename-p): Fix locating programs as with
943 modules.
944 (verilog-auto-inst-port): Fix vl-width expressions when using
945 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
946 (verilog-decls-get-regs, verilog-decls-get-signals,
947 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
948 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
949 verilog-read-decls): Combine reg and wire structures into one var
950 structure to represent SystemVerilog concepts.
951 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
952 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
953 (verilog-auto-wire-type, verilog-insert-definition):
954 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
955 SystemVerilog "logic" keyword instead of "wire"/"reg".
956 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
957 to declares outputs that also have assignments (presumably in an
a1beca85
SM
958 ifdef or generate if so there's not a driver conflict).
959 Reported by Matthew Myers.
960 (verilog-auto-declare-nettype, verilog-insert-definition):
961 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
962 `default_nettype none. Reported by Julian Gorfajn.
963 (verilog-read-always-signals-recurse, verilog-read-decls)
964 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
965 malformed end statement, bug325. Reported by Joshua Wise and
966 Andrew Drake.
967 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
968 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
969 when expanding .* in interfaces, bug320.
970 Reported by Pierre-David Pfister.
6288f0ca 971 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
972 name and open parenthesis, bug317.
973 Reported by Pierre-David Pfister.
6288f0ca
WS
974 (verilog-simplify-range-expression): Fix simplification of
975 multiplications inside AUTOWIRE connections, bug303.
976 (verilog-auto-inst-port): Support parameter expansion in
977 multidimensional arrays.
978 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
979 after "assert property". Reported by Julian Gorfajn.
980 (verilog-simplify-range-expression): Fix "couldn't merge" errors
981 with multiplication, bug303.
982 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
983 Reported by Jan Frode Lonnum.
984
1bbe96b2
GM
9852011-11-30 Juanma Barranquero <lekktu@gmail.com>
986
987 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
988 (hfy-shell-file-name, hfy-shell):
989 * international/fontset.el (x-decompose-font-name): Fix typos.
990
9912011-11-29 Ken Brown <kbrown@cornell.edu>
992
993 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
994 (gdb-version): Remove defvar.
995 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
996 (gdb-gud-context-command, gdb-non-stop-handler)
997 (gdb-current-context-command, gdb-stopped): Use it.
998 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
999 (gdb-non-stop-handler): Don't enable pretty-printing here.
1000 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1001 non-stop mode. Use the following.
1002 (gdb-check-target-async): New defun.
1003 (gud-watch, gdb-stopped): Fix whitespace.
1004 (gdb-get-source-file): Don't try to display the source file if
1005 `gdb-main-file' is nil.
1006
10072011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * align.el: Try to generate fewer markers (bug#10047).
1010 (align--set-marker): New macro.
1011 (align-region): Use it.
1012
c935221f
SM
10132011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1016
e70b5064
CY
10172011-11-29 Chong Yidong <cyd@gnu.org>
1018
1019 * indent.el (indent-for-tab-command, indent-according-to-mode):
1020 Doc fix.
1021 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1022
f3af92b7
MA
10232011-11-29 Michael Albinus <michael.albinus@gmx.de>
1024
1025 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1026 aware of remote file names. (Bug#10124)
1027
ed472be9
CY
10282011-11-29 Chong Yidong <cyd@gnu.org>
1029
1030 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1031
24510c22
SM
10322011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * files.el (find-file): Don't use force-same-window (bug#10144).
1035 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1036 use pop-to-buffer if the selected window can't be used.
1037 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1038
c60c3703
EZ
10392011-11-28 Eli Zaretskii <eliz@gnu.org>
1040
1041 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1042 special-mode-map.
1043
e95def75
CY
10442011-11-28 Chong Yidong <cyd@gnu.org>
1045
1046 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1047
c3f1c606
NR
10482011-11-27 Nick Roberts <nickrob@snap.net.nz>
1049
1050 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1051 gdb-get-source-file-list on gdb-create-source-file-list.
1052
00db469c
EZ
10532011-11-26 Eli Zaretskii <eliz@gnu.org>
1054
1055 * whitespace.el (whitespace-newline): Use a different foreground
1056 color for 16-color light-background displays.
1057
4ad3bc2a
CY
10582011-11-24 Chong Yidong <cyd@gnu.org>
1059
1060 * window.el (display-buffer--special-action): Doc fix.
1061
e9fce1ac
JB
10622011-11-25 Juanma Barranquero <lekktu@gmail.com>
1063
1064 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1065 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1066 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1067 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1068 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1069 (avl-tree-stack-first):
1070 * emacs-lisp/cconv.el (cconv--analyse-use):
1071 * net/gnutls.el (gnutls-negotiate): Fix typos.
1072
cb825e5d
GM
10732011-11-24 Glenn Morris <rgm@gnu.org>
1074
3adbe224
GM
1075 * lpr.el (lpr-windows-system, lpr-lp-system):
1076 * mail/binhex.el (binhex-begin-line):
1077 * progmodes/grep.el (grep-history, grep-find-history):
1078 * textmodes/flyspell.el:
1079 * vc/pcvs-defs.el (cvs-global-menu):
1080 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1081 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1082 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1083
321decc8
GM
1084 * net/tls.el: Fix case of "GnuTLS".
1085
420b63ad
GM
1086 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1087
cb825e5d
GM
1088 * version.el (emacs-build-system): Give it a doc-string.
1089
a0649f08
JL
10902011-11-24 Juri Linkov <juri@jurta.org>
1091
1092 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1093
c0bc0fd4
GM
10942011-11-24 Glenn Morris <rgm@gnu.org>
1095
1096 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1097 if called on a non-mime message just toggle the headers. (Bug#8006)
1098
20db1522
JB
10992011-11-24 Juanma Barranquero <lekktu@gmail.com>
1100
1101 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1102 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1103 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1104 (allout-rebullet-heading, allout-open-sibtopic)
1105 (allout-toggle-current-subtree-encryption)
1106 (allout-toggle-subtree-encryption, allout-encrypt-string)
1107 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1108 (allout-distinctive-bullets-string, allout-auto-activation):
1109 * window.el (window-normalize-buffer-to-display):
1110 * progmodes/verilog-mode.el (verilog-batch-indent):
1111 * textmodes/bibtex.el (bibtex-field-braces-opt)
1112 (bibtex-field-strings-opt):
1113 * vc/cvs-status.el (cvs-tree-merge):
1114 Fix typos.
1115
7262a87c
MA
11162011-11-23 Michael Albinus <michael.albinus@gmx.de>
1117
1118 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1119 `non-essential' to t, in order to avoid remote connections.
1120
283430a1
EZ
11212011-11-23 Eli Zaretskii <eliz@gnu.org>
1122
a1beca85
SM
1123 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1124 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1125 case-insensitively.
1126
d2992a38
ML
11272011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1128
1129 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1130
50419064
GM
11312011-11-23 Glenn Morris <rgm@gnu.org>
1132
da94eca1
GM
1133 * paths.el (rmail-file-name): Reformat the doc-string so that it
1134 is picked up.
1135
9aac4de2
GM
1136 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1137 (rmail-auto-file): Ignore case in the "special" field names,
1138 as mail-fetch-field does for all others.
1139
8038d2d2
GM
1140 * mail/rmail.el (rmail-forward):
1141 * mail/rmailkwd.el (rmail-set-label):
1142 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1143 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1144
f3fe222a
GM
1145 * mail/rmail.el (rmail-current-message): Doc fix.
1146
50419064
GM
1147 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1148
28109f49
SM
11492011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1152
394c65f1
GM
11532011-11-22 Glenn Morris <rgm@gnu.org>
1154
1155 * mail/rmailmm.el (test-rmail-mime-handler)
1156 (test-rmail-mime-bulk-handler)
1157 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1158
f2a0aa3a
JL
11592011-11-21 Juri Linkov <juri@jurta.org>
1160
1154d12e
JB
1161 * calc/calc.el (calc-read-key-sequence):
1162 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1163
9c34a344
LMI
11642011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1165
1166 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1167 Tell the caller that the next line needs recomputation, even
1168 though it doesn't start a sexp (bug#10094).
1169
f04a3be9
SM
11702011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1173
7978747f
SM
11742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1175
f04a3be9
SM
1176 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1177 Use force-same-window.
7978747f 1178
fe7a3057
JB
11792011-11-20 Juanma Barranquero <lekktu@gmail.com>
1180
1181 * descr-text.el (describe-char-unicode-data):
1182 * json.el (json-string-escape):
1183 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1184 (Footnote-unicode, Footnote-style-p):
1185 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1186
24901d61
CY
11872011-11-20 Chong Yidong <cyd@gnu.org>
1188
1189 * window.el (replace-buffer-in-windows): Restore interactive spec.
1190
bac7ff22
SM
11912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1192
24f3d7b9
SM
1193 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1194
bac7ff22
SM
1195 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1196 (byte-compile-global-not-obsolete-vars): New var.
1197 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1198 Use it.
1199 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1200
cd1181db
JB
12012011-11-20 Juanma Barranquero <lekktu@gmail.com>
1202
1203 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1204 * progmodes/pascal.el (electric-pascal-equal):
1205 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1206 * xml.el (xml-substitute-special): Fix typos.
1207
7fb18e9e
GM
12082011-11-20 Glenn Morris <rgm@gnu.org>
1209
1210 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1211 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1212 Doc fixes.
1213 (rmail-decode-mime-charset): Mark as obsolete.
1214
1215 * mail/rmailsum.el (rmail-message-regexp-p-1):
1216 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1217 Before using mime functions, check they are set. (Bug#10077)
1218
d5a6b3ba
JL
12192011-11-19 Juri Linkov <juri@jurta.org>
1220
1221 * info.el (Info-finder-find-node): Use `package--builtins' instead
1222 of `package-alist'. Use node names formed by the pattern "Keyword "
1223 and the keyword name.
1224
e981b61f
AS
12252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1226
1d00653d 1227 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1228
3ffbc301
JL
12292011-11-19 Juri Linkov <juri@jurta.org>
1230
1231 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1232 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1233 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1234 `old-history', `old-history-forward'. Add let-binding
1235 `window-selected'. Remove calls to `kill-buffer',
1236 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1237 before calling `Info-find-node', so `Info-find-node-2' will reread
1238 the Info file. Restore window positions only when `window-selected'
1239 is non-nil.
1240
30c62133
JL
12412011-11-19 Juri Linkov <juri@jurta.org>
1242
1243 * isearch.el (isearch-lazy-highlight-new-loop):
1244 Remove condition `(not isearch-error)'. (Bug#9918)
1245
1246 * misearch.el (multi-isearch-search-fun): Add condition
1247 `(not bound)' to ignore lazy-highlighting search.
1248 Add the search-failed message "end of multi" when the end of
1249 multi-sequence is reached. Uncapitalize the search-failed
1250 message "Repeat for next buffer".
1251
1252 * info.el (Info-search): Add the search-failed message
1253 "end of the manual" when the end of the manual is reached
1254 in Isearch mode.
1255
645ca9cf
JL
12562011-11-19 Juri Linkov <juri@jurta.org>
1257
1258 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1259 Use non-destructive `remove' instead of `delete' because
1260 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1261 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1262
df754f66
JL
12632011-11-19 Juri Linkov <juri@jurta.org>
1264
1265 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1266 to nil instead of binding `search-ring' and `regexp-search-ring'.
1267 (Bug#9185)
1268
0e23d96a
EZ
12692011-11-19 Eli Zaretskii <eliz@gnu.org>
1270
1271 * simple.el (line-move): Force movement by logical lines for any
1272 hscrolled window, not only when auto-hscroll-mode is on.
1273 (line-move-visual): Update doc string to that effect. (Bug#10076)
1274
8a6ccb66
AS
12752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1276
1277 * language/european.el (macintosh): Define as alias for mac-roman.
1278
49ae5b39
EZ
12792011-11-19 Eli Zaretskii <eliz@gnu.org>
1280
1281 * mail/rmailmm.el (rmail-mime-display-header)
1282 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1283 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1284 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1285 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1286 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1287 of a raw aref.
1288 (rmail-mime-entity-segment): To get past the tagline, move forward
1289 2 more lines, to account for the 2 empty lines that precede and
1290 follow the line with the buttons.
1291 (rmail-mime-update-tagline): Move one more line, to get past the
1292 empty line that follows the buttons in the tagline. (Bug#9520)
1293
c56cad4a
MR
12942011-11-19 Martin Rudalics <rudalics@gmx.at>
1295
1296 * window.el (window-max-delta-1, window-min-delta-1)
1297 (window-min-size-1, window-state-get-1, window-state-put-1)
1298 (window-state-put-2): Use "window--" prefix.
1299
cbe71af3
SM
13002011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1301
2ad52c60
SM
1302 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1303 (smie-warning-count): New var.
1304 (smie-set-prec2tab): Use it.
1305 (smie-bnf->prec2): Improve warnings. Add docstring.
1306 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1307 (smie-bnf--set-class): New function.
1308 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1309 corner case.
1310
6944dbc1
SM
1311 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1312 (compilation-error-properties, compilation-move-to-column):
1313 Handle compilation-first-column while in the target buffer.
1314
c400c4d7
SM
1315 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1316 Don't hardcode point-min==1.
1317
6dbe3e96
SM
1318 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1319 (eshell-rewrite-for-command): Remove workaround.
1320 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1321 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1322 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1323
cbe71af3
SM
1324 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1325
a8e1496d
GM
13262011-11-17 Glenn Morris <rgm@gnu.org>
1327
1328 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1329 Ignore buffer-local generated-autoload-file if it is the same
1330 as the global value. (Bug#10049)
1331
df85d315
JB
13322011-11-17 Juanma Barranquero <lekktu@gmail.com>
1333
1334 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1335 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1336 (reftex-toc-previous-heading, reftex-toc-max-level)
1337 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1338 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1339 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1340 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1341 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1342 (reftex-toc-rename-label, reftex-toc-visit-location)
1343 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1344 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1345 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1346 leaving "*toc*" only for references to the buffer.
1347
a0c2d0ae
MR
13482011-11-17 Martin Rudalics <rudalics@gmx.at>
1349
1350 * window.el (window-resize, delete-window, split-window):
1351 Replace window-splits by window-combination-resize.
1d00653d 1352 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1353
35c0bac8
GM
13542011-11-17 Glenn Morris <rgm@gnu.org>
1355
1356 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1357 Make bash entry derive from sh entry, not shell entry.
1358
d0c8fc8a
MA
13592011-11-16 Michael Albinus <michael.albinus@gmx.de>
1360
d0c8fc8a
MA
1361 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1362 properties of linked files. (Bug#9879)
1363
7262a87c
MA
1364 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1365 local file name.
1366
7877f373
JB
13672011-11-16 Juanma Barranquero <lekktu@gmail.com>
1368
1369 * menu-bar.el (menu-bar-file-menu):
1370 * printing.el (pr-ps-utility):
1371 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1372 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1373 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1374 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1375 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1376 (icalendar--convert-cyclic-to-ical)
1377 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1378 (icalendar--convert-ical-to-diary)
1379 (icalendar--convert-recurring-to-diary)
1380 (icalendar--convert-non-recurring-all-day-to-diary)
1381 (icalendar-import-format-sample):
1382 * progmodes/idlw-shell.el (idlwave-shell-mode):
1383 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1384 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1385 (vhdl-ps-print-init): Fix typos.
1386
10649b82
KM
13872011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1388
9d0cfcd6
GM
1389 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1390 FSF and collapse date sequence, obscure author/maintainer email address
1391 better, remove extra version line, track relocation of author's webpage.
10649b82 1392
9d0cfcd6
GM
1393 * progmodes/python.el (python-pdbtrack-input-prompt)
1394 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1395 regular python pdb prompts. Adjustments shamelessly taken exactly as
1396 suggested in EmacsWiki page (tiny change):
1397 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1398
58179cce
JB
13992011-11-16 Juanma Barranquero <lekktu@gmail.com>
1400
1401 * expand.el (expand-pos, expand-index, expand-point):
1402 Remove redundant info from docstring.
1403 (expand-add-abbrevs): Doc fix.
1404 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1405 (expand-sample-perl-mode-expand-list): Fix typos.
1406
1407 * net/dbus.el (dbus-event-member-name):
1408 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1409 * term/pc-win.el (msdos-create-frame-with-faces):
1410 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1411
b6f67890
MR
14122011-11-16 Martin Rudalics <rudalics@gmx.at>
1413
1414 * window.el (split-window, window-state-get-1)
1415 (window-state-put-1, window-state-put-2): Rename occurrences of
1416 window-nest to window-combination-limit.
1d00653d 1417 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1418
ce7ddba0
CY
14192011-11-16 Chong Yidong <cyd@gnu.org>
1420
1421 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1422 regexp (Bug#10033).
1423
3ae704f4
SM
14242011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1427 `completing-read' will remove *Completions* and will preserve
1428 current-buffer for us.
1429 (tmm-add-prompt): Users of *Completions* will always (re)set its
1430 major mode.
1431 (tmm-old-comp-map): Remove.
1432
6ad1cdde
GM
14332011-11-16 Glenn Morris <rgm@gnu.org>
1434
1435 * mail/rmailedit.el: Require rmailmm when compiling.
1436 (rmail-old-mime-state): New declaration.
1437 (rmail-edit-current-message): If editing a mime message,
1438 edit the "raw" message from the mbox buffer.
1439 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1440
d20faa20
GM
14412011-11-15 Glenn Morris <rgm@gnu.org>
1442
1443 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1444 which wasn't being used. Add optional arg to force given state.
1445 (rmail-mime): Add optional arg to force given state.
1446
c7015153
JB
14472011-11-15 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1450 * frame.el (display-mm-dimensions-alist):
1451 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1452 (outline-move-subtree-down):
1453 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1454 (newsticker--treeview-do-get-node):
1455 * net/quickurl.el (quickurl-list-buffer-name):
1456 * progmodes/dcl-mode.el (dcl-mode):
1457 * progmodes/gdb-mi.el (gdb-mapcar*):
1458 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1459
45261b50
GM
14602011-11-15 Glenn Morris <rgm@gnu.org>
1461
1462 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1463 in a boolean sense, so just make it a boolean, and fix the doc.
1464 (rmail-show-mime-function, rmail-mime-feature)
1465 (rmail-require-mime-maybe): Doc fixes.
1466 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1467
1468 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1469
0d26e0b6
JB
14702011-11-15 Juanma Barranquero <lekktu@gmail.com>
1471
1472 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1473 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1474 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1475 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1476
447f30f6
GM
14772011-11-15 Glenn Morris <rgm@gnu.org>
1478
672b871d
GM
1479 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1480 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1481 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1482 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1483 (rmail-mime, rmail-show-mime): Doc fixes.
1484
f6aa5bb1
GM
1485 * term/ns-win.el (mode-line-frame-identification):
1486 Leave it alone. (Bug#10051)
1487
947cd66b
GM
1488 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1489
447f30f6
GM
1490 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1491 Handle empty buffers. (Bug#9978)
1492
0b381c7e
JB
14932011-11-14 Juanma Barranquero <lekktu@gmail.com>
1494
1495 * international/mule.el (define-charset):
1496 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1497 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1498 * progmodes/verilog-mode.el (verilog-backward-token):
1499 * textmodes/ispell.el (lookup-words):
1500 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1501
71e027ac
GM
15022011-11-14 Glenn Morris <rgm@gnu.org>
1503
56632ce4
GM
1504 * progmodes/executable.el
1505 (executable-make-buffer-file-executable-if-script-p):
1506 Handle file-modes returning nil.
1507
40500957
GM
1508 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1509 message - not necessary, and causes problems. (Bug#9831)
1510
071c2340
GM
1511 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1512
d3cfca60
GM
1513 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1514
71e027ac
GM
1515 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1516 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1517 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1518
89d61221
MR
15192011-11-12 Martin Rudalics <rudalics@gmx.at>
1520
1521 * window.el (window-resize, delete-window): Use window-splits
1522 variable instead of function.
1523 (window-state-get-1, window-state-put-2, window-state-put):
1524 Don't deal with windows' splits status.
1525
98282f6f
GM
15262011-11-12 Glenn Morris <rgm@gnu.org>
1527
1528 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1529 (apropos-documentation): Doc fixes.
1530
40a8bdf6
JB
15312011-11-11 Juanma Barranquero <lekktu@gmail.com>
1532
1533 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1534 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1535
65bd19ff
SM
15362011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * electric.el (electric-indent-post-self-insert-function): Make it
1539 possible for a char to only indent in some circumstances.
1540 (electric-indent-mode): Simplify.
1541
54f9154c
MR
15422011-11-11 Martin Rudalics <rudalics@gmx.at>
1543
1544 * window.el (windows-with-parameter): Remove unused function.
1545 (windows-at-side): Rename to window-at-side-list.
1546 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1547 (window-side-check, window-size-ignore, window-size-fixed-1)
1548 (window-in-direction-2): Prefix with "window--".
1549 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1550
68cbc58b
GM
15512011-11-11 Glenn Morris <rgm@gnu.org>
1552
1553 * subr.el (eval-after-load): If FILE is already loaded,
1554 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1555
b2621720
GM
15562011-11-10 Glenn Morris <rgm@gnu.org>
1557
9a4de110
GM
1558 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1559 Call svn via vc-svn-command rather than vc-do-command.
1560 (vc-svn-command): Add --non-interactive. (Bug#9993)
1561 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1562
b2621720
GM
1563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1564 Add toggle-read-only. (Bug#7292)
1565 * files.el (toggle-read-only): Mention that it should only
1566 be used interactively. (Bug#10006)
1567
1dce7193
SM
15682011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1569
d9ac1a1e
SM
1570 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1571 Adjust regexp for OCaml warnings.
1572
0c325082
SM
1573 * electric.el (electric-pair-post-self-insert-function): Let user
1574 turn it off buffer-locally (bug#9932).
1575
90132c14
SM
1576 * progmodes/python.el (python-beginning-of-statement):
1577 Rewrite (bug#2703).
1578
1dce7193
SM
1579 * progmodes/compile.el: Better handle TABs (bug#9749).
1580 (compilation-internal-error-properties)
1581 (compilation-next-error-function): Obey the target buffer's
1582 compilation-error-screen-columns.
1583
c4e7c63a
JB
15842011-11-09 Juanma Barranquero <lekktu@gmail.com>
1585
1586 * progmodes/meta-mode.el: Remove obsolete comments.
1587 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1588 Fix typos in docstrings.
1589
2cffd681
MR
15902011-11-09 Martin Rudalics <rudalics@gmx.at>
1591
1592 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1593 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1594 (window--resizable): New function. Make all callers of
1595 window-resizable call window--resizable instead.
1596 (window-resizable): Rewrite in terms of window--resizable.
1597
0edcba87
GM
15982011-11-08 Glenn Morris <rgm@gnu.org>
1599
1600 * progmodes/delphi.el (delphi-mode-syntax-table):
1601 Let define-derived-mode define a proper syntax table. (Bug#9994)
1602
4b0d61e3
SM
16032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * window.el: Stay away from defsubst.
1606 (window-list-no-nils): Remove.
1607 (window-state-get-1, window-state-get): Use backquote instead.
1608
cd394be1 16092011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1610
4b0d61e3 1611 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1612 Fix incorrect use of default argument in `completing-read'.
1613
e1c2c6f2
MR
16142011-11-08 Martin Rudalics <rudalics@gmx.at>
1615
1616 * window.el (display-buffer-function, special-display-function):
1617 Mention display-buffer-record-window but do not mention
1618 help-setup parameter in doc-strings.
b3f4a882 1619 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1620
105216ed
CY
16212011-11-08 Chong Yidong <cyd@gnu.org>
1622
1623 * window.el (window-total-height, window-total-width): Doc fix.
1624 (window-body-size): Move from C.
1625 (window-body-height, window-body-width): Move to C.
1626
0a9f9ab5
SM
16272011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * window.el: Make special-display like display-buffer-alist (bug#9532).
1630 (display-buffer--special-action): New function, morphed
1631 from display-buffer--special.
1632 (display-buffer): Use it to handle special-display-buffers at higher
1633 priority (just after display-buffer-alist).
1634 (display-buffer-fallback-action, display-buffer--other-frame-action)
1635 (pop-to-buffer-same-window): Remove display-buffer--special.
1636
a769dd15
GM
16372011-11-07 Glenn Morris <rgm@gnu.org>
1638
1639 * calendar/cal-menu.el (cal-menu-set-date-title):
1640 Do nothing if not in a calendar. (Bug#9976)
1641
05a61ee3
SM
16422011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * files.el (find-file): Always use selected-window.
1645
be7f5545
MR
16462011-11-07 Martin Rudalics <rudalics@gmx.at>
1647
1648 * window.el (window-combinations): Make WINDOW argument
1649 mandatory. Rewrite doc-string.
1650 (walk-window-subtree, window-atom-check, window-min-delta)
1651 (window-max-delta, window--resize-this-window)
1652 (window--resize-root-window-vertically, window-tree)
1653 (balance-windows, window-state-put): Rewrite doc-strings as to
1654 not mention the term "subwindow".
1655 (window--resize-subwindows-skip-p): Rename to
1656 window--resize-child-windows-skip-p.
1657 (window--resize-subwindows-normal): Rename to
1658 window--resize-child-windows-normal.
1659 (window--resize-subwindows): Rename to
1660 window--resize-child-windows.
1661 (window-or-subwindow-p): Rename to window--in-subtree-p.
1662
3c6702ef
ML
16632011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1664
1665 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1666 Ensure that mbox format messages end in two newlines (Bug#9974).
1667
49745b39
CY
16682011-11-06 Chong Yidong <cyd@gnu.org>
1669
1670 * window.el (window-combination-p): Function deleted; its
1671 side-effect is not used in any existing code.
1672 (window-combinations, window-combined-p): Call window-*-child
1673 directly.
1674
24300f5f
CY
16752011-11-05 Chong Yidong <cyd@gnu.org>
1676
1677 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1678 (window-size-ignore, window-state-get): Callers changed.
1679 (window-normalize-window): Rename from window-normalize-any-window.
1680 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1681 (window-normalize-live-window): Delete.
447f16b8
CY
1682 (window-combination-p, window-combined-p, window-combinations)
1683 (walk-window-subtree, window-atom-root, window-min-size)
1684 (window-sizable, window-sizable-p, window-size-fixed-p)
1685 (window-min-delta, window-max-delta, window-resizable)
1686 (window-resizable-p, window-full-height-p, window-full-width-p)
1687 (window-current-scroll-bars, window-point-1, set-window-point-1)
1688 (window-at-side-p, window-in-direction, window-resize)
1689 (adjust-window-trailing-edge, maximize-window, minimize-window)
1690 (window-deletable-p, delete-window, delete-other-windows)
1691 (record-window-buffer, unrecord-window-buffer)
1692 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1693 (quit-window, split-window, window-state-put)
1694 (set-window-text-height, fit-window-to-buffer)
1695 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1696
89bd5ee1
EZ
16972011-11-04 Eli Zaretskii <eliz@gnu.org>
1698
53479029
EZ
1699 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1700 rfc2047-decode-string.
1701 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1702 warnings.
1703
89bd5ee1
EZ
1704 * window.el (window-body-height, window-body-width): Mention in
1705 the doc string that the return values are in frame's canonical
1706 units. (Bug#9949)
1707
bd17fdee
AM
17082011-11-03 Alan Mackenzie <acm@muc.de>
1709
1710 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1711 change in cc-engine.el.
1712
acc825c5
SM
17132011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1716
1885e5b8
MR
17172011-11-02 Martin Rudalics <rudalics@gmx.at>
1718
1719 * window.el (quit-window): Call unrecord-window-buffer after
1720 showing another buffer in the window. (Bug#9937)
acc825c5 1721 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1722
ebe06da9
JB
17232011-11-02 Juanma Barranquero <lekktu@gmail.com>
1724
1725 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1726 Accept status with more than 9 shelves. (Bug#9935)
1727 Reported by Colin D Bennett <colin@gibibit.com>.
1728
4ee88440
MR
17292011-11-01 Martin Rudalics <rudalics@gmx.at>
1730
1731 * help.el (with-help-window): Don't reference
1732 temp-buffer-show-specifiers in doc-string.
1733
08e1d82c
AS
17342011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1735
1736 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1737 menu-item.
1738
84bd6e9e
VJL
17392011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1740
1741 * whitespace.el: New version 13.2.2.
1742 (whitespace-newline-mode): Disable properly. Reported by Sarah
1743 <EmacsWiki>.
1744
dba0634a
UJ
17452011-10-30 Ulf Jasper <ulf.jasper@web.de>
1746
1747 * net/newst-treeview.el: Remove "Time-stamp".
1748 (newsticker--group-manage-orphan-feeds): Do not call
1749 newsticker--treeview-tree-update.
db22a3c2
JB
1750 (newsticker-treeview-update, newsticker-treeview):
1751 Call newsticker--treeview-tree-update if necessary.
dba0634a 1752
3d8daefe
MR
17532011-10-30 Martin Rudalics <rudalics@gmx.at>
1754
1755 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1756 (window-iso-combinations): Remove "iso-" infix.
1757 Suggested by Chong Yidong.
3d8daefe
MR
1758 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1759 (window-max-delta-1, window-resize, window--resize-siblings)
1760 (window--resize-this-window, adjust-window-trailing-edge)
1761 (split-window, balance-windows-1)
1762 (shrink-window-if-larger-than-buffer):
1763 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1764 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1765
1bc4c3ae
SM
17662011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1769 in place (bug#9907).
1770 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1771 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1772 (eshell-structure-basic-command, eshell-rewrite-while-command)
1773 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1774 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1775 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1776 (eshell-do-pipelines-synchronously, eshell-eval-command):
1777 Use backquotes and prefer setq to set.
1778 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1779 (eshell-macrop): Use functionp.
c1e2f5fa 1780 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1781
30b65d9c
CY
17822011-10-30 Chong Yidong <cyd@gnu.org>
1783
1784 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1785 instead of set-mark (Bug#9810).
1786
2d197ffb
CY
17872011-10-30 Chong Yidong <cyd@gnu.org>
1788
1789 * window.el (split-window-below, split-window-right): Rename from
1790 split-window-above-each-other and split-window-side-by-side
1791 respectively. All callers changed.
1792 (split-window-sensibly, split-window-sensibly): Use them.
1793 (split-window-keep-point): Doc fix.
1794
1795 * isearch.el: Add isearch-scroll property to split-window-below
1796 and split-window-right.
1797
1798 * follow.el (follow-mode):
1799 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1800 * progmodes/ada-xref.el (ada-gdb-application):
1801 * emulation/vip.el (vip-buffer-in-two-windows):
1802 * image-dired.el (image-dired-dired-with-window-configuration):
1803 * dired-x.el (dired-do-find-marked-files):
1804 * dired.el (dired-pop-to-buffer):
1805 * bs.el (bs--show-with-configuration):
1806 * vc/emerge.el (emerge-setup-windows):
1807 * textmodes/two-column.el (2C-two-columns):
1808 * textmodes/reftex-toc.el (reftex-toc):
1809 * progmodes/gdb-mi.el (gdb-setup-windows):
1810 * progmodes/fortran.el (fortran-window-create):
1811 * net/newst-treeview.el (newsticker--treeview-window-init):
1812 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1813 * emulation/tpu-edt.el (tpu-gold-map):
1814 * emulation/crisp.el (crisp-mode-map):
1815 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1816
38bb2ca8
CY
18172011-10-29 Chong Yidong <cyd@gnu.org>
1818
aa4de341
CY
1819 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1820
e1eb5385
CY
1821 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1822
5d2ece3c
CY
1823 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1824 forged Ispell output (Bug#7904).
1825
38bb2ca8
CY
1826 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1827
d0af9f77
SM
18282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * doc-view.el: Avoid ugly errors about not finding nil.
1831 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1832 (doc-view-dvipdf-program, doc-view-unoconv-program)
1833 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1834 Avoid nil or absolute file name as default value.
1835 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1836
52bedd34
AM
18372011-10-28 Alan Mackenzie <acm@muc.de>
1838
db22a3c2 1839 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1840
7e43cfa5
AM
18412011-10-28 Alan Mackenzie <acm@muc.de>
1842
1843 Amend the handling of c-beginning/end-of-defun in nested declaration
1844 scopes.
1845
52bedd34
AM
1846 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1847 cc-langs.el. Change it to a defcustom.
7e43cfa5 1848
52bedd34
AM
1849 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1850 cc-vars.el.
7e43cfa5 1851
d0af9f77
SM
1852 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1853 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1854
52bedd34 1855 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1856 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1857 (c-widen-to-enclosing-decl-scope): New function.
1858 (c-while-widening-to-decl-block): New macro.
1859 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1860 outward for defun boundaries, and correspondingly change symbol
1861 `respect-enclosure' to `go-outward'.
1862 (c-declaration-limits): Change algorithm to report only the "innermost"
1863 defun's boundaries.
1864
1a2ce9ee
DD
18652011-10-28 Deniz Dogan <deniz@dogan.se>
1866
1867 * net/rcirc.el (rcirc-mode): Use hard newlines.
1868
bc97a826
AM
18692011-10-28 Alan Mackenzie <acm@muc.de>
1870
1871 Amend to indent and fontify macros "which include their own semicolon"
1872 correctly, using the "virtual semicolon" mechanism.
1873
52bedd34 1874 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1875
d0af9f77 1876 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1877 Recode to scan one line at a time rather than having \n and \r
58179cce 1878 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1879 (c-forward-label): Amend for virtual semicolons.
58179cce 1880 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1881
52bedd34
AM
1882 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1883 of the new C macros.
bc97a826 1884
52bedd34 1885 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1886 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1887 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1888 (c-opt-cpp-macro-define): Make into a full language variable.
1889 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1890 AWK Mode (including \n, \r) removed, no longer needed.
1891
d0af9f77
SM
1892 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1893 Invoke c-make-macro-with-semi-re.
bc97a826 1894
52bedd34
AM
1895 * progmodes/cc-vars.el (c-macro-with-semi-re):
1896 (c-macro-names-with-semicolon): New variables.
58179cce 1897 (c-make-macro-with-semi-re): New function.
bc97a826 1898
7a6c0941
SM
18992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * vc/log-edit.el: Fill empty field rather than adding new one.
1902 (log-edit-add-field): New function.
1903 (log-edit-insert-changelog): Use it.
1904
b0c4cdcf
ML
19052011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1906
1907 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1908
ee1f1da9
SM
19092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1912 (gdb--check-interpreter): New function.
1913 (gdb): Use it.
1914
51bc5f8b
GM
19152011-10-27 Glenn Morris <rgm@gnu.org>
1916
416a2c45
GM
1917 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1918 (least-positive-float, least-negative-float)
1919 (least-positive-normalized-float, least-negative-normalized-float)
1920 (float-epsilon, float-negative-epsilon):
1921 Remove unnecessary declarations.
1922
1923 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1924 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1925 (least-positive-float, least-negative-float)
1926 (least-positive-normalized-float, least-negative-normalized-float)
1927 (float-epsilon, float-negative-epsilon): Add doc-strings,
1928 based on those in cl.texi.
1929
51bc5f8b
GM
1930 * files.el (set-visited-file-name): If the major-mode changed,
1931 reload the local variables. (Bug#9796)
1932
15de15c6
CY
19332011-10-27 Chong Yidong <cyd@gnu.org>
1934
1935 * subr.el (change-major-mode-after-body-hook): New hook.
1936 (run-mode-hooks): Run it.
1937
ee1f1da9
SM
1938 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1939 Use change-major-mode-before-body-hook.
15de15c6
CY
1940
1941 * simple.el (fundamental-mode):
1942 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1943 change introducing fundamental-mode-hook.
1944
5430d399
JB
19452011-10-26 Juanma Barranquero <lekktu@gmail.com>
1946
acc825c5 1947 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1948
ad74a69e
MA
19492011-10-26 Michael Albinus <michael.albinus@gmx.de>
1950
1951 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1952 tramp.el explicitly. (Bug#7583)
ad74a69e 1953
71d4c2a5
SM
19542011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * progmodes/octave-mod.el:
1957 * progmodes/octave-inf.el: Update maintainer.
1958
b1f6fa26
CY
19592011-10-26 Chong Yidong <cyd@gnu.org>
1960
1961 * subr.el (with-wrapper-hook): Rewrite doc.
1962
3f04efd6
MA
19632011-10-25 Michael Albinus <michael.albinus@gmx.de>
1964
1965 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1966 filenames "/method:foo:". (Bug#9793)
3f04efd6 1967
410488d3
SM
19682011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1971 (bug#9865).
1972
c1ebb47e
GM
19732011-10-24 Glenn Morris <rgm@gnu.org>
1974
1975 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1976
7f5c46c7
MA
19772011-10-24 Michael Albinus <michael.albinus@gmx.de>
1978
1979 * notifications.el: Add the requirement of a running D-Bus session
1980 bus to the Commentary.
1981
db2440b6
JL
19822011-10-24 Juri Linkov <juri@jurta.org>
1983
1984 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1985 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1986 (Bug#9364)
1987
feecf435
JL
19882011-10-24 Juri Linkov <juri@jurta.org>
1989
1990 * info.el (Info-following-node-name-re): Add newline to the list
1991 of allowed characters for leading space. (Bug#9824)
1992
a3839de2
SM
19932011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1994
acc825c5
SM
1995 * progmodes/octave-inf.el (inferior-octave-mode-map):
1996 Fix C-c C-h binding.
a3839de2
SM
1997 * progmodes/octave-mod.el (octave-help): Remove.
1998
09388e76
MA
19992011-10-23 Michael Albinus <michael.albinus@gmx.de>
2000
2001 Sync with Tramp 2.2.3.
2002
2003 * net/tramp-cache.el (top): Pacify byte-compiler using
2004 `init-file-user' and `site-run-file'.
2005
2006 * net/trampver.el: Update release number.
2007
86c60681
CY
20082011-10-23 Chong Yidong <cyd@gnu.org>
2009
2010 * files.el (toggle-read-only): Remove obsolete comment about
2011 version control.
2012
2013 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2014 for toggle-read-only. Note that this hasn't called vc-next-action
2015 since 2008-05-02, though it wasn't documented at the time.
2016
a3839de2
SM
2017 * vc/ediff-init.el (ediff-toggle-read-only-function):
2018 Use toggle-read-only.
86c60681 2019
cd5495ff
AM
20202011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2021
2022 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2023 of c-parse-state.
2024
00b77525 2025 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2026 correct faulty logical expression.
cd5495ff
AM
2027 (c-parse-state-state, c-record-parse-state-state):
2028 (c-replay-parse-state-state): New defvar/defuns.
2029 (c-debug-parse-state): Use new functions.
2030
42ee24ed
MR
20312011-10-22 Martin Rudalics <rudalics@gmx.at>
2032
2033 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2034 last fix. Use window-in-direction correctly.
42ee24ed 2035
a7dee7e7
CY
20362011-10-21 Chong Yidong <cyd@gnu.org>
2037
2038 * progmodes/idlwave.el (idlwave-mode):
2039 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2040 require-final-newline; that's done in prog-mode.
2041 Suggested by Stefan Monnier.
a7dee7e7 2042
e07b9a6d
MR
20432011-10-21 Martin Rudalics <rudalics@gmx.at>
2044
2045 * mouse.el (mouse-drag-window-above)
2046 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2047 (mouse-drag-mode-line-1, mouse-drag-header-line)
2048 (mouse-drag-vertical-line-rightward-window): Remove.
2049 (mouse-drag-line): New function.
2050 (mouse-drag-mode-line, mouse-drag-header-line)
2051 (mouse-drag-vertical-line): Call mouse-drag-line.
2052 * window.el (window-at-side-p, windows-at-side): New functions.
2053
7e1361d9
UM
20542011-10-21 Ulrich Mueller <ulm@gentoo.org>
2055
2056 * tar-mode.el (tar-grind-file-mode):
2057 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2058
30fcaf3a
CY
20592011-10-21 Chong Yidong <cyd@gnu.org>
2060
2061 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2062 * progmodes/vera-mode.el (vera-mode):
2063 Use mode-require-final-newline.
30fcaf3a 2064
516eddb0
GM
20652011-10-20 Glenn Morris <rgm@gnu.org>
2066
db22a3c2 2067 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2068
10d5f513
CS
20692011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2070
2071 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2072
ac6c8639
CY
20732011-10-20 Chong Yidong <cyd@gnu.org>
2074
2075 * emulation/cua-base.el (cua-mode):
2076 * mail/footnote.el (footnote-mode):
2077 * mail/mailabbrev.el (mail-abbrevs-mode):
2078 * net/xesam.el (xesam-minor-mode):
2079 * progmodes/bug-reference.el (bug-reference-mode):
2080 * progmodes/cap-words.el (capitalized-words-mode):
2081 * progmodes/compile.el (compilation-minor-mode)
2082 (compilation-shell-minor-mode):
2083 * progmodes/gud.el (gud-tooltip-mode):
2084 * progmodes/hideif.el (hide-ifdef-mode):
2085 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2086 * progmodes/subword.el (subword-mode):
2087 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2088 * progmodes/which-func.el (which-function-mode):
2089 * term/tvi970.el (tvi970-set-keypad-mode):
2090 * term/vt100.el (vt100-wide-mode):
2091 * textmodes/flyspell.el (flyspell-mode):
2092 * textmodes/ispell.el (ispell-minor-mode):
2093 * textmodes/nroff-mode.el (nroff-electric-mode):
2094 * textmodes/paragraphs.el (use-hard-newlines):
2095 * textmodes/refill.el (refill-mode):
2096 * textmodes/reftex.el (reftex-mode):
2097 * textmodes/rst.el (rst-minor-mode):
2098 * textmodes/sgml-mode.el (html-autoview-mode)
2099 (sgml-electric-tag-pair-mode):
2100 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2101 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2102 * emulation/crisp.el (crisp-mode):
2103 * emacs-lisp/eldoc.el (eldoc-mode):
2104 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2105 minor mode behavior.
2106
aa42ab43
JL
21072011-10-19 Juri Linkov <juri@jurta.org>
2108
2109 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2110 the list of hard-coded chars with escape-glyph face.
2111
89400f1d
SM
21122011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2115
305c07f6
MA
21162011-10-19 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2119 running process.
2120
13754b54
GM
21212011-10-19 Glenn Morris <rgm@gnu.org>
2122
2123 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2124 Ignore ignored files. (Bug#9726)
2125
06e21633
CY
21262011-10-19 Chong Yidong <cyd@gnu.org>
2127
2128 Doc fix for minor modes, stating that an omitted argument enables
2129 the mode unconditionally when called from Lisp.
2130
2131 * abbrev.el (abbrev-mode):
2132 * allout.el (allout-mode):
2133 * autoinsert.el (auto-insert-mode):
2134 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2135 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2136 (global-auto-revert-mode):
2137 * battery.el (display-battery-mode):
2138 * composite.el (global-auto-composition-mode)
2139 (auto-composition-mode):
2140 * delsel.el (delete-selection-mode):
2141 * desktop.el (desktop-save-mode):
2142 * dired-x.el (dired-omit-mode):
2143 * dirtrack.el (dirtrack-mode):
2144 * doc-view.el (doc-view-minor-mode):
2145 * double.el (double-mode):
2146 * electric.el (electric-indent-mode, electric-pair-mode):
2147 * emacs-lock.el (emacs-lock-mode):
2148 * epa-hook.el (auto-encryption-mode):
2149 * follow.el (follow-mode):
2150 * font-core.el (font-lock-mode):
2151 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2152 * help.el (temp-buffer-resize-mode):
2153 * hilit-chg.el (highlight-changes-mode)
2154 (highlight-changes-visible-mode):
2155 * hi-lock.el (hi-lock-mode):
2156 * hl-line.el (hl-line-mode, global-hl-line-mode):
2157 * icomplete.el (icomplete-mode):
2158 * ido.el (ido-everywhere):
2159 * image-file.el (auto-image-file-mode):
2160 * image-mode.el (image-minor-mode):
2161 * iswitchb.el (iswitchb-mode):
2162 * jka-cmpr-hook.el (auto-compression-mode):
2163 * linum.el (linum-mode):
2164 * longlines.el (longlines-mode):
2165 * master.el (master-mode):
2166 * mb-depth.el (minibuffer-depth-indicate-mode):
2167 * menu-bar.el (menu-bar-mode):
2168 * minibuf-eldef.el (minibuffer-electric-default-mode):
2169 * mouse-sel.el (mouse-sel-mode):
2170 * msb.el (msb-mode):
2171 * mwheel.el (mouse-wheel-mode):
2172 * outline.el (outline-minor-mode):
2173 * paren.el (show-paren-mode):
2174 * recentf.el (recentf-mode):
2175 * reveal.el (reveal-mode, global-reveal-mode):
2176 * rfn-eshadow.el (file-name-shadow-mode):
2177 * ruler-mode.el (ruler-mode):
2178 * savehist.el (savehist-mode):
2179 * scroll-all.el (scroll-all-mode):
2180 * scroll-bar.el (scroll-bar-mode):
2181 * server.el (server-mode):
2182 * shell.el (shell-dirtrack-mode):
2183 * simple.el (auto-fill-mode, transient-mark-mode)
2184 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2185 (line-number-mode, column-number-mode, size-indication-mode)
2186 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2187 * strokes.el (strokes-mode):
2188 * time.el (display-time-mode):
2189 * t-mouse.el (gpm-mouse-mode):
2190 * tool-bar.el (tool-bar-mode):
2191 * tooltip.el (tooltip-mode):
2192 * type-break.el (type-break-mode-line-message-mode)
2193 (type-break-query-mode):
2194 * view.el (view-mode):
2195 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2196 (global-whitespace-mode, global-whitespace-newline-mode):
2197 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2198
a3839de2
SM
2199 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2200 Fix autogenerated docstring.
06e21633 2201
5214e501
JL
22022011-10-19 Juri Linkov <juri@jurta.org>
2203
2204 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2205 by checking environment variables "DESKTOP_SESSION" and
2206 "XDG_CURRENT_DESKTOP". (Bug#9779)
2207
195f8db9
JL
22082011-10-19 Juri Linkov <juri@jurta.org>
2209
2210 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2211 (browse-url-chromium-program, browse-url-chromium-arguments):
2212 New defcustoms.
2213 (browse-url-default-browser): Check for `browse-url-chromium' and
2214 call `browse-url-chromium-program'.
2215 (browse-url-chromium): New command. (Bug#9779)
2216
343a34ff
JB
22172011-10-18 Juanma Barranquero <lekktu@gmail.com>
2218
2219 * facemenu.el (list-colors-duplicates): On Windows, detect more
2220 duplicates by assuming that only colors matching "^System" are
2221 special "system colors". (Bug#9722)
2222
6978a151
SM
22232011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2226 to distinguish the author from the committer.
2227
6a80b297
MA
22282011-10-18 Michael Albinus <michael.albinus@gmx.de>
2229
2230 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2231
b31a5677
JK
22322011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2233
2234 * international/mule.el (sgml-html-meta-auto-coding-function):
2235 Add support for detecting encoding in HTML5 specified only as
2236 <meta charset="UTF-8">. Implementation just makes http-equiv and
2237 content-type parts from HTML4 encoding string optional. (Bug#9716)
2238
80c6d77f
GM
22392011-10-18 Glenn Morris <rgm@gnu.org>
2240
2241 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2242
08b0fee8
CY
22432011-10-18 Chong Yidong <cyd@gnu.org>
2244
2245 * faces.el (cursor): Doc fix.
2246
67e729a5
CY
22472011-10-17 Chong Yidong <cyd@gnu.org>
2248
2249 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2250
343a34ff 22512011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2252
2253 * dirtrack.el (dirtrack): Support shell buffers with path
2254 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2255
0bc06380
TZ
22562011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2257
2258 * json.el: Bump version to 1.3 and note change in History.
2259 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2260
8b79f3e0
SM
22612011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2262
5a7c536b
SM
2263 * comint.el (comint-insert-input, comint-send-input)
2264 (comint-get-old-input-default, comint-backward-matching-input)
2265 (comint-next-prompt): Use nil instead of `input' for field property of
2266 past user input (bug#114).
2267
96a8a0df
SM
2268 * minibuffer.el (completion--replace): Inherit surrounding properties
2269 (bug#114).
2270 (minibuffer-complete-and-exit): Use it.
2271
8b79f3e0
SM
2272 * comint.el (comint--table-subvert): Quote the all-completions output
2273 (bug#9160).
2274
b8f7ff0d
MR
22752011-10-17 Martin Rudalics <rudalics@gmx.at>
2276
8b79f3e0 2277 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2278
b8f7ff0d 2279 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2280 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2281 entries and separate them from frame entries.
2282
c235b555
GM
22832011-10-15 Glenn Morris <rgm@gnu.org>
2284
2285 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2286 Doc fixes.
2287
6bbfa6e1
CY
22882011-10-15 Chong Yidong <cyd@stupidchicken.com>
2289
8b79f3e0
SM
2290 * net/network-stream.el (network-stream-open-starttls):
2291 Improve detection of failure due to lack of TLS support.
ec5c990d 2292
6bbfa6e1
CY
2293 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2294 putting the input text in front and in bold.
2295
98488977
SM
22962011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2297
3d1337be
SM
2298 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2299
ee0b45e4
SM
2300 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2301 empty buffer.
2302
98488977
SM
2303 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2304 unread-command-events rather than pushing yet-another event.
2305
186f4720
EZ
23062011-10-14 Eli Zaretskii <eliz@gnu.org>
2307
2308 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2309 the explanation of the possible choices. Make the options passed
2310 to completing-read shorter.
2311
8b7a997c
AM
23122011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2313
2314 * textmodes/flyspell.el (flyspell-large-region): Make sure
2315 extended character mode is used if defined (Bug#1339).
2316
12587bbb
EZ
23172011-10-13 Eli Zaretskii <eliz@gnu.org>
2318
2319 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2320 character info for LRE, LRO, RLE, and RLO characters by appending
2321 an invisible PDF.
12587bbb 2322
bad41229
SM
23232011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2326 even in case of error; add debug spec; simplify data flow.
2327 (with-timeout-handler): Remove.
2328
28dbc92f
MA
23292011-10-12 Michael Albinus <michael.albinus@gmx.de>
2330
2331 Fix Bug#6019, Bug#9315.
2332
2333 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2334 complete `buffer-file-name', the local file name part could look
2335 remotely (for example on VMS).
2336
2337 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2338 `tramp-run-real-handler'.
2339 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2340 already quoted by '"'.
2341
2342 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2343 Let `file-name-handler-alist' be nil, the local file name part
2344 could look remotely (for example on VMS).
2345
e1b0b23a
SM
23462011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2349 from here...
2350 (flyspell-post-command-hook): ...to here.
2351
a120bde9
SM
23522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2355 if not needed.
2356 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2357 using completion. Protect against "slow" callers.
2358 Remove the "message hack".
2359
7ce7717b
JL
23602011-10-11 Juri Linkov <juri@jurta.org>
2361
2362 * isearch.el (isearch-lazy-highlight-word): New variable.
2363 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2364 Use it. (Bug#9727)
2365
c02ee9d6
GM
23662011-10-11 Glenn Morris <rgm@gnu.org>
2367
2368 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2369 like f90-previous-statement does.
2370
93e616fd 23712011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2372
1f190e73 2373 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2374 only in interactive use, to avoid error.
2375
af7b6078
SM
23762011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * minibuffer.el (completion-file-name-table): Fix last change,
2379 i.e. ignore normal errors but not the other ones.
2380
0563dae9
MR
23812011-10-10 Martin Rudalics <rudalics@gmx.at>
2382
2383 * window.el (special-display-buffer-names)
2384 (special-display-regexps): Remove some remnants of earlier
2385 changes from doc-strings.
366ca7f3
MR
2386 (quit-windows-on): New function.
2387
2388 * vc/vc.el (vc-revert, vc-rollback):
2389 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2390 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2391 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2392
49677495
MR
23932011-10-09 Martin Rudalics <rudalics@gmx.at>
2394
2395 * window.el (frame-auto-hide-function): Add version tag.
2396 (Bug#9699)
2397
56f2d1e1
MA
23982011-10-09 Michael Albinus <michael.albinus@gmx.de>
2399
2400 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2401 condition.
2402
112a6592
LL
24032011-10-09 Leo Liu <sdl.web@gmail.com>
2404
2405 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2406 (Bug#9701)
2407
0812589b
GM
24082011-10-08 Glenn Morris <rgm@gnu.org>
2409
2410 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2411 before the first code statement zero indent. (Bug#9690)
2412
b2b0776e
CY
24132011-10-08 Chong Yidong <cyd@stupidchicken.com>
2414
2415 * simple.el (count-words-region): Always count in the region.
2416 Report the number of lines and characters too.
2417 (count-words): New command, which counts in the buffer if the
2418 region is inactive, as count-words-region used to.
2419 (count-words--message): New function. Handle plurals.
2420 (count-lines-region): Make it an alias for count-words-region.
2421
2422 * bindings.el (esc-map): Replace count-lines-region with
2423 count-words-region.
2424
c557cd6b
MR
24252011-10-08 Martin Rudalics <rudalics@gmx.at>
2426
2427 * window.el (window--delete): Delete dedicated frame
2428 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2429 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2430
61a57ef4 24312011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2432
2433 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2434
c3833279
CY
24352011-10-07 Chong Yidong <cyd@stupidchicken.com>
2436
2437 * bindings.el ([M-left],[M-right]): Bind to left-word and
2438 right-word respectively.
2439
21ce8245
GM
24402011-10-07 Glenn Morris <rgm@gnu.org>
2441
2442 * cus-start.el (debug-on-quit): Fix custom type.
2443
6d823bb2
LMI
24442011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2445
0181e193
LMI
2446 * subr.el (define-key-after): Clarify that the function is not
2447 useful for non-menu keymaps.
2448
6d823bb2
LMI
2449 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2450
8e3459ce 24512011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2452
21ce8245 2453 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2454 in current minibuffer (Fix bug with recursive minibuffers).
2455
a1c2d21e
CY
24562011-10-06 Chong Yidong <cyd@stupidchicken.com>
2457
2458 * progmodes/gdb-mi.el (gdb): Doc fix.
2459
5a4cf282
MR
24602011-10-05 Martin Rudalics <rudalics@gmx.at>
2461
2462 * window.el (frame-auto-hide-function): New option replacing
2463 frame-auto-delete. Suggested by Stefan Monnier.
2464 (window--delete): Call frame-auto-hide-function instead of
2465 investigating frame-auto-delete.
c96111ea
MR
2466 (window-point-1, set-window-point-1): New functions.
2467 (window-in-direction, record-window-buffer, window-state-get-1)
2468 (display-buffer-record-window): Use window-point-1 instead of
2469 window-point.
2470 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2471
9854542e
SM
24722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2475
8943cfb0
GM
24762011-10-05 Glenn Morris <rgm@gnu.org>
2477
2478 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2479 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2480
647ab967
LL
24812011-10-05 Leo Liu <sdl.web@gmail.com>
2482
2483 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2484 works with buffer object.
2485
3ddfbced
SM
24862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * mpc.el (mpc-tool-bar-map): Add labels.
2489
bdfa5dd2
GM
24902011-10-04 Glenn Morris <rgm@gnu.org>
2491
2492 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2493
0e2070b5
MR
24942011-10-04 Martin Rudalics <rudalics@gmx.at>
2495
2496 * window.el (window--delete): New function.
2497 (frame-auto-delete): Resuscitate option.
2498 (bury-buffer, replace-buffer-in-windows)
2499 (quit-window): Rewrite using window--delete.
2500 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2501 Pass display-buffer-mark-dedicated to window--display-buffer-2
2502 (Bug#9639).
2503
3dc61a09
SM
25042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2505
915a9b64
SM
2506 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2507 returns a list (bug#9554). Add remote file name completion.
2508 * comint.el (comint--table-subvert): Curry and get quote&unquote
2509 functions as arguments.
2510 (comint--complete-file-name-data): Adjust call accordingly.
2511 * pcomplete.el (pcomplete--table-subvert): Remove.
2512 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2513
3dc61a09
SM
2514 * minibuffer.el (completion-table-case-fold): Use currying.
2515 (completion--styles-type, completion--cycling-threshold-type):
2516 New constants.
2517 (completion-styles, completion-category-overrides)
2518 (completion-cycle-threshold): Use them.
2519 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2520 completion-table-case-fold.
2521
8ea0a993
SB
25222011-10-03 Stephen Berman <stephen.berman@gmx.net>
2523
2524 * minibuffer.el (completion-category-overrides): Fix type of styles
2525 and add more user friendly tags (bug#9660).
2526
8c24b7f6
SM
25272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2530 (mule-input-method-string): New widget.
2531 (default-input-method, language-info-custom-alist): Use it.
2532
428fe61a
SM
25332011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2534
32c1fffd
SM
2535 * pcomplete.el: Require comint.
2536 (pcomplete--common-suffix): Remove.
2537 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2538 (pcomplete--table-subvert): Sync with comint--table-subvert.
2539 (pcomplete--entries): Use comint-completion-file-name-table.
2540 * comint.el (comint-unquote-filename): Simplify.
2541 (comint-completion-file-name-table): New function (bug#9616).
2542 (comint--complete-file-name-data): Use it.
2543
428fe61a
SM
2544 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2545 (pcmpl-gnu-tar-buffer): Remove.
2546 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2547 around. Make sure pcomplete-suffix-list is only changed temporarily.
2548 Don't look inside the tar's file if it's too large.
428fe61a 2549
04c52e2f
CY
25502011-10-01 Chong Yidong <cyd@stupidchicken.com>
2551
ce3cefcc
CY
2552 * cus-edit.el (custom-mode-map):
2553 * epa.el (epa-key-list-mode-map):
2554 * man.el (Man-mode-map):
2555 * startup.el (splash-screen-keymap):
2556 * simple.el (special-mode-map): Use scroll-up-command and
2557 scroll-down-command.
2558
2559 * progmodes/idlw-help.el (idlwave-help-mode-map):
2560 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2561 * net/newst-plainview.el (newsticker-mode-map):
2562 * emulation/ws-mode.el (wordstar-mode-map):
2563 * emulation/vi.el (vi-com-map):
2564 * calc/calc-graph.el (calc-graph-show-dumb):
2565 * term/sun.el (terminal-init-sun):
2566 * term/ns-win.el (global-map):
2567 * progmodes/grep.el (grep-mode-map):
2568 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2569 * mail/rmail.el (rmail-mode-map):
2570 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2571
04c52e2f
CY
2572 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2573 custom-safe-themes as special.
2574
79adf8c8
JD
25752011-10-01 Julien Danjou <julien@danjou.info>
2576
2577 * notifications.el (notifications-notify): Fix docstring.
2578
63bd50d3
PS
25792011-10-01 Per Starbäck <per@starback.se>
2580
2581 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2582
199e4c7e
MR
25832011-09-30 Martin Rudalics <rudalics@gmx.at>
2584
2585 * startup.el (command-line-1): Fix last fix by inserting
2586 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2587 (Bug#9605) and (Bug#9636)
199e4c7e 2588
fe5f08dd
EZ
25892011-09-29 Eli Zaretskii <eliz@gnu.org>
2590
2591 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2592 window is hscrolled, move by logical lines. (Bug#9607)
2593 (line-move-visual): Update the doc string to the above effect.
2594
b5516bbd
MR
25952011-09-29 Martin Rudalics <rudalics@gmx.at>
2596
ccee00c0
MR
2597 * window.el (display-buffer-record-window): When WINDOW is the
2598 selected window use `point' instead of `window-point'. (Bug#9626)
2599
b5516bbd
MR
2600 * startup.el (command-line-1): Use insert-before-markers when
2601 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2602
b5516bbd
MR
2603 * help.el (help-window): Remove variable.
2604
52aa0014
GM
26052011-09-29 Glenn Morris <rgm@gnu.org>
2606
2607 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2608
df9a7357
JB
26092011-09-29 Juanma Barranquero <lekktu@gmail.com>
2610
2611 * descr-text.el (describe-char-categories): Accept category
2612 descriptions more than one line long.
2613
a8406c20
SM
26142011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2615
88d9610c
SM
2616 * simple.el (delete-trailing-whitespace): Fix last change.
2617
a5daf810
SM
2618 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2619 Don't confuse "y => 3" as the beginning of a `y' operation.
2620
a8406c20
SM
2621 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2622 object has more than 4 slots (bug#9613).
2623
a239d4e9
JB
26242011-09-28 Juanma Barranquero <lekktu@gmail.com>
2625
2626 * subr.el (with-output-to-temp-buffer):
2627 * net/quickurl.el (quickurl, quickurl-browse-url):
2628 Fix typos in docstrings.
2629
693fbdb6
EZ
26302011-09-27 Eli Zaretskii <eliz@gnu.org>
2631
2632 * minibuffer.el (completion-styles)
2633 (completion-category-overrides): Cross reference each other in doc
2634 strings.
2635
8b457e28
GM
26362011-09-27 Glenn Morris <rgm@gnu.org>
2637
2638 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2639 to split-string. (Bug#9606)
2640
85a16208
LMI
26412011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2642
2643 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2644 (bug#9615).
2645
502f9ebd
CY
26462011-09-27 Chong Yidong <cyd@stupidchicken.com>
2647
2648 * emacs-lisp/package.el (list-packages): Fix echo area message.
2649
7690bdea
LL
26502011-09-27 Leo Liu <sdl.web@gmail.com>
2651
2652 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2653
e2ee6f30
MA
26542011-09-25 Michael Albinus <michael.albinus@gmx.de>
2655
2656 * net/dbus.el (dbus-unregister-object): Don't release services for
2657 registered signals. (Bug#9581)
2658
f3f98342
TZ
26592011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2660
2661 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2662 function that picks between cfengine 2 and 3 support
2663 automatically. Update docs accordingly.
2664
dd7aa8dd
KH
26652011-09-22 Kenichi Handa <handa@m17n.org>
2666
2667 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2668 ZERO.
2669 (indian-itrans-v5-table-for-tamil): New variable.
2670 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2671
3f2b07f8
KM
26722011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2673
2674 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2675 that's true if the current command involved collapsing of text.
2676 It's reset to false at the beginning of the next command.
2677 (allout-post-command-business): Move the cursor to the beginning
2678 of entry if the cursor is hidden and collapsing activity just
2679 happened.
2680
371d6a61
CY
26812011-09-24 Chong Yidong <cyd@stupidchicken.com>
2682
2683 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2684 tracking (Bug#9541).
2685
2ac2721a
UJ
26862011-09-24 Ulf Jasper <ulf.jasper@web.de>
2687
2688 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2689 (newsticker-show-news): Automatically load html rendering package
2690 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2691 because w3m-fill-column is let-bound" and the error "Symbol's value
2692 as variable is void: w3m-fill-column".
2ac2721a 2693
fac7ae53
MA
26942011-09-24 Michael Albinus <michael.albinus@gmx.de>
2695
2696 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2697 Release services only if they are defined. (Bug#9581)
2698
e08b633b
RS
26992011-09-23 Richard Stallman <rms@gnu.org>
2700
e488d29c
RS
2701 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2702 distinguish start of paragraph from start of its text.
2703
19c38752
RS
2704 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2705
e08b633b
RS
2706 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2707 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2708 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2709
0a39f27e
AS
27102011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2711
2712 * international/mule-diag.el (mule-diag): Insert a newline after
2713 each fontset description.
2714
db4e950d
SM
27152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2716
2717 * simple.el (delete-trailing-whitespace):
2718 Document last change; simplify.
2719
eca3f3ea
PW
27202011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2721
d68e189a
PW
2722 * simple.el (delete-trailing-whitespace): Also delete
2723 extra newlines at the end of the buffer.
2724
eca3f3ea
PW
2725 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2726 (picture-newline): Use forward-line so as to ignore fields.
2727
01c157cc
SM
27282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * subr.el (with-wrapper-hook): Fix edebug spec.
2731
022de23e
LMI
27322011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2733
2734 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2735 (bug#4538).
2736
91683089
MA
27372011-09-23 Michael Albinus <michael.albinus@gmx.de>
2738
eca3f3ea
PW
2739 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2740 Fix nasty bug using wrong cached values.
91683089 2741
5bdd6fa4
AM
27422011-09-23 Alan Mackenzie <acm@muc.de>
2743
2744 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2745
97adfb97
CY
27462011-09-23 Chong Yidong <cyd@stupidchicken.com>
2747
2748 * window.el (pop-to-buffer): Ensure right window is selected if we
2749 chose another frame.
2750
d4ef2b50
EZ
27512011-09-22 Eli Zaretskii <eliz@gnu.org>
2752
2753 * simple.el (what-cursor-position): Use get-char-property-change
2754 and next-single-char-property-change, to be able to show display
2755 properties that come from overlays as well as text properties.
2756
72258fe5
CY
27572011-09-22 Chong Yidong <cyd@stupidchicken.com>
2758
2759 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2760
2761 * cmuscheme.el (run-scheme, switch-to-scheme):
2762 * cus-edit.el (customize-group, custom-buffer-create)
2763 (customize-browse):
2764 * info.el (info):
2765 * shell.el (shell):
2766 * mail/sendmail.el (mail):
2767 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2768
8f098516
RS
27692011-09-22 Richard Stallman <rms@gnu.org>
2770
2771 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2772 move back only to line beg, don't move back over blank lines.
2773
e74f1bb6
MA
27742011-09-22 Michael Albinus <michael.albinus@gmx.de>
2775
2776 * files.el (copy-directory): Set directory attributes only in case
2777 they could be retrieved from the source directory. (Bug#9565)
2778
bfeef8b6
DK
27792011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2780
2781 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2782 (hs-find-block-beginning, hs-hide-level-recursive):
2783 Ignore strings as well as comments. (Bug#9502)
2784
7e423bb8
AS
27852011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2786
2787 * progmodes/sql.el (sql-comint-postgres):
2788 Convert port number to a string. (Bug#9566)
2789
b4d72fcf
MR
27902011-09-22 Martin Rudalics <rudalics@gmx.at>
2791
2792 * window.el (quit-window): Undedicate window when switching to
2793 previous buffer. Reported by Thierry Volpiatto
2794 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2795 (special-display-popup-frame): When popping up a new frame reset
2796 its previous buffers to nil. Simplify code.
b4d72fcf 2797
a7b88dc6
MA
27982011-09-21 Michael Albinus <michael.albinus@gmx.de>
2799
2800 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2801 and process filter, as done also in `shell-command'.
2802
cf4eacfd
MR
28032011-09-21 Martin Rudalics <rudalics@gmx.at>
2804
eca3f3ea 2805 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2806 Call set-window-start with NOFORCE argument t.
2807 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2808 (quit-window): Reword doc-string. Handle new format of
2809 quit-restore parameter. Don't delete window if it has a
2810 previous buffer we can show instead of the present one.
2811 (display-buffer-record-window): Rewrite using a new format for
2812 the quit-restore window parameter
2813 (special-display-popup-frame, display-buffer-same-window)
2814 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2815 (display-buffer-pop-up-window, display-buffer-use-some-window):
2816 Adapt symbol passed to display-buffer-record-window.
2817 * help.el (help-window-setup): Handle new format of quit-restore
2818 parameter.
2819
8d28cb95
SM
28202011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2821
94ab793f
SM
2822 * faces.el (face-list): Fix docstring (bug#9564).
2823
8d28cb95
SM
2824 * window.el (display-buffer--action-function-custom-type):
2825 Don't include internal functions in the Custom interface.
2826
3820edeb
JL
28272011-09-20 Juri Linkov <juri@jurta.org>
2828
2829 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2830 (Info-forward-node, Info-backward-node, Info-next-preorder)
2831 (Info-last-preorder): Use it. (Bug#9528)
2832
5147931d
JL
28332011-09-20 Juri Linkov <juri@jurta.org>
2834
2835 * info.el (Info-last-preorder): Visit last menu item only when
2836 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2837
cf499a1a
JD
28382011-09-20 Julien Danjou <julien@danjou.info>
2839
2840 * password-cache.el (password-cache-remove): Remove entries even if the
2841 value is nil, so that password with a nil value (negative caching) is
2842 possible to invalidate.
2843
f84e2fe2
LM
28442011-09-20 Lawrence Mitchell <wence@gmx.li>
2845
2846 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2847 all whitespace around breakpoint. (Bug#9553)
2848 (f90-find-breakpoint): Only break at whitespace inside a comment.
2849
78054a46
SM
28502011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * minibuffer.el (completion-file-name-table): Keep track of errors.
2853 (completion-table-with-predicate): Handle the case where pred1 is nil.
2854 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2855
345083b2
SM
28562011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2857
e24e27be
SM
2858 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2859 (debugger-return-value): Signal an error if the debugging context does
2860 not await any return value.
2861
345083b2
SM
2862 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2863 * image-mode.el (image-toggle-display-text)
2864 (image-toggle-display-image): Stay away from evil `intangible'.
2865
08d355e3
LL
28662011-09-19 Leo Liu <sdl.web@gmail.com>
2867
2868 * replace.el (occur-revert-arguments): Make it permanent-local.
2869 (occur-mode): Don't call font-lock-defontify.
2870
f01da43f
CY
28712011-09-19 Chong Yidong <cyd@stupidchicken.com>
2872
2873 * net/ldap.el (ldap-search-internal): Don't push empty search
2874 result (Bug#9508).
2875
b6072fa6
SM
28762011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2879
443d6696
MA
28802011-09-19 Michael Albinus <michael.albinus@gmx.de>
2881
2882 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2883 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2884
7cc6e154
JL
28852011-09-18 Juri Linkov <juri@jurta.org>
2886
2887 * buff-menu.el (Buffer-menu-mode-map):
2888 * dired.el (dired-mode-map):
2889 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2890 (lisp-interaction-mode-map):
2891 * emacs-lisp/package.el (package-menu-mode-map):
2892 * epa.el (epa-key-list-mode-map):
2893 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2894 (menu-bar-options-menu):
2895 * outline.el (outline-mode-menu-bar-map):
2896 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2897 * vc/vc-dir.el (vc-dir-menu-map):
2898 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2899 Capitalize non-function content words in menu item strings.
2900
2901 * dired.el (dired-mode-map): Add menu item for
2902 `image-dired-dired-toggle-marked-thumbs'.
2903
80302a81
JL
29042011-09-18 Juri Linkov <juri@jurta.org>
2905
2906 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2907 to `isearch-case-fold-search' and restore its original value
2908 after the `isearch-mode' call.
2909
46c5cf66
JL
29102011-09-18 Juri Linkov <juri@jurta.org>
2911
2912 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2913 because `zgrep' returns 1 for successful matches (bug#9226).
2914
d18b513b
JL
29152011-09-18 Juri Linkov <juri@jurta.org>
2916
2917 * info.el (Info-extract-menu-node-name): Check the second match
2918 for empty string (second test-case of bug#9528).
2919 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2920 intermediate nodes to the history (first test-case of bug#9528).
2921
72753f87
JL
29222011-09-18 Juri Linkov <juri@jurta.org>
2923
2924 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2925 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2926
c9384295
JL
29272011-09-18 Juri Linkov <juri@jurta.org>
2928
1154d12e
JB
2929 * info.el (Info-file-supports-index-cookies):
2930 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2931 outputs one more line for long file names (bug#4142).
c9384295 2932
d473dce8
CY
29332011-09-18 Chong Yidong <cyd@stupidchicken.com>
2934
2935 * newcomment.el (comment-normalize-vars): If prompting for
2936 comment-start, set comment-start-skip too (Bug#8424).
2937
2176854d
JB
29382011-09-18 Johan Bockgård <bojohan@gnu.org>
2939
2940 * icomplete.el: Fix previous fix of Bug#5849.
2941 (icomplete-mode): Don't set completion-show-inline-help.
2942 (icomplete-minibuffer-setup): Set completion-show-inline-help
2943 locally during icompletion.
2944
3aace4e4
CY
29452011-09-18 Chong Yidong <cyd@stupidchicken.com>
2946
c940224f
CY
2947 * woman.el (woman2-process-escapes): Don't delete unrecognized
2948 escapes (Bug#7843).
2949
3aace4e4
CY
2950 * files.el (inhibit-first-line-modes-regexps): Add image files.
2951 (hack-local-variables-prop-line): Return nil for malformed
2952 prop-lines (Bug#9044).
2953
710dec63
MA
29542011-09-18 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * net/tramp.el (top): Don't require 'shell.
2957 (tramp-methods): Fix docstring.
2958 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2959 Return complete remote file name. Handle "smb" case.
2960 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2961 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2962
2963 * net/tramp-compat.el (top): Require 'shell.
2964
2965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2966 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2967 `tramp-current-host'.
2968 (tramp-get-remote-tmpdir): Remove.
2969
2970 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2971 `tramp-tmpdir' entries.
2972 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2973 (tramp-smb-handle-file-attributes): Ignore errors.
2974 (tramp-smb-wait-for-output): Check also for process end.
2975
5d5ac8ec
LMI
29762011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2977
2978 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2979 when sending QUIT (bug#9312).
2980
8c0f49f0
CY
29812011-09-17 Chong Yidong <cyd@stupidchicken.com>
2982
2983 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2984 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2985 occur-mode-display-occurrence.
2986 (occur-edit-mode): Add usage message.
2987 (occur-cease-edit): New command.
2988 (occur-after-change-function): Use text properties to find the
2989 position of the prefix text.
2990 (occur-engine): Set stickiness of prefix text properties.
2991
8f1383f7
GM
29922011-09-17 Glenn Morris <rgm@gnu.org>
2993
2994 * progmodes/etags.el (complete-tag):
2995 Fix call to completion-in-region. (Bug#9526)
2996
744ba0e3
JL
29972011-09-17 Juri Linkov <juri@jurta.org>
2998
2999 * textmodes/ispell.el (ispell-word): Add to the error message
3000 the word, ispell program name and current dictionary (bug#9121).
3001 (ispell-tex-arg-end): Capitalize "error" in the error message.
3002
d9bbf400
AS
30032011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3004
3005 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3006 check. (Bug#4251)
3007
8da11505
JL
30082011-09-17 Juri Linkov <juri@jurta.org>
3009
3010 * window.el (window-safe-min-height, window-safe-min-width):
3011 Fix typos (followup to bug#9522).
3012
a91adc7e
SJ
30132011-09-17 Sven Joachim <svenjoac@gmx.de>
3014
3015 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3016
064f328a
EZ
30172011-09-16 Eli Zaretskii <eliz@gnu.org>
3018
3019 * simple.el (line-move): If goal-column is set, move by logical
3020 lines, not by display lines. (Bug#971)
3021 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3022 to reflect the above change.
3023
e69df516
SM
30242011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * image.el (imagemagick-register-types): Use regexp-opt.
3027
cbb0f9ab
CY
30282011-09-15 Chong Yidong <cyd@stupidchicken.com>
3029
3030 * window.el (display-buffer-base-action): Rename from
3031 display-buffer-default-action. Make default value empty.
3032 (display-buffer-overriding-action): Convert to defvar.
3033 (display-buffer-fallback-action): New var.
3034
25322144
CY
30352011-09-15 Chong Yidong <cyd@stupidchicken.com>
3036
3037 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3038 declaration.
3039 (package--add-to-archive-contents): If there is a duplicate entry
3040 with an older version, remove it.
3041 (package-menu-mark-delete, package-menu-mark-install)
3042 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3043 (package-menu-mark-obsolete-for-deletion):
3044 Use package-menu-get-status instead of a regexp search.
25322144
CY
3045 (package-menu-get-status): Use tabulated-list-entry.
3046 (package-menu-mark-upgrades): New command.
d770725a 3047 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3048 (package-menu-execute): Do installation before deletion.
3049 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3050 instead of checking major-mode.
3051 (package-menu--find-upgrades): New function.
3052
7520339c
LMI
30532011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3054
3055 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3056 passwords in the log buffer.
65a046c4
LMI
3057 (smtpmail-process-filter): Update the process marker so that the
3058 "broken by peer" status message is inserted in the right place.
7520339c 3059
d3c30954
SM
30602011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3fe48822
SM
3062 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3063 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3064 bibtex-completion-at-point-function.
3065 (bibtex-completion-at-point-function): Use them.
3066
1b8b3954
SM
3067 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3068
d3c30954
SM
3069 * mpc.el (mpc-constraints-tag-lookup): New function.
3070 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3071 also to browser "album|playlist".
3072
72779976
JL
30732011-09-14 Juri Linkov <juri@jurta.org>
3074
3075 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3076 (isearch-edit-string): Use length of `isearch-string' when
3077 `isearch-fail-pos' returns nil.
3078 (isearch-message): Remove duplicate code and call
3079 `isearch-fail-pos' with arg `t'.
3080
a0bf2bcd
CY
30812011-09-14 Chong Yidong <cyd@stupidchicken.com>
3082
17bb0a2d
CY
3083 * replace.el (occur-mode-goto-occurrence): Don't force using other
3084 window (Bug#9499).
3085
a0bf2bcd
CY
3086 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3087
f678e0b6
MR
30882011-09-14 Martin Rudalics <rudalics@gmx.at>
3089
3090 * window.el (display-buffer-window): Remove.
3091 (display-buffer-record-window): Use help-setup window parameter
3092 instead of variable display-buffer-window.
3093 (display-buffer-function, special-display-buffer-names)
3094 (special-display-function): Mention help-setup parameter instead
3095 of display-buffer-window in doc-string.
d3c30954
SM
3096 * help.el (help-window-setup): New argument help-window.
3097 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3098 Reword some messages.
3099 (with-help-window): Pass window used for displaying the buffer
3100 to help-window-setup. Don't set display-buffer-window.
3101
8e39b2e8
GM
31022011-09-13 Glenn Morris <rgm@gnu.org>
3103
3104 * emacs-lisp/debug.el (debugger-make-xrefs):
3105 Preserve point. (Bug#9462)
3106
85e9c04b
CY
31072011-09-13 Chong Yidong <cyd@stupidchicken.com>
3108
3109 * window.el (window-deletable-p): Use next-frame.
3110
1b36ed6a
MR
31112011-09-13 Martin Rudalics <rudalics@gmx.at>
3112
3113 * window.el (window-auto-delete): Remove.
3114 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3115 dedication and previous buffers.
1b36ed6a
MR
3116 (switch-to-prev-buffer): Don't delete window.
3117 (delete-windows-on): Delete a window's frame if and only if the
3118 window is dedicated.
3119 (replace-buffer-in-windows): Delete buffer's window or frame if
3120 and only if window is dedicated.
3121 (quit-window): Handle quit-restore as before last change.
4d61f28d 3122 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3123
ef8ef9fb
CY
31242011-09-13 Chong Yidong <cyd@stupidchicken.com>
3125
3126 * window.el (window-deletable-p): Never delete the last frame on a
3127 given terminal.
3128
b2cba41e
GM
31292011-09-13 Glenn Morris <rgm@gnu.org>
3130
3131 * help.el (describe-key-briefly): Copy previous standard-output change.
3132
51553db6 31332011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3134
3135 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3136
b7556719
GM
31372011-09-13 Glenn Morris <rgm@gnu.org>
3138
3139 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3140 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3141
64b51947
CY
31422011-09-12 Chong Yidong <cyd@stupidchicken.com>
3143
3144 * dired-aux.el (dired-mark-read-string): Don't return default
3145 value on empty input (Bug#9361).
3146 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3147 Omit initial minibuffer contents.
3148 (dired-do-chmod): Signal an error on empty input.
3149 (dired-mark-read-string): Don't return default on empty input.
3150
3151 * files.el (file-modes-symbolic-to-number): Doc fix.
3152
393a301e
SM
31532011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * international/mule-cmds.el (ucs-completions): Remove.
3156 (read-char-by-name): Use complete-with-action instead; add metadata.
3157
fa5660f9
CY
31582011-09-11 Chong Yidong <cyd@stupidchicken.com>
3159
3160 * window.el (display-buffer--action-function-custom-type)
3161 (display-buffer--action-custom-type): New vars.
3162 (display-buffer-alist, display-buffer-default-action)
3163 (display-buffer-overriding-action): Add defcustom types.
3164
4a592f66
CY
3165 * frame.el (delete-other-frames): Doc fix (Bug#276).
3166
73d56dbd
LMI
31672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3168
3169 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3170
37ac18a3
CY
31712011-09-11 Chong Yidong <cyd@stupidchicken.com>
3172
3173 Change modes that used same-window-* vars to use switch-to-buffer.
3174
3175 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3176 Use switch-to-buffer.
3177
3178 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3179 (customize-browse, custom-buffer-create-other-window):
3180 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3181
3182 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3183 (Info-prev, Info-up, Info-speedbar-goto-node)
3184 (info-display-manual): Use switch-to-buffer.
3185 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3186
3187 * mail/sendmail.el (mail): Use switch-to-buffer.
3188 (mail-recover): Use switch-to-buffer-other-window.
3189
3190 * cmuscheme.el (run-scheme, switch-to-scheme):
3191 * ielm.el (ielm):
3192 * shell.el (shell):
3193 * net/rlogin.el (rlogin):
3194 * net/telnet.el (telnet, rsh):
3195 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3196
10195bd6
AS
31972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3198
3199 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3200
b322f63a
LMI
32012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3202
39d7fed6
LMI
3203 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3204 so don't mention it (bug#9301).
ba5a81f1 3205 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3206
ee0e9f11
LMI
3207 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3208 match `x', `w32' and `ns', like the manual says (bug#9029).
3209
0b1c89c1 3210 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3211 (process-kill-buffer-query-function): Mention the buffer name in
3212 the query.
0b1c89c1 3213
77549ea8
LMI
3214 * image-mode.el (image-next-line): The line parameter is mandatory
3215 (bug#9258).
3216
803ef892
LMI
3217 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3218 which can be useful (bug#9301).
3219
12980837
LMI
3220 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3221
91054f8f
LMI
3222 * subr.el (match-string): Mention that the current buffer should
3223 be the same as the search was done in (bug#9282).
3224
b322f63a
LMI
3225 * facemenu.el: Disable the remove-* commands if the mark isn't
3226 active (bug#9162).
3227
3199b96f
CY
32282011-09-10 Chong Yidong <cyd@stupidchicken.com>
3229
3230 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3231 of display-buffer.
3232 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3233
3234 * replace.el (occur-mode-goto-occurrence)
3235 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3236 and display-buffer.
3237
3238 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3239 display-buffer.
3240
3241 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3242 special-display and same-window variables.
3243 (mail-other-window): Use switch-to-buffer-other-window.
3244 (mail-other-frame): USe switch-to-buffer-other-frame.
3245
393a301e
SM
3246 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3247 Use display-buffer-other-frame.
3199b96f
CY
3248 (gdb-display-gdb-buffer): Use pop-to-buffer.
3249
3250 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3251
3252 * progmodes/python.el: Don't set same-window-buffer-names.
3253
3254 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3255
3256 * window.el (display-buffer-alist): Add *Python*.
3257
8319e0bf
CY
32582011-09-10 Chong Yidong <cyd@stupidchicken.com>
3259
3260 * window.el (display-buffer-alist): Add entry for buffers
3261 previously handled same-window-*.
3262 (display-buffer-alist, display-buffer-default-action)
3263 (display-buffer-overriding-action): Mark as risky.
3264 (display-buffer-alist): Document action function changes.
3265 (display-buffer--same-window-action)
3266 (display-buffer--other-frame-action): New variables.
3267 (switch-to-buffer, display-buffer-other-frame): Use them.
3268 (display-buffer): Rename reuse-frame entry to reusable-frames.
3269 (display-buffer-reuse-selected-window): Function deleted.
3270 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3271 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3272 (display-buffer-special): New function.
3273 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3274 display-buffer-reuse-or-pop-window. Split off special-display
3275 part into display-buffer-special.
3276 (display-buffer-use-some-window): Don't perform any special
3277 pop-up-frames handling.
3278 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3279 (display-buffer--maybe-same-window): Rename from
0d3ff375 3280 display-buffer-maybe-same-window.
8319e0bf 3281
919a69aa
CY
3282 * info.el: Don't set same-window-regexps.
3283 (info-setup): New function.
3284 (info-other-window, info): Call it.
3285
3286 * cus-edit.el: Don't set same-window-regexps.
3287 (customize-group): New argument.
3288 (customize-group-other-window): Use it.
3289 (customize-face, customize-face-other-window): Likewise.
3290 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3291
8319e0bf
CY
3292 * net/rlogin.el:
3293 * net/telnet.el:
3294 * progmodes/gud.el: Don't set same-window-regexps.
3295
3296 * cmuscheme.el:
3297 * ielm.el:
3298 * shell.el:
3299 * mail/sendmail.el:
3300 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3301
25173000
JL
33022011-09-10 Juri Linkov <juri@jurta.org>
3303
3304 * isearch.el (isearch-edit-string): Remove obsolete mention of
3305 `C-w' (`isearch-yank-word-or-char') from docstring.
3306 (isearch-query-replace): Fix typo in docstring (bug#9466).
3307
056e44ef
JL
33082011-09-10 Juri Linkov <juri@jurta.org>
3309
3310 * paren.el (show-paren-function): Don't show escaped parens.
3311 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3312
c3760c17
EZ
33132011-09-10 Eli Zaretskii <eliz@gnu.org>
3314
3315 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3316 (mm-default-file-encoding): Remove autoload forms, they are
3317 replaced with autoload cookies in mml.el and mm-encode.el.
3318 (mail-add-attachment): New command.
3319 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3320 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3321 the doc string.
3322 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3323
fece895e
RT
33242011-09-10 Reuben Thomas <rrt@sc3d.org>
3325
e69df516
SM
3326 * simple.el (count-words-region): Use buffer if there's no region
3327 (bug#9429).
fece895e 3328
5e68ce4a
JL
33292011-09-09 Juri Linkov <juri@jurta.org>
3330
3331 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3332 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3333 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3334
0a6b9622
AM
33352011-09-09 Alan Mackenzie <acm@muc.de>
3336
3337 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3338 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3339
14a29deb
EZ
33402011-09-09 Eli Zaretskii <eliz@gnu.org>
3341
3342 Fix for Savannah bug#9392.
3343 * simple.el (mail-encode-mml): New defvar.
3344
3345 * mail/rmail.el (mail-encode-mml): Add a defvar.
3346 (rmail-enable-mime-composing): Default to t.
3347 (rmail-forward): Use MIME method of forwarding only if both
3348 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3349 Set mail-encode-mml non-nil if the MIME method was used.
3350
3351 * mail/sendmail.el (mml-to-mime): Add autoload form.
3352 (mail-encode-mml): Add a defvar.
3353 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3354 to nil.
3355 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3356 message through mml-to-mime, and reset mail-encode-mml to nil.
3357
28c45130
GM
33582011-09-09 Glenn Morris <rgm@gnu.org>
3359
3360 * woman.el (woman-if-body): When processing an .el block,
3361 do not delete the next .el block as well. (Bug#9447)
69f4b618 3362 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3363
9b1c252e
MR
33642011-09-08 Martin Rudalics <rudalics@gmx.at>
3365
3366 * window.el (window-deletable-p): Make sure window is live before
3367 invoking window-prev-buffers.
3368
567457e3
LL
33692011-09-08 Leo Liu <sdl.web@gmail.com>
3370
3371 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3372
97f05794
JL
33732011-09-08 Juri Linkov <juri@jurta.org>
3374
3375 * progmodes/compile.el (compilation-environment): Make it
3376 a defcustom (bug#8340).
3377
8b0874b5
MR
33782011-09-08 Martin Rudalics <rudalics@gmx.at>
3379
3380 * window.el (frame-auto-delete): Rename to window-auto-delete.
3381 Make it control auto-deletion of windows and/or frames.
3382 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3383 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3384 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3385 Rewrite handling of case when window/frame can be deleted.
3386 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3387 argument t. (Bug#9456)
8b0874b5 3388
4feb6e73
CY
33892011-09-07 Chong Yidong <cyd@stupidchicken.com>
3390
3391 * help-mode.el (help-mode): Restore autoload.
3392
91ab9c13
JL
33932011-09-07 Juri Linkov <juri@jurta.org>
3394
3395 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3396 `compilation-environment'. Set buffer-local
3397 `compilation-environment' to `thisenv' later after (funcall mode).
3398 (Bug#8340)
3399
3400 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3401 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3402 instead of replacing its value. (Bug#8340)
3403
0527e251
JL
34042011-09-07 Juri Linkov <juri@jurta.org>
3405
3406 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3407 based on text properties put by `grep-filter' instead of matching
3408 escape sequences.
3409 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3410 to the value of `grep-error-screen-columns' (bug#9438).
3411
249f792c
JL
34122011-09-07 Juri Linkov <juri@jurta.org>
3413
3414 * simple.el (next-error-highlight, next-error-highlight-no-select):
3415 Doc fix (bug#9432).
3416
ff7271b9
OT
34172011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3418
3419 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3420 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3421
183fc730
LL
34222011-09-07 Leo Liu <sdl.web@gmail.com>
3423
3424 * net/rcirc.el (rcirc-mode): Conditionally initialize
3425 rcirc-input-ring.
3426
77694924
SM
34272011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * emacs-lisp/find-func.el (find-function-C-source): Only set
3430 find-function-C-source-directory after checking that we found a source
3431 file there (bug#9440).
3432
d809b8eb
AM
34332011-09-06 Alan Mackenzie <acm@muc.de>
3434
3435 * isearch.el (isearch-other-meta-char): Wherever a key list is
3436 unread, "unread" the prefix arg, too. This fixes bug #8901.
3437
453de99f
OG
34382011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3439
3440 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3441
90439906
JL
34422011-09-05 Juri Linkov <juri@jurta.org>
3443
3444 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3445
f62bd846
JL
34462011-09-05 Juri Linkov <juri@jurta.org>
3447
3448 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3449 keeping point where processing of grep matches begins, and
3450 continue to delete remaining escape sequences from the same point.
3451 (grep-filter): Make leading zero optional in "0?1;31m" because
3452 git-grep emits "\033[1;31m" escape sequences unlike expected
3453 "\033[01;31m" as GNU Grep does (bug#9408).
3454 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3455
045820ec
JL
34562011-09-05 Juri Linkov <juri@jurta.org>
3457
3458 * subr.el (y-or-n-p): Capitalize "yes".
3459
f5e29b9b
MA
34602011-09-04 Michael Albinus <michael.albinus@gmx.de>
3461
3462 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3463 `tramp-cache-unload-hook' where appropriate.
3464 (tramp-methods): Rename `tramp-remote-sh' to
3465 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3466 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3467
3468 * net/tramp-sh.el (top): Don't require 'shell.
3469 (tramp-methods): Add `tramp-remote-shell' and
3470 `tramp-remote-shell-args' entries.
3471 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3472 (tramp-sh-handle-shell-command): Remove.
3473 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3474 Use `tramp-remote-shell'.
3475
2784c434
CY
34762011-09-03 Chong Yidong <cyd@stupidchicken.com>
3477
393a301e 3478 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3479 (sendmail-query-once): Save directly to send-mail-function.
3480 Update message-send-mail-function too.
3481
3482 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3483
464cdf56
CS
34842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3485
3486 * progmodes/python.el (python-mode-map): Use correct function to
3487 start python interpreter from menu-bar (as reported by Geert
3488 Kloosterman).
3489 (inferior-python-mode-map): Fix typo.
393a301e 3490 (python-shell-map): Remove.
464cdf56 3491
d37e5c87
DD
34922011-09-03 Deniz Dogan <deniz@dogan.se>
3493
3494 * net/rcirc.el (rcirc-print): Simplify code for
3495 rcirc-scroll-show-maximum-output. There is no need to walk
3496 through all windows to find the right one.
3497
f3ada0ee
CS
34982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3499
3500 * help.el (help-return-method): Doc fix.
3501
1f3c99ca
MR
35022011-09-03 Martin Rudalics <rudalics@gmx.at>
3503
3504 * window.el (window-deletable-p): Don't return a non-nil value
3505 when there's a buffer that was shown in the window before.
3506 (Bug#9419)
393a301e
SM
3507 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3508 Set window's previous buffers to nil.
1f3c99ca 3509
a3cf097f
EZ
35102011-09-03 Eli Zaretskii <eliz@gnu.org>
3511
3512 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3513 newline before and after the tag line, so it doesn't interfere
3514 with determining the paragraph direction of bidirectional text.
3515
3d03de90
LL
35162011-09-03 Leo Liu <sdl.web@gmail.com>
3517
3518 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3519
c3313451
CY
35202011-09-02 Chong Yidong <cyd@stupidchicken.com>
3521
393a301e 3522 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3523 (pop-to-buffer): Change interactive spec. Pass second argument
3524 directly to display-buffer.
3525 (display-buffer): Fix interactive spec. Use functionp to
3526 distinguish between a function and a list of functions.
3527
3528 * abbrev.el (edit-abbrevs):
3529 * arc-mode.el (archive-extract):
3530 * autoinsert.el (auto-insert):
3531 * bookmark.el (bookmark-bmenu-list):
3532 * files.el (find-file):
3533 * view.el (view-buffer):
3534 * progmodes/compile.el (compilation-goto-locus):
3535 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3536
89894cd8
CY
35372011-09-02 Chong Yidong <cyd@stupidchicken.com>
3538
3539 * window.el (display-buffer-alist): Doc fix.
3540 (display-buffer): Add docstring. Don't treat
3541 display-buffer-default specially.
3542 (display-buffer-reuse-selected-window)
3543 (display-buffer-same-window, display-buffer-maybe-same-window)
3544 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3545 (display-buffer-pop-up-window)
3546 (display-buffer-reuse-or-pop-window)
3547 (display-buffer-use-some-window): New functions.
3548 (display-buffer-default-action): Use them.
393a301e 3549 (display-buffer-default): Delete.
89894cd8
CY
3550 (pop-to-buffer-1): Fix choice of actions.
3551
ae0bc9fb
SM
35522011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * minibuffer.el (completion--insert-strings): Don't get confused by
3555 completion entries that end with an LF char.
3556
e9d90883
EZ
35572011-09-01 Eli Zaretskii <eliz@gnu.org>
3558
3559 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3560
437014c8
CY
35612011-09-01 Chong Yidong <cyd@stupidchicken.com>
3562
3563 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3564 (display-buffer-same-window, display-buffer-other-window):
3565 New functions.
437014c8
CY
3566 (pop-to-buffer-1): New function. Use the above.
3567 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3568 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3569
3570 * view.el (view-buffer-other-window, view-buffer-other-frame):
3571 Just use pop-to-buffer.
3572
a5e063d5
TV
35732011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3574
3575 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3576
793d32bb
WH
35772011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3578
3579 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3580
d65e4c15
RS
35812011-08-31 Richard Stallman <rms@gnu.org>
3582
3583 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3584 of the separation of rmail-view-buffer from rmail-buffer.
3585 If you say no to "replace original", the decrypt is in the
3586 view buffer. If you say yes, the decrypt goes into the
3587 rmail buffer also.
3588
f818cd2a
MR
35892011-08-31 Martin Rudalics <rudalics@gmx.at>
3590
3591 * window.el (display-buffer-window): Rewrite doc-string.
3592 (display-buffer-record-window): New function.
3593 (display-buffer-macro-specifiers)
3594 (display-buffer-even-window-sizes, display-buffer-set-height)
3595 (display-buffer-set-width, display-buffer-in-window)
3596 (display-buffer-reuse-window, display-buffer-split-specifiers)
3597 (display-buffer-side-specifiers, display-buffer-split-window-1)
3598 (display-buffer-split-window, display-buffer-split-atom-window)
3599 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3600 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3601 (display-buffer-other-window-means-other-frame)
3602 (display-buffer-normalize-special)
3603 (display-buffer-normalize-default)
3604 (display-buffer-normalize-argument)
3605 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3606 (display-buffer-normalize-specifiers, display-buffer-frame)
3607 (display-buffer-same-window, display-buffer-same-frame)
3608 (display-buffer-other-window)
3609 (display-buffer-same-frame-other-window)
3610 (display-buffer-other-frame, pop-to-buffer-same-window)
3611 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3612 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3613 (switch-to-buffer-same-frame)
3614 (switch-to-buffer-other-window-same-frame)
3615 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3616 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3617 (display-buffer-alist-set): Remove.
3618 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3619 (special-display-regexps, special-display-function):
3620 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3621 parameter.
3622 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3623 (special-display-frame-alist, special-display-popup-frame)
3624 (same-window-buffer-names, same-window-regexps, same-window-p)
3625 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3626 (split-window-preferred-function, split-height-threshold)
3627 (split-width-threshold, window-splittable-p)
3628 (split-window-sensibly, window--try-to-split-window)
3629 (window--frame-usable-p, even-window-heights)
3630 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3631 (window--display-buffer-2, display-buffer-other-frame):
3632 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3633 (display-buffer-default, display-buffer-assq-regexp): New functions.
3634 (display-buffer-alist): Rewrite doc-string.
3635 (display-buffer-default-action)
3636 (display-buffer-overriding-action): New variables.
3637 (display-buffer, switch-to-buffer): Rewrite.
3638 (pop-to-buffer): Restore Emacs 23 behavior but use
3639 window-normalize-buffer-to-display.
3640 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3641 Restore Emacs 23 behavior but use
3642 window-normalize-buffer-to-switch-to.
3643 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3644 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3645 Rewrite using Emacs 23 options.
f818cd2a 3646
5bc3b51d
MA
36472011-08-31 Michael Albinus <michael.albinus@gmx.de>
3648
3649 * net/tramp.el (tramp-root-regexp): Remove.
3650 (tramp-completion-file-name-regexp-unified)
3651 (tramp-completion-file-name-regexp-separate)
3652 (tramp-completion-file-name-regexp-url): Don't use leading volume
3653 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3654 (tramp-drop-volume-letter): Simplify definition.
3655 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3656
b1a4f8e1
SM
36572011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3660 (bug#9356).
3661
5664fa7b
RT
36622011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3663
b1a4f8e1 3664 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3665
9a45d6c3
JL
36662011-08-29 Juri Linkov <juri@jurta.org>
3667
3668 * isearch.el (isearch-done): Don't display message "Mark saved"
3669 when arg `edit' is non-nil to prevent its flicker in the echo area.
3670
fb87e0fb
CY
36712011-08-28 Chong Yidong <cyd@stupidchicken.com>
3672
3673 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3674 obsolete packages for deletion.
3675
09ac1c2a
CS
36762011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3677
3678 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3679 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3680 view-mode from help-mode.
3681 (help-xref-override-view-map): Remove.
3682 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3683 view-mode is not used anymore.
3684
7a1ff57f
CY
36852011-08-28 Chong Yidong <cyd@stupidchicken.com>
3686
3687 * server.el (server-port): Doc fix.
3688
b9696605
CY
3689 * cus-theme.el (custom-theme-choose-mode): Inherit from
3690 special-mode (Bug#9124).
3691 (custom-theme-choose-mode-map): Add special-mode to parent.
3692
ef8cdf8c
AM
36932011-08-28 Alan Mackenzie <acm@muc.de>
3694
3695 * progmodes/cc-fonts.el
3696 (c-make-font-lock-BO-decl-search-function): New function.
3697 (c-basic-matchers-after - "Fontify the clauses after various
3698 keywords"): Extract the three keyword lists for the 3 erroneous
3699 constructs from the list of four, and use the new function above
3700 in place of an old one.
3701
27de4e20
DD
37022011-08-28 Deniz Dogan <deniz@dogan.se>
3703
3704 * net/rcirc.el (rcirc-insert-prev-input)
3705 (rcirc-insert-next-input): Remove unused argument.
3706
356a3681
SM
37072011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3710
3fc9b218
AM
37112011-08-27 Alan Mackenzie <acm@muc.de>
3712
3713 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3714 handle function pointer parameters properly.
3715
538a061c
MR
37162011-08-27 Martin Rudalics <rudalics@gmx.at>
3717
3718 * window.el (display-buffer-reuse-window): Fix case where
3719 selected window was reused with non-nil OTHER-WINDOW argument.
3720 (Bug#9381)
3721
35b1c40c
DD
37222011-08-27 Deniz Dogan <deniz@dogan.se>
3723
3724 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3725 oftc's NickServ messages.
3726
2f6a3e79
GM
37272011-08-27 Glenn Morris <rgm@gnu.org>
3728
3729 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3730
7254299e
CY
37312011-08-26 Chong Yidong <cyd@stupidchicken.com>
3732
3733 * emacs-lisp/package.el (package-install): Call package-initialize
3734 if called interactively.
3735
f8ccf167
LL
37362011-08-26 Leo Liu <sdl.web@gmail.com>
3737
3738 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3739
3e8cd5ce
JL
37402011-08-25 Juri Linkov <juri@jurta.org>
3741
3742 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3743 `search-whitespace-regexp' (bug#9364).
3744
93eb7113
JL
37452011-08-25 Juri Linkov <juri@jurta.org>
3746
3747 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3748 `regexp-search-ring' to their global values to protect from
3749 updating by `read-from-minibuffer' (bug#9185).
3750
f65d1611
JL
37512011-08-25 Juri Linkov <juri@jurta.org>
3752
3753 * textmodes/ispell.el (ispell-command-loop): Add newline
3754 at the end of the "Use option `i'..." line.
3755
f1cf7a31
JL
37562011-08-25 Juri Linkov <juri@jurta.org>
3757
3758 * battery.el (display-battery-mode): If `battery-status-function'
3759 or `battery-mode-line-format' is nil, display the message and set
3760 `display-battery-mode' to nil (bug#9363).
3761
0c95fcf7
EZ
37622011-08-25 Eli Zaretskii <eliz@gnu.org>
3763
3764 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3765 bidi-string-mark-left-to-right; they are unnecessary now.
3766
a2ebe600
DD
37672011-08-25 Deniz Dogan <deniz@dogan.se>
3768
3769 * net/quickurl.el: Documentation typo fixes.
3770
e4ed06f1
CY
37712011-08-25 Chong Yidong <cyd@stupidchicken.com>
3772
3773 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3774
e5f1c99e
GM
37752011-08-25 Glenn Morris <rgm@gnu.org>
3776
b2948976
GM
3777 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3778
e5f1c99e
GM
3779 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3780 (smtpmail-via-smtp): Handle nil response from smtp.
3781
f22f4808
JL
37822011-08-24 Juri Linkov <juri@jurta.org>
3783
3784 * proced.el (proced-marked): Inherit from `error' instead of
3785 `font-lock-warning-face'.
3786
3787 * ibuffer.el (ibuffer-marked-face): Change default face from
3788 `font-lock-warning-face' to `warning'.
3789 (ibuffer-deletion-face): Change default face from
3790 `font-lock-type-face' to `error'.
3791
3792 * battery.el (battery-update): Use the face `error' instead of
3793 `font-lock-warning-face' (bug#6117).
3794
6a93965e
JL
37952011-08-24 Juri Linkov <juri@jurta.org>
3796
3797 * faces.el (success): Change face color from "Green3" to
3798 "ForestGreen" on light background (bug#9353).
3799
1ed43b09
CY
38002011-08-24 Chong Yidong <cyd@stupidchicken.com>
3801
5664fa7b
RT
3802 * window.el (quit-window): Rename from quit-restore-window.
3803 Use same arglist as old quit-window.
1ed43b09
CY
3804 (frame-auto-delete): Doc fix.
3805
3806 * view.el (view-mode-exit): Use quit-window.
3807
11dcdbb2
JL
38082011-08-24 Juri Linkov <juri@jurta.org>
3809
3810 * isearch.el (isearch-ring-adjust1): Start visiting previous
3811 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3812 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3813 for empty search string (when the last search string is reused
3814 automatically) to adjust the isearch ring to the last element and
3815 prepare the correct index for further M-p commands (bug#9185).
3816
de62b4df
KH
38172011-08-24 Kenichi Handa <handa@m17n.org>
3818
3819 * international/ucs-normalize.el: If decomposition property of
3820 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3821 nil.
3822 (nfd, nfkd): Likewise.
3823
963b492b
SM
38242011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3827 from process filters aren't reliably transmitted to the surrounding
3828 accept-process-output.
3829 (mpc-proc-check): New function.
3830 (mpc-proc-sync): Use it (bug#8293)
3831
93b6b5e1
SM
38322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3835 Add compatibility functions (bug#9313).
3836
bca633fb
EZ
38372011-08-23 Eli Zaretskii <eliz@gnu.org>
3838
b177498a
EZ
3839 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3840
bca633fb
EZ
3841 * international/uni-bidi.el: Regenerated.
3842
0902a04e
KH
38432011-08-23 Kenichi Handa <handa@m17n.org>
3844
3845 * international/charprop.el:
3846 * international/uni-bidi.el:
3847 * international/uni-category.el:
3848 * international/uni-combining.el:
3849 * international/uni-comment.el:
3850 * international/uni-decimal.el:
3851 * international/uni-decomposition.el:
3852 * international/uni-digit.el:
3853 * international/uni-lowercase.el:
3854 * international/uni-mirrored.el:
3855 * international/uni-name.el:
3856 * international/uni-numeric.el:
3857 * international/uni-old-name.el:
3858 * international/uni-titlecase.el:
3859 * international/uni-uppercase.el: Regenerate.
3860
3bbf23bc
MR
38612011-08-23 Martin Rudalics <rudalics@gmx.at>
3862
3863 * help.el (help-window-setup): Fix message displayed when other
3864 window is reused. (Bug#9341)
3865
b3fd59bd
SM
38662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3867
1802e444
SM
3868 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3869 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3870
b3fd59bd
SM
3871 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3872 Mark obsolete.
3873 * shell.el (shell-parse-pcomplete-arguments): New function.
3874 (shell-completion-vars): Use it instead (bug#9160).
3875
4eb61348
SM
38762011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3877
867cab74
SM
3878 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3879 strings and comments (bug#9333).
3880
4eb61348
SM
3881 * emacs-lisp/debug.el (debug-arglist): New function.
3882 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3883 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3884
262a1439
JL
38852011-08-22 Juri Linkov <juri@jurta.org>
3886
56ee679c
JL
3887 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3888 Revert regexp that highlights output switches to its old
3889 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3890
262a1439
JL
3891 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3892 to check for empty output (bug#9226).
3893
f13f86fb
CY
38942011-08-22 Chong Yidong <cyd@stupidchicken.com>
3895
3896 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3897 symbol-constituent as the default, as that stops font-lock from
3898 working properly (Bug#8843).
3899
c65c9622
LMI
39002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3901
3902 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3903 `coding-system-for-*' around the process open call to avoid
3904 auth-source side effects.
e7f2c178 3905 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3906 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3907 probe hangs.
c65c9622 3908
23a8a5ab
CY
39092011-08-21 Chong Yidong <cyd@stupidchicken.com>
3910
ff98b2dd
CY
3911 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3912
23a8a5ab
CY
3913 * emacs-lisp/find-func.el (find-function-noselect): New arg
3914 lisp-only.
3915
3916 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3917 signal an error for built-in functions (Bug#6664).
3918
f5e3c598
LMI
39192011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3920
3921 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3922 (smtpmail-try-auth-methods): Use it.
3923
a3f2468a
CY
39242011-08-21 Chong Yidong <cyd@stupidchicken.com>
3925
2c34e8da
CY
3926 * font-lock.el (font-lock-fontify-region)
3927 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3928 (font-lock-default-unfontify-buffer)
3929 (font-lock-default-fontify-region)
3930 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3931
b3fd59bd
SM
3932 * progmodes/compile.el (compilation-error-properties):
3933 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3934 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3935 `ant' regexp.
ee31aabc 3936
a3f2468a
CY
3937 * net/browse-url.el (browse-url-firefox): Don't call
3938 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3939
8e999f70
GM
39402011-08-20 Glenn Morris <rgm@gnu.org>
3941
c21a496a
GM
3942 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3943
59ee0542
GM
3944 * tutorial.el (tutorial--default-keys): Update some default bindings.
3945
8e999f70
GM
3946 * files.el (hack-local-variables): Fully ignore case for "mode:".
3947
e3715033
AM
39482011-08-20 Alan Mackenzie <acm@muc.de>
3949
3950 Resolve invalid use of a regexp in regexp-opt.
3951
4d61f28d
JB
3952 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3953 detection for a java annotation.
e3715033 3954
4d61f28d 3955 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3956 detection for a java annotation.
3957
4d61f28d
JB
3958 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3959 handling for java.
e3715033
AM
3960 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3961
04ed2e9c
CY
39622011-08-20 Chong Yidong <cyd@stupidchicken.com>
3963
3964 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3965 (Bug#9274).
3966
826cee64
AM
39672011-08-20 Alan Mackenzie <acm@muc.de>
3968
58179cce 3969 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3970 such a construct. Mainly for when jit-lock etc. starts a chunk
3971 here.
3972
58179cce 3973 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3974 variable.
58179cce 3975 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3976 c-make-font-lock-search-function.
3977 (c-make-font-lock-search-function): Use the above function.
3978 (c-make-font-lock-context-search-function): New function.
3979 (c-cpp-matchers): Enhance the preprocessor expression case with
3980 the above function
3981 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3982 which takes an expression.
3983
3984 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3985
13009bd8
MR
39862011-08-20 Martin Rudalics <rudalics@gmx.at>
3987
3988 * window.el (display-buffer-reuse-window)
3989 (display-buffer-pop-up-window): Don't reuse or split a side
3990 window.
3991
9234ff7f
GM
39922011-08-19 Glenn Morris <rgm@gnu.org>
3993
3994 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3995 Downcase "Mode:". (Bug#9331)
9234ff7f 3996
f635daa1
CY
39972011-08-18 Chong Yidong <cyd@stupidchicken.com>
3998
3999 * international/characters.el: Add L and R categories.
4000
4001 * subr.el (bidi-string-mark-left-to-right): Rename from
4002 string-mark-left-to-right. Use category search.
4003
4004 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4005
bc987f8b
JL
40062011-08-18 Juri Linkov <juri@jurta.org>
4007
4008 * faces.el (error, warning, success): New faces with definitions
4009 copied from old default values of `font-lock-warning-face',
4010 `compilation-warning', `compilation-info' (bug#6117).
4011
4012 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4013
4014 * progmodes/compile.el (compilation-error): Inherit from `error'.
4015 (compilation-warning): Inherit from `warning'.
4016 (compilation-info): Inherit from `success'.
4017
4018 * dired.el (dired-marked): Inherit from `warning'.
4019 (dired-flagged): Inherit from `error'.
4020
57173b96
LMI
40212011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4022
3e79eb87
LMI
4023 * mail/smtpmail.el (auth-source): Require to avoid problems with
4024 binding variables (bug#9298). Also clean up some unused
4025 autoloads.
4026
b3fd59bd
SM
4027 * net/network-stream.el (network-stream-open-starttls):
4028 Support using starttls.el without using gnutls-cli.
57173b96 4029
02b404de
JL
40302011-08-17 Juri Linkov <juri@jurta.org>
4031
4032 * progmodes/grep.el (rgrep): Handle the case when
4033 `grep-find-command' is a cons cell (bug#9278).
4034
8c9177f2
MR
40352011-08-17 Martin Rudalics <rudalics@gmx.at>
4036
4037 * window.el (display-buffer-pop-up-frame): Run frame creation
4038 function with BUFFER current (as special-display-popup-frame
4039 does). Reported by Drew Adams.
4040
3644a0ab
DU
40412011-08-17 Daiki Ueno <ueno@unixuser.org>
4042
4043 * epa-mail.el: Simplify GnuPG group expansion using
4044 epg-expand-group.
4045 (epa-mail-group-alist, epa-mail-group-modtime)
4046 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4047 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4048 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4049 Remove.
4050
5e617bc2 40512011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4052
4053 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4054
9c4aeabf
AM
40552011-08-16 Alan Mackenzie <acm@muc.de>
4056
4057 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4058 Correct, to avoid the inside of macros.
4059
3a99bf64
RS
40602011-08-16 Richard Stallman <rms@gnu.org>
4061
04963aa8
RS
4062 * epa-mail.el: Handle GnuPG group definitions.
4063 (epa-mail-group-alist, epa-mail-group-modtime)
4064 (epa-mail-gnupg-conf-file): New variables.
4065 (epa-mail-parse-groups, epa-mail-sync-groups)
4066 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4067 (epa-mail-expand-recipients): New functions.
4068 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4069
177549d0
RS
4070 * mail/rmail.el (rmail-epa-decrypt): New command.
4071
fe38beef
RS
4072 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4073 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4074 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4075 (epa-decrypt-armor-in-region): Make error message clearer.
4076
934eacb9
SM
40772011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4080 and "a2b" to "ab" for `prefix'.
4081
d024fb4e
CY
40822011-08-14 Chong Yidong <cyd@stupidchicken.com>
4083
4084 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4085 filter groups.
de148fee
CY
4086 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4087 Fourquet (Bug#8804).
d024fb4e 4088
62f1ca49
JB
40892011-08-12 Juanma Barranquero <lekktu@gmail.com>
4090
4091 * startup.el (argi): Declare as global variable (bug#9275).
4092
9ccaaa4b
CY
40932011-08-12 Chong Yidong <cyd@stupidchicken.com>
4094
4095 * subr.el (string-mark-left-to-right): Search the entire string
4096 for RTL script, not just the terminating character. Doc fix.
4097
a3dae87a
SM
40982011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4099
6cd18349
SM
4100 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4101 New function.
4102 (js--regexp-literal, js-syntax-propertize-function): Remove.
4103 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4104 (js-mode-map): Don't rebind electric keys.
4105 (js-insert-and-indent): Remove.
4106 (js-mode): Setup electric-layout and electric-indent instead.
4107
a3dae87a
SM
4108 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4109
9d5cb631
DU
41102011-08-12 Daiki Ueno <ueno@unixuser.org>
4111
4112 * epa.el (epa-progress-callback-function): Fix the logic of
4113 displaying progress.
4114 * epa-file.el (epa-file-insert-file-contents): Make progress
4115 display more user-friendly.
4116 (epa-file-write-region): Ditto.
4117
3e26a4a2
CY
41182011-08-10 Chong Yidong <cyd@stupidchicken.com>
4119
4120 * subr.el (string-mark-left-to-right): New function.
4121
4122 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4123 Use string-mark-left-to-right.
4124 (list-buffers-noselect): Caller changed.
4125
a3dae87a
SM
4126 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4127 Use string-mark-left-to-right.
3e26a4a2
CY
4128 (tabulated-list-print): Recenter after moving point.
4129
ac8cf6e6
JL
41302011-08-10 Juri Linkov <juri@jurta.org>
4131
4132 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4133 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4134 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4135
8d96c9a4
CY
41362011-08-09 Chong Yidong <cyd@stupidchicken.com>
4137
4138 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4139 (Bug#7554).
4140
7be1c708 41412011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4142
4143 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4144 character. (Bug#6594)
4145
37e11a63
CY
41462011-08-08 Chong Yidong <cyd@stupidchicken.com>
4147
839dde57
CY
4148 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4149 (image-dired--with-db-file): New macro.
4150 (image-dired-write-tags, image-dired-remove-tag)
4151 (image-dired-create-gallery-lists, image-dired-write-comments)
4152 (image-dired-get-comment, image-dired-mark-tagged-files)
4153 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4154 (image-dired-gallery-generate): Use insert-file-contents.
4155
37e11a63
CY
4156 * time.el (display-time-world-list, display-time-world-display):
4157 * time-stamp.el (time-stamp-string):
4158 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4159 set-time-zone-rule (Bug#7337).
4160
0b4946c4
DU
41612011-08-08 Daiki Ueno <ueno@unixuser.org>
4162
4163 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4164 (epg-error-to-string, epg-errors-to-string): New function.
4165 (epg-wait-for-completion): Reverse errors list.
4166 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4167 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4168 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4169 (epg-sign-keys, epg-generate-key-from-file)
4170 (epg-generate-key-from-string): Format errors by using
4171 epg-errors-to-string (bug#9255).
4172 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4173
75bfc667
JL
41742011-08-07 Juri Linkov <juri@jurta.org>
4175
4176 * faces.el (list-faces-display): Remove extra angle bracket
4177 from `help-mode-map'.
4178
4179 * info.el (Info-history-toc-nodes): Doc fix.
4180
4181 * longlines.el (longlines-mode): Doc fix.
4182
673e08bb
SM
41832011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4640dd88
SM
4185 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4186 of statements and in a few more cases (bug#9183).
4187
673e08bb
SM
4188 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4189 New functions.
4190 (cl-transform-lambda): Use them (bug#9239).
4191
89b3f019
MR
41922011-08-05 Martin Rudalics <rudalics@gmx.at>
4193
4194 * window.el (display-buffer-same-window)
4195 (display-buffer-same-frame, display-buffer-other-window)
4196 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4197 (pop-to-buffer-other-window)
4198 (pop-to-buffer-same-frame-other-window)
4199 (pop-to-buffer-other-frame): Make them defuns.
4200 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4201
640c8776
SM
42022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * subr.el (make-composed-keymap): Move from C. Change calling
4205 convention, and improve docstring to bring attention to a subtle point.
4206 * minibuffer.el (completing-read-default): Adjust accordingly.
4207
63648a95
MA
42082011-08-03 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4211 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4212
4213 * net/trampver.el: Update release number.
4214
b796c9b7
SM
42152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4218 "in" (bug#9190).
4219
2239d7d5
LMI
42202011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4221
e07dd7c3
LMI
4222 * mail/sendmail.el (sendmail-query-once): Restore the current
4223 buffer after querying (bug#9074).
4224
0e6a2bd7
LMI
4225 * dired.el (dired-flagged): Use different faces for marked and
4226 flagged files (bug#6117).
4227
ce887515
LMI
4228 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4229 (bug#4433).
4230
92f2affc
LMI
4231 * ido.el (ido-mode): Switch off the message if called
4232 non-interactively.
4233
57d5aff0
LMI
4234 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4235 before 587, since it appears that that's more likely to work for
4236 more people.
4237
98cd6c18 4238 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4239 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4240 exist.
4241
b96dec83
LMI
4242 * info.el: Remove the `Info-beginning-of-buffer' function
4243 (bug#8325).
4244
b796c9b7
SM
4245 * net/network-stream.el (network-stream-open-starttls):
4246 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4247
d90e2ea0
MR
42482011-08-01 Martin Rudalics <rudalics@gmx.at>
4249
4250 * window.el (display-buffer-in-window): Don't set dedicated status
4251 of window here (Bug#9215).
4252 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4253 (display-buffer-pop-up-side-window)
b796c9b7 4254 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4255
cca09170
SM
42562011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4259 before binding generated-autoload-file.
4260
027b979c
DD
42612011-08-01 Deniz Dogan <deniz@dogan.se>
4262
4263 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4264
3c7ee4f3
MA
42652011-07-30 Michael Albinus <michael.albinus@gmx.de>
4266
4267 Sync with Tramp 2.2.2.
4268
4269 * net/trampver.el: Update release number.
4270
2cc8e51a
JL
42712011-07-30 Juri Linkov <juri@jurta.org>
4272
4273 * dired-aux.el (dired-touch-initial): Remove function.
4274 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4275 current time, and `default' to the last modification time of the
4276 current marked file (bug#6887).
4277
a514d856
JM
42782011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4279
4280 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4281 numeric argument to read-number (bug#9163).
a514d856 4282
8a7eddd7
MA
42832011-07-27 Michael Albinus <michael.albinus@gmx.de>
4284
4285 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4286 connection process, it could be nil.
4287
1ddd96f5
LL
42882011-07-27 Leo Liu <sdl.web@gmail.com>
4289
4290 Simplify url handling in rcirc-mode.
4291
4292 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4293 (rcirc-browse-url-at-mouse): Remove.
4294 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4295
b248a85d
AM
42962011-07-26 Alan Mackenzie <acm@muc.de>
4297
4298 Fontify bitfield declarations properly.
4299
4300 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4301 (c-symbol-chars): Now exported as a lang variable.
4302 (c-not-primitive-type-keywords): New lang variable.
4303
4304 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4305 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4306 parsed as a bitfield declaration.
b248a85d 4307
b796c9b7
SM
4308 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4309 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4310 (c-punctuation-in): New function.
4311 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4312 declarations properly.
4313
68575ab0
UJ
43142011-07-26 Ulf Jasper <ulf.jasper@web.de>
4315
4316 * calendar/icalendar.el (icalendar--all-events): Take care of
4317 multiple vcalendars in a single file.
b796c9b7 4318 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4319
0f0a88b9
DD
43202011-07-25 Deniz Dogan <deniz@dogan.se>
4321
4322 * image.el (insert-image): Clarifying docstring.
4323
0b3f36df
MA
43242011-07-24 Michael Albinus <michael.albinus@gmx.de>
4325
4326 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4327 `tramp-send-command-and-check' if there is no error.
4328 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4329
a9901f61
AM
43302011-07-22 Alan Mackenzie <acm@muc.de>
4331
4332 Prevent cc-langs.elc being loaded at run time.
4333
4334 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4335 cc-langs.
4336
4d61f28d 4337 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4338 "(require 'cc-langs)". Quote a form so it will evaluate at
4339 (cc-mode's) compilation time.
4340
11d074b2
MA
43412011-07-22 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4344 loading. (Bug#9114)
4345
938b94c8
MR
43462011-07-21 Martin Rudalics <rudalics@gmx.at>
4347
4348 * window.el (display-buffer-pop-up-window)
4349 (display-buffer-pop-up-side-window)
4350 (display-buffer-in-side-window): Call display-buffer-set-height
4351 and display-buffer-set-width after setting the new window's
b796c9b7 4352 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4353
bfa4f190
SS
43542011-07-20 Sam Steingold <sds@gnu.org>
4355
4356 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4357 (etags-tags-included-tables): Call `convert-standard-filename' on
4358 the file names contained in TAGS so that windows Emacs can handle
4359 TAGS files created by cygwin ctags.
4360
8ca42262
LMI
43612011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4362
4363 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4364 which apparently didn't work.
4365
5db2afd2 43662011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4367
5db2afd2
RW
4368 * proced.el (proced-send-signal): For *Marked Processes* buffer
4369 put point at beginning of buffer.
4370
92e15d10
SB
43712011-07-19 Stephen Berman <stephen.berman@gmx.net>
4372
4373 * proced.el (proced-format): Make header lines align with the text
4374 (bug#1779).
4375
1bfd59e5
LMI
43762011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4377
4378 * view.el (view-buffer): Allow running in `special' modes if we're
4379 visiting a file (bug#8615).
4380
f5aae37c
MR
43812011-07-19 Martin Rudalics <rudalics@gmx.at>
4382
4383 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4384 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4385 New functions.
f5aae37c
MR
4386 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4387 more accurately.
4388
bf2c1571
AM
43892011-07-18 Alan Mackenzie <acm@muc.de>
4390
4391 Fontify declarators properly when, e.g., a jit-lock chunk begins
4392 inside a declaration.
4393
4394 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4395
b796c9b7
SM
4396 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4397 New function.
bf2c1571
AM
4398 (c-complex-decl-matchers): Insert reference to
4399 c-font-lock-enclosing-decls.
4400
4401 * progmodes/cc-engine.el (c-backward-single-comment):
4402 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4403 to nil around calls to (forward-comment -1).
4404
4e190b80
LMI
44052011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4406
12dc863d
LMI
4407 * image.el (put-image): Doc typo fix.
4408
a762e966
LMI
4409 * progmodes/etags.el (tags-search): Doc typo fix.
4410
4e190b80
LMI
4411 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4412 password if we get errors 550 to 554.
4413
f019fb21
LMI
44142011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4415
b796c9b7 4416 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4417
81746738
LMI
4418 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4419 indentation character (bug#6380).
4420
3ee3a1b5
LMI
4421 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4422
c82f64de
LMI
4423 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4424 to clarify what the problem is (bug#4291).
4425
f019fb21
LMI
4426 * simple.el (current-kill): Clarify what
4427 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4428 (auto-fill-mode): Document `auto-fill-function' in relation to
4429 `auto-fill-mode' (bug#2470).
f019fb21 4430
0794775d
LM
44312011-07-16 Lawrence Mitchell <wence@gmx.li>
4432
4433 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4434 method if slot is read-only (bug#9035).
4435
be39b8cc
MR
44362011-07-16 Martin Rudalics <rudalics@gmx.at>
4437
b796c9b7 4438 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4439 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4440 selected before, see discussion of (Bug#8615), (Bug#6954).
4441 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4442
6ccf7859
GM
44432011-07-15 Glenn Morris <rgm@gnu.org>
4444
4445 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4446 Respect help-form.
6ccf7859 4447
87e86684
LM
44482011-07-09 Lawrence Mitchell <wence@gmx.li>
4449
4450 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4451 (gnutls-negotiate): Use it.
4452
d6066239
LMI
44532011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4454
b796c9b7
SM
4455 * net/gnutls.el (gnutls-negotiate):
4456 Upcase `gnutls-algorithm-priority'.
d6066239 4457
bd23ebc0
GM
44582011-07-15 Glenn Morris <rgm@gnu.org>
4459
c65bca65
GM
4460 * jka-compr.el (jka-compr-verbose): Move from here...
4461 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4462 Add missing :version tag.
4463 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4464
478615cc
LMI
44652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4466
7b41decb
LMI
4467 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4468 (gnutls-negotiate): Use it.
4469
dbc44fcd
LMI
4470 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4471
06789f97
LMI
4472 * info.el (Info-beginning-of-buffer): New command.
4473 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4474 announcing `b' as the key (bug#8325).
ab896c37 4475 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4476
c39da690
LMI
4477 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4478
3aa5f34b
LMI
4479 * international/mule-cmds.el
4480 (describe-specified-language-support): Make the error message
4481 clearer (bug#8905).
4482
4bf0979f
LMI
4483 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4484
478615cc
LMI
4485 * isearch.el (isearch-barrier): Add a doc string, since it's
4486 mentioned in a function doc string (bug#8678).
4487
75c68aa1
MR
44882011-07-15 Martin Rudalics <rudalics@gmx.at>
4489
4490 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4491 buffer argument (Bug#9083) and self-identifying label argument.
4492
a7c33da2
GM
44932011-07-15 Glenn Morris <rgm@gnu.org>
4494
4495 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4496
2f5c6024
LMI
44972011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4498
4499 * man.el (Man-fontify-manpage): Fix message when formatting the
4500 man page (bug#7929).
4501
0bb23927 45022011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4503
4504 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4505 argument LRM; if non-nil, append an invisible LRM character to the
4506 buffer name.
4507 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4508 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4509 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4510 paragraph direction.
cce4b0a7 4511
621ef9ab
LMI
45122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4513
d1583c48
LMI
4514 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4515 the man page name (bug#7929).
4516
6a57fb5f
LMI
4517 * image.el (put-image): Mention the `put-image' overlay property
4518 (bug#7834).
4519
d7956b14
LMI
4520 * scroll-bar.el (set-scroll-bar-mode): Mention that
4521 `scroll-bar-mode' lists the values (bug#7772).
4522
5b2d4a66
LMI
4523 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4524 command (bug#7729).
4525
7509a874
LMI
4526 * rect.el (apply-on-rectangle): Return the point after the last
4527 operation.
4528 (string-rectangle): Go to the point after the last operation
4529 (bug#7522).
4530
4fe74b19
LMI
4531 * printing.el (pr-toggle-region): Clarify the documentation
4532 slightly (bug#7493).
4533
b796c9b7
SM
4534 * time.el (display-time-update):
4535 Allow `display-time-mail-function' to return nil (bug#7158).
4536 Fix suggested by Detlev Zundel.
ab283561 4537
fc233c9d
LMI
4538 * vc/diff.el (diff): Clarify the order the file names are read
4539 (bug#7111).
4540
43f5740b
LMI
4541 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4542 the doc string (bug#7015).
4543
f2182a76
LMI
4544 * font-lock.el (font-lock-maximum-decoration): Mention what
4545 numeric levels mean (bug#6935).
4546
621ef9ab
LMI
4547 * startup.el (initial-buffer-choice): Don't mention the `none'
4548 selection, which is against policy.
4549
adc47434
MR
45502011-07-14 Martin Rudalics <rudalics@gmx.at>
4551
b796c9b7
SM
4552 * window.el (display-buffer-normalize-special):
4553 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4554
7e5bfb8f
EZ
45552011-07-14 Eli Zaretskii <eliz@gnu.org>
4556
4557 * subr.el (version<, version<=, version=): Mention "-CVS" and
4558 "-12345" alpha version numbers.
4559
27fa387a
CY
45602011-07-14 Chong Yidong <cyd@stupidchicken.com>
4561
4562 * bindings.el: Add advertised binding for set-mark-command
4563 (Bug#5772).
4564
8bdfa064
CY
45652011-07-14 Chong Yidong <cyd@stupidchicken.com>
4566
4567 * bindings.el (mode-line-other-buffer):
4568 * bookmark.el (bookmark-bmenu-2-window):
4569 * bs.el (bs-cycle-next, bs-cycle-previous):
4570 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4571 switch-to-buffer.
4572
4573 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4574 Delete.
8bdfa064 4575
5eba16a3
JB
45762011-07-14 Juanma Barranquero <lekktu@gmail.com>
4577
4578 * follow.el (follow-debug-message, follow-redisplay):
4579 * jka-cmpr-hook.el (with-auto-compression-mode):
4580 Fix typos in docstrings.
4581
15853710
LMI
45822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4583
a28e4607
LMI
4584 * subr.el (with-silent-modifications): Clarify somewhat what the
4585 macro inhibits (bug#6525).
4586
15853710
LMI
4587 * simple.el (eval-expression): Note what it does if called
4588 interactively (bug#6495).
4589
bee0fcef
CY
45902011-07-13 Chong Yidong <cyd@stupidchicken.com>
4591
b796c9b7
SM
4592 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4593 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4594
4595 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4596 Remove switch-to-buffer.
4597
58274504
LMI
45982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4599
bd2fcc8d
LMI
4600 * files.el (make-directory): Clarify that an error will be raised
4601 if there's an error (bug#6397).
4602
0f04b32c
LMI
4603 * startup.el (initial-buffer-choice): Add `none' as a choice
4604 (bug#6234).
4605
465c5fc8
LMI
4606 * subr.el (add-hook): Clarify section about buffer-local hooks
4607 (bug#6218).
4608
58274504
LMI
4609 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4610
bead9a43
JB
46112011-07-13 Juanma Barranquero <lekktu@gmail.com>
4612
4613 * tabify.el (untabify): Preserve the current column so that point
4614 doesn't move (bug#6032).
4615
3af98a7b
LMI
46162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4617
b796c9b7
SM
4618 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4619 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4620
6240145a
GM
46212011-07-13 Glenn Morris <rgm@gnu.org>
4622
4623 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4624 (dired-insert-directory): Give a message the first time
4625 if ls is found not to support --dired.
4626
1d8c2ccc
LMI
46272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4628
4629 * simple.el (toggle-truncate-lines): Clarify what is toggled
4630 (bug#5580). Text by Drew Adams.
4631
5fc4038e
CY
46322011-07-13 Chong Yidong <cyd@stupidchicken.com>
4633
4634 * simple.el (blink-matching-open): Make the error message from the
4635 last change less verbose.
4636
bf6012e5
DN
46372011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4638
4639 * font-lock.el (font-lock-comment-face): Use the high contrast
4640 "yellow" color for font-lock-comment-face on low color terminals
4641 using a dark background color (bug#4221).
4642
343c3b5a
LMI
46432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4644
7e9505c5
LMI
4645 * dired.el (dired-insert-set-properties): Make the doc string
4646 reflect what it does now (bug#5325).
4647
c26fdcf5
LMI
4648 * simple.el (blink-matching-open): Say that we were unable to find
4649 the match within the limit, if we're limited (bug#5122).
4650
bb388cc5
LMI
4651 * international/mule-cmds.el (prefer-coding-system): Add an
4652 example (bug#4869).
4653
343c3b5a
LMI
4654 * progmodes/etags.el (tags-search): Document `file-list-form'
4655 (bug#4731).
4656
2a517d45
LM
46572011-07-13 Lawrence Mitchell <wence@gmx.li>
4658
4659 * net/browse-url.el (browse-url-default-browser)
4660 (browse-url-browser-function): Make the default browser choice a
4661 bit more logical (bug#4300). Also clean up the doc string.
4662
b6c78ef2
JB
46632011-07-13 Juanma Barranquero <lekktu@gmail.com>
4664
4665 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4666 binary endings (bug#4440).
4667
1c4dd947
LMI
46682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4669
a2014063
LMI
4670 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4671 which can be pretty annoying (bug#8971).
4672
9c9c2d88
LMI
4673 * jka-compr.el (jka-compr-verbose): New variable, and use
4674 throughout (bug#8971).
4675
1c4dd947
LMI
4676 * info.el (Info-find-file): Fall back on the installation
4677 directory if we can't find the info node anywhere else.
4678
a1c9f41b
SO
46792011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4680
4681 * vc/vc.el (vc-revert-file):
4682 Don't set file time-stamp in the past. (Bug#5181)
4683
536f3d36
LMI
46842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4685
7152b011
LMI
4686 * files.el (after-find-file): Give a better error message when
4687 trying to find a symlink that points to a file that doesn't exist
4688 (bug#4398).
4689
536f3d36
LMI
4690 * progmodes/cc-vars.el: Remove (probably) misleading comment
4691 (bug#4396).
4692
460c0fba
JB
46932011-07-12 Johan Bockgård <bojohan@gnu.org>
4694
4695 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4696
7a6bda45
CY
46972011-07-12 Chong Yidong <cyd@stupidchicken.com>
4698
4699 * mouse-sel.el: Hack restoring functionality, while keeping
4700 compatibility with 2010-07-03 changes to mouse selection.
4701 (mouse-sel-primary-overlay): New var.
4702 (mouse-sel-selection-alist): Use it.
4703 (mouse-sel-mode): Doc fix; remove points that are default features
4704 of mouse.el.
4705
c79598ef
JB
47062011-07-12 Johan Bockgård <bojohan@gnu.org>
4707
4708 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4709 Fix previous fix (bug#2490).
4710
ff8be6ef
RW
47112011-07-12 Roland Winkler <winkler@gnu.org>
4712
b796c9b7
SM
4713 * textmodes/bibtex.el (bibtex-initialize):
4714 Use pop-to-buffer-same-window.
ff8be6ef
RW
4715 (bibtex-search-entries): Fix interactive call.
4716
296ba3ee
LMI
47172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4718
f5242a02 4719 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4720 Fontise bytecomp Error lines more correctly (bug#2490).
4721 Fix suggested by Johan Bockgård.
f5242a02 4722
296ba3ee
LMI
4723 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4724
4725 * dired-x.el (dired-guess-default): Use `delete-dups'.
4726
f69fd0d2
CY
47272011-07-12 Chong Yidong <cyd@stupidchicken.com>
4728
4729 * dired.el (dired-mark-prompt):
4730 * dired-aux.el (dired-read-shell-command): Doc fix.
4731
eab5dc07
LMI
47322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4733
b796c9b7
SM
4734 * mail/sendmail.el (sendmail-query-once):
4735 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4736 emacs -Q.
4737
4738 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4739
eab5dc07
LMI
4740 * cus-edit.el (custom-file): Take an optional no-error variable.
4741 (customize-save-variable): Set the variable, and give a warning if
4742 running under "emacs -q".
4743
a1e65d42
JB
47442011-07-11 Juanma Barranquero <lekktu@gmail.com>
4745
4746 * loadhist.el (unload-feature-special-hooks):
4747 Add `auto-coding-functions', `fill-nobreak-predicate' and
4748 `find-directory-functions' (bug#5327).
4749
1d52da10
LMI
47502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4751
be958f1d
LMI
4752 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4753
5bedb26c
LMI
4754 * cus-edit.el (custom-guess-name-alist): -alist variables should
4755 use the `alist' type (bug#3120). Suggested by Drew Adams.
4756
1d52da10
LMI
4757 * printing.el: Add documentation to all the `pr-toggle-' commands.
4758
cd394be1 47592011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4760
4761 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4762 backends where it makes sense (bug#2623).
4763
dcc88d8a
LMI
47642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4765
c3de9feb
LMI
4766 * dired-x.el (dired-guess-default): Remove duplicate shell command
4767 entries (bug#2028).
8a93078b 4768 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4769 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4770
dcc88d8a
LMI
4771 * subr.el (remove-duplicates): New conveniency function.
4772
505e3645
LMI
47732011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4775 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4776 (bug#1526).
4777
47782011-07-10 Martin Rudalics <rudalics@gmx.at>
4779
4780 * window.el (display-buffer-normalize-default): Don't invert
4781 meaning of even-window-heights. Reported by Eli Zaretskii
4782 <eliz@gnu.org>.
4783
455e4fa1
BR
47842011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4785
4786 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4787
8e0bc3e9
CY
47882011-07-10 Chong Yidong <cyd@stupidchicken.com>
4789
4790 * window.el (display-buffer): Fix arguments to
4791 display-buffer-reuse-window in last change.
4792
fa7c3228
CY
4793 * faces.el (link): Use a less saturated blue on light backgrounds.
4794
4795 * startup.el (fancy-startup-text, fancy-about-text)
4796 (fancy-startup-tail): Use font-lock faces, for background safety.
4797
c0a7f300
BN
47982011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4799
b796c9b7
SM
4800 * emulation/viper-cmd.el (viper-change-state-to-vi):
4801 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4802
4dc2a129
MR
48032011-07-09 Martin Rudalics <rudalics@gmx.at>
4804
4805 * window.el (display-buffer-default-specifiers): Remove.
4806 (display-buffer-macro-specifiers): Remove default specifiers.
4807 (display-buffer-alist): Default to nil.
b796c9b7 4808 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4809 (display-buffer-pop-up-window): Allow splitting internal
4810 windows. Check whether a live window was created.
4811 (display-buffer-other-window-means-other-frame)
4812 (display-buffer-normalize-arguments): Rename to
4813 display-buffer-normalize-argument and rewrite. Set the
4814 other-window specifier.
4815 (display-buffer-normalize-special): New function.
4816 (display-buffer-normalize-options): Rename to
4817 display-buffer-normalize-default and rewrite.
4818 (display-buffer-normalize-options-inhibit): Remove.
4819 (display-buffer-normalize-specifiers): Rewrite.
4820 (display-buffer): Process other-window specifier and call
4821 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4822 more faithfully.
b796c9b7 4823 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4824 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4825 (display-buffer-in-window, display-buffer-alist-set):
4826 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4827 <tassilo@member.fsf.org>.
4828
2d43b8c9
LL
48292011-07-09 Leo Liu <sdl.web@gmail.com>
4830
4831 * register.el (insert-register): Restore accidental change on
4832 2011-06-26. (Bug#9028)
4833
7f9b7c53
GM
48342011-07-09 Glenn Morris <rgm@gnu.org>
4835
4836 * subr.el (remq): Handle the empty list. (Bug#9024)
4837
f042cfd8
AS
48382011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4839
4840 * mail/sendmail.el (send-mail-function): No longer delay custom
4841 initialization.
4842 * custom.el (custom-initialize-delay): Doc fix.
4843
856b2f11
SM
48442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4847
afae1d68
MA
48482011-07-08 Michael Albinus <michael.albinus@gmx.de>
4849
4850 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4851 human-friendly prompt.
4852
0757af94
SM
48532011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4856 provided by a particular plugin.
4857
d760b731
LMI
48582011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4859
4860 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4861 save customizations (with "emacs -Q"), just set the variable
4862 instead of erroring out.
4863
4864 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4865
cd79ce90
JL
48662011-07-08 Juri Linkov <juri@jurta.org>
4867
4868 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4869 (archive-zip-update-case): Use 7z if found by `executable-find'.
4870 The order of searching the available programs is the same as in
4871 `archive-zip-extract' (bug#8968).
4872
14cc04aa
CY
48732011-07-07 Chong Yidong <cyd@stupidchicken.com>
4874
4875 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4876 (menu-bar-options-menu): Tweak descriptions.
4877
0a1848ec
LMI
48782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4879
4880 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4881 menu items into verb phrases (bug#1421). Also refill to fit under
4882 80 columns.
4883
f5bd0689
CY
48842011-07-07 Chong Yidong <cyd@stupidchicken.com>
4885
538e85c6
CY
4886 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4887 (Info-read-node-name): Doc fix (Bug#1084).
4888
f5bd0689
CY
4889 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4890 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4891 (end-of-sexp, beginning-of-sexp)
4892 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4893 (forward-symbol, forward-same-syntax, word-at-point)
4894 (sentence-at-point): Doc fix (Bug#1144).
4895
56ec5115
LMI
48962011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4897
f3f8e37f
LMI
4898 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4899 should cover it (bug#1281).
4900
0757af94 4901 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4902
e9fce1ac 4903 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4904 negotiation fails, then possibly try again with a non-encrypted
4905 connection (bug#9017).
4906
56ec5115
LMI
4907 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4908 be used.
4909
c2f9aec8
RS
49102011-07-07 Richard Stallman <rms@gnu.org>
4911
4912 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4913 property, and handle its changed format.
4914 Look for the correct line number.
4915 Use file's line contents (but not past first =) to find
4916 correct line in message.
4917
ef7b981d 49182011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4919
4920 * international/characters.el (build-unicode-category-table):
4921 Delete it.
0757af94 4922 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4923
0757af94 4924 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4925 to src/chartab.c.
4926 (get-char-code-property): Call unicode-property-table-internal to
4927 load a file. Call get-unicode-property-internal where necessary.
4928 (put-char-code-property): Call unicode-property-table-internal to
4929 load a file. Call put-unicode-property-internal where necessary.
4930 put-unicode-property-internal where necessary.
0757af94
SM
4931 (char-code-property-description):
4932 Call unicode-property-table-internal to load a file.
c805dec0
KH
4933
4934 * international/charprop.el:
4935 * international/uni-bidi.el:
4936 * international/uni-category.el:
4937 * international/uni-combining.el:
4938 * international/uni-comment.el:
4939 * international/uni-decimal.el:
4940 * international/uni-decomposition.el:
4941 * international/uni-digit.el:
4942 * international/uni-lowercase.el:
4943 * international/uni-mirrored.el:
4944 * international/uni-name.el:
4945 * international/uni-numeric.el:
4946 * international/uni-old-name.el:
4947 * international/uni-titlecase.el:
4948 * international/uni-uppercase.el: Regenerate.
4949
4950 * loadup.el: Load international/charprop.el before
4951 international/characters.
4952
e14b388a
CY
49532011-07-07 Chong Yidong <cyd@stupidchicken.com>
4954
4955 * window.el (next-buffer, previous-buffer): Signal an error if
4956 called from a minibuffer window.
4957
4958 * bindings.el: Revert 2011-07-04 change.
4959
354cf0ba
RS
49602011-07-06 Richard Stallman <rms@gnu.org>
4961
4962 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4963 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4964 Treat markers like ints.
4965 (rmail-mime-entity): Doc fix.
4966
a48868a7
LMI
49672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4968
4906cd3d
LMI
4969 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4970 defcustom again for backwards compatibility.
4971
e0457abe
LMI
4972 * simple.el (shell-command-on-region): Fill.
4973
d67f7e1f
LMI
4974 * dired-aux.el (dired-kill-line): Add a doc string.
4975
fe204702
LMI
4976 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4977 to "\\sw\\|\\s_" (bug#358).
4978
a48868a7
LMI
4979 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4980 (dired-unmark-backward): Ditto.
4981 (dired-flag-backup-files): Ditto.
4982
4983 * dired-x.el (dired-mark-sexp): Ditto.
4984
aa8a705c
RS
49852011-07-06 Richard Stallman <rms@gnu.org>
4986
4987 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4988 (rmail-mime-entity): New arg TRUNCATED.
4989 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4990 New functions.
4991 (rmail-mime-save): Warn if entity is truncated.
4992 (rmail-mime-toggle-hidden): Likewise, for showing.
4993 (rmail-mime-process-multipart): Record when an entity is truncated.
4994
a9a936b9
RS
4995 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4996 if ENTITY is a string.
4997
1f2b92cb
LMI
49982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4999
f4f73198 5000 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5001 of faces when `M-C-x'-ing their definitions (bug#8378).
5002 Also clean up the code slightly.
f4f73198 5003
12b16734 5004 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5005 because that makes the colors go away.
12b16734 5006
f0691d22
LMI
5007 * mail/sendmail.el (send-mail-function): Change the default to
5008 `sendmail-query-once'.
9e87df06 5009 (sendmail-query-once): Add an autoload cookie.
f0691d22 5010
1f2b92cb
LMI
5011 * net/network-stream.el (network-stream-open-starttls): Try using
5012 a plain connection even if the server offered STARTTLS, and we
5013 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5014 capability. This should make smtpmail.el work in slightly more
5015 configurations.
5016
1cdd2a1b
MA
50172011-07-06 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5020 New defun.
5021 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5022
fbcc67e2
MM
50232011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5024
5025 * progmodes/sql.el: Version 3.0
0757af94 5026 (sql-product-alist): Add product :completion-object,
fbcc67e2 5027 :completion-column, and :statement attributes.
0757af94 5028 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5029 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5030 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5031 ansi keywords.
5032 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5033 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5034 (sql-oracle-show-reserved-words): New function for development.
5035 (sql-product-font-lock): Simplify for source code buffers.
5036 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5037 New functions.
5038 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5039 (sql-mode-map): Add statement movement functions.
5040 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5041 New variable.
fbcc67e2
MM
5042 (sql-statement-regexp, sql-beginning-of-statement)
5043 (sql-end-of-statement, sql-signum): New functions.
0757af94 5044 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5045 (sql-show-sqli-buffer): Bug fix.
5046 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5047 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5048 with sql-interactive-mode.
5049 (sql-save-connection): Save buffer local settings.
0757af94 5050 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5051 (sql-product-interactive): Bug fix.
5052 (sql-preoutput-hold): New variable.
5053 (sql-interactive-remove-continuation-prompt): Bug fixes.
5054 (sql-debug-redirect): New variable.
5055 (sql-str-literal): New function.
5056 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5057 Redesign.
fbcc67e2
MM
5058 (sql-oracle-save-settings, sql-oracle-restore-settings)
5059 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5060 (sql-completion-object, sql-completion-column)
5061 (sql-completion-sqlbuf): New variables.
5062 (sql-build-completions-1, sql-build-completions)
5063 (sql-try-completion): New functions.
5064 (sql-read-table-name): Use them.
5065 (sql-contains-names): New buffer local variable.
5066 (sql-list-all, sql-list-table): Use it.
5067 (sql-oracle-completion-types): New variable.
5068 (sql-oracle-completion-object, sql-sqlite-completion-object)
5069 (sql-postgres-completion-object): New functions.
5070
d4eaeab1
GM
50712011-07-06 Glenn Morris <rgm@gnu.org>
5072
5073 * window.el (pop-to-buffer): Doc fix.
5074
322b7dab 50752011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5076
5077 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5078
322b7dab 50792011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5080
322b7dab 5081 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5082
322b7dab 5083 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5084
605dd5bf
CY
50852011-07-05 Chong Yidong <cyd@stupidchicken.com>
5086
5087 * button.el (button): Inherit from link face. Suggested by Dan
5088 Nicolaescu.
5089
7dbfa719
SM
50902011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5091
3db614b0
SM
5092 * progmodes/gdb-mi.el: Fit in 80 columns.
5093 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5094 switch-to-buffer.
5095
7dbfa719
SM
5096 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5097 if imenu is simply not configured (bug#8941).
5098
919d884a
KM
50992011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5100
5101 * allout.el (allout-post-undo-hook): New allout outline-change
5102 event hook to signal undo activity.
5103 (allout-post-command-business): Run allout-post-undo-hook if an
5104 undo just occurred.
7dbfa719
SM
5105 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5106 * allout-widgets.el (allout-widgets-after-undo-function):
5107 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5108 in the vicinity of an undo.
5109 (allout-widgets-mode): Include allout-widgets-after-undo-function
5110 on the new allout-post-undo-hook.
5111
450a0f09
SM
51122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5115 Let define-derived-mode define it.
5116 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5117 cycles of abbrev-table inheritance (bug#8998).
5118
2de69e00
RW
51192011-07-05 Roland Winkler <winkler@gnu.org>
5120
5121 * textmodes/bibtex.el: Add support for biblatex.
5122 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5123 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5124 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5125 (bibtex-entry-alist, bibtex-field-alist): New variables.
5126 (bibtex-entry-field-alist): Obsolete alias for
5127 bibtex-BibTeX-entry-alist.
5128 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5129 (bibtex-set-dialect): New command.
5130 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5131 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5132 Bind via bibtex-set-dialect.
2de69e00
RW
5133 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5134 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5135 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5136 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5137 Define via bibtex-set-dialect.
450a0f09
SM
5138 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5139 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5140 (bibtex-vec-push, bibtex-vec-incr): New functions.
5141 (bibtex-format-entry, bibtex-field-list)
5142 (bibtex-print-help-message, bibtex-validate)
5143 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5144
2dcdbdd9
SM
51452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * progmodes/compile.el (compilation-goto-locus):
5148 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5149 * bs.el (bs-cycle-next, bs-cycle-previous):
5150 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5151 * bindings.el (mode-line-other-buffer):
5152 * autoinsert.el (auto-insert):
5153 * arc-mode.el (archive-extract):
5154 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5155
b27640fe
JB
51562011-07-05 Juanma Barranquero <lekktu@gmail.com>
5157
5158 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5159 Fix check of `emacs-lock-unlockable-modes'.
5160 Coerce true values of `emacs-lock--try-unlocking' to t.
5161
53bbe3ad
JB
51622011-07-05 Juanma Barranquero <lekktu@gmail.com>
5163
5164 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5165 * emacs-lock.el: New file.
5166
1d3cdbc7
JD
51672011-07-05 Julien Danjou <julien@danjou.info>
5168
5169 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5170 than `boundp' to check if face is set.
5171
9173deec
JB
51722011-07-05 Juanma Barranquero <lekktu@gmail.com>
5173
5174 * register.el (registerv-make):
5175 * window.el (window-min-height): Fix typos in docstrings.
5176
869795d6
JD
51772011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5178
9173deec 5179 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5180 Update doc string.
5181
b768cdcd
JB
51822011-07-04 Juanma Barranquero <lekktu@gmail.com>
5183
5184 * server.el (server-execute): Catch quit and call
5185 `server-return-error' to pass the error back to emacsclient and
5186 close the connection (bug#8942).
5187
13aa217b
KM
51882011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5189
5190 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5191 insecure exception for current topic. Also note that auto-saves
5192 are handled differently.
5193
5194 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5195 State variables for tracking auto-save inhibition situation.
5196
5197 (allout-write-contents-hook-handler): Rename from
5198 'allout-write-file-hook-handler', and describe how it depends on
5199 write-contents-functions sensitivity to non-nil value to prevent
5200 file write.
5201
5202 (allout-auto-save-hook-handler): Remove. auto-save does not check
5203 this in individual buffers, only in the starting buffer, so this
5204 is not the right way for us to inhibit auto-save in a buffer
5205 according to its condition.
5206
5207 (allout-mode): Use new allout-write-contents-hook-handler, and
5208 only with write-contents-functions. Remove auto-save provisions -
5209 they're implemented elsewhere.
5210
5211 (allout-before-change-handler): If undo is in progress, note that
5212 for attention of allout-post-command-business.
5213
5214 (allout-post-command-business): If the command we're following was
5215 an undo, check for change in the status of encrypted items and
5216 adjust auto-save inhibitions accordingly.
5217
5218 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5219 according to whether there are or aren't any plain-text topics
5220 pending encryption.
5221
2dcdbdd9 5222 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5223 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5224 if there are plain-text topics pending encryption.
13aa217b
KM
5225
5226 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5227 buffer-saved-size and some allout state to not inhibit auto-saves
5228 if there are no longer any plain-text topics pending encryption.
5229
0757af94
SM
5230 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5231 No longer provide for exemption of the current topic.
13aa217b 5232
ac89b32c
JL
52332011-07-04 Juri Linkov <juri@jurta.org>
5234
5235 Add 7z operations to delete and save changed members (bug#8968).
5236 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5237 New defcustoms.
5238 (archive-7z-write-file-member): New function.
5239 (archive-7z-summarize): Fix the number of dashes in the
5240 listing output.
5241
8fa39615
SM
52422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5245 (bug#8958).
5246
2f11b3f1
CY
52472011-07-04 Chong Yidong <cyd@stupidchicken.com>
5248
d66fef2b
CY
5249 * bindings.el: Ignore next-buffer and previous-buffer in
5250 minibuffer-local-map.
5251
2f11b3f1
CY
5252 * font-lock.el (font-lock-builtin-face): Change light background
5253 color to dark slate blue (Bug#6693).
5254
f932a347
WD
52552011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5256
5257 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5258
c8af70e1
SM
52592011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5262 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5263 Add switch-to-buffer.
5264
f158badc
LMI
52652011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5266
5267 * isearch.el (isearch-search-fun-function): Clarify further the
5268 meaning of the function returned.
5269
6d95bd46
MA
52702011-07-04 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5273
5274 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5275 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5276 Use it.
5277 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5278 `tramp-default-remote-path' does not exist.
5279 (tramp-send-command-and-read): New optional argument NOERROR.
5280 (tramp-open-connection-setup-interactive-shell)
5281 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5282 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5283 (tramp-process-sentinel): Flush also process' connection property.
5284 (tramp-sh-handle-start-file-process): Do not set process
5285 sentinel. It is done now ...
5286 (tramp-maybe-open-connection): ... here. (Bug#8929)
5287
909e6b67
MK
52882011-07-04 MON KEY <monkey@sandpframing.com>
5289
5290 * play/animate.el (animate-string): Doc fixes and allow changing
5291 the buffer name (bug#5417).
5292
52932011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5294
c8af70e1 5295 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5296
f34755dc
PE
52972011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5298
396cec72
PE
5299 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5300 This is simpler and helps future-proof the code.
5301 (timer-until): Use time-subtract and float-time.
08235028 5302 (timer--time-less-p): Use time-less-p.
f34755dc 5303
56e6cc31
JB
53042011-07-04 Juanma Barranquero <lekktu@gmail.com>
5305
3abb79e5
JB
5306 * type-break.el (timep): Use the value of `float-time' to avoid a
5307 byte-compiler warning.
5308
56e6cc31
JB
5309 * server.el (server-eval-and-print): Return any result, even nil.
5310
7b9430b4
PE
53112011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5312
5313 * type-break.el: Accept time formats that the builtins accept.
5314 (timep, type-break-time-difference): Accept any format that
5315 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5316 This is simpler and helps future-proof the code.
5317 (type-break-time-difference): Round rather than ignoring
5318 subseconds components.
5319
3034e9e7
LMI
53202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5321
5322 * info.el (Info-apropos-matches): Make non-interactive, since it
5323 doesn't seem to do anything useful as a command (bug#8829).
5324
1485f4c0
CY
53252011-07-03 Chong Yidong <cyd@stupidchicken.com>
5326
5327 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5328 Move from faces.el.
1485f4c0
CY
5329 (frame-default-terminal-background): New function.
5330
5331 * custom.el (custom-push-theme): Don't record faces in `changed'
5332 theme; this doesn't work correctly for per-frame face settings.
5333 (disable-theme): Use face-set-after-frame-default to reset faces.
5334 (custom--frame-color-default): New function.
5335
9fa3dd45
LMI
53362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5337
c8af70e1 5338 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5339 (bug#8769).
5340
6cbbc20c
KR
53412011-03-29 Kevin Ryde <user42@zip.com.au>
5342
5343 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5344 `perl-Test2' extend to match possible "fail #N" rep count
5345 (bug#8377).
5346
c7f98048
LMI
53472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5348
65676592
LMI
5349 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5350 `smtpmail-via-smtp' now returns the error instead of nil.
5351
c7f98048
LMI
5352 * isearch.el (isearch-search-fun-function): Clarify the doc string
5353 (bug#8101).
5354
56e6cc31 53552011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5356
5357 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5358 unnecessary spaces (bug#8987).
5359
2b216704
LMI
53602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5361
5362 * net/network-stream.el (open-network-stream): Use the
5363 :end-of-capability command thoughout.
5364
53652011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5366
5367 * net/network-stream.el (open-network-stream): Add the
5368 :end-of-capability command parameter, used by pop3.el.
5369
36adf6ce
LMI
53702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5371
1ca0da0e
LMI
5372 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5373
fc00f69c
LMI
5374 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5375 for list)" (bug#6475).
5376
28fd8759 5377 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5378 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5379 an error (bug#6297).
5380
0dd8b6da
LMI
5381 * man.el (Man-reference-regexp): Allow matching possible
5382 word-wrapped references (bug#6289).
5383
ce1438d6
LMI
5384 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5385 for consistency with the other vc buffers (bug#6197).
5386 (vc-checkin): Ditto.
5387
5388 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5389
36adf6ce
LMI
5390 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5391
e83cc1f7
LMI
53922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5393
8a20ca4c
LMI
5394 * custom.el (defcustom): Clarify that :set is only used in the
5395 Customize user interface (bug#6089).
5396
83319045
LMI
5397 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5398 associated with a file, refuse to run instead of erroring out
5399 (bug#6084).
5400
a8392169
LMI
5401 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5402 the doc string, since it appears that using `fill-column' always
5403 controls the width (bug#7845).
5404
e83cc1f7
LMI
5405 * simple.el (shell-command-on-region): Say where the error output
5406 went if `shell-command-default-error-buffer' is set (bug#6857).
5407
e47ca23b
KM
54082011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5409
5410 * allout.el (allout-yank-processing): Adjust cursor position for
5411 backwards-deleted space.
5412
5413 (allout-rebullet-heading): Register changes with
5414 allout-exposure-changed-hook, so the modified topic is properly
5415 decorated.
5416
5cf56143
LMI
54172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5418
08549772
LMI
5419 * minibuffer.el (completion-in-region): Document PREDICATE
5420 (bug#7136).
5421
48e96771
LMI
5422 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5423 of keyword/argument pairs (bug#6904).
5424
c8af70e1
SM
5425 * replace.el (multi-occur):
5426 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5427
e17d05e2
LMI
54282011-07-02 Drew Adams <drew.adams@oracle.com>
5429
5430 * dired.el (dired-mark-if): Make the message about whether it's
5431 marking or unmarking clearer (bug#8523).
5432
063b0e45
LMI
54332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5434
5435 * disp-table.el (display-table-print-array): New function.
5436 (describe-display-table): Use it to print the vectors more pretty
5437 (Bug#8859).
5438
28545e04
MR
54392011-07-02 Martin Rudalics <rudalics@gmx.at>
5440
5441 * window.el (window-state-get-1): Don't assign clone numbers.
5442 Add clone-of item to list of window parameters.
5443 (window-state-put-2): Don't process clone numbers.
5444 (display-buffer-alist): Fix doc-string.
5445
3349e122
SM
54462011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * subr.el (remq): Don't allocate if it's not needed.
5449 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5450 (keymap--merge-bindings): New functions.
5451 (keymap-canonicalize): Use them to refine the canonicalization.
5452 * minibuffer.el (minibuffer-local-completion-map)
5453 (minibuffer-local-must-match-map): Move initialization from C.
5454 (minibuffer-local-filename-completion-map): Move initialization from C;
5455 don't inherit from anything here.
5456 (minibuffer-local-filename-must-match-map): Make obsolete.
5457 (completing-read-default): Use make-composed-keymap to combine
5458 minibuffer-local-filename-completion-map with either
5459 minibuffer-local-must-match-map or
5460 minibuffer-local-filename-completion-map.
5461
d224ac83
GM
54622011-07-01 Glenn Morris <rgm@gnu.org>
5463
3de63bf8
GM
5464 * type-break.el (type-break-time-sum): Use dolist.
5465
d224ac83
GM
5466 * textmodes/flyspell.el (flyspell-word-search-backward):
5467 Replace CL function.
5468
1a1e3f32
SM
54692011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5470
fe3f64d5
SM
5471 * mouse.el (mouse--strip-first-event): New function.
5472 (function-key-map): Use it to map fringe clicks to normal clicks
5473 by default.
5474
eb604e34
SM
5475 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5476 (vc-bzr-revision-completion-table): Add support for annotate and date.
5477
1a1e3f32
SM
5478 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5479 inherit from parent.
5480
5bd35902
LMI
54812011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5482
ace6c69c 5483 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5484 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5485
191e2bed
LMI
5486 * dired.el (dired-mode): Fix up the doc string as suggested by
5487 Drew Adams (bug#8817).
5488
5bd35902
LMI
5489 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5490 cookie, since the manual says that it should be possible to add
5491 this function to `find-file-hook' (bug#8709).
5492
eee8207a
TZ
54932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5494
5495 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5496 here. Noted Ted Zlatanov as the maintainer.
5497 (cfengine-common-settings, cfengine-common-syntax): New functions
5498 to set up common things between `cfengine-mode' and
5499 `cfengine3-mode'.
5500 (cfengine3-mode): New mode.
5501 (cfengine3-defuns cfengine3-defuns-regex
5502 (cfengine3-class-selector-regex cfengine3-category-regex)
5503 (cfengine3-vartypes cfengine3-font-lock-keywords)
5504 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5505 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5506
36b148cf
MA
55072011-07-01 Michael Albinus <michael.albinus@gmx.de>
5508
5509 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5510
5511 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5512
0bf4ba9a
MR
55132011-07-01 Martin Rudalics <rudalics@gmx.at>
5514
5515 * window.el (same-window-buffer-names, same-window-regexps)
5516 (same-window-p, special-display-frame-alist)
5517 (special-display-popup-frame, special-display-function)
5518 (special-display-buffer-names, special-display-regexps)
5519 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5520 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5521 (split-window-preferred-function, split-height-threshold)
5522 (split-width-threshold, even-window-heights)
5523 (display-buffer-mark-dedicated, window-splittable-p)
5524 (split-window-sensibly, window-safely-shrinkable-p):
5525 Un-obsolete.
5526 (display-buffer): Don't spread args with function specifier
5527 because special-display-popup-frame won't like it.
5528
35837f51
PE
55292011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5530
d0672f86
PE
5531 Time-stamp simplifications and fixes.
5532 These improve accuracy slightly, and future-proof the code
5533 against some potential changes to current-time format.
5534
b9444d97
PE
5535 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5536 by using time-since and float-time.
5537
0ef923dc
PE
5538 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5539 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5540 + NNN microseconds".
5541
2f81380d
PE
5542 * type-break.el (type-break-time-sum): Rewrite using time-add.
5543
845b5c3e
PE
5544 * play/hanoi.el (hanoi-current-time-float): Remove.
5545 All uses replaced by float-time.
5546
ee6f1be0
PE
5547 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5548 This yields a more-accurate answer.
5549 (rng-time-to-float): Remove; no longer needed.
5550
fe955043
PE
5551 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5552
5777162a
PE
5553 * calendar/timeclock.el (timeclock-seconds-to-time):
5554 Defalias to seconds-to-time, since they're the same thing.
5555
3103f8b6 5556 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5557 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5558 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5559
0e61a35f
SM
55602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * window.el (bury-buffer): Don't iconify the only frame.
5563 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5564 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5565
ddd63a1e
CY
55662011-07-01 Chong Yidong <cyd@stupidchicken.com>
5567
0e61a35f
SM
5568 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5569 Add mouse-yank-primary.
ddd63a1e 5570
055f4923
TZ
55712011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5572
5573 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5574
6a2fb145
SM
55752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5578 (find-library-name): Use it to find relative load names when provided
5579 absolute file name (bug#8803).
5580
fd4983f2
LMI
55812011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5582
887d14ad
LMI
5583 * textmodes/flyspell.el (flyspell-word): Consider words that
5584 differ only in case as potential doublons (bug#5687).
5585
c53dc7fc
LMI
5586 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5587 Remove two rather uninteresting debugging-like messages to make
5588 debbugs.el more silent.
5589
fd4983f2
LMI
5590 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5591 a password-like phrase.
5592
b14c0c55
AM
55932011-06-30 Mastake YAMATO <yamato@redhat.com>
5594
5595 * progmodes/cc-guess.el: New file.
5596
6a2fb145 5597 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5598
5599 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5600 derived from `c-basic-common-init'.
5601
5602 * progmodes/cc-mode.el (top-level): Require cc-guess.
5603 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5604
1fa280a3
LM
56052011-06-30 Lawrence Mitchell <wence@gmx.li>
5606
5607 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5608
e6597158
AM
56092011-06-30 Alan Mackenzie <acm@muc.de>
5610
1fa280a3
LM
5611 * progmodes/cc-engine.el (c-guess-continued-construct):
5612 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5613 lock is disabled. Name this case as "CASE G".
5614
68ba37fb
KM
56152011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5616
5617 * allout.el (allout-yank-processing): Fix injection of extra space
5618 between bullet and non-whitespace character in first topic when
5619 pasting, ensuring that the actual spacing in the pasted topic
5620 following the bullet char is preserved. This extra space was
5621 causing pasted encrypted topics to get a decrypted status even
5622 when the content was actually still encrypted. Now the decryption
5623 status from before the paste is preserved.
5624
5625 (allout-flag-region): Set all allout overlays so they evaporate
5626 when reduced to zero length (evanescent), to prevent overlay
5627 leakage.
5628
887a0b34
GM
56292011-06-30 Glenn Morris <rgm@gnu.org>
5630
94b9acce
GM
5631 * w32-fns.el (w32-charset-info-alist): Declare.
5632
1d9b46d4
GM
5633 * find-dired.el (find-grep-options): Simplify.
5634
cc232200
GM
5635 * term/ns-win.el (ns-set-resource): Declare.
5636
28e77c46
GM
5637 * ses.el (row, col): Declare dynamic variables honestly.
5638
887a0b34
GM
5639 * textmodes/reftex-parse.el (index-tags): Declare.
5640
658d8eb8
CY
56412011-06-30 Chong Yidong <cyd@stupidchicken.com>
5642
5643 * cus-edit.el (customize-push-and-save): New function.
5644
5645 * files.el (hack-local-variables-confirm): Use it.
5646
1fa280a3
LM
5647 * custom.el (load-theme): New arg NO-CONFIRM.
5648 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5649 (custom-enabled-themes): Doc fix.
5650
5651 * cus-theme.el (customize-create-theme)
5652 (custom-theme-merge-theme): Callers to load-theme changed.
5653
bb617717
LMI
56542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5655
d61bdd5d
LMI
5656 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5657 short URLs have at least one dot in them (bug #7614).
5658
bb617717
LMI
5659 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5660 nil, because using a pty is apparently too slow (bug #895).
5661
2f31f37a
LMI
56622011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5663
5664 * mail/sendmail.el (sendmail-query-once): New function.
5665 (sendmail-query-once-function): New variable.
5666
3076b24e
GM
56672011-06-29 Glenn Morris <rgm@gnu.org>
5668
faf2a174
GM
5669 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5670
3076b24e
GM
5671 * ses.el (top-level): Require cl when compiling.
5672 (ses-set-localvars): Fix error statement.
5673 Call it at compile time to silence a storm of warnings.
5674
5386012d
MR
56752011-06-29 Martin Rudalics <rudalics@gmx.at>
5676
5677 * window.el (normalize-live-buffer): Rename to
5678 window-normalize-buffer.
5679 (normalize-live-frame): Rename to window-normalize-frame.
5680 (normalize-any-window): Rename to window-normalize-any-window.
5681 (normalize-live-window): Rename to window-normalize-live-window.
5682 (make-window-atom): Rename to window-make-atom.
5683 (window-resize-reset): Rename to window--resize-reset.
5684 (window-resize-reset-1): Rename to window--resize-reset-1.
5685 (resize-mini-window): Rename to window--resize-mini-window.
5686 (resize-subwindows-skip-p): Rename to
5687 window--resize-subwindows-skip-p.
5688 (resize-subwindows-normal): Rename to
5689 window--resize-subwindows-normal.
5690 (resize-subwindows): Rename to window--resize-subwindows.
5691 (resize-other-windows): Rename to window--resize-siblings.
5692 (resize-this-window): Rename to window--resize-this-window.
5693 (resize-root-window): Rename to window--resize-root-window.
5694 (resize-root-window-vertically): Rename to
5695 window--resize-root-window-vertically.
5696 (normalize-buffer-to-display): Rename to
5697 window-normalize-buffer-to-display.
5698 (normalize-buffer-to-switch-to): Rename to
5699 window-normalize-buffer-to-switch-to.
5700 Correspondingly update all callers of the functions listed
5701 above.
5702 (display-buffer-alist, display-buffer-normalize-arguments)
5703 (display-buffer-normalize-options, display-buffer)
5704 (display-buffer-alist-set): Use "function" instead of
5705 "fun-with-args".
5706
1176868d
CY
57072011-06-28 Chong Yidong <cyd@stupidchicken.com>
5708
5709 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5710 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5711 debbugs.gnu.org. Mention acknowledgment email.
5712
20a7a65f
LMI
57132011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5714
5715 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5716 buffer multibyteness, since it shouldn't matter.
5717
5f45cca5
MR
57182011-06-28 Martin Rudalics <rudalics@gmx.at>
5719
5720 * window.el (display-buffer-in-side-window): Handle dedicated
5721 windows as in display-buffer-reuse-window.
5722 (display-buffer-normalize-alist): Use value of override
5723 specifier.
5724 (display-buffer-normalize-specifiers): Use value of
5725 other-window-means-other-frame specifier.
5726 (display-buffer-alist): Rewrite some texts in widgets.
5727 (display-buffer): Spread arguments when calling function
5728 specified by fun-with-args.
5729
ad85fe1f
DD
57302011-06-28 Deniz Dogan <deniz@dogan.se>
5731
1fa280a3
LM
5732 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5733 Unnest `let'.
da68c4c8 5734
ad85fe1f
DD
5735 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5736 selectors (Bug#5732).
ec49bd31 5737 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5738
a08cc025
JA
57392011-06-27 Jari Aalto <jari.aalto@cante.net>
5740
5741 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5742 (eshell-ls-date-format): New defcustom.
5743 (eshell-ls-file): Use it.
5744
e2b551c5
SM
57452011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5748
8982b231
KY
57492011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5750
5751 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5752 (ange-ftp-make-tmp-name): New arg.
5753 (ange-ftp-file-local-copy): Use it.
5754
36c9fa27
J
57552011-06-27 Jambunathan K <kjambunathan@gmail.com>
5756
5757 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5758 no-conversion (Bug#8870).
5759
d68443dc
MR
57602011-06-27 Martin Rudalics <rudalics@gmx.at>
5761
5762 * window.el (window-right, window-left, window-child)
5763 (window-child-count, window-last-child)
5764 (window-iso-combination-p, walk-window-tree-1)
5765 (window-atom-check-1, window-tree-1, delete-window)
5766 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5767 new naming conventions - window-vchild, window-hchild,
5768 window-next and window-prev are now called window-top-child,
5769 window-left-child, window-next-sibling and window-prev-sibling
5770 respectively.
d615d6d2
MR
5771 (resize-window-reset): Rename to window-resize-reset.
5772 (resize-window-reset-1): Rename to window-resize-reset-1.
5773 (resize-window): Rename to window-resize.
5774 (window-min-height, window-min-width)
5775 (resize-mini-window, resize-this-window, resize-root-window)
5776 (resize-root-window-vertically, adjust-window-trailing-edge)
5777 (enlarge-window, shrink-window, maximize-window)
5778 (minimize-window, delete-window, quit-restore-window)
5779 (split-window, balance-windows, balance-windows-area-adjust)
5780 (balance-windows-area, window-state-put-2)
5781 (display-buffer-even-window-sizes, display-buffer-set-height)
5782 (display-buffer-set-width, set-window-text-height)
5783 (fit-window-to-buffer): Rename all "resize-window" prefixed
5784 calls to use the "window-resize" prefix convention.
5785 (display-buffer-alist): Fix symbol for label specifier.
5786 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5787 corresponding specifier.
5788 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5789
b6458526
VB
57902011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5791
5792 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5793 convention.
5794 (ses-call-printer): Does not pass an empty string to formatter when the
5795 cell is empty to keep from barking printer Calc math-format-value.
5796
d31fd9ac
RS
57972011-06-27 Richard Stallman <rms@gnu.org>
5798
43d5bf84
RS
5799 * battery.el (battery-mode-line-limit): New variable.
5800 (battery-update): Handle it.
5801
d31fd9ac
RS
5802 * mail/rmailmm.el (rmail-mime-process-multipart):
5803 Handle truncated messages.
5804
819a6054
GM
58052011-06-27 Glenn Morris <rgm@gnu.org>
5806
5807 * progmodes/flymake.el (flymake-err-line-patterns):
5808 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5809
cedc73f2
VB
58102011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5811
819a6054 5812 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5813 (ses--clean-!, ses--clean-_): New functions.
5814 (ses-range): Add configurability of readout order, and conversion
5815 to Calc vector.
5816
5e5d49b6
VB
5817 * ses.el (ses-repair-cell-reference-all): New function.
5818 (ses-cell-symbol): Set macro as safe, so that it can be used in
5819 formulas.
5820
56e6cc31 5821 * ses.el: Update cycle detection algorithm.
90ca8b49 5822 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5823 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5824 (ses-set-localvars): New function.
5825 (ses-make-cell): Add property-list as a cell element.
5826 (ses-cell-property-get-fun, ses-cell-property-get)
5827 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5828 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5829 New functions.
90ca8b49
VB
5830 (ses-cell-property-set, ses-cell-property-pop)
5831 (ses-cell-property-get-handle): New macro.
5832 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5833 New aliases, used for code readability.
5834 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5835 cycle detection.
5836 (ses-self-reference-early-detection): New defcustom.
fac916bf 5837 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5838 (ses-mode): Use ses-set-localvars.
5839 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5840 before lauching the update processing.
5841 (ses-initialize-Dijkstra-attempt): New function.
5842 (ses-recalculate-cell): Update for cycle detection based on
5843 Dijkstra algorithm.
5844
2bb63e81
VB
5845 * ses.el: Fix commenting and indenting convention.
5846
c9d29fb8
SM
58472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * bs.el (bs-cycle-next): Complete last change.
5850
d8e4b68b
JB
58512011-06-27 Drew Adams <drew.adams@oracle.com>
5852
5853 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5854
40098786
LMI
58552011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5856
c9d29fb8
SM
5857 * net/network-stream.el (network-stream-open-starttls):
5858 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5859 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5860
40098786
LMI
5861 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5862 to binary to possibly avoid line encoding issues on Windows (among
5863 other things).
5864
468d09d4
LMI
58652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5866
5867 * net/network-stream.el (open-network-stream): Return an :error
5868 saying what the problem was, if possible.
5869
5870 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5871 server.
5872
5873 * net/network-stream.el (network-stream-open-starttls): If we
5874 wanted to use STARTTLS, and the server offered it, but we weren't
5875 able to because we had no STARTTLS support, then close the connection.
5876 (open-network-stream): Return an :error element, if present.
5877
16f07dd7
CY
58782011-06-26 Chong Yidong <cyd@stupidchicken.com>
5879
88821ca0
CY
5880 * hl-line.el (hl-line-sticky-flag): Doc fix.
5881 (global-hl-line-sticky-flag): New option (Bug#8323).
5882 (global-hl-line-highlight): Obey it.
5883
16f07dd7
CY
5884 * vc/vc.el (vc-revert-show-diff): Default to t.
5885
6b5ccddf
KM
58862011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5887
c9d29fb8
SM
5888 * allout-widgets.el (allout-widgets-post-command-business):
5889 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5890 undecorated when an isearch is continued past, and isearch
5891 automatically collapses them. This leads to "widget leaks", where
5892 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5893 hidden widgets can slow down cursor travel, substantially.
5894 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5895 so we're doing without this nicety.
5896
5897 (allout-widgets-tally-string): Don't try to do a hash-table-count
5898 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5899 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5900 *Messages* when allout-widgets-maintain-tally is t.
5901
355f2e07
MR
59022011-06-26 Martin Rudalics <rudalics@gmx.at>
5903
5904 * window.el (display-buffer-normalize-argument): Rename to
5905 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5906 LABEL argument. Respect special-display-function when popping up
5907 a new frame. Fix code searching for a window showing the buffer
5908 on another frame.
c9d29fb8
SM
5909 (display-buffer-normalize-specifiers):
5910 Call display-buffer-normalize-arguments.
355f2e07
MR
5911 (display-buffer-in-window): Don't undedicate the window if its
5912 buffer remains the same.
5913 Reported by Drew Adams <drew.adams@oracle.com>.
5914 (display-buffer-alist): Add choice for same-window macro
5915 specfier.
5916 (display-buffer): Mention special meaning of LABEL argument in
5917 doc-string. Fix quoting. Don't pop up a new frame even as
5918 fallback.
5919
7ca8fc42
JB
59202011-06-26 Juanma Barranquero <lekktu@gmail.com>
5921
5922 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5923 avoid deleting the current window in some cases (bug#8911).
5924
bc312254
AS
59252011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5926
5927 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5928 (Bug#8934)
5929
2db18f3f
LMI
59302011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5931
c9d29fb8
SM
5932 * net/network-stream.el (network-stream-open-starttls):
5933 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5934 (network-stream-open-tls): Ditto.
5935
6302e0d3
LL
59362011-06-26 Leo Liu <sdl.web@gmail.com>
5937
5938 * register.el (registerv): New struct.
5939 (registerv-make): New function.
c9d29fb8
SM
5940 (jump-to-register, describe-register-1, insert-register):
5941 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5942 struct. (Bug#8415)
5943
5fdd4046
CY
59442011-06-26 Chong Yidong <cyd@stupidchicken.com>
5945
2afef60a
CY
5946 * vc/vc.el (vc-revert-show-diff): New defcustom.
5947 (vc-diff-internal): New arg specifying diff buffer.
5948 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5949 reuse an existing *vc-diff* buffer (Bug#8927).
5950
5fdd4046
CY
5951 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5952
e93db24a
GM
59532011-06-26 Glenn Morris <rgm@gnu.org>
5954
5955 * progmodes/f90.el (f90-critical-indent): New option.
5956 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5957 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5958 (f90-mode): Doc fix.
5959 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5960 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5961 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5962 (f90-match-end): Handle block, critical.
5963
eefff499
GM
59642011-06-25 Glenn Morris <rgm@gnu.org>
5965
f6ba4cc9
GM
5966 * calendar/diary-lib.el (diary-included-files): Doc fix.
5967 (diary-include-files): New function, extracted from
5968 diary-include-other-diary-files and diary-mark-included-diary-files.
5969 (diary-include-other-diary-files, diary-mark-included-diary-files):
5970 Just call diary-include-files.
5971 (diary-mark-entries): Reset diary-included-files on first call.
5972
16712304
GM
5973 * calendar/diary-lib.el (diary-mark-entries)
5974 (diary-mark-included-diary-files):
5975 Visit included diary-files in temp buffers.
5976
5d8e0d43
GM
5977 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5978 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5979 (f90-start-block-re, f90-imenu-generic-expression)
5980 (f90-looking-at-program-block-start, f90-no-block-limit):
5981 Add support for submodules.
5982
ccf7a5d5
GM
5983 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5984 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5985
11fdef7d 59862011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5987
5988 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5989 buffer-file-type before setting its value, to avoid disastrous
eefff499 5990 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5991
74f53697
JB
59922011-06-25 Juanma Barranquero <lekktu@gmail.com>
5993
5994 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5995
5996 * ses.el (ses-unload-function):
5997 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5998
5999 * proced.el (proced-unload-function):
6000 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6001
18a4ce5e
AR
60022011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6003
6004 * server.el (server-create-window-system-frame): Add parameters arg.
6005 (server-process-filter): Doc fix. Handle frame-parameters.
6006
519d22cc
JB
60072011-06-25 Juanma Barranquero <lekktu@gmail.com>
6008
6009 Fix bug#8730, bug#8781.
6010
6011 * loadhist.el (unload--set-major-mode): New function.
6012 (unload-feature): Use it.
6013
6014 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6015 (python-unload-function): New function.
6016
c206f5b0
SM
60172011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6020
f9ad64f3
GS
60212011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6022
6023 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6024 the candidates list.
6025
7d0da90e
JB
60262011-06-24 Juanma Barranquero <lekktu@gmail.com>
6027
6028 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6029
14b4e83d
RS
60302011-06-23 Richard Stallman <rms@gnu.org>
6031
6032 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6033 (rmail-variables): Set next-error-move-function.
6034 (rmail-what-message): Take argument POS.
6035 (rmail-next-error-move): New function.
6036
273d2baf
SM
60372011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6040 messages for adjacent non-terminals.
6041
56c2cc9a
RS
60422011-06-23 Richard Stallman <rms@gnu.org>
6043
6044 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6045 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6046 (rmail-start-mail): Don't specify use of rmail-mail-return;
6047 that's done by mail-bury now.
6048 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6049
d59eb518
MA
60502011-06-23 Michael Albinus <michael.albinus@gmx.de>
6051
6052 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6053 SIZE is a number.
6054
02cfc6d6
MR
60552011-06-23 Martin Rudalics <rudalics@gmx.at>
6056
6057 * window.el (get-lru-window, get-mru-window)
6058 (get-largest-window): Never return a minibuffer window.
6059 (display-buffer-pop-up-window): Fix a bug that could lead to
6060 reusing the minibuffer window.
6061 (display-buffer): Pass original specifier argument to
6062 display-buffer-function instead of the normalized one.
6063 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6064
4e323265
LL
60652011-06-22 Leo Liu <sdl.web@gmail.com>
6066
6067 * minibuffer.el (completing-read-function)
6068 (completing-read-default): Move from minibuf.c
6069
7a70468f
RS
60702011-06-22 Richard Stallman <rms@gnu.org>
6071
50718fc2
RS
6072 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6073 to Rmail even if not started by a special Rmail command.
6074
7a70468f
RS
6075 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6076 Copy the buffer currently showing just one message.
6077
297dde5a
RW
60782011-06-22 Roland Winkler <winkler@gnu.org>
6079
6080 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6081 (bibtex-clean-entry): First delete the old key so that a
6082 customized algorithm for generating the new key does not get
6083 confused by the old key.
6084 (bibtex-url): Obey regexp of first step.
6085 (bibtex-search-entries): Do not use add-to-list with local
6086 list-var.
6087
97bb1093
LMI
60882011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6089
6090 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6091 stored a user name, then query for the password first, instead of
6092 waiting for SMTP to give an error message and the trying again.
6093
1c0f1a19
JD
60942011-06-22 Lawrence Mitchell <wence@gmx.li>
6095
6096 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6097 BUFFER in call-process.
6098
396f7c9d
LMI
60992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6100
6101 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6102 QUIT twice.
ddb7ffee
LMI
6103 (smtpmail-try-auth-methods): Require user name and password from
6104 auth-source.
396f7c9d 6105
8998d1b3
MR
61062011-06-22 Martin Rudalics <rudalics@gmx.at>
6107
6108 * window.el (display-buffer-default-specifiers)
6109 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6110 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6111 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6112
6113 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6114 (special-display-frame-alist, special-display-popup-frame):
6115 Remove duplicate declarations. These are now in window.el.
6116
4ea31e07
LMI
61172011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6118
c9d29fb8
SM
6119 * mail/smtpmail.el (smtpmail-via-smtp):
6120 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6121 server supports it. SMTP servers that support STARTTLS commonly
6122 require it.
6123
6124 * net/network-stream.el (network-stream-open-starttls): Support
6125 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6126 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6127
95f41d9a
LMI
6128 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6129 upgrades with `open-network-stream', and rely solely on
6130 auth-source for all credentials. Big changes throughout the file,
6131 but in particular:
c9d29fb8
SM
6132 (smtpmail-auth-credentials): Remove.
6133 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6134 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6135 MAIL FROM, too.
95f41d9a 6136
c9d29fb8
SM
6137 * net/network-stream.el (network-stream-open-starttls):
6138 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6139 STARTTLS.
6140 (auth-source): Require.
6141 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6142 (network-stream-certificate): Change cert-cert to cert and
6143 cert-key to key.
4ea31e07 6144
065ec2c7
MA
61452011-06-21 Michael Albinus <michael.albinus@gmx.de>
6146
6147 * net/tramp-cache.el (top): Don't load the persistency file when
6148 "emacs -Q" has been called.
6149
cd93b359
DR
61502011-06-21 Tim Harper <timcharper@gmail.com>
6151
d8e4b68b
JB
6152 * term/ns-win.el (ns-initialize-window-system):
6153 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6154 resource to NO as it is not yet supported by the NS port.
6155
ae9c0411
JB
61562011-06-21 Juanma Barranquero <lekktu@gmail.com>
6157
6158 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6159 (list-dynamic-libraries): ...not here.
6160
7f3f739f
LL
61612011-06-21 Leo Liu <sdl.web@gmail.com>
6162
6163 * subr.el (sha1): Implement sha1 using secure-hash.
6164
327c8fb1
MR
61652011-06-21 Martin Rudalics <rudalics@gmx.at>
6166
6167 * window.el (display-buffer-alist): In default value do not
6168 enforce searching a window on any but the selected frame.
6169 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6170 (display-buffer-select-window): Remove function.
6171 (display-buffer-in-window): When a window on another frame gets
6172 reused, do not select it any more but just raise its frame if
6173 necessary (Bug#8851) and (Bug#8856).
6174 (display-buffer-normalize-options): Handle pop-up-frames related
6175 options more faithfully.
6176 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6177 window if it is on another frame.
c9d29fb8
SM
6178 (display-buffer-alist, display-buffer-default-specifiers):
6179 Don't make new frame unsplittable by default.
9e9de014
MR
6180 (display-buffer-normalize-argument): Fix doc-string typo and use
6181 'same-frame-other-window instead of 'other-window when associating
6182 with display-buffer-macro-specifiers.
327c8fb1 6183
7cf3f556
VB
61842011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6185
6186 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6187 New functions.
6188 (5x5-mode-map, 5x5-mode-menu): Bind them.
6189 (5x5-draw-grid): Tweak the solver's rendering.
6190
60a406cf
SM
61912011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6194 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6195
d8e4b68b 61962011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6197
6198 * menu-bar.el: Use function variable instead of switch-to-buffer.
6199 (menu-bar-select-buffer-function): New variable.
60a406cf 6200 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6201
478d6f95
SM
62022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6205 variable's status.
6206
ca530739
JD
62072011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6208
6209 * x-dnd.el (x-dnd-version-from-flags)
6210 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6211 and long as number (Bug#8899).
6212 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6213
bcd70d97
SM
62142011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6215
60a406cf 6216 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6217 (completion-try-completion, completion-all-completions): Compute the
6218 metadata argument if it's missing; make it optional (bug#8795).
6219
60a406cf 6220 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6221 (widget-complete): Use new :completion-function property.
6222 (widget-completions-at-point): New function.
6223 (default): Use :completion-function instead of :complete.
60a406cf
SM
6224 (widget-default-completions): Rename from widget-default-complete;
6225 Rewrite.
bcd70d97
SM
6226 (widget-string-complete, widget-file-complete, widget-color-complete):
6227 Remove functions.
6228 (file, symbol, function, variable, coding-system, color):
6229 * international/mule-cmds.el (default-input-method, charset)
6230 (language-info-custom-alist):
6231 * cus-edit.el (face): Use new property :completions.
6232
6233 * progmodes/pascal.el (pascal-completions-at-point): New function.
6234 (pascal-mode): Use it.
6235 (pascal-mode-map): Use completion-at-point.
6236 (pascal-toggle-completions): Make obsolete.
6237 (pascal-complete-word, pascal-show-completions):
6238 * progmodes/octave-mod.el (octave-complete-symbol):
6239 Redefine as obsolete alias.
6240 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6241 Signal absence of completion info for old Octave,
6242 (inferior-octave-complete): Redefine as obsolete alias.
6243 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6244 (meta-completions-at-point): Rename from meta-complete-symbol and
6245 adapt it for use on completion-at-point-functions.
6246 (meta-common-mode): Use it.
6247 (meta-looking-at-backward, meta-match-buffer): Remove.
6248 (meta-complete-symbol): Redefine as obsolete alias.
6249 (meta-common-mode-map): Use completion-at-point.
6250 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6251 (makefile-mode-map): Use completion-at-point.
6252 (makefile-completions-at-point): Rename from makefile-complete and
6253 adapt it for use on completion-at-point-functions.
6254 (makefile-mode): Use it.
6255 (makefile-complete): Redefine as obsolete alias.
6256
aebf69c8
DD
62572011-06-20 Deniz Dogan <deniz@dogan.se>
6258
6259 * net/rcirc.el: Delete trailing whitespaces once and for all.
6260
bfbbb27d
DC
62612011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6262
6263 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6264
d264a46b
CY
62652011-06-19 Chong Yidong <cyd@stupidchicken.com>
6266
4ca009e5
CY
6267 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6268
d264a46b
CY
6269 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6270
fbf5b3ce
MR
62712011-06-19 Martin Rudalics <rudalics@gmx.at>
6272
6273 * window.el (display-buffer-other-window-means-other-frame):
6274 Call display-buffer-normalize-alist.
6275 (display-buffer-normalize-specifiers-1): Rename to
6276 display-buffer-normalize-argument. New argument other-frame.
6277 Rewrite.
6278 (display-buffer-normalize-specifiers-2): Rename to
6279 display-buffer-normalize-options.
6280 (display-buffer-normalize-alist-1): New function.
6281 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6282 display-buffer-normalize-alist.
6283 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6284 (display-buffer-normalize-options-inhibit): New variable.
6285 (display-buffer-normalize-specifiers): Rewrite calling
6286 display-buffer-normalize-alist,
6287 display-buffer-normalize-argument, and
6288 display-buffer-normalize-options. Don't call the latter if
6289 display-buffer-normalize-options-inhibit is non-nil.
6290 (frame-auto-delete): New option.
6291 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6292 (window-list-no-nils, window-state-ignored-parameters)
6293 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6294 (window-state-put-1, window-state-put-2, window-state-put):
6295 New functions.
9a028c23
MR
6296 (display-buffer-normalize-options): Move special-display-p group
6297 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6298
6d10d800
CY
62992011-06-18 Chong Yidong <cyd@stupidchicken.com>
6300
6420d28b
CY
6301 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6302 groups (Bug#8776).
6303 (rx-submatch-n): New function.
6304 (rx): Document it.
6305
ddb8b596
CY
6306 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6307 (Bug#8768).
6308
6309 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6310
77080289
CY
6311 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6312
61dfb316
CY
6313 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6314 anytime existing face settings are present (Bug#8889).
6315
6d10d800
CY
6316 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6317 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6318 Remove unused argument.
6319
be3fb2b8
MR
63202011-06-18 Martin Rudalics <rudalics@gmx.at>
6321
bcd70d97
SM
6322 * window.el (display-buffer-default-specifiers):
6323 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6324 pop-up-window-min-width, and another reuse-window specifier
6325 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6326 (display-buffer-normalize-specifiers-2):
6327 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6328 pop-up-windows is unset. Add a reuse-window specifier for the
6329 case popping up a new window fails.
6330 (special-display-popup-frame): Remove double quoting.
28dec25a 6331 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6332
1c6d8c76
SM
63332011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6336 according to comint-completion-addsuffix.
6337
6338 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6339 (pcomplete-suffix-list): Mark as obsolete.
6340 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6341 pcomplete-seen in the closure.
6342 (pcomplete-comint-setup): Setup completion-at-point as well.
6343 (pcomplete--entries): New function.
6344 (pcomplete--env-regexp): New var.
6345 (pcomplete-entries): Rewrite to work with partial-completion and
6346 without relying on pcomplete-suffix-list.
6347 (pcomplete-pare-list): Remove, unused.
6348
25aef8b8
MR
63492011-06-17 Martin Rudalics <rudalics@gmx.at>
6350
6351 * window.el (display-buffer-alist): Set pop-up-window-min-height
6352 and pop-up-window-min-width in default value. Reported by
6353 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6354 other-window-means-other-frame.
6355 (display-buffer-macro-specifiers): Comment out entry for
6356 other-window specifier.
6357 (display-buffer-other-window-means-other-frame): New function.
6358 (display-buffer-normalize-specifiers-1): New arguments
6359 buffer-name and label. Treat other-window case specially.
6360 (display-buffer-normalize-specifiers-2): Treat other-window case
6361 specially.
6362 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6363 (display-buffer-normalize-specifiers):
6364 Call display-buffer-normalize-specifiers-3.
25aef8b8 6365
dbad4f69
MR
63662011-06-17 Martin Rudalics <rudalics@gmx.at>
6367
6368 * window.el (same-window-p): Fix two typos introduced when
6369 adding with-no-warnings.
d1067961
MR
6370 (display-buffer-normalize-specifiers-1): Don't check
6371 pop-up-frames for 'unset initialization.
6372 (display-buffer-normalize-specifiers-2): Major rewrite using
6373 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6374 (pop-up-frames, display-buffer-reuse-frames)
6375 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6376 Suggested by David Engster <deng@randomsample.de>.
6377 (even-window-heights): Initialize to 'unset.
6378 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6379 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6380 other window case.
dbad4f69 6381
9b9c9e3a
MR
63822011-06-16 Martin Rudalics <rudalics@gmx.at>
6383
bcd70d97
SM
6384 * window.el (display-buffer-normalize-specifiers-1):
6385 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6386 second argument of display-buffer (Bug#8865).
981d5c09
MR
6387 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6388 (switch-to-buffer-other-window-same-frame)
6389 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6390 Adams (Bug#8875).
9c2755e9
MR
6391 (display-buffer): Don't check noninteractive when calling
6392 display-buffer-pop-up-frame.
6393 (display-buffer-pop-up-frame): Never pop up a frame in
6394 noninteractive mode (Bug#8857).
67222e1d
MR
6395 (enlarge-window, shrink-window): Don't report an error when the
6396 window can't be resized as requested (Bug#8862).
9b9c9e3a 6397
2b75be67
SM
63982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6399
9ffdd3ba
SM
6400 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6401
cb581a67
SM
6402 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6403
2b75be67
SM
6404 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6405
8c0e3589
AM
64062011-06-15 Alan Mackenzie <acm@muc.de>
6407
cb581a67
SM
6408 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6409 for declarators, disable knr checking to speed up for normal files.
6410 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6411
b96e6cde
LMI
64122011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413
4bba86e6
LMI
6414 * net/network-stream.el (open-network-stream): Add the keyword
6415 :always-query-capabilities for the case where you want to force a
6416 `plain' network connection, but the protocol still requires the
6417 capabilitiy command (i.e., SMTP and EHLO).
6418
2b75be67 6419 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6420 consistency with other `-live-p' functions.
6421
efdcdbf8
SM
64222011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * window.el (same-window-buffer-names, same-window-regexps)
6425 (special-display-frame-alist, special-display-popup-frame)
6426 (special-display-function, special-display-buffer-names)
6427 (special-display-regexps, pop-up-frame-alist)
6428 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6429 (pop-up-windows, split-window-preferred-function)
6430 (split-height-threshold, split-width-threshold, even-window-heights)
6431 (display-buffer-mark-dedicated): Don't encourage the use of
6432 display-buffer-alist from Elisp code.
6433
c5cde042
DN
64342011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6435
6436 * progmodes/python.el (python-mode): Derive from prog-mode.
6437 * progmodes/ps-mode.el (ps-mode):
6438 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6439 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6440 * progmodes/ld-script.el (ld-script-mode): Likewise.
6441
baa1c9ab
MR
64422011-06-15 Martin Rudalics <rudalics@gmx.at>
6443
6444 * window.el (display-buffer-alist): Trim default value to avoid
6445 popping up a new frame (Bug#8857) or reusing an arbitrary window
6446 on another frame.
6447 (display-buffer): Do not fall back on popping up a new frame in
6448 batch mode (Bug#8857).
6449
c5dd5a51
CY
64502011-06-14 Chong Yidong <cyd@stupidchicken.com>
6451
6452 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6453 (custom-theme-summary): New function.
6454 (customize-themes): Use it.
6455
d647b7c4
GM
64562011-06-13 Glenn Morris <rgm@gnu.org>
6457
6458 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6459
9481c002
MR
64602011-06-13 Martin Rudalics <rudalics@gmx.at>
6461
357f93d2
MR
6462 * help.el (help-window): Remove variable.
6463 (help-window-point-marker, temp-buffer-max-height)
6464 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6465 (help-print-return-message): Don't set help-window.
6466 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6467 (help-window-setup-finish): Remove.
6468 (help-window-display-message, help-window-setup)
6469 (with-help-window): Major rewrite based on new
6470 display-buffer-window variable.
6471
6472 * help-mode.el (help-mode-finish): Remove help-window related
6473 code.
6474
6475 * view.el (view-exits-all-viewing-windows): Remove reference to
6476 view-return-to-alist in doc-string.
6477 (view-return-to-alist): Make obsolete.
6478 (view-buffer): Call pop-to-buffer-same-window and remove
6479 undo-window code.
6480 (view-buffer-other-window): Call pop-to-buffer-other-window and
6481 simplify code. Ignore second argument.
6482 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6483 simplify code. Ignore second argument.
6484 (view-return-to-alist-update): Make obsolete.
6485 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6486 Rewrite using quit-restore window parameters.
2b75be67
SM
6487 (view-mode-exit): Rename second argument to EXIT-ONLY.
6488 Rewrite using quit-restore-window.
357f93d2
MR
6489 (View-exit, View-exit-and-edit, View-leave, View-quit)
6490 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6491 appropriate arguments.
6492 (view-end-message): Use quit-restore window parameter.
6493
9481c002
MR
6494 * window.el (display-buffer-function): Rewrite doc-string.
6495 (display-buffer-window, display-buffer-alist): New variables.
6496 (display-buffer-split-specifiers)
6497 (display-buffer-side-specifiers)
6498 (display-buffer-macro-specifiers): New constants.
6499 (display-buffer-even-window-sizes, display-buffer-set-height)
6500 (display-buffer-set-width, display-buffer-select-window)
6501 (display-buffer-in-window, display-buffer-reuse-window)
6502 (display-buffer-split-window-1, display-buffer-split-window)
6503 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6504 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6505 (display-buffer-in-side-window, normalize-buffer-to-display)
6506 (display-buffer-normalize-specifiers-1)
6507 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6508 (display-buffer-normalize-specifiers, display-buffer-frame):
6509 New functions.
9481c002
MR
6510 (display-buffer): Major rewrite.
6511 (display-buffer-other-window, display-buffer-other-frame)
6512 (pop-to-buffer, switch-to-buffer-other-window)
6513 (switch-to-buffer-other-frame): Rewrite.
6514 (display-buffer-same-window, display-buffer-same-frame)
6515 (display-buffer-same-frame-other-window)
6516 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6517 (pop-to-buffer-other-window)
6518 (pop-to-buffer-same-frame-other-window)
6519 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6520 (switch-to-buffer-other-window-same-frame): New functions.
6521 (same-window-p, special-display-p): Rewrite disabling warnings.
6522 Make obsolete.
6523 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6524 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6525 Make obsolete
6526 (same-window-buffer-names, same-window-regexps)
6527 (special-display-frame-alist, special-display-popup-frame)
6528 (special-display-function, special-display-buffer-names)
6529 (special-display-regexps, pop-up-frame-alist)
6530 (pop-up-frame-function, split-window-preferred-function)
6531 (split-height-threshold, split-width-threshold)
6532 (even-window-heights): Make obsolete.
6533
9db51aca
GM
65342011-06-12 Glenn Morris <rgm@gnu.org>
6535
6536 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6537 Misc simplifications.
9db51aca 6538
39cffb44
MR
65392011-06-12 Martin Rudalics <rudalics@gmx.at>
6540
6541 * window.el (window-safely-shrinkable-p): Restore function which
6542 was inadvertently removed in change from 2011-06-11. Declare as
6543 obsolete.
6544
2b75be67
SM
6545 * calendar/calendar.el (calendar-generate-window):
6546 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6547 window-safely-shrinkable-p.
6548
a8955be7
GM
65492011-06-12 Glenn Morris <rgm@gnu.org>
6550
6551 * progmodes/fortran.el (fortran-mode-syntax-table):
6552 * progmodes/f90.el (f90-mode-syntax-table):
6553 Set % to punctuation. (Bug#8820)
6554 (f90-find-tag-default): Remove, no longer needed.
6555
f0d4059d
DC
65562011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6557
6558 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6559
1100a63c
CY
65602011-06-11 Chong Yidong <cyd@stupidchicken.com>
6561
6562 * image.el (image-animated-p): Return animation delay in seconds.
6563 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6564 (image-animate-timeout): Remove DELAY argument. Don't assume
6565 every subimage has the same delay; get it from image-animated-p.
6566 (image-animate): Caller changed.
6567
def722bf
MA
65682011-06-11 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6571 to ignored backtrace functions.
6572
0a2bb1a9
GM
65732011-06-11 Glenn Morris <rgm@gnu.org>
6574
6575 * calendar/appt.el (appt-disp-window-function): Doc fix.
6576 (appt-check): Handle overlapping appointments. (Bug#8337)
6577
6198ccd0
MR
65782011-06-11 Martin Rudalics <rudalics@gmx.at>
6579
6580 * window.el (window-tree-1, window-tree): New functions, moving
6581 the latter to window.el.
6582 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6583 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6584 (bw-refresh-edges): Remove.
6585 (balance-windows-1, balance-windows-2): New functions.
6586 (balance-windows): Rewrite in terms of window tree functions,
6587 balance-windows-1 and balance-windows-2.
6588 (bw-adjust-window): Remove.
6589 (balance-windows-area-adjust): New function with functionality of
6590 bw-adjust-window but using resize-window.
2b75be67
SM
6591 (set-window-text-height): Rewrite doc-string.
6592 Use normalize-live-window and resize-window.
6593 (enlarge-window-horizontally, shrink-window-horizontally):
6594 Rename argument to DELTA.
6198ccd0
MR
6595 (window-buffer-height): New function.
6596 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6597 Rewrite using new window resize routines.
2b75be67
SM
6598 (kill-buffer-and-window, mouse-autoselect-window-select):
6599 Use ignore-errors instead of condition-case.
6198ccd0
MR
6600 (quit-window): Call delete-frame instead of delete-windows-on
6601 for the only buffer on frame.
6602
9397e56f
MR
66032011-06-10 Martin Rudalics <rudalics@gmx.at>
6604
6605 * loadup.el (top-level): Load window before files for the sake
6606 of replace-buffer-in-windows.
6607
6608 * files.el (read-buffer-to-switch)
6609 (switch-to-buffer-other-window)
2b75be67
SM
6610 (switch-to-buffer-other-frame, display-buffer-other-frame):
6611 Move to window.el.
9397e56f
MR
6612
6613 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6614 (previous-buffer): Move to window.el.
6615
6616 * bindings.el (unbury-buffer): Move to window.el.
6617
6618 * window.el (delete-other-windows-vertically): Move after
6619 definition of delete-other-windows.
6620 (other-window, delete-windows-on, replace-buffer-in-windows):
6621 Move here from window.c.
6622 (record-window-buffer, unrecord-window-buffer)
6623 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6624 (switch-to-next-buffer): New functions.
6625 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6626 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6627 (previous-buffer): Move here from simple.el.
6628 Call switch-to-prev-buffer.
9397e56f
MR
6629 (bury-buffer): Move here from buffer.c. Switch to previous
6630 buffer when window cannot be deleted.
6631 (unbury-buffer): Move here from bindings.el.
6632 (ctl-x-map): Move binding for other-window from window.c to
6633 here.
6634 (read-buffer-to-switch, switch-to-buffer-other-window)
6635 (switch-to-buffer-other-frame): Move here from files.el.
6636 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6637 (switch-to-buffer): Move here from buffer.c.
6638 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6639
562dd5e9
MR
66402011-06-10 Martin Rudalics <rudalics@gmx.at>
6641
6642 * window.el (window-min-height, window-min-width): Move here
6643 from window.c. Add defcustoms and rewrite doc-strings.
6644 (resize-mini-window, resize-window): New functions.
6645 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6646 Move here from window.c.
6647 (maximize-window, minimize-window): New functions.
6648 (delete-window, delete-other-windows, split-window): Move here
6649 from window.c.
6650 (window-split-min-size): New function.
6651 (split-window-keep-point): Mention split-window-above-each-other
6652 instead of split-window-vertically.
2b75be67 6653 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6654 Rename split-window-vertically to split-window-above-each-other
6655 and provide defalias for old definition.
6656 (split-window-side-by-side, split-window-horizontally):
6657 Rename split-window-horizontally to split-window-side-by-side
6658 and provide defalias for the old definition.
562dd5e9
MR
6659 (ctl-x-map): Move bindings for delete-window,
6660 delete-other-windows and enlarge-window here from window.c.
6661 Replace bindings for split-window-vertically and
6662 split-window-horizontally by bindings for
6663 split-window-above-each-other and split-window-side-by-side.
6664
6665 * cus-start.el (all): Remove entries for window-min-height and
6666 window-min-width. Add entries for window-splits and
6667 window-nest.
6668
f0da764a
GM
66692011-06-09 Glenn Morris <rgm@gnu.org>
6670
80675c21
GM
6671 * calendar/appt.el (appt-mode-line): New function.
6672 (appt-check, appt-disp-window): Use it.
6673
f0da764a
GM
6674 * files.el (hack-one-local-variable-eval-safep):
6675 Allow minor-modes with explicit +/-1 arguments.
6676
59f623b7
TZ
66772011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6678
6679 * term/xterm.el (xterm): Add defgroup.
6680 (xterm-extra-capabilities): Add defcustom to supply known xterm
6681 capabilities, skip querying them, or query them (default).
6682 (terminal-init-xterm): Use it.
6683 (terminal-init-xterm-modify-other-keys): New function to set up
6684 modifyOtherKeys support to simplify `terminal-init-xterm'.
6685
9aab8e0d
MR
66862011-06-09 Martin Rudalics <rudalics@gmx.at>
6687
6688 * window.el (resize-window-reset, resize-window-reset-1)
6689 (resize-subwindows-skip-p, resize-subwindows-normal)
6690 (resize-subwindows, resize-other-windows, resize-this-window)
6691 (resize-root-window, resize-root-window-vertically)
6692 (window-deletable-p, window-or-subwindow-p)
6693 (frame-root-window-p): New functions.
6694
e8b08aee
GM
66952011-06-09 Glenn Morris <rgm@gnu.org>
6696
6697 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6698 (ange-ftp-get-files): Use it.
6699
254c37a5
AK
67002011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6701
6702 * mail/sendmail.el (mail-recover-1, mail-recover):
6703 * files.el (recover-file, recover-session):
6704 Handle dired-listing-switches not being just a single short option.
6705
35d7dbd3
GM
67062011-06-09 Glenn Morris <rgm@gnu.org>
6707
6708 * calendar/appt.el (appt-display-message, appt-disp-window):
6709 Handle lists of appointments.
6710
387522b2
MR
67112011-06-08 Martin Rudalics <rudalics@gmx.at>
6712
2b75be67
SM
6713 * window.el (one-window-p): Move down in code.
6714 Rewrite doc-string.
6715 (window-current-scroll-bars): Rewrite doc-string.
6716 Normalize live window argument.
387522b2
MR
6717 (walk-windows, get-window-with-predicate, count-windows):
6718 Rewrite doc-string. Use window-list-1.
6719 (window-in-direction-2, window-in-direction, get-mru-window):
6720 New functions.
6721
d8e4b68b 67222011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6723
6724 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6725 Doc fix (Bug#8713).
6726
67272011-06-08 Chong Yidong <cyd@stupidchicken.com>
6728
6729 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6730
67312011-06-08 Juanma Barranquero <lekktu@gmail.com>
6732
6733 * loadhist.el (unload-feature-special-hooks):
6734 Add `comint-output-filter-functions'.
6735
0de12c52
IK
67362011-06-08 Ivan Kanis <gnu@kanis.fr>
6737
6738 * calendar/appt.el (appt-check): Move some initializations into the let.
6739
f3d1777e
MR
67402011-06-08 Martin Rudalics <rudalics@gmx.at>
6741
6742 * window.el (window-height): Defalias to window-total-height.
6743 (window-width): Defalias to window-body-width.
6744
18af70d0
CY
67452011-06-07 Chong Yidong <cyd@stupidchicken.com>
6746
6747 * image-mode.el (image-toggle-animation): New command.
6748 (image-mode-map): Bind it to RET.
6749 (image-mode): Update message.
6750 (image-toggle-display-image): Avoid a spurious cache flush.
6751 (image-transform-rotation): Doc fix.
6752 (image-transform-properties): Return quickly in the normal case.
6753 (image-animate-loop): Rename from image-animate-max-time.
6754
2b75be67 6755 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6756 (create-animated-image): Remove unnecessary function.
6757 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6758 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6759 (image-animate-timer): Use car-safe.
6760 (image-animate-timeout): Rename argument.
6761
190b47e6
MR
67622011-06-07 Martin Rudalics <rudalics@gmx.at>
6763
6764 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6765 window.c. Rename first argument to ALL-FRAMES.
6766 Rephrase doc-strings.
6767 (get-buffer-window-list): Rewrite using window-list-1.
6768 Rephrase doc-string.
a1511caf
MR
6769 (window-safe-min-height, window-safe-min-width): New constants.
6770 (window-size-ignore, window-min-size, window-min-size-1)
6771 (window-sizable, window-sizable-p, window-size-fixed-1)
6772 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6773 (window-max-delta-1, window-max-delta, window-resizable)
6774 (window-resizable-p, window-total-height, window-total-width)
6775 (window-body-width): New functions.
6776 (window-full-height-p, window-full-width-p): Rewrite using
6777 window-total-size.
6778 (window-body-height): Rewrite using window-body-size.
190b47e6 6779
85cc1f11
MR
67802011-06-06 Martin Rudalics <rudalics@gmx.at>
6781
6782 * window.el (window-right, window-left, window-child)
6783 (window-child-count, window-last-child, window-any-p)
6784 (normalize-live-buffer, normalize-live-frame)
6785 (normalize-any-window, normalize-live-window)
6786 (window-iso-combination-p, window-iso-combined-p)
6787 (window-iso-combinations)
6788 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6789 (windows-with-parameter, window-with-parameter)
6790 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6791 (window-atom-check, window-side-check, window-check):
6792 New functions.
85cc1f11
MR
6793 (ignore-window-parameters, window-sides, window-sides-vertical)
6794 (window-sides-slots): New variables.
6795 (window-size-fixed): Move down in code. Minor doc-string fix.
6796
e7156492
AS
67972011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6798
6799 * comint.el (comint-dynamic-complete-as-filename)
6800 (comint-dynamic-complete-filename): Correctly call
6801 completion-in-region.
6802
7e821d0d
DD
68032011-06-05 Deniz Dogan <deniz@dogan.se>
6804
6805 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6806 in last change.
6807
ac09b8a1
DD
68082011-06-05 Deniz Dogan <deniz@dogan.se>
6809
6810 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6811 (rcirc): Use it to prompt for encryption.
6812
34699b85
RW
68132011-06-05 Roland Winkler <winkler@gnu.org>
6814
6815 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6816 (bibtex-search-entries): New command bound to C-c C-a.
6817 (bibtex-display-entries): New function.
6818
004dedd3
RW
68192011-06-05 Roland Winkler <winkler@gnu.org>
6820
6821 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6822 (bibtex-insert-kill): After yanking insert newline if necessary.
6823 (bibtex-initialize): Call bibtex-string-files-init only once.
6824 (bibtex-mode): Do not call easy-menu-add.
6825 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6826 (bibtex-yank): Set arg properly if nil.
6827
022fe7ce
RW
68282011-06-05 Roland Winkler <winkler@gnu.org>
6829
2b75be67
SM
6830 * textmodes/bibtex.el (bibtex-search-entry-globally):
6831 New variable.
022fe7ce
RW
6832 (bibtex-search-entry): Use it.
6833
b7c3692a
RW
68342011-06-05 Roland Winkler <winkler@gnu.org>
6835
6836 * textmodes/bibtex.el (bibtex-entry-format): New option
6837 sort-fields.
6838 (bibtex-format-entry, bibtex-reformat): Honor this option.
6839 (bibtex-parse-entry): Return fields in proper order.
6840
8eda563d
JB
68412011-06-05 Juanma Barranquero <lekktu@gmail.com>
6842
6843 * doc-view.el (doc-view-remove-if): Move computation of result out
6844 of `dolist' to silence misleading lexical-binding warning.
6845
7dbe3dbc
CY
68462011-06-04 Chong Yidong <cyd@stupidchicken.com>
6847
6848 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6849 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6850
0c33dd17
MA
68512011-06-04 Michael Albinus <michael.albinus@gmx.de>
6852
6853 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6854 "SunOS 5.10".
6855
f8f91c2b
MA
68562011-06-04 Michael Albinus <michael.albinus@gmx.de>
6857
6858 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6859 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6860 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6861 (tramp-parse-putty):
6862 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6863 (tramp-completion-function-alist-ssh)
6864 (tramp-completion-function-alist-telnet)
6865 (tramp-completion-function-alist-su)
6866 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6867 cookie.
6868
6869 * net/tramp-ftp.el:
6870 * net/tramp-sh.el:
6871 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6872 load "tramp.el" `tramp-set-completion-function'.
6873
e17d9003
SM
68742011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * shell.el: Require and use pcomplete.
6877 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6878 (shell-completion-vars): Set pcomplete-default-completion-function.
6879
6c4cab03
DD
68802011-06-04 Deniz Dogan <deniz@dogan.se>
6881
6882 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6883 `memq' (Bug#8799).
6884
ea9fafe0
SM
68852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6888
b3e945d3
JB
68892011-06-02 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6892 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6893 * vc/log-view.el (log-view-beginning-of-defun):
6894 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6895 (smerge-refine-forward, smerge-refine-chopup-region):
6896 Silence warning for unused `dotimes' counter variables.
6897
7d520089
SM
68982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * net/tramp.el (tramp-with-progress-reporter): Rename from
6901 with-progress-reporter. Use `declare'.
6902 * net/tramp-smb.el:
6903 * net/tramp-sh.el:
6904 * net/tramp-gvfs.el: Update all uses.
6905
a1c2400f
JB
69062011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6907
6908 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6909 buffer isn't killed before making it current.
6910
2403c841
SM
69112011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 Silence various byte-compiler warnings.
6914 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6915 `access-type' and new obsolescence format.
6916 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6917 new format.
6918 (byte-compile-check-variable): New `access-type' argument.
6919 Only warn if the access-type is obsolete.
6920 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6921 (byte-compile-variable-set): Adjust callers.
6922 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6923 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6924 setting it as obsolete.
6925 * simple.el (minibuffer-completing-symbol):
6926 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6927 access as obsolete.
6928 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6929 obsolete yet.
6930 * international/quail.el (quail-mouse-choose-completion): Remove unused
6931 code referring to obsolete var.
6932 (quail-choose-completion-string): Remove.
6933 * server.el (server-clients-with, server-kill-buffer-query-function)
6934 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6935 * proced.el (proced-send-signal):
6936 * emacs-lisp/lisp.el (lisp-complete-symbol):
6937 Replace completion-annotate-function with completion-extra-properties.
6938
2462470b
SM
69392011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6940
fb5b2591
SM
6941 * simple.el (goto-line): Use read-number.
6942 (overriding-map-is-bound): Remove.
6943 (saved-overriding-map): Change default.
6944 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6945 Take the map as argument.
6946 (universal-argument, negative-argument, digit-argument): Use it.
6947 (restore-overriding-map): Adjust.
6948 (do-auto-fill): Use fill-forward-paragraph.
6949 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6950
fd6fa53f
SM
6951 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6952 (minibuffer-inactive-mode): New major mode.
6953 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6954 the *Messages* buffer" hack.
6955 (mouse-popup-menubar): Don't burp if the event is a normal key.
6956
2462470b
SM
6957 Miscellaneous tweaks.
6958 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6959 lexical scoping as in subr.el's dolist and dotimes.
6960 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6961 Silence compiler warning.
6962 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6963 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6964 * international/ccl.el (ccl-compile): Trivial simplification.
6965 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6966 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6967 `printflag' argument.
6968 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6969 Purecopy the whole obsolescence data.
6970
108bf785
LL
69712011-06-01 Leo Liu <sdl.web@gmail.com>
6972
6973 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6974 improve doc-string as suggested by Marco Pessotto
6975 <melmothx@gmail.com>.
6976 (rcirc-print): Fix last change.
6977
30a23501
SM
69782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * minibuffer.el (complete-with-action): Return nil for the metadata and
6981 boundaries of non-functional tables.
6982 (completion-table-dynamic): Return nil for the metadata.
6983 (completion-table-with-terminator): Add default case, using
6984 complete-with-action.
6985 (completion--metadata): New function.
6986 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6987 to try and avoid pathological performance problems.
6988 (completion--embedded-envvar-table): Return `category' metadata.
6989
bcd54f83
LMI
69902011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6991
6992 * subr.el (process-alive-p): New tiny convenience function.
6993
e227544d
SM
69942011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6997 content but also its previous major mode.
6998
e8296fdc
HE
69992011-05-31 Helmut Eller <eller.helmut@gmail.com>
7000
4d61f28d 7001 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7002 *Backtrace* buffer when we exit with C-M-c.
7003
620c53a6
SM
70042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * minibuffer.el: Add metadata method to completion tables.
7007 (completion-category-overrides): New defcustom.
7008 (completion-metadata, completion--field-metadata)
7009 (completion-metadata-get, completion--styles)
7010 (completion--cycle-threshold): New functions.
7011 (completion-try-completion, completion-all-completions):
7012 Add `metadata' argument to choose completion-styles.
7013 (completion--do-completion): Use metadata to choose cycling.
7014 (completion-all-sorted-completions): Use metadata for sorting.
7015 Remove :completion-cycle-penalty which is not needed any more.
7016 (completion--try-word-completion): Add `metadata' argument.
7017 (minibuffer-completion-help): Check metadata for annotation function
7018 and sorting.
7019 (completion-file-name-table): Return `category' metadata.
7020 (minibuffer-completing-file-name): Make obsolete.
7021 * simple.el (minibuffer-completing-symbol): Make obsolete.
7022 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7023 completion-try-completion.
7024
1257e755
SM
70252011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7028
3767e706
LL
70292011-05-30 Leo Liu <sdl.web@gmail.com>
7030
7031 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7032 (rcirc-print): Decode all incoming messages (bug#8744).
7033 (rcirc-decode-coding-system): Allow value nil for automatic coding
7034 system detection.
3767e706 7035
d1a5d56a
GM
70362011-06-01 Glenn Morris <rgm@gnu.org>
7037
7038 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7039
e8cbec34
CY
70402011-05-29 Chong Yidong <cyd@stupidchicken.com>
7041
7042 * image.el (image-animate-max-time): Allow nil and t values.
7043 Default to nil.
7044 (create-animated-image): Doc fix.
7045 (image-animate-start): Remove second arg; just use
7046 image-animate-max-time.
7047 (image-animate-timeout): Doc fix. Args changed.
7048
7049 * image-mode.el (image-toggle-display-image): Ensure that the
7050 image spec passed to the animate timer is the same object as in
58179cce 7051 the buffer's display property (Bug#6981).
e8cbec34
CY
7052 (image-transform-properties): Doc fix.
7053
7054 * image.el (image-animate-max-time): Default to nil.
7055
159daf87
MR
70562011-05-29 Martin Rudalics <rudalics@gmx.at>
7057
7058 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7059 entire buffer list (Bug#8184).
7060
d66c4c7c
CY
70612011-05-29 Chong Yidong <cyd@stupidchicken.com>
7062
7063 * image.el (imagemagick-types-inhibit)
7064 (imagemagick-register-types): Doc fix.
7065
80aec780
DD
70662011-05-29 Deniz Dogan <deniz@dogan.se>
7067
7068 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7069 default.
7070
1dd3c2d9
CY
70712011-05-29 Chong Yidong <cyd@stupidchicken.com>
7072
7073 * select.el: Don't perform clipboard-manager saving in hooks;
7074 leave the hooks empty.
7075
60e56523
LL
70762011-05-28 Leo Liu <sdl.web@gmail.com>
7077
7078 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7079 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7080 (occur-edit-mode): New major mode (Bug#8463).
7081 (occur-after-change-function): New function.
7082 (occur-engine): Give Occur tags a read-only property.
7083
2b1e1a22
KR
70842011-05-28 Kevin Ryde <user42@zip.com.au>
7085
7086 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7087
5d344e88
CY
70882011-05-28 Chong Yidong <cyd@stupidchicken.com>
7089
8e6ca83d
CY
7090 * bindings.el (help-echo): Make the initial non-indicator dash
7091 empty on graphical terminals (Bug#7295).
7092
5d344e88
CY
7093 * files.el (auto-mode-alist): Move config rule after the
7094 in-stripping one (Bug#8547).
7095
bfbbace7
CY
7096 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7097
fbeba6e2
CY
7098 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7099 setting (Bug#8740).
7100
60ed8c72
AA
71012011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7102
4ac619f0
AA
7103 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7104 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7105 (Bug#8539).
60ed8c72 7106
23db196e
CY
71072011-05-28 Chong Yidong <cyd@stupidchicken.com>
7108
7109 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7110
5012f24c
DK
71112011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7112
7113 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7114 (hs-hide-block-at-point, hs-find-block-beginning)
7115 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7116 (Bug#8279).
7117
6a639b16
GM
71182011-05-28 Glenn Morris <rgm@gnu.org>
7119
7120 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7121
d43eaf2c
CY
71222011-05-28 Chong Yidong <cyd@stupidchicken.com>
7123
5199bde1
CY
7124 * help-fns.el (describe-function-1): If the function is a derived
7125 major mode, print the parent mode.
7126
d43eaf2c
CY
7127 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7128 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7129
423428a8
SM
71302011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7131
0ff8e1ba 7132 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7133 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7134 * progmodes/etags.el (tags-completion-at-point-function):
7135 * info-look.el (info-lookup-completions-at-point): Mark as
7136 non-exclusive.
7137 (info-complete): Adjust accordingly.
7138
423428a8
SM
7139 * info-look.el: Convert to lexical-binding and completion-at-point.
7140 (info-lookup-completions-at-point): New function.
7141 (info-complete): Use it and completion-in-region.
7142
b74aa22b
DA
71432011-05-28 Drew Adams <drew.adams@oracle.com>
7144
7145 * isearch.el: Let M-e start with point at the first mismatched char.
7146 (isearch-fail-pos): New function.
7147 (isearch-edit-string): Use it.
7148
66e2e71d
DK
71492011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7150
7151 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7152
eb95d01d
TC
71532009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7154
7155 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7156 traversal functions for avl-trees.
7157 (avl-tree--stack): New struct.
7158 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7159 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7160 (avl-tree--do-enter): Add optional `updatefun' arg.
7161 Change return value.
eb95d01d 7162 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7163 (avl-tree--do-delete): Add `test' and `nilflag' args.
7164 Change return value.
eb95d01d
TC
7165 (avl-tree-member): Add optional `nilflag'
7166 (avl-tree-member-p): New function.
7167 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7168 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7169 (avl-tree-stack-empty-p): New functions.
7170
3769ddcf
TC
71712009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7172
7173 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7174 avl-tree--del-balance1 and make it work both ways.
7175 (avl-tree--del-balance2): Remove.
7176 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7177 make it work both ways.
7178 (avl-tree--enter-balance2): Remove.
7179 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7180 New macros.
7181 (avl-tree--mapc, avl-tree-map): Add direction argument.
7182
eb95d01d 71832011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7184
7185 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7186
a9f737ee
CY
71872011-05-27 Chong Yidong <cyd@stupidchicken.com>
7188
7189 * select.el: Support clipboard managers with built-in function
7190 x-clipboard-manager-save, via delete-frame-functions and
7191 kill-emacs-hook.
7192 (xselect-convert-to-targets): Add MULTIPLE target to list.
7193 (xselect-convert-to-save-targets): New function.
7194
c92a1e54
KH
71952011-05-27 Kenichi Handa <handa@m17n.org>
7196
7197 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7198 let-binding rfc2047-encode-encoded-words to nil.
7199
e145f188
GM
72002011-05-27 Glenn Morris <rgm@gnu.org>
7201
5ec8a862
GM
7202 * mail/emacsbug.el: Don't require url-util.
7203
4b29d9fb
GM
7204 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7205
e145f188
GM
7206 * files.el (set-auto-mode):
7207 Also respect mode: entries at the end of the file. (Bug#8586)
7208
7d15102b
GM
72092011-05-26 Glenn Morris <rgm@gnu.org>
7210
98f593b8
GM
7211 * files.el (hack-local-variables-prop-line, hack-local-variables):
7212 Downcase mode names, as seems to be traditional.
27b48e63 7213 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7214
7d15102b
GM
7215 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7216 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7217
51d5b4ec
JD
72182011-05-25 Julien Danjou <julien@danjou.info>
7219
7220 * textmodes/rst.el (rst-define-level-faces): Do not define face
7221 symbol if it is already defined.
7222
91513f63
VB
72232011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7224
7225 * play/5x5.el (5x5-new-game, 5x5-randomize):
7226 Reset 5x5-solver-output to nil when a new grid is cast.
7227 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7228 these debugging traces, as defmacro breaks the compiled code.
7229
4d90d6d0
DK
72302011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7231
7232 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7233
e1b90ef6
LL
72342011-05-24 Leo Liu <sdl.web@gmail.com>
7235
7236 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7237 (vc-bzr-sha1): Adapt.
7238
d8e4b68b 7239 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7240
7241 * bindings.el: Provide sha1 feature.
7242
db0406bb 72432011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7244
7245 * mail/sendmail.el: Require `rfc2047'.
7246 (mail-insert-from-field): Do not perform RFC2047 encoding.
7247 (mail-encode-header): New function.
7248 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7249 buffer to the return value of select-message-coding-system.
7250 Call mail-encode-header.
b8d747b9
KH
7251
7252 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7253
db0406bb 72542011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7255
4d90d6d0
DK
7256 * mail/supercite.el (sc-default-cite-frame):
7257 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7258
eb8a5e9b
GM
72592011-05-24 Glenn Morris <rgm@gnu.org>
7260
f8630703
GM
7261 * progmodes/python.el (brm-menu): Declare.
7262
8831bbed
GM
7263 * emulation/viper.el (viper-set-hooks): Declare.
7264
eb8a5e9b
GM
7265 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7266 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7267 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7268 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7269 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7270 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7271
a2a25d24
SM
72722011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 Add an :exit-function for completion-at-point.
7275
7276 * minibuffer.el (completion--done): New fun.
7277 (completion--do-completion): Use it. New arg `expect-exact'.
7278 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7279 since completion--do-completion does it for us now.
7280 (minibuffer-force-complete): Use completion--done and
7281 completion--replace. Handle sole-completion case with more care.
7282 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7283 (completion-extra-properties): New var.
7284 (completion-annotate-function): Make obsolete.
7285 (minibuffer-completion-help): Adjust accordingly.
7286 Use completion-list-insert-choice-function.
7287 (completion-at-point, completion-help-at-point):
7288 Bind completion-extra-properties.
7289 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7290 * simple.el (completion-list-insert-choice-function): New var.
7291 (completion-setup-function): Preserve it.
7292 (choose-completion): Pay attention to it, shuffle the code a bit.
7293 (choose-completion-string): New arg `insert-function'.
7294
7295 * textmodes/bibtex.el: Convert to lexical binding.
7296 (bibtex-mode-map): Use completion-at-point.
7297 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7298 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7299 (bibtex-complete): Define as obsolete alias.
7300 (bibtex-complete-internal): Remove.
7301 (bibtex-format-entry): Remove unused sub-group in regexp.
7302 * shell.el (shell--command-completion-data)
7303 (shell-environment-variable-completion):
7304 * pcomplete.el (pcomplete-completions-at-point):
7305 * comint.el (comint--complete-file-name-data): Use :exit-function
7306 instead of completion-table-with-terminator so it also works for
7307 choose-completion.
7308
e44e373d
SM
73092011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7310
4f91a816
SM
7311 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7312
782fc819
SM
7313 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7314 (bug#8710).
7315
e44e373d
SM
7316 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7317
381987c3
KM
73182011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7319
7320 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7321 customization variable and implement: If non-nil, auto-fill will
7322 be inhibited while on topic's header line.
7323
b776bc70
VB
73242011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7325
7326 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7327 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7328 always have a solution in grid size = 5 cases.
7329 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7330 (5x5-solver-output, 5x5-log-buffer): New vars.
7331 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7332 Make these variables buffer local to achieve 5x5 multi-session-ness.
7333 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7334 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7335 (5x5-solve-suggest): New funs.
7336 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7337 randomize a grid so that we ensure that there is always a solution.
7338 (5x5-make-random-grid): Allow other movement than flipping.
7339
7de88b6e
KR
73402011-05-23 Kevin Ryde <user42@zip.com.au>
7341
7342 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7343 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7344 advice and passes PREDICATE.
7345
b1ef1257
SM
73462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7347
bbca48fe
SM
7348 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7349 byte-compile-lambda if it's actually a lambda.
7350
b1ef1257
SM
7351 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7352 Fix function quoting. Use backquote better.
7353
92a9cc65
YS
73542011-05-22 Yuanle Song <sylecn@gmail.com>
7355
7356 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7357 matching (Bug#8516).
7358
f0fb8059
JA
73592011-01-22 Jari Aalto <jari.aalto@cante.net>
7360
7361 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7362 different face (Bug#8178).
7363
d5b44c93
CY
73642011-05-22 Chong Yidong <cyd@stupidchicken.com>
7365
7366 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7367 defface (Bug#8144).
7368
79106a44
SM
73692011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7370
9c848d8a
SM
7371 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7372 funcall as well (bug#8712). Warn when performing those conversions.
7373 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7374
79106a44
SM
7375 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7376
88dfa756
GM
73772011-05-22 Glenn Morris <rgm@gnu.org>
7378
7379 * files.el (hack-local-variables-prop-line): Small simplifications.
7380 (hack-local-variables, hack-local-variables-prop-line):
7381 If MODE-ONLY, return the mode, rather than just `t'.
7382
b7cf2c79
SM
73832011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7386
3f1a8558
GM
73872011-05-21 Glenn Morris <rgm@gnu.org>
7388
7e4ccca3
GM
7389 * files.el (hack-local-variables-prop-line, hack-local-variables):
7390 If only interested in the mode, don't bother doing the other stuff.
7391
637d46ca
GM
7392 * image-mode.el (image-after-revert-hook):
7393 Redraw all frames on which the image is visible. (Bug#8567)
7394
973d955b
GM
7395 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7396
3f1a8558
GM
7397 * wid-edit.el (widget-checklist-match-inline):
7398 Fix 2011-04-19 change. (Bug#8649)
7399
96479927
SM
74002011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7401
1dcf791f
SM
7402 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7403 Also allow singlespace after single-letter capitals followed by a dot.
7404
96479927
SM
7405 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7406 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7407
35fd0881
N
74082011-05-20 Nix <nix@esperi.org.uk>
7409
7410 * files.el (basic-save-buffer-2):
7411 Fix handling of break-hardlink-on-save with non-existent files.
7412
82745640
DD
74132011-05-19 Deniz Dogan <deniz@dogan.se>
7414
7415 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7416 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7417
4a720484
GM
74182011-05-19 Glenn Morris <rgm@gnu.org>
7419
d1f21341
GM
7420 * progmodes/f90.el (f90-type-def-re):
7421 Handle "type, bind(c)". (Bug#8691)
7422
4a720484
GM
7423 * emacs-lisp/autoload.el (batch-update-autoloads):
7424 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7425
2fb0a219
MA
74262011-05-18 Michael Albinus <michael.albinus@gmx.de>
7427
7428 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7429 property for the correct connection in case of multihops.
7430
e565dd37
GM
74312011-05-18 Glenn Morris <rgm@gnu.org>
7432
c2571358 7433 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7434 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7435
e565dd37
GM
7436 Rationalize calendar handling of day and month abbrev-arrays.
7437 * calendar/calendar.el (calendar-customized-p): New function.
7438 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7439 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7440 Add :set function.
7441 (calendar-abbrev-length, calendar-day-abbrev-array)
7442 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7443 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7444 Elements may no longer be nil.
7445 (calendar-day-name, calendar-month-name):
7446 Update for changed nature of abbrev arrays.
7447 * calendar/diary-lib.el (diary-name-pattern):
7448 Update for changed nature of abbrev arrays.
7449 (diary-mark-entries-1): Update calendar-make-alist calls.
7450 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7451 * calendar/cal-html.el (cal-html-day-abbrev-array):
7452 Simply inherit from calendar-day-abbrev-array.
7453
1d99a745
SM
74542011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7455
7456 * progmodes/grep.el (grep-mode): Disable default
7457 compilation-directory-matcher setting (bug#8684).
7458
7c1d9aa0
MA
74592011-05-17 Michael Albinus <michael.albinus@gmx.de>
7460
7461 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7462 instead of "head" and "tail". There were problems with SunOS 5.9,
7463 and it performs better.
7464
3952e9d8
GM
74652011-05-17 Glenn Morris <rgm@gnu.org>
7466
2dd12e7f
GM
7467 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7468
e4157b9c
GM
7469 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7470 Replace obsolete function.
7471
8e249bbd
GM
7472 * shell.el (pcomplete-parse-arguments-function): Declare.
7473
3952e9d8
GM
7474 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7475 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7476 (appt-check): Doc fixes.
7477 (appt-disp-window-function, appt-delete-window-function):
7478 Remove needless special case in custom :type.
7479 (appt-display-count): Default to 0, not nil.
7480 (appt-check): Reset appt-display-count to 0, not nil.
7481
c71a0d48 74822011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7483
c71a0d48
GM
7484 * progmodes/python.el (python-font-lock-keywords):
7485 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7486
31d55be9
SM
74872011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7490
3bfacb2f
KR
74912011-05-16 Kevin Ryde <user42@zip.com.au>
7492
7493 * info-look.el (makefile-automake-mode): New setups, looking in
7494 automake manual, then makefile-mode.
7495 (makefile-mode): Remove automake manual, have it just in
7496 makefile-automake-mode since there's various things different or
7497 not relevant to plain make.
7498 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7499 believe a hypothetical automake-mode would go to makefile-mode,
7500 not the other way around.
7501
c8e83751
CY
75022011-05-15 Chong Yidong <cyd@stupidchicken.com>
7503
5e9e35cd
CY
7504 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7505 hunk-end tags (Bug#8672).
7506
c8e83751
CY
7507 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7508 vc-annotate-show-diff-revision-at-line (Bug#8671).
7509
50b23e5a
GM
75102011-05-14 Glenn Morris <rgm@gnu.org>
7511
7210a739
GM
7512 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7513 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7514 (change-log-font-lock-keywords): Also handle multiple author lines
7515 with leading tabs. (Bug#8644)
7210a739 7516
4691905a
GM
7517 * calendar/appt.el (appt-check): Rename some local variables.
7518 Some simplification/reordering.
7519
50b23e5a
GM
7520 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7521 (feedmail-sendmail-f-doesnt-sell-me-out)
7522 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7523 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7524 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7525 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7526 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7527 (feedmail-binmail-gnulinuxish-template):
7528 Rename from feedmail-binmail-linuxish-template.
7529 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7530 Use insert-buffer-substring.
7531
215cda7c
BC
75322011-05-14 Bill Carpenter <bill@carpenter.org>
7533
7534 * mail/feedmail.el (feedmail-patch-level): Increase.
7535 (feedmail-debug): New custom group.
7536 (feedmail-confirm-outgoing-timeout)
7537 (feedmail-sendmail-f-doesnt-sell-me-out)
7538 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7539 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7540 (feedmail-sender-line, feedmail-from-line)
7541 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7542 (feedmail-spray-this-address)
215cda7c
BC
7543 (feedmail-spray-address-fiddle-plex-list)
7544 (feedmail-queue-use-send-time-for-date)
7545 (feedmail-queue-use-send-time-for-message-id)
7546 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7547 (feedmail-buffer-eating-function):
7548 Doc fixes.
7549 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7550 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7551 (feedmail-message-action-scroll-down): New functions.
7552 (feedmail-queue-directory, feedmail-queue-draft-directory):
7553 Use expand-file-name.
7554 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7555 Remove C-v help entry.
7556 (feedmail-queue-buffer-file-name): New variable.
7557 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7558 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7559 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7560 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7561 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7562 (feedmail-message-action-toggle-spray)
7563 (feedmail-run-the-queue-no-prompts)
7564 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7565 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7566 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7567 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7568 (feedmail-envelope-deducer, feedmail-fiddle-from)
7569 (feedmail-fiddle-sender, feedmail-default-date-generator)
7570 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7571 (feedmail-fiddle-spray-address)
7572 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7573 (feedmail-fiddle-list-of-fiddle-plexes)
7574 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7575 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7576 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7577 Change default. Doc fix.
7578 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7579 (feedmail-binmail-linuxish-template): New constant.
7580 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7581 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7582 (feedmail-send-it): Add debug call.
7583 Use feedmail-queue-buffer-file-name, and
7584 feedmail-send-it-immediately-wrapper.
7585 (feedmail-message-action-send): Add debug call.
7586 Use feedmail-send-it-immediately-wrapper.
7587 (feedmail-queue-express-to-queue): Add debug call.
7588 Run feedmail-queue-express-hook.
7589 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7590 (feedmail-message-action-help-blat):
7591 Rename from feedmail-queue-send-edit-prompt-help-first.
7592 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7593 Check line-endings. Handle errors better.
7594 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7595 Doc fix. Add debug call.
7596 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7597 Use feedmail-queue-send-edit-prompt-inner.
7598 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7599 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7600 from feedmail-queue-send-edit-prompt.
7601 (feedmail-queue-send-edit-prompt-help)
7602 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7603 (feedmail-tidy-up-slug): Add debug call.
7604 Respect feedmail-queue-slug-suspect-regexp.
7605 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7606 (feedmail-dump-message-to-queue): Add debug call.
7607 Expand queue-directory.
7608 (feedmail-dump-message-to-queue): Change message slightly.
7609 Use feedmail-say-chatter.
7610 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7611 (feedmail-send-it-immediately-wrapper): New function.
7612 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7613 Insert empty string rather than newline. Handle full-frame case.
7614 Use catch/throw. Use feedmail-say-chatter.
7615 (feedmail-fiddle-from): Try mail-host-address.
7616 (feedmail-default-message-id-generator): Doc fix.
7617 Bind system-time-locale. Handle missing end.
7618 (feedmail-fiddle-x-mailer): Add debug call.
7619 Handle feedmail-x-mailer-line being nil.
7620 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7621 Add debug call. Use buffer-substring-no-properties.
7622 (feedmail-say-debug, feedmail-say-chatter): New functions.
7623 (feedmail-find-eoh): Give an explicit error.
7624
42c7e61e
UJ
76252011-05-13 Ulf Jasper <ulf.jasper@web.de>
7626
c2571358 7627 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7628 family from helvetica to sans.
c2571358 7629 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7630 etc/images/newsticker.
7631
c2571358 7632 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7633 family from helvetica to sans.
7634
7635 * net/newst-plainview.el (newsticker-new-item-face)
7636 (newsticker-old-item-face, newsticker-immortal-item-face)
7637 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7638 (newsticker-statistics-face): Change default family from
42c7e61e 7639 helvetica to sans.
c2571358 7640 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7641 etc/images/newsticker.
7642
7643 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7644 (newsticker--process-auto-mark-filter-match): : Tell user about
7645 auto-marking.
7646
8497a297
DV
76472011-05-13 Didier Verna <didier@xemacs.org>
7648
7649 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7650 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7651 TODO entries.
8497a297
DV
7652 (lisp-lambda-list-keyword-parameter-indentation)
7653 (lisp-lambda-list-keyword-parameter-alignment)
7654 (lisp-lambda-list-keyword-alignment): New customizable user options.
7655 (lisp-indent-defun-method): Improve docstring.
7656 (extended-loop-p): Fix comment.
7657 (lisp-indent-lambda-list-keywords-regexp): New variable.
7658 (lisp-indent-lambda-list): New function.
7659 (lisp-indent-259): Use it.
7660 (lisp-indent-defmethod): Support for more than one
7661 method qualifier and properly indent methods lambda-lists.
7662 (defgeneric): Provide a missing common-lisp-indent-function property.
7663
f278f87f
SM
76642011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7667 bounds for the empty string (bug#8667).
7668
5233edd7
GM
76692011-05-13 Glenn Morris <rgm@gnu.org>
7670
5237a44f
GM
7671 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7672
8340026c 7673 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7674 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7675
5233edd7 7676 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7677 (appt-time-msg-list): Doc fix.
a5464014 7678 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7679
92d10796
AS
76802011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7681
7682 * progmodes/ld-script.el (ld-script-keywords)
7683 (ld-script-builtins): Update keywords list.
7684
914a0ae1
SM
76852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7686
c89be45f
SM
7687 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7688
914a0ae1
SM
7689 * shell.el (shell-completion-vars): New function.
7690 (shell-mode):
7691 * simple.el (read-shell-command): Use it.
7692 (blink-matching-open): No need for " [...]" in minibuffer-message.
7693
98dc3df3
GM
76942011-05-12 Glenn Morris <rgm@gnu.org>
7695
7696 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7697 (appt-check): Simplify.
7698
d2fc7e3d 76992011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7700
4d61f28d 7701 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7702 literal "/dev/null".
7703
d2fc7e3d 77042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7705
7706 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7707 Fix typo.
7708
d2fc7e3d 77092011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7710
3f254caa
SM
7711 * progmodes/which-func.el (which-function):
7712 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7713 which might not be defined (Bug#8260).
7714
d45885f7
GM
77152011-05-12 Glenn Morris <rgm@gnu.org>
7716
7717 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7718 Let byte-compile-initial-macro-environment always take precedence.
7719
488086f4
SM
77202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * net/rcirc.el: Add support for SSL/TLS connections.
7723 (rcirc-server-alist): New field `encryption'.
7724 (rcirc): Check `encryption' settings.
7725 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7726 Merge make-local-variable into `set'.
7727 (rcirc--connection-open-p): New function.
7728 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7729 the process is not a network process (e.g. running gnutls-cli).
7730 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7731 Make rcirc-(en|de)code-coding-system local here.
7732 (rcirc-mode): Merge make-local-variable into `set'.
7733 (rcirc-parent-buffer): Make permanent buffer-local.
7734 (rcirc-multiline-minor-mode): Don't do it here.
7735 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7736 there's no server buffer.
7737
7d3b9d44
GM
77382011-05-11 Glenn Morris <rgm@gnu.org>
7739
f64049c6
GM
7740 * newcomment.el (comment-kill): Prefix "unused" local.
7741
93c9df73
GM
7742 * term/w32console.el (get-screen-color): Declare.
7743
7d3b9d44
GM
7744 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7745 Handle symbol elements of byte-compile-initial-macro-environment.
7746
9e2dd53f
LL
77472011-05-10 Leo Liu <sdl.web@gmail.com>
7748
488086f4
SM
7749 * bookmark.el (bookmark-bmenu-mode-map):
7750 Bind bookmark-bmenu-search to `/'.
8b340240 7751
9e2dd53f 7752 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7753 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7754 (Footnote-unicode): New function.
7755 (footnote-style-alist): Add unicode style to the list.
7756 (footnote-style): Doc fix.
9e2dd53f 7757
79b70037
GM
77582011-05-10 Jim Meyering <meyering@redhat.com>
7759
7760 Fix doubled-word typos.
7761 * international/quail.el (quail-insert-kbd-layout): and and -> and
7762 * kermit.el: and and -> and
7763 * net/ldap.el (ldap-search-internal): to to -> to
7764 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7765 * progmodes/js.el (js-mode): and and -> and
7766 * textmodes/artist.el (artist-move-to-xy): at at -> at
7767 (artist-draw-region-trim-line-endings): if if -> if
7768 And Safetyc -> Safety.
7769 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7770
b8f82dc1 77712011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7772 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7773
7774 * files.el (hack-one-local-variable-eval-safep):
7775 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7776
4f99f44b
GM
77772011-05-10 Glenn Morris <rgm@gnu.org>
7778
7779 * calendar/diary-lib.el (diary-list-entries-hook)
7780 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7781 (diary-nongregorian-marking-hook, diary-list-entries)
7782 (diary-include-other-diary-files, diary-mark-entries)
7783 (diary-mark-included-diary-files): Doc fixes.
7784
84f29e6b
JB
77852011-05-09 Juanma Barranquero <lekktu@gmail.com>
7786
7787 * misc.el: Require tabulated-list.el during compilation.
7788
9bedd73a
CY
77892011-05-09 Chong Yidong <cyd@stupidchicken.com>
7790
488086f4
SM
7791 * progmodes/compile.el (compilation-start):
7792 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7793 (compilation-filter-hook): Doc fix.
7794
797c735c
DD
77952011-05-09 Deniz Dogan <deniz@dogan.se>
7796
7797 * wdired.el: Remove outdated installation comment. Fix usage
7798 comment.
7799
5f4b1dfe
JB
78002011-05-09 Juanma Barranquero <lekktu@gmail.com>
7801
7802 * misc.el: Implement new command `list-dynamic-libraries'.
7803 (list-dynamic-libraries--loaded-only-p): New variable.
7804 (list-dynamic-libraries--refresh): New function.
7805 (list-dynamic-libraries): New command.
7806
4c44026c
CY
78072011-05-09 Chong Yidong <cyd@stupidchicken.com>
7808
488086f4
SM
7809 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7810 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7811 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7812 higher priority to avoid clobbering by gnu.
7813
027f966d
CY
78142011-05-08 Chong Yidong <cyd@stupidchicken.com>
7815
7816 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7817 if the face has existing theme settings (Bug#8454).
7818
085f5d7d
CY
78192011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7820
488086f4
SM
7821 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7822 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7823
2a86a00c
RS
7824 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7825 special file names `.' and `..' (Bug#8259).
7826
d9c54a06
CY
78272011-05-08 Chong Yidong <cyd@stupidchicken.com>
7828
488086f4
SM
7829 * progmodes/grep.el (grep-mode-font-lock-keywords):
7830 Remove buffer-changing entries.
d9c54a06
CY
7831 (grep-filter): New function.
7832 (grep-mode): Add it to compilation-filter-hook.
7833
7834 * progmodes/compile.el (compilation-filter-hook)
7835 (compilation-filter-start): New defvars.
7836 (compilation-filter): Call compilation-filter-hook prior to
7837 updating the process mark.
7838
c4662635
SM
78392011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7842
b0512a1d
EZ
78432011-05-07 Eli Zaretskii <eliz@gnu.org>
7844
605c9376
EZ
7845 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7846 mailclient-send-it even if window-system is nil. (Bug#8595)
7847
c4662635
SM
7848 * term/w32console.el (terminal-init-w32console):
7849 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7850 background-mode. (Bug#8597)
7851
d1dc2cc2
SM
78522011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7855 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7856 New functions.
7857 (defgeneric, eieio--defmethod): Use them.
7858 (eieio-defgeneric): Remove.
7859 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7860
915d1300
GM
78612011-05-07 Glenn Morris <rgm@gnu.org>
7862
a3961c3e
GM
7863 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7864 Use let rather than let*.
7865 (timeclock-find-discrep): Remove unused local.
7866
314347b9
GM
7867 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7868
915d1300
GM
7869 * calendar/appt.el (appt-time-msg-list): Doc fix.
7870
275b59b0
NF
78712011-05-06 Noah Friedman <friedman@splode.com>
7872
7873 * apropos.el (apropos-print-doc): Only use
7874 emacs-lisp-docstring-fill-column when it is bound to an integer,
7875 per that variable's documentation.
7876
6c19f744
SM
78772011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7880 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7881
60f884b2
GM
78822011-05-06 Glenn Morris <rgm@gnu.org>
7883
5006e634
GM
7884 * calendar/appt.el (appt-message-warning-time): Doc fix.
7885 (appt-warning-time-regexp): New option.
7886 (appt-make-list): Respect appt-message-warning-time.
7887
548d0a63
GM
7888 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7889 New options.
7890 (diary-add-to-list): Strip comments from the displayed string.
7891 (diary-mode): Set comment-start and comment-end.
7892
60f884b2
GM
7893 * vc/diff-mode.el (smerge-refine-subst): Declare.
7894 (diff-refine-hunk): Don't require smerge-mode when compiling.
7895
989681bb
JB
78962011-05-06 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * simple.el (list-processes): Return nil as the docstring says.
7899
a6bc05e1
MA
79002011-05-05 Michael Albinus <michael.albinus@gmx.de>
7901
7902 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7903 to "".
7904 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7905 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7906 determining of binary transfer. (Bug#7383)
7907
23c22e9a
MA
79082011-05-05 Michael Albinus <michael.albinus@gmx.de>
7909
c4662635
SM
7910 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7911 Fix port computation bug. (Bug#8618)
23c22e9a 7912
0bff894f
GM
79132011-05-05 Glenn Morris <rgm@gnu.org>
7914
b8296902
GM
7915 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7916
1f522ce8
GM
7917 * simple.el (shell-dynamic-complete-functions)
7918 (comint-dynamic-complete-functions): Declare.
7919
cf5bee67
GM
7920 * net/network-stream.el (gnutls-negotiate):
7921 * simple.el (tabulated-list-print): Fix declarations.
7922
7923 * progmodes/gud.el (syntax-symbol, syntax-point):
7924 Remove unnecessary and incorrect declarations.
7925
0bff894f
GM
7926 * emacs-lisp/check-declare.el (check-declare-scan):
7927 Handle byte-compile-initial-macro-environment in bytecomp.el
7928
9869b3ae
SM
79292011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 Fix earlier half-done eieio-defmethod change (bug#8338).
7932 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7933 Streamline and change calling convention.
7934 (defmethod): Adjust accordingly and simplify.
7935 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7936 new eieio--defmethod.
7937 (slot-boundp): Minor CSE simplification.
7938
9c1d5ac5
MZ
79392011-05-05 Milan Zamazal <pdm@zamazal.org>
7940
7941 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7942 (glasses-make-readable): Use glasses-separate-capital-groups.
7943
455c834e
JB
79442011-05-05 Juanma Barranquero <lekktu@gmail.com>
7945
7946 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7947 (warning-series): Doc fix.
7948 (display-warning): Don't try to create the buffer if we just found it.
7949
9ed7c8cb
CY
79502011-05-04 Chong Yidong <cyd@stupidchicken.com>
7951
7952 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7953 (autoload-find-generated-file): New function.
7954 (generate-file-autoloads): Bind generated-autoload-file to
7955 buffer-file-name.
9869b3ae
SM
7956 (update-file-autoloads, update-directory-autoloads):
7957 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7958 output file (Bug#7989).
7959 (batch-update-autoloads): Doc fix.
7960
0898ca10
JB
79612011-05-04 Juanma Barranquero <lekktu@gmail.com>
7962
7963 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7964
31dfb76c
GM
79652011-05-04 Glenn Morris <rgm@gnu.org>
7966
f330b642
GM
7967 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7968 function, so it follows changes in calendar-date-style.
7969 (diary-fancy-date-matcher): New function.
7970 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7971 (diary-fancy-font-lock-fontify-region-function):
7972 Use diary-fancy-date-pattern as a function.
7973
31dfb76c
GM
7974 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7975 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7976
48e79d6a
TZ
79772011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7978
7979 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7980 instead of positional arguments. Allow :keylist and :crlfiles
7981 arguments.
7982 (open-gnutls-stream): Call it.
7983
7984 * net/network-stream.el (network-stream-open-starttls): Adjust to
7985 call `gnutls-negotiate' with :process and :hostname arguments.
7986
dd5a5ee0
SM
79872011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7988
ef80fc09
SM
7989 * minibuffer.el (completion--message): New function.
7990 (completion--do-completion, minibuffer-complete)
7991 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7992 (completion--do-completion): Don't ignore completion-auto-help when in
7993 icomplete-mode.
7994
dd5a5ee0
SM
7995 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7996 internal encoding (e.g. tibetan zero is not whitespace).
7997 (global-whitespace-mode): Prefer save-current-buffer.
7998 (whitespace-trailing-regexp): Remove useless save-match-data.
7999 (whitespace-empty-at-bob-regexp): Minor simplification.
8000
b7d22a83
CY
80012011-05-03 Chong Yidong <cyd@stupidchicken.com>
8002
8003 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8004
5192af46
AM
80052011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8006
8007 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8008 Use `concat' to create string for insertion.
5192af46 8009
5767d190
SM
80102011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8013 Avoid open-line which runs post-self-insert-hook.
8014 (bibtex-fill-entry): Remove unused `end' var.
8015
bf242939
AM
80162011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8017
5767d190
SM
8018 * textmodes/ispell.el (ispell-add-per-file-word-list):
8019 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8020
25666126
LL
80212011-05-03 Leo Liu <sdl.web@gmail.com>
8022
8023 * isearch.el (isearch-yank-pop): New command.
5767d190 8024 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8025 (isearch-forward): Mention it.
8026
52d3c2d0
SM
80272011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8028
1bcace58
SM
8029 * simple.el (minibuffer-complete-shell-command): Remove.
8030 (minibuffer-local-shell-command-map): Use completion-at-point.
8031 (read-shell-command): Setup completion vars here instead.
8032 (read-expression-map): Bind TAB to symbol completion.
8033
52d3c2d0
SM
8034 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8035 error directly rather via storing it into `results'.
8036
35813471
LL
80372011-05-02 Leo Liu <sdl.web@gmail.com>
8038
8039 * vc/diff.el: Fix description.
8040
e793a940
LMI
80412011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8042
8043 * server.el (server-eval-at): New function.
8044
8de66e05
LMI
80452011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8046
8047 * net/network-stream.el (open-network-stream): Take a :nowait
8048 parameter and pass it on to `make-network-process'.
8049 (network-stream-open-plain): Ditto.
8050
dcb79f20
AS
80512011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8052
8053 * faces.el (face-spec-set-match-display): Don't match toolkit
8054 options on terminal frames.
8055
14a7fbd8
SM
80562011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8057
7eabc1be
SM
8058 * progmodes/pascal.el: Use lexical binding.
8059 (pascal-mode-map): Remove author preferences.
8060
14a7fbd8
SM
8061 * pcomplete.el (pcomplete-std-complete): Don't abuse
8062 completion-at-point.
8063
50f84510
JB
80642011-04-28 Juanma Barranquero <lekktu@gmail.com>
8065
6e087a44
JB
8066 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8067 removing code that has been dead since 1991 or so.
8068
50f84510
JB
8069 * startup.el (command-line): When warning about "_emacs", use a
8070 delayed warning to allow the user to filter it out.
8071
0ba690bd
DD
80722011-04-28 Deniz Dogan <deniz@dogan.se>
8073
8074 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8075 user has not joined.
8076
08abfaad
SM
80772011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8080 aren't any completions at point.
8081
638f053a
JB
80822011-04-28 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * subr.el (display-delayed-warnings): New function.
8085 (delayed-warnings-hook): New variable.
8086
8fff8daa
SM
80872011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8088
08abfaad
SM
8089 * minibuffer.el (completion-at-point, completion-help-at-point):
8090 Don't presume that a given completion-at-point-function will always
8091 use the same calling convention.
8092
8fff8daa
SM
8093 * pcomplete.el (pcomplete-completions-at-point):
8094 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8095 pcomplete-seen is non-nil.
8096 (pcomplete-comint-setup): Also recognize the new comint/shell
8097 completion functions.
8098 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8099 pcomplete-seen is non-nil.
8100
841a1577 81012011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8102
841a1577 8103 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8104 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8105 the first character in the entry. This allows for code to add its
211ec907
UJ
8106 own uid to the entry.
8107 (icalendar--convert-float-to-ical): Add export of
8108 `diary-float'-entries save for those with the optional DAY
8109 argument.
8110
2a782793
DC
81112011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8112
8113 * subr.el (shell-quote-argument): Use alternate escaping strategy
8114 when we spot a variable reference in a string.
8115
0438ce91
DC
81162011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8117
8118 * cus-start.el (all): Define customization for debug-on-event.
8119
841a1577 81202011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8121
8122 * subr.el (shell-quote-argument): Escape correctly under Windows.
8123
d090ed6c
SM
81242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8127
bfd31217
MA
81282011-04-25 Michael Albinus <michael.albinus@gmx.de>
8129
d090ed6c
SM
8130 * net/tramp.el (tramp-process-actions): Add POS argument.
8131 Delete region between POS and (pos).
bfd31217 8132
d090ed6c
SM
8133 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8134 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8135 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8136
8137 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8138 position in `tramp-process-actions' call.
8139
8140 * net/trampver.el: Update release number.
8141
e92f3bd3
SM
81422011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8143
850256b5
SM
8144 * custom.el (defcustom): Obey lexical-binding.
8145
e92f3bd3
SM
8146 Fix octave-inf completion problems reported by Alexander Klimov.
8147 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8148 Inherit from octave-mode-syntax-table.
8149 (inferior-octave-mode): Set info-lookup-mode.
8150 (inferior-octave-completion-at-point): New function.
8151 (inferior-octave-complete): Use it and completion-in-region.
8152 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8153 comint-filename-completion.
8154 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8155 symbol elements which shouldn't be word elements.
8156 (octave-font-lock-keywords, octave-beginning-of-defun)
8157 (octave-function-header-regexp): Adjust regexps accordingly.
8158 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8159
cd22b309
JB
81602011-04-25 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * net/gnutls.el (gnutls-errorp): Declare before first use.
8163
8b492194
TZ
81642011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8165
8166 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8167 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8168 default trustfile exists before going to use it. Add missing
5a5fa834 8169 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8170 Reported by Claudio Bley <claudio.bley@gmail.com>.
8171 (open-gnutls-stream): Add usage example.
8172
8173 * net/network-stream.el (network-stream-open-starttls): Give host
8174 parameter to `gnutls-negotiate'.
8175 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8176 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8177
841a1577 81782011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8179
cd22b309
JB
8180 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8181 Use correct match group (bug#8438).
05842630 8182
3ba7869c
CY
81832011-04-24 Chong Yidong <cyd@stupidchicken.com>
8184
512e3ae1
CY
8185 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8186 (package-menu--generate): New arg specifying packages to show.
8187 (package-menu-refresh, package-menu-execute, list-packages):
8188 Callers changed.
8189 (package-show-package-list): New function, replacing deleted
8190 package--list-packages (renamed because it is non-internal).
8191
8192 * finder.el (finder-list-matches): Use package-show-package-list
8193 instead of deleted package--list-packages.
8194
e92f3bd3
SM
8195 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8196 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8197 (vc-annotate-mode-map): Bind it to RET.
8198
7031be6d
UR
81992011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8200
8201 * progmodes/etags.el (next-file): Don't use set-buffer to change
8202 buffers (Bug#8478).
8203
4ef177aa
CY
82042011-04-24 Chong Yidong <cyd@stupidchicken.com>
8205
c8d173eb
CY
8206 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8207
4ef177aa
CY
8208 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8209 (apropos-accumulator): Doc fix.
8210 (apropos-function, apropos-macro, apropos-command)
8211 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8212 (apropos-plist): Add face property.
8213 (apropos-symbols-internal): Fix indentation.
8214 (apropos-print): Simplify help, and recognize apropos-multi-type.
8215 (apropos-print-doc): Use button-type-get to extract the button's
8216 face property. Fill docstring (Bug#8352).
8217
4ffd0d6b 82182011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8219
8220 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8221
c6c32125 8222 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8223 (mpuz-mode-map): Use mapc.
c6c32125
JB
8224 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8225 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8226 Fix typos in docstrings.
8227
58d468b4
JB
8228 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8229 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8230
6470c3c6
JB
8231 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8232
4ffd0d6b 82332011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8234
8235 * minibuffer.el (completion--do-completion): Avoid the "Next char
8236 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8237
3ad8bad0
CY
8238 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8239 mouse-2 into unread-command-events, it is interpreted correctly.
8240
71d73c9c 8241 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8242 (image-toggle-display): Doc fix.
71d73c9c 8243
841a1577 82442011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8245
4ffd0d6b
GM
8246 * textmodes/page.el (what-page): Use line-number-at-pos to
8247 calculate line number (Bug#6825).
6e1dbaa9 8248
c2fb1b60
JB
82492011-04-22 Juanma Barranquero <lekktu@gmail.com>
8250
8251 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8252 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8253 Pass argument NO-DEFAULT to `find-tag-interactive'.
8254
e02f48d7
JB
82552011-04-22 Juanma Barranquero <lekktu@gmail.com>
8256
8257 Lexical-binding cleanup.
8258
8259 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8260 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8261 * progmodes/ada-prj.el (ada-prj-initialize-values)
8262 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8263 (ada-prj-show-value):
8264 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8265 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8266 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8267 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8268 * progmodes/bug-reference.el (bug-reference-push-button):
8269 * progmodes/fortran.el (fortran-line-length):
8270 * progmodes/glasses.el (glasses-change):
8271 * progmodes/octave-mod.el (octave-fill-paragraph):
8272 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8273 (python-pdbtrack-grub-for-buffer, python-sentinel):
8274 * progmodes/sql.el (sql-save-connection):
8275 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8276 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8277 Mark unused parameters.
8278
8279 * progmodes/compile.el (compilation--flush-directory-cache)
8280 (compilation--flush-parse, compile-internal): Mark unused parameters.
8281 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8282 (compilation-next-error-function): Remove unused variable `timestamp'.
8283
8284 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8285 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8286
8287 * progmodes/dcl-mode.el (dcl-end-of-command):
8288 Remove unused variable `start'.
8289 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8290 (dcl-option-value-basic, dcl-option-value-offset)
8291 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8292 Mark unused parameters.
8293 (dcl-save-local-variable): Remove unused variable `val'.
8294 (mode): Declare.
8295
8296 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8297 Mark unused parameters.
8298 (delphi-ignore-changes): Move before first use.
8299 (delphi-charset-token-at): Remove unused variable `start'.
8300 (delphi-else-start): Remove unused variable `if-count'.
8301 (delphi-comment-block-start, delphi-comment-block-end):
8302 Remove unused variable `kind'.
8303 (delphi-indent-line): Remove unused variable `new-point'.
8304
8305 * progmodes/ebrowse.el (ebrowse-files-list)
8306 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8307 Mark unused parameters. Don't quote `lambda'.
8308 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8309 Don't quote `lambda'.
8310 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8311 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8312 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8313 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8314 Use `ignore-errors'.
8315 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8316 (ebrowse-view/find-file-and-search-pattern)
8317 (ebrowse-view/find-member-declaration/definition):
8318 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8319 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8320 Rename parameter PREFIX-ARG to PREFIX.
8321 (ebrowse-tags-read-name): Remove unused variables `start' and
8322 `member-info'.
8323 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8324 to `tags-file'.
8325
8326 * progmodes/etags.el (local-find-tag-hook): Declare.
8327 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8328 Mark unused parameters.
8329
8330 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8331 (executable-interpret): Mark unused parameter.
8332
8333 * progmodes/flymake.el (flymake-process-sentinel)
8334 (flymake-after-change-function)
8335 (flymake-create-temp-with-folder-structure)
8336 (flymake-get-include-dirs-dot): Mark unused parameters.
8337 (flymake-safe-delete-directory): Remove unused variable `err'.
8338
8339 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8340 (speedbar-timer-fn, speedbar-line-text)
8341 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8342 (speedbar-center-buffer-smartly): Declare functions.
8343 (gdb-find-watch-expression): Remove unused variable `array'.
8344 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8345 (gdb-starting): Mark unused parameters.
8346 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8347 (gdb-table-string): Remove unused variable `res'.
8348 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8349 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8350 (gdb-display-buffer): Remove unused variable `cur-size'.
8351
8352 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8353 allow lexical-binding compilation.
8354 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8355 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8356 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8357 Mark unused parameters.
8358 (gud-gdb-marker-filter): Remove unused variable `match'.
8359 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8360 lambda expressions and funcall them, instead of using `fset'.
8361
8362 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8363 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8364
8365 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8366 variable `header-beg'; use `let'.
8367
8368 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8369 `restart', `last-sexp' and `at-do'.
8370
8371 * progmodes/js.el (js--debug): Mark unused parameter.
8372 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8373 (js--splice-into-items): Remove unused variable `item'.
8374 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8375
8376 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8377 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8378 (makefile-complete): Remove unused variable `try'.
8379 (makefile-fill-paragraph, makefile-match-function-end):
8380 Mark unused parameters.
8381
8382 * progmodes/octave-inf.el (inferior-octave-complete):
8383 Remove unused variable `proc'.
8384 (inferior-octave-output-digest): Mark unused parameter.
8385
8386 * progmodes/perl-mode.el (perl-calculate-indent):
8387 Remove unused variable `err'.
8388
8389 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8390 (prolog-indent-line): Mark unused parameters.
8391 (prolog-indent-line): Remove unused variable `beg'.
8392
8393 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8394 (reporter-dont-compact-list): Declare.
8395
8396 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8397 Remove unused variable `char'.
8398 (sh-debug): Mark unused parameter.
8399 (sh-get-indent-info): Remove unused variable `start'.
8400 (sh-calculate-indent): Remove unused variable `var'.
8401
8402 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8403 (simula-electric-keyword): Remove unused variable `null'.
8404 (simula-search-backward, simula-search-forward): Remove unused
8405 variables `begin' and `end'.
8406
8407 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8408 Remove unused variable `pos'.
8409 (vera-electric-tab, vera-comment-uncomment-region):
8410 Mark unused parameters.
8411 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8412
7ede3b65
CY
84132011-04-22 Chong Yidong <cyd@stupidchicken.com>
8414
8415 * emacs-lisp/package.el (package--builtins, package-alist)
8416 (package-load-descriptor, package-built-in-p, package-activate)
8417 (define-package, package-installed-p)
8418 (package-compute-transaction, package-buffer-info)
8419 (package--push): Doc fix. Distinguish more clearly between
8420 version strings and version lists.
8421
121656e9
JB
84222011-04-21 Juanma Barranquero <lekktu@gmail.com>
8423
8424 Lexical-binding cleanup.
8425
8426 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8427 (5x5-make-mutate-best):
8428 * play/fortune.el (fortune-in-buffer):
8429 * play/gomoku.el (gomoku-init-display):
8430 * play/solitaire.el (solitaire, solitaire-do-check):
8431 * play/tetris.el (tetris-default-update-speed-function):
8432 Mark unused parameters.
8433
8434 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8435 (bubbles--shift): Remove unused variable `char-org'.
8436 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8437 (bubbles--show-images): Remove unused variable `char'.
8438
8439 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8440 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8441 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8442 (decipher-analyze-buffer): Use ?\s.
8443 (decipher-make-checkpoint): Remove unused variable `mapping'.
8444
8445 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8446
8447 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8448 Remove unused variable `result'; use `let'.
8449
8450 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8451 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8452 (gametree-children-shown-p, gametree-compute-reduced-score):
8453 Use `ignore-errors'.
8454
8455 * play/handwrite.el (ps-lpr-switches): Declare.
8456 (handwrite): Remove unused variables `pmin' and `lastp'.
8457
8458 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8459
8460 * play/landmark.el (landmark-init-display)
8461 (landmark-update-naught-weights): Mark unused parameters.
8462 (landmark-y): Remove unused variable `noise'. Simplify.
8463 (landmark-human-plays): Remove unused variable `score'.
8464
8465 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8466 (mpuz-try-proposal): Remove unused variable `game'.
8467
8468 * play/zone.el (life-patterns): Declare.
8469
80f499c7
JB
84702011-04-20 Juanma Barranquero <lekktu@gmail.com>
8471
8472 * vc/vc.el (ediff-vc-internal): Declare function.
8473
024ff170
SM
84742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8475
c0a193ea
SM
8476 * shell.el: Use lexical-binding and std completion UI.
8477 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8478 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8479 comint-preoutput-filter-functions rather than on
8480 comint-output-filter-functions.
8481 (shell-command-completion, shell--command-completion-data)
8482 (shell-filename-completion, shell-environment-variable-completion)
8483 (shell-c-a-p-replace-by-expanded-directory): New functions.
8484 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8485 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8486 (shell-dynamic-complete-environment-variable): Use them.
8487 (shell-dynamic-complete-as-environment-variable)
8488 (shell-dynamic-complete-as-command): Remove.
8489 (shell-match-partial-variable): Match past point.
8490 * comint.el: Clean up use of completion-at-point-functions.
8491 (comint-completion-at-point): New function.
8492 (comint-mode): Use it completion-at-point-functions.
8493 (comint-dynamic-complete): Make it obsolete.
8494 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8495 (comint-c-a-p-replace-by-expanded-history): New function.
8496 (comint-dynamic-complete-functions)
8497 (comint-replace-by-expanded-history): Use it.
8498 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8499 termination strings. Try harder to avoid second try-completion.
8500 (completion-in-region-mode-map): Disable bindings that don't work yet.
8501
2dbaa080
SM
8502 * comint.el: Use lexical-binding. Require CL.
8503 (comint-dynamic-complete-functions): Use comint-filename-completion.
8504 (comint-completion-addsuffix): Tweak custom type.
8505 (comint-filename-completion, comint--common-suffix)
8506 (comint--common-quoted-suffix, comint--table-subvert)
8507 (comint--complete-file-name-data): New functions.
8508 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8509 (comint-dynamic-list-filename-completions): Use them.
8510 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8511
2dbaa080
SM
8512 * minibuffer.el (completion-in-region-mode):
8513 Keep completion-in-region-mode--predicate global.
8514 (completion-in-region--postch):
8515 Assume completion-in-region-mode--predicate is not null.
8516
c79a6f38
SM
8517 * progmodes/flymake.el (flymake-start-syntax-check-process):
8518 Obey `dir'. Simplify.
8519
024ff170
SM
8520 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8521 we're in VC after all.
8522
1c6c854e
CS
85232011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8524
8525 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8526 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8527 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8528
bed7f140
SM
85292011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8530
332e62ab
SM
8531 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8532 add sanity check.
8533
bed7f140
SM
8534 * obsolete/erc-hecomplete.el: Make obsolete.
8535 * obsolete/: Standardize obsolescence info in the header.
8536
f195c582
GM
85372011-04-20 Glenn Morris <rgm@gnu.org>
8538
8539 * calendar/solar.el (solar-horizontal-coordinates):
8540 Use the longitude argument rather than `calendar-longitude'.
8541 (solar-date-next-longitude): Remove unused locals.
8542
cb79b8c0
VJL
85432011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8544
8545 * whitespace.el: New version 13.2.1.
8546
85472011-04-20 felix <EmacsWiki> (tiny change)
8548
d8e4b68b 8549 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8550 switching between major modes on a file.
8551
602ea69d
SM
85522011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8555 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8556 multi-line comments as well.
8557
06b60517
JB
85582011-04-19 Juanma Barranquero <lekktu@gmail.com>
8559
8560 Lexical-binding cleanup.
8561
8562 * arc-mode.el (archive-mode-revert):
8563 * cmuscheme.el (scheme-interactively-start-process):
8564 * custom.el (custom-initialize-delay):
8565 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8566 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8567 * emacs-lock.el (emacs-lock-clear-sentinel):
8568 * ezimage.el (defezimage):
8569 * follow.el (follow-avoid-tail-recenter):
8570 * fringe.el (set-fringe-mode-1):
8571 * generic-x.el (bat-generic-mode-compile):
8572 * help-mode.el (help-info-variable, help-do-xref)
8573 (help-mode-revert-buffer):
8574 * help.el (view-emacs-todo):
8575 * iswitchb.el (iswitchb-completion-help):
8576 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8577 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8578 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8579 * locate.el (locate-update):
8580 * longlines.el (longlines-encode-region)
8581 (longlines-after-change-function):
8582 * outline.el (outline-isearch-open-invisible):
8583 * ps-def.el (declare-function, charset-dimension, char-width)
8584 (encode-char):
8585 * ps-mule.el (ps-mule-plot-string):
8586 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8587 (recentf-edit-list-select, recentf-edit-list-validate)
8588 (recentf-open-files-action):
8589 * rect.el (delete-whitespace-rectangle-line)
8590 (rectangle-number-line-callback):
8591 * register.el (window-configuration-to-register)
8592 (frame-configuration-to-register):
8593 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8594 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8595 (xselect-convert-to-targets, xselect-convert-to-delete)
8596 (xselect-convert-to-filename, xselect-convert-to-charpos)
8597 (xselect-convert-to-lineno, xselect-convert-to-colno)
8598 (xselect-convert-to-os, xselect-convert-to-host)
8599 (xselect-convert-to-user, xselect-convert-to-class)
8600 (xselect-convert-to-name, xselect-convert-to-integer)
8601 (xselect-convert-to-atom, xselect-convert-to-identity):
8602 * subr.el (declare, ignore, process-kill-without-query)
8603 (text-clone-maintain):
8604 * terminal.el (te-get-char, te-tic-sentinel):
8605 * tool-bar.el (tool-bar-make-keymap):
8606 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8607 * type-break.el (type-break-mode, type-break-noninteractive-query):
8608 * view.el (View-back-to-mark):
8609 * wid-browse.el (widget-browse-action, widget-browse-widget)
8610 (widget-browse-widgets, widget-browse-sexp):
8611 * widget.el (define-widget-keywords):
8612 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8613 Mark unused parameters.
8614
8615 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8616 (align-areas): Remove unused variable `look'.
8617 (align-region): Remove unused variables `real-end' and `pos-list'.
8618
8619 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8620
8621 * bindings.el (mode-line-modified, mode-line-remote):
8622 Mark unused parameters.
8623 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8624
8625 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8626 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8627
8628 * comint.el (comint-history-isearch-pop-state)
8629 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8630 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8631 (comint-substitute-in-file-name): Doc fix.
8632
8633 * completion.el (cmpl-statistics-block): Mark unused parameter.
8634 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8635 (save-completions-to-file, load-completions-from-file):
8636 Remove unused local variable `e'.
8637
8638 * composite.el (compose-chars): Remove unused variable `len'.
8639 (lgstring-insert-glyph): Remove unused variable `g'.
8640 (compose-glyph-string): Remove unused variables `ascent',
8641 `descent', `lbearing' and `rbearing'.
8642 (compose-glyph-string-relative): Remove unused variables
8643 `lbearing', `rbearing' and `wadjust'.
8644 (compose-gstring-for-graphic): Remove unused variables `header',
8645 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8646 (compose-gstring-for-terminal): Remove unused variables `header'
8647 and `nchars'. Use `let', not `let*'.
8648
8649 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8650 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8651 (Custom-buffer-done, custom-buffer-create-internal)
8652 (custom-browse-visibility-action, custom-browse-group-tag-action)
8653 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8654 (widget-magic-mouse-down-action, custom-toggle-parent)
8655 (custom-add-parent-links, custom-toggle-hide-variable)
8656 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8657 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8658 (custom-face-menu-create, custom-variable-menu-create, get)
8659 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8660 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8661 (customize-apropos): Remove unused variable `tests'.
8662 (custom-group-value-create): Remove unused variable `hidden-p'.
8663 (sort-fold-case): Declare.
8664
8665 * cus-theme.el (custom-reset-standard-faces-list)
8666 (custom-reset-standard-variables-list): Declare.
8667 (customize-create-theme, custom-theme-revert, custom-theme-write)
8668 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8669 Mark unused parameters.
8670
8671 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8672
8673 * delim-col.el (delimit-columns-max): Move defvar before first use.
8674
8675 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8676 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8677
8678 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8679 (auto-insert): Declare.
8680 (desktop-restore-file-buffer): Rename desktop-* parameters;
8681 mark unused ones.
8682 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8683 (desktop-buffer): Rename desktop-* parameters.
8684
8685 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8686 (dframe-reposition-frame-xemacs, dframe-help-echo)
8687 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8688 Mark unused parameters.
8689
8690 * dired-aux.el (backup-extract-version-start, overwrite-query)
8691 (overwrite-backup-query, rename-regexp-query)
8692 (rename-non-directory-query): Declare.
8693 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8694 (dired-add-entry): Remove unused variable `orig-file-name'.
8695 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8696 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8697 `dired-copy-preserve-time' directly.
8698 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8699 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8700
8701 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8702 (dired-virtual-revert, dired-make-relative-symlink):
8703 Mark unused parameters.
8704 (manual-program): Declare.
8705 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8706 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8707 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8708
8709 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8710
8711 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8712
8713 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8714 Declare.
8715
8716 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8717
8718 * electric.el (Electric-command-loop): Rename parameter
8719 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8720
8721 * expand.el (expand-in-literal): Remove unused variable `here'.
8722
8723 * facemenu.el (facemenu-add-new-color):
8724 Remove unused variable `docstring'.
8725
8726 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8727 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8728 (face-attr-construct): Mark unused parameter. Doc fix.
8729 (read-color): Remove unused variable `hex-string'.
8730
8731 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8732 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8733 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8734 (display-buffer-other-frame): Remove unused variable `old-window'.
8735 (kill-buffer-hook): Declare.
8736 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8737 Mark unused parameters.
8738 (after-find-file): Pass 1 to `auto-save-mode', not t.
8739
8740 * files-x.el (auto-insert): Declare.
8741 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8742
8743 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8744 variable `buf'. Mark unused parameter.
06b60517
JB
8745 (find-lisp-insert-directory): Mark unused parameter.
8746
8747 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8748 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8749 (format-common-tail): Remove, unused.
8750 (format-deannotate-region): Remove unused variable `loc'.
8751 (format-annotate-region): Remove unused variable `p'.
8752 (format-annotate-single-property-change): Remove unused variables
8753 `default' and `tail'.
8754
8755 * forms.el (read-file-filter): Declare.
8756 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8757
8758 * frame.el (frame-creation-function-alist): Mark unused parameter.
8759 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8760
8761 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8762 Remove unused parameters.
8763 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8764 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8765
8766 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8767 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8768 (hfy-prepare-tag-map): Mark unused parameters.
8769 (htmlfontify-buffer): Use `called-interactively-p'.
8770
8771 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8772 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8773 (ibuffer-do-occur): Mark unused parameters.
8774 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8775 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8776
8777 * ibuffer.el: Don't quote `lambda'.
8778 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8779 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8780 Mark unused parameters.
8781
8782 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8783 (ido-completing-read): Mark unused parameters.
8784 (ido-copy-current-word): Mark unused parameters;
8785 remove unused variable `name'.
8786 (ido-sort-merged-list): Remove unused parameter `dirs'.
8787
8788 * ielm.el (ielm-input-sender): Mark unused parameter.
8789 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8790 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8791 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8792 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8793 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8794
8795 * image-dired.el (image-dired-display-thumbs): Remove unused
8796 variables `curr-file' and `count'.
8797 (image-dired-remove-tag): Remove unused variable `start'.
8798 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8799 variable `curr-file'
8800 (image-dired-rotate-original): Remove unused variable `temp-file'.
8801 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8802 Remove unused variable `file'.
8803 (image-dired-gallery-generate): Remove unused variable `curr'.
8804 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8805
8806 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8807
8808 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8809
8810 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8811
8812 * isearch.el (minibuffer-history-symbol): Declare.
8813 (isearch-edit-string): Remove unused variable `err'.
8814 (isearch-message-prefix, isearch-message-suffix):
8815 Mark unused parameters.
8816
8817 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8818
8819 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8820
8821 * makesum.el (double-column): Remove unused variable `cnt'.
8822
8823 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8824 (ido-ignore-item-temp-list): Declare.
8825
8826 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8827 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8828 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8829 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8830 `mouse-col-delta'.
8831
8832 * mouse-sel.el (mouse-extend-internal):
8833 Remove unused variable `orig-window-frame'.
8834
8835 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8836 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8837 Move declarations before first use.
8838 (pcomplete-opt): Mark unused parameters; doc fix.
8839
8840 * proced.el (proced-revert): Mark unused parameter.
8841 (proced-send-signal): Remove unused variable `err'.
8842
8843 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8844 Rename parameter PREFIX-ARG to ARG.
8845 (ps-basic-plot-string, ps-basic-plot-whitespace):
8846 Mark unused parameters.
8847
8848 * replace.el (replace-count): Define.
8849 (occur-revert-function): Mark unused parameters.
8850 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8851 (isearch-case-fold-search, isearch-string): Declare.
8852 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8853 bind `case-fold-search'. Remove unused variables `beg' and `end',
8854 and simplify.
8855 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8856 COUNT and bind `replace-count'.
8857 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8858 to COUNT.
8859
8860 * savehist.el (print-readably, print-string-length): Declare.
8861
8862 * shadowfile.el (shadow-expand-cluster-in-file-name):
8863 Remove unused variable `cluster'.
8864 (shadow-copy-file): Remove unused variable `i'.
8865 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8866 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8867 (shadow-define-literal-group, shadow-define-regexp-group)
8868 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8869
8870 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8871 (shell): Use `called-interactively-p'.
8872 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8873
8874 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8875 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8876 (delete-backward-char): Remove unused variable `ocol'.
8877 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8878 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8879 (event-apply-hyper-modifier, event-apply-shift-modifier)
8880 (event-apply-control-modifier, event-apply-meta-modifier):
8881 Mark unused parameters.
8882 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8883 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8884
8885 * speedbar.el (speedbar-ignored-directory-expressions)
8886 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8887 (speedbar-find-file, speedbar-dir-follow)
8888 (speedbar-directory-buttons-follow, speedbar-tag-find)
8889 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8890 (speedbar-buffers-line-directory, speedbar-buffer-click):
8891 Mark unused parameters.
8892 (speedbar-tag-file): Remove unused variable `mode'.
8893 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8894
8895 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8896
8897 * talk.el (talk): Remove unused variable `display'.
8898
8899 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8900 (tar-write-region-annotate): Mark unused parameter.
8901
8902 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8903 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8904 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8905 warning by another.
8906
8907 * time-stamp.el (time-stamp-string-preprocess):
8908 Remove unused variable `require-padding'.
8909
8910 * tree-widget.el (widget-glyph-enable): Declare.
8911 (tree-widget-action): Mark unused parameter.
8912
8913 * w32-fns.el (x-get-selection): Mark unused parameter.
8914 (autoload-make-program, generated-autoload-file): Declare.
8915
8916 * wdired.el (wdired-revert): Mark unused parameters.
8917 (wdired-xcase-word): Remove unused variable `err'.
8918
8919 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8920 (whitespace-help-scroll): Remove unused variable `data-help'.
8921
8922 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8923 (widget-image-insert, widget-after-change, default)
8924 (widget-default-format-handler, widget-default-notify)
8925 (widget-default-prompt-value, widget-info-link-action)
8926 (widget-url-link-action, widget-function-link-action)
8927 (widget-variable-link-action, widget-file-link-action)
8928 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8929 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8930 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8931 (widget-insert-button-action, widget-delete-button-action, visibility)
8932 (widget-documentation-link-action, widget-documentation-string-action)
8933 (widget-const-prompt-value, widget-regexp-match, symbol)
8934 (widget-coding-system-prompt-value)
8935 (widget-key-sequence-value-to-external, sexp)
8936 (widget-sexp-value-to-internal, character, vector, cons)
8937 (widget-choice-prompt-value, widget-boolean-prompt-value)
8938 (widget-color--choose-action): Mark unused parameters.
8939 (widget-item-match-inline, widget-choice-match-inline)
8940 (widget-checklist-match, widget-checklist-match-inline)
8941 (widget-group-match): Rename parameter VALUES to VALS.
8942 (widget-field-value-set): Remove unused variable `size'.
8943 (widget-color-action): Remove unused variables `value' and `start'.
8944
8945 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8946 variable `dir'. Doc fix.
06b60517
JB
8947 (windmove-find-other-window): Don't pass it.
8948
8949 * window.el (count-windows): Mark unused parameter.
8950 (bw-adjust-window): Remove unused variable `err'.
8951
8952 * woman.el (woman-file-name): Remove unused variable `default'.
8953 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8954 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8955 (global-font-lock-mode): Declare.
8956 (woman-decode-region): Mark unused parameter.
8957 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8958
8959 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8960 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8961 (x-dnd-handle-moz-url): Remove unused variable `title'.
8962 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8963
8964 * xml.el (xml-parse-tag, xml-parse-attlist):
8965 Remove unused variable `pos'.
8966
bc4f7f3d
GM
89672011-04-19 Glenn Morris <rgm@gnu.org>
8968
8969 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8970 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8971 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8972 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8973 * calendar/cal-html.el (cal-html-insert-minical):
8974 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8975 (calendar-mark-date-pattern):
8976 Prefix "unused" locals.
8977
8978 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8979 optional argument `style'.
8980
8981 * calendar/appt.el (appt-make-list):
8982 * calendar/cal-china.el (calendar-chinese-date-string):
8983 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8984 (diary-hebrew-yahrzeit):
8985 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8986 * calendar/calendar.el (calendar-generate-window):
8987 * calendar/time-date.el (time-to-days):
8988 Remove unused local variables.
8989
16a43933
CY
89902011-04-18 Chong Yidong <cyd@stupidchicken.com>
8991
8992 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8993 glyphless-char-display table.
8994 (tabulated-list-glyphless-char-display): New var.
8995
7eed1860
SS
89962011-04-18 Sam Steingold <sds@gnu.org>
8997
8998 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8999 to acknowledgments.
9000
4d2d1ccd
GM
90012011-04-17 Glenn Morris <rgm@gnu.org>
9002
9003 * calendar/diary-lib.el (diary-sexp-entry):
9004 * calendar/holidays.el (holiday-sexp):
9005 Set debug-on-error rather than the removed stack-trace-on-error.
9006
239da61d
GM
90072011-04-16 Glenn Morris <rgm@gnu.org>
9008
9009 * progmodes/f90.el: Use lexical-binding.
9010 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9011
8b05752a
SM
90122011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9013
daca8ba5
SM
9014 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9015 (mail-mode): Setup mailalias completion here instead.
9016 * mail/mailalias.el: Use lexical-binding.
9017 (pattern, mailalias-done): Declare dynamic.
9018 (mail-completion-at-point-function): New function, from mail-complete.
9019 (mail-complete): Use it.
9020 (mail-completion-expand): New function.
9021 (mail-get-names): Use it.
9022 (mail-directory, mail-directory-process, mail-directory-stream):
9023 Don't use `pattern' for lexically bound arg.
9024
6f542485
SM
9025 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9026
037e7c3f
SM
9027 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9028 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9029 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9030
8b05752a
SM
9031 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9032 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9033 (byte-interactive-p): Define them again, for use when inlining
9034 old code.
9035
49093f60
JB
90362011-04-15 Juanma Barranquero <lekktu@gmail.com>
9037
9038 * loadup.el: Use `string-to-number', not `string-to-int'.
9039
b5b8e7de
SM
90402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9043 gud-gdb-complete-command.
9044 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9045 (gud-gdb-completion-at-point): New function.
9046 (gud-gdb-completions): Remove.
9047
f42efeb5
MA
90482011-04-14 Michael Albinus <michael.albinus@gmx.de>
9049
49093f60
JB
9050 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9051 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9052 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9053 whether `executable-find' is bound.
f42efeb5
MA
9054
9055 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9056
e240cc21
SM
90572011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * minibuffer.el (completion-in-region-mode-predicate)
9060 (completion-in-region-mode--predicate): New vars.
9061 (completion-in-region, completion-in-region--postch)
9062 (completion-in-region-mode): Use them.
9063 (completion--capf-wrapper): Also return the hook function.
9064 (completion-at-point, completion-help-at-point):
9065 Adjust and provide a predicate.
c2bd2ab0
SM
9066
9067 Preserve arg names for advice of subr and lexical functions (bug#8457).
9068 * help-fns.el (help-function-arglist): Consolidate the subr and
9069 new-byte-code cases. Add argument `preserve-names' to extract names
9070 from the docstring when needed.
9071 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9072 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9073 (ad-arglist): Use help-function-arglist's new arg.
9074 (ad-definition-type): Use cond.
9075
c183f693
JB
90762011-04-13 Juanma Barranquero <lekktu@gmail.com>
9077
06641a47
JB
9078 * autorevert.el (auto-revert-handler):
9079 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9080 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9081 Don't quote lambda.
9082
c183f693
JB
9083 * image-mode.el (image-transform-set-scale):
9084 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9085
1e3b6001
G
90862011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9087
9088 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9089 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9090 Upgrades via gnutls-cli are too slow to be done opportunistically.
9091
2d6af8dd
JB
90922011-04-12 Juanma Barranquero <lekktu@gmail.com>
9093
9094 * dframe.el (dframe-current-frame): Remove spurious quote.
9095
c0749a51
GM
90962011-04-12 Glenn Morris <rgm@gnu.org>
9097
088d0d61
GM
9098 * calendar/cal-tex.el (cal-tex-end-document):
9099 Try to automatically use latin1 input if needed.
9100
c0749a51
GM
9101 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9102 Don't try to cons a mark onto an empty element.
9103
5c90fde0
LL
91042011-04-11 Leo Liu <sdl.web@gmail.com>
9105
9106 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9107 buffers.
9108 (ido-kill-buffer-at-head): Support killing virtual buffers.
9109
369e974d
CY
91102011-04-10 Chong Yidong <cyd@stupidchicken.com>
9111
9112 * minibuffer.el (completion-show-inline-help): New var.
9113 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9114 (minibuffer-force-complete, minibuffer-complete-word):
9115 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9116
9117 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9118 to avoid interference from inline help (Bug#5849).
9119
37f1c930
LL
91202011-04-10 Leo Liu <sdl.web@gmail.com>
9121
099c39a4
JB
9122 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9123 Fix typo.
37f1c930 9124
a32d4040
CY
91252011-04-09 Chong Yidong <cyd@stupidchicken.com>
9126
9127 * image-mode.el (image-toggle-display-image): Signal an error if
9128 not in Image mode.
9129 (image-transform-mode, image-transform-resize)
9130 (image-transform-set-rotation): Doc fix.
daca8ba5 9131 (image-transform-set-resize): Delete.
a32d4040
CY
9132 (image-transform-set-scale, image-transform-fit-to-height)
9133 (image-transform-fit-to-width): Handle image-toggle-display-image
9134 and image-transform-resize directly.
9135
099c39a4 91362011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9137
9138 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9139 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9140 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9141 (doc-view-mode-map): Add bindings for the new functions.
9142
099c39a4 91432011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9144
4d61f28d 9145 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9146 Fix typo in docstring.
9147
3726838a
EZ
91482011-04-08 Eli Zaretskii <eliz@gnu.org>
9149
04f33f1e
EZ
9150 * files.el (file-size-human-readable): Produce one digit after
9151 decimal, like "ls -lh" does.
9152
9153 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9154 the file size representation.
9155
3726838a
EZ
9156 * simple.el (list-processes): If async subprocesses are not
9157 available, error out with a clear error message.
9158
cbb59342
CY
91592011-04-08 Chong Yidong <cyd@stupidchicken.com>
9160
9161 * help.el (help-form-show): New function, to be called from C.
9162 Put help-form output in a buffer named differently than *Help*.
9163
e3971c44
EZ
91642011-04-08 Eli Zaretskii <eliz@gnu.org>
9165
9166 * files.el (file-size-human-readable): New function.
9167
9168 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9169 computing the representation inline. Don't require `cl'.
9170
12544bbe
GM
91712011-04-08 Glenn Morris <rgm@gnu.org>
9172
a1de6c6a
GM
9173 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9174
3c4671f4
GM
9175 * net/browse-url.el (browse-url-firefox):
9176 Test system-type, not system-configuration.
9177
b605679c
GM
9178 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9179 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9180 Use log-edit-empty-buffer-p. (Bug#7598)
9181
56442f0c
GM
9182 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9183 (rlogin-mode-map): Initialize in the defvar.
9184 (rlogin): Use ignore-errors.
9185
12544bbe
GM
9186 * replace.el (occur-mode-map): Some fixes for menu items.
9187
eb237b0f
AH
91882011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9189
9190 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9191
7d668f2c
CY
91922011-04-06 Chong Yidong <cyd@stupidchicken.com>
9193
e67a13ab
CY
9194 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9195 issuing unused warnings.
9196
9197 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9198 macro directly.
9199
7d668f2c
CY
9200 * simple.el: Lisp reimplement of list-processes. Based on an
9201 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9202 (process-menu-mode): New major mode.
9203 (list-processes--refresh, list-processes):
9204 (process-menu-visit-buffer): New functions.
9205
9206 * files.el (save-buffers-kill-emacs): Don't assume any return
9207 value of list-processes, which is undocumented anyway.
9208
a83ec3c9
CY
92092011-04-06 Chong Yidong <cyd@stupidchicken.com>
9210
9211 * emacs-lisp/tabulated-list.el: New file.
9212
e91a96fe
CY
9213 * emacs-lisp/package.el: Use Tabulated List mode.
9214 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9215 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9216 table format using Tabulated List mode variables.
9217 (package--push): New macro, replacing package-list-maybe-add.
9218 (package-menu--generate): Use package--push. Renamed from
9219 package--generate-package-list.
9220 (package-menu-refresh, list-packages): Use it.
daca8ba5 9221 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9222 Return insertion data instead of inserting it directly.
099c39a4
JB
9223 (package-menu-describe-package, package-menu-execute):
9224 Use tabulated-list-get-id.
e91a96fe
CY
9225 (package-menu-mark-delete, package-menu-mark-install)
9226 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9227 (package-menu-mark-obsolete-for-deletion):
9228 Use tabulated-list-put-tag.
e91a96fe
CY
9229 (package--list-packages, package-menu-revert)
9230 (package-menu-get-package, package-menu-get-version)
9231 (package-menu-sort-by-column): Functions deleted.
9232 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9233 (package-menu--status-predicate, package-menu--version-predicate)
9234 (package-menu--name-predicate)
9235 (package-menu--description-predicate): Handle arguments in the
9236 Tabulated List format.
9237 (package-list-packages-no-fetch): Call list-packages.
9238
3e214b50
JB
92392011-04-06 Juanma Barranquero <lekktu@gmail.com>
9240
9241 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9242 (after-find-file): Don't bind it.
3e214b50
JB
9243 (revert-buffer-in-progress-p): New variable.
9244 (revert-buffer): Bind it.
9245 Pass nil for `after-find-file-from-revert-buffer'.
9246
9247 * saveplace.el (save-place-find-file-hook): Use new variable
9248 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9249
3f0f1700
GM
92502011-04-06 Glenn Morris <rgm@gnu.org>
9251
c0274801
GM
9252 * Makefile.in (AUTOGEN_VCS): New variable.
9253 (autoloads): Use $AUTOGEN_VCS.
9254
3f0f1700
GM
9255 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9256 * calendar/calendar.el (calendar-mode-map):
9257 Check for toolkit scroll bars. (Bug#8305)
9258
41ea9e48
CY
92592011-04-05 Chong Yidong <cyd@stupidchicken.com>
9260
9261 * minibuffer.el (completion-in-region--postch)
9262 (completion-in-region-mode): Remove unnecessary messages.
9263
6194c800
JB
92642011-04-05 Juanma Barranquero <lekktu@gmail.com>
9265
33256f14
JB
9266 * font-lock.el (font-lock-refresh-defaults):
9267 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9268 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9269
6194c800
JB
9270 * info.el (Info-directory-list, Info-read-node-name-2)
9271 (Info-split-parameter-string): Doc fixes.
9272 (Info-virtual-nodes): Reflow docstring.
9273 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9274 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9275 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9276 Fix typos in docstrings.
9277 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9278 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9279 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9280 (Info-restore-desktop-buffer): Mark unused parameters.
9281 (Info-directory-find-file, Info-directory-find-node)
9282 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9283 (Info-virtual-index-find-node, Info-apropos-find-file)
9284 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9285 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9286 (Info-virtual-index): Remove unused local variable `nodename'.
9287
b87a8200 92882011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9289
b87a8200
DD
9290 * net/rcirc.el: Update my e-mail address.
9291 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9292
3b2ff876
CY
92932011-04-05 Chong Yidong <cyd@stupidchicken.com>
9294
9295 * startup.el (command-line): Save the cursor's theme-face
9296 directly, instead of using face-override-spec.
9297
9298 * custom.el (load-theme): Minor optimization in assigning faces.
9299
8d17e7ca
JB
93002011-04-04 Juanma Barranquero <lekktu@gmail.com>
9301
9302 * help-fns.el (describe-variable): Complete all variables having
9303 documentation, including keywords.
9304 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9305
2fbc1934
JB
93062011-04-04 Juanma Barranquero <lekktu@gmail.com>
9307
9308 Convert to lexical-binding.
9309
9310 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9311 (bs--get-marked-string, bs--get-modified-string)
9312 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9313 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9314 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9315
9316 * ehelp.el (electric-help-execute-extended)
9317 (electric-help-ctrl-x-prefix):
9318 * hexl.el (hexl-revert-buffer-function):
9319 * linum.el (linum-after-change, linum-after-scroll):
9320 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9321
9322 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9323
74f50695
DU
93242011-04-04 Daiki Ueno <ueno@unixuser.org>
9325
9326 * epa-dired.el:
9327 * epa-mail.el:
9328 * epa-hook.el:
9329 * epa-file.el:
9330 * epa.el:
9331 * epg.el: Use lexical binding.
9332
c11325f7
CY
93332011-04-03 Chong Yidong <cyd@stupidchicken.com>
9334
0d9e9a12
CY
9335 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9336
c11325f7 9337 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9338 dictionary case for flyspell-mark-duplications-exceptions.
9339 Use regexp matching for languages.
c11325f7
CY
9340 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9341 default dictionary (Bug#7926).
9342
da91b5f2
CY
93432011-04-02 Chong Yidong <cyd@stupidchicken.com>
9344
099c39a4
JB
9345 * emacs-lisp/package.el (package--with-work-buffer):
9346 Recognize https URLs.
da91b5f2 9347
099c39a4
JB
9348 * net/network-stream.el: Move from gnus/proto-stream.el.
9349 Change prefix to network-stream throughout.
da91b5f2
CY
9350 (open-protocol-stream): Merge into open-network-stream, leaving
9351 open-protocol-stream as an alias. Handle nil BUFFER args.
9352
9353 * subr.el (open-network-stream): Move to net/network-stream.el.
9354
afa8e9f6
GM
93552011-04-02 Glenn Morris <rgm@gnu.org>
9356
1d2e369d
GM
9357 * find-dired.el (find-exec-terminator): New option.
9358 (find-ls-option): Test for -ls support.
9359 (find-ls-subdir-switches): Test for -b in find-ls-option.
9360 (find-dired, find-grep-dired): Doc fixes.
9361 (find-dired): Use find-exec-terminator.
9362
8abb7da8 9363 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9364 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9365 (find-name-arg): Remove purecopy.
8abb7da8 9366
f3ca7378
GM
9367 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9368 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9369 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9370 accordingly. Don't add the null-device if not needed.
9371
afa8e9f6
GM
9372 * files.el (save-some-buffers): Doc fix.
9373
35eae264
EZ
93742011-04-02 Eli Zaretskii <eliz@gnu.org>
9375
9376 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9377
26b51db5
JB
93782011-04-01 Juanma Barranquero <lekktu@gmail.com>
9379
9380 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9381 Use `dolist' rather than `mapcar'.
9382
7200d79c
SM
93832011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9384
03408648 9385 Add lexical binding.
7200d79c 9386
03408648
SM
9387 * subr.el (apply-partially): Use new closures rather than CL.
9388 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9389 (dolist, dotimes): Use slightly different expansion for lexical code.
9390 (functionp): Move to C.
9391 (letrec): New macro.
9392 (with-wrapper-hook): Use it and apply-partially instead of CL.
9393 (eval-after-load): Preserve lexical-binding.
9394 (save-window-excursion, with-output-to-temp-buffer): Turn them
9395 into macros.
7200d79c 9396
03408648
SM
9397 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9398
9399 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9400 than the arglist.
9401 (help-add-fundoc-usage): Don't add `Not documented'.
9402 (help-function-arglist): Handle closures, subroutines, and new
9403 byte-code-functions.
9404 (help-make-usage): Remove leading underscores.
9405 (describe-function-1): Handle closures.
9406 (describe-variable): Use special-variable-p for completion.
9407
9408 * files.el (lexical-binding): Declare safe.
f488fb65 9409
03408648
SM
9410 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9411 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9412 (pcase): Add `let' pattern.
9413 Change memoization so it actually works.
9414 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9415 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9416 <let>: New case.
f488fb65 9417
03408648
SM
9418 * emacs-lisp/macroexp.el: Use lexical binding.
9419 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9420 Don't convert ' to #' without checking that it's indeed quoting
9421 a lambda.
9422
9423 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9424 Use eval-sexp-add-defvars.
03408648
SM
9425 (eval-sexp-add-defvars): New fun.
9426
9427 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9428
9429 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9430 Don't autoload.
9431 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9432 than the internal `byte-compile-lambda'.
9433 (defmethod): Don't hide code under quotes.
9434 (eieio-defmethod): New `code' argument.
9435
9436 * emacs-lisp/eieio-comp.el: Remove.
9437
9438 * emacs-lisp/edebug.el (edebug-eval-defun)
9439 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9440 (edebug-toggle): Avoid `eval'.
9441
9442 * emacs-lisp/disass.el (disassemble-internal): Handle new
9443 `closure' objects.
9444 (disassemble-1): Handle new byte codes.
9445
9446 * emacs-lisp/cl.el (pushnew): Silence warning.
9447
9448 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9449 (cl-byte-compile-throw): Remove.
9450 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9451
9452 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9453 closures.
9454
9455 * emacs-lisp/cconv.el: New file.
9456
9457 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9458 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9459 (byte-compile-initial-macro-environment):
9460 Handle declare-function here.
9461 (byte-compile--lexical-environment): New var.
9462 (byte-stack-ref, byte-stack-set, byte-discardN)
9463 (byte-discardN-preserve-tos): New lap codes.
9464 (byte-interactive-p): Don't use any more.
9465 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9466 New macros.
9467 (byte-compile-lapcode): Use them and handle new lap codes.
9468 (byte-compile-obsolete): Remove.
9469 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9470 (byte-compile-arglist-warn): Check late def of inlinable funs.
9471 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9472 since they should have been expanded by now.
9473 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9474 (byte-compile-from-buffer): Remove unused second arg.
9475 (byte-compile-preprocess): New function.
9476 (byte-compile-toplevel-file-form): New function to distinguish
9477 file-form calls from outside from file-form calls from hunk-handlers.
9478 (byte-compile-file-form): Simplify.
9479 (byte-compile-file-form-defsubst): Remove.
9480 (byte-compile-file-form-defmumble): Simplify now that
9481 byte-compile-lambda always returns a byte-code-function.
9482 (byte-compile): Preprocess.
9483 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9484 Remove, not used any more.
9485 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9486 (byte-compile-make-args-desc): New funs.
9487 (byte-compile-lambda): Handle lexical functions. Always return
9488 a byte-code-function.
9489 (byte-compile-reserved-constants): New var, to make up room for
9490 closed-over variables.
9491 (byte-compile-constants-vector): Obey it.
9492 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9493 (byte-compile-macroexpand-declare-function): New function.
9494 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9495 byte-code-functions.
9496 (byte-compile-form): Check obsolescence here.
9497 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9498 (byte-compile-variable-ref): Remove.
9499 (byte-compile-dynamic-variable-op): New fun.
9500 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9501 (byte-compile-variable-set): New funs.
9502 (byte-compile-discard): Add 2 args.
9503 (byte-compile-stack-ref, byte-compile-stack-set)
9504 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9505 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9506 macroexpand-all instead.
9507 (byte-compile-quote-form): Remove.
9508 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9509 (byte-compile-bind, byte-compile-unbind): New funs.
9510 (byte-compile-let): Handle let* and lexical binding.
9511 (byte-compile-let*): Remove.
9512 (byte-compile-catch, byte-compile-unwind-protect)
9513 (byte-compile-track-mouse, byte-compile-condition-case):
9514 Handle a new :fun-body form, used for lexical scoping.
9515 (byte-compile-save-window-excursion)
9516 (byte-compile-with-output-to-temp-buffer): Remove.
9517 (byte-compile-defun): Simplify.
9518 (byte-compile-stack-adjustment): New fun.
9519 (byte-compile-out): Use it.
9520 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9521
9522 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9523 handler any more.
9524
9525 * emacs-lisp/byte-opt.el: Use lexical binding.
9526 (byte-inline-lapcode): Remove (to bytecomp).
9527 (byte-compile-inline-expand): Pay attention to inlining to/from
9528 lexically bound code.
9529 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9530 any more.
9531 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9532 any more and don't call compiler-macros.
9533 (byte-compile-splice-in-already-compiled-code): Remove.
9534 (byte-code): Don't inline any more.
9535 (disassemble-offset): Receive `bytes' as argument rather than via
9536 dynamic scoping.
9537 (byte-compile-tag-number): Declare before first use.
9538 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9539 `return' even if make-spliceable.
9540 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9541 obsolete interactive-p.
9542 (byte-optimize-lapcode): Optimize new lap-codes.
9543 Don't trip up on new form of `byte-constant' lap code.
9544
9545 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9546
9547 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9548
9549 * custom.el (custom-initialize-default, custom-declare-variable):
9550 Use `defvar'.
9551
9552 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9553 New variables.
9554 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9555 (COMPILE_FIRST): Add macroexp and cconv.
9556 * makefile.w32-in: Mirror changes in Makefile.in.
9557
9558 * vc/cvs-status.el:
9559 * vc/diff-mode.el:
9560 * vc/log-edit.el:
9561 * vc/log-view.el:
9562 * vc/smerge-mode.el:
9563 * textmodes/bibtex-style.el:
9564 * textmodes/css.el:
9565 * startup.el:
9566 * uniquify.el:
da91b5f2
CY
9567 * minibuffer.el:
9568 * newcomment.el:
9569 * reveal.el:
9570 * server.el:
9571 * mpc.el:
9572 * emacs-lisp/smie.el:
9573 * doc-view.el:
9574 * dired.el:
03408648
SM
9575 * abbrev.el: Use lexical binding.
9576
0f0c1f27
EZ
95772011-04-01 Eli Zaretskii <eliz@gnu.org>
9578
9579 * info.el (info-display-manual): New function.
9580
c82b2579
SM
95812011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9584
221ddf68
TH
95852011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9586
9587 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9588 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9589
cba6e77e
GM
95902011-03-31 Glenn Morris <rgm@gnu.org>
9591
e040639f
GM
9592 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9593
cba6e77e
GM
9594 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9595
6d0f1c9e
CS
95962011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9597
9598 * progmodes/python.el (python-default-interpreter)
9599 (python-python-command-args, python-jython-command-args)
9600 (python-which-shell, python-which-args, python-which-bufname)
9601 (python-file-queue, python-comint-output-filter-function)
9602 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9603 variables and functions.
9604
3e2d70fd
SM
96052011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9606
9607 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9608 (completion-in-region-mode): New minor mode.
9609 (completion-in-region): Use it.
9610 (completion-in-region--data, completion-in-region-mode-map): New vars.
9611 (completion-in-region--postch): New function.
9612 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9613 New vars.
9614 (completion--capf-wrapper): New function.
9615 (completion-at-point): Use it to track well-behavedness of
9616 hook functions.
9617 (completion-help-at-point): New command.
9618
f3e4086c
JM
96192011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9620
9621 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9622 syntax class to search for whitespace on a single line
9623 (Message-ID: <4D938140.4030905@redhat.com>).
9624
eb7ffc14
LL
96252011-03-30 Leo Liu <sdl.web@gmail.com>
9626
9627 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9628 New commands.
9629 (edit-abbrevs-map): Bind them here.
9630 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9631
d806ab68
KM
96322011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9633
9634 * allout.el (allout-hide-by-annotation, allout-flag-region):
9635 Reduce possibility of overlay leakage by making them volatile.
9636
9637 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9638 hash is not shared between buffers. Mode initialization is
9639 responsible for giving it a useful starting value.
9640 (allout-item-span): Reduce possibility of overlay leakage by
9641 making them volatile.
9642 (allout-widgets-count-buttons-in-region): Add diagnostic function
9643 for tracking down button overlay leaks.
9644
ea622834
LL
96452011-03-29 Leo Liu <sdl.web@gmail.com>
9646
9647 * ido.el (ido-read-internal): Use the default history var
9648 minibuffer-history if no HISTORY is specified.
9649
b62f8267
G
96502011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9651
03408648
SM
9652 * net/imap.el (imap-shell-open, imap-process-connection-type):
9653 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9654 Kerberos, SSL, other subprocesses.
9655
947b6566
LL
96562011-03-28 Leo Liu <sdl.web@gmail.com>
9657
9658 * abbrev.el (abbrev-table-empty-p): New function.
9659 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9660 nonempty ones. (Bug#5937)
9661
5ffb62aa
JD
96622011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9663
9664 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9665
7a097943
LL
96662011-03-27 Leo Liu <sdl.web@gmail.com>
9667
9668 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9669 for foreground and background colors.
9670 (ansi-color-make-color-map): Adapt.
9671
c5b40130
LL
96722011-03-25 Leo Liu <sdl.web@gmail.com>
9673
1f48f7d2
LL
9674 * midnight.el (midnight-time-float): Remove. Note it calculates
9675 the microsecond component incorrectly and seconds-to-time does the
9676 same job.
625897ec 9677 Remove redundant (require 'timer).
1f48f7d2 9678
c5b40130
LL
9679 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9680 (ido-completions): Remove unused arguments. (Bug#8329)
9681
d86d2721
SM
96822011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * minibuffer.el (completion--flush-all-sorted-completions):
9685 Remove itself from hook.
9686 (completion-at-point): Let the functions perform the completion
9687 immediately and return nil or t.
9688 * comint.el (comint-dynamic-complete-functions): Now identical to
9689 completion-at-point-functions.
9690 (comint-dynamic-list-input-ring): Remove unused var `index'.
9691 (comint--match-partial-filename, comint--unquote&expand-filename):
9692 New funs, split from comint-match-partial-filename.
9693 (comint-dynamic-complete): Use completion-at-point.
9694 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9695
e8974c48
DA
96962011-03-24 Drew Adams <drew.adams@oracle.com>
9697
9698 * thingatpt.el: Support `defun'.
9699
def71b5e
LL
97002011-03-23 Leo Liu <sdl.web@gmail.com>
9701
cb5af48e
LL
9702 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9703
def71b5e
LL
9704 * help-mode.el (help-mode-finish): Tweak regexp.
9705
927c53e7
GM
97062011-03-23 Glenn Morris <rgm@gnu.org>
9707
18d05bed
GM
9708 * eshell/esh-opt.el (eshell-eval-using-options):
9709 Do not bind unused local variable `eshell-option-stub'.
9710
927c53e7
GM
9711 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9712
9d0da923
JB
97132011-03-22 Juanma Barranquero <lekktu@gmail.com>
9714
9715 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9716 keymap variable in `with-no-warnings' to avoid a warning when the
9717 keymap has been already `defconst'ed.
9718
4b978a67
LL
97192011-03-22 Leo Liu <sdl.web@gmail.com>
9720
9721 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9722 encode all chars in abbrevs; otherwise use emacs-mule or
9723 utf-8-emacs. (Bug#8308)
9724
5fd62452
JB
97252011-03-22 Juanma Barranquero <lekktu@gmail.com>
9726
0b1596c6
JB
9727 * simple.el (backward-delete-char-untabify):
9728 Avoid warning about using `delete-backward-char'.
9729
5fd62452
JB
9730 * image.el (image-type-file-name-regexps): Make it variable.
9731 `imagemagick-register-types' modifies it, and the user may want
9732 to add new extensions for known image types.
9733 (imagemagick-register-types): Throw error if not using ImageMagick.
9734
0b4e93f1
LL
97352011-03-22 Leo Liu <sdl.web@gmail.com>
9736
9737 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9738 located before rcirc-prompt-end-marker.
9739 (rcirc-complete): Error if point is not after rcirc prompt.
9740 Handle the case when table is nil.
9882e214 9741 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9742
fccee4ab
CY
97432011-03-22 Chong Yidong <cyd@stupidchicken.com>
9744
9745 * custom.el (custom--inhibit-theme-enable): Make it affect only
9746 custom-theme-set-variables and custom-theme-set-faces.
9747 (provide-theme): Ignore custom--inhibit-theme-enable.
9748 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9749 (custom-enabling-themes): Delete variable.
d86d2721
SM
9750 (enable-theme): Accept only loaded themes as arguments.
9751 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9752 (custom-enabled-themes): Forbid themes from setting this.
9753 Eliminate use of custom-enabling-themes.
9754 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9755
af896da6
LL
97562011-03-21 Leo Liu <sdl.web@gmail.com>
9757
9758 * ido.el (ido-read-internal): Add ido-selected to history instead
9759 of user input.
9760
78f64af0
SM
97612011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * subr.el (deferred-action-list, deferred-action-function):
9764 Mark obsolete.
9765
b16ac1ec
LL
97662011-03-21 Leo Liu <sdl.web@gmail.com>
9767
810f7698
LL
9768 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9769 change on 2011-02-13 (bug#8309).
9770
b16ac1ec
LL
9771 * minibuffer.el (read-file-name-function): Change default value.
9772 (read-file-name--defaults): Rename from read-file-name-defaults.
9773 (read-file-name-default): Rename from read-file-name.
9774 (read-file-name): Call read-file-name-function.
9775
4e05e67e
GM
97762011-03-21 Glenn Morris <rgm@gnu.org>
9777
9778 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9779 Doc fixes.
9780
4359915b
CY
97812011-03-21 Chong Yidong <cyd@stupidchicken.com>
9782
9783 * cus-theme.el: Add missing provide statement.
9784 (customize-create-theme): Extract theme value correctly.
9785 (custom-theme-visit-theme): Autoload.
9786 (customize-create-theme): Prompt before inserting default faces.
9787
1fe275ee
JB
97882011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9789
9790 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9791 units and musical notes.
9792
cd394be1 97932011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9794
9795 * ido.el (ido-read-internal): Use completing-read-default.
9796 (ido-completing-read): Fix compatibility with completing-read.
9797
7d476bde
CO
97982011-03-20 Christian Ohler <ohler@gnu.org>
9799
9800 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9801 (ert-delete-all-tests): Use `called-interactively-p' rather than
9802 `interactive-p'.
9803 (ert--make-xrefs-region): Respect END.
9804
fe0fb33e
CY
98052011-03-19 Chong Yidong <cyd@stupidchicken.com>
9806
ff854b0b
CY
9807 * dired-aux.el (dired-create-directory): Signal an error if the
9808 directory already exists (Bug#8246).
9809
fe0fb33e
CY
9810 * facemenu.el (list-colors-display): Call list-faces-display
9811 inside with-help-window.
9812 (list-colors-print): Use display property to align the final
9813 column, instead of checking window-width.
9814
576bce32
EZ
98152011-03-19 Eli Zaretskii <eliz@gnu.org>
9816
4d61f28d 9817 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9818 windows-nt systems.
9819 (emerge-protect-metachars): Quote correctly for ms-dos and
9820 windows-nt systems.
9821
89c41d68 98222011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9823
9824 * info.el (info-initialize): Replace all uses of `:' with
9825 path-separator for compatibility with non-Unix systems.
9826 Cache quoting of path-separator. (Bug#8258)
9827
b14e3e21 98282011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9829
9830 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9831 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9832 (mouse-avoidance-mode): Fix typos in docstrings.
9833
4525ce3e
CY
98342011-03-19 Chong Yidong <cyd@stupidchicken.com>
9835
9836 * startup.el (package-subdirectory-regexp): Move from package.el.
9837 Omit \\` and \\', and let callers add them.
9838
9839 * emacs-lisp/package.el (package-strip-version)
9840 (package-load-all-descriptors): Add \\` and \\' to
9841 package-subdirectory-regexp before using it.
9842 (package-untar-buffer): New arg DIR; ensure that file untars only
9843 into this expected directory. Remove superfluous delete-region.
9844 (package-unpack): Caller changed.
9845 (package-tar-file-info): Use package-subdirectory-regexp.
9846
a904a09a 98472011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9848
a904a09a
SM
9849 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9850 diff-mode-shared-map (bug#8284).
9851 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9852
98532011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9854
9855 * calendar/time-date.el (format-seconds): Use assoc instead of
9856 assoc-string, since assoc-string doesn't exist in XEmacs.
9857
171fc304
JB
98582011-03-17 Juanma Barranquero <lekktu@gmail.com>
9859
9860 * custom.el (custom-known-themes): Reflow docstring.
9861 (custom-theme-load-path): Fix typo in docstring.
9862 (load-theme): Fix typo in error message.
9863 (custom-available-themes, custom-variable-theme-value):
9864 Use `let', not `let*'.
9865
d71990a1
JB
98662011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9867
9868 * calc/README: Mention inclusion of musical notes.
9869
9870 * calc/calc-units.el (calc-lu-quant): Rename from
9871 `calc-logunits-quantity'.
9872 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9873 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9874 (calc-db): Rename from `calc-dblevel'.
9875 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9876 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9877 (calc-np): Rename from `calc-nplevel'.
9878 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9879 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9880 (calc-lu-plus): Rename from `calc-logunits-add'.
9881 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9882 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9883 (calc-lu-minus): Rename from `calc-logunits-sub'.
9884 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9885 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9886 (calc-lu-times): Rename from `calc-logunits-mul'.
9887 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9888 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9889 (calc-lu-divide): Rename from `calc-logunits-div'.
9890 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9891 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9892
9893 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9894 functions being autoloaded.
9895
9896 * calc/calc.el (calc-lu-power-reference): Rename from
9897 `calc-logunits-power-reference'.
9898 (calc-lu-field-reference): Rename from
9899 `calc-logunits-field-reference'.
9900
9901 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9902
40c2934b
SM
99032011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 * minibuffer.el (completion-all-sorted-completions):
9906 Use :completion-cycle-penalty text property if present.
9907
b0911414
KM
99082011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9909
9910 * allout.el (allout-yank-processing): Adjust for new rebulleting
9911 regime so bullet being yanked is used without prompting the user
9912 for a choice.
9913
8a05b668
JB
99142011-03-16 Juanma Barranquero <lekktu@gmail.com>
9915
9916 * startup.el (command-line): Warn the user that _emacs is deprecated.
9917
5ba5fb81
JB
99182011-03-16 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9921 (delphi-verbose, delphi-comment-face, delphi-string-face)
9922 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9923 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9924 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9925 (delphi-new-comment-line, delphi-font-lock-defaults)
9926 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9927 Fix typos in docstrings.
9928
2dab465b
KM
99292011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9930
5ba5fb81 9931 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9932 Invert the roles of character and string values for INSTEAD, so a
9933 string is used for the more common case of a defaulting prompt.
9934
0adf5618
SM
99352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * progmodes/ruby-mode.el (ruby-backward-sexp):
9938 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9939 * play/gamegrid.el (gamegrid-make-face):
9940 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9941 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9942 * notifications.el (notifications-notify):
9943 * net/xesam.el (xesam-search-engines):
9944 * net/quickurl.el (quickurl-list-insert):
9945 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9946
d72700e5
CY
99472011-03-15 Chong Yidong <cyd@stupidchicken.com>
9948
9949 * startup.el (command-line): Update package subdirectory regexp.
9950
49c5410a
SM
99512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9952
c6eee9aa
SM
9953 * allout.el (allout-abbreviate-flattened-numbering)
9954 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9955
49c5410a
SM
9956 * subr.el (read-char-choice): Only show the cursor after the prompt,
9957 not after the answer.
9958
047b2bb9
KR
99592011-03-15 Kevin Ryde <user42@zip.com.au>
9960
9961 * help-fns.el (variable-at-point): Skip leading quotes, if any
9962 (bug#8253).
9963
0a57d256
SM
99642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9967 warning message.
9968
77c992bc
MA
99692011-03-14 Michael Albinus <michael.albinus@gmx.de>
9970
9971 * shell.el (shell): When called interactively, offer to change the
9972 shell file name on remote hosts.
9973
eebc475d
TZ
99742011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9975
9976 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9977 integration for LDAP parameters. The host, base, user or binddn,
9978 and secret tokens can be specified in a netrc file, for instance.
9979 This is optional because an `auth-source' parameter must be
9980 specified in the search attributes.
9981
9d05d1ba
JB
99822011-03-13 Juanma Barranquero <lekktu@gmail.com>
9983
9984 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9985
09d9db2c
GM
99862011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9989 into declaration. Remove redundant and harmful binding.
9990
99912011-03-12 Eli Zaretskii <eliz@gnu.org>
9992
9993 * files.el (file-ownership-preserved-p): Pass `integer' as an
9994 explicit 2nd argument to `file-attributes'. If the file's owner
9995 is the Administrators group on Windows, and the current user is
9996 Administrator, consider that a match.
9997
9998 * server.el (server-ensure-safe-dir): Consider server directory
9999 safe on MS-Windows if its owner is the Administrators group while
10000 the current Emacs user is Administrator. Use `=' to compare
10001 numerical UIDs, since they could be integers or floats.
10002
219bd536
JB
100032011-03-12 Juanma Barranquero <lekktu@gmail.com>
10004
10005 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10006
f3afd36b
MA
100072011-03-12 Michael Albinus <michael.albinus@gmx.de>
10008
10009 Sync with Tramp 2.2.1.
10010
10011 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10012
10013 * net/trampver.el: Update release number.
10014
3aaaa6f1
SM
100152011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10016
94642599
SM
10017 * progmodes/compile.el (compilation--previous-directory): Fix up
10018 various nil/dead-marker mismatches (bug#8014).
10019 (compilation-directory-properties, compilation-error-properties):
10020 Don't call it at a position past the one we're about to change.
10021
3aaaa6f1
SM
10022 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10023 Disable obsolescence warnings in the file that declares it.
10024
14239447
KM
100252011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10026
099c39a4
JB
10027 * allout-widgets.el (allout-widgets-tally):
10028 Initialize allout-widgets-tally as a hash table rather than nil to
10029 prevent mode-line redisplay warnings. Also, clarify the module
10030 description and fix a comment typo.
14239447 10031
135e287c
JB
100322011-03-11 Juanma Barranquero <lekktu@gmail.com>
10033
10034 * help-fns.el (describe-variable): Don't complete keywords.
10035 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10036
ffbf300e
CY
100372011-03-10 Chong Yidong <cyd@stupidchicken.com>
10038
ba08b241
CY
10039 * emacs-lisp/package.el (package-version-join): Impose a standard
10040 string representation for pre/alpha/beta version lists.
10041 (package-unpack-single): Standardize the directory name by passing
10042 it through package-version-join.
10043 (package-strip-rcs-id): Accept any version string that does not
10044 signal an error in version-to-list.
ffbf300e 10045
f346fd6b
MA
100462011-03-10 Michael Albinus <michael.albinus@gmx.de>
10047
10048 * simple.el (delete-trailing-whitespace): Return nil for the
10049 benefit of `write-file-functions'.
10050
ccb55d27
GM
100512011-03-10 Glenn Morris <rgm@gnu.org>
10052
5ceaac0c
GM
10053 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10054
02da65ff
GM
10055 * vc/vc-git.el (vc-git-program): New option.
10056 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10057 (vc-git--call): Use it.
10058
b2f603cc
GM
10059 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10060
5772caab
GM
10061 * cus-edit.el (Custom-newline): If no button at point, look
10062 for a subgroup button at start-of-line. (Bug#2298)
10063
ccb55d27
GM
10064 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10065
ec6ecaed
JD
100662011-03-10 Julien Danjou <julien@danjou.info>
10067
10068 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10069 `cursor-type' is nil.
10070
9d5aa01d
JB
100712011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10072
10073 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10074
b6a5875b
KM
100752011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10076
10077 * allout.el Summary: Change so yank of distinctive-bullet items
10078 preserves the existing header prefix, rebulleting it if necessary,
10079 rather than replacing it. This is necessary for proper operation
10080 of cooperative addons like allout-widgets.
1154d12e
JB
10081 (allout-make-topic-prefix, allout-rebullet-heading):
10082 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10083 value as alternate bullet to be used, instead of prompting the user
10084 for a bullet character.
b6a5875b 10085
ee545c35
MA
100862011-03-09 Michael Albinus <michael.albinus@gmx.de>
10087
d86d2721
SM
10088 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10089 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10090 `tramp-default-port'.
10091
c47971d7
DD
100922011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10093
10094 * net/rcirc.el (rcirc-handler-001): Remove useless
10095 with-rcirc-process-buffer.
10096 (rcirc-check-auth-status): Swap arguments to string-match.
10097
13522cb4
GM
100982011-03-09 Glenn Morris <rgm@gnu.org>
10099
0be6f4f1
GM
10100 * shell.el (shell-mode):
10101 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10102
13522cb4
GM
10103 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10104 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10105
515de2e3
CY
101062011-03-08 Chong Yidong <cyd@stupidchicken.com>
10107
10108 * emacs-lisp/package.el (package-refresh-contents)
10109 (package-menu-execute): Use condition-case-no-debug.
10110
b511b994
MA
101112011-03-08 Michael Albinus <michael.albinus@gmx.de>
10112
10113 * simple.el (shell-command-to-string): Use `process-file'.
10114
10115 * emacs-lisp/package.el (package-tar-file-info): Handle also
10116 remote files.
10117
d86d2721
SM
10118 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10119 Use `equal' for upload base check.
b511b994 10120
25bbfb31
AM
101212011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10122
10123 * textmodes/texinfo.el (texinfo-environments):
10124 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10125
be996521
GM
101262011-03-08 Glenn Morris <rgm@gnu.org>
10127
e9c8529f
GM
10128 * cus-start.el (cursor-in-non-selected-windows):
10129 Fix :set quoting oddness. (Bug#8192)
10130
be996521
GM
10131 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10132 in some setf expressions. (Bug#2159)
10133
2bb5649e
CY
101342011-03-08 Chong Yidong <cyd@stupidchicken.com>
10135
10136 * custom.el (custom-available-themes): Return themes in
10137 alphabetical order.
10138
33383987 10139See ChangeLog.15 for earlier changes.
e3d51b27
MR
10140
10141;; Local Variables:
10142;; coding: utf-8
e3d51b27
MR
10143;; End:
10144
acaf905b 10145 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10146
10147 This file is part of GNU Emacs.
10148
10149 GNU Emacs is free software: you can redistribute it and/or modify
10150 it under the terms of the GNU General Public License as published by
10151 the Free Software Foundation, either version 3 of the License, or
10152 (at your option) any later version.
10153
10154 GNU Emacs is distributed in the hope that it will be useful,
10155 but WITHOUT ANY WARRANTY; without even the implied warranty of
10156 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10157 GNU General Public License for more details.
10158
10159 You should have received a copy of the GNU General Public License
10160 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.