os.texi "Startup Summary" small changes
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4c5779ab
CY
12012-03-18 Chong Yidong <cyd@gnu.org>
2
3 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4 it is not yet defined (for temacs).
5
15360934
LL
62012-03-18 Leo Liu <sdl.web@gmail.com>
7
8 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
9 prefix.
10
d9a8eb66
EZ
112012-03-17 Eli Zaretskii <eliz@gnu.org>
12
13 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14 (ispell-choices-win-default-height, ispell-silently-savep)
15 (ispell-dictionary-alist, ispell-encoding8-command)
16 (ispell-check-version, ispell-aspell-find-dictionary)
17 (ispell-valid-dictionary-list, ispell-words-keyword)
18 (ispell-get-word, ispell-internal-change-dictionary)
19 (ispell-region, ispell-skip-region-list)
20 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
21 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
22 (ispell-message-text-end, ispell-message)
23 (ispell-buffer-local-parsing): Doc fix.
24
f02ff80d
J
252012-03-13 Jambunathan K <kjambunathan@gmail.com>
26
27 * htmlfontify.el: Add support for code block fontification for ODT
28 export (Bug #9914).
29 (hfy-optimisations): Define new option
30 `body-text-only'
31 (hfy-fontify-buffer): Honor above setting.
32 (hfy-begin-span, hfy-end-span): New routines factored out form
33 `hfy-fontify-buffer'.
34 (hfy-begin-span-handler, hfy-end-span-handler): New variables
35 that permit insertion of custom tags.
36 (hfy-fontify-buffer): Use above handlers.
37 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
38 (hfy-face-to-css): Re-defined to be a variable.
39 (hfy-compile-stylesheet): Modified. Allow stylesheet to be built
40 over multiple runs. This is made possible by having the caller let
41 bind a special variable `hfy-user-sheet-assoc'.
42 (htmlfontify-string): New defun.
43 (hfy-compile-face-map): Make sure that the last char in the
44 buffer is correctly fontified.
45 (hfy-face-resolve-face): Whitespace only change.
46
9ac7a13f
EZ
472012-03-17 Eli Zaretskii <eliz@gnu.org>
48
49 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
50 message more clear.
51
e2b5bdd7
LL
522012-03-16 Leo Liu <sdl.web@gmail.com>
53
54 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
55
2e492df3
AM
562012-03-16 Alan Mackenzie <acm@muc.de>
57
58 Further optimise the handling of large macros.
59
60 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
61 limit to a call of `c-literal-limits'.
62 (c-determine-+ve-limit): New function.
63 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an
64 `and'.
65 (c-guess-basic-syntax): In macros, restrict a search limit to
66 2000.
67 In CASE 5B, restrict a search limit to 500.
68 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
69
70 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
71 Restrict macro bounds to +-500 from after-change's BEG END.
72
50e94f0c
LL
732012-03-16 Leo Liu <sdl.web@gmail.com>
74
75 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
76
6f09f6ed
AH
772012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
78
79 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
80 `special-mode' setting of `buffer-read-only'. (Bug#11010)
81
c7e73d51
GM
822012-03-16 Glenn Morris <rgm@gnu.org>
83
da986230
GM
84 * view.el (view-buffer, view-buffer-other-window)
85 (view-buffer-other-frame): Doc fixes re special mode-class.
86
0835f01e
GM
87 * subr.el (eval-after-load): If named feature is provided not from
88 a file, run after-load forms. (Bug#10946)
89
c7e73d51
GM
90 * calendar/calendar.el (calendar-insert-at-column):
91 Handle non-unit-width characters a bit better. (Bug#10978)
92
3f2eafd1
CY
932012-03-15 Chong Yidong <cyd@gnu.org>
94
95 * emacs-lisp/ring.el (ring-extend): New function.
96 (ring-insert+extend): Extend the ring correctly (Bug#11019).
97
98 * comint.el (comint-read-input-ring)
99 (comint-add-to-input-history): Grow comint-input-ring lazily.
100
103af3fe
SM
1012012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
102
663b1677
SM
103 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
104 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
105
103af3fe
SM
106 * imenu.el: Fix multiple inheritance breakage (bug#9199).
107 (imenu-add-to-menubar): Don't add a redundant index.
108 (imenu-update-menubar): Handle a dynamically composed keymap.
109
899cb7cb
KY
1102012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
111
112 * mail/sendmail.el (mail-encode-header):
113 Bind rfc2047-encode-encoded-words to nil.
114
3809f91d
GM
1152012-03-13 Glenn Morris <rgm@gnu.org>
116
117 * calendar/calendar.el (calendar-string-spread):
118 Handle non-unit-width characters a bit better. (Bug#10978)
119
9e345a01
LL
1202012-03-13 Leo Liu <sdl.web@gmail.com>
121
122 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
123 directory and file as argument (Bug#10822).
124
4a07df36
KS
1252012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
126
127 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
128 For dynamically generated code, follow $PC.
129 (gdb-disassembly-handler-custom): Handle no function name case.
130
4aaa9356
TL
1312012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
132
133 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
134 * emulation/ws-mode.el (ws-query-replace):
135 * sort.el (sort-regexp-fields):
136 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
137
225979da
SM
1382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * dabbrev.el: Fix cycle completion order (bug#10963).
141 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
142 (dabbrev-completion): Don't use an obarray; provide
143 a cycle-sort-function.
144
e2f1fdab
LL
1452012-03-12 Leo Liu <sdl.web@gmail.com>
146
147 * simple.el (kill-new): Use equal-including-properties for
148 comparison.
149 (kill-do-not-save-duplicates): Doc fix.
150
b19490ed
SM
1512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * dabbrev.el: Fix cycle completion (bug#10963).
154 Use lexical binding and wrap to 80 columns.
155 (dabbrev-completion): Delay computing the list of completions.
156
4b05d722
KH
1572012-03-12 Kenichi Handa <handa@m17n.org>
158
159 * international/quail.el (quail-insert-kbd-layout): Surround each
160 row by LRO and PDF instead of inserting many LRMs. Pad the left
161 and right of each non-spacing marks. Insert invisible space
162 between lower and upper characters to prevent composition.
163
dbbc2e69
SM
1642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * minibuffer.el (minibuffer-complete): Don't get confused when the
167 function is run twice via different commands (bug#10958).
168 (complete-with-action): Fix docstring.
169
292112ed
CY
1702012-03-12 Chong Yidong <cyd@gnu.org>
171
5d1ac394
CY
172 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
173 (nxml-completion-at-point-function): New function.
174 (nxml-mode): Use it.
175 (nxml-bind-meta-tab-to-complete-flag): Default to t.
176
292112ed
CY
177 * emacs-lisp/package.el (package-unpack, package-unpack-single):
178 Load generated autoloads file before byte compiling (Bug#10970).
179 (package--make-autoloads-and-compile): New helper fun.
180
4098f8f7
CS
1812012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
182
183 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
184
8f754691
MA
1852012-03-11 Michael Albinus <michael.albinus@gmx.de>
186
187 * autorevert.el (auto-revert-handler): Ensure, that
188 file-readable-p is applied only for local files or in
189 auto-revert-tail-mode.
190
e29ab36b
AS
1912012-03-11 Andreas Schwab <schwab@linux-m68k.org>
192
dbbc2e69
SM
193 * server.el (server-eval-at): Handle non-tcp connections.
194 Decode result string.
ad0bf5b6 195
e29ab36b
AS
196 * server.el (server-msg-size): New constant.
197 (server-reply-print): New function.
198 (server-eval-and-print): Use it.
199 (server-eval-at): Use server-quote-arg and server-unquote-arg.
200 Handle -print-nonl.
201
de5939ba
CS
2022012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
203
204 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
205 (Bug#10987).
206
0c93eabf
CY
2072012-03-11 Chong Yidong <cyd@gnu.org>
208
397a688f
CY
209 * simple.el (goto-line): Doc fix (Bug#9938).
210
2cc775f9
CY
211 * subr.el (save-window-excursion): Doc fix (Bug#9979).
212
0c93eabf
CY
213 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
214 when finished (Bug#10963).
215
c491fa41
MR
2162012-03-11 Martin Rudalics <rudalics@gmx.at>
217
218 * window.el (split-window-below): Fix bug in case where
219 split-window-keep-point is nil (Bug#10971).
220
300e8fa5
JL
2212012-03-11 Juri Linkov <juri@jurta.org>
222
223 * replace.el (replace-highlight): Set isearch-word to nil
224 unconditionally. (Bug#10887)
225
dbf6c5a1
EZ
2262012-03-10 Eli Zaretskii <eliz@gnu.org>
227
228 * net/mairix.el (mairix-replace-invalid-chars): Rename from
229 mairix-replace-illegal-chars; all callers changed. Don't remove
230 ^, ~, and = characters: they are meaningful in mairix search
231 specs.
232 (mairix-widget-create-query): Add usage information about mairix
233 search forms: negating words, searching for substrings, etc.
234
b9e501de
JP
2352012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
236
237 * international/fontset.el (font-encoding-alist): Add an entry for
238 ksx1001 (Bug#5667).
239
92795c91
RS
2402012-03-10 Richard Stallman <rms@gnu.org>
241
1694e6c1
RS
242 * mail/sendmail.el (mail-encode-header):
243 Set rfc2047-encode-encoded-words.
244
607e8555
RS
245 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
246
de3bc99a
RS
247 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
248 view buffer means not swapped.
249 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
250 (rmail-write-region-annotate): Error if real text has disappeared.
251
92795c91
RS
252 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
253
699bd04e
CY
2542012-03-10 Chong Yidong <cyd@gnu.org>
255
256 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
257 * emulation/cua-base.el (cua--init-keymaps):
258 Add delete-forward-char to remappings (Bug#9666).
699bd04e 259
570a1714
MR
2602012-03-10 Martin Rudalics <rudalics@gmx.at>
261
dbbc2e69
SM
262 * speedbar.el (speedbar-unhighlight-one-tag-line):
263 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 264
82dcf4e4
CY
2652012-03-10 Chong Yidong <cyd@gnu.org>
266
7a2c7ca7
CY
267 * minibuffer.el (completion-in-region, completion-help-at-point):
268 Give the completion field overlay a high priority (Bug#6830).
269
82dcf4e4
CY
270 * dired.el (dired-goto-file): Recognize absolute file name
271 listings (Bug#7126).
272 (dired-goto-file-1): New helper function.
273 (dired-toggle-read-only): Inhibit warnings.
274
052e28ac
MA
2752012-03-09 Michael Albinus <michael.albinus@gmx.de>
276
277 * net/dbus.el: (dbus-property-handler): Return empty array if
278 there are no properties.
279
95d5e396
LL
2802012-03-09 Leo Liu <sdl.web@gmail.com>
281
282 * savehist.el (savehist-printable): Stricter check for string
283 value (Bug#10937).
284
3f018d6d
EZ
2852012-03-09 Eli Zaretskii <eliz@gnu.org>
286
dbbc2e69
SM
287 * mail/smtpmail.el (smtpmail-send-it):
288 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
289 valid mbox format.
290
f7fd3d79
GM
2912012-03-09 Glenn Morris <rgm@gnu.org>
292
293 * files.el (dir-locals-find-file):
294 Don't check result is regular, readable.
295 (dir-locals-read-from-file): Demote errors.
296
6ff6e72f
EZ
2972012-03-08 Eli Zaretskii <eliz@gnu.org>
298
dbbc2e69
SM
299 * international/quail.el (quail-insert-kbd-layout):
300 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
301 layout cell, to prevent their reordering by bidi display engine.
302 For details, see the discussion in
303 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
304
9cec7834
AM
3052012-03-08 Alan Mackenzie <acm@muc.de>
306
307 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
308 the starting position; make it extend the marked region when
309 invoked repeatedly - all under appropriate circumstances.
310 Fixes bugs #5525, #10906.
311
9a40b8d4
GM
3122012-03-08 Glenn Morris <rgm@gnu.org>
313
314 * files.el (locate-dominating-file, dir-locals-find-file):
315 Undo 2012-03-06 change.
316
7a08ed35
EZ
3172012-03-07 Eli Zaretskii <eliz@gnu.org>
318
dbbc2e69
SM
319 * international/quail.el (quail-help):
320 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
321 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
322 for the reason.
323
5aca4f71 3242012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
325
326 Avoid superfluous registering of signals. (Bug#10807)
327
328 * notifications.el (notifications-on-action-object)
329 (notifications-on-close-object): New defvars.
330 (notifications-on-action-signal, notifications-on-closed-signal):
331 Unregister the signal if not needed any longer.
332 (notifications-notify): Register `notifications-action-signal' or
333 `notifications-closed-signal', if :on-action or :on-close has been
334 passed as argument.
335
78e8b10a
CY
3362012-03-07 Chong Yidong <cyd@gnu.org>
337
338 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
339 non-X platforms.
340
69481eb8
GM
3412012-03-06 Glenn Morris <rgm@gnu.org>
342
343 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
344 (x-disown-selection-internal, x-get-selection-internal):
345 Doc fix (add arglist signatures). (Bug#10783)
346
133b8e11
KS
3472012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
348
349 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
350 Handle breakpoints with no "type".
351
99a83064
GM
3522012-03-06 Glenn Morris <rgm@gnu.org>
353
354 * files.el (locate-dominating-file): Add optional predicate argument.
355 (dir-locals-find-file): Make use of above change.
356
17798e78
TTN
3572012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
358
359 * info.el (Info-insert-dir): Also try "dir.gz".
360
eb182446
GM
3612012-03-06 Glenn Morris <rgm@gnu.org>
362
8f2114ee
GM
363 * files.el (dir-locals-find-file):
364 Ignore non-readable or non-regular files. (Bug#10928)
365
eb182446
GM
366 * files.el (locate-dominating-file): Doc fix.
367
24679323
AS
3682012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
369
370 * calendar/calendar.el (calendar-set-mode-line):
371 `getenv' returns a string. (Bug#10951)
372
01d972a9
LL
3732012-03-05 Leo Liu <sdl.web@gmail.com>
374
109aa8a9
LL
375 * simple.el (backward-delete-char-untabify): Constrain point to
376 field (Bug#10939).
377
01d972a9
LL
378 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
379
10607bea
CY
3802012-03-05 Chong Yidong <cyd@gnu.org>
381
382 * simple.el (count-words): If called from Lisp, return the word
383 count, for symmetry with `count-lines'. Arglist changed.
384 (count-words--message): Args changed. Consolidate counting code
385 from count-words and count-words-region.
386 (count-words-region): Caller changed.
387 (count-lines-region): Make it an obsolete alias.
388
5dd11cfe
TH
3892012-03-04 Tassilo Horn <tassilo@member.fsf.org>
390
391 * saveplace.el (save-place-to-alist)
392 (save-place-ignore-files-regexp): Allow value nil to disable this
393 feature.
394
c349f4e6
CY
3952012-03-04 Chong Yidong <cyd@gnu.org>
396
397 * faces.el (face-spec-reset-face): For the default face, reset the
398 attributes to default values (Bug#10748).
399
e627be4c
LMI
4002012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
401
402 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
403 previous patch: Check `message-send-mail-function', and not the
404 default function (bug#10897).
405
ebeabff4
MA
4062012-03-04 Michael Albinus <michael.albinus@gmx.de>
407
a41a6cf4
MA
408 * notifications.el (notifications-on-action-signal)
409 (notifications-on-closed-signal): Check for unique service name of
410 incoming event. Fix error in removing entry.
ebeabff4 411 (top): Register for signals with wildcard service name.
a41a6cf4 412 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 413
c1ca42b4
CY
4142012-03-04 Chong Yidong <cyd@gnu.org>
415
416 * cus-start.el: Make x-select-enable-clipboard-manager
417 customizable.
418
ea16568d
GM
4192012-03-04 Glenn Morris <rgm@gnu.org>
420
421 * abbrev.el (copy-abbrev-table, abbrev-table-p)
422 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
423 (expand-abbrev, define-abbrev-table): Doc fixes.
424
fbae4637
LMI
4252012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
426
427 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
428 `message-default-send-mail-function' and not `send-mail-function'
429 when doing the prompting for `sendmail-query-once' before sending
430 in Message buffers (bug#10897).
431
a1e7225c
LMI
432 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
433 This is inconsistent with all the other stream functions, which leave
434 the setting up to the higher levels (if so wanted) (bug#10931).
435
56d093a9
AM
4362012-03-02 Alan Mackenzie <acm@muc.de>
437
438 Depessimize the handling of very large macros.
439
440 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
441 (c-macro-cache-syntactic): New variables to implement a one
442 element macro cache.
443 (c-invalidate-macro-cache): New function.
444 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
445 Adapt to use the new cache.
446 (c-state-safe-place): Use better the cache of safe positions.
447 (c-state-semi-nonlit-pos-cache)
448 (c-state-semi-nonlit-pos-cache-limit):
449 New variables for...
450 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
451 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
452 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
453 Use c-state-semi-safe-place.
56d093a9 454
dbbc2e69
SM
455 * progmodes/cc-langs.el (c-get-state-before-change-functions):
456 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 457
817e5c3d
MA
4582012-03-02 Michael Albinus <michael.albinus@gmx.de>
459
dbbc2e69
SM
460 * jka-compr.el (jka-compr-call-process):
461 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
462 not remote.
463
a032a702
MA
4642012-03-01 Michael Albinus <michael.albinus@gmx.de>
465
466 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
467 access of FILE2, if FILE1 does not exist.
468
99a54f21
MA
469 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
470 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
471
472 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
473 Add "PAGER=" to `process-environment'.
474
f6561e1f
MM
4752012-03-01 Michael R. Mauger <mmaug@yahoo.com>
476
477 * progmodes/sql.el: Bug fix
478 (sql-get-login-ext): Save login values in globals.
479 (sql-get-login): Use new version of `sql-get-login-ext'.
480 (sql-interactive-mode): Set global `sql-connection' to nil.
481 (sql-connect): Set global values for connection.
482 (sql-product-interactive): Save global values as buffer local.
483
2d44d9cc
LL
4842012-02-29 Leo Liu <sdl.web@gmail.com>
485
486 * abbrev.el (define-abbrevs): Reset sys to nil.
487
96b49301 4882012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
489
bf7f9bc5
JB
490 * files.el (file-equal-p): Rename from `files-equal-p'.
491 Return nil when one or both files don't exist.
96b49301 492 (file-subdir-of-p): Now only top directory must exists,
493 return nil if it doesn't.
bf7f9bc5
JB
494 (copy-directory): No need to test with `file-subdir-of-p' after
495 creating dir.
496 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
497 to `file-equal-p'.
96b49301 498
44e97401
GM
4992012-02-28 Glenn Morris <rgm@gnu.org>
500
501 * shell.el (shell-mode):
502 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
503 * play/landmark.el (landmark-font-lock-face-O):
504 * play/handwrite.el (handwrite):
505 * play/gomoku.el (gomoku-O):
506 * net/browse-url.el (browse-url-browser-display):
507 * international/mule.el (define-charset):
508 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
509 * filesets.el (filesets-find-file-delay):
510 * eshell/em-xtra.el (eshell-xtra):
511 * eshell/em-unix.el (eshell-grep):
512 * emulation/viper.el (viper-mode):
513 * emacs-lisp/regexp-opt.el (regexp-opt-group):
514 * emacs-lisp/easymenu.el (easy-menu-define):
515 * calendar/timeclock.el (timeclock-use-display-time):
516 * bs.el (bs-mode):
517 * bookmark.el (bookmark-save-flag):
518 Doc fix (standardize possessive apostrophe usage).
519
c98c6276
CY
5202012-02-27 Chong Yidong <cyd@gnu.org>
521
bf7f9bc5
JB
522 * emulation/viper-cmd.el (viper-intercept-ESC-key):
523 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 524
c98c6276
CY
525 * font-lock.el (font-lock-specified-p): Rename from
526 font-lock-spec-present. Callers changed.
527
9c62cd04 5282012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 529
bf7f9bc5
JB
530 * emacs-lisp/package.el (package-compute-transaction):
531 Handle holding a package version to t in package-load-list.
8ac9e529 532
530739c9
MA
5332012-02-26 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
536 (tramp-get-inode, tramp-get-device): Use cached values.
537
487915d7
AM
5382012-02-26 Alan Mackenzie <acm@muc.de>
539
540 Check there is a font-lock specification before doing initial
541 fontification.
542
543 * font-core.el (font-lock-mode): Move the conditional from
544 :after-hook to font-lock-initial-fontify.
545 (font-lock-default-function): Move the check for a specification
546 to font-lock-spec-present.
547
548 * font-lock.el (font-lock-initial-fontify): call ...
549 (font-lock-spec-present): New function.
550
4fd96557
JB
5512012-02-26 Jim Blandy <jimb@red-bean.com>
552
553 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
554 (gdb-send): Apply it to the operand of the '-interpreter-exec
555 console' command, so that we can pass arguments with (say) quotes
556 in them. Store exact string sent in gdb-debug-log (Bug#10765).
557
9a4888c0
CY
5582012-02-26 Chong Yidong <cyd@gnu.org>
559
07498861
CY
560 * help-fns.el (describe-function-1): Clarify description of
561 remapping (Bug#10844).
562
9a4888c0
CY
563 * files.el (files-equal-p): Doc fix.
564 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
565 and quit the loop once a mismatch is found.
566
ea8fb88d
JB
5672012-02-25 Juanma Barranquero <lekktu@gmail.com>
568
569 * bs.el (bs--show-with-configuration): Don't throw an error
570 if the window cannot be split; otherwise, subsequent calls to
571 bs-show fail, restoring a stale window config. (Bug#10882)
572
525795c1
JD
5732012-02-25 Jan Djärv <jan.h.d@swipnet.se>
574
575 * term/ns-win.el (global-map): Bind ns-drag-file to
576 ns-find-file (Bug#5855, Bug#10050).
577
f008086f
AS
5782012-02-25 Andreas Schwab <schwab@linux-m68k.org>
579
580 * calendar/parse-time.el (parse-time-string): Allow extractor to
581 return nil.
582
a3fcfa99
MA
5832012-02-25 Michael Albinus <michael.albinus@gmx.de>
584
91027d08
JB
585 * net/tramp.el (tramp-file-name-for-operation):
586 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
587
588 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
589 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
590 Add COPY-CONTENTS argument.
a3fcfa99 591
67b0de11
CY
5922012-02-25 Chong Yidong <cyd@gnu.org>
593
594 Add custom groups for VC backends, for consistency with vc-bzr.
595
596 * vc/vc-arch.el (vc-arch):
597 * vc/vc-cvs.el (vc-cvs):
598 * vc/vc-git.el (vc-git):
599 * vc/vc-hg.el (vc-hg):
600 * vc/vc-mtn.el (vc-mtn):
601 * vc/vc-rcs.el (vc-rcs):
602 * vc/vc-sccs.el (vc-sccs):
603 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
604 All relevant defcustoms reassigned.
605
3c9dfce6
CY
6062012-02-25 Chong Yidong <cyd@gnu.org>
607
1339bf43
CY
608 * newcomment.el (comment-styles): Add autoload (Bug#10868).
609
3c9dfce6
CY
610 * term/x-win.el (x-initialize-window-system): Reduce default for
611 x-selection-timeout to 5 seconds (Bug#8869).
612
53a46cd0 6132012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 614
53a46cd0 615 * files.el (file-subdir-of-p): Fix typo.
14a8a663 616
25b2e303 6172012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
618
ec70a47d
GM
619 * files.el (files-equal-p, file-subdir-of-p): New functions.
620 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 621 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
622 * dired-aux.el (dired-copy-file-recursive): Same.
623 (dired-create-files): Modify destination when source is equal to
624 dest when copying files.
53a46cd0 625 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 626
914260cd
MA
6272012-02-24 Michael Albinus <michael.albinus@gmx.de>
628
629 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
630 (Bug#10874)
631
2cb228f7
AM
6322012-02-23 Alan Mackenzie <acm@muc.de>
633
634 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
635 parameter "after-hook:" to allow the expansion to run code after
636 the execution of the mode hooks.
637
638 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 639 from font-lock-mode-internal.
2cb228f7 640
91027d08 641 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
642 :after-hook.
643
8f0fde21
SM
6442012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
645
3e88618b
SM
646 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
647 (completion--cache-all-sorted-completions): New function.
648 (completion-all-sorted-completions): Use it.
649 (completion--do-completion, minibuffer-force-complete):
650 Use it to re-instate the flush hook.
651
8f0fde21
SM
652 * icomplete.el (icomplete-completions): Replace last fix with a better
653 one (bug#10850).
654
8e911f6f
DG
6552012-02-23 Dmitry Gutov <dgutov@yandex.ru>
656
657 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
658 when it might call us back infinitely (bug#10797).
659
49fe4321
GM
6602012-02-23 Glenn Morris <rgm@gnu.org>
661
662 * minibuffer.el (completion-category-overrides): Doc fix.
663
b291b572
SM
6642012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * minibuffer.el (completion-table-with-context): Fix inf-loop.
667 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
668
31a9ef2e
GM
6692012-02-23 Glenn Morris <rgm@gnu.org>
670
5e6e6794 671 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
672 (authors-obsolete-files-regexps, authors-ignored-files)
673 (authors-ambiguous-files, authors-renamed-files-alist):
674 Add more entries.
675
0bd1e074
JL
6762012-02-23 Juri Linkov <juri@jurta.org>
677
678 * isearch.el (isearch-occur): Sync interactive spec with occur's
679 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
680
b617673c
JL
681 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
682
19e9789e
JL
6832012-02-22 Juri Linkov <juri@jurta.org>
684
685 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
686 (ucs-insert): Doc fix. Check for hex digits in the string.
687 Don't display `nil' in the error message. (Bug#10857)
688
f41ce09d
AM
6892012-02-22 Alan Mackenzie <acm@muc.de>
690
7a71b18d 691 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 692
ac2eceee
GM
6932012-02-22 Glenn Morris <rgm@gnu.org>
694
695 * ffap.el (ffap-c-path):
696 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
697
abd1f678
CY
6982012-02-22 Chong Yidong <cyd@gnu.org>
699
700 * custom.el (load-theme): Doc fix.
701
f25aef2e
GM
7022012-02-22 Glenn Morris <rgm@gnu.org>
703
704 * dired-x.el (dired-guess-shell-alist-default):
705 Remove escape sequences from nroff output. (Bug#172)
706
5f8dc2ca
GM
7072012-02-21 Glenn Morris <rgm@gnu.org>
708
6ff86ec4
GM
709 * vc/emerge.el (emerge-defvar-local):
710 Set `permanent-local' property rather than unused `preserved'.
711
be3223a3 712 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
713 (picture-mode-map): Use it. (Bug#10860)
714 (picture-mode): Doc fix.
715
3fe58f4f
JB
7162012-02-21 Juanma Barranquero <lekktu@gmail.com>
717
718 * newcomment.el (uncomment-region-default): Remove unused binding.
719
f9a998c3
GM
7202012-02-21 Glenn Morris <rgm@gnu.org>
721
722 * textmodes/picture.el (picture-motion, picture-motion-reverse)
723 (picture-self-insert, picture-tab-chars): Doc fix.
724 (picture-mode-map): Fix C-a, C-e.
725
c6029348
GM
7262012-02-20 Glenn Morris <rgm@gnu.org>
727
728 * emacs-lisp/authors.el (authors-aliases): Add another entry.
729
ab1ce9d7
LL
7302012-02-20 Leo Liu <sdl.web@gmail.com>
731
732 * icomplete.el (icomplete-completions): Check FROM arg before
733 passing to substring (Bug#10850).
734
0fd40f89
CY
7352012-02-19 Chong Yidong <cyd@gnu.org>
736
737 * comint.el: Require ansi-color.
738 (comint-output-filter-functions): Add ansi-color-process-output.
739
740 * ansi-color.el: Don't set comint-output-filter-functions; it is
741 now in the initial value defined in comint.el.
742 (ansi-color-apply-face-function): New variable.
743 (ansi-color-apply-on-region): Use it.
744 (ansi-color-apply-overlay-face): New function.
745
746 * shell.el (shell): No need to require ansi-color.
747 (shell-mode): Use ansi-color-apply-face-function to highlight
748 color escapes using font-lock-face property (Bug#10835).
749
20af2394
CY
7502012-02-19 Chong Yidong <cyd@gnu.org>
751
752 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
753 mode-line formats (Bug#10839).
754
e23a3fbe
GM
7552012-02-18 Glenn Morris <rgm@gnu.org>
756
b474519e
GM
757 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
758
759 * mail/undigest.el (unforward-rmail-message): Doc fix.
760
e23a3fbe
GM
761 * saveplace.el (save-place-ignore-files-regexp): Add :version.
762
57939ff4
EZ
7632012-02-18 Eli Zaretskii <eliz@gnu.org>
764
765 * international/characters.el (script-list): Sync with the latest
766 Unicode Character Database.
767
0c23686e
AS
7682012-02-18 Andreas Schwab <schwab@linux-m68k.org>
769
770 * international/titdic-cnv.el: Remove duplicate coding tag.
771 * language/cham.el: Likewise.
772 * language/tai-viet.el: Likewise.
773
6818b449
GM
7742012-02-18 Glenn Morris <rgm@gnu.org>
775
776 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
777 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
778 (calendar-bahai-all-holidays-flag, calendar-other-dates):
779 * calendar/diary-lib.el (diary-abbreviated-year-flag):
780 * calendar/holidays.el (holiday-bahai-holidays)
781 (calendar-holidays, list-holidays):
782 Use utf-8 Bahá'í in doc-strings, menus, etc.
783
0311a3fc
TH
7842012-02-17 Tassilo Horn <tassilo@member.fsf.org>
785
786 * saveplace.el (save-place-ignore-files-regexp): New variable
787 allowing for excluding files from saving their location of point.
788 The default value matches the temporary commit message editing
789 files from Git, SVN, Bazaar, and Mercurial.
790 (save-place-to-alist): Use it.
791
eb864a71
LM
7922012-02-17 Lawrence Mitchell <wence@gmx.li>
793 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * newcomment.el (uncomment-region-default): Don't leave extra space
796 when an arg is provided (bug#8150).
797
ee0ce425
TZ
7982012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
799
eb864a71 800 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 801
95ddf442
GM
8022012-02-17 Glenn Morris <rgm@gnu.org>
803
804 * net/socks.el: Require network-stream. (Bug#10599)
805
48dd1e39 8062012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
807
808 * international/charprop.el:
809 * international/uni-name.el:
810 * international/uni-old-name.el:
811 * international/uni-comment.el: Regenerate.
812
d68cd087
GM
8132012-02-16 Glenn Morris <rgm@gnu.org>
814
815 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
816 Interactively in calendar buffer, give an error if not on a date.
817
13932042
GM
8182012-02-15 Glenn Morris <rgm@gnu.org>
819
820 * shell.el (shell-delimiter-argument-list):
821 Revert 2011-02-17 change. (Bug#8027)
822
c3a70e2b
CY
8232012-02-15 Chong Yidong <cyd@gnu.org>
824
60236b0d
CY
825 * minibuffer.el (completion-at-point-functions): Doc fix.
826
c3a70e2b
CY
827 * custom.el (defcustom): Doc fix; note use of defvar.
828
9f26dc24
GM
8292012-02-15 Glenn Morris <rgm@gnu.org>
830
831 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
832 Doc fixes.
833
6546b134
GM
8342012-02-14 Glenn Morris <rgm@gnu.org>
835
836 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
837
d29b2b4c
LI
8382012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
839
840 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
841 way the ports list is computed.
835bdcba
LI
842 (smtpmail-query-smtp-server): Prompt the user for a port number if
843 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 844
08dcdbc9
TZ
8452012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
846
847 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
848
2605051a
GM
8492012-02-13 Glenn Morris <rgm@gnu.org>
850
851 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
852
7ee99f32
TZ
8532012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
854
855 * net/gnutls.el (gnutls-trustfiles): New variable.
856 (gnutls-negotiate): Use it.
857
5f0af64f
LI
8582012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
859
860 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
861 does its stuff if Gnus is running.
862
c14fcc95
AM
8632012-02-13 Alan Mackenzie <acm@muc.de>
864
865 Fix a loop in c-set-fl-decl-start.
866
7a71b18d 867 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
868 c-backward-syntactic-ws actually moves backwards.
869
142b4d90
LL
8702012-02-13 Leo Liu <sdl.web@gmail.com>
871
872 * net/rcirc.el (rcirc-markup-attributes): Move point to the
873 beginning so that all \C-o chars are removed.
874
fa9958a6
TZ
8752012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
876
877 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
878 tag.
879
0bc5886a
AM
8802012-02-12 Alan Mackenzie <acm@muc.de>
881
882 Fix infinite loop with long macros.
883 * cc-engine.el (c-state-safe-place): Handle macros properly.
884
d4bd55e7
CY
8852012-02-12 Chong Yidong <cyd@gnu.org>
886
887 * window.el (display-buffer): Doc fix (Bug#10785).
888
66f3fe22
GM
8892012-02-12 Glenn Morris <rgm@gnu.org>
890
bd7da63e
GM
891 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
892 (x-disown-selection-internal, x-get-selection-internal):
893 Sync docs with the xselect.c versions.
894
66f3fe22
GM
895 * allout-widgets.el: Add missing license notice.
896
3e0d2fa7
GM
8972012-02-11 Glenn Morris <rgm@gnu.org>
898
cfecdf09
GM
899 * select.el (x-get-selection-internal, x-own-selection-internal)
900 (x-disown-selection-internal):
901 * x-dnd.el (x-get-selection-internal): Update declarations.
902
6d216d7f
GM
903 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
904
2bed3f04
GM
905 * window.el (window-sides-slots):
906 * tool-bar.el (tool-bar-position):
907 * term/xterm.el (xterm-extra-capabilities):
908 * ses.el (ses-self-reference-early-detection):
909 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
910 (verilog-auto-wire-type)
911 (verilog-auto-delete-trailing-whitespace)
912 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
913 (verilog-auto-tieoff-declaration):
914 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
915 (sql-oracle-statement-starters, sql-oracle-scan-on):
916 * progmodes/prolog.el (prolog-align-comments-flag)
917 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
918 (prolog-left-indent-regexp, prolog-paren-indent-p)
919 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
920 (prolog-types, prolog-mode-specificators)
921 (prolog-determinism-specificators, prolog-directives)
922 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
923 (prolog-electric-dot-flag)
924 (prolog-electric-dot-full-predicate-template)
925 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
926 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
927 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
928 (prolog-program-switches, prolog-prompt-regexp)
929 (prolog-debug-on-string, prolog-debug-off-string)
930 (prolog-trace-on-string, prolog-trace-off-string)
931 (prolog-zip-on-string, prolog-zip-off-string)
932 (prolog-use-standard-consult-compile-method-flag)
933 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
934 (prolog-imenu-max-lines, prolog-info-predicate-index)
935 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
936 (prolog-char-quote-workaround):
937 * progmodes/cc-vars.el (c-defun-tactic):
938 * net/tramp.el (tramp-encoding-command-interactive)
939 (tramp-local-end-of-line):
940 * net/soap-client.el (soap-client):
941 * net/netrc.el (netrc-file):
942 * net/gnutls.el (gnutls):
943 * minibuffer.el (completion-category-overrides)
944 (completion-cycle-threshold)
945 (completion-pcm-complete-word-inserts-delimiters):
946 * man.el (Man-name-local-regexp):
947 * mail/feedmail.el (feedmail-display-full-frame):
948 * international/characters.el (glyphless-char-display-control):
949 * eshell/em-ls.el (eshell-ls-date-format):
950 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
951 (lisp-lambda-list-keyword-parameter-indentation)
952 (lisp-lambda-list-keyword-parameter-alignment):
953 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
954 * dired-x.el (dired-omit-verbose):
955 * cus-theme.el (custom-theme-allow-multiple-selections):
956 * calc/calc.el (calc-highlight-selections-with-faces)
957 (calc-lu-field-reference, calc-lu-power-reference)
958 (calc-note-threshold):
959 * battery.el (battery-mode-line-limit):
960 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
961 (archive-7z-update):
962 * allout.el (allout-prefixed-keybindings)
963 (allout-unprefixed-keybindings)
964 (allout-inhibit-auto-fill-on-headline)
965 (allout-flattened-numbering-abbreviation):
966 * allout-widgets.el (allout-widgets-auto-activation)
967 (allout-widgets-icons-dark-subdir)
968 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
969 (allout-widgets-theme-dark-background)
970 (allout-widgets-theme-light-background)
971 (allout-widgets-item-image-properties-emacs)
972 (allout-widgets-item-image-properties-xemacs)
973 (allout-widgets-run-unit-tests-on-load)
974 (allout-widgets-time-decoration-activity)
975 (allout-widgets-hook-error-post-time)
976 (allout-widgets-track-decoration):
977 Add missing :version tags to new defcustoms and defgroups.
978
5fec1b8e
GM
979 * progmodes/sql.el (sql-ansi-statement-starters)
980 (sql-oracle-statement-starters): Add custom type.
981
3e0d2fa7
GM
982 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
983 (prolog-system-version): Give it a type.
984
90b671e2
EZ
9852012-02-11 Eli Zaretskii <eliz@gnu.org>
986
987 * term/pc-win.el (x-select-text, x-selection-owner-p)
988 (x-own-selection-internal, x-disown-selection-internal)
989 (x-get-selection-internal): Sync doc strings and argument lists
990 with xselect.c, common-win.el and x-win.el. (Bug#10783)
991
5eac0c02
LL
9922012-02-11 Leo Liu <sdl.web@gmail.com>
993
994 * progmodes/python.el (python-end-of-statement): Fix infinite
995 loop. (Bug#10788)
996
f82cb659
GM
9972012-02-10 Glenn Morris <rgm@gnu.org>
998
999 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1000 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1001
cc26d239
LI
10022012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1003
1004 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1005 about SMTP before checking the From header.
1006
91027d08 1007 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1008 into own function for reuse by emacsbug.el.
1009
1be3ca5a
LL
10102012-02-10 Leo Liu <sdl.web@gmail.com>
1011
1012 * subr.el (condition-case-unless-debug): Rename from
1013 condition-case-no-debug. All callers changed.
1014 (with-demoted-errors): Fix caller.
1015
1016 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1017 * nxml/rng-valid.el (rng-do-some-validation):
1018 * emacs-lisp/package.el (package-refresh-contents)
1019 (package-menu-execute):
1020 * desktop.el (desktop-create-buffer):
91027d08 1021 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1022
b011fbfe
GM
10232012-02-10 Glenn Morris <rgm@gnu.org>
1024
b2096d72
GM
1025 * textmodes/bibtex.el:
1026 Add missing :version tags for new/changed defcustoms.
1027
b011fbfe
GM
1028 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1029
4c7e65bf
LI
10302012-02-09 Lars Ingebrigtsen <larsi@rusty>
1031
1032 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1033 (smtpmail-via-smtp): Use it, or fall back on the From address.
1034 (smtpmail-send-it): Ditto.
1035
f3934f6f
SM
10362012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1039 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1040 (byte-compile-tmp-var): New const.
1041 (byte-compile-defvar): Use it to minimize .elc size.
1042 Just use `defvar' rather than simulate it (bug#10761).
1043
a075a2c5
GM
10442012-02-09 Glenn Morris <rgm@gnu.org>
1045
cf3aa21b
GM
1046 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1047
354998cd
GM
1048 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1049 Add :version tags.
1050
83274125 1051 * progmodes/compile.el (compilation-first-column)
34c071c6 1052 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 1053
dab3703d
GM
1054 * vc/log-view.el (log-view-toggle-entry-display):
1055 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1056
3f88cd72
GM
1057 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1058 (report-emacs-bug-can-use-xdg-email):
1059 (report-emacs-bug-insert-to-mailer): Doc fixes.
1060 (report-emacs-bug): Message fix.
1061
d95b247d
GM
1062 * net/browse-url.el (browse-url-can-use-xdg-open)
1063 (browse-url-xdg-open): Doc fixes.
1064
a075a2c5
GM
1065 * electric.el (electric-indent-mode, electric-pair-mode)
1066 (electric-layout-rules, electric-layout-mode): Doc fixes.
1067 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1068
ffb6157e
MR
10692012-02-08 Martin Rudalics <rudalics@gmx.at>
1070
1071 * server.el (server-unselect-display): Don't inadvertently kill
1072 the current buffer. (Bug#10729)
1073
e1ac4066
GM
10742012-02-08 Glenn Morris <rgm@gnu.org>
1075
34e8a2da
GM
1076 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1077 (sql-list-table): Doc fixes.
1078
b4ac6e8c
GM
1079 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1080 Comment out (does nothing).
1081
e1ac4066
GM
1082 * completion.el (dynamic-completion-mode):
1083 * dirtrack.el (dirtrack-debug-mode):
1084 * electric.el (electric-layout-mode):
1085 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1086 * face-remap.el (text-scale-mode, buffer-face-mode):
1087 * iimage.el (iimage-mode):
1088 * image-mode.el (image-transform-mode):
1089 * minibuffer.el (completion-in-region-mode):
1090 * scroll-lock.el (scroll-lock-mode):
1091 * simple.el (next-error-follow-minor-mode):
1092 * tar-mode.el (tar-subfile-mode):
1093 * tooltip.el (tooltip-mode):
1094 * vcursor.el (vcursor-use-vcursor-map):
1095 * wid-browse.el (widget-minor-mode):
1096 * emulation/tpu-edt.el (tpu-edt-mode):
1097 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1098 * international/iso-ascii.el (iso-ascii-mode):
1099 * language/thai-util.el (thai-word-mode):
1100 * mail/supercite.el (sc-minor-mode):
1101 * net/goto-addr.el (goto-address-mode):
1102 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1103 * progmodes/cwarn.el (cwarn-mode):
1104 * progmodes/flymake.el (flymake-mode):
1105 * progmodes/glasses.el (glasses-mode):
1106 * progmodes/hideshow.el (hs-minor-mode):
1107 * progmodes/pascal.el (pascal-outline-mode):
1108 * textmodes/enriched.el (enriched-mode):
1109 * vc/smerge-mode.el (smerge-mode):
1110 Doc fixes (minor mode argument).
1111
5e0d957f
EZ
11122012-02-07 Eli Zaretskii <eliz@gnu.org>
1113
1114 * ls-lisp.el (ls-lisp-sanitize): New function.
1115 (ls-lisp-insert-directory): Use it to fix or remove any elements
1116 in file-alist with missing attributes. (Bug#4673)
1117
98d7371e
AM
11182012-02-07 Alan Mackenzie <acm@muc.de>
1119
1120 Fix spurious recognition of c-in-knr-argdecl.
1121
1122 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1123 putative K&R region.
1124
667ced3a
AM
11252012-02-07 Alan Mackenzie <acm@muc.de>
1126
eb864a71
LM
1127 * progmodes/cc-engine.el (c-forward-objc-directive):
1128 Prevent looping in "#pragma mark @implementation".
667ced3a 1129
5b77774d
MA
11302012-02-07 Michael Albinus <michael.albinus@gmx.de>
1131
1132 * notifications.el (notifications-on-closed-signal): Make `reason'
1133 optional. (Bug#10744)
1134
af008560
GM
11352012-02-07 Glenn Morris <rgm@gnu.org>
1136
60d47423
GM
1137 * emacs-lisp/easy-mmode.el (define-minor-mode):
1138 Doc fixes for the macro and the mode it defines.
1139
dd605cc4
GM
1140 * image.el (imagemagick-types-inhibit): Doc fix.
1141
af008560
GM
1142 * cus-start.el (imagemagick-render-type): Add it.
1143
5cc59a37
LI
11442012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1145
1146 * progmodes/cc-mode.el
1147 (c-standard-font-lock-fontify-region-function): Set the default at
1148 load time, too, so that `font-lock-fontify-buffer' can be called
1149 without setting up the entire mode first. This fixes a bug in
1150 `mm-inline-text' with C MIME parts.
1151
9a6dd747
CY
11522012-02-06 Chong Yidong <cyd@gnu.org>
1153
2d16b285
CY
1154 * simple.el (list-processes--refresh): Delete exited processes
1155 (Bug#8094).
1156
171e9b6e
CY
1157 * comint.el (comint-next-prompt): next-single-char-property-change
1158 and prev-single-char-property-change never return nil (Bug#8657).
1159
9a6dd747
CY
1160 * custom.el (defcustom): Doc fix (Bug#9711).
1161
aa4589a7
CY
11622012-02-05 Chong Yidong <cyd@gnu.org>
1163
5c2a252f
CY
1164 * cus-edit.el (custom-variable-reset-backup): Quote the value
1165 before storing it in the customized-value property (Bug#6712).
4aab9006 1166 (custom-display): Add a customization type tag.
983b9602 1167 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1168
aa4589a7
CY
1169 * wid-edit.el (widget-field-value-get): New optional arg to
1170 suppress trailing whitespace truncation.
1171 (character): Use it (Bug#2689).
1172
1ff980ae
AS
11732012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1174
1175 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1176 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1177
03988c98
CY
11782012-02-05 Chong Yidong <cyd@gnu.org>
1179
eeb6cc88
CY
1180 * cus-edit.el (custom-variable-value-create): For mismatched
1181 types, show the current value (Bug#7600).
1182
03988c98
CY
1183 * custom.el (defcustom): Doc fix.
1184
f8cdeef0
GM
11852012-02-05 Glenn Morris <rgm@gnu.org>
1186
1187 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1188
0696d255
JB
11892012-02-05 Juanma Barranquero <lekktu@gmail.com>
1190
1191 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1192 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1193 (pp-last-sexp): Use `looking-at-p'.
1194
34c99998
GM
11952012-02-04 Glenn Morris <rgm@gnu.org>
1196
8f05da42
GM
1197 * files.el (revert-buffer):
1198 Doc fix (mention revert-buffer-in-progress-p).
1199
f160676e
GM
1200 * emacs-lisp/ert-x.el (ert-simulate-command):
1201 Check deferred-action-list (which is obsolete) is bound.
1202
c7291ad9
GM
1203 * subr.el (with-wrapper-hook): Doc fixes.
1204
34c99998
GM
1205 * simple.el (filter-buffer-substring-functions)
1206 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1207
6283a7d3
LL
12082012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1209
1210 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1211 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1212
e96e3013
LL
12132012-02-04 Leo Liu <sdl.web@gmail.com>
1214
1215 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1216
8ded50f2
GM
12172012-02-04 Glenn Morris <rgm@gnu.org>
1218
82ff1d13
GM
1219 * image.el (image-extension-data): Add obsolete alias.
1220
987a0a16
GM
1221 * isearch.el (isearch-update): Doc fix.
1222
ea32ef46
GM
1223 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1224
8ded50f2
GM
1225 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1226
eea14f31
GM
12272012-02-03 Glenn Morris <rgm@gnu.org>
1228
1229 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1230 (image-animate-timeout): Doc fix.
1231
1232 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1233
12f381b7
GM
12342012-02-02 Glenn Morris <rgm@gnu.org>
1235
953cebf5
GM
1236 * server.el (server-auth-dir): Doc fix.
1237 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1238
12f381b7
GM
1239 * subr.el (run-mode-hooks): Doc fix.
1240
953a8c3b
JL
12412012-02-02 Juri Linkov <juri@jurta.org>
1242
1243 * image-mode.el (image-toggle-display-image): Remove tautological
1244 `major-mode' from the `derived-mode-p' test.
1245
c5d3843c
KH
12462012-02-02 Kenichi Handa <handa@m17n.org>
1247
9f6e692e 1248 * composite.el (compose-region): Cancel previous change.
c5d3843c 1249
159462d4 12502012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1251
1252 * composite.el (compose-region, compose-string): Signal error for
1253 a null string component (Bug#6988).
1254
9f562668
CY
12552012-02-01 Chong Yidong <cyd@gnu.org>
1256
e2cef717
CY
1257 * view.el (view-buffer-other-window, view-buffer-other-frame):
1258 Handle special modes like view-buffer (Bug#10650).
1259 (view-buffer): Simplify.
1260
9f562668
CY
1261 * frame.el (set-frame-font): Tweak meaning of third argument.
1262
9f6e692e
JB
1263 * dynamic-setting.el (font-setting-change-default-font):
1264 Use set-frame-font (Bug#9982).
9f562668 1265
781acb9f
GM
12662012-02-01 Glenn Morris <rgm@gnu.org>
1267
6035be52
GM
1268 * progmodes/compile.el (compilation-internal-error-properties):
1269 Respect compilation-first-column in the "*compilation*" buffer.
1270
781acb9f
GM
1271 * emacs-lisp/easy-mmode.el (define-minor-mode):
1272 Relax :variable's test for a named function.
1273
abbceb00
AM
12742012-01-31 Alan Mackenzie <acm@muc.de>
1275
1276 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1277 off by one error.
1278
fce3fdeb
CY
12792012-01-31 Chong Yidong <cyd@gnu.org>
1280
1281 * frame.el (set-frame-font): New arg ALL-FRAMES.
1282
1283 * menu-bar.el (menu-set-font): Use set-frame-font.
1284
1285 * faces.el (face-spec-reset-face): Don't apply unspecified
1286 attribute values to the default face.
1287
47893581
JB
12882012-01-31 Juanma Barranquero <lekktu@gmail.com>
1289
1290 * progmodes/cwarn.el (cwarn): Remove dead link.
1291 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1292 Remove * from defcustom docstrings.
1293 (turn-on-cwarn-mode): Make obsolete.
1294 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1295 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1296
e58e988a
GM
12972012-01-31 Glenn Morris <rgm@gnu.org>
1298
60dc2671 1299 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1300 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1301 Allow named functions to be used as the cdr of :variable.
e58e988a 1302
7a3f511d
GM
13032012-01-30 Glenn Morris <rgm@gnu.org>
1304
1305 * emacs-lisp/authors.el (authors-fixed-entries):
1306 Remove reference to deleted file rnewspost.el.
1307
cb882333
JB
13082012-01-29 Juanma Barranquero <lekktu@gmail.com>
1309
1310 * window.el (window-with-parameter): Remove unused variable `windows'.
1311 (window--side-check): Remove unused variable `code'.
1312 (window--resize-siblings): Remove unused variable `first'.
1313 (adjust-window-trailing-edge): Remove unused variable `failed'.
1314 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1315 Use `let', not `let*'.
1316 (balance-windows-2): Remove unused variable `found'.
1317 (window--state-put-2): Remove unused variable `splits'.
1318 (window-state-put): Remove unused variable `selected'.
1319 (same-window-p): Use `string-match-p'.
1320 (display-buffer-assq-regexp): Remove unused variable `value'.
1321 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1322 Mark argument ALIST as ignored.
1323 (pop-to-buffer): Remove unused variable `old-window'.
1324
907201af
EZ
13252012-01-29 Eli Zaretskii <eliz@gnu.org>
1326
1327 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1328 and .lzma compressed files.
1329
ea162670
CY
13302012-01-29 Chong Yidong <cyd@gnu.org>
1331
5b95ee8a
CY
1332 * frame.el (window-system-default-frame-alist): Doc fix.
1333
ea162670
CY
1334 * dynamic-setting.el (font-setting-change-default-font): Don't
1335 change the default face if SET-FONT argument is non-nil (Bug#9982).
1336
d6e6f4b1
SB
13372012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1338
1339 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1340
0f29fa41 13412012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1342
1343 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1344 breakpoints in files outside current directory (Bug#6098).
1345
db174434
CY
13462012-01-29 Chong Yidong <cyd@gnu.org>
1347
6b25e4e2
SE
1348 * progmodes/python.el: Require ansi-color at top-level.
1349
6df6ae42
JB
1350 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1351 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1352 (lisp-mode-abbrev-table): Add doc.
1353 (lisp-mode-variables): Don't set local-abbrev-table.
1354 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1355
e70ee681
RW
13562012-01-28 Roland Winkler <winkler@gnu.org>
1357
1358 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1359
ace88aa2
RW
13602012-01-28 Roland Winkler <winkler@gnu.org>
1361
1362 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1363 (bibtex-set-dialect): Use it. Either set global values of
1364 dialect-dependent variables or bind these variables buffer-locally
1365 (Bug#10254).
1366 (bibtex-mode): Call bibtex-set-dialect via
1367 hack-local-variables-hook.
eb864a71
LM
1368 (bibtex-dialect): Update docstring.
1369 Add safe-local-variable predicate.
ace88aa2
RW
1370 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1371 bibtex-set-dialect.
1372 (bibtex-mode-map): Define menu for each dialect.
1373 (bibtex-entry): Fix docstring.
1374
93376c5b
CY
13752012-01-28 Chong Yidong <cyd@gnu.org>
1376
1377 * eshell/esh-arg.el (eshell-quote-argument): New function.
1378
1379 * eshell/esh-ext.el (eshell-invoke-batch-file):
1380 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1381 first arg to eshell-parse-command (Bug#10523).
1382
4372494f
DA
13832012-01-28 Drew Adams <drew.adams@oracle.com>
1384
1385 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1386 `default-directory' is non-nil.
1387
4d4ec1f8
EZ
13882012-01-28 Eli Zaretskii <eliz@gnu.org>
1389
1390 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1391 line that displays system-configuration-options. (Bug#9924)
1392
7c188927
DA
13932012-01-28 Drew Adams <drew.adams@oracle.com>
1394
1395 * descr-text.el (describe-char): Show information about POS, in
1396 addition to information about the character at POS. Improve and
1397 update the doc string. Change "code point" to "code point in
1398 charset", to avoid confusion with the character's Unicode code
1399 point shown above that. (Bug#10129)
1400
e0da685a
EZ
14012012-01-28 Eli Zaretskii <eliz@gnu.org>
1402
1403 * descr-text.el (describe-char): Show the raw character, not only
1404 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1405 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1406 for the reasons.
1407
70550acf
PH
14082012-01-28 Phil Hagelberg <phil@hagelb.org>
1409
eb864a71
LM
1410 * emacs-lisp/package.el (package-install):
1411 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1412
0ce8e868
CY
14132012-01-28 Chong Yidong <cyd@gnu.org>
1414
cb882333
JB
1415 * emacs-lisp/package.el (package-maybe-load-descriptor):
1416 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1417 (package-maybe-load-descriptor): Use it.
1418 (package-download-transaction): Fully load required packages
1419 inside the loop, so that `require' calls work (Bug#10593).
1420 (package-install): No need to call package-initialize now.
1421
2e7f3bea
CY
14222012-01-28 Chong Yidong <cyd@gnu.org>
1423
6e9bad14
CY
1424 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1425
f823b8ca
CY
1426 * tooltip.el (tooltip-mode): Doc fix.
1427 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1428
2680c309
CY
1429 * frame.el (set-cursor-color): Doc fix (Bug#352).
1430
d7a9e63b
CY
1431 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1432 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1433
2e7f3bea
CY
1434 * cus-edit.el (custom-buffer-create-internal): Fix search button
1435 action (Bug#10542).
2ae01800 1436 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1437
fc4f7a23
EW
14382012-01-27 Eduard Wiebe <usenet@pusto.de>
1439
1440 * dired.el (dired-mark-files-regexp):
1441 Include any subdirectory components. (Bug#10445)
1442
7dd37071
ML
14432012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1444
1445 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1446 Handle [host]:port syntax. (Bug#10533)
1447
a268160b
AH
14482012-01-27 Alex Harsanyi <harsanyi@mac.com>
1449
1450 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1451
e43273ef
GM
14522012-01-26 Glenn Morris <rgm@gnu.org>
1453
1454 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1455 * term.el (term-raw-escape-map): Use Control-X-prefix.
1456 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1457
1edf595d
MR
14582012-01-25 Martin Rudalics <rudalics@gmx.at>
1459
1460 * window.el (window-state-get, window--state-get-1): Don't deal
1461 with fixed-sizeness of windows. Simplify code.
1462
fa8eafef
JC
14632012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1464
6df6ae42
JB
1465 * window.el (window--state-get-1, window--state-put-2):
1466 Don't save and restore the mark.
fa8eafef 1467
0b21c100
CY
14682012-01-25 Chong Yidong <cyd@gnu.org>
1469
1470 * custom.el (custom-variable-p): Doc fix.
1471
5ae1a6c8
GM
14722012-01-25 Glenn Morris <rgm@gnu.org>
1473
40047858
GM
1474 * dired.el (dired-goto-file): Handle some of the more common
1475 characters that `ls -b' escapes. (Bug#10596)
1476
5ddce96c
GM
1477 * progmodes/compile.el (compilation-next-error-function):
1478 Respect compilation-first-column in the "*compilation*" buffer.
1479 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1480
5ae1a6c8
GM
1481 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1482
b559f1a9
GM
14832012-01-24 Glenn Morris <rgm@gnu.org>
1484
1485 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1486
6725d21a
JD
14872012-01-24 Julien Danjou <julien@danjou.info>
1488
1489 * color.el (color-rgb-to-hsl): Fix value computing.
1490 (color-hue-to-rgb): New function.
1491 (color-hsl-to-rgb): New function.
1492 (color-clamp, color-saturate-hsl, color-saturate-name)
1493 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1494 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1495
70df4bbe
GM
14962012-01-24 Glenn Morris <rgm@gnu.org>
1497
1498 * vc/vc-rcs.el (vc-rcs-create-tag):
1499 * vc/vc-sccs.el (vc-sccs-create-tag):
1500 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1501
802a2ae2
ML
15022012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1503
1504 * eshell/esh-util.el (eshell-read-hosts-file):
1505 Skip comment lines. (Bug#10549)
1506
d7128bb1
ML
1507 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1508
d1a5c3b4
JB
15092012-01-23 Juanma Barranquero <lekktu@gmail.com>
1510
2724d9c7
JB
1511 * subr.el (display-delayed-warnings): Doc fix.
1512 (collapse-delayed-warnings): New function to collapse identical
1513 adjacent warnings.
1514 (delayed-warnings-hook): Add it.
d1a5c3b4 1515
a5509865
MA
15162012-01-22 Michael Albinus <michael.albinus@gmx.de>
1517
1518 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1519
1520 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1521 properties, when "login-as" is set.
1522
1523 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1524 (tramp-default-user-alist): Don't add "pscp".
1525 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1526 property "login-as", if set. (Bug#10530)
1527
cc6d5805
MA
15282012-01-21 Michael Albinus <michael.albinus@gmx.de>
1529
1530 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1531 "plink1" and "psftp". (Bug#10530)
1532
15332012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1534
1535 * international/mule-cmds.el (prefer-coding-system): Show a
1536 warning message if the default value of file-name-coding-system
1537 was not changed.
1538
f0960428
JC
15392012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1540
cb882333
JB
1541 * windmove.el (windmove-reference-loc):
1542 Fix windmove-reference-loc miscalculation.
f0960428 1543
dd6f2a63
JB
15442012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1545
1546 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1547 default unit.
1548
7b447e9b
GM
15492012-01-21 Glenn Morris <rgm@gnu.org>
1550
117a9ea1
GM
1551 * international/mule.el (auto-coding-alist): Add .tbz.
1552
7b447e9b
GM
1553 * files.el (local-enable-local-variables): Doc fix.
1554 (inhibit-local-variables-regexps): Rename from
1555 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1556 Doc fix. Add some extensions from auto-coding-alist.
1557 (inhibit-local-variables-suffixes):
1558 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1559 (inhibit-local-variables-p):
1560 New function, extracted from set-auto-mode-1.
1561 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1562 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1563 (hack-local-variables): Doc fix. Make the mode-only case
1564 respect enable-local-variables and friends.
1565 Respect inhibit-local-variables-regexps for file-locals, but
1566 not for directory-locals.
1567 (set-visited-file-name):
1568 Take account of inhibit-local-variables-regexps.
1569 Whether it applies may change as the file name is changed.
1570 * jka-cmpr-hook.el (jka-compr-install):
1571 * jka-compr.el (jka-compr-uninstall):
1572 Update for inhibit-first-line-modes-suffixes name change.
1573
dd6e3cdd
MR
15742012-01-20 Martin Rudalics <rudalics@gmx.at>
1575
1576 * help-macro.el (make-help-screen): Temporarily restore original
1577 binding for minor-mode-map-alist (Bug#10454).
1578
0d0deb38
JD
15792012-01-19 Julien Danjou <julien@danjou.info>
1580
1581 * color.el (color-name-to-rgb): Use the white color to find the max
1582 color component value and return correctly computed values.
1583 (color-name-to-rgb): Add missing float conversion for max value.
1584
34a02f46
MR
15852012-01-19 Martin Rudalics <rudalics@gmx.at>
1586
1587 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1588 special state value for window-persistent-parameters.
1589 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1590 (window--state-put-2): Reset all window parameters to nil before
1591 assigning values of persistent parameters.
1592
606c44c4
AM
15932012-01-18 Alan Mackenzie <acm@muc.de>
1594
1595 Eliminate sluggishness and hangs in fontification of "semicolon
1596 deserts".
1597
cb882333
JB
1598 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1599 Change value 10000 -> 3000.
606c44c4
AM
1600 (c-state-safe-place): Reformulate so it doesn't stack up an
1601 infinite number of wrong entries in c-state-nonlit-pos-cache.
1602 (c-determine-limit-get-base, c-determine-limit): New functions to
1603 determine backward search limits disregarding literals.
1604 (c-find-decl-spots): Amend commenting.
1605 (c-cheap-inside-bracelist-p): New function which detects "={".
1606
1607 * progmodes/cc-fonts.el
1608 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1609 backward search.
1610 (c-font-lock-declarations): Fix an occurrence of point being
1611 undefined. Check additionally for point being in a bracelist or
1612 near a macro invocation without a semicolon so as to avoid a
1613 fruitless time consuming search for a declarator. Give a more
1614 precise search limit for declarators using the new
1615 c-determine-limit.
1616
f3860cea
GM
16172012-01-18 Glenn Morris <rgm@gnu.org>
1618
1619 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1620 (set-auto-mode): Doc fixes.
1621
1db03b16
GM
16222012-01-17 Glenn Morris <rgm@gnu.org>
1623
0e6038be
GM
1624 * isearch.el (search-nonincremental-instead): Fix doc typo.
1625
1db03b16
GM
1626 * dired.el (dired-insert-directory): Handle newlines in directory name.
1627 (dired-build-subdir-alist): Unescape newlines in directory name.
1628
4cb0aa75
MA
16292012-01-17 Michael Albinus <michael.albinus@gmx.de>
1630
1631 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1632 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1633 (tramp-action-terminal): Use it. (Bug#10530)
1634
1d00653d
SM
16352012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1636
1637 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1638
6a6ee00d
MR
16392012-01-16 Martin Rudalics <rudalics@gmx.at>
1640
1641 * window.el (window-state-ignored-parameters): Remove variable.
1642 (window--state-get-1): Rename argument MARKERS to IGNORE.
1643 Handle persistent window parameters. Make copy of clone-of
1644 parameter only if requested. (Bug#10348)
1645 (window--state-put-2): Install a window parameter only if it has
1646 a non-nil value or an existing parameter shall be overwritten.
1647
97912def
MA
16482012-01-15 Michael Albinus <michael.albinus@gmx.de>
1649
1650 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1651
688070a5
EZ
16522012-01-14 Eli Zaretskii <eliz@gnu.org>
1653
1654 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1655 don't pass the (nil) value of `upnode' to string-match.
1656
301afadc
CY
16572012-01-14 Chong Yidong <cyd@gnu.org>
1658
1659 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1660 Fix values recognized by the cursorBlink resource.
301afadc 1661
9e5788aa
PE
16622012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1663
1664 * epg.el (epg--make-temp-file): Avoid permission race condition
1665 when running on old Emacs versions (bug#10403).
1666
3cdb7f5a
GM
16672012-01-14 Glenn Morris <rgm@gnu.org>
1668
1669 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1670
8c82b1b4
AM
16712012-01-13 Alan Mackenzie <acm@muc.de>
1672
1673 Fix filling for when filladapt mode is enabled.
1674
1675 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1676 c-mask-paragraph, pass in `fill-paragraph' rather than
1677 `fill-region-as-paragraph'. (This is a reversion of a previous
1678 change.)
eb864a71
LM
1679 * progmodes/cc-mode.el (c-basic-common-init):
1680 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1681
e517eda4
GM
16822012-01-13 Glenn Morris <rgm@gnu.org>
1683
1498536e
GM
1684 * dired.el (dired-switches-escape-p): New function.
1685 (dired-insert-directory): Use dired-switches-escape-p.
1686 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1687
e517eda4
GM
1688 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1689
328f984d
GM
16902012-01-12 Glenn Morris <rgm@gnu.org>
1691
1692 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1693 changes in adaptive-fill-regexp. (Bug#10276)
1694
2cc769a8
AM
16952012-01-11 Alan Mackenzie <acm@muc.de>
1696
1697 Fix Emacs bug #10463 - put `widen's around the critical spots.
1698
1d00653d 1699 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1700 widen around each invocation of c-state-pp-to-literal. Remove an
1701 unused let variable.
1702
e52c37fa
GM
17032012-01-11 Glenn Morris <rgm@gnu.org>
1704
1705 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1706 Doc fix.
e52c37fa 1707
96f8741e
CY
17082012-01-10 Chong Yidong <cyd@gnu.org>
1709
1d00653d
SM
1710 * net/network-stream.el (network-stream-open-starttls):
1711 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1712 response to the capability command.
1713
b09a806e
GM
17142012-01-10 Glenn Morris <rgm@gnu.org>
1715
1716 * mail/unrmail.el (unrmail): Tweak previous change.
1717
7655cb66
CY
17182012-01-09 Chong Yidong <cyd@gnu.org>
1719
1720 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1721
9d5a8f0b
AM
17222012-01-08 Alan Mackenzie <acm@muc.de>
1723
1724 Optimise font locking in long enum definitions.
1725
1726 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1727 arm to a cond form to handle enums.
1728 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1729 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1730
9a0115ab 17312012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1732
1733 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1734 (Bug#10401)
6bb72cbd 1735
f186bb95
LMI
17362012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1737
29232a68
LMI
1738 * faces.el (set-face-attribute): Clarify the meaning of the nil
1739 frame (bug#10294).
1740
4e5d086d
LMI
1741 * subr.el (with-selected-frame): Mention that the selected frame
1742 is restored (bug#9980).
1743
8e66aebe
LMI
1744 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1745 (bug#9759).
1746
cd394be1 1747 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1748 (password-read): Don't autoload unused function.
1749
adf4e762
JB
17502012-01-07 Juanma Barranquero <lekktu@gmail.com>
1751
1752 * progmodes/which-func.el (which-func-mode): Turn into a
1753 non-interactive function and mark as obsolete (bug#10428).
1754
89bd9ccd
CY
17552012-01-06 Chong Yidong <cyd@gnu.org>
1756
1757 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1758 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1759 functions, along with 1 and -1.
1760
4afee9d5
EZ
17612012-01-06 Eli Zaretskii <eliz@gnu.org>
1762
1763 * time.el (display-time-load-average)
1764 (display-time-default-load-average): Doc fixes. See the thread
1765 starting at
1766 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1767 for the details.
1768
536aea70
GM
17692012-01-06 Glenn Morris <rgm@gnu.org>
1770
665ae865
GM
1771 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1772 has no messages. (Bug#10377)
1773
c869783d
GM
1774 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1775 than Info-edit. (Bug#10385)
1776
2bb4227e
GM
1777 * time.el (display-time-load-average, display-time-next-load-average):
1778 Doc fixes.
1779
7d5944b9
GM
1780 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1781 local setting of buffer-read-only to the input buffer. (Bug#10419)
1782
536aea70
GM
1783 * calendar/calendar.el (calendar-mode):
1784 Locally set scroll-margin to 0. (Bug#10379)
1785
7dccca16
UM
17862012-01-06 Ulrich Mueller <ulm@gentoo.org>
1787
1788 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1789
afbb7930
GM
17902012-01-05 Glenn Morris <rgm@gnu.org>
1791
1792 * eshell/em-unix.el (diff-no-select): Autoload it.
1793 (eshell/diff): Use diff-no-select. (Bug#10420)
1794
04482335
CY
17952012-01-05 Chong Yidong <cyd@gnu.org>
1796
7baca3bc
CY
1797 * shell.el (shell-dynamic-complete-functions): Revert last change.
1798 (shell-command-completion-function): New function.
1799 (shell-completion-vars): Use it to implement
1800 shell-completion-execonly (Bug#10417).
1801
04482335
CY
1802 * custom.el (enable-theme): Don't set custom-safe-themes.
1803
1d00653d
SM
1804 * cus-theme.el (custom-theme-merge-theme):
1805 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1806
bb5aa5d6
MM
18072012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1808
1809 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1810 first prompt in `sql-interacive-mode'.
1811 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1812 keywords.
6df6ae42 1813 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1814 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1815 context of original buffer. Invoke `sql-login-hook'.
1816
a7183d7c
EZ
18172012-01-04 Eli Zaretskii <eliz@gnu.org>
1818
1819 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1820 letters in cite-prefix.
1821
a1eacd1e
LMI
18222012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1823
1824 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1825
787cdb34
CY
18262012-01-03 Chong Yidong <cyd@gnu.org>
1827
1d00653d
SM
1828 * shell.el (shell-dynamic-complete-functions):
1829 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1830 comint-filename-completion first (Bug#10417).
1831
30710442
RS
18322012-01-02 Richard Stallman <rms@gnu.org>
1833
1834 * battery.el (battery-status-function):
1835 Detect when to use battery-yeeloong-sysfs.
1836 (battery-echo-area-format): Add string for Yeeloong.
1837 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1838 (battery-yeeloong-sysfs): New function.
1839
f75bfc33
CY
18402012-01-02 Chong Yidong <cyd@gnu.org>
1841
1842 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1843 (dirtrack): Merge code for handling relative filenames in prompt
1844 from shell-dir-cookie-watcher.
1845 (dirtrack-debug-message): New arg to avoid excess format calls.
1846
1847 * shell.el (shell-dir-cookie-re): Variable deleted.
1848 (shell-dir-cookie-watcher): Function deleted.
1849 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1850 with dirtrack-mode.
1851
651e947e
EZ
18522012-01-01 Eli Zaretskii <eliz@gnu.org>
1853
1d00653d
SM
1854 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1855 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1856 libgnutls-26.dll.
1857
94d4c7dc
AS
18582011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1859
1860 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1861
8d43f3cd
EZ
18622011-12-31 Eli Zaretskii <eliz@gnu.org>
1863
1864 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1865 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1866
98c8795a
MA
18672011-12-29 Michael Albinus <michael.albinus@gmx.de>
1868
1869 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1870 also for alternative shells.
1871 (tramp-open-connection-setup-interactive-shell): Check, whether
1872 the shell is a busybox.
1873 (tramp-send-command): Don't suppress multiple prompts for
1874 busyboxes, it hurts.
1875
51281b32
CY
18762011-12-28 Chong Yidong <cyd@gnu.org>
1877
1878 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1879 (gdb-get-source-file): Move mode line update to
1880 gdb-get-source-file (Bug#10087).
1881
2170cb53
CY
18822011-12-25 Chong Yidong <cyd@gnu.org>
1883
1884 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1885 gud-gdb-marker-filter without taking it as an argument.
1886 (gud-gdb-run-command-fetch-lines): Caller changed.
1887 (gud-gdb-completion-function): New variable.
1888 (gud-gdb-completion-at-point): Use it.
1889 (gud-gdb-completions-1): Split from gud-gdb-completions.
1890
1891 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1892 function as separate arguments.
1893 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1894 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1895 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1896 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1897 (gdb-stopped, def-gdb-auto-update-trigger)
1898 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1899 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1900 Callers changed.
2170cb53
CY
1901 (gud-gdbmi-completions): New function.
1902 (gdb): Use it for generating the completion table.
1903
be8b11bb
AM
19042011-12-24 Alan Mackenzie <acm@muc.de>
1905
1906 Introduce a mechanism to widen the region used in context font
1d00653d 1907 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1908
1d00653d
SM
1909 * progmodes/cc-langs.el (c-before-font-lock-functions):
1910 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1911 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1912 functions to be run just before context (etc.) font locking.
1913
1914 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1915 New, functionality extracted from
be8b11bb 1916 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1917 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1918 (c-after-change): Set c-in-after-change-fontification.
1919 (c-set-fl-decl-start): Rejig its interface, so it can be called
1920 from both after-change and context fontifying.
b81d40f0
JB
1921 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1922 New functions.
1923 (c-standard-font-lock-fontify-region-function): New variable.
1924 (c-font-lock-fontify-region): New function.
be8b11bb 1925
341cf6ac
JL
19262011-12-24 Juri Linkov <juri@jurta.org>
1927
1928 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1929 (Bug#10348)
1930
bffcee0a
MA
19312011-12-23 Michael Albinus <michael.albinus@gmx.de>
1932
1933 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1934 existence of source file. (Bug#10325)
1935
cb5e207c
AM
19362011-12-23 Alan Mackenzie <acm@muc.de>
1937
1938 Fix unstable fontification inside templates.
1939
b81d40f0
JB
1940 * progmodes/cc-langs.el (c-before-font-lock-functions):
1941 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1942 additionally has c-set-fl-decl-start. The other languages (apart
1943 from AWK) have that as a single entry.
1944
b81d40f0
JB
1945 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1946 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1947 c-set-fl-decl-start.
1948
b81d40f0
JB
1949 * progmodes/cc-mode.el (c-common-init, c-after-change):
1950 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1951 (c-set-fl-decl-start): New function, extracted from
1952 c-font-lock-enclosing-decls and enhanced.
1953
60ff536c
JB
19542011-12-23 Juanma Barranquero <lekktu@gmail.com>
1955
1956 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1957
1c4757d6
JL
19582011-12-22 Juri Linkov <juri@jurta.org>
1959
1960 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1961
d031f2c7
CY
19622011-12-22 Chong Yidong <cyd@gnu.org>
1963
1964 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1965
bace743a
DA
19662011-12-21 Drew Adams <drew.adams@oracle.com>
1967
1968 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1969
728a1f2b
JC
19702011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1971
1972 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1973
0d373f73
TZ
19742011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1975
fec0aaa4
TZ
1976 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1977 highlighting and support. Fix up comments for capitalization.
1978 (cfengine-mode-debug): New var.
1979 (cfengine3-mode): Change the modeline indicator to "CFE3".
1980 (cfengine3-font-lock-keywords): Improve defun highlighting.
1981 (cfengine2-actions): Rename from `cfengine-actions'.
1982 (cfengine2-font-lock-keywords): Rename from
1983 `cfengine-font-lock-keywords'.
1984 (cfengine2-imenu-expression): Rename from
1985 `cfengine-imenu-expression'.
1986 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1987 (cfengine2-beginning-of-defun): Rename from
1988 `cfengine-beginning-of-defun'.
1989 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1990 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1991 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1992 modeline indicator to "CFE2".
1993 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1994 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1995
bc86f573
CY
19962011-12-21 Chong Yidong <cyd@gnu.org>
1997
1998 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1999 filename argument.
2000
d45ba96b
MR
20012011-12-20 Martin Rudalics <rudalics@gmx.at>
2002
2003 * window.el (window-normalize-buffer-to-display): Remove.
2004 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2005
a6198c90
CY
20062011-12-19 Chong Yidong <cyd@gnu.org>
2007
2008 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2009 Don't signal an error in a predicate function; return non-nil.
2010 (vc-dir-mark-file): Move the error here.
2011 (vc-dir-mark-unmark): If acting on the region, keep going if one
2012 of the entries cannot be marked/unmarked.
2013 (vc-dir-mark-all-files): If current entry is a directory, mark
2014 only child files, as documented.
2015
34c5fb55
VB
20162011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2017
2018 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2019 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2020 addition.
2021
c803b2b7
JD
20222011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2023
2024 * term/ns-win.el (ns-get-selection-internal)
2025 (ns-store-selection-internal): Declare.
1154d12e
JB
2026 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2027 Declare as obsolete.
2028 (ns-get-pasteboard, ns-paste-secondary):
2029 Use ns-get-selection-internal.
2030 (ns-set-pasteboard, ns-copy-including-secondary):
2031 Use ns-store-selection-internal.
c803b2b7 2032
9cff91f8 20332011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2034
2035 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2036 (vc-deduce-fileset): Doc fix.
99a289d9 2037
f16c898a
AS
20382011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2039
2040 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2041
763237c4
SS
20422011-12-13 Sam Steingold <sds@gnu.org>
2043
2044 * man.el (Man-getpage-in-background): When running under a
2045 window-system, ignore $MANWIDTH and $COLUMNS.
2046
5fc1c122
KH
20472011-12-15 Kenichi Handa <handa@m17n.org>
2048
2049 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2050 (setup-ethiopic-environment-internal): Comment out key-binding for
2051 ethio-toggle-punctuation.
2052
13d49cbb
AM
20532011-12-13 Alan Mackenzie <acm@muc.de>
2054
898169a2
AM
2055 Add the switch statement to AWK Mode.
2056
7a71b18d 2057 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2058 "default" to the keywords regexp.
2059
7a71b18d 2060 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2061 expression as the rest.
1d00653d
SM
2062 (c-nonlabel-token-key): Allow string literals for AWK.
2063 Refactor for the other modes.
898169a2 2064
13d49cbb 2065 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2066 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2067 routines. Limit backward searching in c-font-lock-enclosing.decl.
2068
2069 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2070 pp-state and literal type in addition to the limits.
1d00653d 2071 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2072 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2073 (c-slow-in-literal, c-fast-in-literal): Remove.
2074 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2075
2076 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2077 being in a literal. Add a limit for backward searching.
2078
2079 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2080 c-slow-in-literal.
2081
15e0efc7
SM
20822011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2085
454592a6
MR
20862011-12-13 Martin Rudalics <rudalics@gmx.at>
2087
2088 * window.el (delete-other-windows): Use correct frame in call to
2089 window-with-parameter.
2090
87393f26
DP
20912011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2092
2093 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2094 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2095 (makefile-gmake-statements, makefile-makepp-statements):
2096 Use it and add new makepp keywords.
2097 (makefile-makepp-font-lock-keywords): Add new patterns.
2098 (makefile-match-function-end): Match new [...] and [[...]].
2099
11636b22
JB
21002011-12-11 Juanma Barranquero <lekktu@gmail.com>
2101
2102 * ses.el (ses-call-printer-return, ses-cell-property-get)
2103 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2104 (ses-create-cell-variable, ses-reset-header-string)
2105 (ses-cell-set-formula, ses-repair-cell-reference-all)
2106 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2107 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2108 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2109 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2110 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2111 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2112 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2113 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2114 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2115 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2116 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2117 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2118
cf018193
VB
21192011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2120
2121 * ses.el: The overall change is to add cell renaming, that is
2122 setting fancy names for cell symbols other than name matching
2123 "\\`[A-Z]+[0-9]+\\'" regexp .
2124 (ses-create-cell-variable): New defun.
2125 (ses-relocate-formula): Relocate formulas only for cells the
2126 symbols of which are not renamed, i.e. symbols whose names do not
2127 match regexp "\\`[A-Z]+[0-9]+\\'".
2128 (ses-relocate-all): Relocate values only for cells the symbols of
2129 which are not renamed.
2130 (ses-load): Create cells variables as the (ses-cell ...) are read,
2131 in order to check row col consistency with cell symbol name only
2132 for cells that are not renamed.
2133 (ses-replace-name-in-formula): New defun.
2134 (ses-rename-cell): New defun.
2135
ee957461
CY
21362011-12-11 Chong Yidong <cyd@gnu.org>
2137
2138 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2139 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2140
9a9e9ef0
MR
21412011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2142
2143 * window.el (other-window): Fix docstring.
2144
92a8eba5
EZ
21452011-12-10 Eli Zaretskii <eliz@gnu.org>
2146
2147 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2148 `from' or `to' address before taking its substring.
2149 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2150 encoded name is chopped in the middle of the encoded string, and
2151 thus displayed encoded.
2152
e152e577
JB
21532011-12-10 Juanma Barranquero <lekktu@gmail.com>
2154
2155 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2156
e5d84bfe
EZ
21572011-12-10 Eli Zaretskii <eliz@gnu.org>
2158
2159 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2160 to use texinfo-update-node and commands that call it if the
2161 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2162 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2163 (texinfo-all-menus-update, texinfo-master-menu)
2164 (texinfo-update-node, texinfo-every-node-update)
2165 (texinfo-multiple-files-update): Doc fix. Warn against updating
2166 all the @node lines.
2167 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2168 argument is numeric. Explain better in the doc string what the
2169 function really does.
2170 (texinfo-insert-master-menu-list): Improve the error message
2171 displayed if there's no menu in the Top node.
2172 (Bug#2975) See also this thread:
e5d84bfe
EZ
2173 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2174
1d84e9bb
MG
21752011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2176
2177 * speedbar.el (speedbar-supported-extension-expressions):
2178 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2179
382c953b
JB
21802011-12-09 Juanma Barranquero <lekktu@gmail.com>
2181
2182 * printing.el (pr-mode-alist):
2183 * simple.el (filter-buffer-substring-functions)
2184 (completion-list-insert-choice-function):
2185 * window.el (window-with-parameter, window-atom-root)
2186 (window-sides-slots, window-size-fixed, window-min-delta)
2187 (window-max-delta, window--resize-mini-window)
2188 (window--resize-child-windows-normal, window-tree)
2189 (delete-other-windows, quit-window, split-window)
2190 (display-buffer-record-window, special-display-buffer-names)
2191 (special-display-regexps, special-display-popup-frame)
2192 (same-window-p, split-window-sensibly)
2193 (display-buffer-overriding-action, display-buffer-alist)
2194 (display-buffer-base-action, display-buffer, switch-to-buffer)
2195 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2196 (fit-window-to-buffer, recenter-positions)
2197 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2198 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2199 and remove unneeded backslashes in docstrings.
2200
39c9faef
SM
22012011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2202
98449af8
SM
2203 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2204
39c9faef
SM
2205 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2206 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2207 end in ".mk".
2208 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2209 when reading the makefile (bug#10116).
2210
86ed9fdc
SM
22112011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2214 (bug#10116).
2215
5580f89d
GM
22162011-12-06 Glenn Morris <rgm@gnu.org>
2217
2218 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2219
28d3917c
CY
22202011-12-06 Chong Yidong <cyd@gnu.org>
2221
2222 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2223
a98edce9
JB
22242011-12-06 Juanma Barranquero <lekktu@gmail.com>
2225
2226 * textmodes/table.el (table-shorten-cell): Fix typo.
2227
e65adfac
CG
22282011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2229
2230 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2231
71cc0b74
EZ
22322011-12-05 Eli Zaretskii <eliz@gnu.org>
2233
2234 * descr-text.el (describe-char): Fix display of strong
2235 right-to-left characters and directional embeddings and overrides.
2236
2237 * simple.el (what-cursor-position): Fix display of codepoints of
2238 strong right-to-left characters.
2239
315bc30d
CY
22402011-12-05 Chong Yidong <cyd@gnu.org>
2241
2242 * faces.el (read-color): Doc fix.
2243
58a70b94
GM
22442011-12-05 Glenn Morris <rgm@gnu.org>
2245
2246 * align.el (align--set-marker): Add doc-string.
2247 Don't try to move something that is not a marker. (Bug#10216)
2248
5158face
GM
22492011-12-04 Glenn Morris <rgm@gnu.org>
2250
2251 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2252 overly zealous deletion of trailing whitespace.
2253
520fca41
JB
22542011-12-04 Juanma Barranquero <lekktu@gmail.com>
2255
2256 * server.el (server-delete-client): On Windows, do not try to delete
2257 the only terminal.
2258 (server-process-filter): On Windows, treat requests for a tty frame as
2259 if they were for a GUI frame if the running server is in GUI mode.
2260
5e605a2e
GM
22612011-12-03 Glenn Morris <rgm@gnu.org>
2262
2263 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2264
5c3fe83f
SM
22652011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2266
6f5e57e7
SM
2267 * electric.el: Streamline electric-indent's hook.
2268 (electric-indent-chars): Revert to simple list.
2269 (electric-indent-functions): New var.
2270 (electric-indent-post-self-insert-function): Use it.
2271
5c3fe83f
SM
2272 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2273 there's no inferior buffer (bug#10196).
2274 (prolog-consult-compile): Don't use toggle-read-only.
2275
6bdac736
MA
22762011-12-02 Michael Albinus <michael.albinus@gmx.de>
2277
2278 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2279 interrupt. (Bug#10187)
2280
6131ba7f
SM
22812011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2282
99c79fee
SM
2283 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2284 (bug#9160).
2285
6131ba7f
SM
2286 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2287 (bug#10191).
2288
cb0a02ea
JL
22892011-12-02 Juri Linkov <juri@jurta.org>
2290
2291 * info.el (Info-search): Display "end of manual" when Isearch
2292 reaches the end of single-file Info manual. (Bug#9918)
2293
66e0570c
EZ
22942011-12-02 Eli Zaretskii <eliz@gnu.org>
2295
2296 * isearch.el (isearch-message-prefix): Run the input method part
2297 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2298
02b16839
JL
22992011-12-02 Juri Linkov <juri@jurta.org>
2300
2301 * isearch.el (isearch-occur): Use `word-search-regexp' for
2302 `isearch-word'.
2303 (isearch-search-and-update): Add condition for `isearch-word' and
2304 call `word-search-regexp'. (Bug#10145)
2305
0b950688
GM
23062011-12-01 Glenn Morris <rgm@gnu.org>
2307
2308 * eshell/em-hist.el (eshell-hist-initialize):
2309 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2310 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2311
9505c3c7
SM
23122011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2315
1bbe96b2 23162011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2317
a1beca85
SM
2318 * progmodes/verilog-mode.el (verilog-pretty-expr):
2319 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2320 verilog, such as += *= and the like.
2321 (verilog-assignment-operator-re): Regular expression to find the
2322 assigment operator in a verilog assignment.
2323 (verilog-assignment-operation-re): Regular expression to find an
2324 assignment statement for pretty-expr.
2325 (verilog-in-attribute-p): Query returns true if point is in an
2326 attribute context; used to skip these for expression line up from
2327 pretty-expr.
2328 (verilog-in-parameter-p): Query returns true if point is in an
2329 parameter definition context; used to skip these for expression
2330 line up from pretty-expr.
2331 (verilog-in-parenthesis-p): Query returns true if point is in a
2332 parenthetical expression, specifically ( ) but not [ ] or { };
2333 used by pretty-expr.
2334 (verilog-just-one-space): If there is no space, don't add one.
2335 (verilog-get-lineup-indent-2): Specifically skip just attribute
2336 contexts for expression lineup, rather than skipping all
2337 parenthetical expressions.
2338 (verilog-calculate-indent): Fix comment, and fix indent.
2339 (verilog-do-indent): Indent declarations in lists (suggested by
2340 Joachim Lechner).
2341 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2342 skeleton items.
2343 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2344 by Alain Mellan).
2345
1bbe96b2 23462011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2347
2348 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2349 parameters with embedded comments. Reported by Ray Stevens.
2350 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2351 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2352 Reported by Tim Holt.
2353 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2354 instantiated by upper module causing wrong expansion until AUTOed a
2355 second time. Reported by K C Buckenmaier.
2356 (verilog-diff-auto): Fix showing .* as a difference when
2357 `verilog-auto-star-save' off. Reported by Dan Dever.
2358 (verilog-auto-reset, verilog-read-always-signals)
2359 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2360 temporary signals in reset list if
2361 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2362 style to each signal's assignment type, bug381.
2363 Reported by Thomas Esposito.
6288f0ca
WS
2364 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2365 (verilog-uvm-statement-re): Support UVM indentation and
2366 highlighting, with old OVM keywords only.
a1beca85 2367 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2368 Support AUTOTIEOFF creating non-wire data types.
2369 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2370 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2371 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2372 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2373 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2374 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2375 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2376 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2377 non-numeric vector width. Reported by Alex Reed.
2378 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2379 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2380 (verilog-auto-delete-trailing-whitespace):
2381 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2382 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2383 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2384 Fix verilog-scan-cache corruption when running user AUTO expansion
2385 hooks that call indentation routines.
2386 (verilog-simplify-range-expression): Fix typo ignoring lower case
2387 identifiers.
2388 (verilog-delete-auto): Fix delete-autos to also remove user created
2389 automatics, as long as they start with AUTO.
2390 (verilog-batch-diff-auto, verilog-diff-auto)
2391 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2392 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2393 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2394 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2395 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2396 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2397 is disabled and its cache will get corrupt, causing AUTOS not to
2398 expand. Instead use only -quick functions.
2399 (verilog-scan-region): Fix scanning over escaped quotes.
2400 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2401 (verilog-re-search-backward-quick)
2402 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2403 related functions now ignore strings, to fix misparsing of strings
2404 with magic comments embedded in them.
a1beca85
SM
2405 (verilog-read-auto-template):
2406 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2407 Reported by Brad Dobbie.
2408 (verilog-read-auto-template):
2409 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2410 Reported by Brad Dobbie.
6288f0ca
WS
2411 (verilog-auto-inst, verilog-auto-inst-param)
2412 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2413 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2414 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2415 debugging templates without merge conflicts, bug357.
2416 Reported by Brad Dobbie.
2417 (verilog-read-auto-template):
2418 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2419 Reported by Brad Dobbie.
2420 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2421 abbrevs so user won't be asked to save.
2422 (verilog-read-auto-lisp-present): Fix to start at beginning of
2423 buffer in case called outside of verilog-auto.
2424 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2425 to "X-2". Reported by Matthew Myers.
2426 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2427 all inputs from module templates. Reported by Leith Johnson.
2428 (verilog-module-inside-filename-p): Fix locating programs as with
2429 modules.
2430 (verilog-auto-inst-port): Fix vl-width expressions when using
2431 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2432 (verilog-decls-get-regs, verilog-decls-get-signals,
2433 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2434 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2435 verilog-read-decls): Combine reg and wire structures into one var
2436 structure to represent SystemVerilog concepts.
2437 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2438 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2439 (verilog-auto-wire-type, verilog-insert-definition):
2440 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2441 SystemVerilog "logic" keyword instead of "wire"/"reg".
2442 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2443 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2444 ifdef or generate if so there's not a driver conflict).
2445 Reported by Matthew Myers.
2446 (verilog-auto-declare-nettype, verilog-insert-definition):
2447 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2448 `default_nettype none. Reported by Julian Gorfajn.
2449 (verilog-read-always-signals-recurse, verilog-read-decls)
2450 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2451 malformed end statement, bug325. Reported by Joshua Wise and
2452 Andrew Drake.
2453 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2454 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2455 when expanding .* in interfaces, bug320.
2456 Reported by Pierre-David Pfister.
6288f0ca 2457 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2458 name and open parenthesis, bug317.
2459 Reported by Pierre-David Pfister.
6288f0ca
WS
2460 (verilog-simplify-range-expression): Fix simplification of
2461 multiplications inside AUTOWIRE connections, bug303.
2462 (verilog-auto-inst-port): Support parameter expansion in
2463 multidimensional arrays.
2464 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2465 after "assert property". Reported by Julian Gorfajn.
2466 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2467 with multiplication, bug303.
2468 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2469 Reported by Jan Frode Lonnum.
2470
1bbe96b2
GM
24712011-11-30 Juanma Barranquero <lekktu@gmail.com>
2472
2473 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2474 (hfy-shell-file-name, hfy-shell):
2475 * international/fontset.el (x-decompose-font-name): Fix typos.
2476
24772011-11-29 Ken Brown <kbrown@cornell.edu>
2478
2479 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2480 (gdb-version): Remove defvar.
2481 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2482 (gdb-gud-context-command, gdb-non-stop-handler)
2483 (gdb-current-context-command, gdb-stopped): Use it.
2484 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2485 (gdb-non-stop-handler): Don't enable pretty-printing here.
2486 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2487 non-stop mode. Use the following.
2488 (gdb-check-target-async): New defun.
2489 (gud-watch, gdb-stopped): Fix whitespace.
2490 (gdb-get-source-file): Don't try to display the source file if
2491 `gdb-main-file' is nil.
2492
24932011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * align.el: Try to generate fewer markers (bug#10047).
2496 (align--set-marker): New macro.
2497 (align-region): Use it.
2498
c935221f
SM
24992011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2502
e70b5064
CY
25032011-11-29 Chong Yidong <cyd@gnu.org>
2504
2505 * indent.el (indent-for-tab-command, indent-according-to-mode):
2506 Doc fix.
2507 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2508
f3af92b7
MA
25092011-11-29 Michael Albinus <michael.albinus@gmx.de>
2510
2511 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2512 aware of remote file names. (Bug#10124)
2513
ed472be9
CY
25142011-11-29 Chong Yidong <cyd@gnu.org>
2515
2516 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2517
24510c22
SM
25182011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * files.el (find-file): Don't use force-same-window (bug#10144).
2521 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2522 use pop-to-buffer if the selected window can't be used.
2523 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2524
c60c3703
EZ
25252011-11-28 Eli Zaretskii <eliz@gnu.org>
2526
2527 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2528 special-mode-map.
2529
e95def75
CY
25302011-11-28 Chong Yidong <cyd@gnu.org>
2531
2532 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2533
c3f1c606
NR
25342011-11-27 Nick Roberts <nickrob@snap.net.nz>
2535
2536 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2537 gdb-get-source-file-list on gdb-create-source-file-list.
2538
00db469c
EZ
25392011-11-26 Eli Zaretskii <eliz@gnu.org>
2540
2541 * whitespace.el (whitespace-newline): Use a different foreground
2542 color for 16-color light-background displays.
2543
4ad3bc2a
CY
25442011-11-24 Chong Yidong <cyd@gnu.org>
2545
2546 * window.el (display-buffer--special-action): Doc fix.
2547
e9fce1ac
JB
25482011-11-25 Juanma Barranquero <lekktu@gmail.com>
2549
2550 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2551 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2552 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2553 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2554 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2555 (avl-tree-stack-first):
2556 * emacs-lisp/cconv.el (cconv--analyse-use):
2557 * net/gnutls.el (gnutls-negotiate): Fix typos.
2558
cb825e5d
GM
25592011-11-24 Glenn Morris <rgm@gnu.org>
2560
3adbe224
GM
2561 * lpr.el (lpr-windows-system, lpr-lp-system):
2562 * mail/binhex.el (binhex-begin-line):
2563 * progmodes/grep.el (grep-history, grep-find-history):
2564 * textmodes/flyspell.el:
2565 * vc/pcvs-defs.el (cvs-global-menu):
2566 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2567 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2568 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2569
321decc8
GM
2570 * net/tls.el: Fix case of "GnuTLS".
2571
420b63ad
GM
2572 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2573
cb825e5d
GM
2574 * version.el (emacs-build-system): Give it a doc-string.
2575
a0649f08
JL
25762011-11-24 Juri Linkov <juri@jurta.org>
2577
2578 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2579
c0bc0fd4
GM
25802011-11-24 Glenn Morris <rgm@gnu.org>
2581
2582 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2583 if called on a non-mime message just toggle the headers. (Bug#8006)
2584
20db1522
JB
25852011-11-24 Juanma Barranquero <lekktu@gmail.com>
2586
2587 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2588 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2589 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2590 (allout-rebullet-heading, allout-open-sibtopic)
2591 (allout-toggle-current-subtree-encryption)
2592 (allout-toggle-subtree-encryption, allout-encrypt-string)
2593 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2594 (allout-distinctive-bullets-string, allout-auto-activation):
2595 * window.el (window-normalize-buffer-to-display):
2596 * progmodes/verilog-mode.el (verilog-batch-indent):
2597 * textmodes/bibtex.el (bibtex-field-braces-opt)
2598 (bibtex-field-strings-opt):
2599 * vc/cvs-status.el (cvs-tree-merge):
2600 Fix typos.
2601
7262a87c
MA
26022011-11-23 Michael Albinus <michael.albinus@gmx.de>
2603
2604 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2605 `non-essential' to t, in order to avoid remote connections.
2606
283430a1
EZ
26072011-11-23 Eli Zaretskii <eliz@gnu.org>
2608
a1beca85
SM
2609 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2610 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2611 case-insensitively.
2612
d2992a38
ML
26132011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2614
2615 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2616
50419064
GM
26172011-11-23 Glenn Morris <rgm@gnu.org>
2618
da94eca1
GM
2619 * paths.el (rmail-file-name): Reformat the doc-string so that it
2620 is picked up.
2621
9aac4de2
GM
2622 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2623 (rmail-auto-file): Ignore case in the "special" field names,
2624 as mail-fetch-field does for all others.
2625
8038d2d2
GM
2626 * mail/rmail.el (rmail-forward):
2627 * mail/rmailkwd.el (rmail-set-label):
2628 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2629 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2630
f3fe222a
GM
2631 * mail/rmail.el (rmail-current-message): Doc fix.
2632
50419064
GM
2633 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2634
28109f49
SM
26352011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2638
394c65f1
GM
26392011-11-22 Glenn Morris <rgm@gnu.org>
2640
2641 * mail/rmailmm.el (test-rmail-mime-handler)
2642 (test-rmail-mime-bulk-handler)
2643 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2644
f2a0aa3a
JL
26452011-11-21 Juri Linkov <juri@jurta.org>
2646
1154d12e
JB
2647 * calc/calc.el (calc-read-key-sequence):
2648 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2649
9c34a344
LMI
26502011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2651
2652 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2653 Tell the caller that the next line needs recomputation, even
2654 though it doesn't start a sexp (bug#10094).
2655
f04a3be9
SM
26562011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2657
2658 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2659
7978747f
SM
26602011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2661
f04a3be9
SM
2662 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2663 Use force-same-window.
7978747f 2664
fe7a3057
JB
26652011-11-20 Juanma Barranquero <lekktu@gmail.com>
2666
2667 * descr-text.el (describe-char-unicode-data):
2668 * json.el (json-string-escape):
2669 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2670 (Footnote-unicode, Footnote-style-p):
2671 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2672
24901d61
CY
26732011-11-20 Chong Yidong <cyd@gnu.org>
2674
2675 * window.el (replace-buffer-in-windows): Restore interactive spec.
2676
bac7ff22
SM
26772011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2678
24f3d7b9
SM
2679 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2680
bac7ff22
SM
2681 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2682 (byte-compile-global-not-obsolete-vars): New var.
2683 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2684 Use it.
2685 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2686
cd1181db
JB
26872011-11-20 Juanma Barranquero <lekktu@gmail.com>
2688
2689 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2690 * progmodes/pascal.el (electric-pascal-equal):
2691 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2692 * xml.el (xml-substitute-special): Fix typos.
2693
7fb18e9e
GM
26942011-11-20 Glenn Morris <rgm@gnu.org>
2695
2696 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2697 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2698 Doc fixes.
2699 (rmail-decode-mime-charset): Mark as obsolete.
2700
2701 * mail/rmailsum.el (rmail-message-regexp-p-1):
2702 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2703 Before using mime functions, check they are set. (Bug#10077)
2704
d5a6b3ba
JL
27052011-11-19 Juri Linkov <juri@jurta.org>
2706
2707 * info.el (Info-finder-find-node): Use `package--builtins' instead
2708 of `package-alist'. Use node names formed by the pattern "Keyword "
2709 and the keyword name.
2710
e981b61f
AS
27112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2712
1d00653d 2713 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2714
3ffbc301
JL
27152011-11-19 Juri Linkov <juri@jurta.org>
2716
2717 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2718 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2719 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2720 `old-history', `old-history-forward'. Add let-binding
2721 `window-selected'. Remove calls to `kill-buffer',
2722 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2723 before calling `Info-find-node', so `Info-find-node-2' will reread
2724 the Info file. Restore window positions only when `window-selected'
2725 is non-nil.
2726
30c62133
JL
27272011-11-19 Juri Linkov <juri@jurta.org>
2728
2729 * isearch.el (isearch-lazy-highlight-new-loop):
2730 Remove condition `(not isearch-error)'. (Bug#9918)
2731
2732 * misearch.el (multi-isearch-search-fun): Add condition
2733 `(not bound)' to ignore lazy-highlighting search.
2734 Add the search-failed message "end of multi" when the end of
2735 multi-sequence is reached. Uncapitalize the search-failed
2736 message "Repeat for next buffer".
2737
2738 * info.el (Info-search): Add the search-failed message
2739 "end of the manual" when the end of the manual is reached
2740 in Isearch mode.
2741
645ca9cf
JL
27422011-11-19 Juri Linkov <juri@jurta.org>
2743
2744 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2745 Use non-destructive `remove' instead of `delete' because
2746 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2747 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2748
df754f66
JL
27492011-11-19 Juri Linkov <juri@jurta.org>
2750
2751 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2752 to nil instead of binding `search-ring' and `regexp-search-ring'.
2753 (Bug#9185)
2754
0e23d96a
EZ
27552011-11-19 Eli Zaretskii <eliz@gnu.org>
2756
2757 * simple.el (line-move): Force movement by logical lines for any
2758 hscrolled window, not only when auto-hscroll-mode is on.
2759 (line-move-visual): Update doc string to that effect. (Bug#10076)
2760
8a6ccb66
AS
27612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2762
2763 * language/european.el (macintosh): Define as alias for mac-roman.
2764
49ae5b39
EZ
27652011-11-19 Eli Zaretskii <eliz@gnu.org>
2766
2767 * mail/rmailmm.el (rmail-mime-display-header)
2768 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2769 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2770 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2771 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2772 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2773 of a raw aref.
2774 (rmail-mime-entity-segment): To get past the tagline, move forward
2775 2 more lines, to account for the 2 empty lines that precede and
2776 follow the line with the buttons.
2777 (rmail-mime-update-tagline): Move one more line, to get past the
2778 empty line that follows the buttons in the tagline. (Bug#9520)
2779
c56cad4a
MR
27802011-11-19 Martin Rudalics <rudalics@gmx.at>
2781
2782 * window.el (window-max-delta-1, window-min-delta-1)
2783 (window-min-size-1, window-state-get-1, window-state-put-1)
2784 (window-state-put-2): Use "window--" prefix.
2785
cbe71af3
SM
27862011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2787
2ad52c60
SM
2788 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2789 (smie-warning-count): New var.
2790 (smie-set-prec2tab): Use it.
2791 (smie-bnf->prec2): Improve warnings. Add docstring.
2792 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2793 (smie-bnf--set-class): New function.
2794 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2795 corner case.
2796
6944dbc1
SM
2797 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2798 (compilation-error-properties, compilation-move-to-column):
2799 Handle compilation-first-column while in the target buffer.
2800
c400c4d7
SM
2801 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2802 Don't hardcode point-min==1.
2803
6dbe3e96
SM
2804 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2805 (eshell-rewrite-for-command): Remove workaround.
2806 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2807 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2808 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2809
cbe71af3
SM
2810 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2811
a8e1496d
GM
28122011-11-17 Glenn Morris <rgm@gnu.org>
2813
2814 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2815 Ignore buffer-local generated-autoload-file if it is the same
2816 as the global value. (Bug#10049)
2817
df85d315
JB
28182011-11-17 Juanma Barranquero <lekktu@gmail.com>
2819
2820 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2821 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2822 (reftex-toc-previous-heading, reftex-toc-max-level)
2823 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2824 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2825 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2826 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2827 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2828 (reftex-toc-rename-label, reftex-toc-visit-location)
2829 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2830 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2831 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2832 leaving "*toc*" only for references to the buffer.
2833
a0c2d0ae
MR
28342011-11-17 Martin Rudalics <rudalics@gmx.at>
2835
2836 * window.el (window-resize, delete-window, split-window):
2837 Replace window-splits by window-combination-resize.
1d00653d 2838 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2839
35c0bac8
GM
28402011-11-17 Glenn Morris <rgm@gnu.org>
2841
2842 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2843 Make bash entry derive from sh entry, not shell entry.
2844
d0c8fc8a
MA
28452011-11-16 Michael Albinus <michael.albinus@gmx.de>
2846
d0c8fc8a
MA
2847 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2848 properties of linked files. (Bug#9879)
2849
7262a87c
MA
2850 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2851 local file name.
2852
7877f373
JB
28532011-11-16 Juanma Barranquero <lekktu@gmail.com>
2854
2855 * menu-bar.el (menu-bar-file-menu):
2856 * printing.el (pr-ps-utility):
2857 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2858 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2859 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2860 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2861 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2862 (icalendar--convert-cyclic-to-ical)
2863 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2864 (icalendar--convert-ical-to-diary)
2865 (icalendar--convert-recurring-to-diary)
2866 (icalendar--convert-non-recurring-all-day-to-diary)
2867 (icalendar-import-format-sample):
2868 * progmodes/idlw-shell.el (idlwave-shell-mode):
2869 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2870 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2871 (vhdl-ps-print-init): Fix typos.
2872
10649b82
KM
28732011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2874
9d0cfcd6
GM
2875 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2876 FSF and collapse date sequence, obscure author/maintainer email address
2877 better, remove extra version line, track relocation of author's webpage.
10649b82 2878
9d0cfcd6
GM
2879 * progmodes/python.el (python-pdbtrack-input-prompt)
2880 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2881 regular python pdb prompts. Adjustments shamelessly taken exactly as
2882 suggested in EmacsWiki page (tiny change):
2883 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2884
58179cce
JB
28852011-11-16 Juanma Barranquero <lekktu@gmail.com>
2886
2887 * expand.el (expand-pos, expand-index, expand-point):
2888 Remove redundant info from docstring.
2889 (expand-add-abbrevs): Doc fix.
2890 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2891 (expand-sample-perl-mode-expand-list): Fix typos.
2892
2893 * net/dbus.el (dbus-event-member-name):
2894 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2895 * term/pc-win.el (msdos-create-frame-with-faces):
2896 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2897
b6f67890
MR
28982011-11-16 Martin Rudalics <rudalics@gmx.at>
2899
2900 * window.el (split-window, window-state-get-1)
2901 (window-state-put-1, window-state-put-2): Rename occurrences of
2902 window-nest to window-combination-limit.
1d00653d 2903 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2904
ce7ddba0
CY
29052011-11-16 Chong Yidong <cyd@gnu.org>
2906
2907 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2908 regexp (Bug#10033).
2909
3ae704f4
SM
29102011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2913 `completing-read' will remove *Completions* and will preserve
2914 current-buffer for us.
2915 (tmm-add-prompt): Users of *Completions* will always (re)set its
2916 major mode.
2917 (tmm-old-comp-map): Remove.
2918
6ad1cdde
GM
29192011-11-16 Glenn Morris <rgm@gnu.org>
2920
2921 * mail/rmailedit.el: Require rmailmm when compiling.
2922 (rmail-old-mime-state): New declaration.
2923 (rmail-edit-current-message): If editing a mime message,
2924 edit the "raw" message from the mbox buffer.
2925 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2926
d20faa20
GM
29272011-11-15 Glenn Morris <rgm@gnu.org>
2928
2929 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2930 which wasn't being used. Add optional arg to force given state.
2931 (rmail-mime): Add optional arg to force given state.
2932
c7015153
JB
29332011-11-15 Juanma Barranquero <lekktu@gmail.com>
2934
2935 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2936 * frame.el (display-mm-dimensions-alist):
2937 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2938 (outline-move-subtree-down):
2939 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2940 (newsticker--treeview-do-get-node):
2941 * net/quickurl.el (quickurl-list-buffer-name):
2942 * progmodes/dcl-mode.el (dcl-mode):
2943 * progmodes/gdb-mi.el (gdb-mapcar*):
2944 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2945
45261b50
GM
29462011-11-15 Glenn Morris <rgm@gnu.org>
2947
2948 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2949 in a boolean sense, so just make it a boolean, and fix the doc.
2950 (rmail-show-mime-function, rmail-mime-feature)
2951 (rmail-require-mime-maybe): Doc fixes.
2952 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2953
2954 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2955
0d26e0b6
JB
29562011-11-15 Juanma Barranquero <lekktu@gmail.com>
2957
2958 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2959 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2960 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2961 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2962
447f30f6
GM
29632011-11-15 Glenn Morris <rgm@gnu.org>
2964
672b871d
GM
2965 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2966 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2967 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2968 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2969 (rmail-mime, rmail-show-mime): Doc fixes.
2970
f6aa5bb1
GM
2971 * term/ns-win.el (mode-line-frame-identification):
2972 Leave it alone. (Bug#10051)
2973
947cd66b
GM
2974 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2975
447f30f6
GM
2976 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2977 Handle empty buffers. (Bug#9978)
2978
0b381c7e
JB
29792011-11-14 Juanma Barranquero <lekktu@gmail.com>
2980
2981 * international/mule.el (define-charset):
2982 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2983 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2984 * progmodes/verilog-mode.el (verilog-backward-token):
2985 * textmodes/ispell.el (lookup-words):
2986 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2987
71e027ac
GM
29882011-11-14 Glenn Morris <rgm@gnu.org>
2989
56632ce4
GM
2990 * progmodes/executable.el
2991 (executable-make-buffer-file-executable-if-script-p):
2992 Handle file-modes returning nil.
2993
40500957
GM
2994 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2995 message - not necessary, and causes problems. (Bug#9831)
2996
071c2340
GM
2997 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2998
d3cfca60
GM
2999 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3000
71e027ac
GM
3001 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3002 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3003 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3004
89d61221
MR
30052011-11-12 Martin Rudalics <rudalics@gmx.at>
3006
3007 * window.el (window-resize, delete-window): Use window-splits
3008 variable instead of function.
3009 (window-state-get-1, window-state-put-2, window-state-put):
3010 Don't deal with windows' splits status.
3011
98282f6f
GM
30122011-11-12 Glenn Morris <rgm@gnu.org>
3013
3014 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3015 (apropos-documentation): Doc fixes.
3016
40a8bdf6
JB
30172011-11-11 Juanma Barranquero <lekktu@gmail.com>
3018
3019 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3020 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3021
65bd19ff
SM
30222011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * electric.el (electric-indent-post-self-insert-function): Make it
3025 possible for a char to only indent in some circumstances.
3026 (electric-indent-mode): Simplify.
3027
54f9154c
MR
30282011-11-11 Martin Rudalics <rudalics@gmx.at>
3029
3030 * window.el (windows-with-parameter): Remove unused function.
3031 (windows-at-side): Rename to window-at-side-list.
3032 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3033 (window-side-check, window-size-ignore, window-size-fixed-1)
3034 (window-in-direction-2): Prefix with "window--".
3035 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3036
68cbc58b
GM
30372011-11-11 Glenn Morris <rgm@gnu.org>
3038
3039 * subr.el (eval-after-load): If FILE is already loaded,
3040 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3041
b2621720
GM
30422011-11-10 Glenn Morris <rgm@gnu.org>
3043
9a4de110
GM
3044 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3045 Call svn via vc-svn-command rather than vc-do-command.
3046 (vc-svn-command): Add --non-interactive. (Bug#9993)
3047 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3048
b2621720
GM
3049 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3050 Add toggle-read-only. (Bug#7292)
3051 * files.el (toggle-read-only): Mention that it should only
3052 be used interactively. (Bug#10006)
3053
1dce7193
SM
30542011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3055
d9ac1a1e
SM
3056 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3057 Adjust regexp for OCaml warnings.
3058
0c325082
SM
3059 * electric.el (electric-pair-post-self-insert-function): Let user
3060 turn it off buffer-locally (bug#9932).
3061
90132c14
SM
3062 * progmodes/python.el (python-beginning-of-statement):
3063 Rewrite (bug#2703).
3064
1dce7193
SM
3065 * progmodes/compile.el: Better handle TABs (bug#9749).
3066 (compilation-internal-error-properties)
3067 (compilation-next-error-function): Obey the target buffer's
3068 compilation-error-screen-columns.
3069
c4e7c63a
JB
30702011-11-09 Juanma Barranquero <lekktu@gmail.com>
3071
3072 * progmodes/meta-mode.el: Remove obsolete comments.
3073 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3074 Fix typos in docstrings.
3075
2cffd681
MR
30762011-11-09 Martin Rudalics <rudalics@gmx.at>
3077
3078 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3079 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3080 (window--resizable): New function. Make all callers of
3081 window-resizable call window--resizable instead.
3082 (window-resizable): Rewrite in terms of window--resizable.
3083
0edcba87
GM
30842011-11-08 Glenn Morris <rgm@gnu.org>
3085
3086 * progmodes/delphi.el (delphi-mode-syntax-table):
3087 Let define-derived-mode define a proper syntax table. (Bug#9994)
3088
4b0d61e3
SM
30892011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * window.el: Stay away from defsubst.
3092 (window-list-no-nils): Remove.
3093 (window-state-get-1, window-state-get): Use backquote instead.
3094
cd394be1 30952011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3096
4b0d61e3 3097 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3098 Fix incorrect use of default argument in `completing-read'.
3099
e1c2c6f2
MR
31002011-11-08 Martin Rudalics <rudalics@gmx.at>
3101
3102 * window.el (display-buffer-function, special-display-function):
3103 Mention display-buffer-record-window but do not mention
3104 help-setup parameter in doc-strings.
b3f4a882 3105 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3106
105216ed
CY
31072011-11-08 Chong Yidong <cyd@gnu.org>
3108
3109 * window.el (window-total-height, window-total-width): Doc fix.
3110 (window-body-size): Move from C.
3111 (window-body-height, window-body-width): Move to C.
3112
0a9f9ab5
SM
31132011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * window.el: Make special-display like display-buffer-alist (bug#9532).
3116 (display-buffer--special-action): New function, morphed
3117 from display-buffer--special.
3118 (display-buffer): Use it to handle special-display-buffers at higher
3119 priority (just after display-buffer-alist).
3120 (display-buffer-fallback-action, display-buffer--other-frame-action)
3121 (pop-to-buffer-same-window): Remove display-buffer--special.
3122
a769dd15
GM
31232011-11-07 Glenn Morris <rgm@gnu.org>
3124
3125 * calendar/cal-menu.el (cal-menu-set-date-title):
3126 Do nothing if not in a calendar. (Bug#9976)
3127
05a61ee3
SM
31282011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * files.el (find-file): Always use selected-window.
3131
be7f5545
MR
31322011-11-07 Martin Rudalics <rudalics@gmx.at>
3133
3134 * window.el (window-combinations): Make WINDOW argument
3135 mandatory. Rewrite doc-string.
3136 (walk-window-subtree, window-atom-check, window-min-delta)
3137 (window-max-delta, window--resize-this-window)
3138 (window--resize-root-window-vertically, window-tree)
3139 (balance-windows, window-state-put): Rewrite doc-strings as to
3140 not mention the term "subwindow".
3141 (window--resize-subwindows-skip-p): Rename to
3142 window--resize-child-windows-skip-p.
3143 (window--resize-subwindows-normal): Rename to
3144 window--resize-child-windows-normal.
3145 (window--resize-subwindows): Rename to
3146 window--resize-child-windows.
3147 (window-or-subwindow-p): Rename to window--in-subtree-p.
3148
3c6702ef
ML
31492011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3150
3151 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3152 Ensure that mbox format messages end in two newlines (Bug#9974).
3153
49745b39
CY
31542011-11-06 Chong Yidong <cyd@gnu.org>
3155
3156 * window.el (window-combination-p): Function deleted; its
3157 side-effect is not used in any existing code.
3158 (window-combinations, window-combined-p): Call window-*-child
3159 directly.
3160
24300f5f
CY
31612011-11-05 Chong Yidong <cyd@gnu.org>
3162
3163 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3164 (window-size-ignore, window-state-get): Callers changed.
3165 (window-normalize-window): Rename from window-normalize-any-window.
3166 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3167 (window-normalize-live-window): Delete.
447f16b8
CY
3168 (window-combination-p, window-combined-p, window-combinations)
3169 (walk-window-subtree, window-atom-root, window-min-size)
3170 (window-sizable, window-sizable-p, window-size-fixed-p)
3171 (window-min-delta, window-max-delta, window-resizable)
3172 (window-resizable-p, window-full-height-p, window-full-width-p)
3173 (window-current-scroll-bars, window-point-1, set-window-point-1)
3174 (window-at-side-p, window-in-direction, window-resize)
3175 (adjust-window-trailing-edge, maximize-window, minimize-window)
3176 (window-deletable-p, delete-window, delete-other-windows)
3177 (record-window-buffer, unrecord-window-buffer)
3178 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3179 (quit-window, split-window, window-state-put)
3180 (set-window-text-height, fit-window-to-buffer)
3181 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3182
89bd5ee1
EZ
31832011-11-04 Eli Zaretskii <eliz@gnu.org>
3184
53479029
EZ
3185 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3186 rfc2047-decode-string.
3187 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3188 warnings.
3189
89bd5ee1
EZ
3190 * window.el (window-body-height, window-body-width): Mention in
3191 the doc string that the return values are in frame's canonical
3192 units. (Bug#9949)
3193
bd17fdee
AM
31942011-11-03 Alan Mackenzie <acm@muc.de>
3195
3196 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3197 change in cc-engine.el.
3198
acc825c5
SM
31992011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3202
1885e5b8
MR
32032011-11-02 Martin Rudalics <rudalics@gmx.at>
3204
3205 * window.el (quit-window): Call unrecord-window-buffer after
3206 showing another buffer in the window. (Bug#9937)
acc825c5 3207 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3208
ebe06da9
JB
32092011-11-02 Juanma Barranquero <lekktu@gmail.com>
3210
3211 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3212 Accept status with more than 9 shelves. (Bug#9935)
3213 Reported by Colin D Bennett <colin@gibibit.com>.
3214
4ee88440
MR
32152011-11-01 Martin Rudalics <rudalics@gmx.at>
3216
3217 * help.el (with-help-window): Don't reference
3218 temp-buffer-show-specifiers in doc-string.
3219
08e1d82c
AS
32202011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3221
3222 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3223 menu-item.
3224
84bd6e9e
VJL
32252011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3226
3227 * whitespace.el: New version 13.2.2.
3228 (whitespace-newline-mode): Disable properly. Reported by Sarah
3229 <EmacsWiki>.
3230
dba0634a
UJ
32312011-10-30 Ulf Jasper <ulf.jasper@web.de>
3232
3233 * net/newst-treeview.el: Remove "Time-stamp".
3234 (newsticker--group-manage-orphan-feeds): Do not call
3235 newsticker--treeview-tree-update.
db22a3c2
JB
3236 (newsticker-treeview-update, newsticker-treeview):
3237 Call newsticker--treeview-tree-update if necessary.
dba0634a 3238
3d8daefe
MR
32392011-10-30 Martin Rudalics <rudalics@gmx.at>
3240
3241 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3242 (window-iso-combinations): Remove "iso-" infix.
3243 Suggested by Chong Yidong.
3d8daefe
MR
3244 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3245 (window-max-delta-1, window-resize, window--resize-siblings)
3246 (window--resize-this-window, adjust-window-trailing-edge)
3247 (split-window, balance-windows-1)
3248 (shrink-window-if-larger-than-buffer):
3249 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3250 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3251
1bc4c3ae
SM
32522011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3255 in place (bug#9907).
3256 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3257 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3258 (eshell-structure-basic-command, eshell-rewrite-while-command)
3259 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3260 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3261 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3262 (eshell-do-pipelines-synchronously, eshell-eval-command):
3263 Use backquotes and prefer setq to set.
3264 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3265 (eshell-macrop): Use functionp.
c1e2f5fa 3266 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3267
30b65d9c
CY
32682011-10-30 Chong Yidong <cyd@gnu.org>
3269
3270 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3271 instead of set-mark (Bug#9810).
3272
2d197ffb
CY
32732011-10-30 Chong Yidong <cyd@gnu.org>
3274
3275 * window.el (split-window-below, split-window-right): Rename from
3276 split-window-above-each-other and split-window-side-by-side
3277 respectively. All callers changed.
3278 (split-window-sensibly, split-window-sensibly): Use them.
3279 (split-window-keep-point): Doc fix.
3280
3281 * isearch.el: Add isearch-scroll property to split-window-below
3282 and split-window-right.
3283
3284 * follow.el (follow-mode):
3285 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3286 * progmodes/ada-xref.el (ada-gdb-application):
3287 * emulation/vip.el (vip-buffer-in-two-windows):
3288 * image-dired.el (image-dired-dired-with-window-configuration):
3289 * dired-x.el (dired-do-find-marked-files):
3290 * dired.el (dired-pop-to-buffer):
3291 * bs.el (bs--show-with-configuration):
3292 * vc/emerge.el (emerge-setup-windows):
3293 * textmodes/two-column.el (2C-two-columns):
3294 * textmodes/reftex-toc.el (reftex-toc):
3295 * progmodes/gdb-mi.el (gdb-setup-windows):
3296 * progmodes/fortran.el (fortran-window-create):
3297 * net/newst-treeview.el (newsticker--treeview-window-init):
3298 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3299 * emulation/tpu-edt.el (tpu-gold-map):
3300 * emulation/crisp.el (crisp-mode-map):
3301 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3302
38bb2ca8
CY
33032011-10-29 Chong Yidong <cyd@gnu.org>
3304
aa4de341
CY
3305 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3306
e1eb5385
CY
3307 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3308
5d2ece3c
CY
3309 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3310 forged Ispell output (Bug#7904).
3311
38bb2ca8
CY
3312 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3313
d0af9f77
SM
33142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * doc-view.el: Avoid ugly errors about not finding nil.
3317 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3318 (doc-view-dvipdf-program, doc-view-unoconv-program)
3319 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3320 Avoid nil or absolute file name as default value.
3321 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3322
52bedd34
AM
33232011-10-28 Alan Mackenzie <acm@muc.de>
3324
db22a3c2 3325 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3326
7e43cfa5
AM
33272011-10-28 Alan Mackenzie <acm@muc.de>
3328
3329 Amend the handling of c-beginning/end-of-defun in nested declaration
3330 scopes.
3331
52bedd34
AM
3332 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3333 cc-langs.el. Change it to a defcustom.
7e43cfa5 3334
52bedd34
AM
3335 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3336 cc-vars.el.
7e43cfa5 3337
d0af9f77
SM
3338 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3339 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3340
52bedd34 3341 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3342 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3343 (c-widen-to-enclosing-decl-scope): New function.
3344 (c-while-widening-to-decl-block): New macro.
3345 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3346 outward for defun boundaries, and correspondingly change symbol
3347 `respect-enclosure' to `go-outward'.
3348 (c-declaration-limits): Change algorithm to report only the "innermost"
3349 defun's boundaries.
3350
1a2ce9ee
DD
33512011-10-28 Deniz Dogan <deniz@dogan.se>
3352
3353 * net/rcirc.el (rcirc-mode): Use hard newlines.
3354
bc97a826
AM
33552011-10-28 Alan Mackenzie <acm@muc.de>
3356
3357 Amend to indent and fontify macros "which include their own semicolon"
3358 correctly, using the "virtual semicolon" mechanism.
3359
52bedd34 3360 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3361
d0af9f77 3362 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3363 Recode to scan one line at a time rather than having \n and \r
58179cce 3364 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3365 (c-forward-label): Amend for virtual semicolons.
58179cce 3366 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3367
52bedd34
AM
3368 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3369 of the new C macros.
bc97a826 3370
52bedd34 3371 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3372 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3373 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3374 (c-opt-cpp-macro-define): Make into a full language variable.
3375 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3376 AWK Mode (including \n, \r) removed, no longer needed.
3377
d0af9f77
SM
3378 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3379 Invoke c-make-macro-with-semi-re.
bc97a826 3380
52bedd34
AM
3381 * progmodes/cc-vars.el (c-macro-with-semi-re):
3382 (c-macro-names-with-semicolon): New variables.
58179cce 3383 (c-make-macro-with-semi-re): New function.
bc97a826 3384
7a6c0941
SM
33852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * vc/log-edit.el: Fill empty field rather than adding new one.
3388 (log-edit-add-field): New function.
3389 (log-edit-insert-changelog): Use it.
3390
b0c4cdcf
ML
33912011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3392
3393 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3394
ee1f1da9
SM
33952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3398 (gdb--check-interpreter): New function.
3399 (gdb): Use it.
3400
51bc5f8b
GM
34012011-10-27 Glenn Morris <rgm@gnu.org>
3402
416a2c45
GM
3403 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3404 (least-positive-float, least-negative-float)
3405 (least-positive-normalized-float, least-negative-normalized-float)
3406 (float-epsilon, float-negative-epsilon):
3407 Remove unnecessary declarations.
3408
3409 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3410 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3411 (least-positive-float, least-negative-float)
3412 (least-positive-normalized-float, least-negative-normalized-float)
3413 (float-epsilon, float-negative-epsilon): Add doc-strings,
3414 based on those in cl.texi.
3415
51bc5f8b
GM
3416 * files.el (set-visited-file-name): If the major-mode changed,
3417 reload the local variables. (Bug#9796)
3418
15de15c6
CY
34192011-10-27 Chong Yidong <cyd@gnu.org>
3420
3421 * subr.el (change-major-mode-after-body-hook): New hook.
3422 (run-mode-hooks): Run it.
3423
ee1f1da9
SM
3424 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3425 Use change-major-mode-before-body-hook.
15de15c6
CY
3426
3427 * simple.el (fundamental-mode):
3428 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3429 change introducing fundamental-mode-hook.
3430
5430d399
JB
34312011-10-26 Juanma Barranquero <lekktu@gmail.com>
3432
acc825c5 3433 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3434
ad74a69e
MA
34352011-10-26 Michael Albinus <michael.albinus@gmx.de>
3436
3437 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3438 tramp.el explicitly. (Bug#7583)
ad74a69e 3439
71d4c2a5
SM
34402011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * progmodes/octave-mod.el:
3443 * progmodes/octave-inf.el: Update maintainer.
3444
b1f6fa26
CY
34452011-10-26 Chong Yidong <cyd@gnu.org>
3446
3447 * subr.el (with-wrapper-hook): Rewrite doc.
3448
3f04efd6
MA
34492011-10-25 Michael Albinus <michael.albinus@gmx.de>
3450
3451 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3452 filenames "/method:foo:". (Bug#9793)
3f04efd6 3453
410488d3
SM
34542011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3457 (bug#9865).
3458
c1ebb47e
GM
34592011-10-24 Glenn Morris <rgm@gnu.org>
3460
3461 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3462
7f5c46c7
MA
34632011-10-24 Michael Albinus <michael.albinus@gmx.de>
3464
3465 * notifications.el: Add the requirement of a running D-Bus session
3466 bus to the Commentary.
3467
db2440b6
JL
34682011-10-24 Juri Linkov <juri@jurta.org>
3469
3470 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3471 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3472 (Bug#9364)
3473
feecf435
JL
34742011-10-24 Juri Linkov <juri@jurta.org>
3475
3476 * info.el (Info-following-node-name-re): Add newline to the list
3477 of allowed characters for leading space. (Bug#9824)
3478
a3839de2
SM
34792011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3480
acc825c5
SM
3481 * progmodes/octave-inf.el (inferior-octave-mode-map):
3482 Fix C-c C-h binding.
a3839de2
SM
3483 * progmodes/octave-mod.el (octave-help): Remove.
3484
09388e76
MA
34852011-10-23 Michael Albinus <michael.albinus@gmx.de>
3486
3487 Sync with Tramp 2.2.3.
3488
3489 * net/tramp-cache.el (top): Pacify byte-compiler using
3490 `init-file-user' and `site-run-file'.
3491
3492 * net/trampver.el: Update release number.
3493
86c60681
CY
34942011-10-23 Chong Yidong <cyd@gnu.org>
3495
3496 * files.el (toggle-read-only): Remove obsolete comment about
3497 version control.
3498
3499 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3500 for toggle-read-only. Note that this hasn't called vc-next-action
3501 since 2008-05-02, though it wasn't documented at the time.
3502
a3839de2
SM
3503 * vc/ediff-init.el (ediff-toggle-read-only-function):
3504 Use toggle-read-only.
86c60681 3505
cd5495ff
AM
35062011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3507
3508 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3509 of c-parse-state.
3510
00b77525 3511 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3512 correct faulty logical expression.
cd5495ff
AM
3513 (c-parse-state-state, c-record-parse-state-state):
3514 (c-replay-parse-state-state): New defvar/defuns.
3515 (c-debug-parse-state): Use new functions.
3516
42ee24ed
MR
35172011-10-22 Martin Rudalics <rudalics@gmx.at>
3518
3519 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3520 last fix. Use window-in-direction correctly.
42ee24ed 3521
a7dee7e7
CY
35222011-10-21 Chong Yidong <cyd@gnu.org>
3523
3524 * progmodes/idlwave.el (idlwave-mode):
3525 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3526 require-final-newline; that's done in prog-mode.
3527 Suggested by Stefan Monnier.
a7dee7e7 3528
e07b9a6d
MR
35292011-10-21 Martin Rudalics <rudalics@gmx.at>
3530
3531 * mouse.el (mouse-drag-window-above)
3532 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3533 (mouse-drag-mode-line-1, mouse-drag-header-line)
3534 (mouse-drag-vertical-line-rightward-window): Remove.
3535 (mouse-drag-line): New function.
3536 (mouse-drag-mode-line, mouse-drag-header-line)
3537 (mouse-drag-vertical-line): Call mouse-drag-line.
3538 * window.el (window-at-side-p, windows-at-side): New functions.
3539
7e1361d9
UM
35402011-10-21 Ulrich Mueller <ulm@gentoo.org>
3541
3542 * tar-mode.el (tar-grind-file-mode):
3543 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3544
30fcaf3a
CY
35452011-10-21 Chong Yidong <cyd@gnu.org>
3546
3547 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3548 * progmodes/vera-mode.el (vera-mode):
3549 Use mode-require-final-newline.
30fcaf3a 3550
516eddb0
GM
35512011-10-20 Glenn Morris <rgm@gnu.org>
3552
db22a3c2 3553 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3554
10d5f513
CS
35552011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3556
3557 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3558
ac6c8639
CY
35592011-10-20 Chong Yidong <cyd@gnu.org>
3560
3561 * emulation/cua-base.el (cua-mode):
3562 * mail/footnote.el (footnote-mode):
3563 * mail/mailabbrev.el (mail-abbrevs-mode):
3564 * net/xesam.el (xesam-minor-mode):
3565 * progmodes/bug-reference.el (bug-reference-mode):
3566 * progmodes/cap-words.el (capitalized-words-mode):
3567 * progmodes/compile.el (compilation-minor-mode)
3568 (compilation-shell-minor-mode):
3569 * progmodes/gud.el (gud-tooltip-mode):
3570 * progmodes/hideif.el (hide-ifdef-mode):
3571 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3572 * progmodes/subword.el (subword-mode):
3573 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3574 * progmodes/which-func.el (which-function-mode):
3575 * term/tvi970.el (tvi970-set-keypad-mode):
3576 * term/vt100.el (vt100-wide-mode):
3577 * textmodes/flyspell.el (flyspell-mode):
3578 * textmodes/ispell.el (ispell-minor-mode):
3579 * textmodes/nroff-mode.el (nroff-electric-mode):
3580 * textmodes/paragraphs.el (use-hard-newlines):
3581 * textmodes/refill.el (refill-mode):
3582 * textmodes/reftex.el (reftex-mode):
3583 * textmodes/rst.el (rst-minor-mode):
3584 * textmodes/sgml-mode.el (html-autoview-mode)
3585 (sgml-electric-tag-pair-mode):
3586 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3587 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3588 * emulation/crisp.el (crisp-mode):
3589 * emacs-lisp/eldoc.el (eldoc-mode):
3590 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3591 minor mode behavior.
3592
aa42ab43
JL
35932011-10-19 Juri Linkov <juri@jurta.org>
3594
3595 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3596 the list of hard-coded chars with escape-glyph face.
3597
89400f1d
SM
35982011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3601
305c07f6
MA
36022011-10-19 Michael Albinus <michael.albinus@gmx.de>
3603
3604 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3605 running process.
3606
13754b54
GM
36072011-10-19 Glenn Morris <rgm@gnu.org>
3608
3609 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3610 Ignore ignored files. (Bug#9726)
3611
06e21633
CY
36122011-10-19 Chong Yidong <cyd@gnu.org>
3613
3614 Doc fix for minor modes, stating that an omitted argument enables
3615 the mode unconditionally when called from Lisp.
3616
3617 * abbrev.el (abbrev-mode):
3618 * allout.el (allout-mode):
3619 * autoinsert.el (auto-insert-mode):
3620 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3621 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3622 (global-auto-revert-mode):
3623 * battery.el (display-battery-mode):
3624 * composite.el (global-auto-composition-mode)
3625 (auto-composition-mode):
3626 * delsel.el (delete-selection-mode):
3627 * desktop.el (desktop-save-mode):
3628 * dired-x.el (dired-omit-mode):
3629 * dirtrack.el (dirtrack-mode):
3630 * doc-view.el (doc-view-minor-mode):
3631 * double.el (double-mode):
3632 * electric.el (electric-indent-mode, electric-pair-mode):
3633 * emacs-lock.el (emacs-lock-mode):
3634 * epa-hook.el (auto-encryption-mode):
3635 * follow.el (follow-mode):
3636 * font-core.el (font-lock-mode):
3637 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3638 * help.el (temp-buffer-resize-mode):
3639 * hilit-chg.el (highlight-changes-mode)
3640 (highlight-changes-visible-mode):
3641 * hi-lock.el (hi-lock-mode):
3642 * hl-line.el (hl-line-mode, global-hl-line-mode):
3643 * icomplete.el (icomplete-mode):
3644 * ido.el (ido-everywhere):
3645 * image-file.el (auto-image-file-mode):
3646 * image-mode.el (image-minor-mode):
3647 * iswitchb.el (iswitchb-mode):
3648 * jka-cmpr-hook.el (auto-compression-mode):
3649 * linum.el (linum-mode):
3650 * longlines.el (longlines-mode):
3651 * master.el (master-mode):
3652 * mb-depth.el (minibuffer-depth-indicate-mode):
3653 * menu-bar.el (menu-bar-mode):
3654 * minibuf-eldef.el (minibuffer-electric-default-mode):
3655 * mouse-sel.el (mouse-sel-mode):
3656 * msb.el (msb-mode):
3657 * mwheel.el (mouse-wheel-mode):
3658 * outline.el (outline-minor-mode):
3659 * paren.el (show-paren-mode):
3660 * recentf.el (recentf-mode):
3661 * reveal.el (reveal-mode, global-reveal-mode):
3662 * rfn-eshadow.el (file-name-shadow-mode):
3663 * ruler-mode.el (ruler-mode):
3664 * savehist.el (savehist-mode):
3665 * scroll-all.el (scroll-all-mode):
3666 * scroll-bar.el (scroll-bar-mode):
3667 * server.el (server-mode):
3668 * shell.el (shell-dirtrack-mode):
3669 * simple.el (auto-fill-mode, transient-mark-mode)
3670 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3671 (line-number-mode, column-number-mode, size-indication-mode)
3672 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3673 * strokes.el (strokes-mode):
3674 * time.el (display-time-mode):
3675 * t-mouse.el (gpm-mouse-mode):
3676 * tool-bar.el (tool-bar-mode):
3677 * tooltip.el (tooltip-mode):
3678 * type-break.el (type-break-mode-line-message-mode)
3679 (type-break-query-mode):
3680 * view.el (view-mode):
3681 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3682 (global-whitespace-mode, global-whitespace-newline-mode):
3683 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3684
a3839de2
SM
3685 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3686 Fix autogenerated docstring.
06e21633 3687
5214e501
JL
36882011-10-19 Juri Linkov <juri@jurta.org>
3689
3690 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3691 by checking environment variables "DESKTOP_SESSION" and
3692 "XDG_CURRENT_DESKTOP". (Bug#9779)
3693
195f8db9
JL
36942011-10-19 Juri Linkov <juri@jurta.org>
3695
3696 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3697 (browse-url-chromium-program, browse-url-chromium-arguments):
3698 New defcustoms.
3699 (browse-url-default-browser): Check for `browse-url-chromium' and
3700 call `browse-url-chromium-program'.
3701 (browse-url-chromium): New command. (Bug#9779)
3702
343a34ff
JB
37032011-10-18 Juanma Barranquero <lekktu@gmail.com>
3704
3705 * facemenu.el (list-colors-duplicates): On Windows, detect more
3706 duplicates by assuming that only colors matching "^System" are
3707 special "system colors". (Bug#9722)
3708
6978a151
SM
37092011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3712 to distinguish the author from the committer.
3713
6a80b297
MA
37142011-10-18 Michael Albinus <michael.albinus@gmx.de>
3715
3716 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3717
b31a5677
JK
37182011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3719
3720 * international/mule.el (sgml-html-meta-auto-coding-function):
3721 Add support for detecting encoding in HTML5 specified only as
3722 <meta charset="UTF-8">. Implementation just makes http-equiv and
3723 content-type parts from HTML4 encoding string optional. (Bug#9716)
3724
80c6d77f
GM
37252011-10-18 Glenn Morris <rgm@gnu.org>
3726
3727 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3728
08b0fee8
CY
37292011-10-18 Chong Yidong <cyd@gnu.org>
3730
3731 * faces.el (cursor): Doc fix.
3732
67e729a5
CY
37332011-10-17 Chong Yidong <cyd@gnu.org>
3734
3735 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3736
343a34ff 37372011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3738
3739 * dirtrack.el (dirtrack): Support shell buffers with path
3740 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3741
0bc06380
TZ
37422011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3743
3744 * json.el: Bump version to 1.3 and note change in History.
3745 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3746
8b79f3e0
SM
37472011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3748
5a7c536b
SM
3749 * comint.el (comint-insert-input, comint-send-input)
3750 (comint-get-old-input-default, comint-backward-matching-input)
3751 (comint-next-prompt): Use nil instead of `input' for field property of
3752 past user input (bug#114).
3753
96a8a0df
SM
3754 * minibuffer.el (completion--replace): Inherit surrounding properties
3755 (bug#114).
3756 (minibuffer-complete-and-exit): Use it.
3757
8b79f3e0
SM
3758 * comint.el (comint--table-subvert): Quote the all-completions output
3759 (bug#9160).
3760
b8f7ff0d
MR
37612011-10-17 Martin Rudalics <rudalics@gmx.at>
3762
8b79f3e0 3763 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3764
b8f7ff0d 3765 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3766 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3767 entries and separate them from frame entries.
3768
c235b555
GM
37692011-10-15 Glenn Morris <rgm@gnu.org>
3770
3771 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3772 Doc fixes.
3773
6bbfa6e1
CY
37742011-10-15 Chong Yidong <cyd@stupidchicken.com>
3775
8b79f3e0
SM
3776 * net/network-stream.el (network-stream-open-starttls):
3777 Improve detection of failure due to lack of TLS support.
ec5c990d 3778
6bbfa6e1
CY
3779 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3780 putting the input text in front and in bold.
3781
98488977
SM
37822011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3d1337be
SM
3784 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3785
ee0b45e4
SM
3786 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3787 empty buffer.
3788
98488977
SM
3789 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3790 unread-command-events rather than pushing yet-another event.
3791
186f4720
EZ
37922011-10-14 Eli Zaretskii <eliz@gnu.org>
3793
3794 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3795 the explanation of the possible choices. Make the options passed
3796 to completing-read shorter.
3797
8b7a997c
AM
37982011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3799
3800 * textmodes/flyspell.el (flyspell-large-region): Make sure
3801 extended character mode is used if defined (Bug#1339).
3802
12587bbb
EZ
38032011-10-13 Eli Zaretskii <eliz@gnu.org>
3804
3805 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3806 character info for LRE, LRO, RLE, and RLO characters by appending
3807 an invisible PDF.
12587bbb 3808
bad41229
SM
38092011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3812 even in case of error; add debug spec; simplify data flow.
3813 (with-timeout-handler): Remove.
3814
28dbc92f
MA
38152011-10-12 Michael Albinus <michael.albinus@gmx.de>
3816
3817 Fix Bug#6019, Bug#9315.
3818
3819 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3820 complete `buffer-file-name', the local file name part could look
3821 remotely (for example on VMS).
3822
3823 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3824 `tramp-run-real-handler'.
3825 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3826 already quoted by '"'.
3827
3828 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3829 Let `file-name-handler-alist' be nil, the local file name part
3830 could look remotely (for example on VMS).
3831
e1b0b23a
SM
38322011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3835 from here...
3836 (flyspell-post-command-hook): ...to here.
3837
a120bde9
SM
38382011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3841 if not needed.
3842 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3843 using completion. Protect against "slow" callers.
3844 Remove the "message hack".
3845
7ce7717b
JL
38462011-10-11 Juri Linkov <juri@jurta.org>
3847
3848 * isearch.el (isearch-lazy-highlight-word): New variable.
3849 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3850 Use it. (Bug#9727)
3851
c02ee9d6
GM
38522011-10-11 Glenn Morris <rgm@gnu.org>
3853
3854 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3855 like f90-previous-statement does.
3856
93e616fd 38572011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3858
1f190e73 3859 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3860 only in interactive use, to avoid error.
3861
af7b6078
SM
38622011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3863
3864 * minibuffer.el (completion-file-name-table): Fix last change,
3865 i.e. ignore normal errors but not the other ones.
3866
0563dae9
MR
38672011-10-10 Martin Rudalics <rudalics@gmx.at>
3868
3869 * window.el (special-display-buffer-names)
3870 (special-display-regexps): Remove some remnants of earlier
3871 changes from doc-strings.
366ca7f3
MR
3872 (quit-windows-on): New function.
3873
3874 * vc/vc.el (vc-revert, vc-rollback):
3875 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3876 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3877 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3878
49677495
MR
38792011-10-09 Martin Rudalics <rudalics@gmx.at>
3880
3881 * window.el (frame-auto-hide-function): Add version tag.
3882 (Bug#9699)
3883
56f2d1e1
MA
38842011-10-09 Michael Albinus <michael.albinus@gmx.de>
3885
3886 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3887 condition.
3888
112a6592
LL
38892011-10-09 Leo Liu <sdl.web@gmail.com>
3890
3891 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3892 (Bug#9701)
3893
0812589b
GM
38942011-10-08 Glenn Morris <rgm@gnu.org>
3895
3896 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3897 before the first code statement zero indent. (Bug#9690)
3898
b2b0776e
CY
38992011-10-08 Chong Yidong <cyd@stupidchicken.com>
3900
3901 * simple.el (count-words-region): Always count in the region.
3902 Report the number of lines and characters too.
3903 (count-words): New command, which counts in the buffer if the
3904 region is inactive, as count-words-region used to.
3905 (count-words--message): New function. Handle plurals.
3906 (count-lines-region): Make it an alias for count-words-region.
3907
3908 * bindings.el (esc-map): Replace count-lines-region with
3909 count-words-region.
3910
c557cd6b
MR
39112011-10-08 Martin Rudalics <rudalics@gmx.at>
3912
3913 * window.el (window--delete): Delete dedicated frame
3914 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3915 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3916
61a57ef4 39172011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3918
3a7d293b 3919 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3920
c3833279
CY
39212011-10-07 Chong Yidong <cyd@stupidchicken.com>
3922
3923 * bindings.el ([M-left],[M-right]): Bind to left-word and
3924 right-word respectively.
3925
21ce8245
GM
39262011-10-07 Glenn Morris <rgm@gnu.org>
3927
3928 * cus-start.el (debug-on-quit): Fix custom type.
3929
6d823bb2
LMI
39302011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3931
0181e193
LMI
3932 * subr.el (define-key-after): Clarify that the function is not
3933 useful for non-menu keymaps.
3934
6d823bb2
LMI
3935 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3936
8e3459ce 39372011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3938
21ce8245 3939 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3940 in current minibuffer (Fix bug with recursive minibuffers).
3941
a1c2d21e
CY
39422011-10-06 Chong Yidong <cyd@stupidchicken.com>
3943
3944 * progmodes/gdb-mi.el (gdb): Doc fix.
3945
5a4cf282
MR
39462011-10-05 Martin Rudalics <rudalics@gmx.at>
3947
3948 * window.el (frame-auto-hide-function): New option replacing
3949 frame-auto-delete. Suggested by Stefan Monnier.
3950 (window--delete): Call frame-auto-hide-function instead of
3951 investigating frame-auto-delete.
c96111ea
MR
3952 (window-point-1, set-window-point-1): New functions.
3953 (window-in-direction, record-window-buffer, window-state-get-1)
3954 (display-buffer-record-window): Use window-point-1 instead of
3955 window-point.
3956 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3957
9854542e
SM
39582011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3961
8943cfb0
GM
39622011-10-05 Glenn Morris <rgm@gnu.org>
3963
3964 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3965 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3966
647ab967
LL
39672011-10-05 Leo Liu <sdl.web@gmail.com>
3968
3969 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3970 works with buffer object.
3971
3ddfbced
SM
39722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * mpc.el (mpc-tool-bar-map): Add labels.
3975
bdfa5dd2
GM
39762011-10-04 Glenn Morris <rgm@gnu.org>
3977
3978 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3979
0e2070b5
MR
39802011-10-04 Martin Rudalics <rudalics@gmx.at>
3981
3982 * window.el (window--delete): New function.
3983 (frame-auto-delete): Resuscitate option.
3984 (bury-buffer, replace-buffer-in-windows)
3985 (quit-window): Rewrite using window--delete.
3986 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3987 Pass display-buffer-mark-dedicated to window--display-buffer-2
3988 (Bug#9639).
3989
3dc61a09
SM
39902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3991
915a9b64
SM
3992 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3993 returns a list (bug#9554). Add remote file name completion.
3994 * comint.el (comint--table-subvert): Curry and get quote&unquote
3995 functions as arguments.
3996 (comint--complete-file-name-data): Adjust call accordingly.
3997 * pcomplete.el (pcomplete--table-subvert): Remove.
3998 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3999
3dc61a09
SM
4000 * minibuffer.el (completion-table-case-fold): Use currying.
4001 (completion--styles-type, completion--cycling-threshold-type):
4002 New constants.
4003 (completion-styles, completion-category-overrides)
4004 (completion-cycle-threshold): Use them.
4005 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4006 completion-table-case-fold.
4007
8ea0a993
SB
40082011-10-03 Stephen Berman <stephen.berman@gmx.net>
4009
4010 * minibuffer.el (completion-category-overrides): Fix type of styles
4011 and add more user friendly tags (bug#9660).
4012
8c24b7f6
SM
40132011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4016 (mule-input-method-string): New widget.
4017 (default-input-method, language-info-custom-alist): Use it.
4018
428fe61a
SM
40192011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4020
32c1fffd
SM
4021 * pcomplete.el: Require comint.
4022 (pcomplete--common-suffix): Remove.
4023 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4024 (pcomplete--table-subvert): Sync with comint--table-subvert.
4025 (pcomplete--entries): Use comint-completion-file-name-table.
4026 * comint.el (comint-unquote-filename): Simplify.
4027 (comint-completion-file-name-table): New function (bug#9616).
4028 (comint--complete-file-name-data): Use it.
4029
428fe61a
SM
4030 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4031 (pcmpl-gnu-tar-buffer): Remove.
4032 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4033 around. Make sure pcomplete-suffix-list is only changed temporarily.
4034 Don't look inside the tar's file if it's too large.
428fe61a 4035
04c52e2f
CY
40362011-10-01 Chong Yidong <cyd@stupidchicken.com>
4037
ce3cefcc
CY
4038 * cus-edit.el (custom-mode-map):
4039 * epa.el (epa-key-list-mode-map):
4040 * man.el (Man-mode-map):
4041 * startup.el (splash-screen-keymap):
4042 * simple.el (special-mode-map): Use scroll-up-command and
4043 scroll-down-command.
4044
4045 * progmodes/idlw-help.el (idlwave-help-mode-map):
4046 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4047 * net/newst-plainview.el (newsticker-mode-map):
4048 * emulation/ws-mode.el (wordstar-mode-map):
4049 * emulation/vi.el (vi-com-map):
4050 * calc/calc-graph.el (calc-graph-show-dumb):
4051 * term/sun.el (terminal-init-sun):
4052 * term/ns-win.el (global-map):
4053 * progmodes/grep.el (grep-mode-map):
4054 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4055 * mail/rmail.el (rmail-mode-map):
4056 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4057
04c52e2f
CY
4058 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4059 custom-safe-themes as special.
4060
79adf8c8
JD
40612011-10-01 Julien Danjou <julien@danjou.info>
4062
4063 * notifications.el (notifications-notify): Fix docstring.
4064
63bd50d3
PS
40652011-10-01 Per Starbäck <per@starback.se>
4066
4067 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4068
199e4c7e
MR
40692011-09-30 Martin Rudalics <rudalics@gmx.at>
4070
4071 * startup.el (command-line-1): Fix last fix by inserting
4072 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4073 (Bug#9605) and (Bug#9636)
199e4c7e 4074
fe5f08dd
EZ
40752011-09-29 Eli Zaretskii <eliz@gnu.org>
4076
4077 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4078 window is hscrolled, move by logical lines. (Bug#9607)
4079 (line-move-visual): Update the doc string to the above effect.
4080
b5516bbd
MR
40812011-09-29 Martin Rudalics <rudalics@gmx.at>
4082
ccee00c0
MR
4083 * window.el (display-buffer-record-window): When WINDOW is the
4084 selected window use `point' instead of `window-point'. (Bug#9626)
4085
b5516bbd
MR
4086 * startup.el (command-line-1): Use insert-before-markers when
4087 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4088
b5516bbd
MR
4089 * help.el (help-window): Remove variable.
4090
52aa0014
GM
40912011-09-29 Glenn Morris <rgm@gnu.org>
4092
4093 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4094
df9a7357
JB
40952011-09-29 Juanma Barranquero <lekktu@gmail.com>
4096
4097 * descr-text.el (describe-char-categories): Accept category
4098 descriptions more than one line long.
4099
a8406c20
SM
41002011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4101
88d9610c
SM
4102 * simple.el (delete-trailing-whitespace): Fix last change.
4103
a5daf810
SM
4104 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4105 Don't confuse "y => 3" as the beginning of a `y' operation.
4106
a8406c20
SM
4107 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4108 object has more than 4 slots (bug#9613).
4109
a239d4e9
JB
41102011-09-28 Juanma Barranquero <lekktu@gmail.com>
4111
4112 * subr.el (with-output-to-temp-buffer):
4113 * net/quickurl.el (quickurl, quickurl-browse-url):
4114 Fix typos in docstrings.
4115
693fbdb6
EZ
41162011-09-27 Eli Zaretskii <eliz@gnu.org>
4117
4118 * minibuffer.el (completion-styles)
4119 (completion-category-overrides): Cross reference each other in doc
4120 strings.
4121
8b457e28
GM
41222011-09-27 Glenn Morris <rgm@gnu.org>
4123
4124 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4125 to split-string. (Bug#9606)
4126
85a16208
LMI
41272011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4128
4129 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4130 (bug#9615).
4131
502f9ebd
CY
41322011-09-27 Chong Yidong <cyd@stupidchicken.com>
4133
4134 * emacs-lisp/package.el (list-packages): Fix echo area message.
4135
7690bdea
LL
41362011-09-27 Leo Liu <sdl.web@gmail.com>
4137
4138 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4139
e2ee6f30
MA
41402011-09-25 Michael Albinus <michael.albinus@gmx.de>
4141
4142 * net/dbus.el (dbus-unregister-object): Don't release services for
4143 registered signals. (Bug#9581)
4144
f3f98342
TZ
41452011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4146
4147 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4148 function that picks between cfengine 2 and 3 support
4149 automatically. Update docs accordingly.
4150
dd7aa8dd
KH
41512011-09-22 Kenichi Handa <handa@m17n.org>
4152
4153 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4154 ZERO.
4155 (indian-itrans-v5-table-for-tamil): New variable.
4156 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4157
3f2b07f8
KM
41582011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4159
4160 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4161 that's true if the current command involved collapsing of text.
4162 It's reset to false at the beginning of the next command.
4163 (allout-post-command-business): Move the cursor to the beginning
4164 of entry if the cursor is hidden and collapsing activity just
4165 happened.
4166
371d6a61
CY
41672011-09-24 Chong Yidong <cyd@stupidchicken.com>
4168
4169 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4170 tracking (Bug#9541).
4171
2ac2721a
UJ
41722011-09-24 Ulf Jasper <ulf.jasper@web.de>
4173
4174 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4175 (newsticker-show-news): Automatically load html rendering package
4176 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4177 because w3m-fill-column is let-bound" and the error "Symbol's value
4178 as variable is void: w3m-fill-column".
2ac2721a 4179
fac7ae53
MA
41802011-09-24 Michael Albinus <michael.albinus@gmx.de>
4181
4182 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4183 Release services only if they are defined. (Bug#9581)
4184
e08b633b
RS
41852011-09-23 Richard Stallman <rms@gnu.org>
4186
e488d29c
RS
4187 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4188 distinguish start of paragraph from start of its text.
4189
19c38752
RS
4190 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4191
e08b633b
RS
4192 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4193 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4194 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4195
0a39f27e
AS
41962011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * international/mule-diag.el (mule-diag): Insert a newline after
4199 each fontset description.
4200
db4e950d
SM
42012011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * simple.el (delete-trailing-whitespace):
4204 Document last change; simplify.
4205
eca3f3ea
PW
42062011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4207
d68e189a
PW
4208 * simple.el (delete-trailing-whitespace): Also delete
4209 extra newlines at the end of the buffer.
4210
eca3f3ea
PW
4211 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4212 (picture-newline): Use forward-line so as to ignore fields.
4213
01c157cc
SM
42142011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * subr.el (with-wrapper-hook): Fix edebug spec.
4217
022de23e
LMI
42182011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4219
4220 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4221 (bug#4538).
4222
91683089
MA
42232011-09-23 Michael Albinus <michael.albinus@gmx.de>
4224
eca3f3ea
PW
4225 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4226 Fix nasty bug using wrong cached values.
91683089 4227
5bdd6fa4
AM
42282011-09-23 Alan Mackenzie <acm@muc.de>
4229
4230 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4231
97adfb97
CY
42322011-09-23 Chong Yidong <cyd@stupidchicken.com>
4233
4234 * window.el (pop-to-buffer): Ensure right window is selected if we
4235 chose another frame.
4236
d4ef2b50
EZ
42372011-09-22 Eli Zaretskii <eliz@gnu.org>
4238
4239 * simple.el (what-cursor-position): Use get-char-property-change
4240 and next-single-char-property-change, to be able to show display
4241 properties that come from overlays as well as text properties.
4242
72258fe5
CY
42432011-09-22 Chong Yidong <cyd@stupidchicken.com>
4244
4245 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4246
4247 * cmuscheme.el (run-scheme, switch-to-scheme):
4248 * cus-edit.el (customize-group, custom-buffer-create)
4249 (customize-browse):
4250 * info.el (info):
4251 * shell.el (shell):
4252 * mail/sendmail.el (mail):
4253 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4254
8f098516
RS
42552011-09-22 Richard Stallman <rms@gnu.org>
4256
4257 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4258 move back only to line beg, don't move back over blank lines.
4259
e74f1bb6
MA
42602011-09-22 Michael Albinus <michael.albinus@gmx.de>
4261
4262 * files.el (copy-directory): Set directory attributes only in case
4263 they could be retrieved from the source directory. (Bug#9565)
4264
bfeef8b6
DK
42652011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4266
4267 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4268 (hs-find-block-beginning, hs-hide-level-recursive):
4269 Ignore strings as well as comments. (Bug#9502)
4270
7e423bb8
AS
42712011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4272
4273 * progmodes/sql.el (sql-comint-postgres):
4274 Convert port number to a string. (Bug#9566)
4275
b4d72fcf
MR
42762011-09-22 Martin Rudalics <rudalics@gmx.at>
4277
4278 * window.el (quit-window): Undedicate window when switching to
4279 previous buffer. Reported by Thierry Volpiatto
4280 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4281 (special-display-popup-frame): When popping up a new frame reset
4282 its previous buffers to nil. Simplify code.
b4d72fcf 4283
a7b88dc6
MA
42842011-09-21 Michael Albinus <michael.albinus@gmx.de>
4285
4286 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4287 and process filter, as done also in `shell-command'.
4288
cf4eacfd
MR
42892011-09-21 Martin Rudalics <rudalics@gmx.at>
4290
eca3f3ea 4291 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4292 Call set-window-start with NOFORCE argument t.
4293 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4294 (quit-window): Reword doc-string. Handle new format of
4295 quit-restore parameter. Don't delete window if it has a
4296 previous buffer we can show instead of the present one.
4297 (display-buffer-record-window): Rewrite using a new format for
4298 the quit-restore window parameter
4299 (special-display-popup-frame, display-buffer-same-window)
4300 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4301 (display-buffer-pop-up-window, display-buffer-use-some-window):
4302 Adapt symbol passed to display-buffer-record-window.
4303 * help.el (help-window-setup): Handle new format of quit-restore
4304 parameter.
4305
8d28cb95
SM
43062011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4307
94ab793f
SM
4308 * faces.el (face-list): Fix docstring (bug#9564).
4309
8d28cb95
SM
4310 * window.el (display-buffer--action-function-custom-type):
4311 Don't include internal functions in the Custom interface.
4312
3820edeb
JL
43132011-09-20 Juri Linkov <juri@jurta.org>
4314
4315 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4316 (Info-forward-node, Info-backward-node, Info-next-preorder)
4317 (Info-last-preorder): Use it. (Bug#9528)
4318
5147931d
JL
43192011-09-20 Juri Linkov <juri@jurta.org>
4320
4321 * info.el (Info-last-preorder): Visit last menu item only when
4322 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4323
cf499a1a
JD
43242011-09-20 Julien Danjou <julien@danjou.info>
4325
4326 * password-cache.el (password-cache-remove): Remove entries even if the
4327 value is nil, so that password with a nil value (negative caching) is
4328 possible to invalidate.
4329
f84e2fe2
LM
43302011-09-20 Lawrence Mitchell <wence@gmx.li>
4331
4332 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4333 all whitespace around breakpoint. (Bug#9553)
4334 (f90-find-breakpoint): Only break at whitespace inside a comment.
4335
78054a46
SM
43362011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * minibuffer.el (completion-file-name-table): Keep track of errors.
4339 (completion-table-with-predicate): Handle the case where pred1 is nil.
4340 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4341
345083b2
SM
43422011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4343
e24e27be
SM
4344 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4345 (debugger-return-value): Signal an error if the debugging context does
4346 not await any return value.
4347
345083b2
SM
4348 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4349 * image-mode.el (image-toggle-display-text)
4350 (image-toggle-display-image): Stay away from evil `intangible'.
4351
08d355e3
LL
43522011-09-19 Leo Liu <sdl.web@gmail.com>
4353
4354 * replace.el (occur-revert-arguments): Make it permanent-local.
4355 (occur-mode): Don't call font-lock-defontify.
4356
f01da43f
CY
43572011-09-19 Chong Yidong <cyd@stupidchicken.com>
4358
4359 * net/ldap.el (ldap-search-internal): Don't push empty search
4360 result (Bug#9508).
4361
b6072fa6
SM
43622011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4365
443d6696
MA
43662011-09-19 Michael Albinus <michael.albinus@gmx.de>
4367
4368 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4369 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4370
7cc6e154
JL
43712011-09-18 Juri Linkov <juri@jurta.org>
4372
4373 * buff-menu.el (Buffer-menu-mode-map):
4374 * dired.el (dired-mode-map):
4375 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4376 (lisp-interaction-mode-map):
4377 * emacs-lisp/package.el (package-menu-mode-map):
4378 * epa.el (epa-key-list-mode-map):
4379 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4380 (menu-bar-options-menu):
4381 * outline.el (outline-mode-menu-bar-map):
4382 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4383 * vc/vc-dir.el (vc-dir-menu-map):
4384 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4385 Capitalize non-function content words in menu item strings.
4386
4387 * dired.el (dired-mode-map): Add menu item for
4388 `image-dired-dired-toggle-marked-thumbs'.
4389
80302a81
JL
43902011-09-18 Juri Linkov <juri@jurta.org>
4391
4392 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4393 to `isearch-case-fold-search' and restore its original value
4394 after the `isearch-mode' call.
4395
46c5cf66
JL
43962011-09-18 Juri Linkov <juri@jurta.org>
4397
4398 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4399 because `zgrep' returns 1 for successful matches (bug#9226).
4400
d18b513b
JL
44012011-09-18 Juri Linkov <juri@jurta.org>
4402
4403 * info.el (Info-extract-menu-node-name): Check the second match
4404 for empty string (second test-case of bug#9528).
4405 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4406 intermediate nodes to the history (first test-case of bug#9528).
4407
72753f87
JL
44082011-09-18 Juri Linkov <juri@jurta.org>
4409
4410 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4411 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4412
c9384295
JL
44132011-09-18 Juri Linkov <juri@jurta.org>
4414
1154d12e
JB
4415 * info.el (Info-file-supports-index-cookies):
4416 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4417 outputs one more line for long file names (bug#4142).
c9384295 4418
d473dce8
CY
44192011-09-18 Chong Yidong <cyd@stupidchicken.com>
4420
4421 * newcomment.el (comment-normalize-vars): If prompting for
4422 comment-start, set comment-start-skip too (Bug#8424).
4423
2176854d
JB
44242011-09-18 Johan Bockgård <bojohan@gnu.org>
4425
4426 * icomplete.el: Fix previous fix of Bug#5849.
4427 (icomplete-mode): Don't set completion-show-inline-help.
4428 (icomplete-minibuffer-setup): Set completion-show-inline-help
4429 locally during icompletion.
4430
3aace4e4
CY
44312011-09-18 Chong Yidong <cyd@stupidchicken.com>
4432
c940224f
CY
4433 * woman.el (woman2-process-escapes): Don't delete unrecognized
4434 escapes (Bug#7843).
4435
3aace4e4
CY
4436 * files.el (inhibit-first-line-modes-regexps): Add image files.
4437 (hack-local-variables-prop-line): Return nil for malformed
4438 prop-lines (Bug#9044).
4439
710dec63
MA
44402011-09-18 Michael Albinus <michael.albinus@gmx.de>
4441
4442 * net/tramp.el (top): Don't require 'shell.
4443 (tramp-methods): Fix docstring.
4444 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4445 Return complete remote file name. Handle "smb" case.
4446 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4447 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4448
4449 * net/tramp-compat.el (top): Require 'shell.
4450
4451 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4452 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4453 `tramp-current-host'.
4454 (tramp-get-remote-tmpdir): Remove.
4455
4456 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4457 `tramp-tmpdir' entries.
4458 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4459 (tramp-smb-handle-file-attributes): Ignore errors.
4460 (tramp-smb-wait-for-output): Check also for process end.
4461
5d5ac8ec
LMI
44622011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4463
4464 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4465 when sending QUIT (bug#9312).
4466
8c0f49f0
CY
44672011-09-17 Chong Yidong <cyd@stupidchicken.com>
4468
4469 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4470 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4471 occur-mode-display-occurrence.
4472 (occur-edit-mode): Add usage message.
4473 (occur-cease-edit): New command.
4474 (occur-after-change-function): Use text properties to find the
4475 position of the prefix text.
4476 (occur-engine): Set stickiness of prefix text properties.
4477
8f1383f7
GM
44782011-09-17 Glenn Morris <rgm@gnu.org>
4479
4480 * progmodes/etags.el (complete-tag):
4481 Fix call to completion-in-region. (Bug#9526)
4482
744ba0e3
JL
44832011-09-17 Juri Linkov <juri@jurta.org>
4484
4485 * textmodes/ispell.el (ispell-word): Add to the error message
4486 the word, ispell program name and current dictionary (bug#9121).
4487 (ispell-tex-arg-end): Capitalize "error" in the error message.
4488
d9bbf400
AS
44892011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4490
4491 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4492 check. (Bug#4251)
4493
8da11505
JL
44942011-09-17 Juri Linkov <juri@jurta.org>
4495
4496 * window.el (window-safe-min-height, window-safe-min-width):
4497 Fix typos (followup to bug#9522).
4498
a91adc7e
SJ
44992011-09-17 Sven Joachim <svenjoac@gmx.de>
4500
4501 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4502
064f328a
EZ
45032011-09-16 Eli Zaretskii <eliz@gnu.org>
4504
4505 * simple.el (line-move): If goal-column is set, move by logical
4506 lines, not by display lines. (Bug#971)
4507 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4508 to reflect the above change.
4509
e69df516
SM
45102011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * image.el (imagemagick-register-types): Use regexp-opt.
4513
cbb0f9ab
CY
45142011-09-15 Chong Yidong <cyd@stupidchicken.com>
4515
4516 * window.el (display-buffer-base-action): Rename from
4517 display-buffer-default-action. Make default value empty.
4518 (display-buffer-overriding-action): Convert to defvar.
4519 (display-buffer-fallback-action): New var.
4520
25322144
CY
45212011-09-15 Chong Yidong <cyd@stupidchicken.com>
4522
4523 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4524 declaration.
4525 (package--add-to-archive-contents): If there is a duplicate entry
4526 with an older version, remove it.
4527 (package-menu-mark-delete, package-menu-mark-install)
4528 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4529 (package-menu-mark-obsolete-for-deletion):
4530 Use package-menu-get-status instead of a regexp search.
25322144
CY
4531 (package-menu-get-status): Use tabulated-list-entry.
4532 (package-menu-mark-upgrades): New command.
d770725a 4533 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4534 (package-menu-execute): Do installation before deletion.
4535 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4536 instead of checking major-mode.
4537 (package-menu--find-upgrades): New function.
4538
7520339c
LMI
45392011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4540
4541 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4542 passwords in the log buffer.
65a046c4
LMI
4543 (smtpmail-process-filter): Update the process marker so that the
4544 "broken by peer" status message is inserted in the right place.
7520339c 4545
d3c30954
SM
45462011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4547
3fe48822
SM
4548 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4549 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4550 bibtex-completion-at-point-function.
4551 (bibtex-completion-at-point-function): Use them.
4552
1b8b3954
SM
4553 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4554
d3c30954
SM
4555 * mpc.el (mpc-constraints-tag-lookup): New function.
4556 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4557 also to browser "album|playlist".
4558
72779976
JL
45592011-09-14 Juri Linkov <juri@jurta.org>
4560
4561 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4562 (isearch-edit-string): Use length of `isearch-string' when
4563 `isearch-fail-pos' returns nil.
4564 (isearch-message): Remove duplicate code and call
4565 `isearch-fail-pos' with arg `t'.
4566
a0bf2bcd
CY
45672011-09-14 Chong Yidong <cyd@stupidchicken.com>
4568
17bb0a2d
CY
4569 * replace.el (occur-mode-goto-occurrence): Don't force using other
4570 window (Bug#9499).
4571
a0bf2bcd
CY
4572 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4573
f678e0b6
MR
45742011-09-14 Martin Rudalics <rudalics@gmx.at>
4575
4576 * window.el (display-buffer-window): Remove.
4577 (display-buffer-record-window): Use help-setup window parameter
4578 instead of variable display-buffer-window.
4579 (display-buffer-function, special-display-buffer-names)
4580 (special-display-function): Mention help-setup parameter instead
4581 of display-buffer-window in doc-string.
d3c30954
SM
4582 * help.el (help-window-setup): New argument help-window.
4583 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4584 Reword some messages.
4585 (with-help-window): Pass window used for displaying the buffer
4586 to help-window-setup. Don't set display-buffer-window.
4587
8e39b2e8
GM
45882011-09-13 Glenn Morris <rgm@gnu.org>
4589
4590 * emacs-lisp/debug.el (debugger-make-xrefs):
4591 Preserve point. (Bug#9462)
4592
85e9c04b
CY
45932011-09-13 Chong Yidong <cyd@stupidchicken.com>
4594
4595 * window.el (window-deletable-p): Use next-frame.
4596
1b36ed6a
MR
45972011-09-13 Martin Rudalics <rudalics@gmx.at>
4598
4599 * window.el (window-auto-delete): Remove.
4600 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4601 dedication and previous buffers.
1b36ed6a
MR
4602 (switch-to-prev-buffer): Don't delete window.
4603 (delete-windows-on): Delete a window's frame if and only if the
4604 window is dedicated.
4605 (replace-buffer-in-windows): Delete buffer's window or frame if
4606 and only if window is dedicated.
4607 (quit-window): Handle quit-restore as before last change.
4d61f28d 4608 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4609
ef8ef9fb
CY
46102011-09-13 Chong Yidong <cyd@stupidchicken.com>
4611
4612 * window.el (window-deletable-p): Never delete the last frame on a
4613 given terminal.
4614
b2cba41e
GM
46152011-09-13 Glenn Morris <rgm@gnu.org>
4616
4617 * help.el (describe-key-briefly): Copy previous standard-output change.
4618
51553db6 46192011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4620
4621 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4622
b7556719
GM
46232011-09-13 Glenn Morris <rgm@gnu.org>
4624
4625 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4626 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4627
64b51947
CY
46282011-09-12 Chong Yidong <cyd@stupidchicken.com>
4629
4630 * dired-aux.el (dired-mark-read-string): Don't return default
4631 value on empty input (Bug#9361).
4632 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4633 Omit initial minibuffer contents.
4634 (dired-do-chmod): Signal an error on empty input.
4635 (dired-mark-read-string): Don't return default on empty input.
4636
4637 * files.el (file-modes-symbolic-to-number): Doc fix.
4638
393a301e
SM
46392011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * international/mule-cmds.el (ucs-completions): Remove.
4642 (read-char-by-name): Use complete-with-action instead; add metadata.
4643
fa5660f9
CY
46442011-09-11 Chong Yidong <cyd@stupidchicken.com>
4645
4646 * window.el (display-buffer--action-function-custom-type)
4647 (display-buffer--action-custom-type): New vars.
4648 (display-buffer-alist, display-buffer-default-action)
4649 (display-buffer-overriding-action): Add defcustom types.
4650
4a592f66
CY
4651 * frame.el (delete-other-frames): Doc fix (Bug#276).
4652
73d56dbd
LMI
46532011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4654
4655 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4656
37ac18a3
CY
46572011-09-11 Chong Yidong <cyd@stupidchicken.com>
4658
4659 Change modes that used same-window-* vars to use switch-to-buffer.
4660
4661 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4662 Use switch-to-buffer.
4663
4664 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4665 (customize-browse, custom-buffer-create-other-window):
4666 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4667
4668 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4669 (Info-prev, Info-up, Info-speedbar-goto-node)
4670 (info-display-manual): Use switch-to-buffer.
4671 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4672
4673 * mail/sendmail.el (mail): Use switch-to-buffer.
4674 (mail-recover): Use switch-to-buffer-other-window.
4675
4676 * cmuscheme.el (run-scheme, switch-to-scheme):
4677 * ielm.el (ielm):
4678 * shell.el (shell):
4679 * net/rlogin.el (rlogin):
4680 * net/telnet.el (telnet, rsh):
4681 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4682
10195bd6
AS
46832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4684
4685 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4686
b322f63a
LMI
46872011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4688
39d7fed6
LMI
4689 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4690 so don't mention it (bug#9301).
ba5a81f1 4691 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4692
ee0e9f11
LMI
4693 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4694 match `x', `w32' and `ns', like the manual says (bug#9029).
4695
0b1c89c1 4696 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4697 (process-kill-buffer-query-function): Mention the buffer name in
4698 the query.
0b1c89c1 4699
77549ea8
LMI
4700 * image-mode.el (image-next-line): The line parameter is mandatory
4701 (bug#9258).
4702
803ef892
LMI
4703 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4704 which can be useful (bug#9301).
4705
12980837
LMI
4706 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4707
91054f8f
LMI
4708 * subr.el (match-string): Mention that the current buffer should
4709 be the same as the search was done in (bug#9282).
4710
b322f63a
LMI
4711 * facemenu.el: Disable the remove-* commands if the mark isn't
4712 active (bug#9162).
4713
3199b96f
CY
47142011-09-10 Chong Yidong <cyd@stupidchicken.com>
4715
4716 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4717 of display-buffer.
4718 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4719
4720 * replace.el (occur-mode-goto-occurrence)
4721 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4722 and display-buffer.
4723
4724 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4725 display-buffer.
4726
4727 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4728 special-display and same-window variables.
4729 (mail-other-window): Use switch-to-buffer-other-window.
4730 (mail-other-frame): USe switch-to-buffer-other-frame.
4731
393a301e
SM
4732 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4733 Use display-buffer-other-frame.
3199b96f
CY
4734 (gdb-display-gdb-buffer): Use pop-to-buffer.
4735
4736 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4737
4738 * progmodes/python.el: Don't set same-window-buffer-names.
4739
4740 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4741
4742 * window.el (display-buffer-alist): Add *Python*.
4743
8319e0bf
CY
47442011-09-10 Chong Yidong <cyd@stupidchicken.com>
4745
4746 * window.el (display-buffer-alist): Add entry for buffers
4747 previously handled same-window-*.
4748 (display-buffer-alist, display-buffer-default-action)
4749 (display-buffer-overriding-action): Mark as risky.
4750 (display-buffer-alist): Document action function changes.
4751 (display-buffer--same-window-action)
4752 (display-buffer--other-frame-action): New variables.
4753 (switch-to-buffer, display-buffer-other-frame): Use them.
4754 (display-buffer): Rename reuse-frame entry to reusable-frames.
4755 (display-buffer-reuse-selected-window): Function deleted.
4756 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4757 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4758 (display-buffer-special): New function.
4759 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4760 display-buffer-reuse-or-pop-window. Split off special-display
4761 part into display-buffer-special.
4762 (display-buffer-use-some-window): Don't perform any special
4763 pop-up-frames handling.
4764 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4765 (display-buffer--maybe-same-window): Rename from
0d3ff375 4766 display-buffer-maybe-same-window.
8319e0bf 4767
919a69aa
CY
4768 * info.el: Don't set same-window-regexps.
4769 (info-setup): New function.
4770 (info-other-window, info): Call it.
4771
4772 * cus-edit.el: Don't set same-window-regexps.
4773 (customize-group): New argument.
4774 (customize-group-other-window): Use it.
4775 (customize-face, customize-face-other-window): Likewise.
4776 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4777
8319e0bf
CY
4778 * net/rlogin.el:
4779 * net/telnet.el:
4780 * progmodes/gud.el: Don't set same-window-regexps.
4781
4782 * cmuscheme.el:
4783 * ielm.el:
4784 * shell.el:
4785 * mail/sendmail.el:
4786 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4787
25173000
JL
47882011-09-10 Juri Linkov <juri@jurta.org>
4789
4790 * isearch.el (isearch-edit-string): Remove obsolete mention of
4791 `C-w' (`isearch-yank-word-or-char') from docstring.
4792 (isearch-query-replace): Fix typo in docstring (bug#9466).
4793
056e44ef
JL
47942011-09-10 Juri Linkov <juri@jurta.org>
4795
4796 * paren.el (show-paren-function): Don't show escaped parens.
4797 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4798
c3760c17
EZ
47992011-09-10 Eli Zaretskii <eliz@gnu.org>
4800
4801 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4802 (mm-default-file-encoding): Remove autoload forms, they are
4803 replaced with autoload cookies in mml.el and mm-encode.el.
4804 (mail-add-attachment): New command.
4805 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4806 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4807 the doc string.
4808 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4809
fece895e
RT
48102011-09-10 Reuben Thomas <rrt@sc3d.org>
4811
e69df516
SM
4812 * simple.el (count-words-region): Use buffer if there's no region
4813 (bug#9429).
fece895e 4814
5e68ce4a
JL
48152011-09-09 Juri Linkov <juri@jurta.org>
4816
4817 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4818 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4819 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4820
0a6b9622
AM
48212011-09-09 Alan Mackenzie <acm@muc.de>
4822
4823 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4824 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4825
14a29deb
EZ
48262011-09-09 Eli Zaretskii <eliz@gnu.org>
4827
4828 Fix for Savannah bug#9392.
4829 * simple.el (mail-encode-mml): New defvar.
4830
4831 * mail/rmail.el (mail-encode-mml): Add a defvar.
4832 (rmail-enable-mime-composing): Default to t.
4833 (rmail-forward): Use MIME method of forwarding only if both
4834 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4835 Set mail-encode-mml non-nil if the MIME method was used.
4836
4837 * mail/sendmail.el (mml-to-mime): Add autoload form.
4838 (mail-encode-mml): Add a defvar.
4839 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4840 to nil.
4841 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4842 message through mml-to-mime, and reset mail-encode-mml to nil.
4843
28c45130
GM
48442011-09-09 Glenn Morris <rgm@gnu.org>
4845
4846 * woman.el (woman-if-body): When processing an .el block,
4847 do not delete the next .el block as well. (Bug#9447)
69f4b618 4848 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4849
9b1c252e
MR
48502011-09-08 Martin Rudalics <rudalics@gmx.at>
4851
4852 * window.el (window-deletable-p): Make sure window is live before
4853 invoking window-prev-buffers.
4854
567457e3
LL
48552011-09-08 Leo Liu <sdl.web@gmail.com>
4856
4857 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4858
97f05794
JL
48592011-09-08 Juri Linkov <juri@jurta.org>
4860
4861 * progmodes/compile.el (compilation-environment): Make it
4862 a defcustom (bug#8340).
4863
8b0874b5
MR
48642011-09-08 Martin Rudalics <rudalics@gmx.at>
4865
4866 * window.el (frame-auto-delete): Rename to window-auto-delete.
4867 Make it control auto-deletion of windows and/or frames.
4868 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4869 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4870 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4871 Rewrite handling of case when window/frame can be deleted.
4872 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4873 argument t. (Bug#9456)
8b0874b5 4874
4feb6e73
CY
48752011-09-07 Chong Yidong <cyd@stupidchicken.com>
4876
4877 * help-mode.el (help-mode): Restore autoload.
4878
91ab9c13
JL
48792011-09-07 Juri Linkov <juri@jurta.org>
4880
4881 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4882 `compilation-environment'. Set buffer-local
4883 `compilation-environment' to `thisenv' later after (funcall mode).
4884 (Bug#8340)
4885
4886 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4887 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4888 instead of replacing its value. (Bug#8340)
4889
0527e251
JL
48902011-09-07 Juri Linkov <juri@jurta.org>
4891
4892 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4893 based on text properties put by `grep-filter' instead of matching
4894 escape sequences.
4895 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4896 to the value of `grep-error-screen-columns' (bug#9438).
4897
249f792c
JL
48982011-09-07 Juri Linkov <juri@jurta.org>
4899
4900 * simple.el (next-error-highlight, next-error-highlight-no-select):
4901 Doc fix (bug#9432).
4902
ff7271b9
OT
49032011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4904
4905 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4906 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4907
183fc730
LL
49082011-09-07 Leo Liu <sdl.web@gmail.com>
4909
4910 * net/rcirc.el (rcirc-mode): Conditionally initialize
4911 rcirc-input-ring.
4912
77694924
SM
49132011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/find-func.el (find-function-C-source): Only set
4916 find-function-C-source-directory after checking that we found a source
4917 file there (bug#9440).
4918
d809b8eb
AM
49192011-09-06 Alan Mackenzie <acm@muc.de>
4920
4921 * isearch.el (isearch-other-meta-char): Wherever a key list is
4922 unread, "unread" the prefix arg, too. This fixes bug #8901.
4923
453de99f
OG
49242011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4925
4926 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4927
90439906
JL
49282011-09-05 Juri Linkov <juri@jurta.org>
4929
4930 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4931
f62bd846
JL
49322011-09-05 Juri Linkov <juri@jurta.org>
4933
4934 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4935 keeping point where processing of grep matches begins, and
4936 continue to delete remaining escape sequences from the same point.
4937 (grep-filter): Make leading zero optional in "0?1;31m" because
4938 git-grep emits "\033[1;31m" escape sequences unlike expected
4939 "\033[01;31m" as GNU Grep does (bug#9408).
4940 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4941
045820ec
JL
49422011-09-05 Juri Linkov <juri@jurta.org>
4943
4944 * subr.el (y-or-n-p): Capitalize "yes".
4945
f5e29b9b
MA
49462011-09-04 Michael Albinus <michael.albinus@gmx.de>
4947
4948 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4949 `tramp-cache-unload-hook' where appropriate.
4950 (tramp-methods): Rename `tramp-remote-sh' to
4951 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4952 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4953
4954 * net/tramp-sh.el (top): Don't require 'shell.
4955 (tramp-methods): Add `tramp-remote-shell' and
4956 `tramp-remote-shell-args' entries.
4957 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4958 (tramp-sh-handle-shell-command): Remove.
4959 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4960 Use `tramp-remote-shell'.
4961
2784c434
CY
49622011-09-03 Chong Yidong <cyd@stupidchicken.com>
4963
393a301e 4964 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4965 (sendmail-query-once): Save directly to send-mail-function.
4966 Update message-send-mail-function too.
4967
4968 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4969
464cdf56
CS
49702011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4971
4972 * progmodes/python.el (python-mode-map): Use correct function to
4973 start python interpreter from menu-bar (as reported by Geert
4974 Kloosterman).
4975 (inferior-python-mode-map): Fix typo.
393a301e 4976 (python-shell-map): Remove.
464cdf56 4977
d37e5c87
DD
49782011-09-03 Deniz Dogan <deniz@dogan.se>
4979
4980 * net/rcirc.el (rcirc-print): Simplify code for
4981 rcirc-scroll-show-maximum-output. There is no need to walk
4982 through all windows to find the right one.
4983
f3ada0ee
CS
49842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4985
4986 * help.el (help-return-method): Doc fix.
4987
1f3c99ca
MR
49882011-09-03 Martin Rudalics <rudalics@gmx.at>
4989
4990 * window.el (window-deletable-p): Don't return a non-nil value
4991 when there's a buffer that was shown in the window before.
4992 (Bug#9419)
393a301e
SM
4993 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4994 Set window's previous buffers to nil.
1f3c99ca 4995
a3cf097f
EZ
49962011-09-03 Eli Zaretskii <eliz@gnu.org>
4997
4998 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4999 newline before and after the tag line, so it doesn't interfere
5000 with determining the paragraph direction of bidirectional text.
5001
3d03de90
LL
50022011-09-03 Leo Liu <sdl.web@gmail.com>
5003
5004 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5005
c3313451
CY
50062011-09-02 Chong Yidong <cyd@stupidchicken.com>
5007
393a301e 5008 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5009 (pop-to-buffer): Change interactive spec. Pass second argument
5010 directly to display-buffer.
5011 (display-buffer): Fix interactive spec. Use functionp to
5012 distinguish between a function and a list of functions.
5013
5014 * abbrev.el (edit-abbrevs):
5015 * arc-mode.el (archive-extract):
5016 * autoinsert.el (auto-insert):
5017 * bookmark.el (bookmark-bmenu-list):
5018 * files.el (find-file):
5019 * view.el (view-buffer):
5020 * progmodes/compile.el (compilation-goto-locus):
5021 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5022
89894cd8
CY
50232011-09-02 Chong Yidong <cyd@stupidchicken.com>
5024
5025 * window.el (display-buffer-alist): Doc fix.
5026 (display-buffer): Add docstring. Don't treat
5027 display-buffer-default specially.
5028 (display-buffer-reuse-selected-window)
5029 (display-buffer-same-window, display-buffer-maybe-same-window)
5030 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5031 (display-buffer-pop-up-window)
5032 (display-buffer-reuse-or-pop-window)
5033 (display-buffer-use-some-window): New functions.
5034 (display-buffer-default-action): Use them.
393a301e 5035 (display-buffer-default): Delete.
89894cd8
CY
5036 (pop-to-buffer-1): Fix choice of actions.
5037
ae0bc9fb
SM
50382011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * minibuffer.el (completion--insert-strings): Don't get confused by
5041 completion entries that end with an LF char.
5042
e9d90883
EZ
50432011-09-01 Eli Zaretskii <eliz@gnu.org>
5044
5045 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5046
437014c8
CY
50472011-09-01 Chong Yidong <cyd@stupidchicken.com>
5048
5049 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5050 (display-buffer-same-window, display-buffer-other-window):
5051 New functions.
437014c8
CY
5052 (pop-to-buffer-1): New function. Use the above.
5053 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5054 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5055
5056 * view.el (view-buffer-other-window, view-buffer-other-frame):
5057 Just use pop-to-buffer.
5058
a5e063d5
TV
50592011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5060
5061 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5062
793d32bb
WH
50632011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5064
5065 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5066
d65e4c15
RS
50672011-08-31 Richard Stallman <rms@gnu.org>
5068
5069 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5070 of the separation of rmail-view-buffer from rmail-buffer.
5071 If you say no to "replace original", the decrypt is in the
5072 view buffer. If you say yes, the decrypt goes into the
5073 rmail buffer also.
5074
f818cd2a
MR
50752011-08-31 Martin Rudalics <rudalics@gmx.at>
5076
5077 * window.el (display-buffer-window): Rewrite doc-string.
5078 (display-buffer-record-window): New function.
5079 (display-buffer-macro-specifiers)
5080 (display-buffer-even-window-sizes, display-buffer-set-height)
5081 (display-buffer-set-width, display-buffer-in-window)
5082 (display-buffer-reuse-window, display-buffer-split-specifiers)
5083 (display-buffer-side-specifiers, display-buffer-split-window-1)
5084 (display-buffer-split-window, display-buffer-split-atom-window)
5085 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5086 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5087 (display-buffer-other-window-means-other-frame)
5088 (display-buffer-normalize-special)
5089 (display-buffer-normalize-default)
5090 (display-buffer-normalize-argument)
5091 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5092 (display-buffer-normalize-specifiers, display-buffer-frame)
5093 (display-buffer-same-window, display-buffer-same-frame)
5094 (display-buffer-other-window)
5095 (display-buffer-same-frame-other-window)
5096 (display-buffer-other-frame, pop-to-buffer-same-window)
5097 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5098 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5099 (switch-to-buffer-same-frame)
5100 (switch-to-buffer-other-window-same-frame)
5101 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5102 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5103 (display-buffer-alist-set): Remove.
5104 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5105 (special-display-regexps, special-display-function):
5106 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5107 parameter.
5108 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5109 (special-display-frame-alist, special-display-popup-frame)
5110 (same-window-buffer-names, same-window-regexps, same-window-p)
5111 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5112 (split-window-preferred-function, split-height-threshold)
5113 (split-width-threshold, window-splittable-p)
5114 (split-window-sensibly, window--try-to-split-window)
5115 (window--frame-usable-p, even-window-heights)
5116 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5117 (window--display-buffer-2, display-buffer-other-frame):
5118 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5119 (display-buffer-default, display-buffer-assq-regexp): New functions.
5120 (display-buffer-alist): Rewrite doc-string.
5121 (display-buffer-default-action)
5122 (display-buffer-overriding-action): New variables.
5123 (display-buffer, switch-to-buffer): Rewrite.
5124 (pop-to-buffer): Restore Emacs 23 behavior but use
5125 window-normalize-buffer-to-display.
5126 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5127 Restore Emacs 23 behavior but use
5128 window-normalize-buffer-to-switch-to.
5129 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5130 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5131 Rewrite using Emacs 23 options.
f818cd2a 5132
5bc3b51d
MA
51332011-08-31 Michael Albinus <michael.albinus@gmx.de>
5134
5135 * net/tramp.el (tramp-root-regexp): Remove.
5136 (tramp-completion-file-name-regexp-unified)
5137 (tramp-completion-file-name-regexp-separate)
5138 (tramp-completion-file-name-regexp-url): Don't use leading volume
5139 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5140 (tramp-drop-volume-letter): Simplify definition.
5141 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5142
b1a4f8e1
SM
51432011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5146 (bug#9356).
5147
5664fa7b
RT
51482011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5149
b1a4f8e1 5150 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5151
9a45d6c3
JL
51522011-08-29 Juri Linkov <juri@jurta.org>
5153
5154 * isearch.el (isearch-done): Don't display message "Mark saved"
5155 when arg `edit' is non-nil to prevent its flicker in the echo area.
5156
fb87e0fb
CY
51572011-08-28 Chong Yidong <cyd@stupidchicken.com>
5158
5159 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5160 obsolete packages for deletion.
5161
09ac1c2a
CS
51622011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5163
5164 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5165 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5166 view-mode from help-mode.
5167 (help-xref-override-view-map): Remove.
5168 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5169 view-mode is not used anymore.
5170
7a1ff57f
CY
51712011-08-28 Chong Yidong <cyd@stupidchicken.com>
5172
5173 * server.el (server-port): Doc fix.
5174
b9696605
CY
5175 * cus-theme.el (custom-theme-choose-mode): Inherit from
5176 special-mode (Bug#9124).
5177 (custom-theme-choose-mode-map): Add special-mode to parent.
5178
ef8cdf8c
AM
51792011-08-28 Alan Mackenzie <acm@muc.de>
5180
5181 * progmodes/cc-fonts.el
5182 (c-make-font-lock-BO-decl-search-function): New function.
5183 (c-basic-matchers-after - "Fontify the clauses after various
5184 keywords"): Extract the three keyword lists for the 3 erroneous
5185 constructs from the list of four, and use the new function above
5186 in place of an old one.
5187
27de4e20
DD
51882011-08-28 Deniz Dogan <deniz@dogan.se>
5189
5190 * net/rcirc.el (rcirc-insert-prev-input)
5191 (rcirc-insert-next-input): Remove unused argument.
5192
356a3681
SM
51932011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5196
3fc9b218
AM
51972011-08-27 Alan Mackenzie <acm@muc.de>
5198
5199 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5200 handle function pointer parameters properly.
5201
538a061c
MR
52022011-08-27 Martin Rudalics <rudalics@gmx.at>
5203
5204 * window.el (display-buffer-reuse-window): Fix case where
5205 selected window was reused with non-nil OTHER-WINDOW argument.
5206 (Bug#9381)
5207
35b1c40c
DD
52082011-08-27 Deniz Dogan <deniz@dogan.se>
5209
5210 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5211 oftc's NickServ messages.
5212
2f6a3e79
GM
52132011-08-27 Glenn Morris <rgm@gnu.org>
5214
5215 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5216
7254299e
CY
52172011-08-26 Chong Yidong <cyd@stupidchicken.com>
5218
5219 * emacs-lisp/package.el (package-install): Call package-initialize
5220 if called interactively.
5221
f8ccf167
LL
52222011-08-26 Leo Liu <sdl.web@gmail.com>
5223
5224 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5225
3e8cd5ce
JL
52262011-08-25 Juri Linkov <juri@jurta.org>
5227
5228 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5229 `search-whitespace-regexp' (bug#9364).
5230
93eb7113
JL
52312011-08-25 Juri Linkov <juri@jurta.org>
5232
5233 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5234 `regexp-search-ring' to their global values to protect from
5235 updating by `read-from-minibuffer' (bug#9185).
5236
f65d1611
JL
52372011-08-25 Juri Linkov <juri@jurta.org>
5238
5239 * textmodes/ispell.el (ispell-command-loop): Add newline
5240 at the end of the "Use option `i'..." line.
5241
f1cf7a31
JL
52422011-08-25 Juri Linkov <juri@jurta.org>
5243
5244 * battery.el (display-battery-mode): If `battery-status-function'
5245 or `battery-mode-line-format' is nil, display the message and set
5246 `display-battery-mode' to nil (bug#9363).
5247
0c95fcf7
EZ
52482011-08-25 Eli Zaretskii <eliz@gnu.org>
5249
5250 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5251 bidi-string-mark-left-to-right; they are unnecessary now.
5252
a2ebe600
DD
52532011-08-25 Deniz Dogan <deniz@dogan.se>
5254
5255 * net/quickurl.el: Documentation typo fixes.
5256
e4ed06f1
CY
52572011-08-25 Chong Yidong <cyd@stupidchicken.com>
5258
5259 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5260
e5f1c99e
GM
52612011-08-25 Glenn Morris <rgm@gnu.org>
5262
b2948976
GM
5263 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5264
e5f1c99e
GM
5265 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5266 (smtpmail-via-smtp): Handle nil response from smtp.
5267
f22f4808
JL
52682011-08-24 Juri Linkov <juri@jurta.org>
5269
5270 * proced.el (proced-marked): Inherit from `error' instead of
5271 `font-lock-warning-face'.
5272
5273 * ibuffer.el (ibuffer-marked-face): Change default face from
5274 `font-lock-warning-face' to `warning'.
5275 (ibuffer-deletion-face): Change default face from
5276 `font-lock-type-face' to `error'.
5277
5278 * battery.el (battery-update): Use the face `error' instead of
5279 `font-lock-warning-face' (bug#6117).
5280
6a93965e
JL
52812011-08-24 Juri Linkov <juri@jurta.org>
5282
5283 * faces.el (success): Change face color from "Green3" to
5284 "ForestGreen" on light background (bug#9353).
5285
1ed43b09
CY
52862011-08-24 Chong Yidong <cyd@stupidchicken.com>
5287
5664fa7b
RT
5288 * window.el (quit-window): Rename from quit-restore-window.
5289 Use same arglist as old quit-window.
1ed43b09
CY
5290 (frame-auto-delete): Doc fix.
5291
5292 * view.el (view-mode-exit): Use quit-window.
5293
11dcdbb2
JL
52942011-08-24 Juri Linkov <juri@jurta.org>
5295
5296 * isearch.el (isearch-ring-adjust1): Start visiting previous
5297 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5298 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5299 for empty search string (when the last search string is reused
5300 automatically) to adjust the isearch ring to the last element and
5301 prepare the correct index for further M-p commands (bug#9185).
5302
de62b4df
KH
53032011-08-24 Kenichi Handa <handa@m17n.org>
5304
5305 * international/ucs-normalize.el: If decomposition property of
5306 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5307 nil.
5308 (nfd, nfkd): Likewise.
5309
963b492b
SM
53102011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5313 from process filters aren't reliably transmitted to the surrounding
5314 accept-process-output.
5315 (mpc-proc-check): New function.
5316 (mpc-proc-sync): Use it (bug#8293)
5317
93b6b5e1
SM
53182011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5321 Add compatibility functions (bug#9313).
5322
bca633fb
EZ
53232011-08-23 Eli Zaretskii <eliz@gnu.org>
5324
b177498a
EZ
5325 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5326
6df6ae42 5327 * international/uni-bidi.el: Regenerate.
bca633fb 5328
0902a04e
KH
53292011-08-23 Kenichi Handa <handa@m17n.org>
5330
5331 * international/charprop.el:
5332 * international/uni-bidi.el:
5333 * international/uni-category.el:
5334 * international/uni-combining.el:
5335 * international/uni-comment.el:
5336 * international/uni-decimal.el:
5337 * international/uni-decomposition.el:
5338 * international/uni-digit.el:
5339 * international/uni-lowercase.el:
5340 * international/uni-mirrored.el:
5341 * international/uni-name.el:
5342 * international/uni-numeric.el:
5343 * international/uni-old-name.el:
5344 * international/uni-titlecase.el:
5345 * international/uni-uppercase.el: Regenerate.
5346
3bbf23bc
MR
53472011-08-23 Martin Rudalics <rudalics@gmx.at>
5348
5349 * help.el (help-window-setup): Fix message displayed when other
5350 window is reused. (Bug#9341)
5351
b3fd59bd
SM
53522011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5353
1802e444
SM
5354 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5355 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5356
b3fd59bd
SM
5357 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5358 Mark obsolete.
5359 * shell.el (shell-parse-pcomplete-arguments): New function.
5360 (shell-completion-vars): Use it instead (bug#9160).
5361
4eb61348
SM
53622011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5363
867cab74
SM
5364 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5365 strings and comments (bug#9333).
5366
4eb61348
SM
5367 * emacs-lisp/debug.el (debug-arglist): New function.
5368 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5369 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5370
262a1439
JL
53712011-08-22 Juri Linkov <juri@jurta.org>
5372
56ee679c
JL
5373 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5374 Revert regexp that highlights output switches to its old
5375 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5376
262a1439
JL
5377 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5378 to check for empty output (bug#9226).
5379
f13f86fb
CY
53802011-08-22 Chong Yidong <cyd@stupidchicken.com>
5381
5382 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5383 symbol-constituent as the default, as that stops font-lock from
5384 working properly (Bug#8843).
5385
c65c9622
LMI
53862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5387
5388 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5389 `coding-system-for-*' around the process open call to avoid
5390 auth-source side effects.
e7f2c178 5391 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5392 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5393 probe hangs.
c65c9622 5394
23a8a5ab
CY
53952011-08-21 Chong Yidong <cyd@stupidchicken.com>
5396
ff98b2dd
CY
5397 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5398
23a8a5ab
CY
5399 * emacs-lisp/find-func.el (find-function-noselect): New arg
5400 lisp-only.
5401
5402 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5403 signal an error for built-in functions (Bug#6664).
5404
f5e3c598
LMI
54052011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5406
5407 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5408 (smtpmail-try-auth-methods): Use it.
5409
a3f2468a
CY
54102011-08-21 Chong Yidong <cyd@stupidchicken.com>
5411
2c34e8da
CY
5412 * font-lock.el (font-lock-fontify-region)
5413 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5414 (font-lock-default-unfontify-buffer)
5415 (font-lock-default-fontify-region)
5416 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5417
b3fd59bd
SM
5418 * progmodes/compile.el (compilation-error-properties):
5419 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5420 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5421 `ant' regexp.
ee31aabc 5422
a3f2468a
CY
5423 * net/browse-url.el (browse-url-firefox): Don't call
5424 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5425
8e999f70
GM
54262011-08-20 Glenn Morris <rgm@gnu.org>
5427
c21a496a
GM
5428 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5429
59ee0542
GM
5430 * tutorial.el (tutorial--default-keys): Update some default bindings.
5431
8e999f70
GM
5432 * files.el (hack-local-variables): Fully ignore case for "mode:".
5433
e3715033
AM
54342011-08-20 Alan Mackenzie <acm@muc.de>
5435
5436 Resolve invalid use of a regexp in regexp-opt.
5437
4d61f28d
JB
5438 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5439 detection for a java annotation.
e3715033 5440
4d61f28d 5441 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5442 detection for a java annotation.
5443
4d61f28d
JB
5444 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5445 handling for java.
e3715033
AM
5446 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5447
04ed2e9c
CY
54482011-08-20 Chong Yidong <cyd@stupidchicken.com>
5449
5450 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5451 (Bug#9274).
5452
826cee64
AM
54532011-08-20 Alan Mackenzie <acm@muc.de>
5454
58179cce 5455 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5456 such a construct. Mainly for when jit-lock etc. starts a chunk
5457 here.
5458
58179cce 5459 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5460 variable.
58179cce 5461 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5462 c-make-font-lock-search-function.
5463 (c-make-font-lock-search-function): Use the above function.
5464 (c-make-font-lock-context-search-function): New function.
5465 (c-cpp-matchers): Enhance the preprocessor expression case with
5466 the above function
5467 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5468 which takes an expression.
5469
5470 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5471
13009bd8
MR
54722011-08-20 Martin Rudalics <rudalics@gmx.at>
5473
5474 * window.el (display-buffer-reuse-window)
5475 (display-buffer-pop-up-window): Don't reuse or split a side
5476 window.
5477
9234ff7f
GM
54782011-08-19 Glenn Morris <rgm@gnu.org>
5479
5480 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5481 Downcase "Mode:". (Bug#9331)
9234ff7f 5482
f635daa1
CY
54832011-08-18 Chong Yidong <cyd@stupidchicken.com>
5484
5485 * international/characters.el: Add L and R categories.
5486
5487 * subr.el (bidi-string-mark-left-to-right): Rename from
5488 string-mark-left-to-right. Use category search.
5489
5490 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5491
bc987f8b
JL
54922011-08-18 Juri Linkov <juri@jurta.org>
5493
5494 * faces.el (error, warning, success): New faces with definitions
5495 copied from old default values of `font-lock-warning-face',
5496 `compilation-warning', `compilation-info' (bug#6117).
5497
5498 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5499
5500 * progmodes/compile.el (compilation-error): Inherit from `error'.
5501 (compilation-warning): Inherit from `warning'.
5502 (compilation-info): Inherit from `success'.
5503
5504 * dired.el (dired-marked): Inherit from `warning'.
5505 (dired-flagged): Inherit from `error'.
5506
57173b96
LMI
55072011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5508
3e79eb87
LMI
5509 * mail/smtpmail.el (auth-source): Require to avoid problems with
5510 binding variables (bug#9298). Also clean up some unused
5511 autoloads.
5512
b3fd59bd
SM
5513 * net/network-stream.el (network-stream-open-starttls):
5514 Support using starttls.el without using gnutls-cli.
57173b96 5515
02b404de
JL
55162011-08-17 Juri Linkov <juri@jurta.org>
5517
5518 * progmodes/grep.el (rgrep): Handle the case when
5519 `grep-find-command' is a cons cell (bug#9278).
5520
8c9177f2
MR
55212011-08-17 Martin Rudalics <rudalics@gmx.at>
5522
5523 * window.el (display-buffer-pop-up-frame): Run frame creation
5524 function with BUFFER current (as special-display-popup-frame
5525 does). Reported by Drew Adams.
5526
3644a0ab
DU
55272011-08-17 Daiki Ueno <ueno@unixuser.org>
5528
5529 * epa-mail.el: Simplify GnuPG group expansion using
5530 epg-expand-group.
5531 (epa-mail-group-alist, epa-mail-group-modtime)
5532 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5533 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5534 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5535 Remove.
5536
5e617bc2 55372011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5538
5539 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5540
9c4aeabf
AM
55412011-08-16 Alan Mackenzie <acm@muc.de>
5542
5543 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5544 Correct, to avoid the inside of macros.
5545
3a99bf64
RS
55462011-08-16 Richard Stallman <rms@gnu.org>
5547
04963aa8
RS
5548 * epa-mail.el: Handle GnuPG group definitions.
5549 (epa-mail-group-alist, epa-mail-group-modtime)
5550 (epa-mail-gnupg-conf-file): New variables.
5551 (epa-mail-parse-groups, epa-mail-sync-groups)
5552 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5553 (epa-mail-expand-recipients): New functions.
5554 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5555
177549d0
RS
5556 * mail/rmail.el (rmail-epa-decrypt): New command.
5557
fe38beef
RS
5558 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5559 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5560 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5561 (epa-decrypt-armor-in-region): Make error message clearer.
5562
934eacb9
SM
55632011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5566 and "a2b" to "ab" for `prefix'.
5567
d024fb4e
CY
55682011-08-14 Chong Yidong <cyd@stupidchicken.com>
5569
5570 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5571 filter groups.
de148fee
CY
5572 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5573 Fourquet (Bug#8804).
d024fb4e 5574
62f1ca49
JB
55752011-08-12 Juanma Barranquero <lekktu@gmail.com>
5576
5577 * startup.el (argi): Declare as global variable (bug#9275).
5578
9ccaaa4b
CY
55792011-08-12 Chong Yidong <cyd@stupidchicken.com>
5580
5581 * subr.el (string-mark-left-to-right): Search the entire string
5582 for RTL script, not just the terminating character. Doc fix.
5583
a3dae87a
SM
55842011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5585
6cd18349
SM
5586 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5587 New function.
5588 (js--regexp-literal, js-syntax-propertize-function): Remove.
5589 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5590 (js-mode-map): Don't rebind electric keys.
5591 (js-insert-and-indent): Remove.
5592 (js-mode): Setup electric-layout and electric-indent instead.
5593
a3dae87a
SM
5594 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5595
9d5cb631
DU
55962011-08-12 Daiki Ueno <ueno@unixuser.org>
5597
5598 * epa.el (epa-progress-callback-function): Fix the logic of
5599 displaying progress.
5600 * epa-file.el (epa-file-insert-file-contents): Make progress
5601 display more user-friendly.
5602 (epa-file-write-region): Ditto.
5603
3e26a4a2
CY
56042011-08-10 Chong Yidong <cyd@stupidchicken.com>
5605
5606 * subr.el (string-mark-left-to-right): New function.
5607
5608 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5609 Use string-mark-left-to-right.
5610 (list-buffers-noselect): Caller changed.
5611
a3dae87a
SM
5612 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5613 Use string-mark-left-to-right.
3e26a4a2
CY
5614 (tabulated-list-print): Recenter after moving point.
5615
ac8cf6e6
JL
56162011-08-10 Juri Linkov <juri@jurta.org>
5617
5618 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5619 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5620 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5621
8d96c9a4
CY
56222011-08-09 Chong Yidong <cyd@stupidchicken.com>
5623
5624 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5625 (Bug#7554).
5626
7be1c708 56272011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5628
5629 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5630 character. (Bug#6594)
5631
37e11a63
CY
56322011-08-08 Chong Yidong <cyd@stupidchicken.com>
5633
839dde57
CY
5634 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5635 (image-dired--with-db-file): New macro.
5636 (image-dired-write-tags, image-dired-remove-tag)
5637 (image-dired-create-gallery-lists, image-dired-write-comments)
5638 (image-dired-get-comment, image-dired-mark-tagged-files)
5639 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5640 (image-dired-gallery-generate): Use insert-file-contents.
5641
37e11a63
CY
5642 * time.el (display-time-world-list, display-time-world-display):
5643 * time-stamp.el (time-stamp-string):
5644 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5645 set-time-zone-rule (Bug#7337).
5646
0b4946c4
DU
56472011-08-08 Daiki Ueno <ueno@unixuser.org>
5648
5649 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5650 (epg-error-to-string, epg-errors-to-string): New function.
5651 (epg-wait-for-completion): Reverse errors list.
5652 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5653 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5654 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5655 (epg-sign-keys, epg-generate-key-from-file)
5656 (epg-generate-key-from-string): Format errors by using
5657 epg-errors-to-string (bug#9255).
5658 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5659
75bfc667
JL
56602011-08-07 Juri Linkov <juri@jurta.org>
5661
5662 * faces.el (list-faces-display): Remove extra angle bracket
5663 from `help-mode-map'.
5664
5665 * info.el (Info-history-toc-nodes): Doc fix.
5666
5667 * longlines.el (longlines-mode): Doc fix.
5668
673e08bb
SM
56692011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5670
4640dd88
SM
5671 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5672 of statements and in a few more cases (bug#9183).
5673
673e08bb
SM
5674 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5675 New functions.
5676 (cl-transform-lambda): Use them (bug#9239).
5677
89b3f019
MR
56782011-08-05 Martin Rudalics <rudalics@gmx.at>
5679
5680 * window.el (display-buffer-same-window)
5681 (display-buffer-same-frame, display-buffer-other-window)
5682 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5683 (pop-to-buffer-other-window)
5684 (pop-to-buffer-same-frame-other-window)
5685 (pop-to-buffer-other-frame): Make them defuns.
5686 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5687
640c8776
SM
56882011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * subr.el (make-composed-keymap): Move from C. Change calling
5691 convention, and improve docstring to bring attention to a subtle point.
5692 * minibuffer.el (completing-read-default): Adjust accordingly.
5693
63648a95
MA
56942011-08-03 Michael Albinus <michael.albinus@gmx.de>
5695
5696 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5697 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5698
5699 * net/trampver.el: Update release number.
5700
b796c9b7
SM
57012011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5704 "in" (bug#9190).
5705
2239d7d5
LMI
57062011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5707
e07dd7c3
LMI
5708 * mail/sendmail.el (sendmail-query-once): Restore the current
5709 buffer after querying (bug#9074).
5710
0e6a2bd7
LMI
5711 * dired.el (dired-flagged): Use different faces for marked and
5712 flagged files (bug#6117).
5713
ce887515
LMI
5714 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5715 (bug#4433).
5716
92f2affc
LMI
5717 * ido.el (ido-mode): Switch off the message if called
5718 non-interactively.
5719
57d5aff0
LMI
5720 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5721 before 587, since it appears that that's more likely to work for
5722 more people.
5723
98cd6c18 5724 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5725 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5726 exist.
5727
b96dec83
LMI
5728 * info.el: Remove the `Info-beginning-of-buffer' function
5729 (bug#8325).
5730
b796c9b7
SM
5731 * net/network-stream.el (network-stream-open-starttls):
5732 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5733
d90e2ea0
MR
57342011-08-01 Martin Rudalics <rudalics@gmx.at>
5735
5736 * window.el (display-buffer-in-window): Don't set dedicated status
5737 of window here (Bug#9215).
5738 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5739 (display-buffer-pop-up-side-window)
b796c9b7 5740 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5741
cca09170
SM
57422011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5745 before binding generated-autoload-file.
5746
027b979c
DD
57472011-08-01 Deniz Dogan <deniz@dogan.se>
5748
5749 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5750
3c7ee4f3
MA
57512011-07-30 Michael Albinus <michael.albinus@gmx.de>
5752
5753 Sync with Tramp 2.2.2.
5754
5755 * net/trampver.el: Update release number.
5756
2cc8e51a
JL
57572011-07-30 Juri Linkov <juri@jurta.org>
5758
5759 * dired-aux.el (dired-touch-initial): Remove function.
5760 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5761 current time, and `default' to the last modification time of the
5762 current marked file (bug#6887).
5763
a514d856
JM
57642011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5765
5766 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5767 numeric argument to read-number (bug#9163).
a514d856 5768
8a7eddd7
MA
57692011-07-27 Michael Albinus <michael.albinus@gmx.de>
5770
5771 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5772 connection process, it could be nil.
5773
1ddd96f5
LL
57742011-07-27 Leo Liu <sdl.web@gmail.com>
5775
5776 Simplify url handling in rcirc-mode.
5777
5778 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5779 (rcirc-browse-url-at-mouse): Remove.
5780 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5781
b248a85d
AM
57822011-07-26 Alan Mackenzie <acm@muc.de>
5783
5784 Fontify bitfield declarations properly.
5785
5786 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5787 (c-symbol-chars): Now exported as a lang variable.
5788 (c-not-primitive-type-keywords): New lang variable.
5789
5790 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5791 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5792 parsed as a bitfield declaration.
b248a85d 5793
b796c9b7
SM
5794 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5795 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5796 (c-punctuation-in): New function.
5797 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5798 declarations properly.
5799
68575ab0
UJ
58002011-07-26 Ulf Jasper <ulf.jasper@web.de>
5801
5802 * calendar/icalendar.el (icalendar--all-events): Take care of
5803 multiple vcalendars in a single file.
b796c9b7 5804 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5805
0f0a88b9
DD
58062011-07-25 Deniz Dogan <deniz@dogan.se>
5807
5808 * image.el (insert-image): Clarifying docstring.
5809
0b3f36df
MA
58102011-07-24 Michael Albinus <michael.albinus@gmx.de>
5811
5812 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5813 `tramp-send-command-and-check' if there is no error.
5814 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5815
a9901f61
AM
58162011-07-22 Alan Mackenzie <acm@muc.de>
5817
5818 Prevent cc-langs.elc being loaded at run time.
5819
5820 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5821 cc-langs.
5822
4d61f28d 5823 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5824 "(require 'cc-langs)". Quote a form so it will evaluate at
5825 (cc-mode's) compilation time.
5826
11d074b2
MA
58272011-07-22 Michael Albinus <michael.albinus@gmx.de>
5828
5829 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5830 loading. (Bug#9114)
5831
938b94c8
MR
58322011-07-21 Martin Rudalics <rudalics@gmx.at>
5833
5834 * window.el (display-buffer-pop-up-window)
5835 (display-buffer-pop-up-side-window)
5836 (display-buffer-in-side-window): Call display-buffer-set-height
5837 and display-buffer-set-width after setting the new window's
b796c9b7 5838 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5839
bfa4f190
SS
58402011-07-20 Sam Steingold <sds@gnu.org>
5841
5842 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5843 (etags-tags-included-tables): Call `convert-standard-filename' on
5844 the file names contained in TAGS so that windows Emacs can handle
5845 TAGS files created by cygwin ctags.
5846
8ca42262
LMI
58472011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5848
5849 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5850 which apparently didn't work.
5851
5db2afd2 58522011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5853
5db2afd2
RW
5854 * proced.el (proced-send-signal): For *Marked Processes* buffer
5855 put point at beginning of buffer.
5856
92e15d10
SB
58572011-07-19 Stephen Berman <stephen.berman@gmx.net>
5858
5859 * proced.el (proced-format): Make header lines align with the text
5860 (bug#1779).
5861
1bfd59e5
LMI
58622011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5863
5864 * view.el (view-buffer): Allow running in `special' modes if we're
5865 visiting a file (bug#8615).
5866
f5aae37c
MR
58672011-07-19 Martin Rudalics <rudalics@gmx.at>
5868
5869 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5870 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5871 New functions.
f5aae37c
MR
5872 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5873 more accurately.
5874
bf2c1571
AM
58752011-07-18 Alan Mackenzie <acm@muc.de>
5876
5877 Fontify declarators properly when, e.g., a jit-lock chunk begins
5878 inside a declaration.
5879
5880 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5881
b796c9b7
SM
5882 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5883 New function.
bf2c1571
AM
5884 (c-complex-decl-matchers): Insert reference to
5885 c-font-lock-enclosing-decls.
5886
5887 * progmodes/cc-engine.el (c-backward-single-comment):
5888 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5889 to nil around calls to (forward-comment -1).
5890
4e190b80
LMI
58912011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5892
12dc863d
LMI
5893 * image.el (put-image): Doc typo fix.
5894
a762e966
LMI
5895 * progmodes/etags.el (tags-search): Doc typo fix.
5896
4e190b80
LMI
5897 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5898 password if we get errors 550 to 554.
5899
f019fb21
LMI
59002011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5901
b796c9b7 5902 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5903
81746738
LMI
5904 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5905 indentation character (bug#6380).
5906
3ee3a1b5
LMI
5907 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5908
c82f64de
LMI
5909 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5910 to clarify what the problem is (bug#4291).
5911
f019fb21
LMI
5912 * simple.el (current-kill): Clarify what
5913 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5914 (auto-fill-mode): Document `auto-fill-function' in relation to
5915 `auto-fill-mode' (bug#2470).
f019fb21 5916
0794775d
LM
59172011-07-16 Lawrence Mitchell <wence@gmx.li>
5918
5919 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5920 method if slot is read-only (bug#9035).
5921
be39b8cc
MR
59222011-07-16 Martin Rudalics <rudalics@gmx.at>
5923
b796c9b7 5924 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5925 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5926 selected before, see discussion of (Bug#8615), (Bug#6954).
5927 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5928
6ccf7859
GM
59292011-07-15 Glenn Morris <rgm@gnu.org>
5930
5931 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5932 Respect help-form.
6ccf7859 5933
87e86684
LM
59342011-07-09 Lawrence Mitchell <wence@gmx.li>
5935
5936 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5937 (gnutls-negotiate): Use it.
5938
d6066239
LMI
59392011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5940
b796c9b7
SM
5941 * net/gnutls.el (gnutls-negotiate):
5942 Upcase `gnutls-algorithm-priority'.
d6066239 5943
bd23ebc0
GM
59442011-07-15 Glenn Morris <rgm@gnu.org>
5945
c65bca65
GM
5946 * jka-compr.el (jka-compr-verbose): Move from here...
5947 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5948 Add missing :version tag.
5949 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5950
478615cc
LMI
59512011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5952
7b41decb
LMI
5953 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5954 (gnutls-negotiate): Use it.
5955
dbc44fcd
LMI
5956 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5957
06789f97
LMI
5958 * info.el (Info-beginning-of-buffer): New command.
5959 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5960 announcing `b' as the key (bug#8325).
ab896c37 5961 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5962
c39da690
LMI
5963 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5964
3aa5f34b
LMI
5965 * international/mule-cmds.el
5966 (describe-specified-language-support): Make the error message
5967 clearer (bug#8905).
5968
4bf0979f
LMI
5969 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5970
478615cc
LMI
5971 * isearch.el (isearch-barrier): Add a doc string, since it's
5972 mentioned in a function doc string (bug#8678).
5973
75c68aa1
MR
59742011-07-15 Martin Rudalics <rudalics@gmx.at>
5975
5976 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5977 buffer argument (Bug#9083) and self-identifying label argument.
5978
a7c33da2
GM
59792011-07-15 Glenn Morris <rgm@gnu.org>
5980
5981 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5982
2f5c6024
LMI
59832011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5984
5985 * man.el (Man-fontify-manpage): Fix message when formatting the
5986 man page (bug#7929).
5987
0bb23927 59882011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5989
5990 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5991 argument LRM; if non-nil, append an invisible LRM character to the
5992 buffer name.
5993 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5994 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5995 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5996 paragraph direction.
cce4b0a7 5997
621ef9ab
LMI
59982011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5999
d1583c48
LMI
6000 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6001 the man page name (bug#7929).
6002
6a57fb5f
LMI
6003 * image.el (put-image): Mention the `put-image' overlay property
6004 (bug#7834).
6005
d7956b14
LMI
6006 * scroll-bar.el (set-scroll-bar-mode): Mention that
6007 `scroll-bar-mode' lists the values (bug#7772).
6008
5b2d4a66
LMI
6009 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6010 command (bug#7729).
6011
7509a874
LMI
6012 * rect.el (apply-on-rectangle): Return the point after the last
6013 operation.
6014 (string-rectangle): Go to the point after the last operation
6015 (bug#7522).
6016
4fe74b19
LMI
6017 * printing.el (pr-toggle-region): Clarify the documentation
6018 slightly (bug#7493).
6019
b796c9b7
SM
6020 * time.el (display-time-update):
6021 Allow `display-time-mail-function' to return nil (bug#7158).
6022 Fix suggested by Detlev Zundel.
ab283561 6023
fc233c9d
LMI
6024 * vc/diff.el (diff): Clarify the order the file names are read
6025 (bug#7111).
6026
43f5740b
LMI
6027 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6028 the doc string (bug#7015).
6029
f2182a76
LMI
6030 * font-lock.el (font-lock-maximum-decoration): Mention what
6031 numeric levels mean (bug#6935).
6032
621ef9ab
LMI
6033 * startup.el (initial-buffer-choice): Don't mention the `none'
6034 selection, which is against policy.
6035
adc47434
MR
60362011-07-14 Martin Rudalics <rudalics@gmx.at>
6037
b796c9b7
SM
6038 * window.el (display-buffer-normalize-special):
6039 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6040
7e5bfb8f
EZ
60412011-07-14 Eli Zaretskii <eliz@gnu.org>
6042
6043 * subr.el (version<, version<=, version=): Mention "-CVS" and
6044 "-12345" alpha version numbers.
6045
27fa387a
CY
60462011-07-14 Chong Yidong <cyd@stupidchicken.com>
6047
6048 * bindings.el: Add advertised binding for set-mark-command
6049 (Bug#5772).
6050
8bdfa064
CY
60512011-07-14 Chong Yidong <cyd@stupidchicken.com>
6052
6053 * bindings.el (mode-line-other-buffer):
6054 * bookmark.el (bookmark-bmenu-2-window):
6055 * bs.el (bs-cycle-next, bs-cycle-previous):
6056 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6057 switch-to-buffer.
6058
6059 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6060 Delete.
8bdfa064 6061
5eba16a3
JB
60622011-07-14 Juanma Barranquero <lekktu@gmail.com>
6063
6064 * follow.el (follow-debug-message, follow-redisplay):
6065 * jka-cmpr-hook.el (with-auto-compression-mode):
6066 Fix typos in docstrings.
6067
15853710
LMI
60682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6069
a28e4607
LMI
6070 * subr.el (with-silent-modifications): Clarify somewhat what the
6071 macro inhibits (bug#6525).
6072
15853710
LMI
6073 * simple.el (eval-expression): Note what it does if called
6074 interactively (bug#6495).
6075
bee0fcef
CY
60762011-07-13 Chong Yidong <cyd@stupidchicken.com>
6077
b796c9b7
SM
6078 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6079 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6080
6081 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6082 Remove switch-to-buffer.
6083
58274504
LMI
60842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6085
bd2fcc8d
LMI
6086 * files.el (make-directory): Clarify that an error will be raised
6087 if there's an error (bug#6397).
6088
0f04b32c
LMI
6089 * startup.el (initial-buffer-choice): Add `none' as a choice
6090 (bug#6234).
6091
465c5fc8
LMI
6092 * subr.el (add-hook): Clarify section about buffer-local hooks
6093 (bug#6218).
6094
58274504
LMI
6095 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6096
bead9a43
JB
60972011-07-13 Juanma Barranquero <lekktu@gmail.com>
6098
6099 * tabify.el (untabify): Preserve the current column so that point
6100 doesn't move (bug#6032).
6101
3af98a7b
LMI
61022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6103
b796c9b7
SM
6104 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6105 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6106
6240145a
GM
61072011-07-13 Glenn Morris <rgm@gnu.org>
6108
6109 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6110 (dired-insert-directory): Give a message the first time
6111 if ls is found not to support --dired.
6112
1d8c2ccc
LMI
61132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6114
6115 * simple.el (toggle-truncate-lines): Clarify what is toggled
6116 (bug#5580). Text by Drew Adams.
6117
5fc4038e
CY
61182011-07-13 Chong Yidong <cyd@stupidchicken.com>
6119
6120 * simple.el (blink-matching-open): Make the error message from the
6121 last change less verbose.
6122
bf6012e5
DN
61232011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6124
6125 * font-lock.el (font-lock-comment-face): Use the high contrast
6126 "yellow" color for font-lock-comment-face on low color terminals
6127 using a dark background color (bug#4221).
6128
343c3b5a
LMI
61292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6130
7e9505c5
LMI
6131 * dired.el (dired-insert-set-properties): Make the doc string
6132 reflect what it does now (bug#5325).
6133
c26fdcf5
LMI
6134 * simple.el (blink-matching-open): Say that we were unable to find
6135 the match within the limit, if we're limited (bug#5122).
6136
bb388cc5
LMI
6137 * international/mule-cmds.el (prefer-coding-system): Add an
6138 example (bug#4869).
6139
343c3b5a
LMI
6140 * progmodes/etags.el (tags-search): Document `file-list-form'
6141 (bug#4731).
6142
2a517d45
LM
61432011-07-13 Lawrence Mitchell <wence@gmx.li>
6144
6145 * net/browse-url.el (browse-url-default-browser)
6146 (browse-url-browser-function): Make the default browser choice a
6147 bit more logical (bug#4300). Also clean up the doc string.
6148
b6c78ef2
JB
61492011-07-13 Juanma Barranquero <lekktu@gmail.com>
6150
6151 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6152 binary endings (bug#4440).
6153
1c4dd947
LMI
61542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6155
a2014063
LMI
6156 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6157 which can be pretty annoying (bug#8971).
6158
9c9c2d88
LMI
6159 * jka-compr.el (jka-compr-verbose): New variable, and use
6160 throughout (bug#8971).
6161
1c4dd947
LMI
6162 * info.el (Info-find-file): Fall back on the installation
6163 directory if we can't find the info node anywhere else.
6164
a1c9f41b
SO
61652011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6166
6167 * vc/vc.el (vc-revert-file):
6168 Don't set file time-stamp in the past. (Bug#5181)
6169
536f3d36
LMI
61702011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6171
7152b011
LMI
6172 * files.el (after-find-file): Give a better error message when
6173 trying to find a symlink that points to a file that doesn't exist
6174 (bug#4398).
6175
536f3d36
LMI
6176 * progmodes/cc-vars.el: Remove (probably) misleading comment
6177 (bug#4396).
6178
460c0fba
JB
61792011-07-12 Johan Bockgård <bojohan@gnu.org>
6180
6181 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6182
7a6bda45
CY
61832011-07-12 Chong Yidong <cyd@stupidchicken.com>
6184
6185 * mouse-sel.el: Hack restoring functionality, while keeping
6186 compatibility with 2010-07-03 changes to mouse selection.
6187 (mouse-sel-primary-overlay): New var.
6188 (mouse-sel-selection-alist): Use it.
6189 (mouse-sel-mode): Doc fix; remove points that are default features
6190 of mouse.el.
6191
c79598ef
JB
61922011-07-12 Johan Bockgård <bojohan@gnu.org>
6193
6194 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6195 Fix previous fix (bug#2490).
6196
ff8be6ef
RW
61972011-07-12 Roland Winkler <winkler@gnu.org>
6198
b796c9b7
SM
6199 * textmodes/bibtex.el (bibtex-initialize):
6200 Use pop-to-buffer-same-window.
ff8be6ef
RW
6201 (bibtex-search-entries): Fix interactive call.
6202
296ba3ee
LMI
62032011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6204
f5242a02 6205 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6206 Fontise bytecomp Error lines more correctly (bug#2490).
6207 Fix suggested by Johan Bockgård.
f5242a02 6208
296ba3ee
LMI
6209 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6210
6211 * dired-x.el (dired-guess-default): Use `delete-dups'.
6212
f69fd0d2
CY
62132011-07-12 Chong Yidong <cyd@stupidchicken.com>
6214
6215 * dired.el (dired-mark-prompt):
6216 * dired-aux.el (dired-read-shell-command): Doc fix.
6217
eab5dc07
LMI
62182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6219
b796c9b7
SM
6220 * mail/sendmail.el (sendmail-query-once):
6221 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6222 emacs -Q.
6223
6224 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6225
eab5dc07
LMI
6226 * cus-edit.el (custom-file): Take an optional no-error variable.
6227 (customize-save-variable): Set the variable, and give a warning if
6228 running under "emacs -q".
6229
a1e65d42
JB
62302011-07-11 Juanma Barranquero <lekktu@gmail.com>
6231
6232 * loadhist.el (unload-feature-special-hooks):
6233 Add `auto-coding-functions', `fill-nobreak-predicate' and
6234 `find-directory-functions' (bug#5327).
6235
1d52da10
LMI
62362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6237
be958f1d
LMI
6238 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6239
5bedb26c
LMI
6240 * cus-edit.el (custom-guess-name-alist): -alist variables should
6241 use the `alist' type (bug#3120). Suggested by Drew Adams.
6242
1d52da10
LMI
6243 * printing.el: Add documentation to all the `pr-toggle-' commands.
6244
cd394be1 62452011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6246
6247 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6248 backends where it makes sense (bug#2623).
6249
dcc88d8a
LMI
62502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6251
c3de9feb
LMI
6252 * dired-x.el (dired-guess-default): Remove duplicate shell command
6253 entries (bug#2028).
8a93078b 6254 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6255 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6256
dcc88d8a
LMI
6257 * subr.el (remove-duplicates): New conveniency function.
6258
505e3645
LMI
62592011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6260
6261 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6262 (bug#1526).
6263
62642011-07-10 Martin Rudalics <rudalics@gmx.at>
6265
6266 * window.el (display-buffer-normalize-default): Don't invert
6267 meaning of even-window-heights. Reported by Eli Zaretskii
6268 <eliz@gnu.org>.
6269
455e4fa1
BR
62702011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6271
6272 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6273
8e0bc3e9
CY
62742011-07-10 Chong Yidong <cyd@stupidchicken.com>
6275
6276 * window.el (display-buffer): Fix arguments to
6277 display-buffer-reuse-window in last change.
6278
fa7c3228
CY
6279 * faces.el (link): Use a less saturated blue on light backgrounds.
6280
6281 * startup.el (fancy-startup-text, fancy-about-text)
6282 (fancy-startup-tail): Use font-lock faces, for background safety.
6283
c0a7f300
BN
62842011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6285
b796c9b7
SM
6286 * emulation/viper-cmd.el (viper-change-state-to-vi):
6287 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6288
4dc2a129
MR
62892011-07-09 Martin Rudalics <rudalics@gmx.at>
6290
6291 * window.el (display-buffer-default-specifiers): Remove.
6292 (display-buffer-macro-specifiers): Remove default specifiers.
6293 (display-buffer-alist): Default to nil.
b796c9b7 6294 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6295 (display-buffer-pop-up-window): Allow splitting internal
6296 windows. Check whether a live window was created.
6297 (display-buffer-other-window-means-other-frame)
6298 (display-buffer-normalize-arguments): Rename to
6299 display-buffer-normalize-argument and rewrite. Set the
6300 other-window specifier.
6301 (display-buffer-normalize-special): New function.
6302 (display-buffer-normalize-options): Rename to
6303 display-buffer-normalize-default and rewrite.
6304 (display-buffer-normalize-options-inhibit): Remove.
6305 (display-buffer-normalize-specifiers): Rewrite.
6306 (display-buffer): Process other-window specifier and call
6307 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6308 more faithfully.
b796c9b7 6309 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6310 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6311 (display-buffer-in-window, display-buffer-alist-set):
6312 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6313 <tassilo@member.fsf.org>.
6314
2d43b8c9
LL
63152011-07-09 Leo Liu <sdl.web@gmail.com>
6316
6317 * register.el (insert-register): Restore accidental change on
6318 2011-06-26. (Bug#9028)
6319
7f9b7c53
GM
63202011-07-09 Glenn Morris <rgm@gnu.org>
6321
6322 * subr.el (remq): Handle the empty list. (Bug#9024)
6323
f042cfd8
AS
63242011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6325
6326 * mail/sendmail.el (send-mail-function): No longer delay custom
6327 initialization.
6328 * custom.el (custom-initialize-delay): Doc fix.
6329
856b2f11
SM
63302011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6333
afae1d68
MA
63342011-07-08 Michael Albinus <michael.albinus@gmx.de>
6335
6336 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6337 human-friendly prompt.
6338
0757af94
SM
63392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6342 provided by a particular plugin.
6343
d760b731
LMI
63442011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6345
6346 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6347 save customizations (with "emacs -Q"), just set the variable
6348 instead of erroring out.
6349
6350 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6351
cd79ce90
JL
63522011-07-08 Juri Linkov <juri@jurta.org>
6353
6354 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6355 (archive-zip-update-case): Use 7z if found by `executable-find'.
6356 The order of searching the available programs is the same as in
6357 `archive-zip-extract' (bug#8968).
6358
14cc04aa
CY
63592011-07-07 Chong Yidong <cyd@stupidchicken.com>
6360
6361 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6362 (menu-bar-options-menu): Tweak descriptions.
6363
0a1848ec
LMI
63642011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365
6366 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6367 menu items into verb phrases (bug#1421). Also refill to fit under
6368 80 columns.
6369
f5bd0689
CY
63702011-07-07 Chong Yidong <cyd@stupidchicken.com>
6371
538e85c6
CY
6372 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6373 (Info-read-node-name): Doc fix (Bug#1084).
6374
f5bd0689
CY
6375 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6376 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6377 (end-of-sexp, beginning-of-sexp)
6378 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6379 (forward-symbol, forward-same-syntax, word-at-point)
6380 (sentence-at-point): Doc fix (Bug#1144).
6381
56ec5115
LMI
63822011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6383
f3f8e37f
LMI
6384 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6385 should cover it (bug#1281).
6386
0757af94 6387 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6388
e9fce1ac 6389 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6390 negotiation fails, then possibly try again with a non-encrypted
6391 connection (bug#9017).
6392
56ec5115
LMI
6393 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6394 be used.
6395
c2f9aec8
RS
63962011-07-07 Richard Stallman <rms@gnu.org>
6397
6398 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6399 property, and handle its changed format.
6400 Look for the correct line number.
6401 Use file's line contents (but not past first =) to find
6402 correct line in message.
6403
ef7b981d 64042011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6405
6406 * international/characters.el (build-unicode-category-table):
6407 Delete it.
0757af94 6408 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6409
0757af94 6410 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6411 to src/chartab.c.
6412 (get-char-code-property): Call unicode-property-table-internal to
6413 load a file. Call get-unicode-property-internal where necessary.
6414 (put-char-code-property): Call unicode-property-table-internal to
6415 load a file. Call put-unicode-property-internal where necessary.
6416 put-unicode-property-internal where necessary.
0757af94
SM
6417 (char-code-property-description):
6418 Call unicode-property-table-internal to load a file.
c805dec0
KH
6419
6420 * international/charprop.el:
6421 * international/uni-bidi.el:
6422 * international/uni-category.el:
6423 * international/uni-combining.el:
6424 * international/uni-comment.el:
6425 * international/uni-decimal.el:
6426 * international/uni-decomposition.el:
6427 * international/uni-digit.el:
6428 * international/uni-lowercase.el:
6429 * international/uni-mirrored.el:
6430 * international/uni-name.el:
6431 * international/uni-numeric.el:
6432 * international/uni-old-name.el:
6433 * international/uni-titlecase.el:
6434 * international/uni-uppercase.el: Regenerate.
6435
6436 * loadup.el: Load international/charprop.el before
6437 international/characters.
6438
e14b388a
CY
64392011-07-07 Chong Yidong <cyd@stupidchicken.com>
6440
6441 * window.el (next-buffer, previous-buffer): Signal an error if
6442 called from a minibuffer window.
6443
6444 * bindings.el: Revert 2011-07-04 change.
6445
354cf0ba
RS
64462011-07-06 Richard Stallman <rms@gnu.org>
6447
6448 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6449 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6450 Treat markers like ints.
6451 (rmail-mime-entity): Doc fix.
6452
a48868a7
LMI
64532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6454
4906cd3d
LMI
6455 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6456 defcustom again for backwards compatibility.
6457
e0457abe
LMI
6458 * simple.el (shell-command-on-region): Fill.
6459
d67f7e1f
LMI
6460 * dired-aux.el (dired-kill-line): Add a doc string.
6461
fe204702
LMI
6462 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6463 to "\\sw\\|\\s_" (bug#358).
6464
a48868a7
LMI
6465 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6466 (dired-unmark-backward): Ditto.
6467 (dired-flag-backup-files): Ditto.
6468
6469 * dired-x.el (dired-mark-sexp): Ditto.
6470
aa8a705c
RS
64712011-07-06 Richard Stallman <rms@gnu.org>
6472
6473 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6474 (rmail-mime-entity): New arg TRUNCATED.
6475 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6476 New functions.
6477 (rmail-mime-save): Warn if entity is truncated.
6478 (rmail-mime-toggle-hidden): Likewise, for showing.
6479 (rmail-mime-process-multipart): Record when an entity is truncated.
6480
a9a936b9
RS
6481 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6482 if ENTITY is a string.
6483
1f2b92cb
LMI
64842011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6485
f4f73198 6486 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6487 of faces when `M-C-x'-ing their definitions (bug#8378).
6488 Also clean up the code slightly.
f4f73198 6489
12b16734 6490 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6491 because that makes the colors go away.
12b16734 6492
f0691d22
LMI
6493 * mail/sendmail.el (send-mail-function): Change the default to
6494 `sendmail-query-once'.
9e87df06 6495 (sendmail-query-once): Add an autoload cookie.
f0691d22 6496
1f2b92cb
LMI
6497 * net/network-stream.el (network-stream-open-starttls): Try using
6498 a plain connection even if the server offered STARTTLS, and we
6499 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6500 capability. This should make smtpmail.el work in slightly more
6501 configurations.
6502
1cdd2a1b
MA
65032011-07-06 Michael Albinus <michael.albinus@gmx.de>
6504
6505 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6506 New defun.
6507 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6508
fbcc67e2
MM
65092011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6510
6511 * progmodes/sql.el: Version 3.0
0757af94 6512 (sql-product-alist): Add product :completion-object,
fbcc67e2 6513 :completion-column, and :statement attributes.
0757af94 6514 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6515 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6516 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6517 ansi keywords.
6518 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6519 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6520 (sql-oracle-show-reserved-words): New function for development.
6521 (sql-product-font-lock): Simplify for source code buffers.
6522 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6523 New functions.
6524 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6525 (sql-mode-map): Add statement movement functions.
6526 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6527 New variable.
fbcc67e2
MM
6528 (sql-statement-regexp, sql-beginning-of-statement)
6529 (sql-end-of-statement, sql-signum): New functions.
0757af94 6530 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6531 (sql-show-sqli-buffer): Bug fix.
6532 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6533 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6534 with sql-interactive-mode.
6535 (sql-save-connection): Save buffer local settings.
0757af94 6536 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6537 (sql-product-interactive): Bug fix.
6538 (sql-preoutput-hold): New variable.
6539 (sql-interactive-remove-continuation-prompt): Bug fixes.
6540 (sql-debug-redirect): New variable.
6541 (sql-str-literal): New function.
6542 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6543 Redesign.
fbcc67e2
MM
6544 (sql-oracle-save-settings, sql-oracle-restore-settings)
6545 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6546 (sql-completion-object, sql-completion-column)
6547 (sql-completion-sqlbuf): New variables.
6548 (sql-build-completions-1, sql-build-completions)
6549 (sql-try-completion): New functions.
6550 (sql-read-table-name): Use them.
6551 (sql-contains-names): New buffer local variable.
6552 (sql-list-all, sql-list-table): Use it.
6553 (sql-oracle-completion-types): New variable.
6554 (sql-oracle-completion-object, sql-sqlite-completion-object)
6555 (sql-postgres-completion-object): New functions.
6556
d4eaeab1
GM
65572011-07-06 Glenn Morris <rgm@gnu.org>
6558
6559 * window.el (pop-to-buffer): Doc fix.
6560
322b7dab 65612011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6562
6563 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6564
322b7dab 65652011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6566
322b7dab 6567 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6568
322b7dab 6569 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6570
605dd5bf
CY
65712011-07-05 Chong Yidong <cyd@stupidchicken.com>
6572
6573 * button.el (button): Inherit from link face. Suggested by Dan
6574 Nicolaescu.
6575
7dbfa719
SM
65762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6577
3db614b0
SM
6578 * progmodes/gdb-mi.el: Fit in 80 columns.
6579 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6580 switch-to-buffer.
6581
7dbfa719
SM
6582 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6583 if imenu is simply not configured (bug#8941).
6584
919d884a
KM
65852011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6586
6587 * allout.el (allout-post-undo-hook): New allout outline-change
6588 event hook to signal undo activity.
6589 (allout-post-command-business): Run allout-post-undo-hook if an
6590 undo just occurred.
7dbfa719
SM
6591 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6592 * allout-widgets.el (allout-widgets-after-undo-function):
6593 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6594 in the vicinity of an undo.
6595 (allout-widgets-mode): Include allout-widgets-after-undo-function
6596 on the new allout-post-undo-hook.
6597
450a0f09
SM
65982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6601 Let define-derived-mode define it.
6602 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6603 cycles of abbrev-table inheritance (bug#8998).
6604
2de69e00
RW
66052011-07-05 Roland Winkler <winkler@gnu.org>
6606
6607 * textmodes/bibtex.el: Add support for biblatex.
6608 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6609 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6610 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6611 (bibtex-entry-alist, bibtex-field-alist): New variables.
6612 (bibtex-entry-field-alist): Obsolete alias for
6613 bibtex-BibTeX-entry-alist.
6614 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6615 (bibtex-set-dialect): New command.
6616 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6617 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6618 Bind via bibtex-set-dialect.
2de69e00
RW
6619 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6620 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6621 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6622 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6623 Define via bibtex-set-dialect.
450a0f09
SM
6624 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6625 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6626 (bibtex-vec-push, bibtex-vec-incr): New functions.
6627 (bibtex-format-entry, bibtex-field-list)
6628 (bibtex-print-help-message, bibtex-validate)
6629 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6630
2dcdbdd9
SM
66312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * progmodes/compile.el (compilation-goto-locus):
6634 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6635 * bs.el (bs-cycle-next, bs-cycle-previous):
6636 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6637 * bindings.el (mode-line-other-buffer):
6638 * autoinsert.el (auto-insert):
6639 * arc-mode.el (archive-extract):
6640 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6641
b27640fe
JB
66422011-07-05 Juanma Barranquero <lekktu@gmail.com>
6643
6644 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6645 Fix check of `emacs-lock-unlockable-modes'.
6646 Coerce true values of `emacs-lock--try-unlocking' to t.
6647
53bbe3ad
JB
66482011-07-05 Juanma Barranquero <lekktu@gmail.com>
6649
6650 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6651 * emacs-lock.el: New file.
6652
1d3cdbc7
JD
66532011-07-05 Julien Danjou <julien@danjou.info>
6654
6655 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6656 than `boundp' to check if face is set.
6657
9173deec
JB
66582011-07-05 Juanma Barranquero <lekktu@gmail.com>
6659
6660 * register.el (registerv-make):
6661 * window.el (window-min-height): Fix typos in docstrings.
6662
869795d6
JD
66632011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6664
9173deec 6665 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6666 Update doc string.
6667
b768cdcd
JB
66682011-07-04 Juanma Barranquero <lekktu@gmail.com>
6669
6670 * server.el (server-execute): Catch quit and call
6671 `server-return-error' to pass the error back to emacsclient and
6672 close the connection (bug#8942).
6673
13aa217b
KM
66742011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6675
6676 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6677 insecure exception for current topic. Also note that auto-saves
6678 are handled differently.
6679
6680 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6681 State variables for tracking auto-save inhibition situation.
6682
6683 (allout-write-contents-hook-handler): Rename from
6684 'allout-write-file-hook-handler', and describe how it depends on
6685 write-contents-functions sensitivity to non-nil value to prevent
6686 file write.
6687
6688 (allout-auto-save-hook-handler): Remove. auto-save does not check
6689 this in individual buffers, only in the starting buffer, so this
6690 is not the right way for us to inhibit auto-save in a buffer
6691 according to its condition.
6692
6693 (allout-mode): Use new allout-write-contents-hook-handler, and
6694 only with write-contents-functions. Remove auto-save provisions -
6695 they're implemented elsewhere.
6696
6697 (allout-before-change-handler): If undo is in progress, note that
6698 for attention of allout-post-command-business.
6699
6700 (allout-post-command-business): If the command we're following was
6701 an undo, check for change in the status of encrypted items and
6702 adjust auto-save inhibitions accordingly.
6703
6704 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6705 according to whether there are or aren't any plain-text topics
6706 pending encryption.
6707
2dcdbdd9 6708 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6709 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6710 if there are plain-text topics pending encryption.
13aa217b
KM
6711
6712 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6713 buffer-saved-size and some allout state to not inhibit auto-saves
6714 if there are no longer any plain-text topics pending encryption.
6715
0757af94
SM
6716 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6717 No longer provide for exemption of the current topic.
13aa217b 6718
ac89b32c
JL
67192011-07-04 Juri Linkov <juri@jurta.org>
6720
6721 Add 7z operations to delete and save changed members (bug#8968).
6722 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6723 New defcustoms.
6724 (archive-7z-write-file-member): New function.
6725 (archive-7z-summarize): Fix the number of dashes in the
6726 listing output.
6727
8fa39615
SM
67282011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6731 (bug#8958).
6732
2f11b3f1
CY
67332011-07-04 Chong Yidong <cyd@stupidchicken.com>
6734
d66fef2b
CY
6735 * bindings.el: Ignore next-buffer and previous-buffer in
6736 minibuffer-local-map.
6737
2f11b3f1
CY
6738 * font-lock.el (font-lock-builtin-face): Change light background
6739 color to dark slate blue (Bug#6693).
6740
f932a347
WD
67412011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6742
6743 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6744
c8af70e1
SM
67452011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6748 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6749 Add switch-to-buffer.
6750
f158badc
LMI
67512011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6752
6753 * isearch.el (isearch-search-fun-function): Clarify further the
6754 meaning of the function returned.
6755
6d95bd46
MA
67562011-07-04 Michael Albinus <michael.albinus@gmx.de>
6757
6758 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6759
6760 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6761 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6762 Use it.
6763 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6764 `tramp-default-remote-path' does not exist.
6765 (tramp-send-command-and-read): New optional argument NOERROR.
6766 (tramp-open-connection-setup-interactive-shell)
6767 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6768 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6769 (tramp-process-sentinel): Flush also process' connection property.
6770 (tramp-sh-handle-start-file-process): Do not set process
6771 sentinel. It is done now ...
6772 (tramp-maybe-open-connection): ... here. (Bug#8929)
6773
909e6b67
MK
67742011-07-04 MON KEY <monkey@sandpframing.com>
6775
6776 * play/animate.el (animate-string): Doc fixes and allow changing
6777 the buffer name (bug#5417).
6778
67792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6780
c8af70e1 6781 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6782
f34755dc
PE
67832011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6784
396cec72
PE
6785 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6786 This is simpler and helps future-proof the code.
6787 (timer-until): Use time-subtract and float-time.
08235028 6788 (timer--time-less-p): Use time-less-p.
f34755dc 6789
56e6cc31
JB
67902011-07-04 Juanma Barranquero <lekktu@gmail.com>
6791
3abb79e5
JB
6792 * type-break.el (timep): Use the value of `float-time' to avoid a
6793 byte-compiler warning.
6794
56e6cc31
JB
6795 * server.el (server-eval-and-print): Return any result, even nil.
6796
7b9430b4
PE
67972011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6798
6799 * type-break.el: Accept time formats that the builtins accept.
6800 (timep, type-break-time-difference): Accept any format that
6801 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6802 This is simpler and helps future-proof the code.
6803 (type-break-time-difference): Round rather than ignoring
6804 subseconds components.
6805
3034e9e7
LMI
68062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6807
6808 * info.el (Info-apropos-matches): Make non-interactive, since it
6809 doesn't seem to do anything useful as a command (bug#8829).
6810
1485f4c0
CY
68112011-07-03 Chong Yidong <cyd@stupidchicken.com>
6812
6813 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6814 Move from faces.el.
1485f4c0
CY
6815 (frame-default-terminal-background): New function.
6816
6817 * custom.el (custom-push-theme): Don't record faces in `changed'
6818 theme; this doesn't work correctly for per-frame face settings.
6819 (disable-theme): Use face-set-after-frame-default to reset faces.
6820 (custom--frame-color-default): New function.
6821
9fa3dd45
LMI
68222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6823
c8af70e1 6824 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6825 (bug#8769).
6826
6cbbc20c
KR
68272011-03-29 Kevin Ryde <user42@zip.com.au>
6828
6829 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6830 `perl-Test2' extend to match possible "fail #N" rep count
6831 (bug#8377).
6832
c7f98048
LMI
68332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6834
65676592
LMI
6835 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6836 `smtpmail-via-smtp' now returns the error instead of nil.
6837
c7f98048
LMI
6838 * isearch.el (isearch-search-fun-function): Clarify the doc string
6839 (bug#8101).
6840
56e6cc31 68412011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6842
6843 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6844 unnecessary spaces (bug#8987).
6845
2b216704
LMI
68462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6847
6848 * net/network-stream.el (open-network-stream): Use the
6849 :end-of-capability command thoughout.
6850
68512011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6852
6853 * net/network-stream.el (open-network-stream): Add the
6854 :end-of-capability command parameter, used by pop3.el.
6855
36adf6ce
LMI
68562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857
1ca0da0e
LMI
6858 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6859
fc00f69c
LMI
6860 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6861 for list)" (bug#6475).
6862
28fd8759 6863 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6864 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6865 an error (bug#6297).
6866
0dd8b6da
LMI
6867 * man.el (Man-reference-regexp): Allow matching possible
6868 word-wrapped references (bug#6289).
6869
ce1438d6
LMI
6870 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6871 for consistency with the other vc buffers (bug#6197).
6872 (vc-checkin): Ditto.
6873
6874 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6875
36adf6ce
LMI
6876 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6877
e83cc1f7
LMI
68782011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6879
8a20ca4c
LMI
6880 * custom.el (defcustom): Clarify that :set is only used in the
6881 Customize user interface (bug#6089).
6882
83319045
LMI
6883 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6884 associated with a file, refuse to run instead of erroring out
6885 (bug#6084).
6886
a8392169
LMI
6887 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6888 the doc string, since it appears that using `fill-column' always
6889 controls the width (bug#7845).
6890
e83cc1f7
LMI
6891 * simple.el (shell-command-on-region): Say where the error output
6892 went if `shell-command-default-error-buffer' is set (bug#6857).
6893
e47ca23b
KM
68942011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6895
6896 * allout.el (allout-yank-processing): Adjust cursor position for
6897 backwards-deleted space.
6898
6899 (allout-rebullet-heading): Register changes with
6900 allout-exposure-changed-hook, so the modified topic is properly
6901 decorated.
6902
5cf56143
LMI
69032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904
08549772
LMI
6905 * minibuffer.el (completion-in-region): Document PREDICATE
6906 (bug#7136).
6907
48e96771
LMI
6908 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6909 of keyword/argument pairs (bug#6904).
6910
c8af70e1
SM
6911 * replace.el (multi-occur):
6912 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6913
e17d05e2
LMI
69142011-07-02 Drew Adams <drew.adams@oracle.com>
6915
6916 * dired.el (dired-mark-if): Make the message about whether it's
6917 marking or unmarking clearer (bug#8523).
6918
063b0e45
LMI
69192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6920
6921 * disp-table.el (display-table-print-array): New function.
6922 (describe-display-table): Use it to print the vectors more pretty
6923 (Bug#8859).
6924
28545e04
MR
69252011-07-02 Martin Rudalics <rudalics@gmx.at>
6926
6927 * window.el (window-state-get-1): Don't assign clone numbers.
6928 Add clone-of item to list of window parameters.
6929 (window-state-put-2): Don't process clone numbers.
6930 (display-buffer-alist): Fix doc-string.
6931
3349e122
SM
69322011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * subr.el (remq): Don't allocate if it's not needed.
6935 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6936 (keymap--merge-bindings): New functions.
6937 (keymap-canonicalize): Use them to refine the canonicalization.
6938 * minibuffer.el (minibuffer-local-completion-map)
6939 (minibuffer-local-must-match-map): Move initialization from C.
6940 (minibuffer-local-filename-completion-map): Move initialization from C;
6941 don't inherit from anything here.
6942 (minibuffer-local-filename-must-match-map): Make obsolete.
6943 (completing-read-default): Use make-composed-keymap to combine
6944 minibuffer-local-filename-completion-map with either
6945 minibuffer-local-must-match-map or
6946 minibuffer-local-filename-completion-map.
6947
d224ac83
GM
69482011-07-01 Glenn Morris <rgm@gnu.org>
6949
3de63bf8
GM
6950 * type-break.el (type-break-time-sum): Use dolist.
6951
d224ac83
GM
6952 * textmodes/flyspell.el (flyspell-word-search-backward):
6953 Replace CL function.
6954
1a1e3f32
SM
69552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6956
fe3f64d5
SM
6957 * mouse.el (mouse--strip-first-event): New function.
6958 (function-key-map): Use it to map fringe clicks to normal clicks
6959 by default.
6960
eb604e34
SM
6961 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6962 (vc-bzr-revision-completion-table): Add support for annotate and date.
6963
1a1e3f32
SM
6964 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6965 inherit from parent.
6966
5bd35902
LMI
69672011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6968
ace6c69c 6969 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6970 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6971
191e2bed
LMI
6972 * dired.el (dired-mode): Fix up the doc string as suggested by
6973 Drew Adams (bug#8817).
6974
5bd35902
LMI
6975 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6976 cookie, since the manual says that it should be possible to add
6977 this function to `find-file-hook' (bug#8709).
6978
eee8207a
TZ
69792011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6980
6981 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6982 here. Noted Ted Zlatanov as the maintainer.
6983 (cfengine-common-settings, cfengine-common-syntax): New functions
6984 to set up common things between `cfengine-mode' and
6985 `cfengine3-mode'.
6986 (cfengine3-mode): New mode.
6987 (cfengine3-defuns cfengine3-defuns-regex
6988 (cfengine3-class-selector-regex cfengine3-category-regex)
6989 (cfengine3-vartypes cfengine3-font-lock-keywords)
6990 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6991 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6992
36b148cf
MA
69932011-07-01 Michael Albinus <michael.albinus@gmx.de>
6994
6995 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6996
6997 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6998
0bf4ba9a
MR
69992011-07-01 Martin Rudalics <rudalics@gmx.at>
7000
7001 * window.el (same-window-buffer-names, same-window-regexps)
7002 (same-window-p, special-display-frame-alist)
7003 (special-display-popup-frame, special-display-function)
7004 (special-display-buffer-names, special-display-regexps)
7005 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7006 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7007 (split-window-preferred-function, split-height-threshold)
7008 (split-width-threshold, even-window-heights)
7009 (display-buffer-mark-dedicated, window-splittable-p)
7010 (split-window-sensibly, window-safely-shrinkable-p):
7011 Un-obsolete.
7012 (display-buffer): Don't spread args with function specifier
7013 because special-display-popup-frame won't like it.
7014
35837f51
PE
70152011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7016
d0672f86
PE
7017 Time-stamp simplifications and fixes.
7018 These improve accuracy slightly, and future-proof the code
7019 against some potential changes to current-time format.
7020
b9444d97
PE
7021 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7022 by using time-since and float-time.
7023
0ef923dc
PE
7024 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7025 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7026 + NNN microseconds".
7027
2f81380d
PE
7028 * type-break.el (type-break-time-sum): Rewrite using time-add.
7029
845b5c3e
PE
7030 * play/hanoi.el (hanoi-current-time-float): Remove.
7031 All uses replaced by float-time.
7032
ee6f1be0
PE
7033 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7034 This yields a more-accurate answer.
7035 (rng-time-to-float): Remove; no longer needed.
7036
fe955043
PE
7037 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7038
5777162a
PE
7039 * calendar/timeclock.el (timeclock-seconds-to-time):
7040 Defalias to seconds-to-time, since they're the same thing.
7041
3103f8b6 7042 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7043 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7044 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7045
0e61a35f
SM
70462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7048 * window.el (bury-buffer): Don't iconify the only frame.
7049 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7050 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7051
ddd63a1e
CY
70522011-07-01 Chong Yidong <cyd@stupidchicken.com>
7053
0e61a35f
SM
7054 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7055 Add mouse-yank-primary.
ddd63a1e 7056
055f4923
TZ
70572011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7058
7059 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7060
6a2fb145
SM
70612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7064 (find-library-name): Use it to find relative load names when provided
7065 absolute file name (bug#8803).
7066
fd4983f2
LMI
70672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7068
887d14ad
LMI
7069 * textmodes/flyspell.el (flyspell-word): Consider words that
7070 differ only in case as potential doublons (bug#5687).
7071
c53dc7fc
LMI
7072 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7073 Remove two rather uninteresting debugging-like messages to make
7074 debbugs.el more silent.
7075
fd4983f2
LMI
7076 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7077 a password-like phrase.
7078
7a71b18d 70792011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7080
7081 * progmodes/cc-guess.el: New file.
7082
6a2fb145 7083 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7084
7085 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7086 derived from `c-basic-common-init'.
7087
7088 * progmodes/cc-mode.el (top-level): Require cc-guess.
7089 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7090
1fa280a3
LM
70912011-06-30 Lawrence Mitchell <wence@gmx.li>
7092
7093 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7094
e6597158
AM
70952011-06-30 Alan Mackenzie <acm@muc.de>
7096
1fa280a3
LM
7097 * progmodes/cc-engine.el (c-guess-continued-construct):
7098 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7099 lock is disabled. Name this case as "CASE G".
7100
68ba37fb
KM
71012011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7102
7103 * allout.el (allout-yank-processing): Fix injection of extra space
7104 between bullet and non-whitespace character in first topic when
7105 pasting, ensuring that the actual spacing in the pasted topic
7106 following the bullet char is preserved. This extra space was
7107 causing pasted encrypted topics to get a decrypted status even
7108 when the content was actually still encrypted. Now the decryption
7109 status from before the paste is preserved.
7110
7111 (allout-flag-region): Set all allout overlays so they evaporate
7112 when reduced to zero length (evanescent), to prevent overlay
7113 leakage.
7114
887a0b34
GM
71152011-06-30 Glenn Morris <rgm@gnu.org>
7116
94b9acce
GM
7117 * w32-fns.el (w32-charset-info-alist): Declare.
7118
1d9b46d4
GM
7119 * find-dired.el (find-grep-options): Simplify.
7120
cc232200
GM
7121 * term/ns-win.el (ns-set-resource): Declare.
7122
28e77c46
GM
7123 * ses.el (row, col): Declare dynamic variables honestly.
7124
887a0b34
GM
7125 * textmodes/reftex-parse.el (index-tags): Declare.
7126
658d8eb8
CY
71272011-06-30 Chong Yidong <cyd@stupidchicken.com>
7128
7129 * cus-edit.el (customize-push-and-save): New function.
7130
7131 * files.el (hack-local-variables-confirm): Use it.
7132
1fa280a3
LM
7133 * custom.el (load-theme): New arg NO-CONFIRM.
7134 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7135 (custom-enabled-themes): Doc fix.
7136
7137 * cus-theme.el (customize-create-theme)
7138 (custom-theme-merge-theme): Callers to load-theme changed.
7139
bb617717
LMI
71402011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7141
d61bdd5d
LMI
7142 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7143 short URLs have at least one dot in them (bug #7614).
7144
bb617717
LMI
7145 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7146 nil, because using a pty is apparently too slow (bug #895).
7147
2f31f37a
LMI
71482011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7149
7150 * mail/sendmail.el (sendmail-query-once): New function.
7151 (sendmail-query-once-function): New variable.
7152
3076b24e
GM
71532011-06-29 Glenn Morris <rgm@gnu.org>
7154
faf2a174
GM
7155 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7156
3076b24e
GM
7157 * ses.el (top-level): Require cl when compiling.
7158 (ses-set-localvars): Fix error statement.
7159 Call it at compile time to silence a storm of warnings.
7160
5386012d
MR
71612011-06-29 Martin Rudalics <rudalics@gmx.at>
7162
7163 * window.el (normalize-live-buffer): Rename to
7164 window-normalize-buffer.
7165 (normalize-live-frame): Rename to window-normalize-frame.
7166 (normalize-any-window): Rename to window-normalize-any-window.
7167 (normalize-live-window): Rename to window-normalize-live-window.
7168 (make-window-atom): Rename to window-make-atom.
7169 (window-resize-reset): Rename to window--resize-reset.
7170 (window-resize-reset-1): Rename to window--resize-reset-1.
7171 (resize-mini-window): Rename to window--resize-mini-window.
7172 (resize-subwindows-skip-p): Rename to
7173 window--resize-subwindows-skip-p.
7174 (resize-subwindows-normal): Rename to
7175 window--resize-subwindows-normal.
7176 (resize-subwindows): Rename to window--resize-subwindows.
7177 (resize-other-windows): Rename to window--resize-siblings.
7178 (resize-this-window): Rename to window--resize-this-window.
7179 (resize-root-window): Rename to window--resize-root-window.
7180 (resize-root-window-vertically): Rename to
7181 window--resize-root-window-vertically.
7182 (normalize-buffer-to-display): Rename to
7183 window-normalize-buffer-to-display.
7184 (normalize-buffer-to-switch-to): Rename to
7185 window-normalize-buffer-to-switch-to.
7186 Correspondingly update all callers of the functions listed
7187 above.
7188 (display-buffer-alist, display-buffer-normalize-arguments)
7189 (display-buffer-normalize-options, display-buffer)
7190 (display-buffer-alist-set): Use "function" instead of
7191 "fun-with-args".
7192
1176868d
CY
71932011-06-28 Chong Yidong <cyd@stupidchicken.com>
7194
7195 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7196 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7197 debbugs.gnu.org. Mention acknowledgment email.
7198
20a7a65f
LMI
71992011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7200
7201 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7202 buffer multibyteness, since it shouldn't matter.
7203
5f45cca5
MR
72042011-06-28 Martin Rudalics <rudalics@gmx.at>
7205
7206 * window.el (display-buffer-in-side-window): Handle dedicated
7207 windows as in display-buffer-reuse-window.
7208 (display-buffer-normalize-alist): Use value of override
7209 specifier.
7210 (display-buffer-normalize-specifiers): Use value of
7211 other-window-means-other-frame specifier.
7212 (display-buffer-alist): Rewrite some texts in widgets.
7213 (display-buffer): Spread arguments when calling function
7214 specified by fun-with-args.
7215
ad85fe1f
DD
72162011-06-28 Deniz Dogan <deniz@dogan.se>
7217
1fa280a3
LM
7218 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7219 Unnest `let'.
da68c4c8 7220
ad85fe1f
DD
7221 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7222 selectors (Bug#5732).
ec49bd31 7223 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7224
a08cc025
JA
72252011-06-27 Jari Aalto <jari.aalto@cante.net>
7226
7227 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7228 (eshell-ls-date-format): New defcustom.
7229 (eshell-ls-file): Use it.
7230
e2b551c5
SM
72312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7234
8982b231
KY
72352011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7236
7237 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7238 (ange-ftp-make-tmp-name): New arg.
7239 (ange-ftp-file-local-copy): Use it.
7240
36c9fa27
J
72412011-06-27 Jambunathan K <kjambunathan@gmail.com>
7242
7243 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7244 no-conversion (Bug#8870).
7245
d68443dc
MR
72462011-06-27 Martin Rudalics <rudalics@gmx.at>
7247
7248 * window.el (window-right, window-left, window-child)
7249 (window-child-count, window-last-child)
7250 (window-iso-combination-p, walk-window-tree-1)
7251 (window-atom-check-1, window-tree-1, delete-window)
7252 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7253 new naming conventions - window-vchild, window-hchild,
7254 window-next and window-prev are now called window-top-child,
7255 window-left-child, window-next-sibling and window-prev-sibling
7256 respectively.
d615d6d2
MR
7257 (resize-window-reset): Rename to window-resize-reset.
7258 (resize-window-reset-1): Rename to window-resize-reset-1.
7259 (resize-window): Rename to window-resize.
7260 (window-min-height, window-min-width)
7261 (resize-mini-window, resize-this-window, resize-root-window)
7262 (resize-root-window-vertically, adjust-window-trailing-edge)
7263 (enlarge-window, shrink-window, maximize-window)
7264 (minimize-window, delete-window, quit-restore-window)
7265 (split-window, balance-windows, balance-windows-area-adjust)
7266 (balance-windows-area, window-state-put-2)
7267 (display-buffer-even-window-sizes, display-buffer-set-height)
7268 (display-buffer-set-width, set-window-text-height)
7269 (fit-window-to-buffer): Rename all "resize-window" prefixed
7270 calls to use the "window-resize" prefix convention.
7271 (display-buffer-alist): Fix symbol for label specifier.
7272 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7273 corresponding specifier.
7274 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7275
b6458526
VB
72762011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7277
7278 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7279 convention.
7280 (ses-call-printer): Does not pass an empty string to formatter when the
7281 cell is empty to keep from barking printer Calc math-format-value.
7282
d31fd9ac
RS
72832011-06-27 Richard Stallman <rms@gnu.org>
7284
43d5bf84
RS
7285 * battery.el (battery-mode-line-limit): New variable.
7286 (battery-update): Handle it.
7287
d31fd9ac
RS
7288 * mail/rmailmm.el (rmail-mime-process-multipart):
7289 Handle truncated messages.
7290
819a6054
GM
72912011-06-27 Glenn Morris <rgm@gnu.org>
7292
7293 * progmodes/flymake.el (flymake-err-line-patterns):
7294 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7295
cedc73f2
VB
72962011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7297
819a6054 7298 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7299 (ses--clean-!, ses--clean-_): New functions.
7300 (ses-range): Add configurability of readout order, and conversion
7301 to Calc vector.
7302
5e5d49b6
VB
7303 * ses.el (ses-repair-cell-reference-all): New function.
7304 (ses-cell-symbol): Set macro as safe, so that it can be used in
7305 formulas.
7306
56e6cc31 7307 * ses.el: Update cycle detection algorithm.
90ca8b49 7308 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7309 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7310 (ses-set-localvars): New function.
7311 (ses-make-cell): Add property-list as a cell element.
7312 (ses-cell-property-get-fun, ses-cell-property-get)
7313 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7314 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7315 New functions.
90ca8b49
VB
7316 (ses-cell-property-set, ses-cell-property-pop)
7317 (ses-cell-property-get-handle): New macro.
7318 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7319 New aliases, used for code readability.
7320 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7321 cycle detection.
7322 (ses-self-reference-early-detection): New defcustom.
fac916bf 7323 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7324 (ses-mode): Use ses-set-localvars.
7325 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7326 before lauching the update processing.
7327 (ses-initialize-Dijkstra-attempt): New function.
7328 (ses-recalculate-cell): Update for cycle detection based on
7329 Dijkstra algorithm.
7330
2bb63e81
VB
7331 * ses.el: Fix commenting and indenting convention.
7332
c9d29fb8
SM
73332011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * bs.el (bs-cycle-next): Complete last change.
7336
d8e4b68b
JB
73372011-06-27 Drew Adams <drew.adams@oracle.com>
7338
7339 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7340
40098786
LMI
73412011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342
c9d29fb8
SM
7343 * net/network-stream.el (network-stream-open-starttls):
7344 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7345 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7346
40098786
LMI
7347 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7348 to binary to possibly avoid line encoding issues on Windows (among
7349 other things).
7350
468d09d4
LMI
73512011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7352
7353 * net/network-stream.el (open-network-stream): Return an :error
7354 saying what the problem was, if possible.
7355
7356 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7357 server.
7358
7359 * net/network-stream.el (network-stream-open-starttls): If we
7360 wanted to use STARTTLS, and the server offered it, but we weren't
7361 able to because we had no STARTTLS support, then close the connection.
7362 (open-network-stream): Return an :error element, if present.
7363
16f07dd7
CY
73642011-06-26 Chong Yidong <cyd@stupidchicken.com>
7365
88821ca0
CY
7366 * hl-line.el (hl-line-sticky-flag): Doc fix.
7367 (global-hl-line-sticky-flag): New option (Bug#8323).
7368 (global-hl-line-highlight): Obey it.
7369
16f07dd7
CY
7370 * vc/vc.el (vc-revert-show-diff): Default to t.
7371
6b5ccddf
KM
73722011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7373
c9d29fb8
SM
7374 * allout-widgets.el (allout-widgets-post-command-business):
7375 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7376 undecorated when an isearch is continued past, and isearch
7377 automatically collapses them. This leads to "widget leaks", where
7378 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7379 hidden widgets can slow down cursor travel, substantially.
7380 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7381 so we're doing without this nicety.
7382
7383 (allout-widgets-tally-string): Don't try to do a hash-table-count
7384 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7385 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7386 *Messages* when allout-widgets-maintain-tally is t.
7387
355f2e07
MR
73882011-06-26 Martin Rudalics <rudalics@gmx.at>
7389
7390 * window.el (display-buffer-normalize-argument): Rename to
7391 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7392 LABEL argument. Respect special-display-function when popping up
7393 a new frame. Fix code searching for a window showing the buffer
7394 on another frame.
c9d29fb8
SM
7395 (display-buffer-normalize-specifiers):
7396 Call display-buffer-normalize-arguments.
355f2e07
MR
7397 (display-buffer-in-window): Don't undedicate the window if its
7398 buffer remains the same.
7399 Reported by Drew Adams <drew.adams@oracle.com>.
7400 (display-buffer-alist): Add choice for same-window macro
7401 specfier.
7402 (display-buffer): Mention special meaning of LABEL argument in
7403 doc-string. Fix quoting. Don't pop up a new frame even as
7404 fallback.
7405
7ca8fc42
JB
74062011-06-26 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7409 avoid deleting the current window in some cases (bug#8911).
7410
bc312254
AS
74112011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7412
7413 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7414 (Bug#8934)
7415
2db18f3f
LMI
74162011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7417
c9d29fb8
SM
7418 * net/network-stream.el (network-stream-open-starttls):
7419 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7420 (network-stream-open-tls): Ditto.
7421
6302e0d3
LL
74222011-06-26 Leo Liu <sdl.web@gmail.com>
7423
7424 * register.el (registerv): New struct.
7425 (registerv-make): New function.
c9d29fb8
SM
7426 (jump-to-register, describe-register-1, insert-register):
7427 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7428 struct. (Bug#8415)
7429
5fdd4046
CY
74302011-06-26 Chong Yidong <cyd@stupidchicken.com>
7431
2afef60a
CY
7432 * vc/vc.el (vc-revert-show-diff): New defcustom.
7433 (vc-diff-internal): New arg specifying diff buffer.
7434 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7435 reuse an existing *vc-diff* buffer (Bug#8927).
7436
5fdd4046
CY
7437 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7438
e93db24a
GM
74392011-06-26 Glenn Morris <rgm@gnu.org>
7440
7441 * progmodes/f90.el (f90-critical-indent): New option.
7442 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7443 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7444 (f90-mode): Doc fix.
7445 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7446 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7447 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7448 (f90-match-end): Handle block, critical.
7449
eefff499
GM
74502011-06-25 Glenn Morris <rgm@gnu.org>
7451
f6ba4cc9
GM
7452 * calendar/diary-lib.el (diary-included-files): Doc fix.
7453 (diary-include-files): New function, extracted from
7454 diary-include-other-diary-files and diary-mark-included-diary-files.
7455 (diary-include-other-diary-files, diary-mark-included-diary-files):
7456 Just call diary-include-files.
7457 (diary-mark-entries): Reset diary-included-files on first call.
7458
16712304
GM
7459 * calendar/diary-lib.el (diary-mark-entries)
7460 (diary-mark-included-diary-files):
7461 Visit included diary-files in temp buffers.
7462
5d8e0d43
GM
7463 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7464 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7465 (f90-start-block-re, f90-imenu-generic-expression)
7466 (f90-looking-at-program-block-start, f90-no-block-limit):
7467 Add support for submodules.
7468
ccf7a5d5
GM
7469 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7470 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7471
11fdef7d 74722011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7473
7474 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7475 buffer-file-type before setting its value, to avoid disastrous
eefff499 7476 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7477
74f53697
JB
74782011-06-25 Juanma Barranquero <lekktu@gmail.com>
7479
7480 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7481
7482 * ses.el (ses-unload-function):
7483 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7484
7485 * proced.el (proced-unload-function):
7486 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7487
18a4ce5e
AR
74882011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7489
7490 * server.el (server-create-window-system-frame): Add parameters arg.
7491 (server-process-filter): Doc fix. Handle frame-parameters.
7492
519d22cc
JB
74932011-06-25 Juanma Barranquero <lekktu@gmail.com>
7494
7495 Fix bug#8730, bug#8781.
7496
7497 * loadhist.el (unload--set-major-mode): New function.
7498 (unload-feature): Use it.
7499
7500 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7501 (python-unload-function): New function.
7502
c206f5b0
SM
75032011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7506
f9ad64f3
GS
75072011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7508
7509 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7510 the candidates list.
7511
7d0da90e
JB
75122011-06-24 Juanma Barranquero <lekktu@gmail.com>
7513
7514 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7515
14b4e83d
RS
75162011-06-23 Richard Stallman <rms@gnu.org>
7517
7518 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7519 (rmail-variables): Set next-error-move-function.
7520 (rmail-what-message): Take argument POS.
7521 (rmail-next-error-move): New function.
7522
273d2baf
SM
75232011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7526 messages for adjacent non-terminals.
7527
56c2cc9a
RS
75282011-06-23 Richard Stallman <rms@gnu.org>
7529
7530 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7531 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7532 (rmail-start-mail): Don't specify use of rmail-mail-return;
7533 that's done by mail-bury now.
7534 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7535
d59eb518
MA
75362011-06-23 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7539 SIZE is a number.
7540
02cfc6d6
MR
75412011-06-23 Martin Rudalics <rudalics@gmx.at>
7542
7543 * window.el (get-lru-window, get-mru-window)
7544 (get-largest-window): Never return a minibuffer window.
7545 (display-buffer-pop-up-window): Fix a bug that could lead to
7546 reusing the minibuffer window.
7547 (display-buffer): Pass original specifier argument to
7548 display-buffer-function instead of the normalized one.
7549 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7550
4e323265
LL
75512011-06-22 Leo Liu <sdl.web@gmail.com>
7552
7553 * minibuffer.el (completing-read-function)
7554 (completing-read-default): Move from minibuf.c
7555
7a70468f
RS
75562011-06-22 Richard Stallman <rms@gnu.org>
7557
50718fc2
RS
7558 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7559 to Rmail even if not started by a special Rmail command.
7560
7a70468f
RS
7561 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7562 Copy the buffer currently showing just one message.
7563
297dde5a
RW
75642011-06-22 Roland Winkler <winkler@gnu.org>
7565
7566 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7567 (bibtex-clean-entry): First delete the old key so that a
7568 customized algorithm for generating the new key does not get
7569 confused by the old key.
7570 (bibtex-url): Obey regexp of first step.
7571 (bibtex-search-entries): Do not use add-to-list with local
7572 list-var.
7573
97bb1093
LMI
75742011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7575
7576 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7577 stored a user name, then query for the password first, instead of
7578 waiting for SMTP to give an error message and the trying again.
7579
1c0f1a19
JD
75802011-06-22 Lawrence Mitchell <wence@gmx.li>
7581
7582 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7583 BUFFER in call-process.
7584
396f7c9d
LMI
75852011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586
7587 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7588 QUIT twice.
ddb7ffee
LMI
7589 (smtpmail-try-auth-methods): Require user name and password from
7590 auth-source.
396f7c9d 7591
8998d1b3
MR
75922011-06-22 Martin Rudalics <rudalics@gmx.at>
7593
7594 * window.el (display-buffer-default-specifiers)
7595 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7596 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7597 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7598
7599 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7600 (special-display-frame-alist, special-display-popup-frame):
7601 Remove duplicate declarations. These are now in window.el.
7602
4ea31e07
LMI
76032011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7604
c9d29fb8
SM
7605 * mail/smtpmail.el (smtpmail-via-smtp):
7606 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7607 server supports it. SMTP servers that support STARTTLS commonly
7608 require it.
7609
7610 * net/network-stream.el (network-stream-open-starttls): Support
7611 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7612 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7613
95f41d9a
LMI
7614 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7615 upgrades with `open-network-stream', and rely solely on
7616 auth-source for all credentials. Big changes throughout the file,
7617 but in particular:
c9d29fb8
SM
7618 (smtpmail-auth-credentials): Remove.
7619 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7620 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7621 MAIL FROM, too.
95f41d9a 7622
c9d29fb8
SM
7623 * net/network-stream.el (network-stream-open-starttls):
7624 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7625 STARTTLS.
7626 (auth-source): Require.
7627 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7628 (network-stream-certificate): Change cert-cert to cert and
7629 cert-key to key.
4ea31e07 7630
065ec2c7
MA
76312011-06-21 Michael Albinus <michael.albinus@gmx.de>
7632
7633 * net/tramp-cache.el (top): Don't load the persistency file when
7634 "emacs -Q" has been called.
7635
cd93b359
DR
76362011-06-21 Tim Harper <timcharper@gmail.com>
7637
d8e4b68b
JB
7638 * term/ns-win.el (ns-initialize-window-system):
7639 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7640 resource to NO as it is not yet supported by the NS port.
7641
ae9c0411
JB
76422011-06-21 Juanma Barranquero <lekktu@gmail.com>
7643
7644 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7645 (list-dynamic-libraries): ...not here.
7646
7f3f739f
LL
76472011-06-21 Leo Liu <sdl.web@gmail.com>
7648
7649 * subr.el (sha1): Implement sha1 using secure-hash.
7650
327c8fb1
MR
76512011-06-21 Martin Rudalics <rudalics@gmx.at>
7652
7653 * window.el (display-buffer-alist): In default value do not
7654 enforce searching a window on any but the selected frame.
7655 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7656 (display-buffer-select-window): Remove function.
7657 (display-buffer-in-window): When a window on another frame gets
7658 reused, do not select it any more but just raise its frame if
7659 necessary (Bug#8851) and (Bug#8856).
7660 (display-buffer-normalize-options): Handle pop-up-frames related
7661 options more faithfully.
7662 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7663 window if it is on another frame.
c9d29fb8
SM
7664 (display-buffer-alist, display-buffer-default-specifiers):
7665 Don't make new frame unsplittable by default.
9e9de014
MR
7666 (display-buffer-normalize-argument): Fix doc-string typo and use
7667 'same-frame-other-window instead of 'other-window when associating
7668 with display-buffer-macro-specifiers.
327c8fb1 7669
7cf3f556
VB
76702011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7671
7672 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7673 New functions.
7674 (5x5-mode-map, 5x5-mode-menu): Bind them.
7675 (5x5-draw-grid): Tweak the solver's rendering.
7676
60a406cf
SM
76772011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7678
7679 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7680 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7681
d8e4b68b 76822011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7683
7684 * menu-bar.el: Use function variable instead of switch-to-buffer.
7685 (menu-bar-select-buffer-function): New variable.
60a406cf 7686 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7687
478d6f95
SM
76882011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7689
7690 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7691 variable's status.
7692
ca530739
JD
76932011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7694
7695 * x-dnd.el (x-dnd-version-from-flags)
7696 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7697 and long as number (Bug#8899).
7698 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7699
bcd70d97
SM
77002011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7701
60a406cf 7702 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7703 (completion-try-completion, completion-all-completions): Compute the
7704 metadata argument if it's missing; make it optional (bug#8795).
7705
60a406cf 7706 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7707 (widget-complete): Use new :completion-function property.
7708 (widget-completions-at-point): New function.
7709 (default): Use :completion-function instead of :complete.
60a406cf
SM
7710 (widget-default-completions): Rename from widget-default-complete;
7711 Rewrite.
bcd70d97
SM
7712 (widget-string-complete, widget-file-complete, widget-color-complete):
7713 Remove functions.
7714 (file, symbol, function, variable, coding-system, color):
7715 * international/mule-cmds.el (default-input-method, charset)
7716 (language-info-custom-alist):
7717 * cus-edit.el (face): Use new property :completions.
7718
7719 * progmodes/pascal.el (pascal-completions-at-point): New function.
7720 (pascal-mode): Use it.
7721 (pascal-mode-map): Use completion-at-point.
7722 (pascal-toggle-completions): Make obsolete.
7723 (pascal-complete-word, pascal-show-completions):
7724 * progmodes/octave-mod.el (octave-complete-symbol):
7725 Redefine as obsolete alias.
7726 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7727 Signal absence of completion info for old Octave,
7728 (inferior-octave-complete): Redefine as obsolete alias.
7729 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7730 (meta-completions-at-point): Rename from meta-complete-symbol and
7731 adapt it for use on completion-at-point-functions.
7732 (meta-common-mode): Use it.
7733 (meta-looking-at-backward, meta-match-buffer): Remove.
7734 (meta-complete-symbol): Redefine as obsolete alias.
7735 (meta-common-mode-map): Use completion-at-point.
7736 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7737 (makefile-mode-map): Use completion-at-point.
7738 (makefile-completions-at-point): Rename from makefile-complete and
7739 adapt it for use on completion-at-point-functions.
7740 (makefile-mode): Use it.
7741 (makefile-complete): Redefine as obsolete alias.
7742
aebf69c8
DD
77432011-06-20 Deniz Dogan <deniz@dogan.se>
7744
7745 * net/rcirc.el: Delete trailing whitespaces once and for all.
7746
bfbbb27d
DC
77472011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7748
7749 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7750
d264a46b
CY
77512011-06-19 Chong Yidong <cyd@stupidchicken.com>
7752
4ca009e5
CY
7753 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7754
d264a46b
CY
7755 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7756
fbf5b3ce
MR
77572011-06-19 Martin Rudalics <rudalics@gmx.at>
7758
7759 * window.el (display-buffer-other-window-means-other-frame):
7760 Call display-buffer-normalize-alist.
7761 (display-buffer-normalize-specifiers-1): Rename to
7762 display-buffer-normalize-argument. New argument other-frame.
7763 Rewrite.
7764 (display-buffer-normalize-specifiers-2): Rename to
7765 display-buffer-normalize-options.
7766 (display-buffer-normalize-alist-1): New function.
7767 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7768 display-buffer-normalize-alist.
7769 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7770 (display-buffer-normalize-options-inhibit): New variable.
7771 (display-buffer-normalize-specifiers): Rewrite calling
7772 display-buffer-normalize-alist,
7773 display-buffer-normalize-argument, and
7774 display-buffer-normalize-options. Don't call the latter if
7775 display-buffer-normalize-options-inhibit is non-nil.
7776 (frame-auto-delete): New option.
7777 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7778 (window-list-no-nils, window-state-ignored-parameters)
7779 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7780 (window-state-put-1, window-state-put-2, window-state-put):
7781 New functions.
9a028c23
MR
7782 (display-buffer-normalize-options): Move special-display-p group
7783 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7784
6d10d800
CY
77852011-06-18 Chong Yidong <cyd@stupidchicken.com>
7786
6420d28b
CY
7787 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7788 groups (Bug#8776).
7789 (rx-submatch-n): New function.
7790 (rx): Document it.
7791
ddb8b596
CY
7792 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7793 (Bug#8768).
7794
7795 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7796
77080289
CY
7797 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7798
61dfb316
CY
7799 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7800 anytime existing face settings are present (Bug#8889).
7801
6d10d800
CY
7802 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7803 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7804 Remove unused argument.
7805
be3fb2b8
MR
78062011-06-18 Martin Rudalics <rudalics@gmx.at>
7807
bcd70d97
SM
7808 * window.el (display-buffer-default-specifiers):
7809 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7810 pop-up-window-min-width, and another reuse-window specifier
7811 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7812 (display-buffer-normalize-specifiers-2):
7813 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7814 pop-up-windows is unset. Add a reuse-window specifier for the
7815 case popping up a new window fails.
7816 (special-display-popup-frame): Remove double quoting.
28dec25a 7817 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7818
1c6d8c76
SM
78192011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7822 according to comint-completion-addsuffix.
7823
7824 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7825 (pcomplete-suffix-list): Mark as obsolete.
7826 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7827 pcomplete-seen in the closure.
7828 (pcomplete-comint-setup): Setup completion-at-point as well.
7829 (pcomplete--entries): New function.
7830 (pcomplete--env-regexp): New var.
7831 (pcomplete-entries): Rewrite to work with partial-completion and
7832 without relying on pcomplete-suffix-list.
7833 (pcomplete-pare-list): Remove, unused.
7834
25aef8b8
MR
78352011-06-17 Martin Rudalics <rudalics@gmx.at>
7836
7837 * window.el (display-buffer-alist): Set pop-up-window-min-height
7838 and pop-up-window-min-width in default value. Reported by
7839 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7840 other-window-means-other-frame.
7841 (display-buffer-macro-specifiers): Comment out entry for
7842 other-window specifier.
7843 (display-buffer-other-window-means-other-frame): New function.
7844 (display-buffer-normalize-specifiers-1): New arguments
7845 buffer-name and label. Treat other-window case specially.
7846 (display-buffer-normalize-specifiers-2): Treat other-window case
7847 specially.
7848 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7849 (display-buffer-normalize-specifiers):
7850 Call display-buffer-normalize-specifiers-3.
25aef8b8 7851
dbad4f69
MR
78522011-06-17 Martin Rudalics <rudalics@gmx.at>
7853
7854 * window.el (same-window-p): Fix two typos introduced when
7855 adding with-no-warnings.
d1067961
MR
7856 (display-buffer-normalize-specifiers-1): Don't check
7857 pop-up-frames for 'unset initialization.
7858 (display-buffer-normalize-specifiers-2): Major rewrite using
7859 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7860 (pop-up-frames, display-buffer-reuse-frames)
7861 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7862 Suggested by David Engster <deng@randomsample.de>.
7863 (even-window-heights): Initialize to 'unset.
7864 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7865 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7866 other window case.
dbad4f69 7867
9b9c9e3a
MR
78682011-06-16 Martin Rudalics <rudalics@gmx.at>
7869
bcd70d97
SM
7870 * window.el (display-buffer-normalize-specifiers-1):
7871 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7872 second argument of display-buffer (Bug#8865).
981d5c09
MR
7873 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7874 (switch-to-buffer-other-window-same-frame)
7875 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7876 Adams (Bug#8875).
9c2755e9
MR
7877 (display-buffer): Don't check noninteractive when calling
7878 display-buffer-pop-up-frame.
7879 (display-buffer-pop-up-frame): Never pop up a frame in
7880 noninteractive mode (Bug#8857).
67222e1d
MR
7881 (enlarge-window, shrink-window): Don't report an error when the
7882 window can't be resized as requested (Bug#8862).
9b9c9e3a 7883
2b75be67
SM
78842011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7885
9ffdd3ba
SM
7886 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7887
cb581a67
SM
7888 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7889
2b75be67
SM
7890 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7891
8c0e3589
AM
78922011-06-15 Alan Mackenzie <acm@muc.de>
7893
cb581a67
SM
7894 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7895 for declarators, disable knr checking to speed up for normal files.
7896 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7897
b96e6cde
LMI
78982011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899
4bba86e6
LMI
7900 * net/network-stream.el (open-network-stream): Add the keyword
7901 :always-query-capabilities for the case where you want to force a
7902 `plain' network connection, but the protocol still requires the
7903 capabilitiy command (i.e., SMTP and EHLO).
7904
2b75be67 7905 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7906 consistency with other `-live-p' functions.
7907
efdcdbf8
SM
79082011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * window.el (same-window-buffer-names, same-window-regexps)
7911 (special-display-frame-alist, special-display-popup-frame)
7912 (special-display-function, special-display-buffer-names)
7913 (special-display-regexps, pop-up-frame-alist)
7914 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7915 (pop-up-windows, split-window-preferred-function)
7916 (split-height-threshold, split-width-threshold, even-window-heights)
7917 (display-buffer-mark-dedicated): Don't encourage the use of
7918 display-buffer-alist from Elisp code.
7919
c5cde042
DN
79202011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7921
7922 * progmodes/python.el (python-mode): Derive from prog-mode.
7923 * progmodes/ps-mode.el (ps-mode):
7924 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7925 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7926 * progmodes/ld-script.el (ld-script-mode): Likewise.
7927
baa1c9ab
MR
79282011-06-15 Martin Rudalics <rudalics@gmx.at>
7929
7930 * window.el (display-buffer-alist): Trim default value to avoid
7931 popping up a new frame (Bug#8857) or reusing an arbitrary window
7932 on another frame.
7933 (display-buffer): Do not fall back on popping up a new frame in
7934 batch mode (Bug#8857).
7935
c5dd5a51
CY
79362011-06-14 Chong Yidong <cyd@stupidchicken.com>
7937
7938 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7939 (custom-theme-summary): New function.
7940 (customize-themes): Use it.
7941
d647b7c4
GM
79422011-06-13 Glenn Morris <rgm@gnu.org>
7943
7944 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7945
9481c002
MR
79462011-06-13 Martin Rudalics <rudalics@gmx.at>
7947
357f93d2
MR
7948 * help.el (help-window): Remove variable.
7949 (help-window-point-marker, temp-buffer-max-height)
7950 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7951 (help-print-return-message): Don't set help-window.
7952 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7953 (help-window-setup-finish): Remove.
7954 (help-window-display-message, help-window-setup)
7955 (with-help-window): Major rewrite based on new
7956 display-buffer-window variable.
7957
7958 * help-mode.el (help-mode-finish): Remove help-window related
7959 code.
7960
7961 * view.el (view-exits-all-viewing-windows): Remove reference to
7962 view-return-to-alist in doc-string.
7963 (view-return-to-alist): Make obsolete.
7964 (view-buffer): Call pop-to-buffer-same-window and remove
7965 undo-window code.
7966 (view-buffer-other-window): Call pop-to-buffer-other-window and
7967 simplify code. Ignore second argument.
7968 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7969 simplify code. Ignore second argument.
7970 (view-return-to-alist-update): Make obsolete.
7971 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7972 Rewrite using quit-restore window parameters.
2b75be67
SM
7973 (view-mode-exit): Rename second argument to EXIT-ONLY.
7974 Rewrite using quit-restore-window.
357f93d2
MR
7975 (View-exit, View-exit-and-edit, View-leave, View-quit)
7976 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7977 appropriate arguments.
7978 (view-end-message): Use quit-restore window parameter.
7979
9481c002
MR
7980 * window.el (display-buffer-function): Rewrite doc-string.
7981 (display-buffer-window, display-buffer-alist): New variables.
7982 (display-buffer-split-specifiers)
7983 (display-buffer-side-specifiers)
7984 (display-buffer-macro-specifiers): New constants.
7985 (display-buffer-even-window-sizes, display-buffer-set-height)
7986 (display-buffer-set-width, display-buffer-select-window)
7987 (display-buffer-in-window, display-buffer-reuse-window)
7988 (display-buffer-split-window-1, display-buffer-split-window)
7989 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7990 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7991 (display-buffer-in-side-window, normalize-buffer-to-display)
7992 (display-buffer-normalize-specifiers-1)
7993 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7994 (display-buffer-normalize-specifiers, display-buffer-frame):
7995 New functions.
9481c002
MR
7996 (display-buffer): Major rewrite.
7997 (display-buffer-other-window, display-buffer-other-frame)
7998 (pop-to-buffer, switch-to-buffer-other-window)
7999 (switch-to-buffer-other-frame): Rewrite.
8000 (display-buffer-same-window, display-buffer-same-frame)
8001 (display-buffer-same-frame-other-window)
8002 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8003 (pop-to-buffer-other-window)
8004 (pop-to-buffer-same-frame-other-window)
8005 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8006 (switch-to-buffer-other-window-same-frame): New functions.
8007 (same-window-p, special-display-p): Rewrite disabling warnings.
8008 Make obsolete.
8009 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8010 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8011 Make obsolete
8012 (same-window-buffer-names, same-window-regexps)
8013 (special-display-frame-alist, special-display-popup-frame)
8014 (special-display-function, special-display-buffer-names)
8015 (special-display-regexps, pop-up-frame-alist)
8016 (pop-up-frame-function, split-window-preferred-function)
8017 (split-height-threshold, split-width-threshold)
8018 (even-window-heights): Make obsolete.
8019
9db51aca
GM
80202011-06-12 Glenn Morris <rgm@gnu.org>
8021
8022 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8023 Misc simplifications.
9db51aca 8024
39cffb44
MR
80252011-06-12 Martin Rudalics <rudalics@gmx.at>
8026
8027 * window.el (window-safely-shrinkable-p): Restore function which
8028 was inadvertently removed in change from 2011-06-11. Declare as
8029 obsolete.
8030
2b75be67
SM
8031 * calendar/calendar.el (calendar-generate-window):
8032 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8033 window-safely-shrinkable-p.
8034
a8955be7
GM
80352011-06-12 Glenn Morris <rgm@gnu.org>
8036
8037 * progmodes/fortran.el (fortran-mode-syntax-table):
8038 * progmodes/f90.el (f90-mode-syntax-table):
8039 Set % to punctuation. (Bug#8820)
8040 (f90-find-tag-default): Remove, no longer needed.
8041
f0d4059d
DC
80422011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8043
8044 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8045
1100a63c
CY
80462011-06-11 Chong Yidong <cyd@stupidchicken.com>
8047
8048 * image.el (image-animated-p): Return animation delay in seconds.
8049 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8050 (image-animate-timeout): Remove DELAY argument. Don't assume
8051 every subimage has the same delay; get it from image-animated-p.
8052 (image-animate): Caller changed.
8053
def722bf
MA
80542011-06-11 Michael Albinus <michael.albinus@gmx.de>
8055
8056 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8057 to ignored backtrace functions.
8058
0a2bb1a9
GM
80592011-06-11 Glenn Morris <rgm@gnu.org>
8060
8061 * calendar/appt.el (appt-disp-window-function): Doc fix.
8062 (appt-check): Handle overlapping appointments. (Bug#8337)
8063
6198ccd0
MR
80642011-06-11 Martin Rudalics <rudalics@gmx.at>
8065
8066 * window.el (window-tree-1, window-tree): New functions, moving
8067 the latter to window.el.
8068 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8069 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8070 (bw-refresh-edges): Remove.
8071 (balance-windows-1, balance-windows-2): New functions.
8072 (balance-windows): Rewrite in terms of window tree functions,
8073 balance-windows-1 and balance-windows-2.
8074 (bw-adjust-window): Remove.
8075 (balance-windows-area-adjust): New function with functionality of
8076 bw-adjust-window but using resize-window.
2b75be67
SM
8077 (set-window-text-height): Rewrite doc-string.
8078 Use normalize-live-window and resize-window.
8079 (enlarge-window-horizontally, shrink-window-horizontally):
8080 Rename argument to DELTA.
6198ccd0
MR
8081 (window-buffer-height): New function.
8082 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8083 Rewrite using new window resize routines.
2b75be67
SM
8084 (kill-buffer-and-window, mouse-autoselect-window-select):
8085 Use ignore-errors instead of condition-case.
6198ccd0
MR
8086 (quit-window): Call delete-frame instead of delete-windows-on
8087 for the only buffer on frame.
8088
9397e56f
MR
80892011-06-10 Martin Rudalics <rudalics@gmx.at>
8090
8091 * loadup.el (top-level): Load window before files for the sake
8092 of replace-buffer-in-windows.
8093
8094 * files.el (read-buffer-to-switch)
8095 (switch-to-buffer-other-window)
2b75be67
SM
8096 (switch-to-buffer-other-frame, display-buffer-other-frame):
8097 Move to window.el.
9397e56f
MR
8098
8099 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8100 (previous-buffer): Move to window.el.
8101
8102 * bindings.el (unbury-buffer): Move to window.el.
8103
8104 * window.el (delete-other-windows-vertically): Move after
8105 definition of delete-other-windows.
8106 (other-window, delete-windows-on, replace-buffer-in-windows):
8107 Move here from window.c.
8108 (record-window-buffer, unrecord-window-buffer)
8109 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8110 (switch-to-next-buffer): New functions.
8111 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8112 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8113 (previous-buffer): Move here from simple.el.
8114 Call switch-to-prev-buffer.
9397e56f
MR
8115 (bury-buffer): Move here from buffer.c. Switch to previous
8116 buffer when window cannot be deleted.
8117 (unbury-buffer): Move here from bindings.el.
8118 (ctl-x-map): Move binding for other-window from window.c to
8119 here.
8120 (read-buffer-to-switch, switch-to-buffer-other-window)
8121 (switch-to-buffer-other-frame): Move here from files.el.
8122 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8123 (switch-to-buffer): Move here from buffer.c.
8124 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8125
562dd5e9
MR
81262011-06-10 Martin Rudalics <rudalics@gmx.at>
8127
8128 * window.el (window-min-height, window-min-width): Move here
8129 from window.c. Add defcustoms and rewrite doc-strings.
8130 (resize-mini-window, resize-window): New functions.
8131 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8132 Move here from window.c.
8133 (maximize-window, minimize-window): New functions.
8134 (delete-window, delete-other-windows, split-window): Move here
8135 from window.c.
8136 (window-split-min-size): New function.
8137 (split-window-keep-point): Mention split-window-above-each-other
8138 instead of split-window-vertically.
2b75be67 8139 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8140 Rename split-window-vertically to split-window-above-each-other
8141 and provide defalias for old definition.
8142 (split-window-side-by-side, split-window-horizontally):
8143 Rename split-window-horizontally to split-window-side-by-side
8144 and provide defalias for the old definition.
562dd5e9
MR
8145 (ctl-x-map): Move bindings for delete-window,
8146 delete-other-windows and enlarge-window here from window.c.
8147 Replace bindings for split-window-vertically and
8148 split-window-horizontally by bindings for
8149 split-window-above-each-other and split-window-side-by-side.
8150
8151 * cus-start.el (all): Remove entries for window-min-height and
8152 window-min-width. Add entries for window-splits and
8153 window-nest.
8154
f0da764a
GM
81552011-06-09 Glenn Morris <rgm@gnu.org>
8156
80675c21
GM
8157 * calendar/appt.el (appt-mode-line): New function.
8158 (appt-check, appt-disp-window): Use it.
8159
f0da764a
GM
8160 * files.el (hack-one-local-variable-eval-safep):
8161 Allow minor-modes with explicit +/-1 arguments.
8162
59f623b7
TZ
81632011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8164
8165 * term/xterm.el (xterm): Add defgroup.
8166 (xterm-extra-capabilities): Add defcustom to supply known xterm
8167 capabilities, skip querying them, or query them (default).
8168 (terminal-init-xterm): Use it.
8169 (terminal-init-xterm-modify-other-keys): New function to set up
8170 modifyOtherKeys support to simplify `terminal-init-xterm'.
8171
9aab8e0d
MR
81722011-06-09 Martin Rudalics <rudalics@gmx.at>
8173
8174 * window.el (resize-window-reset, resize-window-reset-1)
8175 (resize-subwindows-skip-p, resize-subwindows-normal)
8176 (resize-subwindows, resize-other-windows, resize-this-window)
8177 (resize-root-window, resize-root-window-vertically)
8178 (window-deletable-p, window-or-subwindow-p)
8179 (frame-root-window-p): New functions.
8180
e8b08aee
GM
81812011-06-09 Glenn Morris <rgm@gnu.org>
8182
8183 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8184 (ange-ftp-get-files): Use it.
8185
254c37a5
AK
81862011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8187
8188 * mail/sendmail.el (mail-recover-1, mail-recover):
8189 * files.el (recover-file, recover-session):
8190 Handle dired-listing-switches not being just a single short option.
8191
35d7dbd3
GM
81922011-06-09 Glenn Morris <rgm@gnu.org>
8193
8194 * calendar/appt.el (appt-display-message, appt-disp-window):
8195 Handle lists of appointments.
8196
387522b2
MR
81972011-06-08 Martin Rudalics <rudalics@gmx.at>
8198
2b75be67
SM
8199 * window.el (one-window-p): Move down in code.
8200 Rewrite doc-string.
8201 (window-current-scroll-bars): Rewrite doc-string.
8202 Normalize live window argument.
387522b2
MR
8203 (walk-windows, get-window-with-predicate, count-windows):
8204 Rewrite doc-string. Use window-list-1.
8205 (window-in-direction-2, window-in-direction, get-mru-window):
8206 New functions.
8207
d8e4b68b 82082011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8209
8210 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8211 Doc fix (Bug#8713).
8212
82132011-06-08 Chong Yidong <cyd@stupidchicken.com>
8214
8215 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8216
82172011-06-08 Juanma Barranquero <lekktu@gmail.com>
8218
8219 * loadhist.el (unload-feature-special-hooks):
8220 Add `comint-output-filter-functions'.
8221
0de12c52
IK
82222011-06-08 Ivan Kanis <gnu@kanis.fr>
8223
8224 * calendar/appt.el (appt-check): Move some initializations into the let.
8225
f3d1777e
MR
82262011-06-08 Martin Rudalics <rudalics@gmx.at>
8227
8228 * window.el (window-height): Defalias to window-total-height.
8229 (window-width): Defalias to window-body-width.
8230
18af70d0
CY
82312011-06-07 Chong Yidong <cyd@stupidchicken.com>
8232
8233 * image-mode.el (image-toggle-animation): New command.
8234 (image-mode-map): Bind it to RET.
8235 (image-mode): Update message.
8236 (image-toggle-display-image): Avoid a spurious cache flush.
8237 (image-transform-rotation): Doc fix.
8238 (image-transform-properties): Return quickly in the normal case.
8239 (image-animate-loop): Rename from image-animate-max-time.
8240
2b75be67 8241 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8242 (create-animated-image): Remove unnecessary function.
8243 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8244 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8245 (image-animate-timer): Use car-safe.
8246 (image-animate-timeout): Rename argument.
8247
190b47e6
MR
82482011-06-07 Martin Rudalics <rudalics@gmx.at>
8249
8250 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8251 window.c. Rename first argument to ALL-FRAMES.
8252 Rephrase doc-strings.
8253 (get-buffer-window-list): Rewrite using window-list-1.
8254 Rephrase doc-string.
a1511caf
MR
8255 (window-safe-min-height, window-safe-min-width): New constants.
8256 (window-size-ignore, window-min-size, window-min-size-1)
8257 (window-sizable, window-sizable-p, window-size-fixed-1)
8258 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8259 (window-max-delta-1, window-max-delta, window-resizable)
8260 (window-resizable-p, window-total-height, window-total-width)
8261 (window-body-width): New functions.
8262 (window-full-height-p, window-full-width-p): Rewrite using
8263 window-total-size.
8264 (window-body-height): Rewrite using window-body-size.
190b47e6 8265
85cc1f11
MR
82662011-06-06 Martin Rudalics <rudalics@gmx.at>
8267
8268 * window.el (window-right, window-left, window-child)
8269 (window-child-count, window-last-child, window-any-p)
8270 (normalize-live-buffer, normalize-live-frame)
8271 (normalize-any-window, normalize-live-window)
8272 (window-iso-combination-p, window-iso-combined-p)
8273 (window-iso-combinations)
8274 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8275 (windows-with-parameter, window-with-parameter)
8276 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8277 (window-atom-check, window-side-check, window-check):
8278 New functions.
85cc1f11
MR
8279 (ignore-window-parameters, window-sides, window-sides-vertical)
8280 (window-sides-slots): New variables.
8281 (window-size-fixed): Move down in code. Minor doc-string fix.
8282
e7156492
AS
82832011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8284
8285 * comint.el (comint-dynamic-complete-as-filename)
8286 (comint-dynamic-complete-filename): Correctly call
8287 completion-in-region.
8288
7e821d0d
DD
82892011-06-05 Deniz Dogan <deniz@dogan.se>
8290
8291 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8292 in last change.
8293
ac09b8a1
DD
82942011-06-05 Deniz Dogan <deniz@dogan.se>
8295
8296 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8297 (rcirc): Use it to prompt for encryption.
8298
34699b85
RW
82992011-06-05 Roland Winkler <winkler@gnu.org>
8300
8301 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8302 (bibtex-search-entries): New command bound to C-c C-a.
8303 (bibtex-display-entries): New function.
8304
004dedd3
RW
83052011-06-05 Roland Winkler <winkler@gnu.org>
8306
8307 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8308 (bibtex-insert-kill): After yanking insert newline if necessary.
8309 (bibtex-initialize): Call bibtex-string-files-init only once.
8310 (bibtex-mode): Do not call easy-menu-add.
8311 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8312 (bibtex-yank): Set arg properly if nil.
8313
022fe7ce
RW
83142011-06-05 Roland Winkler <winkler@gnu.org>
8315
2b75be67
SM
8316 * textmodes/bibtex.el (bibtex-search-entry-globally):
8317 New variable.
022fe7ce
RW
8318 (bibtex-search-entry): Use it.
8319
b7c3692a
RW
83202011-06-05 Roland Winkler <winkler@gnu.org>
8321
8322 * textmodes/bibtex.el (bibtex-entry-format): New option
8323 sort-fields.
8324 (bibtex-format-entry, bibtex-reformat): Honor this option.
8325 (bibtex-parse-entry): Return fields in proper order.
8326
8eda563d
JB
83272011-06-05 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * doc-view.el (doc-view-remove-if): Move computation of result out
8330 of `dolist' to silence misleading lexical-binding warning.
8331
7dbe3dbc
CY
83322011-06-04 Chong Yidong <cyd@stupidchicken.com>
8333
8334 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8335 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8336
0c33dd17
MA
83372011-06-04 Michael Albinus <michael.albinus@gmx.de>
8338
8339 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8340 "SunOS 5.10".
8341
f8f91c2b
MA
83422011-06-04 Michael Albinus <michael.albinus@gmx.de>
8343
8344 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8345 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8346 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8347 (tramp-parse-putty):
8348 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8349 (tramp-completion-function-alist-ssh)
8350 (tramp-completion-function-alist-telnet)
8351 (tramp-completion-function-alist-su)
8352 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8353 cookie.
8354
8355 * net/tramp-ftp.el:
8356 * net/tramp-sh.el:
8357 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8358 load "tramp.el" `tramp-set-completion-function'.
8359
e17d9003
SM
83602011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * shell.el: Require and use pcomplete.
8363 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8364 (shell-completion-vars): Set pcomplete-default-completion-function.
8365
6c4cab03
DD
83662011-06-04 Deniz Dogan <deniz@dogan.se>
8367
8368 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8369 `memq' (Bug#8799).
8370
ea9fafe0
SM
83712011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8374
b3e945d3
JB
83752011-06-02 Juanma Barranquero <lekktu@gmail.com>
8376
8377 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8378 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8379 * vc/log-view.el (log-view-beginning-of-defun):
8380 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8381 (smerge-refine-forward, smerge-refine-chopup-region):
8382 Silence warning for unused `dotimes' counter variables.
8383
7d520089
SM
83842011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * net/tramp.el (tramp-with-progress-reporter): Rename from
8387 with-progress-reporter. Use `declare'.
8388 * net/tramp-smb.el:
8389 * net/tramp-sh.el:
8390 * net/tramp-gvfs.el: Update all uses.
8391
a1c2400f
JB
83922011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8393
8394 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8395 buffer isn't killed before making it current.
8396
2403c841
SM
83972011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 Silence various byte-compiler warnings.
8400 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8401 `access-type' and new obsolescence format.
8402 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8403 new format.
8404 (byte-compile-check-variable): New `access-type' argument.
8405 Only warn if the access-type is obsolete.
8406 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8407 (byte-compile-variable-set): Adjust callers.
8408 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8409 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8410 setting it as obsolete.
8411 * simple.el (minibuffer-completing-symbol):
8412 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8413 access as obsolete.
8414 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8415 obsolete yet.
8416 * international/quail.el (quail-mouse-choose-completion): Remove unused
8417 code referring to obsolete var.
8418 (quail-choose-completion-string): Remove.
8419 * server.el (server-clients-with, server-kill-buffer-query-function)
8420 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8421 * proced.el (proced-send-signal):
8422 * emacs-lisp/lisp.el (lisp-complete-symbol):
8423 Replace completion-annotate-function with completion-extra-properties.
8424
2462470b
SM
84252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8426
fb5b2591
SM
8427 * simple.el (goto-line): Use read-number.
8428 (overriding-map-is-bound): Remove.
8429 (saved-overriding-map): Change default.
8430 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8431 Take the map as argument.
8432 (universal-argument, negative-argument, digit-argument): Use it.
8433 (restore-overriding-map): Adjust.
8434 (do-auto-fill): Use fill-forward-paragraph.
8435 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8436
fd6fa53f
SM
8437 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8438 (minibuffer-inactive-mode): New major mode.
8439 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8440 the *Messages* buffer" hack.
8441 (mouse-popup-menubar): Don't burp if the event is a normal key.
8442
2462470b
SM
8443 Miscellaneous tweaks.
8444 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8445 lexical scoping as in subr.el's dolist and dotimes.
8446 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8447 Silence compiler warning.
8448 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8449 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8450 * international/ccl.el (ccl-compile): Trivial simplification.
8451 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8452 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8453 `printflag' argument.
8454 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8455 Purecopy the whole obsolescence data.
8456
108bf785
LL
84572011-06-01 Leo Liu <sdl.web@gmail.com>
8458
8459 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8460 improve doc-string as suggested by Marco Pessotto
8461 <melmothx@gmail.com>.
8462 (rcirc-print): Fix last change.
8463
30a23501
SM
84642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * minibuffer.el (complete-with-action): Return nil for the metadata and
8467 boundaries of non-functional tables.
8468 (completion-table-dynamic): Return nil for the metadata.
8469 (completion-table-with-terminator): Add default case, using
8470 complete-with-action.
8471 (completion--metadata): New function.
8472 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8473 to try and avoid pathological performance problems.
8474 (completion--embedded-envvar-table): Return `category' metadata.
8475
bcd54f83
LMI
84762011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8477
8478 * subr.el (process-alive-p): New tiny convenience function.
8479
e227544d
SM
84802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8483 content but also its previous major mode.
8484
e8296fdc
HE
84852011-05-31 Helmut Eller <eller.helmut@gmail.com>
8486
4d61f28d 8487 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8488 *Backtrace* buffer when we exit with C-M-c.
8489
620c53a6
SM
84902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * minibuffer.el: Add metadata method to completion tables.
8493 (completion-category-overrides): New defcustom.
8494 (completion-metadata, completion--field-metadata)
8495 (completion-metadata-get, completion--styles)
8496 (completion--cycle-threshold): New functions.
8497 (completion-try-completion, completion-all-completions):
8498 Add `metadata' argument to choose completion-styles.
8499 (completion--do-completion): Use metadata to choose cycling.
8500 (completion-all-sorted-completions): Use metadata for sorting.
8501 Remove :completion-cycle-penalty which is not needed any more.
8502 (completion--try-word-completion): Add `metadata' argument.
8503 (minibuffer-completion-help): Check metadata for annotation function
8504 and sorting.
8505 (completion-file-name-table): Return `category' metadata.
8506 (minibuffer-completing-file-name): Make obsolete.
8507 * simple.el (minibuffer-completing-symbol): Make obsolete.
8508 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8509 completion-try-completion.
8510
1257e755
SM
85112011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8514
3767e706
LL
85152011-05-30 Leo Liu <sdl.web@gmail.com>
8516
8517 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8518 (rcirc-print): Decode all incoming messages (bug#8744).
8519 (rcirc-decode-coding-system): Allow value nil for automatic coding
8520 system detection.
3767e706 8521
d1a5d56a
GM
85222011-06-01 Glenn Morris <rgm@gnu.org>
8523
8524 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8525
e8cbec34
CY
85262011-05-29 Chong Yidong <cyd@stupidchicken.com>
8527
8528 * image.el (image-animate-max-time): Allow nil and t values.
8529 Default to nil.
8530 (create-animated-image): Doc fix.
8531 (image-animate-start): Remove second arg; just use
8532 image-animate-max-time.
8533 (image-animate-timeout): Doc fix. Args changed.
8534
8535 * image-mode.el (image-toggle-display-image): Ensure that the
8536 image spec passed to the animate timer is the same object as in
58179cce 8537 the buffer's display property (Bug#6981).
e8cbec34
CY
8538 (image-transform-properties): Doc fix.
8539
8540 * image.el (image-animate-max-time): Default to nil.
8541
159daf87
MR
85422011-05-29 Martin Rudalics <rudalics@gmx.at>
8543
8544 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8545 entire buffer list (Bug#8184).
8546
d66c4c7c
CY
85472011-05-29 Chong Yidong <cyd@stupidchicken.com>
8548
8549 * image.el (imagemagick-types-inhibit)
8550 (imagemagick-register-types): Doc fix.
8551
80aec780
DD
85522011-05-29 Deniz Dogan <deniz@dogan.se>
8553
8554 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8555 default.
8556
1dd3c2d9
CY
85572011-05-29 Chong Yidong <cyd@stupidchicken.com>
8558
8559 * select.el: Don't perform clipboard-manager saving in hooks;
8560 leave the hooks empty.
8561
60e56523
LL
85622011-05-28 Leo Liu <sdl.web@gmail.com>
8563
8564 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8565 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8566 (occur-edit-mode): New major mode (Bug#8463).
8567 (occur-after-change-function): New function.
8568 (occur-engine): Give Occur tags a read-only property.
8569
2b1e1a22
KR
85702011-05-28 Kevin Ryde <user42@zip.com.au>
8571
8572 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8573
5d344e88
CY
85742011-05-28 Chong Yidong <cyd@stupidchicken.com>
8575
8e6ca83d
CY
8576 * bindings.el (help-echo): Make the initial non-indicator dash
8577 empty on graphical terminals (Bug#7295).
8578
5d344e88
CY
8579 * files.el (auto-mode-alist): Move config rule after the
8580 in-stripping one (Bug#8547).
8581
bfbbace7
CY
8582 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8583
fbeba6e2
CY
8584 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8585 setting (Bug#8740).
8586
60ed8c72
AA
85872011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8588
4ac619f0
AA
8589 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8590 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8591 (Bug#8539).
60ed8c72 8592
23db196e
CY
85932011-05-28 Chong Yidong <cyd@stupidchicken.com>
8594
8595 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8596
5012f24c
DK
85972011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8598
8599 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8600 (hs-hide-block-at-point, hs-find-block-beginning)
8601 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8602 (Bug#8279).
8603
6a639b16
GM
86042011-05-28 Glenn Morris <rgm@gnu.org>
8605
8606 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8607
d43eaf2c
CY
86082011-05-28 Chong Yidong <cyd@stupidchicken.com>
8609
5199bde1
CY
8610 * help-fns.el (describe-function-1): If the function is a derived
8611 major mode, print the parent mode.
8612
d43eaf2c
CY
8613 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8614 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8615
423428a8
SM
86162011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8617
0ff8e1ba 8618 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8619 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8620 * progmodes/etags.el (tags-completion-at-point-function):
8621 * info-look.el (info-lookup-completions-at-point): Mark as
8622 non-exclusive.
8623 (info-complete): Adjust accordingly.
8624
423428a8
SM
8625 * info-look.el: Convert to lexical-binding and completion-at-point.
8626 (info-lookup-completions-at-point): New function.
8627 (info-complete): Use it and completion-in-region.
8628
b74aa22b
DA
86292011-05-28 Drew Adams <drew.adams@oracle.com>
8630
8631 * isearch.el: Let M-e start with point at the first mismatched char.
8632 (isearch-fail-pos): New function.
8633 (isearch-edit-string): Use it.
8634
66e2e71d
DK
86352011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8636
8637 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8638
b1890b0f 86392011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8640
8641 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8642 traversal functions for avl-trees.
8643 (avl-tree--stack): New struct.
8644 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8645 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8646 (avl-tree--do-enter): Add optional `updatefun' arg.
8647 Change return value.
eb95d01d 8648 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8649 (avl-tree--do-delete): Add `test' and `nilflag' args.
8650 Change return value.
eb95d01d
TC
8651 (avl-tree-member): Add optional `nilflag'
8652 (avl-tree-member-p): New function.
8653 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8654 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8655 (avl-tree-stack-empty-p): New functions.
8656
3769ddcf
TC
8657 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8658 avl-tree--del-balance1 and make it work both ways.
8659 (avl-tree--del-balance2): Remove.
8660 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8661 make it work both ways.
8662 (avl-tree--enter-balance2): Remove.
8663 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8664 New macros.
8665 (avl-tree--mapc, avl-tree-map): Add direction argument.
8666
eb95d01d 86672011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8668
8669 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8670
a9f737ee
CY
86712011-05-27 Chong Yidong <cyd@stupidchicken.com>
8672
8673 * select.el: Support clipboard managers with built-in function
8674 x-clipboard-manager-save, via delete-frame-functions and
8675 kill-emacs-hook.
8676 (xselect-convert-to-targets): Add MULTIPLE target to list.
8677 (xselect-convert-to-save-targets): New function.
8678
c92a1e54
KH
86792011-05-27 Kenichi Handa <handa@m17n.org>
8680
8681 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8682 let-binding rfc2047-encode-encoded-words to nil.
8683
e145f188
GM
86842011-05-27 Glenn Morris <rgm@gnu.org>
8685
5ec8a862
GM
8686 * mail/emacsbug.el: Don't require url-util.
8687
4b29d9fb
GM
8688 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8689
e145f188
GM
8690 * files.el (set-auto-mode):
8691 Also respect mode: entries at the end of the file. (Bug#8586)
8692
7d15102b
GM
86932011-05-26 Glenn Morris <rgm@gnu.org>
8694
98f593b8
GM
8695 * files.el (hack-local-variables-prop-line, hack-local-variables):
8696 Downcase mode names, as seems to be traditional.
27b48e63 8697 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8698
7d15102b
GM
8699 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8700 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8701
51d5b4ec
JD
87022011-05-25 Julien Danjou <julien@danjou.info>
8703
8704 * textmodes/rst.el (rst-define-level-faces): Do not define face
8705 symbol if it is already defined.
8706
91513f63
VB
87072011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8708
8709 * play/5x5.el (5x5-new-game, 5x5-randomize):
8710 Reset 5x5-solver-output to nil when a new grid is cast.
8711 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8712 these debugging traces, as defmacro breaks the compiled code.
8713
4d90d6d0
DK
87142011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8715
8716 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8717
e1b90ef6
LL
87182011-05-24 Leo Liu <sdl.web@gmail.com>
8719
8720 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8721 (vc-bzr-sha1): Adapt.
8722
d8e4b68b 8723 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8724
8725 * bindings.el: Provide sha1 feature.
8726
db0406bb 87272011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8728
8729 * mail/sendmail.el: Require `rfc2047'.
8730 (mail-insert-from-field): Do not perform RFC2047 encoding.
8731 (mail-encode-header): New function.
8732 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8733 buffer to the return value of select-message-coding-system.
8734 Call mail-encode-header.
b8d747b9
KH
8735
8736 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8737
db0406bb 87382011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8739
4d90d6d0
DK
8740 * mail/supercite.el (sc-default-cite-frame):
8741 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8742
eb8a5e9b
GM
87432011-05-24 Glenn Morris <rgm@gnu.org>
8744
f8630703
GM
8745 * progmodes/python.el (brm-menu): Declare.
8746
8831bbed
GM
8747 * emulation/viper.el (viper-set-hooks): Declare.
8748
eb8a5e9b
GM
8749 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8750 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8751 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8752 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8753 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8754 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8755
a2a25d24
SM
87562011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 Add an :exit-function for completion-at-point.
8759
8760 * minibuffer.el (completion--done): New fun.
8761 (completion--do-completion): Use it. New arg `expect-exact'.
8762 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8763 since completion--do-completion does it for us now.
8764 (minibuffer-force-complete): Use completion--done and
8765 completion--replace. Handle sole-completion case with more care.
8766 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8767 (completion-extra-properties): New var.
8768 (completion-annotate-function): Make obsolete.
8769 (minibuffer-completion-help): Adjust accordingly.
8770 Use completion-list-insert-choice-function.
8771 (completion-at-point, completion-help-at-point):
8772 Bind completion-extra-properties.
8773 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8774 * simple.el (completion-list-insert-choice-function): New var.
8775 (completion-setup-function): Preserve it.
8776 (choose-completion): Pay attention to it, shuffle the code a bit.
8777 (choose-completion-string): New arg `insert-function'.
8778
8779 * textmodes/bibtex.el: Convert to lexical binding.
8780 (bibtex-mode-map): Use completion-at-point.
8781 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8782 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8783 (bibtex-complete): Define as obsolete alias.
8784 (bibtex-complete-internal): Remove.
8785 (bibtex-format-entry): Remove unused sub-group in regexp.
8786 * shell.el (shell--command-completion-data)
8787 (shell-environment-variable-completion):
8788 * pcomplete.el (pcomplete-completions-at-point):
8789 * comint.el (comint--complete-file-name-data): Use :exit-function
8790 instead of completion-table-with-terminator so it also works for
8791 choose-completion.
8792
e44e373d
SM
87932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8794
4f91a816
SM
8795 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8796
782fc819
SM
8797 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8798 (bug#8710).
8799
e44e373d
SM
8800 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8801
381987c3
KM
88022011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8803
8804 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8805 customization variable and implement: If non-nil, auto-fill will
8806 be inhibited while on topic's header line.
8807
b776bc70
VB
88082011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8809
8810 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8811 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8812 always have a solution in grid size = 5 cases.
8813 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8814 (5x5-solver-output, 5x5-log-buffer): New vars.
8815 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8816 Make these variables buffer local to achieve 5x5 multi-session-ness.
8817 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8818 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8819 (5x5-solve-suggest): New funs.
8820 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8821 randomize a grid so that we ensure that there is always a solution.
8822 (5x5-make-random-grid): Allow other movement than flipping.
8823
7de88b6e
KR
88242011-05-23 Kevin Ryde <user42@zip.com.au>
8825
8826 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8827 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8828 advice and passes PREDICATE.
8829
b1ef1257
SM
88302011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8831
bbca48fe
SM
8832 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8833 byte-compile-lambda if it's actually a lambda.
8834
b1ef1257
SM
8835 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8836 Fix function quoting. Use backquote better.
8837
92a9cc65
YS
88382011-05-22 Yuanle Song <sylecn@gmail.com>
8839
8840 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8841 matching (Bug#8516).
8842
f0fb8059
JA
88432011-01-22 Jari Aalto <jari.aalto@cante.net>
8844
8845 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8846 different face (Bug#8178).
8847
d5b44c93
CY
88482011-05-22 Chong Yidong <cyd@stupidchicken.com>
8849
8850 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8851 defface (Bug#8144).
8852
79106a44
SM
88532011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8854
9c848d8a
SM
8855 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8856 funcall as well (bug#8712). Warn when performing those conversions.
8857 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8858
79106a44
SM
8859 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8860
88dfa756
GM
88612011-05-22 Glenn Morris <rgm@gnu.org>
8862
8863 * files.el (hack-local-variables-prop-line): Small simplifications.
8864 (hack-local-variables, hack-local-variables-prop-line):
8865 If MODE-ONLY, return the mode, rather than just `t'.
8866
b7cf2c79
SM
88672011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8870
3f1a8558
GM
88712011-05-21 Glenn Morris <rgm@gnu.org>
8872
7e4ccca3
GM
8873 * files.el (hack-local-variables-prop-line, hack-local-variables):
8874 If only interested in the mode, don't bother doing the other stuff.
8875
637d46ca
GM
8876 * image-mode.el (image-after-revert-hook):
8877 Redraw all frames on which the image is visible. (Bug#8567)
8878
973d955b
GM
8879 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8880
3f1a8558
GM
8881 * wid-edit.el (widget-checklist-match-inline):
8882 Fix 2011-04-19 change. (Bug#8649)
8883
96479927
SM
88842011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8885
1dcf791f
SM
8886 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8887 Also allow singlespace after single-letter capitals followed by a dot.
8888
96479927
SM
8889 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8890 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8891
35fd0881
N
88922011-05-20 Nix <nix@esperi.org.uk>
8893
8894 * files.el (basic-save-buffer-2):
8895 Fix handling of break-hardlink-on-save with non-existent files.
8896
82745640
DD
88972011-05-19 Deniz Dogan <deniz@dogan.se>
8898
8899 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8900 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8901
4a720484
GM
89022011-05-19 Glenn Morris <rgm@gnu.org>
8903
d1f21341
GM
8904 * progmodes/f90.el (f90-type-def-re):
8905 Handle "type, bind(c)". (Bug#8691)
8906
4a720484
GM
8907 * emacs-lisp/autoload.el (batch-update-autoloads):
8908 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8909
2fb0a219
MA
89102011-05-18 Michael Albinus <michael.albinus@gmx.de>
8911
8912 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8913 property for the correct connection in case of multihops.
8914
e565dd37
GM
89152011-05-18 Glenn Morris <rgm@gnu.org>
8916
c2571358 8917 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8918 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8919
e565dd37
GM
8920 Rationalize calendar handling of day and month abbrev-arrays.
8921 * calendar/calendar.el (calendar-customized-p): New function.
8922 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8923 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8924 Add :set function.
8925 (calendar-abbrev-length, calendar-day-abbrev-array)
8926 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8927 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8928 Elements may no longer be nil.
8929 (calendar-day-name, calendar-month-name):
8930 Update for changed nature of abbrev arrays.
8931 * calendar/diary-lib.el (diary-name-pattern):
8932 Update for changed nature of abbrev arrays.
8933 (diary-mark-entries-1): Update calendar-make-alist calls.
8934 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8935 * calendar/cal-html.el (cal-html-day-abbrev-array):
8936 Simply inherit from calendar-day-abbrev-array.
8937
1d99a745
SM
89382011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * progmodes/grep.el (grep-mode): Disable default
8941 compilation-directory-matcher setting (bug#8684).
8942
7c1d9aa0
MA
89432011-05-17 Michael Albinus <michael.albinus@gmx.de>
8944
8945 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8946 instead of "head" and "tail". There were problems with SunOS 5.9,
8947 and it performs better.
8948
3952e9d8
GM
89492011-05-17 Glenn Morris <rgm@gnu.org>
8950
2dd12e7f
GM
8951 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8952
e4157b9c
GM
8953 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8954 Replace obsolete function.
8955
8e249bbd
GM
8956 * shell.el (pcomplete-parse-arguments-function): Declare.
8957
3952e9d8
GM
8958 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8959 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8960 (appt-check): Doc fixes.
8961 (appt-disp-window-function, appt-delete-window-function):
8962 Remove needless special case in custom :type.
8963 (appt-display-count): Default to 0, not nil.
8964 (appt-check): Reset appt-display-count to 0, not nil.
8965
c71a0d48 89662011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8967
c71a0d48
GM
8968 * progmodes/python.el (python-font-lock-keywords):
8969 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8970
31d55be9
SM
89712011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8974
3bfacb2f
KR
89752011-05-16 Kevin Ryde <user42@zip.com.au>
8976
8977 * info-look.el (makefile-automake-mode): New setups, looking in
8978 automake manual, then makefile-mode.
8979 (makefile-mode): Remove automake manual, have it just in
8980 makefile-automake-mode since there's various things different or
8981 not relevant to plain make.
8982 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8983 believe a hypothetical automake-mode would go to makefile-mode,
8984 not the other way around.
8985
c8e83751
CY
89862011-05-15 Chong Yidong <cyd@stupidchicken.com>
8987
5e9e35cd
CY
8988 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8989 hunk-end tags (Bug#8672).
8990
c8e83751
CY
8991 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8992 vc-annotate-show-diff-revision-at-line (Bug#8671).
8993
50b23e5a
GM
89942011-05-14 Glenn Morris <rgm@gnu.org>
8995
7210a739
GM
8996 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8997 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8998 (change-log-font-lock-keywords): Also handle multiple author lines
8999 with leading tabs. (Bug#8644)
7210a739 9000
4691905a
GM
9001 * calendar/appt.el (appt-check): Rename some local variables.
9002 Some simplification/reordering.
9003
50b23e5a
GM
9004 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9005 (feedmail-sendmail-f-doesnt-sell-me-out)
9006 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9007 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9008 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9009 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9010 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9011 (feedmail-binmail-gnulinuxish-template):
9012 Rename from feedmail-binmail-linuxish-template.
9013 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9014 Use insert-buffer-substring.
9015
215cda7c
BC
90162011-05-14 Bill Carpenter <bill@carpenter.org>
9017
9018 * mail/feedmail.el (feedmail-patch-level): Increase.
9019 (feedmail-debug): New custom group.
9020 (feedmail-confirm-outgoing-timeout)
9021 (feedmail-sendmail-f-doesnt-sell-me-out)
9022 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9023 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9024 (feedmail-sender-line, feedmail-from-line)
9025 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9026 (feedmail-spray-this-address)
215cda7c
BC
9027 (feedmail-spray-address-fiddle-plex-list)
9028 (feedmail-queue-use-send-time-for-date)
9029 (feedmail-queue-use-send-time-for-message-id)
9030 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9031 (feedmail-buffer-eating-function):
9032 Doc fixes.
9033 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9034 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9035 (feedmail-message-action-scroll-down): New functions.
9036 (feedmail-queue-directory, feedmail-queue-draft-directory):
9037 Use expand-file-name.
9038 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9039 Remove C-v help entry.
9040 (feedmail-queue-buffer-file-name): New variable.
9041 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9042 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9043 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9044 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9045 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9046 (feedmail-message-action-toggle-spray)
9047 (feedmail-run-the-queue-no-prompts)
9048 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9049 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9050 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9051 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9052 (feedmail-envelope-deducer, feedmail-fiddle-from)
9053 (feedmail-fiddle-sender, feedmail-default-date-generator)
9054 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9055 (feedmail-fiddle-spray-address)
9056 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9057 (feedmail-fiddle-list-of-fiddle-plexes)
9058 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9059 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9060 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9061 Change default. Doc fix.
9062 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9063 (feedmail-binmail-linuxish-template): New constant.
9064 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9065 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9066 (feedmail-send-it): Add debug call.
9067 Use feedmail-queue-buffer-file-name, and
9068 feedmail-send-it-immediately-wrapper.
9069 (feedmail-message-action-send): Add debug call.
9070 Use feedmail-send-it-immediately-wrapper.
9071 (feedmail-queue-express-to-queue): Add debug call.
9072 Run feedmail-queue-express-hook.
9073 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9074 (feedmail-message-action-help-blat):
9075 Rename from feedmail-queue-send-edit-prompt-help-first.
9076 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9077 Check line-endings. Handle errors better.
9078 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9079 Doc fix. Add debug call.
9080 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9081 Use feedmail-queue-send-edit-prompt-inner.
9082 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9083 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9084 from feedmail-queue-send-edit-prompt.
9085 (feedmail-queue-send-edit-prompt-help)
9086 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9087 (feedmail-tidy-up-slug): Add debug call.
9088 Respect feedmail-queue-slug-suspect-regexp.
9089 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9090 (feedmail-dump-message-to-queue): Add debug call.
9091 Expand queue-directory.
9092 (feedmail-dump-message-to-queue): Change message slightly.
9093 Use feedmail-say-chatter.
9094 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9095 (feedmail-send-it-immediately-wrapper): New function.
9096 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9097 Insert empty string rather than newline. Handle full-frame case.
9098 Use catch/throw. Use feedmail-say-chatter.
9099 (feedmail-fiddle-from): Try mail-host-address.
9100 (feedmail-default-message-id-generator): Doc fix.
9101 Bind system-time-locale. Handle missing end.
9102 (feedmail-fiddle-x-mailer): Add debug call.
9103 Handle feedmail-x-mailer-line being nil.
9104 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9105 Add debug call. Use buffer-substring-no-properties.
9106 (feedmail-say-debug, feedmail-say-chatter): New functions.
9107 (feedmail-find-eoh): Give an explicit error.
9108
42c7e61e
UJ
91092011-05-13 Ulf Jasper <ulf.jasper@web.de>
9110
c2571358 9111 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9112 family from helvetica to sans.
c2571358 9113 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9114 etc/images/newsticker.
9115
c2571358 9116 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9117 family from helvetica to sans.
9118
9119 * net/newst-plainview.el (newsticker-new-item-face)
9120 (newsticker-old-item-face, newsticker-immortal-item-face)
9121 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9122 (newsticker-statistics-face): Change default family from
42c7e61e 9123 helvetica to sans.
c2571358 9124 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9125 etc/images/newsticker.
9126
9127 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9128 (newsticker--process-auto-mark-filter-match): : Tell user about
9129 auto-marking.
9130
8497a297
DV
91312011-05-13 Didier Verna <didier@xemacs.org>
9132
9133 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9134 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9135 TODO entries.
8497a297
DV
9136 (lisp-lambda-list-keyword-parameter-indentation)
9137 (lisp-lambda-list-keyword-parameter-alignment)
9138 (lisp-lambda-list-keyword-alignment): New customizable user options.
9139 (lisp-indent-defun-method): Improve docstring.
9140 (extended-loop-p): Fix comment.
9141 (lisp-indent-lambda-list-keywords-regexp): New variable.
9142 (lisp-indent-lambda-list): New function.
9143 (lisp-indent-259): Use it.
9144 (lisp-indent-defmethod): Support for more than one
9145 method qualifier and properly indent methods lambda-lists.
9146 (defgeneric): Provide a missing common-lisp-indent-function property.
9147
f278f87f
SM
91482011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9151 bounds for the empty string (bug#8667).
9152
5233edd7
GM
91532011-05-13 Glenn Morris <rgm@gnu.org>
9154
5237a44f
GM
9155 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9156
8340026c 9157 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9158 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9159
5233edd7 9160 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9161 (appt-time-msg-list): Doc fix.
a5464014 9162 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9163
92d10796
AS
91642011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9165
9166 * progmodes/ld-script.el (ld-script-keywords)
9167 (ld-script-builtins): Update keywords list.
9168
914a0ae1
SM
91692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9170
c89be45f
SM
9171 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9172
914a0ae1
SM
9173 * shell.el (shell-completion-vars): New function.
9174 (shell-mode):
9175 * simple.el (read-shell-command): Use it.
9176 (blink-matching-open): No need for " [...]" in minibuffer-message.
9177
98dc3df3
GM
91782011-05-12 Glenn Morris <rgm@gnu.org>
9179
9180 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9181 (appt-check): Simplify.
9182
d2fc7e3d 91832011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9184
4d61f28d 9185 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9186 literal "/dev/null".
9187
d2fc7e3d 91882011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9189
9190 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9191 Fix typo.
9192
d2fc7e3d 91932011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9194
3f254caa
SM
9195 * progmodes/which-func.el (which-function):
9196 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9197 which might not be defined (Bug#8260).
9198
d45885f7
GM
91992011-05-12 Glenn Morris <rgm@gnu.org>
9200
9201 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9202 Let byte-compile-initial-macro-environment always take precedence.
9203
488086f4
SM
92042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9205
9206 * net/rcirc.el: Add support for SSL/TLS connections.
9207 (rcirc-server-alist): New field `encryption'.
9208 (rcirc): Check `encryption' settings.
9209 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9210 Merge make-local-variable into `set'.
9211 (rcirc--connection-open-p): New function.
9212 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9213 the process is not a network process (e.g. running gnutls-cli).
9214 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9215 Make rcirc-(en|de)code-coding-system local here.
9216 (rcirc-mode): Merge make-local-variable into `set'.
9217 (rcirc-parent-buffer): Make permanent buffer-local.
9218 (rcirc-multiline-minor-mode): Don't do it here.
9219 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9220 there's no server buffer.
9221
7d3b9d44
GM
92222011-05-11 Glenn Morris <rgm@gnu.org>
9223
f64049c6
GM
9224 * newcomment.el (comment-kill): Prefix "unused" local.
9225
93c9df73
GM
9226 * term/w32console.el (get-screen-color): Declare.
9227
7d3b9d44
GM
9228 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9229 Handle symbol elements of byte-compile-initial-macro-environment.
9230
9e2dd53f
LL
92312011-05-10 Leo Liu <sdl.web@gmail.com>
9232
488086f4
SM
9233 * bookmark.el (bookmark-bmenu-mode-map):
9234 Bind bookmark-bmenu-search to `/'.
8b340240 9235
9e2dd53f 9236 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9237 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9238 (Footnote-unicode): New function.
9239 (footnote-style-alist): Add unicode style to the list.
9240 (footnote-style): Doc fix.
9e2dd53f 9241
79b70037
GM
92422011-05-10 Jim Meyering <meyering@redhat.com>
9243
9244 Fix doubled-word typos.
9245 * international/quail.el (quail-insert-kbd-layout): and and -> and
9246 * kermit.el: and and -> and
9247 * net/ldap.el (ldap-search-internal): to to -> to
9248 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9249 * progmodes/js.el (js-mode): and and -> and
9250 * textmodes/artist.el (artist-move-to-xy): at at -> at
9251 (artist-draw-region-trim-line-endings): if if -> if
9252 And Safetyc -> Safety.
9253 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9254
b8f82dc1 92552011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9256 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9257
9258 * files.el (hack-one-local-variable-eval-safep):
9259 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9260
4f99f44b
GM
92612011-05-10 Glenn Morris <rgm@gnu.org>
9262
9263 * calendar/diary-lib.el (diary-list-entries-hook)
9264 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9265 (diary-nongregorian-marking-hook, diary-list-entries)
9266 (diary-include-other-diary-files, diary-mark-entries)
9267 (diary-mark-included-diary-files): Doc fixes.
9268
84f29e6b
JB
92692011-05-09 Juanma Barranquero <lekktu@gmail.com>
9270
9271 * misc.el: Require tabulated-list.el during compilation.
9272
9bedd73a
CY
92732011-05-09 Chong Yidong <cyd@stupidchicken.com>
9274
488086f4
SM
9275 * progmodes/compile.el (compilation-start):
9276 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9277 (compilation-filter-hook): Doc fix.
9278
797c735c
DD
92792011-05-09 Deniz Dogan <deniz@dogan.se>
9280
9281 * wdired.el: Remove outdated installation comment. Fix usage
9282 comment.
9283
5f4b1dfe
JB
92842011-05-09 Juanma Barranquero <lekktu@gmail.com>
9285
9286 * misc.el: Implement new command `list-dynamic-libraries'.
9287 (list-dynamic-libraries--loaded-only-p): New variable.
9288 (list-dynamic-libraries--refresh): New function.
9289 (list-dynamic-libraries): New command.
9290
4c44026c
CY
92912011-05-09 Chong Yidong <cyd@stupidchicken.com>
9292
488086f4
SM
9293 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9294 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9295 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9296 higher priority to avoid clobbering by gnu.
9297
027f966d
CY
92982011-05-08 Chong Yidong <cyd@stupidchicken.com>
9299
9300 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9301 if the face has existing theme settings (Bug#8454).
9302
085f5d7d
CY
93032011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9304
488086f4
SM
9305 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9306 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9307
2a86a00c
RS
9308 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9309 special file names `.' and `..' (Bug#8259).
9310
d9c54a06
CY
93112011-05-08 Chong Yidong <cyd@stupidchicken.com>
9312
488086f4
SM
9313 * progmodes/grep.el (grep-mode-font-lock-keywords):
9314 Remove buffer-changing entries.
d9c54a06
CY
9315 (grep-filter): New function.
9316 (grep-mode): Add it to compilation-filter-hook.
9317
9318 * progmodes/compile.el (compilation-filter-hook)
9319 (compilation-filter-start): New defvars.
9320 (compilation-filter): Call compilation-filter-hook prior to
9321 updating the process mark.
9322
c4662635
SM
93232011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9326
b0512a1d
EZ
93272011-05-07 Eli Zaretskii <eliz@gnu.org>
9328
605c9376
EZ
9329 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9330 mailclient-send-it even if window-system is nil. (Bug#8595)
9331
c4662635
SM
9332 * term/w32console.el (terminal-init-w32console):
9333 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9334 background-mode. (Bug#8597)
9335
d1dc2cc2
SM
93362011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9339 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9340 New functions.
9341 (defgeneric, eieio--defmethod): Use them.
9342 (eieio-defgeneric): Remove.
9343 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9344
915d1300
GM
93452011-05-07 Glenn Morris <rgm@gnu.org>
9346
a3961c3e
GM
9347 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9348 Use let rather than let*.
9349 (timeclock-find-discrep): Remove unused local.
9350
314347b9
GM
9351 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9352
915d1300
GM
9353 * calendar/appt.el (appt-time-msg-list): Doc fix.
9354
275b59b0
NF
93552011-05-06 Noah Friedman <friedman@splode.com>
9356
9357 * apropos.el (apropos-print-doc): Only use
9358 emacs-lisp-docstring-fill-column when it is bound to an integer,
9359 per that variable's documentation.
9360
6c19f744
SM
93612011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9364 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9365
60f884b2
GM
93662011-05-06 Glenn Morris <rgm@gnu.org>
9367
5006e634
GM
9368 * calendar/appt.el (appt-message-warning-time): Doc fix.
9369 (appt-warning-time-regexp): New option.
9370 (appt-make-list): Respect appt-message-warning-time.
9371
548d0a63
GM
9372 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9373 New options.
9374 (diary-add-to-list): Strip comments from the displayed string.
9375 (diary-mode): Set comment-start and comment-end.
9376
60f884b2
GM
9377 * vc/diff-mode.el (smerge-refine-subst): Declare.
9378 (diff-refine-hunk): Don't require smerge-mode when compiling.
9379
989681bb
JB
93802011-05-06 Juanma Barranquero <lekktu@gmail.com>
9381
9382 * simple.el (list-processes): Return nil as the docstring says.
9383
a6bc05e1
MA
93842011-05-05 Michael Albinus <michael.albinus@gmx.de>
9385
9386 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9387 to "".
9388 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9389 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9390 determining of binary transfer. (Bug#7383)
9391
23c22e9a
MA
93922011-05-05 Michael Albinus <michael.albinus@gmx.de>
9393
c4662635
SM
9394 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9395 Fix port computation bug. (Bug#8618)
23c22e9a 9396
0bff894f
GM
93972011-05-05 Glenn Morris <rgm@gnu.org>
9398
b8296902
GM
9399 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9400
1f522ce8
GM
9401 * simple.el (shell-dynamic-complete-functions)
9402 (comint-dynamic-complete-functions): Declare.
9403
cf5bee67
GM
9404 * net/network-stream.el (gnutls-negotiate):
9405 * simple.el (tabulated-list-print): Fix declarations.
9406
9407 * progmodes/gud.el (syntax-symbol, syntax-point):
9408 Remove unnecessary and incorrect declarations.
9409
0bff894f
GM
9410 * emacs-lisp/check-declare.el (check-declare-scan):
9411 Handle byte-compile-initial-macro-environment in bytecomp.el
9412
9869b3ae
SM
94132011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 Fix earlier half-done eieio-defmethod change (bug#8338).
9416 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9417 Streamline and change calling convention.
9418 (defmethod): Adjust accordingly and simplify.
9419 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9420 new eieio--defmethod.
9421 (slot-boundp): Minor CSE simplification.
9422
9c1d5ac5
MZ
94232011-05-05 Milan Zamazal <pdm@zamazal.org>
9424
9425 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9426 (glasses-make-readable): Use glasses-separate-capital-groups.
9427
455c834e
JB
94282011-05-05 Juanma Barranquero <lekktu@gmail.com>
9429
9430 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9431 (warning-series): Doc fix.
9432 (display-warning): Don't try to create the buffer if we just found it.
9433
9ed7c8cb
CY
94342011-05-04 Chong Yidong <cyd@stupidchicken.com>
9435
9436 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9437 (autoload-find-generated-file): New function.
9438 (generate-file-autoloads): Bind generated-autoload-file to
9439 buffer-file-name.
9869b3ae
SM
9440 (update-file-autoloads, update-directory-autoloads):
9441 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9442 output file (Bug#7989).
9443 (batch-update-autoloads): Doc fix.
9444
0898ca10
JB
94452011-05-04 Juanma Barranquero <lekktu@gmail.com>
9446
9447 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9448
31dfb76c
GM
94492011-05-04 Glenn Morris <rgm@gnu.org>
9450
f330b642
GM
9451 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9452 function, so it follows changes in calendar-date-style.
9453 (diary-fancy-date-matcher): New function.
9454 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9455 (diary-fancy-font-lock-fontify-region-function):
9456 Use diary-fancy-date-pattern as a function.
9457
31dfb76c
GM
9458 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9459 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9460
48e79d6a
TZ
94612011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9462
9463 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9464 instead of positional arguments. Allow :keylist and :crlfiles
9465 arguments.
9466 (open-gnutls-stream): Call it.
9467
9468 * net/network-stream.el (network-stream-open-starttls): Adjust to
9469 call `gnutls-negotiate' with :process and :hostname arguments.
9470
dd5a5ee0
SM
94712011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9472
ef80fc09
SM
9473 * minibuffer.el (completion--message): New function.
9474 (completion--do-completion, minibuffer-complete)
9475 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9476 (completion--do-completion): Don't ignore completion-auto-help when in
9477 icomplete-mode.
9478
dd5a5ee0
SM
9479 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9480 internal encoding (e.g. tibetan zero is not whitespace).
9481 (global-whitespace-mode): Prefer save-current-buffer.
9482 (whitespace-trailing-regexp): Remove useless save-match-data.
9483 (whitespace-empty-at-bob-regexp): Minor simplification.
9484
b7d22a83
CY
94852011-05-03 Chong Yidong <cyd@stupidchicken.com>
9486
9487 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9488
5192af46
AM
94892011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9490
9491 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9492 Use `concat' to create string for insertion.
5192af46 9493
5767d190
SM
94942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9497 Avoid open-line which runs post-self-insert-hook.
9498 (bibtex-fill-entry): Remove unused `end' var.
9499
bf242939
AM
95002011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9501
5767d190
SM
9502 * textmodes/ispell.el (ispell-add-per-file-word-list):
9503 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9504
25666126
LL
95052011-05-03 Leo Liu <sdl.web@gmail.com>
9506
9507 * isearch.el (isearch-yank-pop): New command.
5767d190 9508 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9509 (isearch-forward): Mention it.
9510
52d3c2d0
SM
95112011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9512
1bcace58
SM
9513 * simple.el (minibuffer-complete-shell-command): Remove.
9514 (minibuffer-local-shell-command-map): Use completion-at-point.
9515 (read-shell-command): Setup completion vars here instead.
9516 (read-expression-map): Bind TAB to symbol completion.
9517
52d3c2d0
SM
9518 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9519 error directly rather via storing it into `results'.
9520
35813471
LL
95212011-05-02 Leo Liu <sdl.web@gmail.com>
9522
9523 * vc/diff.el: Fix description.
9524
e793a940
LMI
95252011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9526
9527 * server.el (server-eval-at): New function.
9528
8de66e05
LMI
95292011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9530
9531 * net/network-stream.el (open-network-stream): Take a :nowait
9532 parameter and pass it on to `make-network-process'.
9533 (network-stream-open-plain): Ditto.
9534
dcb79f20
AS
95352011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9536
9537 * faces.el (face-spec-set-match-display): Don't match toolkit
9538 options on terminal frames.
9539
14a7fbd8
SM
95402011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9541
7eabc1be
SM
9542 * progmodes/pascal.el: Use lexical binding.
9543 (pascal-mode-map): Remove author preferences.
9544
14a7fbd8
SM
9545 * pcomplete.el (pcomplete-std-complete): Don't abuse
9546 completion-at-point.
9547
50f84510
JB
95482011-04-28 Juanma Barranquero <lekktu@gmail.com>
9549
6e087a44
JB
9550 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9551 removing code that has been dead since 1991 or so.
9552
50f84510
JB
9553 * startup.el (command-line): When warning about "_emacs", use a
9554 delayed warning to allow the user to filter it out.
9555
0ba690bd
DD
95562011-04-28 Deniz Dogan <deniz@dogan.se>
9557
9558 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9559 user has not joined.
9560
08abfaad
SM
95612011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9564 aren't any completions at point.
9565
638f053a
JB
95662011-04-28 Juanma Barranquero <lekktu@gmail.com>
9567
9568 * subr.el (display-delayed-warnings): New function.
9569 (delayed-warnings-hook): New variable.
9570
8fff8daa
SM
95712011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9572
08abfaad
SM
9573 * minibuffer.el (completion-at-point, completion-help-at-point):
9574 Don't presume that a given completion-at-point-function will always
9575 use the same calling convention.
9576
8fff8daa
SM
9577 * pcomplete.el (pcomplete-completions-at-point):
9578 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9579 pcomplete-seen is non-nil.
9580 (pcomplete-comint-setup): Also recognize the new comint/shell
9581 completion functions.
9582 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9583 pcomplete-seen is non-nil.
9584
841a1577 95852011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9586
841a1577 9587 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9588 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9589 the first character in the entry. This allows for code to add its
211ec907
UJ
9590 own uid to the entry.
9591 (icalendar--convert-float-to-ical): Add export of
9592 `diary-float'-entries save for those with the optional DAY
9593 argument.
9594
2a782793
DC
95952011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9596
9597 * subr.el (shell-quote-argument): Use alternate escaping strategy
9598 when we spot a variable reference in a string.
9599
0438ce91
DC
96002011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9601
9602 * cus-start.el (all): Define customization for debug-on-event.
9603
841a1577 96042011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9605
9606 * subr.el (shell-quote-argument): Escape correctly under Windows.
9607
d090ed6c
SM
96082011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9611
bfd31217
MA
96122011-04-25 Michael Albinus <michael.albinus@gmx.de>
9613
d090ed6c
SM
9614 * net/tramp.el (tramp-process-actions): Add POS argument.
9615 Delete region between POS and (pos).
bfd31217 9616
d090ed6c
SM
9617 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9618 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9619 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9620
9621 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9622 position in `tramp-process-actions' call.
9623
9624 * net/trampver.el: Update release number.
9625
e92f3bd3
SM
96262011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9627
850256b5
SM
9628 * custom.el (defcustom): Obey lexical-binding.
9629
e92f3bd3
SM
9630 Fix octave-inf completion problems reported by Alexander Klimov.
9631 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9632 Inherit from octave-mode-syntax-table.
9633 (inferior-octave-mode): Set info-lookup-mode.
9634 (inferior-octave-completion-at-point): New function.
9635 (inferior-octave-complete): Use it and completion-in-region.
9636 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9637 comint-filename-completion.
9638 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9639 symbol elements which shouldn't be word elements.
9640 (octave-font-lock-keywords, octave-beginning-of-defun)
9641 (octave-function-header-regexp): Adjust regexps accordingly.
9642 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9643
cd22b309
JB
96442011-04-25 Juanma Barranquero <lekktu@gmail.com>
9645
9646 * net/gnutls.el (gnutls-errorp): Declare before first use.
9647
8b492194
TZ
96482011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9649
9650 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9651 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9652 default trustfile exists before going to use it. Add missing
5a5fa834 9653 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9654 Reported by Claudio Bley <claudio.bley@gmail.com>.
9655 (open-gnutls-stream): Add usage example.
9656
9657 * net/network-stream.el (network-stream-open-starttls): Give host
9658 parameter to `gnutls-negotiate'.
9659 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9660 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9661
841a1577 96622011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9663
cd22b309
JB
9664 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9665 Use correct match group (bug#8438).
05842630 9666
3ba7869c
CY
96672011-04-24 Chong Yidong <cyd@stupidchicken.com>
9668
512e3ae1
CY
9669 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9670 (package-menu--generate): New arg specifying packages to show.
9671 (package-menu-refresh, package-menu-execute, list-packages):
9672 Callers changed.
9673 (package-show-package-list): New function, replacing deleted
9674 package--list-packages (renamed because it is non-internal).
9675
9676 * finder.el (finder-list-matches): Use package-show-package-list
9677 instead of deleted package--list-packages.
9678
e92f3bd3
SM
9679 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9680 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9681 (vc-annotate-mode-map): Bind it to RET.
9682
7031be6d
UR
96832011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9684
9685 * progmodes/etags.el (next-file): Don't use set-buffer to change
9686 buffers (Bug#8478).
9687
4ef177aa
CY
96882011-04-24 Chong Yidong <cyd@stupidchicken.com>
9689
c8d173eb
CY
9690 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9691
4ef177aa
CY
9692 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9693 (apropos-accumulator): Doc fix.
9694 (apropos-function, apropos-macro, apropos-command)
9695 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9696 (apropos-plist): Add face property.
9697 (apropos-symbols-internal): Fix indentation.
9698 (apropos-print): Simplify help, and recognize apropos-multi-type.
9699 (apropos-print-doc): Use button-type-get to extract the button's
9700 face property. Fill docstring (Bug#8352).
9701
4ffd0d6b 97022011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9703
9704 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9705
c6c32125 9706 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9707 (mpuz-mode-map): Use mapc.
c6c32125
JB
9708 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9709 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9710 Fix typos in docstrings.
9711
58d468b4
JB
9712 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9713 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9714
6470c3c6
JB
9715 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9716
4ffd0d6b 97172011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9718
9719 * minibuffer.el (completion--do-completion): Avoid the "Next char
9720 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9721
3ad8bad0
CY
9722 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9723 mouse-2 into unread-command-events, it is interpreted correctly.
9724
71d73c9c 9725 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9726 (image-toggle-display): Doc fix.
71d73c9c 9727
841a1577 97282011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9729
4ffd0d6b
GM
9730 * textmodes/page.el (what-page): Use line-number-at-pos to
9731 calculate line number (Bug#6825).
6e1dbaa9 9732
c2fb1b60
JB
97332011-04-22 Juanma Barranquero <lekktu@gmail.com>
9734
9735 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9736 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9737 Pass argument NO-DEFAULT to `find-tag-interactive'.
9738
e02f48d7
JB
97392011-04-22 Juanma Barranquero <lekktu@gmail.com>
9740
9741 Lexical-binding cleanup.
9742
9743 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9744 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9745 * progmodes/ada-prj.el (ada-prj-initialize-values)
9746 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9747 (ada-prj-show-value):
9748 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9749 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9750 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9751 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9752 * progmodes/bug-reference.el (bug-reference-push-button):
9753 * progmodes/fortran.el (fortran-line-length):
9754 * progmodes/glasses.el (glasses-change):
9755 * progmodes/octave-mod.el (octave-fill-paragraph):
9756 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9757 (python-pdbtrack-grub-for-buffer, python-sentinel):
9758 * progmodes/sql.el (sql-save-connection):
9759 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9760 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9761 Mark unused parameters.
9762
9763 * progmodes/compile.el (compilation--flush-directory-cache)
9764 (compilation--flush-parse, compile-internal): Mark unused parameters.
9765 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9766 (compilation-next-error-function): Remove unused variable `timestamp'.
9767
9768 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9769 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9770
9771 * progmodes/dcl-mode.el (dcl-end-of-command):
9772 Remove unused variable `start'.
9773 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9774 (dcl-option-value-basic, dcl-option-value-offset)
9775 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9776 Mark unused parameters.
9777 (dcl-save-local-variable): Remove unused variable `val'.
9778 (mode): Declare.
9779
9780 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9781 Mark unused parameters.
9782 (delphi-ignore-changes): Move before first use.
9783 (delphi-charset-token-at): Remove unused variable `start'.
9784 (delphi-else-start): Remove unused variable `if-count'.
9785 (delphi-comment-block-start, delphi-comment-block-end):
9786 Remove unused variable `kind'.
9787 (delphi-indent-line): Remove unused variable `new-point'.
9788
9789 * progmodes/ebrowse.el (ebrowse-files-list)
9790 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9791 Mark unused parameters. Don't quote `lambda'.
9792 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9793 Don't quote `lambda'.
9794 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9795 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9796 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9797 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9798 Use `ignore-errors'.
9799 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9800 (ebrowse-view/find-file-and-search-pattern)
9801 (ebrowse-view/find-member-declaration/definition):
9802 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9803 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9804 Rename parameter PREFIX-ARG to PREFIX.
9805 (ebrowse-tags-read-name): Remove unused variables `start' and
9806 `member-info'.
9807 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9808 to `tags-file'.
9809
9810 * progmodes/etags.el (local-find-tag-hook): Declare.
9811 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9812 Mark unused parameters.
9813
9814 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9815 (executable-interpret): Mark unused parameter.
9816
9817 * progmodes/flymake.el (flymake-process-sentinel)
9818 (flymake-after-change-function)
9819 (flymake-create-temp-with-folder-structure)
9820 (flymake-get-include-dirs-dot): Mark unused parameters.
9821 (flymake-safe-delete-directory): Remove unused variable `err'.
9822
9823 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9824 (speedbar-timer-fn, speedbar-line-text)
9825 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9826 (speedbar-center-buffer-smartly): Declare functions.
9827 (gdb-find-watch-expression): Remove unused variable `array'.
9828 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9829 (gdb-starting): Mark unused parameters.
9830 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9831 (gdb-table-string): Remove unused variable `res'.
9832 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9833 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9834 (gdb-display-buffer): Remove unused variable `cur-size'.
9835
9836 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9837 allow lexical-binding compilation.
9838 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9839 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9840 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9841 Mark unused parameters.
9842 (gud-gdb-marker-filter): Remove unused variable `match'.
9843 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9844 lambda expressions and funcall them, instead of using `fset'.
9845
9846 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9847 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9848
9849 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9850 variable `header-beg'; use `let'.
9851
9852 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9853 `restart', `last-sexp' and `at-do'.
9854
9855 * progmodes/js.el (js--debug): Mark unused parameter.
9856 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9857 (js--splice-into-items): Remove unused variable `item'.
9858 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9859
9860 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9861 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9862 (makefile-complete): Remove unused variable `try'.
9863 (makefile-fill-paragraph, makefile-match-function-end):
9864 Mark unused parameters.
9865
9866 * progmodes/octave-inf.el (inferior-octave-complete):
9867 Remove unused variable `proc'.
9868 (inferior-octave-output-digest): Mark unused parameter.
9869
9870 * progmodes/perl-mode.el (perl-calculate-indent):
9871 Remove unused variable `err'.
9872
9873 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9874 (prolog-indent-line): Mark unused parameters.
9875 (prolog-indent-line): Remove unused variable `beg'.
9876
9877 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9878 (reporter-dont-compact-list): Declare.
9879
9880 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9881 Remove unused variable `char'.
9882 (sh-debug): Mark unused parameter.
9883 (sh-get-indent-info): Remove unused variable `start'.
9884 (sh-calculate-indent): Remove unused variable `var'.
9885
9886 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9887 (simula-electric-keyword): Remove unused variable `null'.
9888 (simula-search-backward, simula-search-forward): Remove unused
9889 variables `begin' and `end'.
9890
9891 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9892 Remove unused variable `pos'.
9893 (vera-electric-tab, vera-comment-uncomment-region):
9894 Mark unused parameters.
9895 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9896
7ede3b65
CY
98972011-04-22 Chong Yidong <cyd@stupidchicken.com>
9898
9899 * emacs-lisp/package.el (package--builtins, package-alist)
9900 (package-load-descriptor, package-built-in-p, package-activate)
9901 (define-package, package-installed-p)
9902 (package-compute-transaction, package-buffer-info)
9903 (package--push): Doc fix. Distinguish more clearly between
9904 version strings and version lists.
9905
121656e9
JB
99062011-04-21 Juanma Barranquero <lekktu@gmail.com>
9907
9908 Lexical-binding cleanup.
9909
9910 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9911 (5x5-make-mutate-best):
9912 * play/fortune.el (fortune-in-buffer):
9913 * play/gomoku.el (gomoku-init-display):
9914 * play/solitaire.el (solitaire, solitaire-do-check):
9915 * play/tetris.el (tetris-default-update-speed-function):
9916 Mark unused parameters.
9917
9918 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9919 (bubbles--shift): Remove unused variable `char-org'.
9920 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9921 (bubbles--show-images): Remove unused variable `char'.
9922
9923 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9924 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9925 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9926 (decipher-analyze-buffer): Use ?\s.
9927 (decipher-make-checkpoint): Remove unused variable `mapping'.
9928
9929 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9930
9931 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9932 Remove unused variable `result'; use `let'.
9933
9934 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9935 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9936 (gametree-children-shown-p, gametree-compute-reduced-score):
9937 Use `ignore-errors'.
9938
9939 * play/handwrite.el (ps-lpr-switches): Declare.
9940 (handwrite): Remove unused variables `pmin' and `lastp'.
9941
9942 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9943
9944 * play/landmark.el (landmark-init-display)
9945 (landmark-update-naught-weights): Mark unused parameters.
9946 (landmark-y): Remove unused variable `noise'. Simplify.
9947 (landmark-human-plays): Remove unused variable `score'.
9948
9949 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9950 (mpuz-try-proposal): Remove unused variable `game'.
9951
9952 * play/zone.el (life-patterns): Declare.
9953
80f499c7
JB
99542011-04-20 Juanma Barranquero <lekktu@gmail.com>
9955
9956 * vc/vc.el (ediff-vc-internal): Declare function.
9957
024ff170
SM
99582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9959
c0a193ea
SM
9960 * shell.el: Use lexical-binding and std completion UI.
9961 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9962 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9963 comint-preoutput-filter-functions rather than on
9964 comint-output-filter-functions.
9965 (shell-command-completion, shell--command-completion-data)
9966 (shell-filename-completion, shell-environment-variable-completion)
9967 (shell-c-a-p-replace-by-expanded-directory): New functions.
9968 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9969 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9970 (shell-dynamic-complete-environment-variable): Use them.
9971 (shell-dynamic-complete-as-environment-variable)
9972 (shell-dynamic-complete-as-command): Remove.
9973 (shell-match-partial-variable): Match past point.
9974 * comint.el: Clean up use of completion-at-point-functions.
9975 (comint-completion-at-point): New function.
9976 (comint-mode): Use it completion-at-point-functions.
9977 (comint-dynamic-complete): Make it obsolete.
9978 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9979 (comint-c-a-p-replace-by-expanded-history): New function.
9980 (comint-dynamic-complete-functions)
9981 (comint-replace-by-expanded-history): Use it.
9982 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9983 termination strings. Try harder to avoid second try-completion.
9984 (completion-in-region-mode-map): Disable bindings that don't work yet.
9985
2dbaa080
SM
9986 * comint.el: Use lexical-binding. Require CL.
9987 (comint-dynamic-complete-functions): Use comint-filename-completion.
9988 (comint-completion-addsuffix): Tweak custom type.
9989 (comint-filename-completion, comint--common-suffix)
9990 (comint--common-quoted-suffix, comint--table-subvert)
9991 (comint--complete-file-name-data): New functions.
9992 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9993 (comint-dynamic-list-filename-completions): Use them.
9994 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9995
2dbaa080
SM
9996 * minibuffer.el (completion-in-region-mode):
9997 Keep completion-in-region-mode--predicate global.
9998 (completion-in-region--postch):
9999 Assume completion-in-region-mode--predicate is not null.
10000
c79a6f38
SM
10001 * progmodes/flymake.el (flymake-start-syntax-check-process):
10002 Obey `dir'. Simplify.
10003
024ff170
SM
10004 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10005 we're in VC after all.
10006
1c6c854e
CS
100072011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10008
10009 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10010 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10011 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10012
bed7f140
SM
100132011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10014
332e62ab
SM
10015 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10016 add sanity check.
10017
bed7f140
SM
10018 * obsolete/erc-hecomplete.el: Make obsolete.
10019 * obsolete/: Standardize obsolescence info in the header.
10020
f195c582
GM
100212011-04-20 Glenn Morris <rgm@gnu.org>
10022
10023 * calendar/solar.el (solar-horizontal-coordinates):
10024 Use the longitude argument rather than `calendar-longitude'.
10025 (solar-date-next-longitude): Remove unused locals.
10026
cb79b8c0
VJL
100272011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10028
10029 * whitespace.el: New version 13.2.1.
10030
100312011-04-20 felix <EmacsWiki> (tiny change)
10032
d8e4b68b 10033 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10034 switching between major modes on a file.
10035
602ea69d
SM
100362011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10037
10038 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10039 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10040 multi-line comments as well.
10041
06b60517
JB
100422011-04-19 Juanma Barranquero <lekktu@gmail.com>
10043
10044 Lexical-binding cleanup.
10045
10046 * arc-mode.el (archive-mode-revert):
10047 * cmuscheme.el (scheme-interactively-start-process):
10048 * custom.el (custom-initialize-delay):
10049 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10050 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10051 * emacs-lock.el (emacs-lock-clear-sentinel):
10052 * ezimage.el (defezimage):
10053 * follow.el (follow-avoid-tail-recenter):
10054 * fringe.el (set-fringe-mode-1):
10055 * generic-x.el (bat-generic-mode-compile):
10056 * help-mode.el (help-info-variable, help-do-xref)
10057 (help-mode-revert-buffer):
10058 * help.el (view-emacs-todo):
10059 * iswitchb.el (iswitchb-completion-help):
10060 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10061 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10062 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10063 * locate.el (locate-update):
10064 * longlines.el (longlines-encode-region)
10065 (longlines-after-change-function):
10066 * outline.el (outline-isearch-open-invisible):
10067 * ps-def.el (declare-function, charset-dimension, char-width)
10068 (encode-char):
10069 * ps-mule.el (ps-mule-plot-string):
10070 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10071 (recentf-edit-list-select, recentf-edit-list-validate)
10072 (recentf-open-files-action):
10073 * rect.el (delete-whitespace-rectangle-line)
10074 (rectangle-number-line-callback):
10075 * register.el (window-configuration-to-register)
10076 (frame-configuration-to-register):
10077 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10078 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10079 (xselect-convert-to-targets, xselect-convert-to-delete)
10080 (xselect-convert-to-filename, xselect-convert-to-charpos)
10081 (xselect-convert-to-lineno, xselect-convert-to-colno)
10082 (xselect-convert-to-os, xselect-convert-to-host)
10083 (xselect-convert-to-user, xselect-convert-to-class)
10084 (xselect-convert-to-name, xselect-convert-to-integer)
10085 (xselect-convert-to-atom, xselect-convert-to-identity):
10086 * subr.el (declare, ignore, process-kill-without-query)
10087 (text-clone-maintain):
10088 * terminal.el (te-get-char, te-tic-sentinel):
10089 * tool-bar.el (tool-bar-make-keymap):
10090 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10091 * type-break.el (type-break-mode, type-break-noninteractive-query):
10092 * view.el (View-back-to-mark):
10093 * wid-browse.el (widget-browse-action, widget-browse-widget)
10094 (widget-browse-widgets, widget-browse-sexp):
10095 * widget.el (define-widget-keywords):
10096 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10097 Mark unused parameters.
10098
10099 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10100 (align-areas): Remove unused variable `look'.
10101 (align-region): Remove unused variables `real-end' and `pos-list'.
10102
10103 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10104
10105 * bindings.el (mode-line-modified, mode-line-remote):
10106 Mark unused parameters.
10107 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10108
10109 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10110 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10111
10112 * comint.el (comint-history-isearch-pop-state)
10113 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10114 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10115 (comint-substitute-in-file-name): Doc fix.
10116
10117 * completion.el (cmpl-statistics-block): Mark unused parameter.
10118 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10119 (save-completions-to-file, load-completions-from-file):
10120 Remove unused local variable `e'.
10121
10122 * composite.el (compose-chars): Remove unused variable `len'.
10123 (lgstring-insert-glyph): Remove unused variable `g'.
10124 (compose-glyph-string): Remove unused variables `ascent',
10125 `descent', `lbearing' and `rbearing'.
10126 (compose-glyph-string-relative): Remove unused variables
10127 `lbearing', `rbearing' and `wadjust'.
10128 (compose-gstring-for-graphic): Remove unused variables `header',
10129 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10130 (compose-gstring-for-terminal): Remove unused variables `header'
10131 and `nchars'. Use `let', not `let*'.
10132
10133 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10134 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10135 (Custom-buffer-done, custom-buffer-create-internal)
10136 (custom-browse-visibility-action, custom-browse-group-tag-action)
10137 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10138 (widget-magic-mouse-down-action, custom-toggle-parent)
10139 (custom-add-parent-links, custom-toggle-hide-variable)
10140 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10141 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10142 (custom-face-menu-create, custom-variable-menu-create, get)
10143 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10144 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10145 (customize-apropos): Remove unused variable `tests'.
10146 (custom-group-value-create): Remove unused variable `hidden-p'.
10147 (sort-fold-case): Declare.
10148
10149 * cus-theme.el (custom-reset-standard-faces-list)
10150 (custom-reset-standard-variables-list): Declare.
10151 (customize-create-theme, custom-theme-revert, custom-theme-write)
10152 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10153 Mark unused parameters.
10154
10155 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10156
10157 * delim-col.el (delimit-columns-max): Move defvar before first use.
10158
10159 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10160 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10161
10162 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10163 (auto-insert): Declare.
10164 (desktop-restore-file-buffer): Rename desktop-* parameters;
10165 mark unused ones.
10166 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10167 (desktop-buffer): Rename desktop-* parameters.
10168
10169 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10170 (dframe-reposition-frame-xemacs, dframe-help-echo)
10171 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10172 Mark unused parameters.
10173
10174 * dired-aux.el (backup-extract-version-start, overwrite-query)
10175 (overwrite-backup-query, rename-regexp-query)
10176 (rename-non-directory-query): Declare.
10177 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10178 (dired-add-entry): Remove unused variable `orig-file-name'.
10179 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10180 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10181 `dired-copy-preserve-time' directly.
10182 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10183 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10184
10185 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10186 (dired-virtual-revert, dired-make-relative-symlink):
10187 Mark unused parameters.
10188 (manual-program): Declare.
10189 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10190 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10191 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10192
10193 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10194
10195 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10196
10197 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10198 Declare.
10199
10200 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10201
10202 * electric.el (Electric-command-loop): Rename parameter
10203 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10204
10205 * expand.el (expand-in-literal): Remove unused variable `here'.
10206
10207 * facemenu.el (facemenu-add-new-color):
10208 Remove unused variable `docstring'.
10209
10210 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10211 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10212 (face-attr-construct): Mark unused parameter. Doc fix.
10213 (read-color): Remove unused variable `hex-string'.
10214
10215 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10216 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10217 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10218 (display-buffer-other-frame): Remove unused variable `old-window'.
10219 (kill-buffer-hook): Declare.
10220 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10221 Mark unused parameters.
10222 (after-find-file): Pass 1 to `auto-save-mode', not t.
10223
10224 * files-x.el (auto-insert): Declare.
10225 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10226
10227 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10228 variable `buf'. Mark unused parameter.
06b60517
JB
10229 (find-lisp-insert-directory): Mark unused parameter.
10230
10231 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10232 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10233 (format-common-tail): Remove, unused.
10234 (format-deannotate-region): Remove unused variable `loc'.
10235 (format-annotate-region): Remove unused variable `p'.
10236 (format-annotate-single-property-change): Remove unused variables
10237 `default' and `tail'.
10238
10239 * forms.el (read-file-filter): Declare.
10240 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10241
10242 * frame.el (frame-creation-function-alist): Mark unused parameter.
10243 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10244
10245 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10246 Remove unused parameters.
10247 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10248 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10249
10250 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10251 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10252 (hfy-prepare-tag-map): Mark unused parameters.
10253 (htmlfontify-buffer): Use `called-interactively-p'.
10254
10255 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10256 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10257 (ibuffer-do-occur): Mark unused parameters.
10258 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10259 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10260
10261 * ibuffer.el: Don't quote `lambda'.
10262 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10263 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10264 Mark unused parameters.
10265
10266 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10267 (ido-completing-read): Mark unused parameters.
10268 (ido-copy-current-word): Mark unused parameters;
10269 remove unused variable `name'.
10270 (ido-sort-merged-list): Remove unused parameter `dirs'.
10271
10272 * ielm.el (ielm-input-sender): Mark unused parameter.
10273 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10274 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10275 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10276 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10277 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10278
10279 * image-dired.el (image-dired-display-thumbs): Remove unused
10280 variables `curr-file' and `count'.
10281 (image-dired-remove-tag): Remove unused variable `start'.
10282 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10283 variable `curr-file'
10284 (image-dired-rotate-original): Remove unused variable `temp-file'.
10285 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10286 Remove unused variable `file'.
10287 (image-dired-gallery-generate): Remove unused variable `curr'.
10288 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10289
10290 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10291
10292 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10293
10294 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10295
10296 * isearch.el (minibuffer-history-symbol): Declare.
10297 (isearch-edit-string): Remove unused variable `err'.
10298 (isearch-message-prefix, isearch-message-suffix):
10299 Mark unused parameters.
10300
10301 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10302
10303 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10304
10305 * makesum.el (double-column): Remove unused variable `cnt'.
10306
10307 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10308 (ido-ignore-item-temp-list): Declare.
10309
10310 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10311 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10312 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10313 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10314 `mouse-col-delta'.
10315
10316 * mouse-sel.el (mouse-extend-internal):
10317 Remove unused variable `orig-window-frame'.
10318
10319 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10320 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10321 Move declarations before first use.
10322 (pcomplete-opt): Mark unused parameters; doc fix.
10323
10324 * proced.el (proced-revert): Mark unused parameter.
10325 (proced-send-signal): Remove unused variable `err'.
10326
10327 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10328 Rename parameter PREFIX-ARG to ARG.
10329 (ps-basic-plot-string, ps-basic-plot-whitespace):
10330 Mark unused parameters.
10331
10332 * replace.el (replace-count): Define.
10333 (occur-revert-function): Mark unused parameters.
10334 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10335 (isearch-case-fold-search, isearch-string): Declare.
10336 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10337 bind `case-fold-search'. Remove unused variables `beg' and `end',
10338 and simplify.
10339 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10340 COUNT and bind `replace-count'.
10341 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10342 to COUNT.
10343
10344 * savehist.el (print-readably, print-string-length): Declare.
10345
10346 * shadowfile.el (shadow-expand-cluster-in-file-name):
10347 Remove unused variable `cluster'.
10348 (shadow-copy-file): Remove unused variable `i'.
10349 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10350 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10351 (shadow-define-literal-group, shadow-define-regexp-group)
10352 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10353
10354 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10355 (shell): Use `called-interactively-p'.
10356 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10357
10358 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10359 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10360 (delete-backward-char): Remove unused variable `ocol'.
10361 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10362 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10363 (event-apply-hyper-modifier, event-apply-shift-modifier)
10364 (event-apply-control-modifier, event-apply-meta-modifier):
10365 Mark unused parameters.
10366 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10367 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10368
10369 * speedbar.el (speedbar-ignored-directory-expressions)
10370 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10371 (speedbar-find-file, speedbar-dir-follow)
10372 (speedbar-directory-buttons-follow, speedbar-tag-find)
10373 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10374 (speedbar-buffers-line-directory, speedbar-buffer-click):
10375 Mark unused parameters.
10376 (speedbar-tag-file): Remove unused variable `mode'.
10377 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10378
10379 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10380
10381 * talk.el (talk): Remove unused variable `display'.
10382
10383 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10384 (tar-write-region-annotate): Mark unused parameter.
10385
10386 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10387 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10388 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10389 warning by another.
10390
10391 * time-stamp.el (time-stamp-string-preprocess):
10392 Remove unused variable `require-padding'.
10393
10394 * tree-widget.el (widget-glyph-enable): Declare.
10395 (tree-widget-action): Mark unused parameter.
10396
10397 * w32-fns.el (x-get-selection): Mark unused parameter.
10398 (autoload-make-program, generated-autoload-file): Declare.
10399
10400 * wdired.el (wdired-revert): Mark unused parameters.
10401 (wdired-xcase-word): Remove unused variable `err'.
10402
10403 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10404 (whitespace-help-scroll): Remove unused variable `data-help'.
10405
10406 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10407 (widget-image-insert, widget-after-change, default)
10408 (widget-default-format-handler, widget-default-notify)
10409 (widget-default-prompt-value, widget-info-link-action)
10410 (widget-url-link-action, widget-function-link-action)
10411 (widget-variable-link-action, widget-file-link-action)
10412 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10413 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10414 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10415 (widget-insert-button-action, widget-delete-button-action, visibility)
10416 (widget-documentation-link-action, widget-documentation-string-action)
10417 (widget-const-prompt-value, widget-regexp-match, symbol)
10418 (widget-coding-system-prompt-value)
10419 (widget-key-sequence-value-to-external, sexp)
10420 (widget-sexp-value-to-internal, character, vector, cons)
10421 (widget-choice-prompt-value, widget-boolean-prompt-value)
10422 (widget-color--choose-action): Mark unused parameters.
10423 (widget-item-match-inline, widget-choice-match-inline)
10424 (widget-checklist-match, widget-checklist-match-inline)
10425 (widget-group-match): Rename parameter VALUES to VALS.
10426 (widget-field-value-set): Remove unused variable `size'.
10427 (widget-color-action): Remove unused variables `value' and `start'.
10428
10429 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10430 variable `dir'. Doc fix.
06b60517
JB
10431 (windmove-find-other-window): Don't pass it.
10432
10433 * window.el (count-windows): Mark unused parameter.
10434 (bw-adjust-window): Remove unused variable `err'.
10435
10436 * woman.el (woman-file-name): Remove unused variable `default'.
10437 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10438 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10439 (global-font-lock-mode): Declare.
10440 (woman-decode-region): Mark unused parameter.
10441 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10442
10443 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10444 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10445 (x-dnd-handle-moz-url): Remove unused variable `title'.
10446 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10447
10448 * xml.el (xml-parse-tag, xml-parse-attlist):
10449 Remove unused variable `pos'.
10450
bc4f7f3d
GM
104512011-04-19 Glenn Morris <rgm@gnu.org>
10452
10453 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10454 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10455 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10456 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10457 * calendar/cal-html.el (cal-html-insert-minical):
10458 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10459 (calendar-mark-date-pattern):
10460 Prefix "unused" locals.
10461
10462 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10463 optional argument `style'.
10464
10465 * calendar/appt.el (appt-make-list):
10466 * calendar/cal-china.el (calendar-chinese-date-string):
10467 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10468 (diary-hebrew-yahrzeit):
10469 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10470 * calendar/calendar.el (calendar-generate-window):
10471 * calendar/time-date.el (time-to-days):
10472 Remove unused local variables.
10473
16a43933
CY
104742011-04-18 Chong Yidong <cyd@stupidchicken.com>
10475
10476 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10477 glyphless-char-display table.
10478 (tabulated-list-glyphless-char-display): New var.
10479
7eed1860
SS
104802011-04-18 Sam Steingold <sds@gnu.org>
10481
10482 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10483 to acknowledgments.
10484
4d2d1ccd
GM
104852011-04-17 Glenn Morris <rgm@gnu.org>
10486
10487 * calendar/diary-lib.el (diary-sexp-entry):
10488 * calendar/holidays.el (holiday-sexp):
10489 Set debug-on-error rather than the removed stack-trace-on-error.
10490
239da61d
GM
104912011-04-16 Glenn Morris <rgm@gnu.org>
10492
10493 * progmodes/f90.el: Use lexical-binding.
10494 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10495
8b05752a
SM
104962011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10497
daca8ba5
SM
10498 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10499 (mail-mode): Setup mailalias completion here instead.
10500 * mail/mailalias.el: Use lexical-binding.
10501 (pattern, mailalias-done): Declare dynamic.
10502 (mail-completion-at-point-function): New function, from mail-complete.
10503 (mail-complete): Use it.
10504 (mail-completion-expand): New function.
10505 (mail-get-names): Use it.
10506 (mail-directory, mail-directory-process, mail-directory-stream):
10507 Don't use `pattern' for lexically bound arg.
10508
6f542485
SM
10509 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10510
037e7c3f
SM
10511 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10512 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10513 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10514
8b05752a
SM
10515 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10516 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10517 (byte-interactive-p): Define them again, for use when inlining
10518 old code.
10519
49093f60
JB
105202011-04-15 Juanma Barranquero <lekktu@gmail.com>
10521
10522 * loadup.el: Use `string-to-number', not `string-to-int'.
10523
b5b8e7de
SM
105242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10525
10526 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10527 gud-gdb-complete-command.
10528 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10529 (gud-gdb-completion-at-point): New function.
10530 (gud-gdb-completions): Remove.
10531
f42efeb5
MA
105322011-04-14 Michael Albinus <michael.albinus@gmx.de>
10533
49093f60
JB
10534 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10535 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10536 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10537 whether `executable-find' is bound.
f42efeb5
MA
10538
10539 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10540
e240cc21
SM
105412011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10542
10543 * minibuffer.el (completion-in-region-mode-predicate)
10544 (completion-in-region-mode--predicate): New vars.
10545 (completion-in-region, completion-in-region--postch)
10546 (completion-in-region-mode): Use them.
10547 (completion--capf-wrapper): Also return the hook function.
10548 (completion-at-point, completion-help-at-point):
10549 Adjust and provide a predicate.
c2bd2ab0
SM
10550
10551 Preserve arg names for advice of subr and lexical functions (bug#8457).
10552 * help-fns.el (help-function-arglist): Consolidate the subr and
10553 new-byte-code cases. Add argument `preserve-names' to extract names
10554 from the docstring when needed.
10555 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10556 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10557 (ad-arglist): Use help-function-arglist's new arg.
10558 (ad-definition-type): Use cond.
10559
c183f693
JB
105602011-04-13 Juanma Barranquero <lekktu@gmail.com>
10561
06641a47
JB
10562 * autorevert.el (auto-revert-handler):
10563 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10564 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10565 Don't quote lambda.
10566
c183f693
JB
10567 * image-mode.el (image-transform-set-scale):
10568 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10569
1e3b6001
G
105702011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10571
10572 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10573 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10574 Upgrades via gnutls-cli are too slow to be done opportunistically.
10575
2d6af8dd
JB
105762011-04-12 Juanma Barranquero <lekktu@gmail.com>
10577
10578 * dframe.el (dframe-current-frame): Remove spurious quote.
10579
c0749a51
GM
105802011-04-12 Glenn Morris <rgm@gnu.org>
10581
088d0d61
GM
10582 * calendar/cal-tex.el (cal-tex-end-document):
10583 Try to automatically use latin1 input if needed.
10584
c0749a51
GM
10585 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10586 Don't try to cons a mark onto an empty element.
10587
5c90fde0
LL
105882011-04-11 Leo Liu <sdl.web@gmail.com>
10589
10590 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10591 buffers.
10592 (ido-kill-buffer-at-head): Support killing virtual buffers.
10593
369e974d
CY
105942011-04-10 Chong Yidong <cyd@stupidchicken.com>
10595
10596 * minibuffer.el (completion-show-inline-help): New var.
10597 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10598 (minibuffer-force-complete, minibuffer-complete-word):
10599 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10600
10601 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10602 to avoid interference from inline help (Bug#5849).
10603
37f1c930
LL
106042011-04-10 Leo Liu <sdl.web@gmail.com>
10605
099c39a4
JB
10606 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10607 Fix typo.
37f1c930 10608
a32d4040
CY
106092011-04-09 Chong Yidong <cyd@stupidchicken.com>
10610
10611 * image-mode.el (image-toggle-display-image): Signal an error if
10612 not in Image mode.
10613 (image-transform-mode, image-transform-resize)
10614 (image-transform-set-rotation): Doc fix.
daca8ba5 10615 (image-transform-set-resize): Delete.
a32d4040
CY
10616 (image-transform-set-scale, image-transform-fit-to-height)
10617 (image-transform-fit-to-width): Handle image-toggle-display-image
10618 and image-transform-resize directly.
10619
099c39a4 106202011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10621
10622 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10623 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10624 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10625 (doc-view-mode-map): Add bindings for the new functions.
10626
099c39a4 106272011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10628
4d61f28d 10629 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10630 Fix typo in docstring.
10631
3726838a
EZ
106322011-04-08 Eli Zaretskii <eliz@gnu.org>
10633
04f33f1e
EZ
10634 * files.el (file-size-human-readable): Produce one digit after
10635 decimal, like "ls -lh" does.
10636
10637 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10638 the file size representation.
10639
3726838a
EZ
10640 * simple.el (list-processes): If async subprocesses are not
10641 available, error out with a clear error message.
10642
cbb59342
CY
106432011-04-08 Chong Yidong <cyd@stupidchicken.com>
10644
10645 * help.el (help-form-show): New function, to be called from C.
10646 Put help-form output in a buffer named differently than *Help*.
10647
e3971c44
EZ
106482011-04-08 Eli Zaretskii <eliz@gnu.org>
10649
10650 * files.el (file-size-human-readable): New function.
10651
10652 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10653 computing the representation inline. Don't require `cl'.
10654
12544bbe
GM
106552011-04-08 Glenn Morris <rgm@gnu.org>
10656
a1de6c6a
GM
10657 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10658
3c4671f4
GM
10659 * net/browse-url.el (browse-url-firefox):
10660 Test system-type, not system-configuration.
10661
b605679c
GM
10662 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10663 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10664 Use log-edit-empty-buffer-p. (Bug#7598)
10665
56442f0c
GM
10666 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10667 (rlogin-mode-map): Initialize in the defvar.
10668 (rlogin): Use ignore-errors.
10669
12544bbe
GM
10670 * replace.el (occur-mode-map): Some fixes for menu items.
10671
eb237b0f
AH
106722011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10673
10674 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10675
7d668f2c
CY
106762011-04-06 Chong Yidong <cyd@stupidchicken.com>
10677
e67a13ab
CY
10678 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10679 issuing unused warnings.
10680
10681 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10682 macro directly.
10683
7d668f2c
CY
10684 * simple.el: Lisp reimplement of list-processes. Based on an
10685 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10686 (process-menu-mode): New major mode.
10687 (list-processes--refresh, list-processes):
10688 (process-menu-visit-buffer): New functions.
10689
10690 * files.el (save-buffers-kill-emacs): Don't assume any return
10691 value of list-processes, which is undocumented anyway.
10692
a83ec3c9
CY
106932011-04-06 Chong Yidong <cyd@stupidchicken.com>
10694
10695 * emacs-lisp/tabulated-list.el: New file.
10696
e91a96fe
CY
10697 * emacs-lisp/package.el: Use Tabulated List mode.
10698 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10699 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10700 table format using Tabulated List mode variables.
10701 (package--push): New macro, replacing package-list-maybe-add.
10702 (package-menu--generate): Use package--push. Renamed from
10703 package--generate-package-list.
10704 (package-menu-refresh, list-packages): Use it.
daca8ba5 10705 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10706 Return insertion data instead of inserting it directly.
099c39a4
JB
10707 (package-menu-describe-package, package-menu-execute):
10708 Use tabulated-list-get-id.
e91a96fe
CY
10709 (package-menu-mark-delete, package-menu-mark-install)
10710 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10711 (package-menu-mark-obsolete-for-deletion):
10712 Use tabulated-list-put-tag.
e91a96fe
CY
10713 (package--list-packages, package-menu-revert)
10714 (package-menu-get-package, package-menu-get-version)
10715 (package-menu-sort-by-column): Functions deleted.
10716 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10717 (package-menu--status-predicate, package-menu--version-predicate)
10718 (package-menu--name-predicate)
10719 (package-menu--description-predicate): Handle arguments in the
10720 Tabulated List format.
10721 (package-list-packages-no-fetch): Call list-packages.
10722
3e214b50
JB
107232011-04-06 Juanma Barranquero <lekktu@gmail.com>
10724
10725 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10726 (after-find-file): Don't bind it.
3e214b50
JB
10727 (revert-buffer-in-progress-p): New variable.
10728 (revert-buffer): Bind it.
10729 Pass nil for `after-find-file-from-revert-buffer'.
10730
10731 * saveplace.el (save-place-find-file-hook): Use new variable
10732 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10733
3f0f1700
GM
107342011-04-06 Glenn Morris <rgm@gnu.org>
10735
c0274801
GM
10736 * Makefile.in (AUTOGEN_VCS): New variable.
10737 (autoloads): Use $AUTOGEN_VCS.
10738
3f0f1700
GM
10739 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10740 * calendar/calendar.el (calendar-mode-map):
10741 Check for toolkit scroll bars. (Bug#8305)
10742
41ea9e48
CY
107432011-04-05 Chong Yidong <cyd@stupidchicken.com>
10744
10745 * minibuffer.el (completion-in-region--postch)
10746 (completion-in-region-mode): Remove unnecessary messages.
10747
6194c800
JB
107482011-04-05 Juanma Barranquero <lekktu@gmail.com>
10749
33256f14
JB
10750 * font-lock.el (font-lock-refresh-defaults):
10751 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10752 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10753
6194c800
JB
10754 * info.el (Info-directory-list, Info-read-node-name-2)
10755 (Info-split-parameter-string): Doc fixes.
10756 (Info-virtual-nodes): Reflow docstring.
10757 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10758 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10759 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10760 Fix typos in docstrings.
10761 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10762 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10763 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10764 (Info-restore-desktop-buffer): Mark unused parameters.
10765 (Info-directory-find-file, Info-directory-find-node)
10766 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10767 (Info-virtual-index-find-node, Info-apropos-find-file)
10768 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10769 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10770 (Info-virtual-index): Remove unused local variable `nodename'.
10771
b87a8200 107722011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10773
b87a8200
DD
10774 * net/rcirc.el: Update my e-mail address.
10775 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10776
3b2ff876
CY
107772011-04-05 Chong Yidong <cyd@stupidchicken.com>
10778
10779 * startup.el (command-line): Save the cursor's theme-face
10780 directly, instead of using face-override-spec.
10781
10782 * custom.el (load-theme): Minor optimization in assigning faces.
10783
8d17e7ca
JB
107842011-04-04 Juanma Barranquero <lekktu@gmail.com>
10785
10786 * help-fns.el (describe-variable): Complete all variables having
10787 documentation, including keywords.
10788 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10789
2fbc1934
JB
107902011-04-04 Juanma Barranquero <lekktu@gmail.com>
10791
10792 Convert to lexical-binding.
10793
10794 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10795 (bs--get-marked-string, bs--get-modified-string)
10796 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10797 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10798 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10799
10800 * ehelp.el (electric-help-execute-extended)
10801 (electric-help-ctrl-x-prefix):
10802 * hexl.el (hexl-revert-buffer-function):
10803 * linum.el (linum-after-change, linum-after-scroll):
10804 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10805
10806 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10807
74f50695
DU
108082011-04-04 Daiki Ueno <ueno@unixuser.org>
10809
10810 * epa-dired.el:
10811 * epa-mail.el:
10812 * epa-hook.el:
10813 * epa-file.el:
10814 * epa.el:
10815 * epg.el: Use lexical binding.
10816
c11325f7
CY
108172011-04-03 Chong Yidong <cyd@stupidchicken.com>
10818
0d9e9a12
CY
10819 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10820
c11325f7 10821 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10822 dictionary case for flyspell-mark-duplications-exceptions.
10823 Use regexp matching for languages.
c11325f7
CY
10824 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10825 default dictionary (Bug#7926).
10826
da91b5f2
CY
108272011-04-02 Chong Yidong <cyd@stupidchicken.com>
10828
099c39a4
JB
10829 * emacs-lisp/package.el (package--with-work-buffer):
10830 Recognize https URLs.
da91b5f2 10831
099c39a4
JB
10832 * net/network-stream.el: Move from gnus/proto-stream.el.
10833 Change prefix to network-stream throughout.
da91b5f2
CY
10834 (open-protocol-stream): Merge into open-network-stream, leaving
10835 open-protocol-stream as an alias. Handle nil BUFFER args.
10836
10837 * subr.el (open-network-stream): Move to net/network-stream.el.
10838
afa8e9f6
GM
108392011-04-02 Glenn Morris <rgm@gnu.org>
10840
1d2e369d
GM
10841 * find-dired.el (find-exec-terminator): New option.
10842 (find-ls-option): Test for -ls support.
10843 (find-ls-subdir-switches): Test for -b in find-ls-option.
10844 (find-dired, find-grep-dired): Doc fixes.
10845 (find-dired): Use find-exec-terminator.
10846
8abb7da8 10847 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10848 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10849 (find-name-arg): Remove purecopy.
8abb7da8 10850
f3ca7378
GM
10851 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10852 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10853 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10854 accordingly. Don't add the null-device if not needed.
10855
afa8e9f6
GM
10856 * files.el (save-some-buffers): Doc fix.
10857
35eae264
EZ
108582011-04-02 Eli Zaretskii <eliz@gnu.org>
10859
10860 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10861
26b51db5
JB
108622011-04-01 Juanma Barranquero <lekktu@gmail.com>
10863
10864 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10865 Use `dolist' rather than `mapcar'.
10866
7200d79c
SM
108672011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10868
03408648 10869 Add lexical binding.
7200d79c 10870
03408648
SM
10871 * subr.el (apply-partially): Use new closures rather than CL.
10872 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10873 (dolist, dotimes): Use slightly different expansion for lexical code.
10874 (functionp): Move to C.
10875 (letrec): New macro.
10876 (with-wrapper-hook): Use it and apply-partially instead of CL.
10877 (eval-after-load): Preserve lexical-binding.
10878 (save-window-excursion, with-output-to-temp-buffer): Turn them
10879 into macros.
7200d79c 10880
03408648
SM
10881 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10882
10883 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10884 than the arglist.
10885 (help-add-fundoc-usage): Don't add `Not documented'.
10886 (help-function-arglist): Handle closures, subroutines, and new
10887 byte-code-functions.
10888 (help-make-usage): Remove leading underscores.
10889 (describe-function-1): Handle closures.
10890 (describe-variable): Use special-variable-p for completion.
10891
10892 * files.el (lexical-binding): Declare safe.
f488fb65 10893
03408648
SM
10894 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10895 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10896 (pcase): Add `let' pattern.
10897 Change memoization so it actually works.
10898 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10899 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10900 <let>: New case.
f488fb65 10901
03408648
SM
10902 * emacs-lisp/macroexp.el: Use lexical binding.
10903 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10904 Don't convert ' to #' without checking that it's indeed quoting
10905 a lambda.
10906
10907 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10908 Use eval-sexp-add-defvars.
03408648
SM
10909 (eval-sexp-add-defvars): New fun.
10910
10911 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10912
10913 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10914 Don't autoload.
10915 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10916 than the internal `byte-compile-lambda'.
10917 (defmethod): Don't hide code under quotes.
10918 (eieio-defmethod): New `code' argument.
10919
10920 * emacs-lisp/eieio-comp.el: Remove.
10921
10922 * emacs-lisp/edebug.el (edebug-eval-defun)
10923 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10924 (edebug-toggle): Avoid `eval'.
10925
10926 * emacs-lisp/disass.el (disassemble-internal): Handle new
10927 `closure' objects.
10928 (disassemble-1): Handle new byte codes.
10929
10930 * emacs-lisp/cl.el (pushnew): Silence warning.
10931
10932 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10933 (cl-byte-compile-throw): Remove.
10934 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10935
10936 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10937 closures.
10938
10939 * emacs-lisp/cconv.el: New file.
10940
10941 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10942 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10943 (byte-compile-initial-macro-environment):
10944 Handle declare-function here.
10945 (byte-compile--lexical-environment): New var.
10946 (byte-stack-ref, byte-stack-set, byte-discardN)
10947 (byte-discardN-preserve-tos): New lap codes.
10948 (byte-interactive-p): Don't use any more.
10949 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10950 New macros.
10951 (byte-compile-lapcode): Use them and handle new lap codes.
10952 (byte-compile-obsolete): Remove.
10953 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10954 (byte-compile-arglist-warn): Check late def of inlinable funs.
10955 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10956 since they should have been expanded by now.
10957 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10958 (byte-compile-from-buffer): Remove unused second arg.
10959 (byte-compile-preprocess): New function.
10960 (byte-compile-toplevel-file-form): New function to distinguish
10961 file-form calls from outside from file-form calls from hunk-handlers.
10962 (byte-compile-file-form): Simplify.
10963 (byte-compile-file-form-defsubst): Remove.
10964 (byte-compile-file-form-defmumble): Simplify now that
10965 byte-compile-lambda always returns a byte-code-function.
10966 (byte-compile): Preprocess.
10967 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10968 Remove, not used any more.
10969 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10970 (byte-compile-make-args-desc): New funs.
10971 (byte-compile-lambda): Handle lexical functions. Always return
10972 a byte-code-function.
10973 (byte-compile-reserved-constants): New var, to make up room for
10974 closed-over variables.
10975 (byte-compile-constants-vector): Obey it.
10976 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10977 (byte-compile-macroexpand-declare-function): New function.
10978 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10979 byte-code-functions.
10980 (byte-compile-form): Check obsolescence here.
10981 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10982 (byte-compile-variable-ref): Remove.
10983 (byte-compile-dynamic-variable-op): New fun.
10984 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10985 (byte-compile-variable-set): New funs.
10986 (byte-compile-discard): Add 2 args.
10987 (byte-compile-stack-ref, byte-compile-stack-set)
10988 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10989 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10990 macroexpand-all instead.
10991 (byte-compile-quote-form): Remove.
10992 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10993 (byte-compile-bind, byte-compile-unbind): New funs.
10994 (byte-compile-let): Handle let* and lexical binding.
10995 (byte-compile-let*): Remove.
10996 (byte-compile-catch, byte-compile-unwind-protect)
10997 (byte-compile-track-mouse, byte-compile-condition-case):
10998 Handle a new :fun-body form, used for lexical scoping.
10999 (byte-compile-save-window-excursion)
11000 (byte-compile-with-output-to-temp-buffer): Remove.
11001 (byte-compile-defun): Simplify.
11002 (byte-compile-stack-adjustment): New fun.
11003 (byte-compile-out): Use it.
11004 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11005
11006 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11007 handler any more.
11008
11009 * emacs-lisp/byte-opt.el: Use lexical binding.
11010 (byte-inline-lapcode): Remove (to bytecomp).
11011 (byte-compile-inline-expand): Pay attention to inlining to/from
11012 lexically bound code.
11013 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11014 any more.
11015 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11016 any more and don't call compiler-macros.
11017 (byte-compile-splice-in-already-compiled-code): Remove.
11018 (byte-code): Don't inline any more.
11019 (disassemble-offset): Receive `bytes' as argument rather than via
11020 dynamic scoping.
11021 (byte-compile-tag-number): Declare before first use.
11022 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11023 `return' even if make-spliceable.
11024 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11025 obsolete interactive-p.
11026 (byte-optimize-lapcode): Optimize new lap-codes.
11027 Don't trip up on new form of `byte-constant' lap code.
11028
11029 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11030
11031 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11032
11033 * custom.el (custom-initialize-default, custom-declare-variable):
11034 Use `defvar'.
11035
11036 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11037 New variables.
11038 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11039 (COMPILE_FIRST): Add macroexp and cconv.
11040 * makefile.w32-in: Mirror changes in Makefile.in.
11041
11042 * vc/cvs-status.el:
11043 * vc/diff-mode.el:
11044 * vc/log-edit.el:
11045 * vc/log-view.el:
11046 * vc/smerge-mode.el:
11047 * textmodes/bibtex-style.el:
11048 * textmodes/css.el:
11049 * startup.el:
11050 * uniquify.el:
da91b5f2
CY
11051 * minibuffer.el:
11052 * newcomment.el:
11053 * reveal.el:
11054 * server.el:
11055 * mpc.el:
11056 * emacs-lisp/smie.el:
11057 * doc-view.el:
11058 * dired.el:
03408648
SM
11059 * abbrev.el: Use lexical binding.
11060
0f0c1f27
EZ
110612011-04-01 Eli Zaretskii <eliz@gnu.org>
11062
11063 * info.el (info-display-manual): New function.
11064
c82b2579
SM
110652011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11068
221ddf68
TH
110692011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11070
11071 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11072 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11073
cba6e77e
GM
110742011-03-31 Glenn Morris <rgm@gnu.org>
11075
e040639f
GM
11076 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11077
cba6e77e
GM
11078 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11079
6d0f1c9e
CS
110802011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11081
11082 * progmodes/python.el (python-default-interpreter)
11083 (python-python-command-args, python-jython-command-args)
11084 (python-which-shell, python-which-args, python-which-bufname)
11085 (python-file-queue, python-comint-output-filter-function)
11086 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11087 variables and functions.
11088
3e2d70fd
SM
110892011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11092 (completion-in-region-mode): New minor mode.
11093 (completion-in-region): Use it.
11094 (completion-in-region--data, completion-in-region-mode-map): New vars.
11095 (completion-in-region--postch): New function.
11096 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11097 New vars.
11098 (completion--capf-wrapper): New function.
11099 (completion-at-point): Use it to track well-behavedness of
11100 hook functions.
11101 (completion-help-at-point): New command.
11102
f3e4086c
JM
111032011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11104
11105 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11106 syntax class to search for whitespace on a single line
11107 (Message-ID: <4D938140.4030905@redhat.com>).
11108
eb7ffc14
LL
111092011-03-30 Leo Liu <sdl.web@gmail.com>
11110
11111 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11112 New commands.
11113 (edit-abbrevs-map): Bind them here.
11114 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11115
d806ab68
KM
111162011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11117
11118 * allout.el (allout-hide-by-annotation, allout-flag-region):
11119 Reduce possibility of overlay leakage by making them volatile.
11120
11121 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11122 hash is not shared between buffers. Mode initialization is
11123 responsible for giving it a useful starting value.
11124 (allout-item-span): Reduce possibility of overlay leakage by
11125 making them volatile.
11126 (allout-widgets-count-buttons-in-region): Add diagnostic function
11127 for tracking down button overlay leaks.
11128
ea622834
LL
111292011-03-29 Leo Liu <sdl.web@gmail.com>
11130
11131 * ido.el (ido-read-internal): Use the default history var
11132 minibuffer-history if no HISTORY is specified.
11133
b62f8267
G
111342011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11135
03408648
SM
11136 * net/imap.el (imap-shell-open, imap-process-connection-type):
11137 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11138 Kerberos, SSL, other subprocesses.
11139
947b6566
LL
111402011-03-28 Leo Liu <sdl.web@gmail.com>
11141
11142 * abbrev.el (abbrev-table-empty-p): New function.
11143 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11144 nonempty ones. (Bug#5937)
11145
5ffb62aa
JD
111462011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11147
11148 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11149
7a097943
LL
111502011-03-27 Leo Liu <sdl.web@gmail.com>
11151
11152 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11153 for foreground and background colors.
11154 (ansi-color-make-color-map): Adapt.
11155
c5b40130
LL
111562011-03-25 Leo Liu <sdl.web@gmail.com>
11157
1f48f7d2
LL
11158 * midnight.el (midnight-time-float): Remove. Note it calculates
11159 the microsecond component incorrectly and seconds-to-time does the
11160 same job.
625897ec 11161 Remove redundant (require 'timer).
1f48f7d2 11162
c5b40130
LL
11163 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11164 (ido-completions): Remove unused arguments. (Bug#8329)
11165
d86d2721
SM
111662011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * minibuffer.el (completion--flush-all-sorted-completions):
11169 Remove itself from hook.
11170 (completion-at-point): Let the functions perform the completion
11171 immediately and return nil or t.
11172 * comint.el (comint-dynamic-complete-functions): Now identical to
11173 completion-at-point-functions.
11174 (comint-dynamic-list-input-ring): Remove unused var `index'.
11175 (comint--match-partial-filename, comint--unquote&expand-filename):
11176 New funs, split from comint-match-partial-filename.
11177 (comint-dynamic-complete): Use completion-at-point.
11178 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11179
e8974c48
DA
111802011-03-24 Drew Adams <drew.adams@oracle.com>
11181
11182 * thingatpt.el: Support `defun'.
11183
def71b5e
LL
111842011-03-23 Leo Liu <sdl.web@gmail.com>
11185
cb5af48e
LL
11186 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11187
def71b5e
LL
11188 * help-mode.el (help-mode-finish): Tweak regexp.
11189
927c53e7
GM
111902011-03-23 Glenn Morris <rgm@gnu.org>
11191
18d05bed
GM
11192 * eshell/esh-opt.el (eshell-eval-using-options):
11193 Do not bind unused local variable `eshell-option-stub'.
11194
927c53e7
GM
11195 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11196
9d0da923
JB
111972011-03-22 Juanma Barranquero <lekktu@gmail.com>
11198
11199 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11200 keymap variable in `with-no-warnings' to avoid a warning when the
11201 keymap has been already `defconst'ed.
11202
4b978a67
LL
112032011-03-22 Leo Liu <sdl.web@gmail.com>
11204
11205 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11206 encode all chars in abbrevs; otherwise use emacs-mule or
11207 utf-8-emacs. (Bug#8308)
11208
5fd62452
JB
112092011-03-22 Juanma Barranquero <lekktu@gmail.com>
11210
0b1596c6
JB
11211 * simple.el (backward-delete-char-untabify):
11212 Avoid warning about using `delete-backward-char'.
11213
5fd62452
JB
11214 * image.el (image-type-file-name-regexps): Make it variable.
11215 `imagemagick-register-types' modifies it, and the user may want
11216 to add new extensions for known image types.
11217 (imagemagick-register-types): Throw error if not using ImageMagick.
11218
0b4e93f1
LL
112192011-03-22 Leo Liu <sdl.web@gmail.com>
11220
11221 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11222 located before rcirc-prompt-end-marker.
11223 (rcirc-complete): Error if point is not after rcirc prompt.
11224 Handle the case when table is nil.
9882e214 11225 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11226
fccee4ab
CY
112272011-03-22 Chong Yidong <cyd@stupidchicken.com>
11228
11229 * custom.el (custom--inhibit-theme-enable): Make it affect only
11230 custom-theme-set-variables and custom-theme-set-faces.
11231 (provide-theme): Ignore custom--inhibit-theme-enable.
11232 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11233 (custom-enabling-themes): Delete variable.
d86d2721
SM
11234 (enable-theme): Accept only loaded themes as arguments.
11235 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11236 (custom-enabled-themes): Forbid themes from setting this.
11237 Eliminate use of custom-enabling-themes.
11238 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11239
af896da6
LL
112402011-03-21 Leo Liu <sdl.web@gmail.com>
11241
11242 * ido.el (ido-read-internal): Add ido-selected to history instead
11243 of user input.
11244
78f64af0
SM
112452011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * subr.el (deferred-action-list, deferred-action-function):
11248 Mark obsolete.
11249
b16ac1ec
LL
112502011-03-21 Leo Liu <sdl.web@gmail.com>
11251
810f7698
LL
11252 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11253 change on 2011-02-13 (bug#8309).
11254
b16ac1ec
LL
11255 * minibuffer.el (read-file-name-function): Change default value.
11256 (read-file-name--defaults): Rename from read-file-name-defaults.
11257 (read-file-name-default): Rename from read-file-name.
11258 (read-file-name): Call read-file-name-function.
11259
4e05e67e
GM
112602011-03-21 Glenn Morris <rgm@gnu.org>
11261
11262 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11263 Doc fixes.
11264
4359915b
CY
112652011-03-21 Chong Yidong <cyd@stupidchicken.com>
11266
11267 * cus-theme.el: Add missing provide statement.
11268 (customize-create-theme): Extract theme value correctly.
11269 (custom-theme-visit-theme): Autoload.
11270 (customize-create-theme): Prompt before inserting default faces.
11271
1fe275ee
JB
112722011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11273
11274 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11275 units and musical notes.
11276
cd394be1 112772011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11278
11279 * ido.el (ido-read-internal): Use completing-read-default.
11280 (ido-completing-read): Fix compatibility with completing-read.
11281
7d476bde
CO
112822011-03-20 Christian Ohler <ohler@gnu.org>
11283
11284 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11285 (ert-delete-all-tests): Use `called-interactively-p' rather than
11286 `interactive-p'.
11287 (ert--make-xrefs-region): Respect END.
11288
fe0fb33e
CY
112892011-03-19 Chong Yidong <cyd@stupidchicken.com>
11290
ff854b0b
CY
11291 * dired-aux.el (dired-create-directory): Signal an error if the
11292 directory already exists (Bug#8246).
11293
fe0fb33e
CY
11294 * facemenu.el (list-colors-display): Call list-faces-display
11295 inside with-help-window.
11296 (list-colors-print): Use display property to align the final
11297 column, instead of checking window-width.
11298
576bce32
EZ
112992011-03-19 Eli Zaretskii <eliz@gnu.org>
11300
4d61f28d 11301 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11302 windows-nt systems.
11303 (emerge-protect-metachars): Quote correctly for ms-dos and
11304 windows-nt systems.
11305
89c41d68 113062011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11307
11308 * info.el (info-initialize): Replace all uses of `:' with
11309 path-separator for compatibility with non-Unix systems.
11310 Cache quoting of path-separator. (Bug#8258)
11311
b14e3e21 113122011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11313
11314 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11315 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11316 (mouse-avoidance-mode): Fix typos in docstrings.
11317
4525ce3e
CY
113182011-03-19 Chong Yidong <cyd@stupidchicken.com>
11319
11320 * startup.el (package-subdirectory-regexp): Move from package.el.
11321 Omit \\` and \\', and let callers add them.
11322
11323 * emacs-lisp/package.el (package-strip-version)
11324 (package-load-all-descriptors): Add \\` and \\' to
11325 package-subdirectory-regexp before using it.
11326 (package-untar-buffer): New arg DIR; ensure that file untars only
11327 into this expected directory. Remove superfluous delete-region.
11328 (package-unpack): Caller changed.
11329 (package-tar-file-info): Use package-subdirectory-regexp.
11330
a904a09a 113312011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11332
a904a09a
SM
11333 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11334 diff-mode-shared-map (bug#8284).
11335 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11336
113372011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11338
11339 * calendar/time-date.el (format-seconds): Use assoc instead of
11340 assoc-string, since assoc-string doesn't exist in XEmacs.
11341
171fc304
JB
113422011-03-17 Juanma Barranquero <lekktu@gmail.com>
11343
11344 * custom.el (custom-known-themes): Reflow docstring.
11345 (custom-theme-load-path): Fix typo in docstring.
11346 (load-theme): Fix typo in error message.
11347 (custom-available-themes, custom-variable-theme-value):
11348 Use `let', not `let*'.
11349
d71990a1
JB
113502011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11351
11352 * calc/README: Mention inclusion of musical notes.
11353
11354 * calc/calc-units.el (calc-lu-quant): Rename from
11355 `calc-logunits-quantity'.
11356 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11357 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11358 (calc-db): Rename from `calc-dblevel'.
11359 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11360 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11361 (calc-np): Rename from `calc-nplevel'.
11362 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11363 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11364 (calc-lu-plus): Rename from `calc-logunits-add'.
11365 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11366 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11367 (calc-lu-minus): Rename from `calc-logunits-sub'.
11368 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11369 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11370 (calc-lu-times): Rename from `calc-logunits-mul'.
11371 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11372 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11373 (calc-lu-divide): Rename from `calc-logunits-div'.
11374 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11375 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11376
11377 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11378 functions being autoloaded.
11379
11380 * calc/calc.el (calc-lu-power-reference): Rename from
11381 `calc-logunits-power-reference'.
11382 (calc-lu-field-reference): Rename from
11383 `calc-logunits-field-reference'.
11384
7a71b18d
GM
11385 * calc/calc-help.el (calc-l-prefix-help):
11386 Mention musical note functions.
d71990a1 11387
40c2934b
SM
113882011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 * minibuffer.el (completion-all-sorted-completions):
11391 Use :completion-cycle-penalty text property if present.
11392
b0911414
KM
113932011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11394
11395 * allout.el (allout-yank-processing): Adjust for new rebulleting
11396 regime so bullet being yanked is used without prompting the user
11397 for a choice.
11398
8a05b668
JB
113992011-03-16 Juanma Barranquero <lekktu@gmail.com>
11400
11401 * startup.el (command-line): Warn the user that _emacs is deprecated.
11402
5ba5fb81
JB
114032011-03-16 Juanma Barranquero <lekktu@gmail.com>
11404
11405 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11406 (delphi-verbose, delphi-comment-face, delphi-string-face)
11407 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11408 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11409 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11410 (delphi-new-comment-line, delphi-font-lock-defaults)
11411 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11412 Fix typos in docstrings.
11413
2dab465b
KM
114142011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11415
5ba5fb81 11416 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11417 Invert the roles of character and string values for INSTEAD, so a
11418 string is used for the more common case of a defaulting prompt.
11419
0adf5618
SM
114202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11421
11422 * progmodes/ruby-mode.el (ruby-backward-sexp):
11423 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11424 * play/gamegrid.el (gamegrid-make-face):
11425 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11426 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11427 * notifications.el (notifications-notify):
11428 * net/xesam.el (xesam-search-engines):
11429 * net/quickurl.el (quickurl-list-insert):
11430 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11431
d72700e5
CY
114322011-03-15 Chong Yidong <cyd@stupidchicken.com>
11433
11434 * startup.el (command-line): Update package subdirectory regexp.
11435
49c5410a
SM
114362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11437
c6eee9aa
SM
11438 * allout.el (allout-abbreviate-flattened-numbering)
11439 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11440
49c5410a
SM
11441 * subr.el (read-char-choice): Only show the cursor after the prompt,
11442 not after the answer.
11443
047b2bb9
KR
114442011-03-15 Kevin Ryde <user42@zip.com.au>
11445
11446 * help-fns.el (variable-at-point): Skip leading quotes, if any
11447 (bug#8253).
11448
0a57d256
SM
114492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11452 warning message.
11453
77c992bc
MA
114542011-03-14 Michael Albinus <michael.albinus@gmx.de>
11455
11456 * shell.el (shell): When called interactively, offer to change the
11457 shell file name on remote hosts.
11458
eebc475d
TZ
114592011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11460
11461 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11462 integration for LDAP parameters. The host, base, user or binddn,
11463 and secret tokens can be specified in a netrc file, for instance.
11464 This is optional because an `auth-source' parameter must be
11465 specified in the search attributes.
11466
9d05d1ba
JB
114672011-03-13 Juanma Barranquero <lekktu@gmail.com>
11468
11469 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11470
09d9db2c
GM
114712011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11474 into declaration. Remove redundant and harmful binding.
11475
114762011-03-12 Eli Zaretskii <eliz@gnu.org>
11477
11478 * files.el (file-ownership-preserved-p): Pass `integer' as an
11479 explicit 2nd argument to `file-attributes'. If the file's owner
11480 is the Administrators group on Windows, and the current user is
11481 Administrator, consider that a match.
11482
11483 * server.el (server-ensure-safe-dir): Consider server directory
11484 safe on MS-Windows if its owner is the Administrators group while
11485 the current Emacs user is Administrator. Use `=' to compare
11486 numerical UIDs, since they could be integers or floats.
11487
219bd536
JB
114882011-03-12 Juanma Barranquero <lekktu@gmail.com>
11489
11490 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11491
f3afd36b
MA
114922011-03-12 Michael Albinus <michael.albinus@gmx.de>
11493
11494 Sync with Tramp 2.2.1.
11495
11496 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11497
11498 * net/trampver.el: Update release number.
11499
3aaaa6f1
SM
115002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11501
94642599
SM
11502 * progmodes/compile.el (compilation--previous-directory): Fix up
11503 various nil/dead-marker mismatches (bug#8014).
11504 (compilation-directory-properties, compilation-error-properties):
11505 Don't call it at a position past the one we're about to change.
11506
3aaaa6f1
SM
11507 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11508 Disable obsolescence warnings in the file that declares it.
11509
14239447
KM
115102011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11511
099c39a4
JB
11512 * allout-widgets.el (allout-widgets-tally):
11513 Initialize allout-widgets-tally as a hash table rather than nil to
11514 prevent mode-line redisplay warnings. Also, clarify the module
11515 description and fix a comment typo.
14239447 11516
135e287c
JB
115172011-03-11 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * help-fns.el (describe-variable): Don't complete keywords.
11520 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11521
ffbf300e
CY
115222011-03-10 Chong Yidong <cyd@stupidchicken.com>
11523
ba08b241
CY
11524 * emacs-lisp/package.el (package-version-join): Impose a standard
11525 string representation for pre/alpha/beta version lists.
11526 (package-unpack-single): Standardize the directory name by passing
11527 it through package-version-join.
11528 (package-strip-rcs-id): Accept any version string that does not
11529 signal an error in version-to-list.
ffbf300e 11530
f346fd6b
MA
115312011-03-10 Michael Albinus <michael.albinus@gmx.de>
11532
11533 * simple.el (delete-trailing-whitespace): Return nil for the
11534 benefit of `write-file-functions'.
11535
ccb55d27
GM
115362011-03-10 Glenn Morris <rgm@gnu.org>
11537
5ceaac0c
GM
11538 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11539
02da65ff
GM
11540 * vc/vc-git.el (vc-git-program): New option.
11541 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11542 (vc-git--call): Use it.
11543
b2f603cc
GM
11544 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11545
5772caab
GM
11546 * cus-edit.el (Custom-newline): If no button at point, look
11547 for a subgroup button at start-of-line. (Bug#2298)
11548
ccb55d27
GM
11549 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11550
ec6ecaed
JD
115512011-03-10 Julien Danjou <julien@danjou.info>
11552
11553 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11554 `cursor-type' is nil.
11555
9d5aa01d
JB
115562011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11557
11558 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11559
b6a5875b
KM
115602011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11561
7a71b18d 11562 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11563 preserves the existing header prefix, rebulleting it if necessary,
11564 rather than replacing it. This is necessary for proper operation
11565 of cooperative addons like allout-widgets.
1154d12e
JB
11566 (allout-make-topic-prefix, allout-rebullet-heading):
11567 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11568 value as alternate bullet to be used, instead of prompting the user
11569 for a bullet character.
b6a5875b 11570
ee545c35
MA
115712011-03-09 Michael Albinus <michael.albinus@gmx.de>
11572
d86d2721
SM
11573 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11574 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11575 `tramp-default-port'.
11576
c47971d7
DD
115772011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11578
11579 * net/rcirc.el (rcirc-handler-001): Remove useless
11580 with-rcirc-process-buffer.
11581 (rcirc-check-auth-status): Swap arguments to string-match.
11582
13522cb4
GM
115832011-03-09 Glenn Morris <rgm@gnu.org>
11584
0be6f4f1
GM
11585 * shell.el (shell-mode):
11586 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11587
13522cb4
GM
11588 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11589 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11590
515de2e3
CY
115912011-03-08 Chong Yidong <cyd@stupidchicken.com>
11592
11593 * emacs-lisp/package.el (package-refresh-contents)
11594 (package-menu-execute): Use condition-case-no-debug.
11595
b511b994
MA
115962011-03-08 Michael Albinus <michael.albinus@gmx.de>
11597
11598 * simple.el (shell-command-to-string): Use `process-file'.
11599
11600 * emacs-lisp/package.el (package-tar-file-info): Handle also
11601 remote files.
11602
d86d2721
SM
11603 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11604 Use `equal' for upload base check.
b511b994 11605
25bbfb31
AM
116062011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11607
11608 * textmodes/texinfo.el (texinfo-environments):
11609 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11610
be996521
GM
116112011-03-08 Glenn Morris <rgm@gnu.org>
11612
e9c8529f
GM
11613 * cus-start.el (cursor-in-non-selected-windows):
11614 Fix :set quoting oddness. (Bug#8192)
11615
be996521
GM
11616 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11617 in some setf expressions. (Bug#2159)
11618
2bb5649e
CY
116192011-03-08 Chong Yidong <cyd@stupidchicken.com>
11620
11621 * custom.el (custom-available-themes): Return themes in
11622 alphabetical order.
11623
33383987 11624See ChangeLog.15 for earlier changes.
e3d51b27
MR
11625
11626;; Local Variables:
11627;; coding: utf-8
e3d51b27
MR
11628;; End:
11629
acaf905b 11630 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11631
11632 This file is part of GNU Emacs.
11633
11634 GNU Emacs is free software: you can redistribute it and/or modify
11635 it under the terms of the GNU General Public License as published by
11636 the Free Software Foundation, either version 3 of the License, or
11637 (at your option) any later version.
11638
11639 GNU Emacs is distributed in the hope that it will be useful,
11640 but WITHOUT ANY WARRANTY; without even the implied warranty of
11641 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11642 GNU General Public License for more details.
11643
11644 You should have received a copy of the GNU General Public License
11645 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.