merge trunk
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fb5b8aca
CY
12012-03-21 Chong Yidong <cyd@gnu.org>
2
3 * faces.el (make-face, make-empty-face, copy-face):
4 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5 Doc fixes.
6
dc9924b8
SM
72012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10 (widget-complete): Remove broken use of it.
11
f0bcceb9
CY
122012-03-20 Chong Yidong <cyd@gnu.org>
13
dc9924b8
SM
14 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
16 characters.
17
ee52ebf3
TH
182012-03-20 Tassilo Horn <tassilo@member.fsf.org>
19
20 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
21 to draw rectangles, not squares. (Regression introduced by revno
22 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
23
4c5779ab
CY
242012-03-18 Chong Yidong <cyd@gnu.org>
25
26 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
27 it is not yet defined (for temacs).
28
15360934
LL
292012-03-18 Leo Liu <sdl.web@gmail.com>
30
dc9924b8 31 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 32
d9a8eb66
EZ
332012-03-17 Eli Zaretskii <eliz@gnu.org>
34
35 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
36 (ispell-choices-win-default-height, ispell-silently-savep)
37 (ispell-dictionary-alist, ispell-encoding8-command)
38 (ispell-check-version, ispell-aspell-find-dictionary)
39 (ispell-valid-dictionary-list, ispell-words-keyword)
40 (ispell-get-word, ispell-internal-change-dictionary)
41 (ispell-region, ispell-skip-region-list)
42 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
43 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
44 (ispell-message-text-end, ispell-message)
45 (ispell-buffer-local-parsing): Doc fix.
46
f02ff80d
J
472012-03-13 Jambunathan K <kjambunathan@gmail.com>
48
49 * htmlfontify.el: Add support for code block fontification for ODT
50 export (Bug #9914).
51 (hfy-optimisations): Define new option
52 `body-text-only'
53 (hfy-fontify-buffer): Honor above setting.
54 (hfy-begin-span, hfy-end-span): New routines factored out form
55 `hfy-fontify-buffer'.
56 (hfy-begin-span-handler, hfy-end-span-handler): New variables
57 that permit insertion of custom tags.
58 (hfy-fontify-buffer): Use above handlers.
59 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
60 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 61 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
62 over multiple runs. This is made possible by having the caller let
63 bind a special variable `hfy-user-sheet-assoc'.
64 (htmlfontify-string): New defun.
65 (hfy-compile-face-map): Make sure that the last char in the
66 buffer is correctly fontified.
67 (hfy-face-resolve-face): Whitespace only change.
68
9ac7a13f
EZ
692012-03-17 Eli Zaretskii <eliz@gnu.org>
70
71 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
72 message more clear.
73
e2b5bdd7
LL
742012-03-16 Leo Liu <sdl.web@gmail.com>
75
76 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
77
2e492df3
AM
782012-03-16 Alan Mackenzie <acm@muc.de>
79
80 Further optimise the handling of large macros.
81
82 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
83 limit to a call of `c-literal-limits'.
84 (c-determine-+ve-limit): New function.
dc9924b8
SM
85 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
86 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
87 In CASE 5B, restrict a search limit to 500.
88 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
89
90 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
91 Restrict macro bounds to +-500 from after-change's BEG END.
92
50e94f0c
LL
932012-03-16 Leo Liu <sdl.web@gmail.com>
94
95 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
96
6f09f6ed
AH
972012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
98
99 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 100 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 101
c7e73d51
GM
1022012-03-16 Glenn Morris <rgm@gnu.org>
103
da986230
GM
104 * view.el (view-buffer, view-buffer-other-window)
105 (view-buffer-other-frame): Doc fixes re special mode-class.
106
0835f01e
GM
107 * subr.el (eval-after-load): If named feature is provided not from
108 a file, run after-load forms. (Bug#10946)
109
c7e73d51
GM
110 * calendar/calendar.el (calendar-insert-at-column):
111 Handle non-unit-width characters a bit better. (Bug#10978)
112
3f2eafd1
CY
1132012-03-15 Chong Yidong <cyd@gnu.org>
114
115 * emacs-lisp/ring.el (ring-extend): New function.
116 (ring-insert+extend): Extend the ring correctly (Bug#11019).
117
118 * comint.el (comint-read-input-ring)
119 (comint-add-to-input-history): Grow comint-input-ring lazily.
120
103af3fe
SM
1212012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
122
663b1677
SM
123 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
124 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
125
103af3fe
SM
126 * imenu.el: Fix multiple inheritance breakage (bug#9199).
127 (imenu-add-to-menubar): Don't add a redundant index.
128 (imenu-update-menubar): Handle a dynamically composed keymap.
129
899cb7cb
KY
1302012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
131
132 * mail/sendmail.el (mail-encode-header):
133 Bind rfc2047-encode-encoded-words to nil.
134
3809f91d
GM
1352012-03-13 Glenn Morris <rgm@gnu.org>
136
137 * calendar/calendar.el (calendar-string-spread):
138 Handle non-unit-width characters a bit better. (Bug#10978)
139
9e345a01
LL
1402012-03-13 Leo Liu <sdl.web@gmail.com>
141
142 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
143 directory and file as argument (Bug#10822).
144
4a07df36
KS
1452012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
146
147 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
148 For dynamically generated code, follow $PC.
149 (gdb-disassembly-handler-custom): Handle no function name case.
150
4aaa9356
TL
1512012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
152
153 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
154 * emulation/ws-mode.el (ws-query-replace):
155 * sort.el (sort-regexp-fields):
156 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
157
225979da
SM
1582012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * dabbrev.el: Fix cycle completion order (bug#10963).
161 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
162 (dabbrev-completion): Don't use an obarray; provide
163 a cycle-sort-function.
164
e2f1fdab
LL
1652012-03-12 Leo Liu <sdl.web@gmail.com>
166
dc9924b8 167 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
168 (kill-do-not-save-duplicates): Doc fix.
169
b19490ed
SM
1702012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * dabbrev.el: Fix cycle completion (bug#10963).
173 Use lexical binding and wrap to 80 columns.
174 (dabbrev-completion): Delay computing the list of completions.
175
4b05d722
KH
1762012-03-12 Kenichi Handa <handa@m17n.org>
177
178 * international/quail.el (quail-insert-kbd-layout): Surround each
179 row by LRO and PDF instead of inserting many LRMs. Pad the left
180 and right of each non-spacing marks. Insert invisible space
181 between lower and upper characters to prevent composition.
182
dbbc2e69
SM
1832012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * minibuffer.el (minibuffer-complete): Don't get confused when the
186 function is run twice via different commands (bug#10958).
187 (complete-with-action): Fix docstring.
188
292112ed
CY
1892012-03-12 Chong Yidong <cyd@gnu.org>
190
5d1ac394
CY
191 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
192 (nxml-completion-at-point-function): New function.
193 (nxml-mode): Use it.
194 (nxml-bind-meta-tab-to-complete-flag): Default to t.
195
292112ed
CY
196 * emacs-lisp/package.el (package-unpack, package-unpack-single):
197 Load generated autoloads file before byte compiling (Bug#10970).
198 (package--make-autoloads-and-compile): New helper fun.
199
4098f8f7
CS
2002012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
201
202 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
203
8f754691
MA
2042012-03-11 Michael Albinus <michael.albinus@gmx.de>
205
206 * autorevert.el (auto-revert-handler): Ensure, that
207 file-readable-p is applied only for local files or in
208 auto-revert-tail-mode.
209
e29ab36b
AS
2102012-03-11 Andreas Schwab <schwab@linux-m68k.org>
211
dbbc2e69
SM
212 * server.el (server-eval-at): Handle non-tcp connections.
213 Decode result string.
ad0bf5b6 214
e29ab36b
AS
215 * server.el (server-msg-size): New constant.
216 (server-reply-print): New function.
217 (server-eval-and-print): Use it.
218 (server-eval-at): Use server-quote-arg and server-unquote-arg.
219 Handle -print-nonl.
220
de5939ba
CS
2212012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
222
223 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
224 (Bug#10987).
225
0c93eabf
CY
2262012-03-11 Chong Yidong <cyd@gnu.org>
227
397a688f
CY
228 * simple.el (goto-line): Doc fix (Bug#9938).
229
2cc775f9
CY
230 * subr.el (save-window-excursion): Doc fix (Bug#9979).
231
0c93eabf
CY
232 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
233 when finished (Bug#10963).
234
c491fa41
MR
2352012-03-11 Martin Rudalics <rudalics@gmx.at>
236
237 * window.el (split-window-below): Fix bug in case where
238 split-window-keep-point is nil (Bug#10971).
239
300e8fa5
JL
2402012-03-11 Juri Linkov <juri@jurta.org>
241
242 * replace.el (replace-highlight): Set isearch-word to nil
243 unconditionally. (Bug#10887)
244
dbf6c5a1
EZ
2452012-03-10 Eli Zaretskii <eliz@gnu.org>
246
247 * net/mairix.el (mairix-replace-invalid-chars): Rename from
248 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 249 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
250 (mairix-widget-create-query): Add usage information about mairix
251 search forms: negating words, searching for substrings, etc.
252
b9e501de
JP
2532012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
254
255 * international/fontset.el (font-encoding-alist): Add an entry for
256 ksx1001 (Bug#5667).
257
92795c91
RS
2582012-03-10 Richard Stallman <rms@gnu.org>
259
1694e6c1
RS
260 * mail/sendmail.el (mail-encode-header):
261 Set rfc2047-encode-encoded-words.
262
607e8555
RS
263 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
264
de3bc99a
RS
265 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
266 view buffer means not swapped.
267 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
268 (rmail-write-region-annotate): Error if real text has disappeared.
269
92795c91
RS
270 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
271
699bd04e
CY
2722012-03-10 Chong Yidong <cyd@gnu.org>
273
274 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
275 * emulation/cua-base.el (cua--init-keymaps):
276 Add delete-forward-char to remappings (Bug#9666).
699bd04e 277
570a1714
MR
2782012-03-10 Martin Rudalics <rudalics@gmx.at>
279
dbbc2e69
SM
280 * speedbar.el (speedbar-unhighlight-one-tag-line):
281 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 282
82dcf4e4
CY
2832012-03-10 Chong Yidong <cyd@gnu.org>
284
7a2c7ca7
CY
285 * minibuffer.el (completion-in-region, completion-help-at-point):
286 Give the completion field overlay a high priority (Bug#6830).
287
82dcf4e4
CY
288 * dired.el (dired-goto-file): Recognize absolute file name
289 listings (Bug#7126).
290 (dired-goto-file-1): New helper function.
291 (dired-toggle-read-only): Inhibit warnings.
292
052e28ac
MA
2932012-03-09 Michael Albinus <michael.albinus@gmx.de>
294
295 * net/dbus.el: (dbus-property-handler): Return empty array if
296 there are no properties.
297
95d5e396
LL
2982012-03-09 Leo Liu <sdl.web@gmail.com>
299
300 * savehist.el (savehist-printable): Stricter check for string
301 value (Bug#10937).
302
3f018d6d
EZ
3032012-03-09 Eli Zaretskii <eliz@gnu.org>
304
dbbc2e69
SM
305 * mail/smtpmail.el (smtpmail-send-it):
306 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
307 valid mbox format.
308
f7fd3d79
GM
3092012-03-09 Glenn Morris <rgm@gnu.org>
310
311 * files.el (dir-locals-find-file):
312 Don't check result is regular, readable.
313 (dir-locals-read-from-file): Demote errors.
314
6ff6e72f
EZ
3152012-03-08 Eli Zaretskii <eliz@gnu.org>
316
dbbc2e69
SM
317 * international/quail.el (quail-insert-kbd-layout):
318 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
319 layout cell, to prevent their reordering by bidi display engine.
320 For details, see the discussion in
321 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
322
9cec7834
AM
3232012-03-08 Alan Mackenzie <acm@muc.de>
324
325 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
326 the starting position; make it extend the marked region when
327 invoked repeatedly - all under appropriate circumstances.
328 Fixes bugs #5525, #10906.
329
9a40b8d4
GM
3302012-03-08 Glenn Morris <rgm@gnu.org>
331
332 * files.el (locate-dominating-file, dir-locals-find-file):
333 Undo 2012-03-06 change.
334
7a08ed35
EZ
3352012-03-07 Eli Zaretskii <eliz@gnu.org>
336
dbbc2e69
SM
337 * international/quail.el (quail-help):
338 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
339 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
340 for the reason.
341
5aca4f71 3422012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
343
344 Avoid superfluous registering of signals. (Bug#10807)
345
346 * notifications.el (notifications-on-action-object)
347 (notifications-on-close-object): New defvars.
348 (notifications-on-action-signal, notifications-on-closed-signal):
349 Unregister the signal if not needed any longer.
350 (notifications-notify): Register `notifications-action-signal' or
351 `notifications-closed-signal', if :on-action or :on-close has been
352 passed as argument.
353
78e8b10a
CY
3542012-03-07 Chong Yidong <cyd@gnu.org>
355
356 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
357 non-X platforms.
358
69481eb8
GM
3592012-03-06 Glenn Morris <rgm@gnu.org>
360
361 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
362 (x-disown-selection-internal, x-get-selection-internal):
363 Doc fix (add arglist signatures). (Bug#10783)
364
133b8e11
KS
3652012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
366
367 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
368 Handle breakpoints with no "type".
369
99a83064
GM
3702012-03-06 Glenn Morris <rgm@gnu.org>
371
372 * files.el (locate-dominating-file): Add optional predicate argument.
373 (dir-locals-find-file): Make use of above change.
374
17798e78
TTN
3752012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
376
377 * info.el (Info-insert-dir): Also try "dir.gz".
378
eb182446
GM
3792012-03-06 Glenn Morris <rgm@gnu.org>
380
8f2114ee
GM
381 * files.el (dir-locals-find-file):
382 Ignore non-readable or non-regular files. (Bug#10928)
383
eb182446
GM
384 * files.el (locate-dominating-file): Doc fix.
385
24679323
AS
3862012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
387
388 * calendar/calendar.el (calendar-set-mode-line):
389 `getenv' returns a string. (Bug#10951)
390
01d972a9
LL
3912012-03-05 Leo Liu <sdl.web@gmail.com>
392
109aa8a9
LL
393 * simple.el (backward-delete-char-untabify): Constrain point to
394 field (Bug#10939).
395
01d972a9
LL
396 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
397
10607bea
CY
3982012-03-05 Chong Yidong <cyd@gnu.org>
399
400 * simple.el (count-words): If called from Lisp, return the word
401 count, for symmetry with `count-lines'. Arglist changed.
402 (count-words--message): Args changed. Consolidate counting code
403 from count-words and count-words-region.
404 (count-words-region): Caller changed.
405 (count-lines-region): Make it an obsolete alias.
406
5dd11cfe
TH
4072012-03-04 Tassilo Horn <tassilo@member.fsf.org>
408
409 * saveplace.el (save-place-to-alist)
410 (save-place-ignore-files-regexp): Allow value nil to disable this
411 feature.
412
c349f4e6
CY
4132012-03-04 Chong Yidong <cyd@gnu.org>
414
415 * faces.el (face-spec-reset-face): For the default face, reset the
416 attributes to default values (Bug#10748).
417
e627be4c
LMI
4182012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
419
420 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
421 previous patch: Check `message-send-mail-function', and not the
422 default function (bug#10897).
423
ebeabff4
MA
4242012-03-04 Michael Albinus <michael.albinus@gmx.de>
425
a41a6cf4
MA
426 * notifications.el (notifications-on-action-signal)
427 (notifications-on-closed-signal): Check for unique service name of
428 incoming event. Fix error in removing entry.
ebeabff4 429 (top): Register for signals with wildcard service name.
a41a6cf4 430 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 431
c1ca42b4
CY
4322012-03-04 Chong Yidong <cyd@gnu.org>
433
dc9924b8 434 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 435
ea16568d
GM
4362012-03-04 Glenn Morris <rgm@gnu.org>
437
438 * abbrev.el (copy-abbrev-table, abbrev-table-p)
439 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
440 (expand-abbrev, define-abbrev-table): Doc fixes.
441
fbae4637
LMI
4422012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
443
444 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
445 `message-default-send-mail-function' and not `send-mail-function'
446 when doing the prompting for `sendmail-query-once' before sending
447 in Message buffers (bug#10897).
448
a1e7225c
LMI
449 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
450 This is inconsistent with all the other stream functions, which leave
451 the setting up to the higher levels (if so wanted) (bug#10931).
452
56d093a9
AM
4532012-03-02 Alan Mackenzie <acm@muc.de>
454
455 Depessimize the handling of very large macros.
456
457 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
458 (c-macro-cache-syntactic): New variables to implement a one
459 element macro cache.
460 (c-invalidate-macro-cache): New function.
461 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
462 Adapt to use the new cache.
463 (c-state-safe-place): Use better the cache of safe positions.
464 (c-state-semi-nonlit-pos-cache)
465 (c-state-semi-nonlit-pos-cache-limit):
466 New variables for...
467 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
468 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
469 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
470 Use c-state-semi-safe-place.
56d093a9 471
dbbc2e69
SM
472 * progmodes/cc-langs.el (c-get-state-before-change-functions):
473 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 474
817e5c3d
MA
4752012-03-02 Michael Albinus <michael.albinus@gmx.de>
476
dbbc2e69
SM
477 * jka-compr.el (jka-compr-call-process):
478 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
479 not remote.
480
a032a702
MA
4812012-03-01 Michael Albinus <michael.albinus@gmx.de>
482
483 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
484 access of FILE2, if FILE1 does not exist.
485
99a54f21
MA
486 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
487 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
488
489 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
490 Add "PAGER=" to `process-environment'.
491
f6561e1f
MM
4922012-03-01 Michael R. Mauger <mmaug@yahoo.com>
493
494 * progmodes/sql.el: Bug fix
495 (sql-get-login-ext): Save login values in globals.
496 (sql-get-login): Use new version of `sql-get-login-ext'.
497 (sql-interactive-mode): Set global `sql-connection' to nil.
498 (sql-connect): Set global values for connection.
499 (sql-product-interactive): Save global values as buffer local.
500
2d44d9cc
LL
5012012-02-29 Leo Liu <sdl.web@gmail.com>
502
503 * abbrev.el (define-abbrevs): Reset sys to nil.
504
96b49301 5052012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
506
bf7f9bc5
JB
507 * files.el (file-equal-p): Rename from `files-equal-p'.
508 Return nil when one or both files don't exist.
96b49301 509 (file-subdir-of-p): Now only top directory must exists,
510 return nil if it doesn't.
bf7f9bc5
JB
511 (copy-directory): No need to test with `file-subdir-of-p' after
512 creating dir.
513 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
514 to `file-equal-p'.
96b49301 515
44e97401
GM
5162012-02-28 Glenn Morris <rgm@gnu.org>
517
518 * shell.el (shell-mode):
519 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
520 * play/landmark.el (landmark-font-lock-face-O):
521 * play/handwrite.el (handwrite):
522 * play/gomoku.el (gomoku-O):
523 * net/browse-url.el (browse-url-browser-display):
524 * international/mule.el (define-charset):
525 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
526 * filesets.el (filesets-find-file-delay):
527 * eshell/em-xtra.el (eshell-xtra):
528 * eshell/em-unix.el (eshell-grep):
529 * emulation/viper.el (viper-mode):
530 * emacs-lisp/regexp-opt.el (regexp-opt-group):
531 * emacs-lisp/easymenu.el (easy-menu-define):
532 * calendar/timeclock.el (timeclock-use-display-time):
533 * bs.el (bs-mode):
534 * bookmark.el (bookmark-save-flag):
535 Doc fix (standardize possessive apostrophe usage).
536
c98c6276
CY
5372012-02-27 Chong Yidong <cyd@gnu.org>
538
bf7f9bc5
JB
539 * emulation/viper-cmd.el (viper-intercept-ESC-key):
540 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 541
c98c6276
CY
542 * font-lock.el (font-lock-specified-p): Rename from
543 font-lock-spec-present. Callers changed.
544
9c62cd04 5452012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 546
bf7f9bc5
JB
547 * emacs-lisp/package.el (package-compute-transaction):
548 Handle holding a package version to t in package-load-list.
8ac9e529 549
530739c9
MA
5502012-02-26 Michael Albinus <michael.albinus@gmx.de>
551
552 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
553 (tramp-get-inode, tramp-get-device): Use cached values.
554
487915d7
AM
5552012-02-26 Alan Mackenzie <acm@muc.de>
556
557 Check there is a font-lock specification before doing initial
558 fontification.
559
560 * font-core.el (font-lock-mode): Move the conditional from
561 :after-hook to font-lock-initial-fontify.
562 (font-lock-default-function): Move the check for a specification
563 to font-lock-spec-present.
564
dc9924b8 565 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
566 (font-lock-spec-present): New function.
567
4fd96557
JB
5682012-02-26 Jim Blandy <jimb@red-bean.com>
569
570 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
571 (gdb-send): Apply it to the operand of the '-interpreter-exec
572 console' command, so that we can pass arguments with (say) quotes
573 in them. Store exact string sent in gdb-debug-log (Bug#10765).
574
9a4888c0
CY
5752012-02-26 Chong Yidong <cyd@gnu.org>
576
07498861
CY
577 * help-fns.el (describe-function-1): Clarify description of
578 remapping (Bug#10844).
579
9a4888c0
CY
580 * files.el (files-equal-p): Doc fix.
581 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
582 and quit the loop once a mismatch is found.
583
ea8fb88d
JB
5842012-02-25 Juanma Barranquero <lekktu@gmail.com>
585
586 * bs.el (bs--show-with-configuration): Don't throw an error
587 if the window cannot be split; otherwise, subsequent calls to
588 bs-show fail, restoring a stale window config. (Bug#10882)
589
525795c1
JD
5902012-02-25 Jan Djärv <jan.h.d@swipnet.se>
591
592 * term/ns-win.el (global-map): Bind ns-drag-file to
593 ns-find-file (Bug#5855, Bug#10050).
594
f008086f
AS
5952012-02-25 Andreas Schwab <schwab@linux-m68k.org>
596
597 * calendar/parse-time.el (parse-time-string): Allow extractor to
598 return nil.
599
a3fcfa99
MA
6002012-02-25 Michael Albinus <michael.albinus@gmx.de>
601
91027d08
JB
602 * net/tramp.el (tramp-file-name-for-operation):
603 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
604
605 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
606 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
607 Add COPY-CONTENTS argument.
a3fcfa99 608
67b0de11
CY
6092012-02-25 Chong Yidong <cyd@gnu.org>
610
611 Add custom groups for VC backends, for consistency with vc-bzr.
612
613 * vc/vc-arch.el (vc-arch):
614 * vc/vc-cvs.el (vc-cvs):
615 * vc/vc-git.el (vc-git):
616 * vc/vc-hg.el (vc-hg):
617 * vc/vc-mtn.el (vc-mtn):
618 * vc/vc-rcs.el (vc-rcs):
619 * vc/vc-sccs.el (vc-sccs):
620 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
621 All relevant defcustoms reassigned.
622
3c9dfce6
CY
6232012-02-25 Chong Yidong <cyd@gnu.org>
624
1339bf43
CY
625 * newcomment.el (comment-styles): Add autoload (Bug#10868).
626
3c9dfce6
CY
627 * term/x-win.el (x-initialize-window-system): Reduce default for
628 x-selection-timeout to 5 seconds (Bug#8869).
629
53a46cd0 6302012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 631
53a46cd0 632 * files.el (file-subdir-of-p): Fix typo.
14a8a663 633
25b2e303 6342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
635
ec70a47d
GM
636 * files.el (files-equal-p, file-subdir-of-p): New functions.
637 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 638 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
639 * dired-aux.el (dired-copy-file-recursive): Same.
640 (dired-create-files): Modify destination when source is equal to
641 dest when copying files.
53a46cd0 642 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 643
914260cd
MA
6442012-02-24 Michael Albinus <michael.albinus@gmx.de>
645
646 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
647 (Bug#10874)
648
2cb228f7
AM
6492012-02-23 Alan Mackenzie <acm@muc.de>
650
651 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
652 parameter "after-hook:" to allow the expansion to run code after
653 the execution of the mode hooks.
654
655 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 656 from font-lock-mode-internal.
2cb228f7 657
91027d08 658 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
659 :after-hook.
660
8f0fde21
SM
6612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
662
3e88618b
SM
663 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
664 (completion--cache-all-sorted-completions): New function.
665 (completion-all-sorted-completions): Use it.
666 (completion--do-completion, minibuffer-force-complete):
667 Use it to re-instate the flush hook.
668
8f0fde21
SM
669 * icomplete.el (icomplete-completions): Replace last fix with a better
670 one (bug#10850).
671
8e911f6f
DG
6722012-02-23 Dmitry Gutov <dgutov@yandex.ru>
673
674 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
675 when it might call us back infinitely (bug#10797).
676
49fe4321
GM
6772012-02-23 Glenn Morris <rgm@gnu.org>
678
679 * minibuffer.el (completion-category-overrides): Doc fix.
680
b291b572
SM
6812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * minibuffer.el (completion-table-with-context): Fix inf-loop.
684 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
685
31a9ef2e
GM
6862012-02-23 Glenn Morris <rgm@gnu.org>
687
5e6e6794 688 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
689 (authors-obsolete-files-regexps, authors-ignored-files)
690 (authors-ambiguous-files, authors-renamed-files-alist):
691 Add more entries.
692
0bd1e074
JL
6932012-02-23 Juri Linkov <juri@jurta.org>
694
695 * isearch.el (isearch-occur): Sync interactive spec with occur's
696 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
697
b617673c
JL
698 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
699
19e9789e
JL
7002012-02-22 Juri Linkov <juri@jurta.org>
701
702 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
703 (ucs-insert): Doc fix. Check for hex digits in the string.
704 Don't display `nil' in the error message. (Bug#10857)
705
f41ce09d
AM
7062012-02-22 Alan Mackenzie <acm@muc.de>
707
7a71b18d 708 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 709
ac2eceee
GM
7102012-02-22 Glenn Morris <rgm@gnu.org>
711
712 * ffap.el (ffap-c-path):
713 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
714
abd1f678
CY
7152012-02-22 Chong Yidong <cyd@gnu.org>
716
717 * custom.el (load-theme): Doc fix.
718
f25aef2e
GM
7192012-02-22 Glenn Morris <rgm@gnu.org>
720
721 * dired-x.el (dired-guess-shell-alist-default):
722 Remove escape sequences from nroff output. (Bug#172)
723
5f8dc2ca
GM
7242012-02-21 Glenn Morris <rgm@gnu.org>
725
6ff86ec4
GM
726 * vc/emerge.el (emerge-defvar-local):
727 Set `permanent-local' property rather than unused `preserved'.
728
be3223a3 729 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
730 (picture-mode-map): Use it. (Bug#10860)
731 (picture-mode): Doc fix.
732
3fe58f4f
JB
7332012-02-21 Juanma Barranquero <lekktu@gmail.com>
734
735 * newcomment.el (uncomment-region-default): Remove unused binding.
736
f9a998c3
GM
7372012-02-21 Glenn Morris <rgm@gnu.org>
738
739 * textmodes/picture.el (picture-motion, picture-motion-reverse)
740 (picture-self-insert, picture-tab-chars): Doc fix.
741 (picture-mode-map): Fix C-a, C-e.
742
c6029348
GM
7432012-02-20 Glenn Morris <rgm@gnu.org>
744
745 * emacs-lisp/authors.el (authors-aliases): Add another entry.
746
ab1ce9d7
LL
7472012-02-20 Leo Liu <sdl.web@gmail.com>
748
749 * icomplete.el (icomplete-completions): Check FROM arg before
750 passing to substring (Bug#10850).
751
0fd40f89
CY
7522012-02-19 Chong Yidong <cyd@gnu.org>
753
754 * comint.el: Require ansi-color.
755 (comint-output-filter-functions): Add ansi-color-process-output.
756
757 * ansi-color.el: Don't set comint-output-filter-functions; it is
758 now in the initial value defined in comint.el.
759 (ansi-color-apply-face-function): New variable.
760 (ansi-color-apply-on-region): Use it.
761 (ansi-color-apply-overlay-face): New function.
762
763 * shell.el (shell): No need to require ansi-color.
764 (shell-mode): Use ansi-color-apply-face-function to highlight
765 color escapes using font-lock-face property (Bug#10835).
766
20af2394
CY
7672012-02-19 Chong Yidong <cyd@gnu.org>
768
769 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
770 mode-line formats (Bug#10839).
771
e23a3fbe
GM
7722012-02-18 Glenn Morris <rgm@gnu.org>
773
b474519e
GM
774 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
775
776 * mail/undigest.el (unforward-rmail-message): Doc fix.
777
e23a3fbe
GM
778 * saveplace.el (save-place-ignore-files-regexp): Add :version.
779
57939ff4
EZ
7802012-02-18 Eli Zaretskii <eliz@gnu.org>
781
782 * international/characters.el (script-list): Sync with the latest
783 Unicode Character Database.
784
0c23686e
AS
7852012-02-18 Andreas Schwab <schwab@linux-m68k.org>
786
787 * international/titdic-cnv.el: Remove duplicate coding tag.
788 * language/cham.el: Likewise.
789 * language/tai-viet.el: Likewise.
790
6818b449
GM
7912012-02-18 Glenn Morris <rgm@gnu.org>
792
793 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
794 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
795 (calendar-bahai-all-holidays-flag, calendar-other-dates):
796 * calendar/diary-lib.el (diary-abbreviated-year-flag):
797 * calendar/holidays.el (holiday-bahai-holidays)
798 (calendar-holidays, list-holidays):
799 Use utf-8 Bahá'í in doc-strings, menus, etc.
800
0311a3fc
TH
8012012-02-17 Tassilo Horn <tassilo@member.fsf.org>
802
803 * saveplace.el (save-place-ignore-files-regexp): New variable
804 allowing for excluding files from saving their location of point.
805 The default value matches the temporary commit message editing
806 files from Git, SVN, Bazaar, and Mercurial.
807 (save-place-to-alist): Use it.
808
eb864a71
LM
8092012-02-17 Lawrence Mitchell <wence@gmx.li>
810 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * newcomment.el (uncomment-region-default): Don't leave extra space
813 when an arg is provided (bug#8150).
814
ee0ce425
TZ
8152012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
816
eb864a71 817 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 818
95ddf442
GM
8192012-02-17 Glenn Morris <rgm@gnu.org>
820
821 * net/socks.el: Require network-stream. (Bug#10599)
822
48dd1e39 8232012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
824
825 * international/charprop.el:
826 * international/uni-name.el:
827 * international/uni-old-name.el:
828 * international/uni-comment.el: Regenerate.
829
d68cd087
GM
8302012-02-16 Glenn Morris <rgm@gnu.org>
831
832 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
833 Interactively in calendar buffer, give an error if not on a date.
834
13932042
GM
8352012-02-15 Glenn Morris <rgm@gnu.org>
836
837 * shell.el (shell-delimiter-argument-list):
838 Revert 2011-02-17 change. (Bug#8027)
839
c3a70e2b
CY
8402012-02-15 Chong Yidong <cyd@gnu.org>
841
60236b0d
CY
842 * minibuffer.el (completion-at-point-functions): Doc fix.
843
c3a70e2b
CY
844 * custom.el (defcustom): Doc fix; note use of defvar.
845
9f26dc24
GM
8462012-02-15 Glenn Morris <rgm@gnu.org>
847
848 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
849 Doc fixes.
850
6546b134
GM
8512012-02-14 Glenn Morris <rgm@gnu.org>
852
853 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
854
d29b2b4c
LI
8552012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
856
857 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
858 way the ports list is computed.
835bdcba
LI
859 (smtpmail-query-smtp-server): Prompt the user for a port number if
860 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 861
08dcdbc9
TZ
8622012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
863
864 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
865
2605051a
GM
8662012-02-13 Glenn Morris <rgm@gnu.org>
867
868 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
869
7ee99f32
TZ
8702012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
871
872 * net/gnutls.el (gnutls-trustfiles): New variable.
873 (gnutls-negotiate): Use it.
874
5f0af64f
LI
8752012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
876
877 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
878 does its stuff if Gnus is running.
879
c14fcc95
AM
8802012-02-13 Alan Mackenzie <acm@muc.de>
881
882 Fix a loop in c-set-fl-decl-start.
883
7a71b18d 884 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
885 c-backward-syntactic-ws actually moves backwards.
886
142b4d90
LL
8872012-02-13 Leo Liu <sdl.web@gmail.com>
888
889 * net/rcirc.el (rcirc-markup-attributes): Move point to the
890 beginning so that all \C-o chars are removed.
891
fa9958a6
TZ
8922012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
893
dc9924b8 894 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 895
0bc5886a
AM
8962012-02-12 Alan Mackenzie <acm@muc.de>
897
898 Fix infinite loop with long macros.
899 * cc-engine.el (c-state-safe-place): Handle macros properly.
900
d4bd55e7
CY
9012012-02-12 Chong Yidong <cyd@gnu.org>
902
903 * window.el (display-buffer): Doc fix (Bug#10785).
904
66f3fe22
GM
9052012-02-12 Glenn Morris <rgm@gnu.org>
906
bd7da63e
GM
907 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
908 (x-disown-selection-internal, x-get-selection-internal):
909 Sync docs with the xselect.c versions.
910
66f3fe22
GM
911 * allout-widgets.el: Add missing license notice.
912
3e0d2fa7
GM
9132012-02-11 Glenn Morris <rgm@gnu.org>
914
cfecdf09
GM
915 * select.el (x-get-selection-internal, x-own-selection-internal)
916 (x-disown-selection-internal):
917 * x-dnd.el (x-get-selection-internal): Update declarations.
918
6d216d7f
GM
919 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
920
2bed3f04
GM
921 * window.el (window-sides-slots):
922 * tool-bar.el (tool-bar-position):
923 * term/xterm.el (xterm-extra-capabilities):
924 * ses.el (ses-self-reference-early-detection):
925 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
926 (verilog-auto-wire-type)
927 (verilog-auto-delete-trailing-whitespace)
928 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
929 (verilog-auto-tieoff-declaration):
930 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
931 (sql-oracle-statement-starters, sql-oracle-scan-on):
932 * progmodes/prolog.el (prolog-align-comments-flag)
933 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
934 (prolog-left-indent-regexp, prolog-paren-indent-p)
935 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
936 (prolog-types, prolog-mode-specificators)
937 (prolog-determinism-specificators, prolog-directives)
938 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
939 (prolog-electric-dot-flag)
940 (prolog-electric-dot-full-predicate-template)
941 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
942 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
943 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
944 (prolog-program-switches, prolog-prompt-regexp)
945 (prolog-debug-on-string, prolog-debug-off-string)
946 (prolog-trace-on-string, prolog-trace-off-string)
947 (prolog-zip-on-string, prolog-zip-off-string)
948 (prolog-use-standard-consult-compile-method-flag)
949 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
950 (prolog-imenu-max-lines, prolog-info-predicate-index)
951 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
952 (prolog-char-quote-workaround):
953 * progmodes/cc-vars.el (c-defun-tactic):
954 * net/tramp.el (tramp-encoding-command-interactive)
955 (tramp-local-end-of-line):
956 * net/soap-client.el (soap-client):
957 * net/netrc.el (netrc-file):
958 * net/gnutls.el (gnutls):
959 * minibuffer.el (completion-category-overrides)
960 (completion-cycle-threshold)
961 (completion-pcm-complete-word-inserts-delimiters):
962 * man.el (Man-name-local-regexp):
963 * mail/feedmail.el (feedmail-display-full-frame):
964 * international/characters.el (glyphless-char-display-control):
965 * eshell/em-ls.el (eshell-ls-date-format):
966 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
967 (lisp-lambda-list-keyword-parameter-indentation)
968 (lisp-lambda-list-keyword-parameter-alignment):
969 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
970 * dired-x.el (dired-omit-verbose):
971 * cus-theme.el (custom-theme-allow-multiple-selections):
972 * calc/calc.el (calc-highlight-selections-with-faces)
973 (calc-lu-field-reference, calc-lu-power-reference)
974 (calc-note-threshold):
975 * battery.el (battery-mode-line-limit):
976 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
977 (archive-7z-update):
978 * allout.el (allout-prefixed-keybindings)
979 (allout-unprefixed-keybindings)
980 (allout-inhibit-auto-fill-on-headline)
981 (allout-flattened-numbering-abbreviation):
982 * allout-widgets.el (allout-widgets-auto-activation)
983 (allout-widgets-icons-dark-subdir)
984 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
985 (allout-widgets-theme-dark-background)
986 (allout-widgets-theme-light-background)
987 (allout-widgets-item-image-properties-emacs)
988 (allout-widgets-item-image-properties-xemacs)
989 (allout-widgets-run-unit-tests-on-load)
990 (allout-widgets-time-decoration-activity)
991 (allout-widgets-hook-error-post-time)
992 (allout-widgets-track-decoration):
993 Add missing :version tags to new defcustoms and defgroups.
994
5fec1b8e
GM
995 * progmodes/sql.el (sql-ansi-statement-starters)
996 (sql-oracle-statement-starters): Add custom type.
997
3e0d2fa7
GM
998 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
999 (prolog-system-version): Give it a type.
1000
90b671e2
EZ
10012012-02-11 Eli Zaretskii <eliz@gnu.org>
1002
1003 * term/pc-win.el (x-select-text, x-selection-owner-p)
1004 (x-own-selection-internal, x-disown-selection-internal)
1005 (x-get-selection-internal): Sync doc strings and argument lists
1006 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1007
5eac0c02
LL
10082012-02-11 Leo Liu <sdl.web@gmail.com>
1009
1010 * progmodes/python.el (python-end-of-statement): Fix infinite
1011 loop. (Bug#10788)
1012
f82cb659
GM
10132012-02-10 Glenn Morris <rgm@gnu.org>
1014
1015 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1016 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1017
cc26d239
LI
10182012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1019
1020 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1021 about SMTP before checking the From header.
1022
91027d08 1023 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1024 into own function for reuse by emacsbug.el.
1025
1be3ca5a
LL
10262012-02-10 Leo Liu <sdl.web@gmail.com>
1027
1028 * subr.el (condition-case-unless-debug): Rename from
1029 condition-case-no-debug. All callers changed.
1030 (with-demoted-errors): Fix caller.
1031
1032 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1033 * nxml/rng-valid.el (rng-do-some-validation):
1034 * emacs-lisp/package.el (package-refresh-contents)
1035 (package-menu-execute):
1036 * desktop.el (desktop-create-buffer):
91027d08 1037 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1038
b011fbfe
GM
10392012-02-10 Glenn Morris <rgm@gnu.org>
1040
b2096d72
GM
1041 * textmodes/bibtex.el:
1042 Add missing :version tags for new/changed defcustoms.
1043
b011fbfe
GM
1044 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1045
4c7e65bf
LI
10462012-02-09 Lars Ingebrigtsen <larsi@rusty>
1047
1048 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1049 (smtpmail-via-smtp): Use it, or fall back on the From address.
1050 (smtpmail-send-it): Ditto.
1051
f3934f6f
SM
10522012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1055 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1056 (byte-compile-tmp-var): New const.
1057 (byte-compile-defvar): Use it to minimize .elc size.
1058 Just use `defvar' rather than simulate it (bug#10761).
1059
a075a2c5
GM
10602012-02-09 Glenn Morris <rgm@gnu.org>
1061
cf3aa21b
GM
1062 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1063
354998cd
GM
1064 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1065 Add :version tags.
1066
dc9924b8
SM
1067 * progmodes/compile.el (compilation-error-screen-columns)
1068 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1069
dab3703d
GM
1070 * vc/log-view.el (log-view-toggle-entry-display):
1071 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1072
3f88cd72
GM
1073 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1074 (report-emacs-bug-can-use-xdg-email):
1075 (report-emacs-bug-insert-to-mailer): Doc fixes.
1076 (report-emacs-bug): Message fix.
1077
d95b247d
GM
1078 * net/browse-url.el (browse-url-can-use-xdg-open)
1079 (browse-url-xdg-open): Doc fixes.
1080
a075a2c5
GM
1081 * electric.el (electric-indent-mode, electric-pair-mode)
1082 (electric-layout-rules, electric-layout-mode): Doc fixes.
1083 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1084
ffb6157e
MR
10852012-02-08 Martin Rudalics <rudalics@gmx.at>
1086
1087 * server.el (server-unselect-display): Don't inadvertently kill
1088 the current buffer. (Bug#10729)
1089
e1ac4066
GM
10902012-02-08 Glenn Morris <rgm@gnu.org>
1091
34e8a2da
GM
1092 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1093 (sql-list-table): Doc fixes.
1094
b4ac6e8c
GM
1095 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1096 Comment out (does nothing).
1097
e1ac4066
GM
1098 * completion.el (dynamic-completion-mode):
1099 * dirtrack.el (dirtrack-debug-mode):
1100 * electric.el (electric-layout-mode):
1101 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1102 * face-remap.el (text-scale-mode, buffer-face-mode):
1103 * iimage.el (iimage-mode):
1104 * image-mode.el (image-transform-mode):
1105 * minibuffer.el (completion-in-region-mode):
1106 * scroll-lock.el (scroll-lock-mode):
1107 * simple.el (next-error-follow-minor-mode):
1108 * tar-mode.el (tar-subfile-mode):
1109 * tooltip.el (tooltip-mode):
1110 * vcursor.el (vcursor-use-vcursor-map):
1111 * wid-browse.el (widget-minor-mode):
1112 * emulation/tpu-edt.el (tpu-edt-mode):
1113 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1114 * international/iso-ascii.el (iso-ascii-mode):
1115 * language/thai-util.el (thai-word-mode):
1116 * mail/supercite.el (sc-minor-mode):
1117 * net/goto-addr.el (goto-address-mode):
1118 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1119 * progmodes/cwarn.el (cwarn-mode):
1120 * progmodes/flymake.el (flymake-mode):
1121 * progmodes/glasses.el (glasses-mode):
1122 * progmodes/hideshow.el (hs-minor-mode):
1123 * progmodes/pascal.el (pascal-outline-mode):
1124 * textmodes/enriched.el (enriched-mode):
1125 * vc/smerge-mode.el (smerge-mode):
1126 Doc fixes (minor mode argument).
1127
5e0d957f
EZ
11282012-02-07 Eli Zaretskii <eliz@gnu.org>
1129
1130 * ls-lisp.el (ls-lisp-sanitize): New function.
1131 (ls-lisp-insert-directory): Use it to fix or remove any elements
1132 in file-alist with missing attributes. (Bug#4673)
1133
98d7371e
AM
11342012-02-07 Alan Mackenzie <acm@muc.de>
1135
1136 Fix spurious recognition of c-in-knr-argdecl.
1137
1138 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1139 putative K&R region.
1140
667ced3a
AM
11412012-02-07 Alan Mackenzie <acm@muc.de>
1142
eb864a71
LM
1143 * progmodes/cc-engine.el (c-forward-objc-directive):
1144 Prevent looping in "#pragma mark @implementation".
667ced3a 1145
5b77774d
MA
11462012-02-07 Michael Albinus <michael.albinus@gmx.de>
1147
1148 * notifications.el (notifications-on-closed-signal): Make `reason'
1149 optional. (Bug#10744)
1150
af008560
GM
11512012-02-07 Glenn Morris <rgm@gnu.org>
1152
60d47423
GM
1153 * emacs-lisp/easy-mmode.el (define-minor-mode):
1154 Doc fixes for the macro and the mode it defines.
1155
dd605cc4
GM
1156 * image.el (imagemagick-types-inhibit): Doc fix.
1157
af008560
GM
1158 * cus-start.el (imagemagick-render-type): Add it.
1159
5cc59a37
LI
11602012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1161
1162 * progmodes/cc-mode.el
1163 (c-standard-font-lock-fontify-region-function): Set the default at
1164 load time, too, so that `font-lock-fontify-buffer' can be called
1165 without setting up the entire mode first. This fixes a bug in
1166 `mm-inline-text' with C MIME parts.
1167
9a6dd747
CY
11682012-02-06 Chong Yidong <cyd@gnu.org>
1169
2d16b285
CY
1170 * simple.el (list-processes--refresh): Delete exited processes
1171 (Bug#8094).
1172
171e9b6e
CY
1173 * comint.el (comint-next-prompt): next-single-char-property-change
1174 and prev-single-char-property-change never return nil (Bug#8657).
1175
9a6dd747
CY
1176 * custom.el (defcustom): Doc fix (Bug#9711).
1177
aa4589a7
CY
11782012-02-05 Chong Yidong <cyd@gnu.org>
1179
5c2a252f
CY
1180 * cus-edit.el (custom-variable-reset-backup): Quote the value
1181 before storing it in the customized-value property (Bug#6712).
4aab9006 1182 (custom-display): Add a customization type tag.
983b9602 1183 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1184
aa4589a7
CY
1185 * wid-edit.el (widget-field-value-get): New optional arg to
1186 suppress trailing whitespace truncation.
1187 (character): Use it (Bug#2689).
1188
1ff980ae
AS
11892012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1190
1191 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1192 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1193
03988c98
CY
11942012-02-05 Chong Yidong <cyd@gnu.org>
1195
eeb6cc88
CY
1196 * cus-edit.el (custom-variable-value-create): For mismatched
1197 types, show the current value (Bug#7600).
1198
03988c98
CY
1199 * custom.el (defcustom): Doc fix.
1200
f8cdeef0
GM
12012012-02-05 Glenn Morris <rgm@gnu.org>
1202
1203 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1204
0696d255
JB
12052012-02-05 Juanma Barranquero <lekktu@gmail.com>
1206
1207 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1208 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1209 (pp-last-sexp): Use `looking-at-p'.
1210
34c99998
GM
12112012-02-04 Glenn Morris <rgm@gnu.org>
1212
8f05da42
GM
1213 * files.el (revert-buffer):
1214 Doc fix (mention revert-buffer-in-progress-p).
1215
f160676e
GM
1216 * emacs-lisp/ert-x.el (ert-simulate-command):
1217 Check deferred-action-list (which is obsolete) is bound.
1218
c7291ad9
GM
1219 * subr.el (with-wrapper-hook): Doc fixes.
1220
34c99998
GM
1221 * simple.el (filter-buffer-substring-functions)
1222 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1223
6283a7d3
LL
12242012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1225
1226 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1227 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1228
e96e3013
LL
12292012-02-04 Leo Liu <sdl.web@gmail.com>
1230
1231 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1232
8ded50f2
GM
12332012-02-04 Glenn Morris <rgm@gnu.org>
1234
82ff1d13
GM
1235 * image.el (image-extension-data): Add obsolete alias.
1236
987a0a16
GM
1237 * isearch.el (isearch-update): Doc fix.
1238
ea32ef46
GM
1239 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1240
8ded50f2
GM
1241 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1242
eea14f31
GM
12432012-02-03 Glenn Morris <rgm@gnu.org>
1244
1245 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1246 (image-animate-timeout): Doc fix.
1247
1248 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1249
12f381b7
GM
12502012-02-02 Glenn Morris <rgm@gnu.org>
1251
953cebf5
GM
1252 * server.el (server-auth-dir): Doc fix.
1253 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1254
12f381b7
GM
1255 * subr.el (run-mode-hooks): Doc fix.
1256
953a8c3b
JL
12572012-02-02 Juri Linkov <juri@jurta.org>
1258
1259 * image-mode.el (image-toggle-display-image): Remove tautological
1260 `major-mode' from the `derived-mode-p' test.
1261
c5d3843c
KH
12622012-02-02 Kenichi Handa <handa@m17n.org>
1263
9f6e692e 1264 * composite.el (compose-region): Cancel previous change.
c5d3843c 1265
159462d4 12662012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1267
1268 * composite.el (compose-region, compose-string): Signal error for
1269 a null string component (Bug#6988).
1270
9f562668
CY
12712012-02-01 Chong Yidong <cyd@gnu.org>
1272
e2cef717
CY
1273 * view.el (view-buffer-other-window, view-buffer-other-frame):
1274 Handle special modes like view-buffer (Bug#10650).
1275 (view-buffer): Simplify.
1276
9f562668
CY
1277 * frame.el (set-frame-font): Tweak meaning of third argument.
1278
9f6e692e
JB
1279 * dynamic-setting.el (font-setting-change-default-font):
1280 Use set-frame-font (Bug#9982).
9f562668 1281
781acb9f
GM
12822012-02-01 Glenn Morris <rgm@gnu.org>
1283
6035be52
GM
1284 * progmodes/compile.el (compilation-internal-error-properties):
1285 Respect compilation-first-column in the "*compilation*" buffer.
1286
781acb9f
GM
1287 * emacs-lisp/easy-mmode.el (define-minor-mode):
1288 Relax :variable's test for a named function.
1289
abbceb00
AM
12902012-01-31 Alan Mackenzie <acm@muc.de>
1291
1292 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1293 off by one error.
1294
fce3fdeb
CY
12952012-01-31 Chong Yidong <cyd@gnu.org>
1296
1297 * frame.el (set-frame-font): New arg ALL-FRAMES.
1298
1299 * menu-bar.el (menu-set-font): Use set-frame-font.
1300
1301 * faces.el (face-spec-reset-face): Don't apply unspecified
1302 attribute values to the default face.
1303
47893581
JB
13042012-01-31 Juanma Barranquero <lekktu@gmail.com>
1305
1306 * progmodes/cwarn.el (cwarn): Remove dead link.
1307 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1308 Remove * from defcustom docstrings.
1309 (turn-on-cwarn-mode): Make obsolete.
1310 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1311 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1312
e58e988a
GM
13132012-01-31 Glenn Morris <rgm@gnu.org>
1314
60dc2671 1315 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1316 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1317 Allow named functions to be used as the cdr of :variable.
e58e988a 1318
7a3f511d
GM
13192012-01-30 Glenn Morris <rgm@gnu.org>
1320
1321 * emacs-lisp/authors.el (authors-fixed-entries):
1322 Remove reference to deleted file rnewspost.el.
1323
cb882333
JB
13242012-01-29 Juanma Barranquero <lekktu@gmail.com>
1325
1326 * window.el (window-with-parameter): Remove unused variable `windows'.
1327 (window--side-check): Remove unused variable `code'.
1328 (window--resize-siblings): Remove unused variable `first'.
1329 (adjust-window-trailing-edge): Remove unused variable `failed'.
1330 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1331 Use `let', not `let*'.
1332 (balance-windows-2): Remove unused variable `found'.
1333 (window--state-put-2): Remove unused variable `splits'.
1334 (window-state-put): Remove unused variable `selected'.
1335 (same-window-p): Use `string-match-p'.
1336 (display-buffer-assq-regexp): Remove unused variable `value'.
1337 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1338 Mark argument ALIST as ignored.
1339 (pop-to-buffer): Remove unused variable `old-window'.
1340
907201af
EZ
13412012-01-29 Eli Zaretskii <eliz@gnu.org>
1342
1343 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1344 and .lzma compressed files.
1345
ea162670
CY
13462012-01-29 Chong Yidong <cyd@gnu.org>
1347
5b95ee8a
CY
1348 * frame.el (window-system-default-frame-alist): Doc fix.
1349
ea162670
CY
1350 * dynamic-setting.el (font-setting-change-default-font): Don't
1351 change the default face if SET-FONT argument is non-nil (Bug#9982).
1352
d6e6f4b1
SB
13532012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1354
1355 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1356
0f29fa41 13572012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1358
1359 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1360 breakpoints in files outside current directory (Bug#6098).
1361
db174434
CY
13622012-01-29 Chong Yidong <cyd@gnu.org>
1363
6b25e4e2
SE
1364 * progmodes/python.el: Require ansi-color at top-level.
1365
6df6ae42
JB
1366 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1367 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1368 (lisp-mode-abbrev-table): Add doc.
1369 (lisp-mode-variables): Don't set local-abbrev-table.
1370 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1371
e70ee681
RW
13722012-01-28 Roland Winkler <winkler@gnu.org>
1373
1374 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1375
ace88aa2
RW
13762012-01-28 Roland Winkler <winkler@gnu.org>
1377
1378 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1379 (bibtex-set-dialect): Use it. Either set global values of
1380 dialect-dependent variables or bind these variables buffer-locally
1381 (Bug#10254).
1382 (bibtex-mode): Call bibtex-set-dialect via
1383 hack-local-variables-hook.
eb864a71
LM
1384 (bibtex-dialect): Update docstring.
1385 Add safe-local-variable predicate.
ace88aa2
RW
1386 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1387 bibtex-set-dialect.
1388 (bibtex-mode-map): Define menu for each dialect.
1389 (bibtex-entry): Fix docstring.
1390
93376c5b
CY
13912012-01-28 Chong Yidong <cyd@gnu.org>
1392
1393 * eshell/esh-arg.el (eshell-quote-argument): New function.
1394
1395 * eshell/esh-ext.el (eshell-invoke-batch-file):
1396 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1397 first arg to eshell-parse-command (Bug#10523).
1398
4372494f
DA
13992012-01-28 Drew Adams <drew.adams@oracle.com>
1400
1401 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1402 `default-directory' is non-nil.
1403
4d4ec1f8
EZ
14042012-01-28 Eli Zaretskii <eliz@gnu.org>
1405
1406 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1407 line that displays system-configuration-options. (Bug#9924)
1408
7c188927
DA
14092012-01-28 Drew Adams <drew.adams@oracle.com>
1410
1411 * descr-text.el (describe-char): Show information about POS, in
1412 addition to information about the character at POS. Improve and
1413 update the doc string. Change "code point" to "code point in
1414 charset", to avoid confusion with the character's Unicode code
1415 point shown above that. (Bug#10129)
1416
e0da685a
EZ
14172012-01-28 Eli Zaretskii <eliz@gnu.org>
1418
1419 * descr-text.el (describe-char): Show the raw character, not only
1420 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1421 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1422 for the reasons.
1423
70550acf
PH
14242012-01-28 Phil Hagelberg <phil@hagelb.org>
1425
eb864a71
LM
1426 * emacs-lisp/package.el (package-install):
1427 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1428
0ce8e868
CY
14292012-01-28 Chong Yidong <cyd@gnu.org>
1430
cb882333
JB
1431 * emacs-lisp/package.el (package-maybe-load-descriptor):
1432 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1433 (package-maybe-load-descriptor): Use it.
1434 (package-download-transaction): Fully load required packages
1435 inside the loop, so that `require' calls work (Bug#10593).
1436 (package-install): No need to call package-initialize now.
1437
2e7f3bea
CY
14382012-01-28 Chong Yidong <cyd@gnu.org>
1439
6e9bad14
CY
1440 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1441
f823b8ca
CY
1442 * tooltip.el (tooltip-mode): Doc fix.
1443 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1444
2680c309
CY
1445 * frame.el (set-cursor-color): Doc fix (Bug#352).
1446
d7a9e63b
CY
1447 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1448 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1449
2e7f3bea
CY
1450 * cus-edit.el (custom-buffer-create-internal): Fix search button
1451 action (Bug#10542).
2ae01800 1452 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1453
fc4f7a23
EW
14542012-01-27 Eduard Wiebe <usenet@pusto.de>
1455
1456 * dired.el (dired-mark-files-regexp):
1457 Include any subdirectory components. (Bug#10445)
1458
7dd37071
ML
14592012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1460
1461 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1462 Handle [host]:port syntax. (Bug#10533)
1463
a268160b
AH
14642012-01-27 Alex Harsanyi <harsanyi@mac.com>
1465
1466 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1467
e43273ef
GM
14682012-01-26 Glenn Morris <rgm@gnu.org>
1469
1470 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1471 * term.el (term-raw-escape-map): Use Control-X-prefix.
1472 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1473
1edf595d
MR
14742012-01-25 Martin Rudalics <rudalics@gmx.at>
1475
1476 * window.el (window-state-get, window--state-get-1): Don't deal
1477 with fixed-sizeness of windows. Simplify code.
1478
fa8eafef
JC
14792012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1480
6df6ae42
JB
1481 * window.el (window--state-get-1, window--state-put-2):
1482 Don't save and restore the mark.
fa8eafef 1483
0b21c100
CY
14842012-01-25 Chong Yidong <cyd@gnu.org>
1485
1486 * custom.el (custom-variable-p): Doc fix.
1487
5ae1a6c8
GM
14882012-01-25 Glenn Morris <rgm@gnu.org>
1489
40047858
GM
1490 * dired.el (dired-goto-file): Handle some of the more common
1491 characters that `ls -b' escapes. (Bug#10596)
1492
5ddce96c
GM
1493 * progmodes/compile.el (compilation-next-error-function):
1494 Respect compilation-first-column in the "*compilation*" buffer.
1495 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1496
5ae1a6c8
GM
1497 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1498
b559f1a9
GM
14992012-01-24 Glenn Morris <rgm@gnu.org>
1500
1501 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1502
6725d21a
JD
15032012-01-24 Julien Danjou <julien@danjou.info>
1504
1505 * color.el (color-rgb-to-hsl): Fix value computing.
1506 (color-hue-to-rgb): New function.
1507 (color-hsl-to-rgb): New function.
1508 (color-clamp, color-saturate-hsl, color-saturate-name)
1509 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1510 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1511
70df4bbe
GM
15122012-01-24 Glenn Morris <rgm@gnu.org>
1513
1514 * vc/vc-rcs.el (vc-rcs-create-tag):
1515 * vc/vc-sccs.el (vc-sccs-create-tag):
1516 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1517
802a2ae2
ML
15182012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1519
1520 * eshell/esh-util.el (eshell-read-hosts-file):
1521 Skip comment lines. (Bug#10549)
1522
d7128bb1
ML
1523 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1524
d1a5c3b4
JB
15252012-01-23 Juanma Barranquero <lekktu@gmail.com>
1526
2724d9c7
JB
1527 * subr.el (display-delayed-warnings): Doc fix.
1528 (collapse-delayed-warnings): New function to collapse identical
1529 adjacent warnings.
1530 (delayed-warnings-hook): Add it.
d1a5c3b4 1531
a5509865
MA
15322012-01-22 Michael Albinus <michael.albinus@gmx.de>
1533
1534 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1535
1536 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1537 properties, when "login-as" is set.
1538
1539 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1540 (tramp-default-user-alist): Don't add "pscp".
1541 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1542 property "login-as", if set. (Bug#10530)
1543
cc6d5805
MA
15442012-01-21 Michael Albinus <michael.albinus@gmx.de>
1545
1546 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1547 "plink1" and "psftp". (Bug#10530)
1548
15492012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1550
1551 * international/mule-cmds.el (prefer-coding-system): Show a
1552 warning message if the default value of file-name-coding-system
1553 was not changed.
1554
f0960428
JC
15552012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1556
cb882333
JB
1557 * windmove.el (windmove-reference-loc):
1558 Fix windmove-reference-loc miscalculation.
f0960428 1559
dd6f2a63
JB
15602012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1561
1562 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1563 default unit.
1564
7b447e9b
GM
15652012-01-21 Glenn Morris <rgm@gnu.org>
1566
117a9ea1
GM
1567 * international/mule.el (auto-coding-alist): Add .tbz.
1568
7b447e9b
GM
1569 * files.el (local-enable-local-variables): Doc fix.
1570 (inhibit-local-variables-regexps): Rename from
1571 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1572 Doc fix. Add some extensions from auto-coding-alist.
1573 (inhibit-local-variables-suffixes):
1574 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1575 (inhibit-local-variables-p):
1576 New function, extracted from set-auto-mode-1.
1577 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1578 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1579 (hack-local-variables): Doc fix. Make the mode-only case
1580 respect enable-local-variables and friends.
1581 Respect inhibit-local-variables-regexps for file-locals, but
1582 not for directory-locals.
1583 (set-visited-file-name):
1584 Take account of inhibit-local-variables-regexps.
1585 Whether it applies may change as the file name is changed.
1586 * jka-cmpr-hook.el (jka-compr-install):
1587 * jka-compr.el (jka-compr-uninstall):
1588 Update for inhibit-first-line-modes-suffixes name change.
1589
dd6e3cdd
MR
15902012-01-20 Martin Rudalics <rudalics@gmx.at>
1591
1592 * help-macro.el (make-help-screen): Temporarily restore original
1593 binding for minor-mode-map-alist (Bug#10454).
1594
0d0deb38
JD
15952012-01-19 Julien Danjou <julien@danjou.info>
1596
1597 * color.el (color-name-to-rgb): Use the white color to find the max
1598 color component value and return correctly computed values.
1599 (color-name-to-rgb): Add missing float conversion for max value.
1600
34a02f46
MR
16012012-01-19 Martin Rudalics <rudalics@gmx.at>
1602
1603 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1604 special state value for window-persistent-parameters.
1605 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1606 (window--state-put-2): Reset all window parameters to nil before
1607 assigning values of persistent parameters.
1608
606c44c4
AM
16092012-01-18 Alan Mackenzie <acm@muc.de>
1610
1611 Eliminate sluggishness and hangs in fontification of "semicolon
1612 deserts".
1613
cb882333
JB
1614 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1615 Change value 10000 -> 3000.
606c44c4
AM
1616 (c-state-safe-place): Reformulate so it doesn't stack up an
1617 infinite number of wrong entries in c-state-nonlit-pos-cache.
1618 (c-determine-limit-get-base, c-determine-limit): New functions to
1619 determine backward search limits disregarding literals.
1620 (c-find-decl-spots): Amend commenting.
1621 (c-cheap-inside-bracelist-p): New function which detects "={".
1622
1623 * progmodes/cc-fonts.el
1624 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1625 backward search.
1626 (c-font-lock-declarations): Fix an occurrence of point being
1627 undefined. Check additionally for point being in a bracelist or
1628 near a macro invocation without a semicolon so as to avoid a
1629 fruitless time consuming search for a declarator. Give a more
1630 precise search limit for declarators using the new
1631 c-determine-limit.
1632
f3860cea
GM
16332012-01-18 Glenn Morris <rgm@gnu.org>
1634
1635 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1636 (set-auto-mode): Doc fixes.
1637
1db03b16
GM
16382012-01-17 Glenn Morris <rgm@gnu.org>
1639
0e6038be
GM
1640 * isearch.el (search-nonincremental-instead): Fix doc typo.
1641
1db03b16
GM
1642 * dired.el (dired-insert-directory): Handle newlines in directory name.
1643 (dired-build-subdir-alist): Unescape newlines in directory name.
1644
4cb0aa75
MA
16452012-01-17 Michael Albinus <michael.albinus@gmx.de>
1646
1647 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1648 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1649 (tramp-action-terminal): Use it. (Bug#10530)
1650
1d00653d
SM
16512012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1654
6a6ee00d
MR
16552012-01-16 Martin Rudalics <rudalics@gmx.at>
1656
1657 * window.el (window-state-ignored-parameters): Remove variable.
1658 (window--state-get-1): Rename argument MARKERS to IGNORE.
1659 Handle persistent window parameters. Make copy of clone-of
1660 parameter only if requested. (Bug#10348)
1661 (window--state-put-2): Install a window parameter only if it has
1662 a non-nil value or an existing parameter shall be overwritten.
1663
97912def
MA
16642012-01-15 Michael Albinus <michael.albinus@gmx.de>
1665
1666 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1667
688070a5
EZ
16682012-01-14 Eli Zaretskii <eliz@gnu.org>
1669
1670 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1671 don't pass the (nil) value of `upnode' to string-match.
1672
301afadc
CY
16732012-01-14 Chong Yidong <cyd@gnu.org>
1674
1675 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1676 Fix values recognized by the cursorBlink resource.
301afadc 1677
9e5788aa
PE
16782012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1679
1680 * epg.el (epg--make-temp-file): Avoid permission race condition
1681 when running on old Emacs versions (bug#10403).
1682
3cdb7f5a
GM
16832012-01-14 Glenn Morris <rgm@gnu.org>
1684
1685 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1686
8c82b1b4
AM
16872012-01-13 Alan Mackenzie <acm@muc.de>
1688
1689 Fix filling for when filladapt mode is enabled.
1690
1691 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1692 c-mask-paragraph, pass in `fill-paragraph' rather than
1693 `fill-region-as-paragraph'. (This is a reversion of a previous
1694 change.)
eb864a71
LM
1695 * progmodes/cc-mode.el (c-basic-common-init):
1696 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1697
e517eda4
GM
16982012-01-13 Glenn Morris <rgm@gnu.org>
1699
1498536e
GM
1700 * dired.el (dired-switches-escape-p): New function.
1701 (dired-insert-directory): Use dired-switches-escape-p.
1702 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1703
e517eda4
GM
1704 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1705
328f984d
GM
17062012-01-12 Glenn Morris <rgm@gnu.org>
1707
1708 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1709 changes in adaptive-fill-regexp. (Bug#10276)
1710
2cc769a8
AM
17112012-01-11 Alan Mackenzie <acm@muc.de>
1712
1713 Fix Emacs bug #10463 - put `widen's around the critical spots.
1714
1d00653d 1715 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1716 widen around each invocation of c-state-pp-to-literal. Remove an
1717 unused let variable.
1718
e52c37fa
GM
17192012-01-11 Glenn Morris <rgm@gnu.org>
1720
1721 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1722 Doc fix.
e52c37fa 1723
96f8741e
CY
17242012-01-10 Chong Yidong <cyd@gnu.org>
1725
1d00653d
SM
1726 * net/network-stream.el (network-stream-open-starttls):
1727 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1728 response to the capability command.
1729
b09a806e
GM
17302012-01-10 Glenn Morris <rgm@gnu.org>
1731
1732 * mail/unrmail.el (unrmail): Tweak previous change.
1733
7655cb66
CY
17342012-01-09 Chong Yidong <cyd@gnu.org>
1735
1736 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1737
9d5a8f0b
AM
17382012-01-08 Alan Mackenzie <acm@muc.de>
1739
1740 Optimise font locking in long enum definitions.
1741
1742 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1743 arm to a cond form to handle enums.
1744 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1745 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1746
9a0115ab 17472012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1748
1749 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1750 (Bug#10401)
6bb72cbd 1751
f186bb95
LMI
17522012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1753
29232a68
LMI
1754 * faces.el (set-face-attribute): Clarify the meaning of the nil
1755 frame (bug#10294).
1756
4e5d086d
LMI
1757 * subr.el (with-selected-frame): Mention that the selected frame
1758 is restored (bug#9980).
1759
8e66aebe
LMI
1760 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1761 (bug#9759).
1762
cd394be1 1763 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1764 (password-read): Don't autoload unused function.
1765
adf4e762
JB
17662012-01-07 Juanma Barranquero <lekktu@gmail.com>
1767
1768 * progmodes/which-func.el (which-func-mode): Turn into a
1769 non-interactive function and mark as obsolete (bug#10428).
1770
89bd9ccd
CY
17712012-01-06 Chong Yidong <cyd@gnu.org>
1772
1773 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1774 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1775 functions, along with 1 and -1.
1776
4afee9d5
EZ
17772012-01-06 Eli Zaretskii <eliz@gnu.org>
1778
1779 * time.el (display-time-load-average)
1780 (display-time-default-load-average): Doc fixes. See the thread
1781 starting at
1782 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1783 for the details.
1784
536aea70
GM
17852012-01-06 Glenn Morris <rgm@gnu.org>
1786
665ae865
GM
1787 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1788 has no messages. (Bug#10377)
1789
c869783d
GM
1790 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1791 than Info-edit. (Bug#10385)
1792
2bb4227e
GM
1793 * time.el (display-time-load-average, display-time-next-load-average):
1794 Doc fixes.
1795
7d5944b9
GM
1796 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1797 local setting of buffer-read-only to the input buffer. (Bug#10419)
1798
536aea70
GM
1799 * calendar/calendar.el (calendar-mode):
1800 Locally set scroll-margin to 0. (Bug#10379)
1801
7dccca16
UM
18022012-01-06 Ulrich Mueller <ulm@gentoo.org>
1803
1804 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1805
afbb7930
GM
18062012-01-05 Glenn Morris <rgm@gnu.org>
1807
1808 * eshell/em-unix.el (diff-no-select): Autoload it.
1809 (eshell/diff): Use diff-no-select. (Bug#10420)
1810
04482335
CY
18112012-01-05 Chong Yidong <cyd@gnu.org>
1812
7baca3bc
CY
1813 * shell.el (shell-dynamic-complete-functions): Revert last change.
1814 (shell-command-completion-function): New function.
1815 (shell-completion-vars): Use it to implement
1816 shell-completion-execonly (Bug#10417).
1817
04482335
CY
1818 * custom.el (enable-theme): Don't set custom-safe-themes.
1819
1d00653d
SM
1820 * cus-theme.el (custom-theme-merge-theme):
1821 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1822
bb5aa5d6
MM
18232012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1824
1825 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1826 first prompt in `sql-interacive-mode'.
1827 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1828 keywords.
6df6ae42 1829 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1830 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1831 context of original buffer. Invoke `sql-login-hook'.
1832
a7183d7c
EZ
18332012-01-04 Eli Zaretskii <eliz@gnu.org>
1834
1835 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1836 letters in cite-prefix.
1837
a1eacd1e
LMI
18382012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1839
1840 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1841
787cdb34
CY
18422012-01-03 Chong Yidong <cyd@gnu.org>
1843
1d00653d
SM
1844 * shell.el (shell-dynamic-complete-functions):
1845 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1846 comint-filename-completion first (Bug#10417).
1847
30710442
RS
18482012-01-02 Richard Stallman <rms@gnu.org>
1849
1850 * battery.el (battery-status-function):
1851 Detect when to use battery-yeeloong-sysfs.
1852 (battery-echo-area-format): Add string for Yeeloong.
1853 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1854 (battery-yeeloong-sysfs): New function.
1855
f75bfc33
CY
18562012-01-02 Chong Yidong <cyd@gnu.org>
1857
1858 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1859 (dirtrack): Merge code for handling relative filenames in prompt
1860 from shell-dir-cookie-watcher.
1861 (dirtrack-debug-message): New arg to avoid excess format calls.
1862
1863 * shell.el (shell-dir-cookie-re): Variable deleted.
1864 (shell-dir-cookie-watcher): Function deleted.
1865 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1866 with dirtrack-mode.
1867
651e947e
EZ
18682012-01-01 Eli Zaretskii <eliz@gnu.org>
1869
1d00653d
SM
1870 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1871 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1872 libgnutls-26.dll.
1873
94d4c7dc
AS
18742011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1875
1876 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1877
8d43f3cd
EZ
18782011-12-31 Eli Zaretskii <eliz@gnu.org>
1879
1880 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1881 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1882
98c8795a
MA
18832011-12-29 Michael Albinus <michael.albinus@gmx.de>
1884
1885 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1886 also for alternative shells.
1887 (tramp-open-connection-setup-interactive-shell): Check, whether
1888 the shell is a busybox.
1889 (tramp-send-command): Don't suppress multiple prompts for
1890 busyboxes, it hurts.
1891
51281b32
CY
18922011-12-28 Chong Yidong <cyd@gnu.org>
1893
1894 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1895 (gdb-get-source-file): Move mode line update to
1896 gdb-get-source-file (Bug#10087).
1897
2170cb53
CY
18982011-12-25 Chong Yidong <cyd@gnu.org>
1899
1900 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1901 gud-gdb-marker-filter without taking it as an argument.
1902 (gud-gdb-run-command-fetch-lines): Caller changed.
1903 (gud-gdb-completion-function): New variable.
1904 (gud-gdb-completion-at-point): Use it.
1905 (gud-gdb-completions-1): Split from gud-gdb-completions.
1906
1907 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1908 function as separate arguments.
1909 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1910 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1911 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1912 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1913 (gdb-stopped, def-gdb-auto-update-trigger)
1914 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1915 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1916 Callers changed.
2170cb53
CY
1917 (gud-gdbmi-completions): New function.
1918 (gdb): Use it for generating the completion table.
1919
be8b11bb
AM
19202011-12-24 Alan Mackenzie <acm@muc.de>
1921
1922 Introduce a mechanism to widen the region used in context font
1d00653d 1923 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1924
1d00653d
SM
1925 * progmodes/cc-langs.el (c-before-font-lock-functions):
1926 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1927 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1928 functions to be run just before context (etc.) font locking.
1929
1930 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1931 New, functionality extracted from
be8b11bb 1932 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1933 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1934 (c-after-change): Set c-in-after-change-fontification.
1935 (c-set-fl-decl-start): Rejig its interface, so it can be called
1936 from both after-change and context fontifying.
b81d40f0
JB
1937 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1938 New functions.
1939 (c-standard-font-lock-fontify-region-function): New variable.
1940 (c-font-lock-fontify-region): New function.
be8b11bb 1941
341cf6ac
JL
19422011-12-24 Juri Linkov <juri@jurta.org>
1943
1944 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1945 (Bug#10348)
1946
bffcee0a
MA
19472011-12-23 Michael Albinus <michael.albinus@gmx.de>
1948
1949 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1950 existence of source file. (Bug#10325)
1951
cb5e207c
AM
19522011-12-23 Alan Mackenzie <acm@muc.de>
1953
1954 Fix unstable fontification inside templates.
1955
b81d40f0
JB
1956 * progmodes/cc-langs.el (c-before-font-lock-functions):
1957 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1958 additionally has c-set-fl-decl-start. The other languages (apart
1959 from AWK) have that as a single entry.
1960
b81d40f0
JB
1961 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1962 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1963 c-set-fl-decl-start.
1964
b81d40f0
JB
1965 * progmodes/cc-mode.el (c-common-init, c-after-change):
1966 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1967 (c-set-fl-decl-start): New function, extracted from
1968 c-font-lock-enclosing-decls and enhanced.
1969
60ff536c
JB
19702011-12-23 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1973
1c4757d6
JL
19742011-12-22 Juri Linkov <juri@jurta.org>
1975
1976 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1977
d031f2c7
CY
19782011-12-22 Chong Yidong <cyd@gnu.org>
1979
1980 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1981
bace743a
DA
19822011-12-21 Drew Adams <drew.adams@oracle.com>
1983
1984 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1985
728a1f2b
JC
19862011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1987
1988 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1989
0d373f73
TZ
19902011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1991
fec0aaa4
TZ
1992 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1993 highlighting and support. Fix up comments for capitalization.
1994 (cfengine-mode-debug): New var.
1995 (cfengine3-mode): Change the modeline indicator to "CFE3".
1996 (cfengine3-font-lock-keywords): Improve defun highlighting.
1997 (cfengine2-actions): Rename from `cfengine-actions'.
1998 (cfengine2-font-lock-keywords): Rename from
1999 `cfengine-font-lock-keywords'.
2000 (cfengine2-imenu-expression): Rename from
2001 `cfengine-imenu-expression'.
2002 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2003 (cfengine2-beginning-of-defun): Rename from
2004 `cfengine-beginning-of-defun'.
2005 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2006 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2007 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2008 modeline indicator to "CFE2".
2009 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2010 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2011
bc86f573
CY
20122011-12-21 Chong Yidong <cyd@gnu.org>
2013
2014 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2015 filename argument.
2016
d45ba96b
MR
20172011-12-20 Martin Rudalics <rudalics@gmx.at>
2018
2019 * window.el (window-normalize-buffer-to-display): Remove.
2020 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2021
a6198c90
CY
20222011-12-19 Chong Yidong <cyd@gnu.org>
2023
2024 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2025 Don't signal an error in a predicate function; return non-nil.
2026 (vc-dir-mark-file): Move the error here.
2027 (vc-dir-mark-unmark): If acting on the region, keep going if one
2028 of the entries cannot be marked/unmarked.
2029 (vc-dir-mark-all-files): If current entry is a directory, mark
2030 only child files, as documented.
2031
34c5fb55
VB
20322011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2033
2034 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2035 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2036 addition.
2037
c803b2b7
JD
20382011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2039
2040 * term/ns-win.el (ns-get-selection-internal)
2041 (ns-store-selection-internal): Declare.
1154d12e
JB
2042 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2043 Declare as obsolete.
2044 (ns-get-pasteboard, ns-paste-secondary):
2045 Use ns-get-selection-internal.
2046 (ns-set-pasteboard, ns-copy-including-secondary):
2047 Use ns-store-selection-internal.
c803b2b7 2048
9cff91f8 20492011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2050
2051 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2052 (vc-deduce-fileset): Doc fix.
99a289d9 2053
f16c898a
AS
20542011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2055
2056 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2057
763237c4
SS
20582011-12-13 Sam Steingold <sds@gnu.org>
2059
2060 * man.el (Man-getpage-in-background): When running under a
2061 window-system, ignore $MANWIDTH and $COLUMNS.
2062
5fc1c122
KH
20632011-12-15 Kenichi Handa <handa@m17n.org>
2064
2065 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2066 (setup-ethiopic-environment-internal): Comment out key-binding for
2067 ethio-toggle-punctuation.
2068
13d49cbb
AM
20692011-12-13 Alan Mackenzie <acm@muc.de>
2070
898169a2
AM
2071 Add the switch statement to AWK Mode.
2072
7a71b18d 2073 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2074 "default" to the keywords regexp.
2075
7a71b18d 2076 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2077 expression as the rest.
1d00653d
SM
2078 (c-nonlabel-token-key): Allow string literals for AWK.
2079 Refactor for the other modes.
898169a2 2080
13d49cbb 2081 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2082 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2083 routines. Limit backward searching in c-font-lock-enclosing.decl.
2084
2085 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2086 pp-state and literal type in addition to the limits.
1d00653d 2087 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2088 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2089 (c-slow-in-literal, c-fast-in-literal): Remove.
2090 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2091
2092 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2093 being in a literal. Add a limit for backward searching.
2094
2095 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2096 c-slow-in-literal.
2097
15e0efc7
SM
20982011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2101
454592a6
MR
21022011-12-13 Martin Rudalics <rudalics@gmx.at>
2103
2104 * window.el (delete-other-windows): Use correct frame in call to
2105 window-with-parameter.
2106
87393f26
DP
21072011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2108
2109 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2110 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2111 (makefile-gmake-statements, makefile-makepp-statements):
2112 Use it and add new makepp keywords.
2113 (makefile-makepp-font-lock-keywords): Add new patterns.
2114 (makefile-match-function-end): Match new [...] and [[...]].
2115
11636b22
JB
21162011-12-11 Juanma Barranquero <lekktu@gmail.com>
2117
2118 * ses.el (ses-call-printer-return, ses-cell-property-get)
2119 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2120 (ses-create-cell-variable, ses-reset-header-string)
2121 (ses-cell-set-formula, ses-repair-cell-reference-all)
2122 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2123 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2124 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2125 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2126 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2127 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2128 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2129 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2130 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2131 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2132 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2133 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2134
cf018193
VB
21352011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2136
2137 * ses.el: The overall change is to add cell renaming, that is
2138 setting fancy names for cell symbols other than name matching
2139 "\\`[A-Z]+[0-9]+\\'" regexp .
2140 (ses-create-cell-variable): New defun.
2141 (ses-relocate-formula): Relocate formulas only for cells the
2142 symbols of which are not renamed, i.e. symbols whose names do not
2143 match regexp "\\`[A-Z]+[0-9]+\\'".
2144 (ses-relocate-all): Relocate values only for cells the symbols of
2145 which are not renamed.
2146 (ses-load): Create cells variables as the (ses-cell ...) are read,
2147 in order to check row col consistency with cell symbol name only
2148 for cells that are not renamed.
2149 (ses-replace-name-in-formula): New defun.
2150 (ses-rename-cell): New defun.
2151
ee957461
CY
21522011-12-11 Chong Yidong <cyd@gnu.org>
2153
2154 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2155 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2156
9a9e9ef0
MR
21572011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2158
2159 * window.el (other-window): Fix docstring.
2160
92a8eba5
EZ
21612011-12-10 Eli Zaretskii <eliz@gnu.org>
2162
2163 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2164 `from' or `to' address before taking its substring.
2165 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2166 encoded name is chopped in the middle of the encoded string, and
2167 thus displayed encoded.
2168
e152e577
JB
21692011-12-10 Juanma Barranquero <lekktu@gmail.com>
2170
2171 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2172
e5d84bfe
EZ
21732011-12-10 Eli Zaretskii <eliz@gnu.org>
2174
2175 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2176 to use texinfo-update-node and commands that call it if the
2177 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2178 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2179 (texinfo-all-menus-update, texinfo-master-menu)
2180 (texinfo-update-node, texinfo-every-node-update)
2181 (texinfo-multiple-files-update): Doc fix. Warn against updating
2182 all the @node lines.
2183 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2184 argument is numeric. Explain better in the doc string what the
2185 function really does.
2186 (texinfo-insert-master-menu-list): Improve the error message
2187 displayed if there's no menu in the Top node.
2188 (Bug#2975) See also this thread:
e5d84bfe
EZ
2189 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2190
1d84e9bb
MG
21912011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2192
2193 * speedbar.el (speedbar-supported-extension-expressions):
2194 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2195
382c953b
JB
21962011-12-09 Juanma Barranquero <lekktu@gmail.com>
2197
2198 * printing.el (pr-mode-alist):
2199 * simple.el (filter-buffer-substring-functions)
2200 (completion-list-insert-choice-function):
2201 * window.el (window-with-parameter, window-atom-root)
2202 (window-sides-slots, window-size-fixed, window-min-delta)
2203 (window-max-delta, window--resize-mini-window)
2204 (window--resize-child-windows-normal, window-tree)
2205 (delete-other-windows, quit-window, split-window)
2206 (display-buffer-record-window, special-display-buffer-names)
2207 (special-display-regexps, special-display-popup-frame)
2208 (same-window-p, split-window-sensibly)
2209 (display-buffer-overriding-action, display-buffer-alist)
2210 (display-buffer-base-action, display-buffer, switch-to-buffer)
2211 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2212 (fit-window-to-buffer, recenter-positions)
2213 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2214 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2215 and remove unneeded backslashes in docstrings.
2216
39c9faef
SM
22172011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2218
98449af8
SM
2219 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2220
39c9faef
SM
2221 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2222 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2223 end in ".mk".
2224 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2225 when reading the makefile (bug#10116).
2226
86ed9fdc
SM
22272011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2230 (bug#10116).
2231
5580f89d
GM
22322011-12-06 Glenn Morris <rgm@gnu.org>
2233
2234 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2235
28d3917c
CY
22362011-12-06 Chong Yidong <cyd@gnu.org>
2237
2238 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2239
a98edce9
JB
22402011-12-06 Juanma Barranquero <lekktu@gmail.com>
2241
2242 * textmodes/table.el (table-shorten-cell): Fix typo.
2243
e65adfac
CG
22442011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2245
2246 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2247
71cc0b74
EZ
22482011-12-05 Eli Zaretskii <eliz@gnu.org>
2249
2250 * descr-text.el (describe-char): Fix display of strong
2251 right-to-left characters and directional embeddings and overrides.
2252
2253 * simple.el (what-cursor-position): Fix display of codepoints of
2254 strong right-to-left characters.
2255
315bc30d
CY
22562011-12-05 Chong Yidong <cyd@gnu.org>
2257
2258 * faces.el (read-color): Doc fix.
2259
58a70b94
GM
22602011-12-05 Glenn Morris <rgm@gnu.org>
2261
2262 * align.el (align--set-marker): Add doc-string.
2263 Don't try to move something that is not a marker. (Bug#10216)
2264
5158face
GM
22652011-12-04 Glenn Morris <rgm@gnu.org>
2266
2267 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2268 overly zealous deletion of trailing whitespace.
2269
520fca41
JB
22702011-12-04 Juanma Barranquero <lekktu@gmail.com>
2271
2272 * server.el (server-delete-client): On Windows, do not try to delete
2273 the only terminal.
2274 (server-process-filter): On Windows, treat requests for a tty frame as
2275 if they were for a GUI frame if the running server is in GUI mode.
2276
5e605a2e
GM
22772011-12-03 Glenn Morris <rgm@gnu.org>
2278
2279 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2280
5c3fe83f
SM
22812011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2282
6f5e57e7
SM
2283 * electric.el: Streamline electric-indent's hook.
2284 (electric-indent-chars): Revert to simple list.
2285 (electric-indent-functions): New var.
2286 (electric-indent-post-self-insert-function): Use it.
2287
5c3fe83f
SM
2288 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2289 there's no inferior buffer (bug#10196).
2290 (prolog-consult-compile): Don't use toggle-read-only.
2291
6bdac736
MA
22922011-12-02 Michael Albinus <michael.albinus@gmx.de>
2293
2294 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2295 interrupt. (Bug#10187)
2296
6131ba7f
SM
22972011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2298
99c79fee
SM
2299 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2300 (bug#9160).
2301
6131ba7f
SM
2302 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2303 (bug#10191).
2304
cb0a02ea
JL
23052011-12-02 Juri Linkov <juri@jurta.org>
2306
2307 * info.el (Info-search): Display "end of manual" when Isearch
2308 reaches the end of single-file Info manual. (Bug#9918)
2309
66e0570c
EZ
23102011-12-02 Eli Zaretskii <eliz@gnu.org>
2311
2312 * isearch.el (isearch-message-prefix): Run the input method part
2313 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2314
02b16839
JL
23152011-12-02 Juri Linkov <juri@jurta.org>
2316
2317 * isearch.el (isearch-occur): Use `word-search-regexp' for
2318 `isearch-word'.
2319 (isearch-search-and-update): Add condition for `isearch-word' and
2320 call `word-search-regexp'. (Bug#10145)
2321
0b950688
GM
23222011-12-01 Glenn Morris <rgm@gnu.org>
2323
2324 * eshell/em-hist.el (eshell-hist-initialize):
2325 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2326 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2327
9505c3c7
SM
23282011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2331
1bbe96b2 23322011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2333
a1beca85
SM
2334 * progmodes/verilog-mode.el (verilog-pretty-expr):
2335 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2336 verilog, such as += *= and the like.
2337 (verilog-assignment-operator-re): Regular expression to find the
2338 assigment operator in a verilog assignment.
2339 (verilog-assignment-operation-re): Regular expression to find an
2340 assignment statement for pretty-expr.
2341 (verilog-in-attribute-p): Query returns true if point is in an
2342 attribute context; used to skip these for expression line up from
2343 pretty-expr.
2344 (verilog-in-parameter-p): Query returns true if point is in an
2345 parameter definition context; used to skip these for expression
2346 line up from pretty-expr.
2347 (verilog-in-parenthesis-p): Query returns true if point is in a
2348 parenthetical expression, specifically ( ) but not [ ] or { };
2349 used by pretty-expr.
2350 (verilog-just-one-space): If there is no space, don't add one.
2351 (verilog-get-lineup-indent-2): Specifically skip just attribute
2352 contexts for expression lineup, rather than skipping all
2353 parenthetical expressions.
2354 (verilog-calculate-indent): Fix comment, and fix indent.
2355 (verilog-do-indent): Indent declarations in lists (suggested by
2356 Joachim Lechner).
2357 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2358 skeleton items.
2359 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2360 by Alain Mellan).
2361
1bbe96b2 23622011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2363
2364 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2365 parameters with embedded comments. Reported by Ray Stevens.
2366 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2367 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2368 Reported by Tim Holt.
2369 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2370 instantiated by upper module causing wrong expansion until AUTOed a
2371 second time. Reported by K C Buckenmaier.
2372 (verilog-diff-auto): Fix showing .* as a difference when
2373 `verilog-auto-star-save' off. Reported by Dan Dever.
2374 (verilog-auto-reset, verilog-read-always-signals)
2375 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2376 temporary signals in reset list if
2377 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2378 style to each signal's assignment type, bug381.
2379 Reported by Thomas Esposito.
6288f0ca
WS
2380 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2381 (verilog-uvm-statement-re): Support UVM indentation and
2382 highlighting, with old OVM keywords only.
a1beca85 2383 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2384 Support AUTOTIEOFF creating non-wire data types.
2385 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2386 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2387 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2388 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2389 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2390 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2391 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2392 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2393 non-numeric vector width. Reported by Alex Reed.
2394 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2395 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2396 (verilog-auto-delete-trailing-whitespace):
2397 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2398 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2399 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2400 Fix verilog-scan-cache corruption when running user AUTO expansion
2401 hooks that call indentation routines.
2402 (verilog-simplify-range-expression): Fix typo ignoring lower case
2403 identifiers.
2404 (verilog-delete-auto): Fix delete-autos to also remove user created
2405 automatics, as long as they start with AUTO.
2406 (verilog-batch-diff-auto, verilog-diff-auto)
2407 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2408 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2409 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2410 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2411 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2412 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2413 is disabled and its cache will get corrupt, causing AUTOS not to
2414 expand. Instead use only -quick functions.
2415 (verilog-scan-region): Fix scanning over escaped quotes.
2416 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2417 (verilog-re-search-backward-quick)
2418 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2419 related functions now ignore strings, to fix misparsing of strings
2420 with magic comments embedded in them.
a1beca85
SM
2421 (verilog-read-auto-template):
2422 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2423 Reported by Brad Dobbie.
2424 (verilog-read-auto-template):
2425 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2426 Reported by Brad Dobbie.
6288f0ca
WS
2427 (verilog-auto-inst, verilog-auto-inst-param)
2428 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2429 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2430 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2431 debugging templates without merge conflicts, bug357.
2432 Reported by Brad Dobbie.
2433 (verilog-read-auto-template):
2434 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2435 Reported by Brad Dobbie.
2436 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2437 abbrevs so user won't be asked to save.
2438 (verilog-read-auto-lisp-present): Fix to start at beginning of
2439 buffer in case called outside of verilog-auto.
2440 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2441 to "X-2". Reported by Matthew Myers.
2442 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2443 all inputs from module templates. Reported by Leith Johnson.
2444 (verilog-module-inside-filename-p): Fix locating programs as with
2445 modules.
2446 (verilog-auto-inst-port): Fix vl-width expressions when using
2447 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2448 (verilog-decls-get-regs, verilog-decls-get-signals,
2449 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2450 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2451 verilog-read-decls): Combine reg and wire structures into one var
2452 structure to represent SystemVerilog concepts.
2453 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2454 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2455 (verilog-auto-wire-type, verilog-insert-definition):
2456 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2457 SystemVerilog "logic" keyword instead of "wire"/"reg".
2458 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2459 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2460 ifdef or generate if so there's not a driver conflict).
2461 Reported by Matthew Myers.
2462 (verilog-auto-declare-nettype, verilog-insert-definition):
2463 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2464 `default_nettype none. Reported by Julian Gorfajn.
2465 (verilog-read-always-signals-recurse, verilog-read-decls)
2466 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2467 malformed end statement, bug325. Reported by Joshua Wise and
2468 Andrew Drake.
2469 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2470 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2471 when expanding .* in interfaces, bug320.
2472 Reported by Pierre-David Pfister.
6288f0ca 2473 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2474 name and open parenthesis, bug317.
2475 Reported by Pierre-David Pfister.
6288f0ca
WS
2476 (verilog-simplify-range-expression): Fix simplification of
2477 multiplications inside AUTOWIRE connections, bug303.
2478 (verilog-auto-inst-port): Support parameter expansion in
2479 multidimensional arrays.
2480 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2481 after "assert property". Reported by Julian Gorfajn.
2482 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2483 with multiplication, bug303.
2484 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2485 Reported by Jan Frode Lonnum.
2486
1bbe96b2
GM
24872011-11-30 Juanma Barranquero <lekktu@gmail.com>
2488
2489 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2490 (hfy-shell-file-name, hfy-shell):
2491 * international/fontset.el (x-decompose-font-name): Fix typos.
2492
24932011-11-29 Ken Brown <kbrown@cornell.edu>
2494
2495 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2496 (gdb-version): Remove defvar.
2497 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2498 (gdb-gud-context-command, gdb-non-stop-handler)
2499 (gdb-current-context-command, gdb-stopped): Use it.
2500 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2501 (gdb-non-stop-handler): Don't enable pretty-printing here.
2502 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2503 non-stop mode. Use the following.
2504 (gdb-check-target-async): New defun.
2505 (gud-watch, gdb-stopped): Fix whitespace.
2506 (gdb-get-source-file): Don't try to display the source file if
2507 `gdb-main-file' is nil.
2508
25092011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * align.el: Try to generate fewer markers (bug#10047).
2512 (align--set-marker): New macro.
2513 (align-region): Use it.
2514
c935221f
SM
25152011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2518
e70b5064
CY
25192011-11-29 Chong Yidong <cyd@gnu.org>
2520
2521 * indent.el (indent-for-tab-command, indent-according-to-mode):
2522 Doc fix.
2523 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2524
f3af92b7
MA
25252011-11-29 Michael Albinus <michael.albinus@gmx.de>
2526
2527 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2528 aware of remote file names. (Bug#10124)
2529
ed472be9
CY
25302011-11-29 Chong Yidong <cyd@gnu.org>
2531
2532 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2533
24510c22
SM
25342011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * files.el (find-file): Don't use force-same-window (bug#10144).
2537 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2538 use pop-to-buffer if the selected window can't be used.
2539 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2540
c60c3703
EZ
25412011-11-28 Eli Zaretskii <eliz@gnu.org>
2542
2543 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2544 special-mode-map.
2545
e95def75
CY
25462011-11-28 Chong Yidong <cyd@gnu.org>
2547
2548 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2549
c3f1c606
NR
25502011-11-27 Nick Roberts <nickrob@snap.net.nz>
2551
2552 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2553 gdb-get-source-file-list on gdb-create-source-file-list.
2554
00db469c
EZ
25552011-11-26 Eli Zaretskii <eliz@gnu.org>
2556
2557 * whitespace.el (whitespace-newline): Use a different foreground
2558 color for 16-color light-background displays.
2559
4ad3bc2a
CY
25602011-11-24 Chong Yidong <cyd@gnu.org>
2561
2562 * window.el (display-buffer--special-action): Doc fix.
2563
e9fce1ac
JB
25642011-11-25 Juanma Barranquero <lekktu@gmail.com>
2565
2566 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2567 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2568 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2569 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2570 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2571 (avl-tree-stack-first):
2572 * emacs-lisp/cconv.el (cconv--analyse-use):
2573 * net/gnutls.el (gnutls-negotiate): Fix typos.
2574
cb825e5d
GM
25752011-11-24 Glenn Morris <rgm@gnu.org>
2576
3adbe224
GM
2577 * lpr.el (lpr-windows-system, lpr-lp-system):
2578 * mail/binhex.el (binhex-begin-line):
2579 * progmodes/grep.el (grep-history, grep-find-history):
2580 * textmodes/flyspell.el:
2581 * vc/pcvs-defs.el (cvs-global-menu):
2582 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2583 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2584 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2585
321decc8
GM
2586 * net/tls.el: Fix case of "GnuTLS".
2587
420b63ad
GM
2588 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2589
cb825e5d
GM
2590 * version.el (emacs-build-system): Give it a doc-string.
2591
a0649f08
JL
25922011-11-24 Juri Linkov <juri@jurta.org>
2593
2594 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2595
c0bc0fd4
GM
25962011-11-24 Glenn Morris <rgm@gnu.org>
2597
2598 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2599 if called on a non-mime message just toggle the headers. (Bug#8006)
2600
20db1522
JB
26012011-11-24 Juanma Barranquero <lekktu@gmail.com>
2602
2603 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2604 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2605 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2606 (allout-rebullet-heading, allout-open-sibtopic)
2607 (allout-toggle-current-subtree-encryption)
2608 (allout-toggle-subtree-encryption, allout-encrypt-string)
2609 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2610 (allout-distinctive-bullets-string, allout-auto-activation):
2611 * window.el (window-normalize-buffer-to-display):
2612 * progmodes/verilog-mode.el (verilog-batch-indent):
2613 * textmodes/bibtex.el (bibtex-field-braces-opt)
2614 (bibtex-field-strings-opt):
2615 * vc/cvs-status.el (cvs-tree-merge):
2616 Fix typos.
2617
7262a87c
MA
26182011-11-23 Michael Albinus <michael.albinus@gmx.de>
2619
2620 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2621 `non-essential' to t, in order to avoid remote connections.
2622
283430a1
EZ
26232011-11-23 Eli Zaretskii <eliz@gnu.org>
2624
a1beca85
SM
2625 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2626 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2627 case-insensitively.
2628
d2992a38
ML
26292011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2630
2631 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2632
50419064
GM
26332011-11-23 Glenn Morris <rgm@gnu.org>
2634
da94eca1
GM
2635 * paths.el (rmail-file-name): Reformat the doc-string so that it
2636 is picked up.
2637
9aac4de2
GM
2638 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2639 (rmail-auto-file): Ignore case in the "special" field names,
2640 as mail-fetch-field does for all others.
2641
8038d2d2
GM
2642 * mail/rmail.el (rmail-forward):
2643 * mail/rmailkwd.el (rmail-set-label):
2644 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2645 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2646
f3fe222a
GM
2647 * mail/rmail.el (rmail-current-message): Doc fix.
2648
50419064
GM
2649 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2650
28109f49
SM
26512011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2654
394c65f1
GM
26552011-11-22 Glenn Morris <rgm@gnu.org>
2656
2657 * mail/rmailmm.el (test-rmail-mime-handler)
2658 (test-rmail-mime-bulk-handler)
2659 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2660
f2a0aa3a
JL
26612011-11-21 Juri Linkov <juri@jurta.org>
2662
1154d12e
JB
2663 * calc/calc.el (calc-read-key-sequence):
2664 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2665
9c34a344
LMI
26662011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2667
2668 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2669 Tell the caller that the next line needs recomputation, even
2670 though it doesn't start a sexp (bug#10094).
2671
f04a3be9
SM
26722011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2675
7978747f
SM
26762011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2677
f04a3be9
SM
2678 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2679 Use force-same-window.
7978747f 2680
fe7a3057
JB
26812011-11-20 Juanma Barranquero <lekktu@gmail.com>
2682
2683 * descr-text.el (describe-char-unicode-data):
2684 * json.el (json-string-escape):
2685 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2686 (Footnote-unicode, Footnote-style-p):
2687 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2688
24901d61
CY
26892011-11-20 Chong Yidong <cyd@gnu.org>
2690
2691 * window.el (replace-buffer-in-windows): Restore interactive spec.
2692
bac7ff22
SM
26932011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2694
24f3d7b9
SM
2695 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2696
bac7ff22
SM
2697 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2698 (byte-compile-global-not-obsolete-vars): New var.
2699 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2700 Use it.
2701 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2702
cd1181db
JB
27032011-11-20 Juanma Barranquero <lekktu@gmail.com>
2704
2705 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2706 * progmodes/pascal.el (electric-pascal-equal):
2707 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2708 * xml.el (xml-substitute-special): Fix typos.
2709
7fb18e9e
GM
27102011-11-20 Glenn Morris <rgm@gnu.org>
2711
2712 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2713 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2714 Doc fixes.
2715 (rmail-decode-mime-charset): Mark as obsolete.
2716
2717 * mail/rmailsum.el (rmail-message-regexp-p-1):
2718 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2719 Before using mime functions, check they are set. (Bug#10077)
2720
d5a6b3ba
JL
27212011-11-19 Juri Linkov <juri@jurta.org>
2722
2723 * info.el (Info-finder-find-node): Use `package--builtins' instead
2724 of `package-alist'. Use node names formed by the pattern "Keyword "
2725 and the keyword name.
2726
e981b61f
AS
27272011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2728
1d00653d 2729 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2730
3ffbc301
JL
27312011-11-19 Juri Linkov <juri@jurta.org>
2732
2733 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2734 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2735 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2736 `old-history', `old-history-forward'. Add let-binding
2737 `window-selected'. Remove calls to `kill-buffer',
2738 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2739 before calling `Info-find-node', so `Info-find-node-2' will reread
2740 the Info file. Restore window positions only when `window-selected'
2741 is non-nil.
2742
30c62133
JL
27432011-11-19 Juri Linkov <juri@jurta.org>
2744
2745 * isearch.el (isearch-lazy-highlight-new-loop):
2746 Remove condition `(not isearch-error)'. (Bug#9918)
2747
2748 * misearch.el (multi-isearch-search-fun): Add condition
2749 `(not bound)' to ignore lazy-highlighting search.
2750 Add the search-failed message "end of multi" when the end of
2751 multi-sequence is reached. Uncapitalize the search-failed
2752 message "Repeat for next buffer".
2753
2754 * info.el (Info-search): Add the search-failed message
2755 "end of the manual" when the end of the manual is reached
2756 in Isearch mode.
2757
645ca9cf
JL
27582011-11-19 Juri Linkov <juri@jurta.org>
2759
2760 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2761 Use non-destructive `remove' instead of `delete' because
2762 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2763 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2764
df754f66
JL
27652011-11-19 Juri Linkov <juri@jurta.org>
2766
2767 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2768 to nil instead of binding `search-ring' and `regexp-search-ring'.
2769 (Bug#9185)
2770
0e23d96a
EZ
27712011-11-19 Eli Zaretskii <eliz@gnu.org>
2772
2773 * simple.el (line-move): Force movement by logical lines for any
2774 hscrolled window, not only when auto-hscroll-mode is on.
2775 (line-move-visual): Update doc string to that effect. (Bug#10076)
2776
8a6ccb66
AS
27772011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2778
2779 * language/european.el (macintosh): Define as alias for mac-roman.
2780
49ae5b39
EZ
27812011-11-19 Eli Zaretskii <eliz@gnu.org>
2782
2783 * mail/rmailmm.el (rmail-mime-display-header)
2784 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2785 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2786 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2787 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2788 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2789 of a raw aref.
2790 (rmail-mime-entity-segment): To get past the tagline, move forward
2791 2 more lines, to account for the 2 empty lines that precede and
2792 follow the line with the buttons.
2793 (rmail-mime-update-tagline): Move one more line, to get past the
2794 empty line that follows the buttons in the tagline. (Bug#9520)
2795
c56cad4a
MR
27962011-11-19 Martin Rudalics <rudalics@gmx.at>
2797
2798 * window.el (window-max-delta-1, window-min-delta-1)
2799 (window-min-size-1, window-state-get-1, window-state-put-1)
2800 (window-state-put-2): Use "window--" prefix.
2801
cbe71af3
SM
28022011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2ad52c60
SM
2804 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2805 (smie-warning-count): New var.
2806 (smie-set-prec2tab): Use it.
2807 (smie-bnf->prec2): Improve warnings. Add docstring.
2808 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2809 (smie-bnf--set-class): New function.
2810 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2811 corner case.
2812
6944dbc1
SM
2813 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2814 (compilation-error-properties, compilation-move-to-column):
2815 Handle compilation-first-column while in the target buffer.
2816
c400c4d7
SM
2817 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2818 Don't hardcode point-min==1.
2819
6dbe3e96
SM
2820 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2821 (eshell-rewrite-for-command): Remove workaround.
2822 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2823 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2824 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2825
cbe71af3
SM
2826 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2827
a8e1496d
GM
28282011-11-17 Glenn Morris <rgm@gnu.org>
2829
2830 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2831 Ignore buffer-local generated-autoload-file if it is the same
2832 as the global value. (Bug#10049)
2833
df85d315
JB
28342011-11-17 Juanma Barranquero <lekktu@gmail.com>
2835
2836 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2837 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2838 (reftex-toc-previous-heading, reftex-toc-max-level)
2839 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2840 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2841 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2842 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2843 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2844 (reftex-toc-rename-label, reftex-toc-visit-location)
2845 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2846 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2847 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2848 leaving "*toc*" only for references to the buffer.
2849
a0c2d0ae
MR
28502011-11-17 Martin Rudalics <rudalics@gmx.at>
2851
2852 * window.el (window-resize, delete-window, split-window):
2853 Replace window-splits by window-combination-resize.
1d00653d 2854 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2855
35c0bac8
GM
28562011-11-17 Glenn Morris <rgm@gnu.org>
2857
2858 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2859 Make bash entry derive from sh entry, not shell entry.
2860
d0c8fc8a
MA
28612011-11-16 Michael Albinus <michael.albinus@gmx.de>
2862
d0c8fc8a
MA
2863 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2864 properties of linked files. (Bug#9879)
2865
7262a87c
MA
2866 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2867 local file name.
2868
7877f373
JB
28692011-11-16 Juanma Barranquero <lekktu@gmail.com>
2870
2871 * menu-bar.el (menu-bar-file-menu):
2872 * printing.el (pr-ps-utility):
2873 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2874 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2875 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2876 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2877 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2878 (icalendar--convert-cyclic-to-ical)
2879 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2880 (icalendar--convert-ical-to-diary)
2881 (icalendar--convert-recurring-to-diary)
2882 (icalendar--convert-non-recurring-all-day-to-diary)
2883 (icalendar-import-format-sample):
2884 * progmodes/idlw-shell.el (idlwave-shell-mode):
2885 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2886 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2887 (vhdl-ps-print-init): Fix typos.
2888
10649b82
KM
28892011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2890
9d0cfcd6
GM
2891 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2892 FSF and collapse date sequence, obscure author/maintainer email address
2893 better, remove extra version line, track relocation of author's webpage.
10649b82 2894
9d0cfcd6
GM
2895 * progmodes/python.el (python-pdbtrack-input-prompt)
2896 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2897 regular python pdb prompts. Adjustments shamelessly taken exactly as
2898 suggested in EmacsWiki page (tiny change):
2899 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2900
58179cce
JB
29012011-11-16 Juanma Barranquero <lekktu@gmail.com>
2902
2903 * expand.el (expand-pos, expand-index, expand-point):
2904 Remove redundant info from docstring.
2905 (expand-add-abbrevs): Doc fix.
2906 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2907 (expand-sample-perl-mode-expand-list): Fix typos.
2908
2909 * net/dbus.el (dbus-event-member-name):
2910 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2911 * term/pc-win.el (msdos-create-frame-with-faces):
2912 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2913
b6f67890
MR
29142011-11-16 Martin Rudalics <rudalics@gmx.at>
2915
2916 * window.el (split-window, window-state-get-1)
2917 (window-state-put-1, window-state-put-2): Rename occurrences of
2918 window-nest to window-combination-limit.
1d00653d 2919 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2920
ce7ddba0
CY
29212011-11-16 Chong Yidong <cyd@gnu.org>
2922
2923 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2924 regexp (Bug#10033).
2925
3ae704f4
SM
29262011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2929 `completing-read' will remove *Completions* and will preserve
2930 current-buffer for us.
2931 (tmm-add-prompt): Users of *Completions* will always (re)set its
2932 major mode.
2933 (tmm-old-comp-map): Remove.
2934
6ad1cdde
GM
29352011-11-16 Glenn Morris <rgm@gnu.org>
2936
2937 * mail/rmailedit.el: Require rmailmm when compiling.
2938 (rmail-old-mime-state): New declaration.
2939 (rmail-edit-current-message): If editing a mime message,
2940 edit the "raw" message from the mbox buffer.
2941 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2942
d20faa20
GM
29432011-11-15 Glenn Morris <rgm@gnu.org>
2944
2945 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2946 which wasn't being used. Add optional arg to force given state.
2947 (rmail-mime): Add optional arg to force given state.
2948
c7015153
JB
29492011-11-15 Juanma Barranquero <lekktu@gmail.com>
2950
2951 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2952 * frame.el (display-mm-dimensions-alist):
2953 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2954 (outline-move-subtree-down):
2955 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2956 (newsticker--treeview-do-get-node):
2957 * net/quickurl.el (quickurl-list-buffer-name):
2958 * progmodes/dcl-mode.el (dcl-mode):
2959 * progmodes/gdb-mi.el (gdb-mapcar*):
2960 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2961
45261b50
GM
29622011-11-15 Glenn Morris <rgm@gnu.org>
2963
2964 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2965 in a boolean sense, so just make it a boolean, and fix the doc.
2966 (rmail-show-mime-function, rmail-mime-feature)
2967 (rmail-require-mime-maybe): Doc fixes.
2968 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2969
2970 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2971
0d26e0b6
JB
29722011-11-15 Juanma Barranquero <lekktu@gmail.com>
2973
2974 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2975 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2976 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2977 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2978
447f30f6
GM
29792011-11-15 Glenn Morris <rgm@gnu.org>
2980
672b871d
GM
2981 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2982 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2983 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2984 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2985 (rmail-mime, rmail-show-mime): Doc fixes.
2986
f6aa5bb1
GM
2987 * term/ns-win.el (mode-line-frame-identification):
2988 Leave it alone. (Bug#10051)
2989
947cd66b
GM
2990 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2991
447f30f6
GM
2992 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2993 Handle empty buffers. (Bug#9978)
2994
0b381c7e
JB
29952011-11-14 Juanma Barranquero <lekktu@gmail.com>
2996
2997 * international/mule.el (define-charset):
2998 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2999 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3000 * progmodes/verilog-mode.el (verilog-backward-token):
3001 * textmodes/ispell.el (lookup-words):
3002 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3003
71e027ac
GM
30042011-11-14 Glenn Morris <rgm@gnu.org>
3005
56632ce4
GM
3006 * progmodes/executable.el
3007 (executable-make-buffer-file-executable-if-script-p):
3008 Handle file-modes returning nil.
3009
40500957
GM
3010 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3011 message - not necessary, and causes problems. (Bug#9831)
3012
071c2340
GM
3013 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3014
d3cfca60
GM
3015 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3016
71e027ac
GM
3017 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3018 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3019 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3020
89d61221
MR
30212011-11-12 Martin Rudalics <rudalics@gmx.at>
3022
3023 * window.el (window-resize, delete-window): Use window-splits
3024 variable instead of function.
3025 (window-state-get-1, window-state-put-2, window-state-put):
3026 Don't deal with windows' splits status.
3027
98282f6f
GM
30282011-11-12 Glenn Morris <rgm@gnu.org>
3029
3030 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3031 (apropos-documentation): Doc fixes.
3032
40a8bdf6
JB
30332011-11-11 Juanma Barranquero <lekktu@gmail.com>
3034
3035 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3036 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3037
65bd19ff
SM
30382011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * electric.el (electric-indent-post-self-insert-function): Make it
3041 possible for a char to only indent in some circumstances.
3042 (electric-indent-mode): Simplify.
3043
54f9154c
MR
30442011-11-11 Martin Rudalics <rudalics@gmx.at>
3045
3046 * window.el (windows-with-parameter): Remove unused function.
3047 (windows-at-side): Rename to window-at-side-list.
3048 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3049 (window-side-check, window-size-ignore, window-size-fixed-1)
3050 (window-in-direction-2): Prefix with "window--".
3051 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3052
68cbc58b
GM
30532011-11-11 Glenn Morris <rgm@gnu.org>
3054
3055 * subr.el (eval-after-load): If FILE is already loaded,
3056 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3057
b2621720
GM
30582011-11-10 Glenn Morris <rgm@gnu.org>
3059
9a4de110
GM
3060 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3061 Call svn via vc-svn-command rather than vc-do-command.
3062 (vc-svn-command): Add --non-interactive. (Bug#9993)
3063 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3064
b2621720
GM
3065 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3066 Add toggle-read-only. (Bug#7292)
3067 * files.el (toggle-read-only): Mention that it should only
3068 be used interactively. (Bug#10006)
3069
1dce7193
SM
30702011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3071
d9ac1a1e
SM
3072 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3073 Adjust regexp for OCaml warnings.
3074
0c325082
SM
3075 * electric.el (electric-pair-post-self-insert-function): Let user
3076 turn it off buffer-locally (bug#9932).
3077
90132c14
SM
3078 * progmodes/python.el (python-beginning-of-statement):
3079 Rewrite (bug#2703).
3080
1dce7193
SM
3081 * progmodes/compile.el: Better handle TABs (bug#9749).
3082 (compilation-internal-error-properties)
3083 (compilation-next-error-function): Obey the target buffer's
3084 compilation-error-screen-columns.
3085
c4e7c63a
JB
30862011-11-09 Juanma Barranquero <lekktu@gmail.com>
3087
3088 * progmodes/meta-mode.el: Remove obsolete comments.
3089 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3090 Fix typos in docstrings.
3091
2cffd681
MR
30922011-11-09 Martin Rudalics <rudalics@gmx.at>
3093
3094 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3095 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3096 (window--resizable): New function. Make all callers of
3097 window-resizable call window--resizable instead.
3098 (window-resizable): Rewrite in terms of window--resizable.
3099
0edcba87
GM
31002011-11-08 Glenn Morris <rgm@gnu.org>
3101
3102 * progmodes/delphi.el (delphi-mode-syntax-table):
3103 Let define-derived-mode define a proper syntax table. (Bug#9994)
3104
4b0d61e3
SM
31052011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * window.el: Stay away from defsubst.
3108 (window-list-no-nils): Remove.
3109 (window-state-get-1, window-state-get): Use backquote instead.
3110
cd394be1 31112011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3112
4b0d61e3 3113 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3114 Fix incorrect use of default argument in `completing-read'.
3115
e1c2c6f2
MR
31162011-11-08 Martin Rudalics <rudalics@gmx.at>
3117
3118 * window.el (display-buffer-function, special-display-function):
3119 Mention display-buffer-record-window but do not mention
3120 help-setup parameter in doc-strings.
b3f4a882 3121 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3122
105216ed
CY
31232011-11-08 Chong Yidong <cyd@gnu.org>
3124
3125 * window.el (window-total-height, window-total-width): Doc fix.
3126 (window-body-size): Move from C.
3127 (window-body-height, window-body-width): Move to C.
3128
0a9f9ab5
SM
31292011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * window.el: Make special-display like display-buffer-alist (bug#9532).
3132 (display-buffer--special-action): New function, morphed
3133 from display-buffer--special.
3134 (display-buffer): Use it to handle special-display-buffers at higher
3135 priority (just after display-buffer-alist).
3136 (display-buffer-fallback-action, display-buffer--other-frame-action)
3137 (pop-to-buffer-same-window): Remove display-buffer--special.
3138
a769dd15
GM
31392011-11-07 Glenn Morris <rgm@gnu.org>
3140
3141 * calendar/cal-menu.el (cal-menu-set-date-title):
3142 Do nothing if not in a calendar. (Bug#9976)
3143
05a61ee3
SM
31442011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * files.el (find-file): Always use selected-window.
3147
be7f5545
MR
31482011-11-07 Martin Rudalics <rudalics@gmx.at>
3149
3150 * window.el (window-combinations): Make WINDOW argument
3151 mandatory. Rewrite doc-string.
3152 (walk-window-subtree, window-atom-check, window-min-delta)
3153 (window-max-delta, window--resize-this-window)
3154 (window--resize-root-window-vertically, window-tree)
3155 (balance-windows, window-state-put): Rewrite doc-strings as to
3156 not mention the term "subwindow".
3157 (window--resize-subwindows-skip-p): Rename to
3158 window--resize-child-windows-skip-p.
3159 (window--resize-subwindows-normal): Rename to
3160 window--resize-child-windows-normal.
3161 (window--resize-subwindows): Rename to
3162 window--resize-child-windows.
3163 (window-or-subwindow-p): Rename to window--in-subtree-p.
3164
3c6702ef
ML
31652011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3166
3167 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3168 Ensure that mbox format messages end in two newlines (Bug#9974).
3169
49745b39
CY
31702011-11-06 Chong Yidong <cyd@gnu.org>
3171
3172 * window.el (window-combination-p): Function deleted; its
3173 side-effect is not used in any existing code.
3174 (window-combinations, window-combined-p): Call window-*-child
3175 directly.
3176
24300f5f
CY
31772011-11-05 Chong Yidong <cyd@gnu.org>
3178
3179 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3180 (window-size-ignore, window-state-get): Callers changed.
3181 (window-normalize-window): Rename from window-normalize-any-window.
3182 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3183 (window-normalize-live-window): Delete.
447f16b8
CY
3184 (window-combination-p, window-combined-p, window-combinations)
3185 (walk-window-subtree, window-atom-root, window-min-size)
3186 (window-sizable, window-sizable-p, window-size-fixed-p)
3187 (window-min-delta, window-max-delta, window-resizable)
3188 (window-resizable-p, window-full-height-p, window-full-width-p)
3189 (window-current-scroll-bars, window-point-1, set-window-point-1)
3190 (window-at-side-p, window-in-direction, window-resize)
3191 (adjust-window-trailing-edge, maximize-window, minimize-window)
3192 (window-deletable-p, delete-window, delete-other-windows)
3193 (record-window-buffer, unrecord-window-buffer)
3194 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3195 (quit-window, split-window, window-state-put)
3196 (set-window-text-height, fit-window-to-buffer)
3197 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3198
89bd5ee1
EZ
31992011-11-04 Eli Zaretskii <eliz@gnu.org>
3200
53479029
EZ
3201 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3202 rfc2047-decode-string.
3203 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3204 warnings.
3205
89bd5ee1
EZ
3206 * window.el (window-body-height, window-body-width): Mention in
3207 the doc string that the return values are in frame's canonical
3208 units. (Bug#9949)
3209
bd17fdee
AM
32102011-11-03 Alan Mackenzie <acm@muc.de>
3211
3212 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3213 change in cc-engine.el.
3214
acc825c5
SM
32152011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3218
1885e5b8
MR
32192011-11-02 Martin Rudalics <rudalics@gmx.at>
3220
3221 * window.el (quit-window): Call unrecord-window-buffer after
3222 showing another buffer in the window. (Bug#9937)
acc825c5 3223 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3224
ebe06da9
JB
32252011-11-02 Juanma Barranquero <lekktu@gmail.com>
3226
3227 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3228 Accept status with more than 9 shelves. (Bug#9935)
3229 Reported by Colin D Bennett <colin@gibibit.com>.
3230
4ee88440
MR
32312011-11-01 Martin Rudalics <rudalics@gmx.at>
3232
3233 * help.el (with-help-window): Don't reference
3234 temp-buffer-show-specifiers in doc-string.
3235
08e1d82c
AS
32362011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3237
3238 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3239 menu-item.
3240
84bd6e9e
VJL
32412011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3242
3243 * whitespace.el: New version 13.2.2.
3244 (whitespace-newline-mode): Disable properly. Reported by Sarah
3245 <EmacsWiki>.
3246
dba0634a
UJ
32472011-10-30 Ulf Jasper <ulf.jasper@web.de>
3248
3249 * net/newst-treeview.el: Remove "Time-stamp".
3250 (newsticker--group-manage-orphan-feeds): Do not call
3251 newsticker--treeview-tree-update.
db22a3c2
JB
3252 (newsticker-treeview-update, newsticker-treeview):
3253 Call newsticker--treeview-tree-update if necessary.
dba0634a 3254
3d8daefe
MR
32552011-10-30 Martin Rudalics <rudalics@gmx.at>
3256
3257 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3258 (window-iso-combinations): Remove "iso-" infix.
3259 Suggested by Chong Yidong.
3d8daefe
MR
3260 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3261 (window-max-delta-1, window-resize, window--resize-siblings)
3262 (window--resize-this-window, adjust-window-trailing-edge)
3263 (split-window, balance-windows-1)
3264 (shrink-window-if-larger-than-buffer):
3265 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3266 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3267
1bc4c3ae
SM
32682011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3271 in place (bug#9907).
3272 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3273 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3274 (eshell-structure-basic-command, eshell-rewrite-while-command)
3275 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3276 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3277 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3278 (eshell-do-pipelines-synchronously, eshell-eval-command):
3279 Use backquotes and prefer setq to set.
3280 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3281 (eshell-macrop): Use functionp.
c1e2f5fa 3282 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3283
30b65d9c
CY
32842011-10-30 Chong Yidong <cyd@gnu.org>
3285
3286 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3287 instead of set-mark (Bug#9810).
3288
2d197ffb
CY
32892011-10-30 Chong Yidong <cyd@gnu.org>
3290
3291 * window.el (split-window-below, split-window-right): Rename from
3292 split-window-above-each-other and split-window-side-by-side
3293 respectively. All callers changed.
3294 (split-window-sensibly, split-window-sensibly): Use them.
3295 (split-window-keep-point): Doc fix.
3296
3297 * isearch.el: Add isearch-scroll property to split-window-below
3298 and split-window-right.
3299
3300 * follow.el (follow-mode):
3301 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3302 * progmodes/ada-xref.el (ada-gdb-application):
3303 * emulation/vip.el (vip-buffer-in-two-windows):
3304 * image-dired.el (image-dired-dired-with-window-configuration):
3305 * dired-x.el (dired-do-find-marked-files):
3306 * dired.el (dired-pop-to-buffer):
3307 * bs.el (bs--show-with-configuration):
3308 * vc/emerge.el (emerge-setup-windows):
3309 * textmodes/two-column.el (2C-two-columns):
3310 * textmodes/reftex-toc.el (reftex-toc):
3311 * progmodes/gdb-mi.el (gdb-setup-windows):
3312 * progmodes/fortran.el (fortran-window-create):
3313 * net/newst-treeview.el (newsticker--treeview-window-init):
3314 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3315 * emulation/tpu-edt.el (tpu-gold-map):
3316 * emulation/crisp.el (crisp-mode-map):
3317 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3318
38bb2ca8
CY
33192011-10-29 Chong Yidong <cyd@gnu.org>
3320
aa4de341
CY
3321 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3322
e1eb5385
CY
3323 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3324
5d2ece3c
CY
3325 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3326 forged Ispell output (Bug#7904).
3327
38bb2ca8
CY
3328 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3329
d0af9f77
SM
33302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * doc-view.el: Avoid ugly errors about not finding nil.
3333 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3334 (doc-view-dvipdf-program, doc-view-unoconv-program)
3335 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3336 Avoid nil or absolute file name as default value.
3337 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3338
52bedd34
AM
33392011-10-28 Alan Mackenzie <acm@muc.de>
3340
db22a3c2 3341 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3342
7e43cfa5
AM
33432011-10-28 Alan Mackenzie <acm@muc.de>
3344
3345 Amend the handling of c-beginning/end-of-defun in nested declaration
3346 scopes.
3347
52bedd34
AM
3348 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3349 cc-langs.el. Change it to a defcustom.
7e43cfa5 3350
52bedd34
AM
3351 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3352 cc-vars.el.
7e43cfa5 3353
d0af9f77
SM
3354 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3355 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3356
52bedd34 3357 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3358 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3359 (c-widen-to-enclosing-decl-scope): New function.
3360 (c-while-widening-to-decl-block): New macro.
3361 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3362 outward for defun boundaries, and correspondingly change symbol
3363 `respect-enclosure' to `go-outward'.
3364 (c-declaration-limits): Change algorithm to report only the "innermost"
3365 defun's boundaries.
3366
1a2ce9ee
DD
33672011-10-28 Deniz Dogan <deniz@dogan.se>
3368
3369 * net/rcirc.el (rcirc-mode): Use hard newlines.
3370
bc97a826
AM
33712011-10-28 Alan Mackenzie <acm@muc.de>
3372
3373 Amend to indent and fontify macros "which include their own semicolon"
3374 correctly, using the "virtual semicolon" mechanism.
3375
52bedd34 3376 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3377
d0af9f77 3378 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3379 Recode to scan one line at a time rather than having \n and \r
58179cce 3380 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3381 (c-forward-label): Amend for virtual semicolons.
58179cce 3382 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3383
52bedd34
AM
3384 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3385 of the new C macros.
bc97a826 3386
52bedd34 3387 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3388 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3389 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3390 (c-opt-cpp-macro-define): Make into a full language variable.
3391 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3392 AWK Mode (including \n, \r) removed, no longer needed.
3393
d0af9f77
SM
3394 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3395 Invoke c-make-macro-with-semi-re.
bc97a826 3396
52bedd34
AM
3397 * progmodes/cc-vars.el (c-macro-with-semi-re):
3398 (c-macro-names-with-semicolon): New variables.
58179cce 3399 (c-make-macro-with-semi-re): New function.
bc97a826 3400
7a6c0941
SM
34012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3402
3403 * vc/log-edit.el: Fill empty field rather than adding new one.
3404 (log-edit-add-field): New function.
3405 (log-edit-insert-changelog): Use it.
3406
b0c4cdcf
ML
34072011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3408
3409 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3410
ee1f1da9
SM
34112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3412
3413 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3414 (gdb--check-interpreter): New function.
3415 (gdb): Use it.
3416
51bc5f8b
GM
34172011-10-27 Glenn Morris <rgm@gnu.org>
3418
416a2c45
GM
3419 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3420 (least-positive-float, least-negative-float)
3421 (least-positive-normalized-float, least-negative-normalized-float)
3422 (float-epsilon, float-negative-epsilon):
3423 Remove unnecessary declarations.
3424
3425 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3426 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3427 (least-positive-float, least-negative-float)
3428 (least-positive-normalized-float, least-negative-normalized-float)
3429 (float-epsilon, float-negative-epsilon): Add doc-strings,
3430 based on those in cl.texi.
3431
51bc5f8b
GM
3432 * files.el (set-visited-file-name): If the major-mode changed,
3433 reload the local variables. (Bug#9796)
3434
15de15c6
CY
34352011-10-27 Chong Yidong <cyd@gnu.org>
3436
3437 * subr.el (change-major-mode-after-body-hook): New hook.
3438 (run-mode-hooks): Run it.
3439
ee1f1da9
SM
3440 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3441 Use change-major-mode-before-body-hook.
15de15c6
CY
3442
3443 * simple.el (fundamental-mode):
3444 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3445 change introducing fundamental-mode-hook.
3446
5430d399
JB
34472011-10-26 Juanma Barranquero <lekktu@gmail.com>
3448
acc825c5 3449 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3450
ad74a69e
MA
34512011-10-26 Michael Albinus <michael.albinus@gmx.de>
3452
3453 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3454 tramp.el explicitly. (Bug#7583)
ad74a69e 3455
71d4c2a5
SM
34562011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * progmodes/octave-mod.el:
3459 * progmodes/octave-inf.el: Update maintainer.
3460
b1f6fa26
CY
34612011-10-26 Chong Yidong <cyd@gnu.org>
3462
3463 * subr.el (with-wrapper-hook): Rewrite doc.
3464
3f04efd6
MA
34652011-10-25 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3468 filenames "/method:foo:". (Bug#9793)
3f04efd6 3469
410488d3
SM
34702011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3471
3472 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3473 (bug#9865).
3474
c1ebb47e
GM
34752011-10-24 Glenn Morris <rgm@gnu.org>
3476
3477 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3478
7f5c46c7
MA
34792011-10-24 Michael Albinus <michael.albinus@gmx.de>
3480
3481 * notifications.el: Add the requirement of a running D-Bus session
3482 bus to the Commentary.
3483
db2440b6
JL
34842011-10-24 Juri Linkov <juri@jurta.org>
3485
3486 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3487 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3488 (Bug#9364)
3489
feecf435
JL
34902011-10-24 Juri Linkov <juri@jurta.org>
3491
3492 * info.el (Info-following-node-name-re): Add newline to the list
3493 of allowed characters for leading space. (Bug#9824)
3494
a3839de2
SM
34952011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3496
acc825c5
SM
3497 * progmodes/octave-inf.el (inferior-octave-mode-map):
3498 Fix C-c C-h binding.
a3839de2
SM
3499 * progmodes/octave-mod.el (octave-help): Remove.
3500
09388e76
MA
35012011-10-23 Michael Albinus <michael.albinus@gmx.de>
3502
3503 Sync with Tramp 2.2.3.
3504
3505 * net/tramp-cache.el (top): Pacify byte-compiler using
3506 `init-file-user' and `site-run-file'.
3507
3508 * net/trampver.el: Update release number.
3509
86c60681
CY
35102011-10-23 Chong Yidong <cyd@gnu.org>
3511
3512 * files.el (toggle-read-only): Remove obsolete comment about
3513 version control.
3514
3515 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3516 for toggle-read-only. Note that this hasn't called vc-next-action
3517 since 2008-05-02, though it wasn't documented at the time.
3518
a3839de2
SM
3519 * vc/ediff-init.el (ediff-toggle-read-only-function):
3520 Use toggle-read-only.
86c60681 3521
cd5495ff
AM
35222011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3523
3524 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3525 of c-parse-state.
3526
00b77525 3527 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3528 correct faulty logical expression.
cd5495ff
AM
3529 (c-parse-state-state, c-record-parse-state-state):
3530 (c-replay-parse-state-state): New defvar/defuns.
3531 (c-debug-parse-state): Use new functions.
3532
42ee24ed
MR
35332011-10-22 Martin Rudalics <rudalics@gmx.at>
3534
3535 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3536 last fix. Use window-in-direction correctly.
42ee24ed 3537
a7dee7e7
CY
35382011-10-21 Chong Yidong <cyd@gnu.org>
3539
3540 * progmodes/idlwave.el (idlwave-mode):
3541 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3542 require-final-newline; that's done in prog-mode.
3543 Suggested by Stefan Monnier.
a7dee7e7 3544
e07b9a6d
MR
35452011-10-21 Martin Rudalics <rudalics@gmx.at>
3546
3547 * mouse.el (mouse-drag-window-above)
3548 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3549 (mouse-drag-mode-line-1, mouse-drag-header-line)
3550 (mouse-drag-vertical-line-rightward-window): Remove.
3551 (mouse-drag-line): New function.
3552 (mouse-drag-mode-line, mouse-drag-header-line)
3553 (mouse-drag-vertical-line): Call mouse-drag-line.
3554 * window.el (window-at-side-p, windows-at-side): New functions.
3555
7e1361d9
UM
35562011-10-21 Ulrich Mueller <ulm@gentoo.org>
3557
3558 * tar-mode.el (tar-grind-file-mode):
3559 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3560
30fcaf3a
CY
35612011-10-21 Chong Yidong <cyd@gnu.org>
3562
3563 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3564 * progmodes/vera-mode.el (vera-mode):
3565 Use mode-require-final-newline.
30fcaf3a 3566
516eddb0
GM
35672011-10-20 Glenn Morris <rgm@gnu.org>
3568
db22a3c2 3569 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3570
10d5f513
CS
35712011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3572
3573 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3574
ac6c8639
CY
35752011-10-20 Chong Yidong <cyd@gnu.org>
3576
3577 * emulation/cua-base.el (cua-mode):
3578 * mail/footnote.el (footnote-mode):
3579 * mail/mailabbrev.el (mail-abbrevs-mode):
3580 * net/xesam.el (xesam-minor-mode):
3581 * progmodes/bug-reference.el (bug-reference-mode):
3582 * progmodes/cap-words.el (capitalized-words-mode):
3583 * progmodes/compile.el (compilation-minor-mode)
3584 (compilation-shell-minor-mode):
3585 * progmodes/gud.el (gud-tooltip-mode):
3586 * progmodes/hideif.el (hide-ifdef-mode):
3587 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3588 * progmodes/subword.el (subword-mode):
3589 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3590 * progmodes/which-func.el (which-function-mode):
3591 * term/tvi970.el (tvi970-set-keypad-mode):
3592 * term/vt100.el (vt100-wide-mode):
3593 * textmodes/flyspell.el (flyspell-mode):
3594 * textmodes/ispell.el (ispell-minor-mode):
3595 * textmodes/nroff-mode.el (nroff-electric-mode):
3596 * textmodes/paragraphs.el (use-hard-newlines):
3597 * textmodes/refill.el (refill-mode):
3598 * textmodes/reftex.el (reftex-mode):
3599 * textmodes/rst.el (rst-minor-mode):
3600 * textmodes/sgml-mode.el (html-autoview-mode)
3601 (sgml-electric-tag-pair-mode):
3602 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3603 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3604 * emulation/crisp.el (crisp-mode):
3605 * emacs-lisp/eldoc.el (eldoc-mode):
3606 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3607 minor mode behavior.
3608
aa42ab43
JL
36092011-10-19 Juri Linkov <juri@jurta.org>
3610
3611 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3612 the list of hard-coded chars with escape-glyph face.
3613
89400f1d
SM
36142011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3615
3616 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3617
305c07f6
MA
36182011-10-19 Michael Albinus <michael.albinus@gmx.de>
3619
3620 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3621 running process.
3622
13754b54
GM
36232011-10-19 Glenn Morris <rgm@gnu.org>
3624
3625 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3626 Ignore ignored files. (Bug#9726)
3627
06e21633
CY
36282011-10-19 Chong Yidong <cyd@gnu.org>
3629
3630 Doc fix for minor modes, stating that an omitted argument enables
3631 the mode unconditionally when called from Lisp.
3632
3633 * abbrev.el (abbrev-mode):
3634 * allout.el (allout-mode):
3635 * autoinsert.el (auto-insert-mode):
3636 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3637 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3638 (global-auto-revert-mode):
3639 * battery.el (display-battery-mode):
3640 * composite.el (global-auto-composition-mode)
3641 (auto-composition-mode):
3642 * delsel.el (delete-selection-mode):
3643 * desktop.el (desktop-save-mode):
3644 * dired-x.el (dired-omit-mode):
3645 * dirtrack.el (dirtrack-mode):
3646 * doc-view.el (doc-view-minor-mode):
3647 * double.el (double-mode):
3648 * electric.el (electric-indent-mode, electric-pair-mode):
3649 * emacs-lock.el (emacs-lock-mode):
3650 * epa-hook.el (auto-encryption-mode):
3651 * follow.el (follow-mode):
3652 * font-core.el (font-lock-mode):
3653 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3654 * help.el (temp-buffer-resize-mode):
3655 * hilit-chg.el (highlight-changes-mode)
3656 (highlight-changes-visible-mode):
3657 * hi-lock.el (hi-lock-mode):
3658 * hl-line.el (hl-line-mode, global-hl-line-mode):
3659 * icomplete.el (icomplete-mode):
3660 * ido.el (ido-everywhere):
3661 * image-file.el (auto-image-file-mode):
3662 * image-mode.el (image-minor-mode):
3663 * iswitchb.el (iswitchb-mode):
3664 * jka-cmpr-hook.el (auto-compression-mode):
3665 * linum.el (linum-mode):
3666 * longlines.el (longlines-mode):
3667 * master.el (master-mode):
3668 * mb-depth.el (minibuffer-depth-indicate-mode):
3669 * menu-bar.el (menu-bar-mode):
3670 * minibuf-eldef.el (minibuffer-electric-default-mode):
3671 * mouse-sel.el (mouse-sel-mode):
3672 * msb.el (msb-mode):
3673 * mwheel.el (mouse-wheel-mode):
3674 * outline.el (outline-minor-mode):
3675 * paren.el (show-paren-mode):
3676 * recentf.el (recentf-mode):
3677 * reveal.el (reveal-mode, global-reveal-mode):
3678 * rfn-eshadow.el (file-name-shadow-mode):
3679 * ruler-mode.el (ruler-mode):
3680 * savehist.el (savehist-mode):
3681 * scroll-all.el (scroll-all-mode):
3682 * scroll-bar.el (scroll-bar-mode):
3683 * server.el (server-mode):
3684 * shell.el (shell-dirtrack-mode):
3685 * simple.el (auto-fill-mode, transient-mark-mode)
3686 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3687 (line-number-mode, column-number-mode, size-indication-mode)
3688 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3689 * strokes.el (strokes-mode):
3690 * time.el (display-time-mode):
3691 * t-mouse.el (gpm-mouse-mode):
3692 * tool-bar.el (tool-bar-mode):
3693 * tooltip.el (tooltip-mode):
3694 * type-break.el (type-break-mode-line-message-mode)
3695 (type-break-query-mode):
3696 * view.el (view-mode):
3697 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3698 (global-whitespace-mode, global-whitespace-newline-mode):
3699 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3700
a3839de2
SM
3701 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3702 Fix autogenerated docstring.
06e21633 3703
5214e501
JL
37042011-10-19 Juri Linkov <juri@jurta.org>
3705
3706 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3707 by checking environment variables "DESKTOP_SESSION" and
3708 "XDG_CURRENT_DESKTOP". (Bug#9779)
3709
195f8db9
JL
37102011-10-19 Juri Linkov <juri@jurta.org>
3711
3712 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3713 (browse-url-chromium-program, browse-url-chromium-arguments):
3714 New defcustoms.
3715 (browse-url-default-browser): Check for `browse-url-chromium' and
3716 call `browse-url-chromium-program'.
3717 (browse-url-chromium): New command. (Bug#9779)
3718
343a34ff
JB
37192011-10-18 Juanma Barranquero <lekktu@gmail.com>
3720
3721 * facemenu.el (list-colors-duplicates): On Windows, detect more
3722 duplicates by assuming that only colors matching "^System" are
3723 special "system colors". (Bug#9722)
3724
6978a151
SM
37252011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3728 to distinguish the author from the committer.
3729
6a80b297
MA
37302011-10-18 Michael Albinus <michael.albinus@gmx.de>
3731
3732 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3733
b31a5677
JK
37342011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3735
3736 * international/mule.el (sgml-html-meta-auto-coding-function):
3737 Add support for detecting encoding in HTML5 specified only as
3738 <meta charset="UTF-8">. Implementation just makes http-equiv and
3739 content-type parts from HTML4 encoding string optional. (Bug#9716)
3740
80c6d77f
GM
37412011-10-18 Glenn Morris <rgm@gnu.org>
3742
3743 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3744
08b0fee8
CY
37452011-10-18 Chong Yidong <cyd@gnu.org>
3746
3747 * faces.el (cursor): Doc fix.
3748
67e729a5
CY
37492011-10-17 Chong Yidong <cyd@gnu.org>
3750
3751 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3752
343a34ff 37532011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3754
3755 * dirtrack.el (dirtrack): Support shell buffers with path
3756 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3757
0bc06380
TZ
37582011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3759
3760 * json.el: Bump version to 1.3 and note change in History.
3761 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3762
8b79f3e0
SM
37632011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3764
5a7c536b
SM
3765 * comint.el (comint-insert-input, comint-send-input)
3766 (comint-get-old-input-default, comint-backward-matching-input)
3767 (comint-next-prompt): Use nil instead of `input' for field property of
3768 past user input (bug#114).
3769
96a8a0df
SM
3770 * minibuffer.el (completion--replace): Inherit surrounding properties
3771 (bug#114).
3772 (minibuffer-complete-and-exit): Use it.
3773
8b79f3e0
SM
3774 * comint.el (comint--table-subvert): Quote the all-completions output
3775 (bug#9160).
3776
b8f7ff0d
MR
37772011-10-17 Martin Rudalics <rudalics@gmx.at>
3778
8b79f3e0 3779 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3780
b8f7ff0d 3781 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3782 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3783 entries and separate them from frame entries.
3784
c235b555
GM
37852011-10-15 Glenn Morris <rgm@gnu.org>
3786
3787 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3788 Doc fixes.
3789
6bbfa6e1
CY
37902011-10-15 Chong Yidong <cyd@stupidchicken.com>
3791
8b79f3e0
SM
3792 * net/network-stream.el (network-stream-open-starttls):
3793 Improve detection of failure due to lack of TLS support.
ec5c990d 3794
6bbfa6e1
CY
3795 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3796 putting the input text in front and in bold.
3797
98488977
SM
37982011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3799
3d1337be
SM
3800 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3801
ee0b45e4
SM
3802 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3803 empty buffer.
3804
98488977
SM
3805 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3806 unread-command-events rather than pushing yet-another event.
3807
186f4720
EZ
38082011-10-14 Eli Zaretskii <eliz@gnu.org>
3809
3810 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3811 the explanation of the possible choices. Make the options passed
3812 to completing-read shorter.
3813
8b7a997c
AM
38142011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3815
3816 * textmodes/flyspell.el (flyspell-large-region): Make sure
3817 extended character mode is used if defined (Bug#1339).
3818
12587bbb
EZ
38192011-10-13 Eli Zaretskii <eliz@gnu.org>
3820
3821 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3822 character info for LRE, LRO, RLE, and RLO characters by appending
3823 an invisible PDF.
12587bbb 3824
bad41229
SM
38252011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3828 even in case of error; add debug spec; simplify data flow.
3829 (with-timeout-handler): Remove.
3830
28dbc92f
MA
38312011-10-12 Michael Albinus <michael.albinus@gmx.de>
3832
3833 Fix Bug#6019, Bug#9315.
3834
3835 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3836 complete `buffer-file-name', the local file name part could look
3837 remotely (for example on VMS).
3838
3839 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3840 `tramp-run-real-handler'.
3841 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3842 already quoted by '"'.
3843
3844 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3845 Let `file-name-handler-alist' be nil, the local file name part
3846 could look remotely (for example on VMS).
3847
e1b0b23a
SM
38482011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3849
3850 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3851 from here...
3852 (flyspell-post-command-hook): ...to here.
3853
a120bde9
SM
38542011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3857 if not needed.
3858 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3859 using completion. Protect against "slow" callers.
3860 Remove the "message hack".
3861
7ce7717b
JL
38622011-10-11 Juri Linkov <juri@jurta.org>
3863
3864 * isearch.el (isearch-lazy-highlight-word): New variable.
3865 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3866 Use it. (Bug#9727)
3867
c02ee9d6
GM
38682011-10-11 Glenn Morris <rgm@gnu.org>
3869
3870 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3871 like f90-previous-statement does.
3872
93e616fd 38732011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3874
1f190e73 3875 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3876 only in interactive use, to avoid error.
3877
af7b6078
SM
38782011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * minibuffer.el (completion-file-name-table): Fix last change,
3881 i.e. ignore normal errors but not the other ones.
3882
0563dae9
MR
38832011-10-10 Martin Rudalics <rudalics@gmx.at>
3884
3885 * window.el (special-display-buffer-names)
3886 (special-display-regexps): Remove some remnants of earlier
3887 changes from doc-strings.
366ca7f3
MR
3888 (quit-windows-on): New function.
3889
3890 * vc/vc.el (vc-revert, vc-rollback):
3891 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3892 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3893 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3894
49677495
MR
38952011-10-09 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (frame-auto-hide-function): Add version tag.
3898 (Bug#9699)
3899
56f2d1e1
MA
39002011-10-09 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3903 condition.
3904
112a6592
LL
39052011-10-09 Leo Liu <sdl.web@gmail.com>
3906
3907 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3908 (Bug#9701)
3909
0812589b
GM
39102011-10-08 Glenn Morris <rgm@gnu.org>
3911
3912 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3913 before the first code statement zero indent. (Bug#9690)
3914
b2b0776e
CY
39152011-10-08 Chong Yidong <cyd@stupidchicken.com>
3916
3917 * simple.el (count-words-region): Always count in the region.
3918 Report the number of lines and characters too.
3919 (count-words): New command, which counts in the buffer if the
3920 region is inactive, as count-words-region used to.
3921 (count-words--message): New function. Handle plurals.
3922 (count-lines-region): Make it an alias for count-words-region.
3923
3924 * bindings.el (esc-map): Replace count-lines-region with
3925 count-words-region.
3926
c557cd6b
MR
39272011-10-08 Martin Rudalics <rudalics@gmx.at>
3928
3929 * window.el (window--delete): Delete dedicated frame
3930 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3931 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3932
61a57ef4 39332011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3934
3a7d293b 3935 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3936
c3833279
CY
39372011-10-07 Chong Yidong <cyd@stupidchicken.com>
3938
3939 * bindings.el ([M-left],[M-right]): Bind to left-word and
3940 right-word respectively.
3941
21ce8245
GM
39422011-10-07 Glenn Morris <rgm@gnu.org>
3943
3944 * cus-start.el (debug-on-quit): Fix custom type.
3945
6d823bb2
LMI
39462011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3947
0181e193
LMI
3948 * subr.el (define-key-after): Clarify that the function is not
3949 useful for non-menu keymaps.
3950
6d823bb2
LMI
3951 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3952
8e3459ce 39532011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3954
21ce8245 3955 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3956 in current minibuffer (Fix bug with recursive minibuffers).
3957
a1c2d21e
CY
39582011-10-06 Chong Yidong <cyd@stupidchicken.com>
3959
3960 * progmodes/gdb-mi.el (gdb): Doc fix.
3961
5a4cf282
MR
39622011-10-05 Martin Rudalics <rudalics@gmx.at>
3963
3964 * window.el (frame-auto-hide-function): New option replacing
3965 frame-auto-delete. Suggested by Stefan Monnier.
3966 (window--delete): Call frame-auto-hide-function instead of
3967 investigating frame-auto-delete.
c96111ea
MR
3968 (window-point-1, set-window-point-1): New functions.
3969 (window-in-direction, record-window-buffer, window-state-get-1)
3970 (display-buffer-record-window): Use window-point-1 instead of
3971 window-point.
3972 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3973
9854542e
SM
39742011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3977
8943cfb0
GM
39782011-10-05 Glenn Morris <rgm@gnu.org>
3979
3980 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3981 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3982
647ab967
LL
39832011-10-05 Leo Liu <sdl.web@gmail.com>
3984
3985 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3986 works with buffer object.
3987
3ddfbced
SM
39882011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * mpc.el (mpc-tool-bar-map): Add labels.
3991
bdfa5dd2
GM
39922011-10-04 Glenn Morris <rgm@gnu.org>
3993
3994 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3995
0e2070b5
MR
39962011-10-04 Martin Rudalics <rudalics@gmx.at>
3997
3998 * window.el (window--delete): New function.
3999 (frame-auto-delete): Resuscitate option.
4000 (bury-buffer, replace-buffer-in-windows)
4001 (quit-window): Rewrite using window--delete.
4002 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4003 Pass display-buffer-mark-dedicated to window--display-buffer-2
4004 (Bug#9639).
4005
3dc61a09
SM
40062011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4007
915a9b64
SM
4008 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4009 returns a list (bug#9554). Add remote file name completion.
4010 * comint.el (comint--table-subvert): Curry and get quote&unquote
4011 functions as arguments.
4012 (comint--complete-file-name-data): Adjust call accordingly.
4013 * pcomplete.el (pcomplete--table-subvert): Remove.
4014 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4015
3dc61a09
SM
4016 * minibuffer.el (completion-table-case-fold): Use currying.
4017 (completion--styles-type, completion--cycling-threshold-type):
4018 New constants.
4019 (completion-styles, completion-category-overrides)
4020 (completion-cycle-threshold): Use them.
4021 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4022 completion-table-case-fold.
4023
8ea0a993
SB
40242011-10-03 Stephen Berman <stephen.berman@gmx.net>
4025
4026 * minibuffer.el (completion-category-overrides): Fix type of styles
4027 and add more user friendly tags (bug#9660).
4028
8c24b7f6
SM
40292011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4032 (mule-input-method-string): New widget.
4033 (default-input-method, language-info-custom-alist): Use it.
4034
428fe61a
SM
40352011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4036
32c1fffd
SM
4037 * pcomplete.el: Require comint.
4038 (pcomplete--common-suffix): Remove.
4039 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4040 (pcomplete--table-subvert): Sync with comint--table-subvert.
4041 (pcomplete--entries): Use comint-completion-file-name-table.
4042 * comint.el (comint-unquote-filename): Simplify.
4043 (comint-completion-file-name-table): New function (bug#9616).
4044 (comint--complete-file-name-data): Use it.
4045
428fe61a
SM
4046 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4047 (pcmpl-gnu-tar-buffer): Remove.
4048 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4049 around. Make sure pcomplete-suffix-list is only changed temporarily.
4050 Don't look inside the tar's file if it's too large.
428fe61a 4051
04c52e2f
CY
40522011-10-01 Chong Yidong <cyd@stupidchicken.com>
4053
ce3cefcc
CY
4054 * cus-edit.el (custom-mode-map):
4055 * epa.el (epa-key-list-mode-map):
4056 * man.el (Man-mode-map):
4057 * startup.el (splash-screen-keymap):
4058 * simple.el (special-mode-map): Use scroll-up-command and
4059 scroll-down-command.
4060
4061 * progmodes/idlw-help.el (idlwave-help-mode-map):
4062 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4063 * net/newst-plainview.el (newsticker-mode-map):
4064 * emulation/ws-mode.el (wordstar-mode-map):
4065 * emulation/vi.el (vi-com-map):
4066 * calc/calc-graph.el (calc-graph-show-dumb):
4067 * term/sun.el (terminal-init-sun):
4068 * term/ns-win.el (global-map):
4069 * progmodes/grep.el (grep-mode-map):
4070 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4071 * mail/rmail.el (rmail-mode-map):
4072 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4073
04c52e2f
CY
4074 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4075 custom-safe-themes as special.
4076
79adf8c8
JD
40772011-10-01 Julien Danjou <julien@danjou.info>
4078
4079 * notifications.el (notifications-notify): Fix docstring.
4080
63bd50d3
PS
40812011-10-01 Per Starbäck <per@starback.se>
4082
4083 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4084
199e4c7e
MR
40852011-09-30 Martin Rudalics <rudalics@gmx.at>
4086
4087 * startup.el (command-line-1): Fix last fix by inserting
4088 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4089 (Bug#9605) and (Bug#9636)
199e4c7e 4090
fe5f08dd
EZ
40912011-09-29 Eli Zaretskii <eliz@gnu.org>
4092
4093 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4094 window is hscrolled, move by logical lines. (Bug#9607)
4095 (line-move-visual): Update the doc string to the above effect.
4096
b5516bbd
MR
40972011-09-29 Martin Rudalics <rudalics@gmx.at>
4098
ccee00c0
MR
4099 * window.el (display-buffer-record-window): When WINDOW is the
4100 selected window use `point' instead of `window-point'. (Bug#9626)
4101
b5516bbd
MR
4102 * startup.el (command-line-1): Use insert-before-markers when
4103 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4104
b5516bbd
MR
4105 * help.el (help-window): Remove variable.
4106
52aa0014
GM
41072011-09-29 Glenn Morris <rgm@gnu.org>
4108
4109 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4110
df9a7357
JB
41112011-09-29 Juanma Barranquero <lekktu@gmail.com>
4112
4113 * descr-text.el (describe-char-categories): Accept category
4114 descriptions more than one line long.
4115
a8406c20
SM
41162011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4117
88d9610c
SM
4118 * simple.el (delete-trailing-whitespace): Fix last change.
4119
a5daf810
SM
4120 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4121 Don't confuse "y => 3" as the beginning of a `y' operation.
4122
a8406c20
SM
4123 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4124 object has more than 4 slots (bug#9613).
4125
a239d4e9
JB
41262011-09-28 Juanma Barranquero <lekktu@gmail.com>
4127
4128 * subr.el (with-output-to-temp-buffer):
4129 * net/quickurl.el (quickurl, quickurl-browse-url):
4130 Fix typos in docstrings.
4131
693fbdb6
EZ
41322011-09-27 Eli Zaretskii <eliz@gnu.org>
4133
4134 * minibuffer.el (completion-styles)
4135 (completion-category-overrides): Cross reference each other in doc
4136 strings.
4137
8b457e28
GM
41382011-09-27 Glenn Morris <rgm@gnu.org>
4139
4140 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4141 to split-string. (Bug#9606)
4142
85a16208
LMI
41432011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4144
4145 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4146 (bug#9615).
4147
502f9ebd
CY
41482011-09-27 Chong Yidong <cyd@stupidchicken.com>
4149
4150 * emacs-lisp/package.el (list-packages): Fix echo area message.
4151
7690bdea
LL
41522011-09-27 Leo Liu <sdl.web@gmail.com>
4153
4154 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4155
e2ee6f30
MA
41562011-09-25 Michael Albinus <michael.albinus@gmx.de>
4157
4158 * net/dbus.el (dbus-unregister-object): Don't release services for
4159 registered signals. (Bug#9581)
4160
f3f98342
TZ
41612011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4162
4163 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4164 function that picks between cfengine 2 and 3 support
4165 automatically. Update docs accordingly.
4166
dd7aa8dd
KH
41672011-09-22 Kenichi Handa <handa@m17n.org>
4168
4169 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4170 ZERO.
4171 (indian-itrans-v5-table-for-tamil): New variable.
4172 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4173
3f2b07f8
KM
41742011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4175
4176 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4177 that's true if the current command involved collapsing of text.
4178 It's reset to false at the beginning of the next command.
4179 (allout-post-command-business): Move the cursor to the beginning
4180 of entry if the cursor is hidden and collapsing activity just
4181 happened.
4182
371d6a61
CY
41832011-09-24 Chong Yidong <cyd@stupidchicken.com>
4184
4185 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4186 tracking (Bug#9541).
4187
2ac2721a
UJ
41882011-09-24 Ulf Jasper <ulf.jasper@web.de>
4189
4190 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4191 (newsticker-show-news): Automatically load html rendering package
4192 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4193 because w3m-fill-column is let-bound" and the error "Symbol's value
4194 as variable is void: w3m-fill-column".
2ac2721a 4195
fac7ae53
MA
41962011-09-24 Michael Albinus <michael.albinus@gmx.de>
4197
4198 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4199 Release services only if they are defined. (Bug#9581)
4200
e08b633b
RS
42012011-09-23 Richard Stallman <rms@gnu.org>
4202
e488d29c
RS
4203 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4204 distinguish start of paragraph from start of its text.
4205
19c38752
RS
4206 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4207
e08b633b
RS
4208 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4209 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4210 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4211
0a39f27e
AS
42122011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4213
4214 * international/mule-diag.el (mule-diag): Insert a newline after
4215 each fontset description.
4216
db4e950d
SM
42172011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * simple.el (delete-trailing-whitespace):
4220 Document last change; simplify.
4221
eca3f3ea
PW
42222011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4223
d68e189a
PW
4224 * simple.el (delete-trailing-whitespace): Also delete
4225 extra newlines at the end of the buffer.
4226
eca3f3ea
PW
4227 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4228 (picture-newline): Use forward-line so as to ignore fields.
4229
01c157cc
SM
42302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * subr.el (with-wrapper-hook): Fix edebug spec.
4233
022de23e
LMI
42342011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4235
4236 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4237 (bug#4538).
4238
91683089
MA
42392011-09-23 Michael Albinus <michael.albinus@gmx.de>
4240
eca3f3ea
PW
4241 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4242 Fix nasty bug using wrong cached values.
91683089 4243
5bdd6fa4
AM
42442011-09-23 Alan Mackenzie <acm@muc.de>
4245
4246 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4247
97adfb97
CY
42482011-09-23 Chong Yidong <cyd@stupidchicken.com>
4249
4250 * window.el (pop-to-buffer): Ensure right window is selected if we
4251 chose another frame.
4252
d4ef2b50
EZ
42532011-09-22 Eli Zaretskii <eliz@gnu.org>
4254
4255 * simple.el (what-cursor-position): Use get-char-property-change
4256 and next-single-char-property-change, to be able to show display
4257 properties that come from overlays as well as text properties.
4258
72258fe5
CY
42592011-09-22 Chong Yidong <cyd@stupidchicken.com>
4260
4261 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4262
4263 * cmuscheme.el (run-scheme, switch-to-scheme):
4264 * cus-edit.el (customize-group, custom-buffer-create)
4265 (customize-browse):
4266 * info.el (info):
4267 * shell.el (shell):
4268 * mail/sendmail.el (mail):
4269 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4270
8f098516
RS
42712011-09-22 Richard Stallman <rms@gnu.org>
4272
4273 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4274 move back only to line beg, don't move back over blank lines.
4275
e74f1bb6
MA
42762011-09-22 Michael Albinus <michael.albinus@gmx.de>
4277
4278 * files.el (copy-directory): Set directory attributes only in case
4279 they could be retrieved from the source directory. (Bug#9565)
4280
bfeef8b6
DK
42812011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4282
4283 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4284 (hs-find-block-beginning, hs-hide-level-recursive):
4285 Ignore strings as well as comments. (Bug#9502)
4286
7e423bb8
AS
42872011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4288
4289 * progmodes/sql.el (sql-comint-postgres):
4290 Convert port number to a string. (Bug#9566)
4291
b4d72fcf
MR
42922011-09-22 Martin Rudalics <rudalics@gmx.at>
4293
4294 * window.el (quit-window): Undedicate window when switching to
4295 previous buffer. Reported by Thierry Volpiatto
4296 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4297 (special-display-popup-frame): When popping up a new frame reset
4298 its previous buffers to nil. Simplify code.
b4d72fcf 4299
a7b88dc6
MA
43002011-09-21 Michael Albinus <michael.albinus@gmx.de>
4301
4302 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4303 and process filter, as done also in `shell-command'.
4304
cf4eacfd
MR
43052011-09-21 Martin Rudalics <rudalics@gmx.at>
4306
eca3f3ea 4307 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4308 Call set-window-start with NOFORCE argument t.
4309 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4310 (quit-window): Reword doc-string. Handle new format of
4311 quit-restore parameter. Don't delete window if it has a
4312 previous buffer we can show instead of the present one.
4313 (display-buffer-record-window): Rewrite using a new format for
4314 the quit-restore window parameter
4315 (special-display-popup-frame, display-buffer-same-window)
4316 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4317 (display-buffer-pop-up-window, display-buffer-use-some-window):
4318 Adapt symbol passed to display-buffer-record-window.
4319 * help.el (help-window-setup): Handle new format of quit-restore
4320 parameter.
4321
8d28cb95
SM
43222011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4323
94ab793f
SM
4324 * faces.el (face-list): Fix docstring (bug#9564).
4325
8d28cb95
SM
4326 * window.el (display-buffer--action-function-custom-type):
4327 Don't include internal functions in the Custom interface.
4328
3820edeb
JL
43292011-09-20 Juri Linkov <juri@jurta.org>
4330
4331 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4332 (Info-forward-node, Info-backward-node, Info-next-preorder)
4333 (Info-last-preorder): Use it. (Bug#9528)
4334
5147931d
JL
43352011-09-20 Juri Linkov <juri@jurta.org>
4336
4337 * info.el (Info-last-preorder): Visit last menu item only when
4338 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4339
cf499a1a
JD
43402011-09-20 Julien Danjou <julien@danjou.info>
4341
4342 * password-cache.el (password-cache-remove): Remove entries even if the
4343 value is nil, so that password with a nil value (negative caching) is
4344 possible to invalidate.
4345
f84e2fe2
LM
43462011-09-20 Lawrence Mitchell <wence@gmx.li>
4347
4348 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4349 all whitespace around breakpoint. (Bug#9553)
4350 (f90-find-breakpoint): Only break at whitespace inside a comment.
4351
78054a46
SM
43522011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * minibuffer.el (completion-file-name-table): Keep track of errors.
4355 (completion-table-with-predicate): Handle the case where pred1 is nil.
4356 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4357
345083b2
SM
43582011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4359
e24e27be
SM
4360 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4361 (debugger-return-value): Signal an error if the debugging context does
4362 not await any return value.
4363
345083b2
SM
4364 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4365 * image-mode.el (image-toggle-display-text)
4366 (image-toggle-display-image): Stay away from evil `intangible'.
4367
08d355e3
LL
43682011-09-19 Leo Liu <sdl.web@gmail.com>
4369
4370 * replace.el (occur-revert-arguments): Make it permanent-local.
4371 (occur-mode): Don't call font-lock-defontify.
4372
f01da43f
CY
43732011-09-19 Chong Yidong <cyd@stupidchicken.com>
4374
4375 * net/ldap.el (ldap-search-internal): Don't push empty search
4376 result (Bug#9508).
4377
b6072fa6
SM
43782011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4381
443d6696
MA
43822011-09-19 Michael Albinus <michael.albinus@gmx.de>
4383
4384 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4385 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4386
7cc6e154
JL
43872011-09-18 Juri Linkov <juri@jurta.org>
4388
4389 * buff-menu.el (Buffer-menu-mode-map):
4390 * dired.el (dired-mode-map):
4391 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4392 (lisp-interaction-mode-map):
4393 * emacs-lisp/package.el (package-menu-mode-map):
4394 * epa.el (epa-key-list-mode-map):
4395 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4396 (menu-bar-options-menu):
4397 * outline.el (outline-mode-menu-bar-map):
4398 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4399 * vc/vc-dir.el (vc-dir-menu-map):
4400 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4401 Capitalize non-function content words in menu item strings.
4402
4403 * dired.el (dired-mode-map): Add menu item for
4404 `image-dired-dired-toggle-marked-thumbs'.
4405
80302a81
JL
44062011-09-18 Juri Linkov <juri@jurta.org>
4407
4408 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4409 to `isearch-case-fold-search' and restore its original value
4410 after the `isearch-mode' call.
4411
46c5cf66
JL
44122011-09-18 Juri Linkov <juri@jurta.org>
4413
4414 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4415 because `zgrep' returns 1 for successful matches (bug#9226).
4416
d18b513b
JL
44172011-09-18 Juri Linkov <juri@jurta.org>
4418
4419 * info.el (Info-extract-menu-node-name): Check the second match
4420 for empty string (second test-case of bug#9528).
4421 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4422 intermediate nodes to the history (first test-case of bug#9528).
4423
72753f87
JL
44242011-09-18 Juri Linkov <juri@jurta.org>
4425
4426 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4427 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4428
c9384295
JL
44292011-09-18 Juri Linkov <juri@jurta.org>
4430
1154d12e
JB
4431 * info.el (Info-file-supports-index-cookies):
4432 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4433 outputs one more line for long file names (bug#4142).
c9384295 4434
d473dce8
CY
44352011-09-18 Chong Yidong <cyd@stupidchicken.com>
4436
4437 * newcomment.el (comment-normalize-vars): If prompting for
4438 comment-start, set comment-start-skip too (Bug#8424).
4439
2176854d
JB
44402011-09-18 Johan Bockgård <bojohan@gnu.org>
4441
4442 * icomplete.el: Fix previous fix of Bug#5849.
4443 (icomplete-mode): Don't set completion-show-inline-help.
4444 (icomplete-minibuffer-setup): Set completion-show-inline-help
4445 locally during icompletion.
4446
3aace4e4
CY
44472011-09-18 Chong Yidong <cyd@stupidchicken.com>
4448
c940224f
CY
4449 * woman.el (woman2-process-escapes): Don't delete unrecognized
4450 escapes (Bug#7843).
4451
3aace4e4
CY
4452 * files.el (inhibit-first-line-modes-regexps): Add image files.
4453 (hack-local-variables-prop-line): Return nil for malformed
4454 prop-lines (Bug#9044).
4455
710dec63
MA
44562011-09-18 Michael Albinus <michael.albinus@gmx.de>
4457
4458 * net/tramp.el (top): Don't require 'shell.
4459 (tramp-methods): Fix docstring.
4460 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4461 Return complete remote file name. Handle "smb" case.
4462 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4463 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4464
4465 * net/tramp-compat.el (top): Require 'shell.
4466
4467 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4468 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4469 `tramp-current-host'.
4470 (tramp-get-remote-tmpdir): Remove.
4471
4472 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4473 `tramp-tmpdir' entries.
4474 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4475 (tramp-smb-handle-file-attributes): Ignore errors.
4476 (tramp-smb-wait-for-output): Check also for process end.
4477
5d5ac8ec
LMI
44782011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4479
4480 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4481 when sending QUIT (bug#9312).
4482
8c0f49f0
CY
44832011-09-17 Chong Yidong <cyd@stupidchicken.com>
4484
4485 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4486 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4487 occur-mode-display-occurrence.
4488 (occur-edit-mode): Add usage message.
4489 (occur-cease-edit): New command.
4490 (occur-after-change-function): Use text properties to find the
4491 position of the prefix text.
4492 (occur-engine): Set stickiness of prefix text properties.
4493
8f1383f7
GM
44942011-09-17 Glenn Morris <rgm@gnu.org>
4495
4496 * progmodes/etags.el (complete-tag):
4497 Fix call to completion-in-region. (Bug#9526)
4498
744ba0e3
JL
44992011-09-17 Juri Linkov <juri@jurta.org>
4500
4501 * textmodes/ispell.el (ispell-word): Add to the error message
4502 the word, ispell program name and current dictionary (bug#9121).
4503 (ispell-tex-arg-end): Capitalize "error" in the error message.
4504
d9bbf400
AS
45052011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4506
4507 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4508 check. (Bug#4251)
4509
8da11505
JL
45102011-09-17 Juri Linkov <juri@jurta.org>
4511
4512 * window.el (window-safe-min-height, window-safe-min-width):
4513 Fix typos (followup to bug#9522).
4514
a91adc7e
SJ
45152011-09-17 Sven Joachim <svenjoac@gmx.de>
4516
4517 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4518
064f328a
EZ
45192011-09-16 Eli Zaretskii <eliz@gnu.org>
4520
4521 * simple.el (line-move): If goal-column is set, move by logical
4522 lines, not by display lines. (Bug#971)
4523 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4524 to reflect the above change.
4525
e69df516
SM
45262011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * image.el (imagemagick-register-types): Use regexp-opt.
4529
cbb0f9ab
CY
45302011-09-15 Chong Yidong <cyd@stupidchicken.com>
4531
4532 * window.el (display-buffer-base-action): Rename from
4533 display-buffer-default-action. Make default value empty.
4534 (display-buffer-overriding-action): Convert to defvar.
4535 (display-buffer-fallback-action): New var.
4536
25322144
CY
45372011-09-15 Chong Yidong <cyd@stupidchicken.com>
4538
4539 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4540 declaration.
4541 (package--add-to-archive-contents): If there is a duplicate entry
4542 with an older version, remove it.
4543 (package-menu-mark-delete, package-menu-mark-install)
4544 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4545 (package-menu-mark-obsolete-for-deletion):
4546 Use package-menu-get-status instead of a regexp search.
25322144
CY
4547 (package-menu-get-status): Use tabulated-list-entry.
4548 (package-menu-mark-upgrades): New command.
d770725a 4549 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4550 (package-menu-execute): Do installation before deletion.
4551 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4552 instead of checking major-mode.
4553 (package-menu--find-upgrades): New function.
4554
7520339c
LMI
45552011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4556
4557 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4558 passwords in the log buffer.
65a046c4
LMI
4559 (smtpmail-process-filter): Update the process marker so that the
4560 "broken by peer" status message is inserted in the right place.
7520339c 4561
d3c30954
SM
45622011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4563
3fe48822
SM
4564 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4565 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4566 bibtex-completion-at-point-function.
4567 (bibtex-completion-at-point-function): Use them.
4568
1b8b3954
SM
4569 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4570
d3c30954
SM
4571 * mpc.el (mpc-constraints-tag-lookup): New function.
4572 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4573 also to browser "album|playlist".
4574
72779976
JL
45752011-09-14 Juri Linkov <juri@jurta.org>
4576
4577 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4578 (isearch-edit-string): Use length of `isearch-string' when
4579 `isearch-fail-pos' returns nil.
4580 (isearch-message): Remove duplicate code and call
4581 `isearch-fail-pos' with arg `t'.
4582
a0bf2bcd
CY
45832011-09-14 Chong Yidong <cyd@stupidchicken.com>
4584
17bb0a2d
CY
4585 * replace.el (occur-mode-goto-occurrence): Don't force using other
4586 window (Bug#9499).
4587
a0bf2bcd
CY
4588 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4589
f678e0b6
MR
45902011-09-14 Martin Rudalics <rudalics@gmx.at>
4591
4592 * window.el (display-buffer-window): Remove.
4593 (display-buffer-record-window): Use help-setup window parameter
4594 instead of variable display-buffer-window.
4595 (display-buffer-function, special-display-buffer-names)
4596 (special-display-function): Mention help-setup parameter instead
4597 of display-buffer-window in doc-string.
d3c30954
SM
4598 * help.el (help-window-setup): New argument help-window.
4599 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4600 Reword some messages.
4601 (with-help-window): Pass window used for displaying the buffer
4602 to help-window-setup. Don't set display-buffer-window.
4603
8e39b2e8
GM
46042011-09-13 Glenn Morris <rgm@gnu.org>
4605
4606 * emacs-lisp/debug.el (debugger-make-xrefs):
4607 Preserve point. (Bug#9462)
4608
85e9c04b
CY
46092011-09-13 Chong Yidong <cyd@stupidchicken.com>
4610
4611 * window.el (window-deletable-p): Use next-frame.
4612
1b36ed6a
MR
46132011-09-13 Martin Rudalics <rudalics@gmx.at>
4614
4615 * window.el (window-auto-delete): Remove.
4616 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4617 dedication and previous buffers.
1b36ed6a
MR
4618 (switch-to-prev-buffer): Don't delete window.
4619 (delete-windows-on): Delete a window's frame if and only if the
4620 window is dedicated.
4621 (replace-buffer-in-windows): Delete buffer's window or frame if
4622 and only if window is dedicated.
4623 (quit-window): Handle quit-restore as before last change.
4d61f28d 4624 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4625
ef8ef9fb
CY
46262011-09-13 Chong Yidong <cyd@stupidchicken.com>
4627
4628 * window.el (window-deletable-p): Never delete the last frame on a
4629 given terminal.
4630
b2cba41e
GM
46312011-09-13 Glenn Morris <rgm@gnu.org>
4632
4633 * help.el (describe-key-briefly): Copy previous standard-output change.
4634
51553db6 46352011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4636
4637 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4638
b7556719
GM
46392011-09-13 Glenn Morris <rgm@gnu.org>
4640
4641 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4642 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4643
64b51947
CY
46442011-09-12 Chong Yidong <cyd@stupidchicken.com>
4645
4646 * dired-aux.el (dired-mark-read-string): Don't return default
4647 value on empty input (Bug#9361).
4648 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4649 Omit initial minibuffer contents.
4650 (dired-do-chmod): Signal an error on empty input.
4651 (dired-mark-read-string): Don't return default on empty input.
4652
4653 * files.el (file-modes-symbolic-to-number): Doc fix.
4654
393a301e
SM
46552011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4656
4657 * international/mule-cmds.el (ucs-completions): Remove.
4658 (read-char-by-name): Use complete-with-action instead; add metadata.
4659
fa5660f9
CY
46602011-09-11 Chong Yidong <cyd@stupidchicken.com>
4661
4662 * window.el (display-buffer--action-function-custom-type)
4663 (display-buffer--action-custom-type): New vars.
4664 (display-buffer-alist, display-buffer-default-action)
4665 (display-buffer-overriding-action): Add defcustom types.
4666
4a592f66
CY
4667 * frame.el (delete-other-frames): Doc fix (Bug#276).
4668
73d56dbd
LMI
46692011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4670
4671 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4672
37ac18a3
CY
46732011-09-11 Chong Yidong <cyd@stupidchicken.com>
4674
4675 Change modes that used same-window-* vars to use switch-to-buffer.
4676
4677 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4678 Use switch-to-buffer.
4679
4680 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4681 (customize-browse, custom-buffer-create-other-window):
4682 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4683
4684 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4685 (Info-prev, Info-up, Info-speedbar-goto-node)
4686 (info-display-manual): Use switch-to-buffer.
4687 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4688
4689 * mail/sendmail.el (mail): Use switch-to-buffer.
4690 (mail-recover): Use switch-to-buffer-other-window.
4691
4692 * cmuscheme.el (run-scheme, switch-to-scheme):
4693 * ielm.el (ielm):
4694 * shell.el (shell):
4695 * net/rlogin.el (rlogin):
4696 * net/telnet.el (telnet, rsh):
4697 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4698
10195bd6
AS
46992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4700
4701 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4702
b322f63a
LMI
47032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4704
39d7fed6
LMI
4705 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4706 so don't mention it (bug#9301).
ba5a81f1 4707 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4708
ee0e9f11
LMI
4709 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4710 match `x', `w32' and `ns', like the manual says (bug#9029).
4711
0b1c89c1 4712 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4713 (process-kill-buffer-query-function): Mention the buffer name in
4714 the query.
0b1c89c1 4715
77549ea8
LMI
4716 * image-mode.el (image-next-line): The line parameter is mandatory
4717 (bug#9258).
4718
803ef892
LMI
4719 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4720 which can be useful (bug#9301).
4721
12980837
LMI
4722 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4723
91054f8f
LMI
4724 * subr.el (match-string): Mention that the current buffer should
4725 be the same as the search was done in (bug#9282).
4726
b322f63a
LMI
4727 * facemenu.el: Disable the remove-* commands if the mark isn't
4728 active (bug#9162).
4729
3199b96f
CY
47302011-09-10 Chong Yidong <cyd@stupidchicken.com>
4731
4732 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4733 of display-buffer.
4734 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4735
4736 * replace.el (occur-mode-goto-occurrence)
4737 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4738 and display-buffer.
4739
4740 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4741 display-buffer.
4742
4743 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4744 special-display and same-window variables.
4745 (mail-other-window): Use switch-to-buffer-other-window.
4746 (mail-other-frame): USe switch-to-buffer-other-frame.
4747
393a301e
SM
4748 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4749 Use display-buffer-other-frame.
3199b96f
CY
4750 (gdb-display-gdb-buffer): Use pop-to-buffer.
4751
4752 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4753
4754 * progmodes/python.el: Don't set same-window-buffer-names.
4755
4756 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4757
4758 * window.el (display-buffer-alist): Add *Python*.
4759
8319e0bf
CY
47602011-09-10 Chong Yidong <cyd@stupidchicken.com>
4761
4762 * window.el (display-buffer-alist): Add entry for buffers
4763 previously handled same-window-*.
4764 (display-buffer-alist, display-buffer-default-action)
4765 (display-buffer-overriding-action): Mark as risky.
4766 (display-buffer-alist): Document action function changes.
4767 (display-buffer--same-window-action)
4768 (display-buffer--other-frame-action): New variables.
4769 (switch-to-buffer, display-buffer-other-frame): Use them.
4770 (display-buffer): Rename reuse-frame entry to reusable-frames.
4771 (display-buffer-reuse-selected-window): Function deleted.
4772 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4773 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4774 (display-buffer-special): New function.
4775 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4776 display-buffer-reuse-or-pop-window. Split off special-display
4777 part into display-buffer-special.
4778 (display-buffer-use-some-window): Don't perform any special
4779 pop-up-frames handling.
4780 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4781 (display-buffer--maybe-same-window): Rename from
0d3ff375 4782 display-buffer-maybe-same-window.
8319e0bf 4783
919a69aa
CY
4784 * info.el: Don't set same-window-regexps.
4785 (info-setup): New function.
4786 (info-other-window, info): Call it.
4787
4788 * cus-edit.el: Don't set same-window-regexps.
4789 (customize-group): New argument.
4790 (customize-group-other-window): Use it.
4791 (customize-face, customize-face-other-window): Likewise.
4792 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4793
8319e0bf
CY
4794 * net/rlogin.el:
4795 * net/telnet.el:
4796 * progmodes/gud.el: Don't set same-window-regexps.
4797
4798 * cmuscheme.el:
4799 * ielm.el:
4800 * shell.el:
4801 * mail/sendmail.el:
4802 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4803
25173000
JL
48042011-09-10 Juri Linkov <juri@jurta.org>
4805
4806 * isearch.el (isearch-edit-string): Remove obsolete mention of
4807 `C-w' (`isearch-yank-word-or-char') from docstring.
4808 (isearch-query-replace): Fix typo in docstring (bug#9466).
4809
056e44ef
JL
48102011-09-10 Juri Linkov <juri@jurta.org>
4811
4812 * paren.el (show-paren-function): Don't show escaped parens.
4813 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4814
c3760c17
EZ
48152011-09-10 Eli Zaretskii <eliz@gnu.org>
4816
4817 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4818 (mm-default-file-encoding): Remove autoload forms, they are
4819 replaced with autoload cookies in mml.el and mm-encode.el.
4820 (mail-add-attachment): New command.
4821 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4822 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4823 the doc string.
4824 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4825
fece895e
RT
48262011-09-10 Reuben Thomas <rrt@sc3d.org>
4827
e69df516
SM
4828 * simple.el (count-words-region): Use buffer if there's no region
4829 (bug#9429).
fece895e 4830
5e68ce4a
JL
48312011-09-09 Juri Linkov <juri@jurta.org>
4832
4833 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4834 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4835 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4836
0a6b9622
AM
48372011-09-09 Alan Mackenzie <acm@muc.de>
4838
4839 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4840 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4841
14a29deb
EZ
48422011-09-09 Eli Zaretskii <eliz@gnu.org>
4843
4844 Fix for Savannah bug#9392.
4845 * simple.el (mail-encode-mml): New defvar.
4846
4847 * mail/rmail.el (mail-encode-mml): Add a defvar.
4848 (rmail-enable-mime-composing): Default to t.
4849 (rmail-forward): Use MIME method of forwarding only if both
4850 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4851 Set mail-encode-mml non-nil if the MIME method was used.
4852
4853 * mail/sendmail.el (mml-to-mime): Add autoload form.
4854 (mail-encode-mml): Add a defvar.
4855 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4856 to nil.
4857 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4858 message through mml-to-mime, and reset mail-encode-mml to nil.
4859
28c45130
GM
48602011-09-09 Glenn Morris <rgm@gnu.org>
4861
4862 * woman.el (woman-if-body): When processing an .el block,
4863 do not delete the next .el block as well. (Bug#9447)
69f4b618 4864 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4865
9b1c252e
MR
48662011-09-08 Martin Rudalics <rudalics@gmx.at>
4867
4868 * window.el (window-deletable-p): Make sure window is live before
4869 invoking window-prev-buffers.
4870
567457e3
LL
48712011-09-08 Leo Liu <sdl.web@gmail.com>
4872
4873 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4874
97f05794
JL
48752011-09-08 Juri Linkov <juri@jurta.org>
4876
4877 * progmodes/compile.el (compilation-environment): Make it
4878 a defcustom (bug#8340).
4879
8b0874b5
MR
48802011-09-08 Martin Rudalics <rudalics@gmx.at>
4881
4882 * window.el (frame-auto-delete): Rename to window-auto-delete.
4883 Make it control auto-deletion of windows and/or frames.
4884 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4885 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4886 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4887 Rewrite handling of case when window/frame can be deleted.
4888 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4889 argument t. (Bug#9456)
8b0874b5 4890
4feb6e73
CY
48912011-09-07 Chong Yidong <cyd@stupidchicken.com>
4892
4893 * help-mode.el (help-mode): Restore autoload.
4894
91ab9c13
JL
48952011-09-07 Juri Linkov <juri@jurta.org>
4896
4897 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4898 `compilation-environment'. Set buffer-local
4899 `compilation-environment' to `thisenv' later after (funcall mode).
4900 (Bug#8340)
4901
4902 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4903 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4904 instead of replacing its value. (Bug#8340)
4905
0527e251
JL
49062011-09-07 Juri Linkov <juri@jurta.org>
4907
4908 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4909 based on text properties put by `grep-filter' instead of matching
4910 escape sequences.
4911 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4912 to the value of `grep-error-screen-columns' (bug#9438).
4913
249f792c
JL
49142011-09-07 Juri Linkov <juri@jurta.org>
4915
4916 * simple.el (next-error-highlight, next-error-highlight-no-select):
4917 Doc fix (bug#9432).
4918
ff7271b9
OT
49192011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4920
4921 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4922 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4923
183fc730
LL
49242011-09-07 Leo Liu <sdl.web@gmail.com>
4925
4926 * net/rcirc.el (rcirc-mode): Conditionally initialize
4927 rcirc-input-ring.
4928
77694924
SM
49292011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * emacs-lisp/find-func.el (find-function-C-source): Only set
4932 find-function-C-source-directory after checking that we found a source
4933 file there (bug#9440).
4934
d809b8eb
AM
49352011-09-06 Alan Mackenzie <acm@muc.de>
4936
4937 * isearch.el (isearch-other-meta-char): Wherever a key list is
4938 unread, "unread" the prefix arg, too. This fixes bug #8901.
4939
453de99f
OG
49402011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4941
4942 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4943
90439906
JL
49442011-09-05 Juri Linkov <juri@jurta.org>
4945
4946 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4947
f62bd846
JL
49482011-09-05 Juri Linkov <juri@jurta.org>
4949
4950 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4951 keeping point where processing of grep matches begins, and
4952 continue to delete remaining escape sequences from the same point.
4953 (grep-filter): Make leading zero optional in "0?1;31m" because
4954 git-grep emits "\033[1;31m" escape sequences unlike expected
4955 "\033[01;31m" as GNU Grep does (bug#9408).
4956 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4957
045820ec
JL
49582011-09-05 Juri Linkov <juri@jurta.org>
4959
4960 * subr.el (y-or-n-p): Capitalize "yes".
4961
f5e29b9b
MA
49622011-09-04 Michael Albinus <michael.albinus@gmx.de>
4963
4964 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4965 `tramp-cache-unload-hook' where appropriate.
4966 (tramp-methods): Rename `tramp-remote-sh' to
4967 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4968 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4969
4970 * net/tramp-sh.el (top): Don't require 'shell.
4971 (tramp-methods): Add `tramp-remote-shell' and
4972 `tramp-remote-shell-args' entries.
4973 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4974 (tramp-sh-handle-shell-command): Remove.
4975 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4976 Use `tramp-remote-shell'.
4977
2784c434
CY
49782011-09-03 Chong Yidong <cyd@stupidchicken.com>
4979
393a301e 4980 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4981 (sendmail-query-once): Save directly to send-mail-function.
4982 Update message-send-mail-function too.
4983
4984 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4985
464cdf56
CS
49862011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4987
4988 * progmodes/python.el (python-mode-map): Use correct function to
4989 start python interpreter from menu-bar (as reported by Geert
4990 Kloosterman).
4991 (inferior-python-mode-map): Fix typo.
393a301e 4992 (python-shell-map): Remove.
464cdf56 4993
d37e5c87
DD
49942011-09-03 Deniz Dogan <deniz@dogan.se>
4995
4996 * net/rcirc.el (rcirc-print): Simplify code for
4997 rcirc-scroll-show-maximum-output. There is no need to walk
4998 through all windows to find the right one.
4999
f3ada0ee
CS
50002011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5001
5002 * help.el (help-return-method): Doc fix.
5003
1f3c99ca
MR
50042011-09-03 Martin Rudalics <rudalics@gmx.at>
5005
5006 * window.el (window-deletable-p): Don't return a non-nil value
5007 when there's a buffer that was shown in the window before.
5008 (Bug#9419)
393a301e
SM
5009 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5010 Set window's previous buffers to nil.
1f3c99ca 5011
a3cf097f
EZ
50122011-09-03 Eli Zaretskii <eliz@gnu.org>
5013
5014 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5015 newline before and after the tag line, so it doesn't interfere
5016 with determining the paragraph direction of bidirectional text.
5017
3d03de90
LL
50182011-09-03 Leo Liu <sdl.web@gmail.com>
5019
5020 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5021
c3313451
CY
50222011-09-02 Chong Yidong <cyd@stupidchicken.com>
5023
393a301e 5024 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5025 (pop-to-buffer): Change interactive spec. Pass second argument
5026 directly to display-buffer.
5027 (display-buffer): Fix interactive spec. Use functionp to
5028 distinguish between a function and a list of functions.
5029
5030 * abbrev.el (edit-abbrevs):
5031 * arc-mode.el (archive-extract):
5032 * autoinsert.el (auto-insert):
5033 * bookmark.el (bookmark-bmenu-list):
5034 * files.el (find-file):
5035 * view.el (view-buffer):
5036 * progmodes/compile.el (compilation-goto-locus):
5037 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5038
89894cd8
CY
50392011-09-02 Chong Yidong <cyd@stupidchicken.com>
5040
5041 * window.el (display-buffer-alist): Doc fix.
5042 (display-buffer): Add docstring. Don't treat
5043 display-buffer-default specially.
5044 (display-buffer-reuse-selected-window)
5045 (display-buffer-same-window, display-buffer-maybe-same-window)
5046 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5047 (display-buffer-pop-up-window)
5048 (display-buffer-reuse-or-pop-window)
5049 (display-buffer-use-some-window): New functions.
5050 (display-buffer-default-action): Use them.
393a301e 5051 (display-buffer-default): Delete.
89894cd8
CY
5052 (pop-to-buffer-1): Fix choice of actions.
5053
ae0bc9fb
SM
50542011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * minibuffer.el (completion--insert-strings): Don't get confused by
5057 completion entries that end with an LF char.
5058
e9d90883
EZ
50592011-09-01 Eli Zaretskii <eliz@gnu.org>
5060
5061 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5062
437014c8
CY
50632011-09-01 Chong Yidong <cyd@stupidchicken.com>
5064
5065 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5066 (display-buffer-same-window, display-buffer-other-window):
5067 New functions.
437014c8
CY
5068 (pop-to-buffer-1): New function. Use the above.
5069 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5070 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5071
5072 * view.el (view-buffer-other-window, view-buffer-other-frame):
5073 Just use pop-to-buffer.
5074
a5e063d5
TV
50752011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5076
5077 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5078
793d32bb
WH
50792011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5080
5081 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5082
d65e4c15
RS
50832011-08-31 Richard Stallman <rms@gnu.org>
5084
5085 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5086 of the separation of rmail-view-buffer from rmail-buffer.
5087 If you say no to "replace original", the decrypt is in the
5088 view buffer. If you say yes, the decrypt goes into the
5089 rmail buffer also.
5090
f818cd2a
MR
50912011-08-31 Martin Rudalics <rudalics@gmx.at>
5092
5093 * window.el (display-buffer-window): Rewrite doc-string.
5094 (display-buffer-record-window): New function.
5095 (display-buffer-macro-specifiers)
5096 (display-buffer-even-window-sizes, display-buffer-set-height)
5097 (display-buffer-set-width, display-buffer-in-window)
5098 (display-buffer-reuse-window, display-buffer-split-specifiers)
5099 (display-buffer-side-specifiers, display-buffer-split-window-1)
5100 (display-buffer-split-window, display-buffer-split-atom-window)
5101 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5102 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5103 (display-buffer-other-window-means-other-frame)
5104 (display-buffer-normalize-special)
5105 (display-buffer-normalize-default)
5106 (display-buffer-normalize-argument)
5107 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5108 (display-buffer-normalize-specifiers, display-buffer-frame)
5109 (display-buffer-same-window, display-buffer-same-frame)
5110 (display-buffer-other-window)
5111 (display-buffer-same-frame-other-window)
5112 (display-buffer-other-frame, pop-to-buffer-same-window)
5113 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5114 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5115 (switch-to-buffer-same-frame)
5116 (switch-to-buffer-other-window-same-frame)
5117 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5118 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5119 (display-buffer-alist-set): Remove.
5120 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5121 (special-display-regexps, special-display-function):
5122 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5123 parameter.
5124 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5125 (special-display-frame-alist, special-display-popup-frame)
5126 (same-window-buffer-names, same-window-regexps, same-window-p)
5127 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5128 (split-window-preferred-function, split-height-threshold)
5129 (split-width-threshold, window-splittable-p)
5130 (split-window-sensibly, window--try-to-split-window)
5131 (window--frame-usable-p, even-window-heights)
5132 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5133 (window--display-buffer-2, display-buffer-other-frame):
5134 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5135 (display-buffer-default, display-buffer-assq-regexp): New functions.
5136 (display-buffer-alist): Rewrite doc-string.
5137 (display-buffer-default-action)
5138 (display-buffer-overriding-action): New variables.
5139 (display-buffer, switch-to-buffer): Rewrite.
5140 (pop-to-buffer): Restore Emacs 23 behavior but use
5141 window-normalize-buffer-to-display.
5142 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5143 Restore Emacs 23 behavior but use
5144 window-normalize-buffer-to-switch-to.
5145 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5146 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5147 Rewrite using Emacs 23 options.
f818cd2a 5148
5bc3b51d
MA
51492011-08-31 Michael Albinus <michael.albinus@gmx.de>
5150
5151 * net/tramp.el (tramp-root-regexp): Remove.
5152 (tramp-completion-file-name-regexp-unified)
5153 (tramp-completion-file-name-regexp-separate)
5154 (tramp-completion-file-name-regexp-url): Don't use leading volume
5155 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5156 (tramp-drop-volume-letter): Simplify definition.
5157 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5158
b1a4f8e1
SM
51592011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5162 (bug#9356).
5163
5664fa7b
RT
51642011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5165
b1a4f8e1 5166 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5167
9a45d6c3
JL
51682011-08-29 Juri Linkov <juri@jurta.org>
5169
5170 * isearch.el (isearch-done): Don't display message "Mark saved"
5171 when arg `edit' is non-nil to prevent its flicker in the echo area.
5172
fb87e0fb
CY
51732011-08-28 Chong Yidong <cyd@stupidchicken.com>
5174
5175 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5176 obsolete packages for deletion.
5177
09ac1c2a
CS
51782011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5179
5180 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5181 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5182 view-mode from help-mode.
5183 (help-xref-override-view-map): Remove.
5184 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5185 view-mode is not used anymore.
5186
7a1ff57f
CY
51872011-08-28 Chong Yidong <cyd@stupidchicken.com>
5188
5189 * server.el (server-port): Doc fix.
5190
b9696605
CY
5191 * cus-theme.el (custom-theme-choose-mode): Inherit from
5192 special-mode (Bug#9124).
5193 (custom-theme-choose-mode-map): Add special-mode to parent.
5194
ef8cdf8c
AM
51952011-08-28 Alan Mackenzie <acm@muc.de>
5196
5197 * progmodes/cc-fonts.el
5198 (c-make-font-lock-BO-decl-search-function): New function.
5199 (c-basic-matchers-after - "Fontify the clauses after various
5200 keywords"): Extract the three keyword lists for the 3 erroneous
5201 constructs from the list of four, and use the new function above
5202 in place of an old one.
5203
27de4e20
DD
52042011-08-28 Deniz Dogan <deniz@dogan.se>
5205
5206 * net/rcirc.el (rcirc-insert-prev-input)
5207 (rcirc-insert-next-input): Remove unused argument.
5208
356a3681
SM
52092011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5212
3fc9b218
AM
52132011-08-27 Alan Mackenzie <acm@muc.de>
5214
5215 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5216 handle function pointer parameters properly.
5217
538a061c
MR
52182011-08-27 Martin Rudalics <rudalics@gmx.at>
5219
5220 * window.el (display-buffer-reuse-window): Fix case where
5221 selected window was reused with non-nil OTHER-WINDOW argument.
5222 (Bug#9381)
5223
35b1c40c
DD
52242011-08-27 Deniz Dogan <deniz@dogan.se>
5225
5226 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5227 oftc's NickServ messages.
5228
2f6a3e79
GM
52292011-08-27 Glenn Morris <rgm@gnu.org>
5230
5231 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5232
7254299e
CY
52332011-08-26 Chong Yidong <cyd@stupidchicken.com>
5234
5235 * emacs-lisp/package.el (package-install): Call package-initialize
5236 if called interactively.
5237
f8ccf167
LL
52382011-08-26 Leo Liu <sdl.web@gmail.com>
5239
5240 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5241
3e8cd5ce
JL
52422011-08-25 Juri Linkov <juri@jurta.org>
5243
5244 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5245 `search-whitespace-regexp' (bug#9364).
5246
93eb7113
JL
52472011-08-25 Juri Linkov <juri@jurta.org>
5248
5249 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5250 `regexp-search-ring' to their global values to protect from
5251 updating by `read-from-minibuffer' (bug#9185).
5252
f65d1611
JL
52532011-08-25 Juri Linkov <juri@jurta.org>
5254
5255 * textmodes/ispell.el (ispell-command-loop): Add newline
5256 at the end of the "Use option `i'..." line.
5257
f1cf7a31
JL
52582011-08-25 Juri Linkov <juri@jurta.org>
5259
5260 * battery.el (display-battery-mode): If `battery-status-function'
5261 or `battery-mode-line-format' is nil, display the message and set
5262 `display-battery-mode' to nil (bug#9363).
5263
0c95fcf7
EZ
52642011-08-25 Eli Zaretskii <eliz@gnu.org>
5265
5266 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5267 bidi-string-mark-left-to-right; they are unnecessary now.
5268
a2ebe600
DD
52692011-08-25 Deniz Dogan <deniz@dogan.se>
5270
5271 * net/quickurl.el: Documentation typo fixes.
5272
e4ed06f1
CY
52732011-08-25 Chong Yidong <cyd@stupidchicken.com>
5274
5275 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5276
e5f1c99e
GM
52772011-08-25 Glenn Morris <rgm@gnu.org>
5278
b2948976
GM
5279 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5280
e5f1c99e
GM
5281 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5282 (smtpmail-via-smtp): Handle nil response from smtp.
5283
f22f4808
JL
52842011-08-24 Juri Linkov <juri@jurta.org>
5285
5286 * proced.el (proced-marked): Inherit from `error' instead of
5287 `font-lock-warning-face'.
5288
5289 * ibuffer.el (ibuffer-marked-face): Change default face from
5290 `font-lock-warning-face' to `warning'.
5291 (ibuffer-deletion-face): Change default face from
5292 `font-lock-type-face' to `error'.
5293
5294 * battery.el (battery-update): Use the face `error' instead of
5295 `font-lock-warning-face' (bug#6117).
5296
6a93965e
JL
52972011-08-24 Juri Linkov <juri@jurta.org>
5298
5299 * faces.el (success): Change face color from "Green3" to
5300 "ForestGreen" on light background (bug#9353).
5301
1ed43b09
CY
53022011-08-24 Chong Yidong <cyd@stupidchicken.com>
5303
5664fa7b
RT
5304 * window.el (quit-window): Rename from quit-restore-window.
5305 Use same arglist as old quit-window.
1ed43b09
CY
5306 (frame-auto-delete): Doc fix.
5307
5308 * view.el (view-mode-exit): Use quit-window.
5309
11dcdbb2
JL
53102011-08-24 Juri Linkov <juri@jurta.org>
5311
5312 * isearch.el (isearch-ring-adjust1): Start visiting previous
5313 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5314 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5315 for empty search string (when the last search string is reused
5316 automatically) to adjust the isearch ring to the last element and
5317 prepare the correct index for further M-p commands (bug#9185).
5318
de62b4df
KH
53192011-08-24 Kenichi Handa <handa@m17n.org>
5320
5321 * international/ucs-normalize.el: If decomposition property of
5322 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5323 nil.
5324 (nfd, nfkd): Likewise.
5325
963b492b
SM
53262011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5329 from process filters aren't reliably transmitted to the surrounding
5330 accept-process-output.
5331 (mpc-proc-check): New function.
5332 (mpc-proc-sync): Use it (bug#8293)
5333
93b6b5e1
SM
53342011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5335
5336 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5337 Add compatibility functions (bug#9313).
5338
bca633fb
EZ
53392011-08-23 Eli Zaretskii <eliz@gnu.org>
5340
b177498a
EZ
5341 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5342
6df6ae42 5343 * international/uni-bidi.el: Regenerate.
bca633fb 5344
0902a04e
KH
53452011-08-23 Kenichi Handa <handa@m17n.org>
5346
5347 * international/charprop.el:
5348 * international/uni-bidi.el:
5349 * international/uni-category.el:
5350 * international/uni-combining.el:
5351 * international/uni-comment.el:
5352 * international/uni-decimal.el:
5353 * international/uni-decomposition.el:
5354 * international/uni-digit.el:
5355 * international/uni-lowercase.el:
5356 * international/uni-mirrored.el:
5357 * international/uni-name.el:
5358 * international/uni-numeric.el:
5359 * international/uni-old-name.el:
5360 * international/uni-titlecase.el:
5361 * international/uni-uppercase.el: Regenerate.
5362
3bbf23bc
MR
53632011-08-23 Martin Rudalics <rudalics@gmx.at>
5364
5365 * help.el (help-window-setup): Fix message displayed when other
5366 window is reused. (Bug#9341)
5367
b3fd59bd
SM
53682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5369
1802e444
SM
5370 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5371 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5372
b3fd59bd
SM
5373 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5374 Mark obsolete.
5375 * shell.el (shell-parse-pcomplete-arguments): New function.
5376 (shell-completion-vars): Use it instead (bug#9160).
5377
4eb61348
SM
53782011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5379
867cab74
SM
5380 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5381 strings and comments (bug#9333).
5382
4eb61348
SM
5383 * emacs-lisp/debug.el (debug-arglist): New function.
5384 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5385 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5386
262a1439
JL
53872011-08-22 Juri Linkov <juri@jurta.org>
5388
56ee679c
JL
5389 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5390 Revert regexp that highlights output switches to its old
5391 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5392
262a1439
JL
5393 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5394 to check for empty output (bug#9226).
5395
f13f86fb
CY
53962011-08-22 Chong Yidong <cyd@stupidchicken.com>
5397
5398 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5399 symbol-constituent as the default, as that stops font-lock from
5400 working properly (Bug#8843).
5401
c65c9622
LMI
54022011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5403
5404 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5405 `coding-system-for-*' around the process open call to avoid
5406 auth-source side effects.
e7f2c178 5407 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5408 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5409 probe hangs.
c65c9622 5410
23a8a5ab
CY
54112011-08-21 Chong Yidong <cyd@stupidchicken.com>
5412
ff98b2dd
CY
5413 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5414
23a8a5ab
CY
5415 * emacs-lisp/find-func.el (find-function-noselect): New arg
5416 lisp-only.
5417
5418 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5419 signal an error for built-in functions (Bug#6664).
5420
f5e3c598
LMI
54212011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5422
5423 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5424 (smtpmail-try-auth-methods): Use it.
5425
a3f2468a
CY
54262011-08-21 Chong Yidong <cyd@stupidchicken.com>
5427
2c34e8da
CY
5428 * font-lock.el (font-lock-fontify-region)
5429 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5430 (font-lock-default-unfontify-buffer)
5431 (font-lock-default-fontify-region)
5432 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5433
b3fd59bd
SM
5434 * progmodes/compile.el (compilation-error-properties):
5435 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5436 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5437 `ant' regexp.
ee31aabc 5438
a3f2468a
CY
5439 * net/browse-url.el (browse-url-firefox): Don't call
5440 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5441
8e999f70
GM
54422011-08-20 Glenn Morris <rgm@gnu.org>
5443
c21a496a
GM
5444 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5445
59ee0542
GM
5446 * tutorial.el (tutorial--default-keys): Update some default bindings.
5447
8e999f70
GM
5448 * files.el (hack-local-variables): Fully ignore case for "mode:".
5449
e3715033
AM
54502011-08-20 Alan Mackenzie <acm@muc.de>
5451
5452 Resolve invalid use of a regexp in regexp-opt.
5453
4d61f28d
JB
5454 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5455 detection for a java annotation.
e3715033 5456
4d61f28d 5457 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5458 detection for a java annotation.
5459
4d61f28d
JB
5460 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5461 handling for java.
e3715033
AM
5462 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5463
04ed2e9c
CY
54642011-08-20 Chong Yidong <cyd@stupidchicken.com>
5465
5466 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5467 (Bug#9274).
5468
826cee64
AM
54692011-08-20 Alan Mackenzie <acm@muc.de>
5470
58179cce 5471 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5472 such a construct. Mainly for when jit-lock etc. starts a chunk
5473 here.
5474
58179cce 5475 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5476 variable.
58179cce 5477 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5478 c-make-font-lock-search-function.
5479 (c-make-font-lock-search-function): Use the above function.
5480 (c-make-font-lock-context-search-function): New function.
5481 (c-cpp-matchers): Enhance the preprocessor expression case with
5482 the above function
5483 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5484 which takes an expression.
5485
5486 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5487
13009bd8
MR
54882011-08-20 Martin Rudalics <rudalics@gmx.at>
5489
5490 * window.el (display-buffer-reuse-window)
5491 (display-buffer-pop-up-window): Don't reuse or split a side
5492 window.
5493
9234ff7f
GM
54942011-08-19 Glenn Morris <rgm@gnu.org>
5495
5496 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5497 Downcase "Mode:". (Bug#9331)
9234ff7f 5498
f635daa1
CY
54992011-08-18 Chong Yidong <cyd@stupidchicken.com>
5500
5501 * international/characters.el: Add L and R categories.
5502
5503 * subr.el (bidi-string-mark-left-to-right): Rename from
5504 string-mark-left-to-right. Use category search.
5505
5506 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5507
bc987f8b
JL
55082011-08-18 Juri Linkov <juri@jurta.org>
5509
5510 * faces.el (error, warning, success): New faces with definitions
5511 copied from old default values of `font-lock-warning-face',
5512 `compilation-warning', `compilation-info' (bug#6117).
5513
5514 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5515
5516 * progmodes/compile.el (compilation-error): Inherit from `error'.
5517 (compilation-warning): Inherit from `warning'.
5518 (compilation-info): Inherit from `success'.
5519
5520 * dired.el (dired-marked): Inherit from `warning'.
5521 (dired-flagged): Inherit from `error'.
5522
57173b96
LMI
55232011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5524
3e79eb87
LMI
5525 * mail/smtpmail.el (auth-source): Require to avoid problems with
5526 binding variables (bug#9298). Also clean up some unused
5527 autoloads.
5528
b3fd59bd
SM
5529 * net/network-stream.el (network-stream-open-starttls):
5530 Support using starttls.el without using gnutls-cli.
57173b96 5531
02b404de
JL
55322011-08-17 Juri Linkov <juri@jurta.org>
5533
5534 * progmodes/grep.el (rgrep): Handle the case when
5535 `grep-find-command' is a cons cell (bug#9278).
5536
8c9177f2
MR
55372011-08-17 Martin Rudalics <rudalics@gmx.at>
5538
5539 * window.el (display-buffer-pop-up-frame): Run frame creation
5540 function with BUFFER current (as special-display-popup-frame
5541 does). Reported by Drew Adams.
5542
3644a0ab
DU
55432011-08-17 Daiki Ueno <ueno@unixuser.org>
5544
5545 * epa-mail.el: Simplify GnuPG group expansion using
5546 epg-expand-group.
5547 (epa-mail-group-alist, epa-mail-group-modtime)
5548 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5549 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5550 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5551 Remove.
5552
5e617bc2 55532011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5554
5555 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5556
9c4aeabf
AM
55572011-08-16 Alan Mackenzie <acm@muc.de>
5558
5559 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5560 Correct, to avoid the inside of macros.
5561
3a99bf64
RS
55622011-08-16 Richard Stallman <rms@gnu.org>
5563
04963aa8
RS
5564 * epa-mail.el: Handle GnuPG group definitions.
5565 (epa-mail-group-alist, epa-mail-group-modtime)
5566 (epa-mail-gnupg-conf-file): New variables.
5567 (epa-mail-parse-groups, epa-mail-sync-groups)
5568 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5569 (epa-mail-expand-recipients): New functions.
5570 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5571
177549d0
RS
5572 * mail/rmail.el (rmail-epa-decrypt): New command.
5573
fe38beef
RS
5574 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5575 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5576 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5577 (epa-decrypt-armor-in-region): Make error message clearer.
5578
934eacb9
SM
55792011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5582 and "a2b" to "ab" for `prefix'.
5583
d024fb4e
CY
55842011-08-14 Chong Yidong <cyd@stupidchicken.com>
5585
5586 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5587 filter groups.
de148fee
CY
5588 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5589 Fourquet (Bug#8804).
d024fb4e 5590
62f1ca49
JB
55912011-08-12 Juanma Barranquero <lekktu@gmail.com>
5592
5593 * startup.el (argi): Declare as global variable (bug#9275).
5594
9ccaaa4b
CY
55952011-08-12 Chong Yidong <cyd@stupidchicken.com>
5596
5597 * subr.el (string-mark-left-to-right): Search the entire string
5598 for RTL script, not just the terminating character. Doc fix.
5599
a3dae87a
SM
56002011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5601
6cd18349
SM
5602 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5603 New function.
5604 (js--regexp-literal, js-syntax-propertize-function): Remove.
5605 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5606 (js-mode-map): Don't rebind electric keys.
5607 (js-insert-and-indent): Remove.
5608 (js-mode): Setup electric-layout and electric-indent instead.
5609
a3dae87a
SM
5610 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5611
9d5cb631
DU
56122011-08-12 Daiki Ueno <ueno@unixuser.org>
5613
5614 * epa.el (epa-progress-callback-function): Fix the logic of
5615 displaying progress.
5616 * epa-file.el (epa-file-insert-file-contents): Make progress
5617 display more user-friendly.
5618 (epa-file-write-region): Ditto.
5619
3e26a4a2
CY
56202011-08-10 Chong Yidong <cyd@stupidchicken.com>
5621
5622 * subr.el (string-mark-left-to-right): New function.
5623
5624 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5625 Use string-mark-left-to-right.
5626 (list-buffers-noselect): Caller changed.
5627
a3dae87a
SM
5628 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5629 Use string-mark-left-to-right.
3e26a4a2
CY
5630 (tabulated-list-print): Recenter after moving point.
5631
ac8cf6e6
JL
56322011-08-10 Juri Linkov <juri@jurta.org>
5633
5634 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5635 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5636 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5637
8d96c9a4
CY
56382011-08-09 Chong Yidong <cyd@stupidchicken.com>
5639
5640 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5641 (Bug#7554).
5642
7be1c708 56432011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5644
5645 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5646 character. (Bug#6594)
5647
37e11a63
CY
56482011-08-08 Chong Yidong <cyd@stupidchicken.com>
5649
839dde57
CY
5650 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5651 (image-dired--with-db-file): New macro.
5652 (image-dired-write-tags, image-dired-remove-tag)
5653 (image-dired-create-gallery-lists, image-dired-write-comments)
5654 (image-dired-get-comment, image-dired-mark-tagged-files)
5655 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5656 (image-dired-gallery-generate): Use insert-file-contents.
5657
37e11a63
CY
5658 * time.el (display-time-world-list, display-time-world-display):
5659 * time-stamp.el (time-stamp-string):
5660 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5661 set-time-zone-rule (Bug#7337).
5662
0b4946c4
DU
56632011-08-08 Daiki Ueno <ueno@unixuser.org>
5664
5665 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5666 (epg-error-to-string, epg-errors-to-string): New function.
5667 (epg-wait-for-completion): Reverse errors list.
5668 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5669 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5670 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5671 (epg-sign-keys, epg-generate-key-from-file)
5672 (epg-generate-key-from-string): Format errors by using
5673 epg-errors-to-string (bug#9255).
5674 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5675
75bfc667
JL
56762011-08-07 Juri Linkov <juri@jurta.org>
5677
5678 * faces.el (list-faces-display): Remove extra angle bracket
5679 from `help-mode-map'.
5680
5681 * info.el (Info-history-toc-nodes): Doc fix.
5682
5683 * longlines.el (longlines-mode): Doc fix.
5684
673e08bb
SM
56852011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5686
4640dd88
SM
5687 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5688 of statements and in a few more cases (bug#9183).
5689
673e08bb
SM
5690 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5691 New functions.
5692 (cl-transform-lambda): Use them (bug#9239).
5693
89b3f019
MR
56942011-08-05 Martin Rudalics <rudalics@gmx.at>
5695
5696 * window.el (display-buffer-same-window)
5697 (display-buffer-same-frame, display-buffer-other-window)
5698 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5699 (pop-to-buffer-other-window)
5700 (pop-to-buffer-same-frame-other-window)
5701 (pop-to-buffer-other-frame): Make them defuns.
5702 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5703
640c8776
SM
57042011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * subr.el (make-composed-keymap): Move from C. Change calling
5707 convention, and improve docstring to bring attention to a subtle point.
5708 * minibuffer.el (completing-read-default): Adjust accordingly.
5709
63648a95
MA
57102011-08-03 Michael Albinus <michael.albinus@gmx.de>
5711
5712 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5713 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5714
5715 * net/trampver.el: Update release number.
5716
b796c9b7
SM
57172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5720 "in" (bug#9190).
5721
2239d7d5
LMI
57222011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5723
e07dd7c3
LMI
5724 * mail/sendmail.el (sendmail-query-once): Restore the current
5725 buffer after querying (bug#9074).
5726
0e6a2bd7
LMI
5727 * dired.el (dired-flagged): Use different faces for marked and
5728 flagged files (bug#6117).
5729
ce887515
LMI
5730 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5731 (bug#4433).
5732
92f2affc
LMI
5733 * ido.el (ido-mode): Switch off the message if called
5734 non-interactively.
5735
57d5aff0
LMI
5736 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5737 before 587, since it appears that that's more likely to work for
5738 more people.
5739
98cd6c18 5740 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5741 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5742 exist.
5743
b96dec83
LMI
5744 * info.el: Remove the `Info-beginning-of-buffer' function
5745 (bug#8325).
5746
b796c9b7
SM
5747 * net/network-stream.el (network-stream-open-starttls):
5748 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5749
d90e2ea0
MR
57502011-08-01 Martin Rudalics <rudalics@gmx.at>
5751
5752 * window.el (display-buffer-in-window): Don't set dedicated status
5753 of window here (Bug#9215).
5754 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5755 (display-buffer-pop-up-side-window)
b796c9b7 5756 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5757
cca09170
SM
57582011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5761 before binding generated-autoload-file.
5762
027b979c
DD
57632011-08-01 Deniz Dogan <deniz@dogan.se>
5764
5765 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5766
3c7ee4f3
MA
57672011-07-30 Michael Albinus <michael.albinus@gmx.de>
5768
5769 Sync with Tramp 2.2.2.
5770
5771 * net/trampver.el: Update release number.
5772
2cc8e51a
JL
57732011-07-30 Juri Linkov <juri@jurta.org>
5774
5775 * dired-aux.el (dired-touch-initial): Remove function.
5776 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5777 current time, and `default' to the last modification time of the
5778 current marked file (bug#6887).
5779
a514d856
JM
57802011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5781
5782 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5783 numeric argument to read-number (bug#9163).
a514d856 5784
8a7eddd7
MA
57852011-07-27 Michael Albinus <michael.albinus@gmx.de>
5786
5787 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5788 connection process, it could be nil.
5789
1ddd96f5
LL
57902011-07-27 Leo Liu <sdl.web@gmail.com>
5791
5792 Simplify url handling in rcirc-mode.
5793
5794 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5795 (rcirc-browse-url-at-mouse): Remove.
5796 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5797
b248a85d
AM
57982011-07-26 Alan Mackenzie <acm@muc.de>
5799
5800 Fontify bitfield declarations properly.
5801
5802 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5803 (c-symbol-chars): Now exported as a lang variable.
5804 (c-not-primitive-type-keywords): New lang variable.
5805
5806 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5807 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5808 parsed as a bitfield declaration.
b248a85d 5809
b796c9b7
SM
5810 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5811 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5812 (c-punctuation-in): New function.
5813 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5814 declarations properly.
5815
68575ab0
UJ
58162011-07-26 Ulf Jasper <ulf.jasper@web.de>
5817
5818 * calendar/icalendar.el (icalendar--all-events): Take care of
5819 multiple vcalendars in a single file.
b796c9b7 5820 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5821
0f0a88b9
DD
58222011-07-25 Deniz Dogan <deniz@dogan.se>
5823
5824 * image.el (insert-image): Clarifying docstring.
5825
0b3f36df
MA
58262011-07-24 Michael Albinus <michael.albinus@gmx.de>
5827
5828 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5829 `tramp-send-command-and-check' if there is no error.
5830 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5831
a9901f61
AM
58322011-07-22 Alan Mackenzie <acm@muc.de>
5833
5834 Prevent cc-langs.elc being loaded at run time.
5835
5836 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5837 cc-langs.
5838
4d61f28d 5839 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5840 "(require 'cc-langs)". Quote a form so it will evaluate at
5841 (cc-mode's) compilation time.
5842
11d074b2
MA
58432011-07-22 Michael Albinus <michael.albinus@gmx.de>
5844
5845 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5846 loading. (Bug#9114)
5847
938b94c8
MR
58482011-07-21 Martin Rudalics <rudalics@gmx.at>
5849
5850 * window.el (display-buffer-pop-up-window)
5851 (display-buffer-pop-up-side-window)
5852 (display-buffer-in-side-window): Call display-buffer-set-height
5853 and display-buffer-set-width after setting the new window's
b796c9b7 5854 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5855
bfa4f190
SS
58562011-07-20 Sam Steingold <sds@gnu.org>
5857
5858 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5859 (etags-tags-included-tables): Call `convert-standard-filename' on
5860 the file names contained in TAGS so that windows Emacs can handle
5861 TAGS files created by cygwin ctags.
5862
8ca42262
LMI
58632011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5864
5865 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5866 which apparently didn't work.
5867
5db2afd2 58682011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5869
5db2afd2
RW
5870 * proced.el (proced-send-signal): For *Marked Processes* buffer
5871 put point at beginning of buffer.
5872
92e15d10
SB
58732011-07-19 Stephen Berman <stephen.berman@gmx.net>
5874
5875 * proced.el (proced-format): Make header lines align with the text
5876 (bug#1779).
5877
1bfd59e5
LMI
58782011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5879
5880 * view.el (view-buffer): Allow running in `special' modes if we're
5881 visiting a file (bug#8615).
5882
f5aae37c
MR
58832011-07-19 Martin Rudalics <rudalics@gmx.at>
5884
5885 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5886 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5887 New functions.
f5aae37c
MR
5888 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5889 more accurately.
5890
bf2c1571
AM
58912011-07-18 Alan Mackenzie <acm@muc.de>
5892
5893 Fontify declarators properly when, e.g., a jit-lock chunk begins
5894 inside a declaration.
5895
5896 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5897
b796c9b7
SM
5898 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5899 New function.
bf2c1571
AM
5900 (c-complex-decl-matchers): Insert reference to
5901 c-font-lock-enclosing-decls.
5902
5903 * progmodes/cc-engine.el (c-backward-single-comment):
5904 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5905 to nil around calls to (forward-comment -1).
5906
4e190b80
LMI
59072011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5908
12dc863d
LMI
5909 * image.el (put-image): Doc typo fix.
5910
a762e966
LMI
5911 * progmodes/etags.el (tags-search): Doc typo fix.
5912
4e190b80
LMI
5913 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5914 password if we get errors 550 to 554.
5915
f019fb21
LMI
59162011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5917
b796c9b7 5918 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5919
81746738
LMI
5920 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5921 indentation character (bug#6380).
5922
3ee3a1b5
LMI
5923 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5924
c82f64de
LMI
5925 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5926 to clarify what the problem is (bug#4291).
5927
f019fb21
LMI
5928 * simple.el (current-kill): Clarify what
5929 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5930 (auto-fill-mode): Document `auto-fill-function' in relation to
5931 `auto-fill-mode' (bug#2470).
f019fb21 5932
0794775d
LM
59332011-07-16 Lawrence Mitchell <wence@gmx.li>
5934
5935 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5936 method if slot is read-only (bug#9035).
5937
be39b8cc
MR
59382011-07-16 Martin Rudalics <rudalics@gmx.at>
5939
b796c9b7 5940 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5941 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5942 selected before, see discussion of (Bug#8615), (Bug#6954).
5943 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5944
6ccf7859
GM
59452011-07-15 Glenn Morris <rgm@gnu.org>
5946
5947 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5948 Respect help-form.
6ccf7859 5949
87e86684
LM
59502011-07-09 Lawrence Mitchell <wence@gmx.li>
5951
5952 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5953 (gnutls-negotiate): Use it.
5954
d6066239
LMI
59552011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5956
b796c9b7
SM
5957 * net/gnutls.el (gnutls-negotiate):
5958 Upcase `gnutls-algorithm-priority'.
d6066239 5959
bd23ebc0
GM
59602011-07-15 Glenn Morris <rgm@gnu.org>
5961
c65bca65
GM
5962 * jka-compr.el (jka-compr-verbose): Move from here...
5963 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5964 Add missing :version tag.
5965 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5966
478615cc
LMI
59672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5968
7b41decb
LMI
5969 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5970 (gnutls-negotiate): Use it.
5971
dbc44fcd
LMI
5972 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5973
06789f97
LMI
5974 * info.el (Info-beginning-of-buffer): New command.
5975 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5976 announcing `b' as the key (bug#8325).
ab896c37 5977 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5978
c39da690
LMI
5979 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5980
3aa5f34b
LMI
5981 * international/mule-cmds.el
5982 (describe-specified-language-support): Make the error message
5983 clearer (bug#8905).
5984
4bf0979f
LMI
5985 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5986
478615cc
LMI
5987 * isearch.el (isearch-barrier): Add a doc string, since it's
5988 mentioned in a function doc string (bug#8678).
5989
75c68aa1
MR
59902011-07-15 Martin Rudalics <rudalics@gmx.at>
5991
5992 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5993 buffer argument (Bug#9083) and self-identifying label argument.
5994
a7c33da2
GM
59952011-07-15 Glenn Morris <rgm@gnu.org>
5996
5997 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5998
2f5c6024
LMI
59992011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6000
6001 * man.el (Man-fontify-manpage): Fix message when formatting the
6002 man page (bug#7929).
6003
0bb23927 60042011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6005
6006 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6007 argument LRM; if non-nil, append an invisible LRM character to the
6008 buffer name.
6009 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6010 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6011 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6012 paragraph direction.
cce4b0a7 6013
621ef9ab
LMI
60142011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6015
d1583c48
LMI
6016 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6017 the man page name (bug#7929).
6018
6a57fb5f
LMI
6019 * image.el (put-image): Mention the `put-image' overlay property
6020 (bug#7834).
6021
d7956b14
LMI
6022 * scroll-bar.el (set-scroll-bar-mode): Mention that
6023 `scroll-bar-mode' lists the values (bug#7772).
6024
5b2d4a66
LMI
6025 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6026 command (bug#7729).
6027
7509a874
LMI
6028 * rect.el (apply-on-rectangle): Return the point after the last
6029 operation.
6030 (string-rectangle): Go to the point after the last operation
6031 (bug#7522).
6032
4fe74b19
LMI
6033 * printing.el (pr-toggle-region): Clarify the documentation
6034 slightly (bug#7493).
6035
b796c9b7
SM
6036 * time.el (display-time-update):
6037 Allow `display-time-mail-function' to return nil (bug#7158).
6038 Fix suggested by Detlev Zundel.
ab283561 6039
fc233c9d
LMI
6040 * vc/diff.el (diff): Clarify the order the file names are read
6041 (bug#7111).
6042
43f5740b
LMI
6043 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6044 the doc string (bug#7015).
6045
f2182a76
LMI
6046 * font-lock.el (font-lock-maximum-decoration): Mention what
6047 numeric levels mean (bug#6935).
6048
621ef9ab
LMI
6049 * startup.el (initial-buffer-choice): Don't mention the `none'
6050 selection, which is against policy.
6051
adc47434
MR
60522011-07-14 Martin Rudalics <rudalics@gmx.at>
6053
b796c9b7
SM
6054 * window.el (display-buffer-normalize-special):
6055 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6056
7e5bfb8f
EZ
60572011-07-14 Eli Zaretskii <eliz@gnu.org>
6058
6059 * subr.el (version<, version<=, version=): Mention "-CVS" and
6060 "-12345" alpha version numbers.
6061
27fa387a
CY
60622011-07-14 Chong Yidong <cyd@stupidchicken.com>
6063
6064 * bindings.el: Add advertised binding for set-mark-command
6065 (Bug#5772).
6066
8bdfa064
CY
60672011-07-14 Chong Yidong <cyd@stupidchicken.com>
6068
6069 * bindings.el (mode-line-other-buffer):
6070 * bookmark.el (bookmark-bmenu-2-window):
6071 * bs.el (bs-cycle-next, bs-cycle-previous):
6072 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6073 switch-to-buffer.
6074
6075 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6076 Delete.
8bdfa064 6077
5eba16a3
JB
60782011-07-14 Juanma Barranquero <lekktu@gmail.com>
6079
6080 * follow.el (follow-debug-message, follow-redisplay):
6081 * jka-cmpr-hook.el (with-auto-compression-mode):
6082 Fix typos in docstrings.
6083
15853710
LMI
60842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6085
a28e4607
LMI
6086 * subr.el (with-silent-modifications): Clarify somewhat what the
6087 macro inhibits (bug#6525).
6088
15853710
LMI
6089 * simple.el (eval-expression): Note what it does if called
6090 interactively (bug#6495).
6091
bee0fcef
CY
60922011-07-13 Chong Yidong <cyd@stupidchicken.com>
6093
b796c9b7
SM
6094 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6095 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6096
6097 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6098 Remove switch-to-buffer.
6099
58274504
LMI
61002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6101
bd2fcc8d
LMI
6102 * files.el (make-directory): Clarify that an error will be raised
6103 if there's an error (bug#6397).
6104
0f04b32c
LMI
6105 * startup.el (initial-buffer-choice): Add `none' as a choice
6106 (bug#6234).
6107
465c5fc8
LMI
6108 * subr.el (add-hook): Clarify section about buffer-local hooks
6109 (bug#6218).
6110
58274504
LMI
6111 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6112
bead9a43
JB
61132011-07-13 Juanma Barranquero <lekktu@gmail.com>
6114
6115 * tabify.el (untabify): Preserve the current column so that point
6116 doesn't move (bug#6032).
6117
3af98a7b
LMI
61182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6119
b796c9b7
SM
6120 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6121 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6122
6240145a
GM
61232011-07-13 Glenn Morris <rgm@gnu.org>
6124
6125 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6126 (dired-insert-directory): Give a message the first time
6127 if ls is found not to support --dired.
6128
1d8c2ccc
LMI
61292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6130
6131 * simple.el (toggle-truncate-lines): Clarify what is toggled
6132 (bug#5580). Text by Drew Adams.
6133
5fc4038e
CY
61342011-07-13 Chong Yidong <cyd@stupidchicken.com>
6135
6136 * simple.el (blink-matching-open): Make the error message from the
6137 last change less verbose.
6138
bf6012e5
DN
61392011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6140
6141 * font-lock.el (font-lock-comment-face): Use the high contrast
6142 "yellow" color for font-lock-comment-face on low color terminals
6143 using a dark background color (bug#4221).
6144
343c3b5a
LMI
61452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6146
7e9505c5
LMI
6147 * dired.el (dired-insert-set-properties): Make the doc string
6148 reflect what it does now (bug#5325).
6149
c26fdcf5
LMI
6150 * simple.el (blink-matching-open): Say that we were unable to find
6151 the match within the limit, if we're limited (bug#5122).
6152
bb388cc5
LMI
6153 * international/mule-cmds.el (prefer-coding-system): Add an
6154 example (bug#4869).
6155
343c3b5a
LMI
6156 * progmodes/etags.el (tags-search): Document `file-list-form'
6157 (bug#4731).
6158
2a517d45
LM
61592011-07-13 Lawrence Mitchell <wence@gmx.li>
6160
6161 * net/browse-url.el (browse-url-default-browser)
6162 (browse-url-browser-function): Make the default browser choice a
6163 bit more logical (bug#4300). Also clean up the doc string.
6164
b6c78ef2
JB
61652011-07-13 Juanma Barranquero <lekktu@gmail.com>
6166
6167 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6168 binary endings (bug#4440).
6169
1c4dd947
LMI
61702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6171
a2014063
LMI
6172 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6173 which can be pretty annoying (bug#8971).
6174
9c9c2d88
LMI
6175 * jka-compr.el (jka-compr-verbose): New variable, and use
6176 throughout (bug#8971).
6177
1c4dd947
LMI
6178 * info.el (Info-find-file): Fall back on the installation
6179 directory if we can't find the info node anywhere else.
6180
a1c9f41b
SO
61812011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6182
6183 * vc/vc.el (vc-revert-file):
6184 Don't set file time-stamp in the past. (Bug#5181)
6185
536f3d36
LMI
61862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6187
7152b011
LMI
6188 * files.el (after-find-file): Give a better error message when
6189 trying to find a symlink that points to a file that doesn't exist
6190 (bug#4398).
6191
536f3d36
LMI
6192 * progmodes/cc-vars.el: Remove (probably) misleading comment
6193 (bug#4396).
6194
460c0fba
JB
61952011-07-12 Johan Bockgård <bojohan@gnu.org>
6196
6197 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6198
7a6bda45
CY
61992011-07-12 Chong Yidong <cyd@stupidchicken.com>
6200
6201 * mouse-sel.el: Hack restoring functionality, while keeping
6202 compatibility with 2010-07-03 changes to mouse selection.
6203 (mouse-sel-primary-overlay): New var.
6204 (mouse-sel-selection-alist): Use it.
6205 (mouse-sel-mode): Doc fix; remove points that are default features
6206 of mouse.el.
6207
c79598ef
JB
62082011-07-12 Johan Bockgård <bojohan@gnu.org>
6209
6210 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6211 Fix previous fix (bug#2490).
6212
ff8be6ef
RW
62132011-07-12 Roland Winkler <winkler@gnu.org>
6214
b796c9b7
SM
6215 * textmodes/bibtex.el (bibtex-initialize):
6216 Use pop-to-buffer-same-window.
ff8be6ef
RW
6217 (bibtex-search-entries): Fix interactive call.
6218
296ba3ee
LMI
62192011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6220
f5242a02 6221 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6222 Fontise bytecomp Error lines more correctly (bug#2490).
6223 Fix suggested by Johan Bockgård.
f5242a02 6224
296ba3ee
LMI
6225 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6226
6227 * dired-x.el (dired-guess-default): Use `delete-dups'.
6228
f69fd0d2
CY
62292011-07-12 Chong Yidong <cyd@stupidchicken.com>
6230
6231 * dired.el (dired-mark-prompt):
6232 * dired-aux.el (dired-read-shell-command): Doc fix.
6233
eab5dc07
LMI
62342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6235
b796c9b7
SM
6236 * mail/sendmail.el (sendmail-query-once):
6237 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6238 emacs -Q.
6239
6240 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6241
eab5dc07
LMI
6242 * cus-edit.el (custom-file): Take an optional no-error variable.
6243 (customize-save-variable): Set the variable, and give a warning if
6244 running under "emacs -q".
6245
a1e65d42
JB
62462011-07-11 Juanma Barranquero <lekktu@gmail.com>
6247
6248 * loadhist.el (unload-feature-special-hooks):
6249 Add `auto-coding-functions', `fill-nobreak-predicate' and
6250 `find-directory-functions' (bug#5327).
6251
1d52da10
LMI
62522011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6253
be958f1d
LMI
6254 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6255
5bedb26c
LMI
6256 * cus-edit.el (custom-guess-name-alist): -alist variables should
6257 use the `alist' type (bug#3120). Suggested by Drew Adams.
6258
1d52da10
LMI
6259 * printing.el: Add documentation to all the `pr-toggle-' commands.
6260
cd394be1 62612011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6262
6263 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6264 backends where it makes sense (bug#2623).
6265
dcc88d8a
LMI
62662011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6267
c3de9feb
LMI
6268 * dired-x.el (dired-guess-default): Remove duplicate shell command
6269 entries (bug#2028).
8a93078b 6270 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6271 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6272
dcc88d8a
LMI
6273 * subr.el (remove-duplicates): New conveniency function.
6274
505e3645
LMI
62752011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6276
6277 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6278 (bug#1526).
6279
62802011-07-10 Martin Rudalics <rudalics@gmx.at>
6281
6282 * window.el (display-buffer-normalize-default): Don't invert
6283 meaning of even-window-heights. Reported by Eli Zaretskii
6284 <eliz@gnu.org>.
6285
455e4fa1
BR
62862011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6287
6288 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6289
8e0bc3e9
CY
62902011-07-10 Chong Yidong <cyd@stupidchicken.com>
6291
6292 * window.el (display-buffer): Fix arguments to
6293 display-buffer-reuse-window in last change.
6294
fa7c3228
CY
6295 * faces.el (link): Use a less saturated blue on light backgrounds.
6296
6297 * startup.el (fancy-startup-text, fancy-about-text)
6298 (fancy-startup-tail): Use font-lock faces, for background safety.
6299
c0a7f300
BN
63002011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6301
b796c9b7
SM
6302 * emulation/viper-cmd.el (viper-change-state-to-vi):
6303 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6304
4dc2a129
MR
63052011-07-09 Martin Rudalics <rudalics@gmx.at>
6306
6307 * window.el (display-buffer-default-specifiers): Remove.
6308 (display-buffer-macro-specifiers): Remove default specifiers.
6309 (display-buffer-alist): Default to nil.
b796c9b7 6310 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6311 (display-buffer-pop-up-window): Allow splitting internal
6312 windows. Check whether a live window was created.
6313 (display-buffer-other-window-means-other-frame)
6314 (display-buffer-normalize-arguments): Rename to
6315 display-buffer-normalize-argument and rewrite. Set the
6316 other-window specifier.
6317 (display-buffer-normalize-special): New function.
6318 (display-buffer-normalize-options): Rename to
6319 display-buffer-normalize-default and rewrite.
6320 (display-buffer-normalize-options-inhibit): Remove.
6321 (display-buffer-normalize-specifiers): Rewrite.
6322 (display-buffer): Process other-window specifier and call
6323 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6324 more faithfully.
b796c9b7 6325 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6326 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6327 (display-buffer-in-window, display-buffer-alist-set):
6328 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6329 <tassilo@member.fsf.org>.
6330
2d43b8c9
LL
63312011-07-09 Leo Liu <sdl.web@gmail.com>
6332
6333 * register.el (insert-register): Restore accidental change on
6334 2011-06-26. (Bug#9028)
6335
7f9b7c53
GM
63362011-07-09 Glenn Morris <rgm@gnu.org>
6337
6338 * subr.el (remq): Handle the empty list. (Bug#9024)
6339
f042cfd8
AS
63402011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6341
6342 * mail/sendmail.el (send-mail-function): No longer delay custom
6343 initialization.
6344 * custom.el (custom-initialize-delay): Doc fix.
6345
856b2f11
SM
63462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6349
afae1d68
MA
63502011-07-08 Michael Albinus <michael.albinus@gmx.de>
6351
6352 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6353 human-friendly prompt.
6354
0757af94
SM
63552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6358 provided by a particular plugin.
6359
d760b731
LMI
63602011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6361
6362 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6363 save customizations (with "emacs -Q"), just set the variable
6364 instead of erroring out.
6365
6366 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6367
cd79ce90
JL
63682011-07-08 Juri Linkov <juri@jurta.org>
6369
6370 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6371 (archive-zip-update-case): Use 7z if found by `executable-find'.
6372 The order of searching the available programs is the same as in
6373 `archive-zip-extract' (bug#8968).
6374
14cc04aa
CY
63752011-07-07 Chong Yidong <cyd@stupidchicken.com>
6376
6377 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6378 (menu-bar-options-menu): Tweak descriptions.
6379
0a1848ec
LMI
63802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6381
6382 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6383 menu items into verb phrases (bug#1421). Also refill to fit under
6384 80 columns.
6385
f5bd0689
CY
63862011-07-07 Chong Yidong <cyd@stupidchicken.com>
6387
538e85c6
CY
6388 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6389 (Info-read-node-name): Doc fix (Bug#1084).
6390
f5bd0689
CY
6391 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6392 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6393 (end-of-sexp, beginning-of-sexp)
6394 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6395 (forward-symbol, forward-same-syntax, word-at-point)
6396 (sentence-at-point): Doc fix (Bug#1144).
6397
56ec5115
LMI
63982011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6399
f3f8e37f
LMI
6400 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6401 should cover it (bug#1281).
6402
0757af94 6403 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6404
e9fce1ac 6405 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6406 negotiation fails, then possibly try again with a non-encrypted
6407 connection (bug#9017).
6408
56ec5115
LMI
6409 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6410 be used.
6411
c2f9aec8
RS
64122011-07-07 Richard Stallman <rms@gnu.org>
6413
6414 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6415 property, and handle its changed format.
6416 Look for the correct line number.
6417 Use file's line contents (but not past first =) to find
6418 correct line in message.
6419
ef7b981d 64202011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6421
6422 * international/characters.el (build-unicode-category-table):
6423 Delete it.
0757af94 6424 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6425
0757af94 6426 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6427 to src/chartab.c.
6428 (get-char-code-property): Call unicode-property-table-internal to
6429 load a file. Call get-unicode-property-internal where necessary.
6430 (put-char-code-property): Call unicode-property-table-internal to
6431 load a file. Call put-unicode-property-internal where necessary.
6432 put-unicode-property-internal where necessary.
0757af94
SM
6433 (char-code-property-description):
6434 Call unicode-property-table-internal to load a file.
c805dec0
KH
6435
6436 * international/charprop.el:
6437 * international/uni-bidi.el:
6438 * international/uni-category.el:
6439 * international/uni-combining.el:
6440 * international/uni-comment.el:
6441 * international/uni-decimal.el:
6442 * international/uni-decomposition.el:
6443 * international/uni-digit.el:
6444 * international/uni-lowercase.el:
6445 * international/uni-mirrored.el:
6446 * international/uni-name.el:
6447 * international/uni-numeric.el:
6448 * international/uni-old-name.el:
6449 * international/uni-titlecase.el:
6450 * international/uni-uppercase.el: Regenerate.
6451
6452 * loadup.el: Load international/charprop.el before
6453 international/characters.
6454
e14b388a
CY
64552011-07-07 Chong Yidong <cyd@stupidchicken.com>
6456
6457 * window.el (next-buffer, previous-buffer): Signal an error if
6458 called from a minibuffer window.
6459
6460 * bindings.el: Revert 2011-07-04 change.
6461
354cf0ba
RS
64622011-07-06 Richard Stallman <rms@gnu.org>
6463
6464 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6465 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6466 Treat markers like ints.
6467 (rmail-mime-entity): Doc fix.
6468
a48868a7
LMI
64692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6470
4906cd3d
LMI
6471 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6472 defcustom again for backwards compatibility.
6473
e0457abe
LMI
6474 * simple.el (shell-command-on-region): Fill.
6475
d67f7e1f
LMI
6476 * dired-aux.el (dired-kill-line): Add a doc string.
6477
fe204702
LMI
6478 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6479 to "\\sw\\|\\s_" (bug#358).
6480
a48868a7
LMI
6481 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6482 (dired-unmark-backward): Ditto.
6483 (dired-flag-backup-files): Ditto.
6484
6485 * dired-x.el (dired-mark-sexp): Ditto.
6486
aa8a705c
RS
64872011-07-06 Richard Stallman <rms@gnu.org>
6488
6489 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6490 (rmail-mime-entity): New arg TRUNCATED.
6491 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6492 New functions.
6493 (rmail-mime-save): Warn if entity is truncated.
6494 (rmail-mime-toggle-hidden): Likewise, for showing.
6495 (rmail-mime-process-multipart): Record when an entity is truncated.
6496
a9a936b9
RS
6497 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6498 if ENTITY is a string.
6499
1f2b92cb
LMI
65002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
f4f73198 6502 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6503 of faces when `M-C-x'-ing their definitions (bug#8378).
6504 Also clean up the code slightly.
f4f73198 6505
12b16734 6506 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6507 because that makes the colors go away.
12b16734 6508
f0691d22
LMI
6509 * mail/sendmail.el (send-mail-function): Change the default to
6510 `sendmail-query-once'.
9e87df06 6511 (sendmail-query-once): Add an autoload cookie.
f0691d22 6512
1f2b92cb
LMI
6513 * net/network-stream.el (network-stream-open-starttls): Try using
6514 a plain connection even if the server offered STARTTLS, and we
6515 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6516 capability. This should make smtpmail.el work in slightly more
6517 configurations.
6518
1cdd2a1b
MA
65192011-07-06 Michael Albinus <michael.albinus@gmx.de>
6520
6521 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6522 New defun.
6523 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6524
fbcc67e2
MM
65252011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6526
6527 * progmodes/sql.el: Version 3.0
0757af94 6528 (sql-product-alist): Add product :completion-object,
fbcc67e2 6529 :completion-column, and :statement attributes.
0757af94 6530 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6531 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6532 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6533 ansi keywords.
6534 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6535 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6536 (sql-oracle-show-reserved-words): New function for development.
6537 (sql-product-font-lock): Simplify for source code buffers.
6538 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6539 New functions.
6540 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6541 (sql-mode-map): Add statement movement functions.
6542 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6543 New variable.
fbcc67e2
MM
6544 (sql-statement-regexp, sql-beginning-of-statement)
6545 (sql-end-of-statement, sql-signum): New functions.
0757af94 6546 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6547 (sql-show-sqli-buffer): Bug fix.
6548 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6549 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6550 with sql-interactive-mode.
6551 (sql-save-connection): Save buffer local settings.
0757af94 6552 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6553 (sql-product-interactive): Bug fix.
6554 (sql-preoutput-hold): New variable.
6555 (sql-interactive-remove-continuation-prompt): Bug fixes.
6556 (sql-debug-redirect): New variable.
6557 (sql-str-literal): New function.
6558 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6559 Redesign.
fbcc67e2
MM
6560 (sql-oracle-save-settings, sql-oracle-restore-settings)
6561 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6562 (sql-completion-object, sql-completion-column)
6563 (sql-completion-sqlbuf): New variables.
6564 (sql-build-completions-1, sql-build-completions)
6565 (sql-try-completion): New functions.
6566 (sql-read-table-name): Use them.
6567 (sql-contains-names): New buffer local variable.
6568 (sql-list-all, sql-list-table): Use it.
6569 (sql-oracle-completion-types): New variable.
6570 (sql-oracle-completion-object, sql-sqlite-completion-object)
6571 (sql-postgres-completion-object): New functions.
6572
d4eaeab1
GM
65732011-07-06 Glenn Morris <rgm@gnu.org>
6574
6575 * window.el (pop-to-buffer): Doc fix.
6576
322b7dab 65772011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6578
6579 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6580
322b7dab 65812011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6582
322b7dab 6583 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6584
322b7dab 6585 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6586
605dd5bf
CY
65872011-07-05 Chong Yidong <cyd@stupidchicken.com>
6588
6589 * button.el (button): Inherit from link face. Suggested by Dan
6590 Nicolaescu.
6591
7dbfa719
SM
65922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6593
3db614b0
SM
6594 * progmodes/gdb-mi.el: Fit in 80 columns.
6595 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6596 switch-to-buffer.
6597
7dbfa719
SM
6598 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6599 if imenu is simply not configured (bug#8941).
6600
919d884a
KM
66012011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6602
6603 * allout.el (allout-post-undo-hook): New allout outline-change
6604 event hook to signal undo activity.
6605 (allout-post-command-business): Run allout-post-undo-hook if an
6606 undo just occurred.
7dbfa719
SM
6607 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6608 * allout-widgets.el (allout-widgets-after-undo-function):
6609 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6610 in the vicinity of an undo.
6611 (allout-widgets-mode): Include allout-widgets-after-undo-function
6612 on the new allout-post-undo-hook.
6613
450a0f09
SM
66142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6617 Let define-derived-mode define it.
6618 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6619 cycles of abbrev-table inheritance (bug#8998).
6620
2de69e00
RW
66212011-07-05 Roland Winkler <winkler@gnu.org>
6622
6623 * textmodes/bibtex.el: Add support for biblatex.
6624 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6625 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6626 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6627 (bibtex-entry-alist, bibtex-field-alist): New variables.
6628 (bibtex-entry-field-alist): Obsolete alias for
6629 bibtex-BibTeX-entry-alist.
6630 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6631 (bibtex-set-dialect): New command.
6632 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6633 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6634 Bind via bibtex-set-dialect.
2de69e00
RW
6635 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6636 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6637 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6638 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6639 Define via bibtex-set-dialect.
450a0f09
SM
6640 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6641 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6642 (bibtex-vec-push, bibtex-vec-incr): New functions.
6643 (bibtex-format-entry, bibtex-field-list)
6644 (bibtex-print-help-message, bibtex-validate)
6645 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6646
2dcdbdd9
SM
66472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * progmodes/compile.el (compilation-goto-locus):
6650 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6651 * bs.el (bs-cycle-next, bs-cycle-previous):
6652 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6653 * bindings.el (mode-line-other-buffer):
6654 * autoinsert.el (auto-insert):
6655 * arc-mode.el (archive-extract):
6656 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6657
b27640fe
JB
66582011-07-05 Juanma Barranquero <lekktu@gmail.com>
6659
6660 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6661 Fix check of `emacs-lock-unlockable-modes'.
6662 Coerce true values of `emacs-lock--try-unlocking' to t.
6663
53bbe3ad
JB
66642011-07-05 Juanma Barranquero <lekktu@gmail.com>
6665
6666 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6667 * emacs-lock.el: New file.
6668
1d3cdbc7
JD
66692011-07-05 Julien Danjou <julien@danjou.info>
6670
6671 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6672 than `boundp' to check if face is set.
6673
9173deec
JB
66742011-07-05 Juanma Barranquero <lekktu@gmail.com>
6675
6676 * register.el (registerv-make):
6677 * window.el (window-min-height): Fix typos in docstrings.
6678
869795d6
JD
66792011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6680
9173deec 6681 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6682 Update doc string.
6683
b768cdcd
JB
66842011-07-04 Juanma Barranquero <lekktu@gmail.com>
6685
6686 * server.el (server-execute): Catch quit and call
6687 `server-return-error' to pass the error back to emacsclient and
6688 close the connection (bug#8942).
6689
13aa217b
KM
66902011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6691
6692 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6693 insecure exception for current topic. Also note that auto-saves
6694 are handled differently.
6695
6696 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6697 State variables for tracking auto-save inhibition situation.
6698
6699 (allout-write-contents-hook-handler): Rename from
6700 'allout-write-file-hook-handler', and describe how it depends on
6701 write-contents-functions sensitivity to non-nil value to prevent
6702 file write.
6703
6704 (allout-auto-save-hook-handler): Remove. auto-save does not check
6705 this in individual buffers, only in the starting buffer, so this
6706 is not the right way for us to inhibit auto-save in a buffer
6707 according to its condition.
6708
6709 (allout-mode): Use new allout-write-contents-hook-handler, and
6710 only with write-contents-functions. Remove auto-save provisions -
6711 they're implemented elsewhere.
6712
6713 (allout-before-change-handler): If undo is in progress, note that
6714 for attention of allout-post-command-business.
6715
6716 (allout-post-command-business): If the command we're following was
6717 an undo, check for change in the status of encrypted items and
6718 adjust auto-save inhibitions accordingly.
6719
6720 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6721 according to whether there are or aren't any plain-text topics
6722 pending encryption.
6723
2dcdbdd9 6724 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6725 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6726 if there are plain-text topics pending encryption.
13aa217b
KM
6727
6728 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6729 buffer-saved-size and some allout state to not inhibit auto-saves
6730 if there are no longer any plain-text topics pending encryption.
6731
0757af94
SM
6732 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6733 No longer provide for exemption of the current topic.
13aa217b 6734
ac89b32c
JL
67352011-07-04 Juri Linkov <juri@jurta.org>
6736
6737 Add 7z operations to delete and save changed members (bug#8968).
6738 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6739 New defcustoms.
6740 (archive-7z-write-file-member): New function.
6741 (archive-7z-summarize): Fix the number of dashes in the
6742 listing output.
6743
8fa39615
SM
67442011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6747 (bug#8958).
6748
2f11b3f1
CY
67492011-07-04 Chong Yidong <cyd@stupidchicken.com>
6750
d66fef2b
CY
6751 * bindings.el: Ignore next-buffer and previous-buffer in
6752 minibuffer-local-map.
6753
2f11b3f1
CY
6754 * font-lock.el (font-lock-builtin-face): Change light background
6755 color to dark slate blue (Bug#6693).
6756
f932a347
WD
67572011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6758
6759 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6760
c8af70e1
SM
67612011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6764 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6765 Add switch-to-buffer.
6766
f158badc
LMI
67672011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6768
6769 * isearch.el (isearch-search-fun-function): Clarify further the
6770 meaning of the function returned.
6771
6d95bd46
MA
67722011-07-04 Michael Albinus <michael.albinus@gmx.de>
6773
6774 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6775
6776 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6777 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6778 Use it.
6779 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6780 `tramp-default-remote-path' does not exist.
6781 (tramp-send-command-and-read): New optional argument NOERROR.
6782 (tramp-open-connection-setup-interactive-shell)
6783 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6784 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6785 (tramp-process-sentinel): Flush also process' connection property.
6786 (tramp-sh-handle-start-file-process): Do not set process
6787 sentinel. It is done now ...
6788 (tramp-maybe-open-connection): ... here. (Bug#8929)
6789
909e6b67
MK
67902011-07-04 MON KEY <monkey@sandpframing.com>
6791
6792 * play/animate.el (animate-string): Doc fixes and allow changing
6793 the buffer name (bug#5417).
6794
67952011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6796
c8af70e1 6797 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6798
f34755dc
PE
67992011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6800
396cec72
PE
6801 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6802 This is simpler and helps future-proof the code.
6803 (timer-until): Use time-subtract and float-time.
08235028 6804 (timer--time-less-p): Use time-less-p.
f34755dc 6805
56e6cc31
JB
68062011-07-04 Juanma Barranquero <lekktu@gmail.com>
6807
3abb79e5
JB
6808 * type-break.el (timep): Use the value of `float-time' to avoid a
6809 byte-compiler warning.
6810
56e6cc31
JB
6811 * server.el (server-eval-and-print): Return any result, even nil.
6812
7b9430b4
PE
68132011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6814
6815 * type-break.el: Accept time formats that the builtins accept.
6816 (timep, type-break-time-difference): Accept any format that
6817 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6818 This is simpler and helps future-proof the code.
6819 (type-break-time-difference): Round rather than ignoring
6820 subseconds components.
6821
3034e9e7
LMI
68222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6823
6824 * info.el (Info-apropos-matches): Make non-interactive, since it
6825 doesn't seem to do anything useful as a command (bug#8829).
6826
1485f4c0
CY
68272011-07-03 Chong Yidong <cyd@stupidchicken.com>
6828
6829 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6830 Move from faces.el.
1485f4c0
CY
6831 (frame-default-terminal-background): New function.
6832
6833 * custom.el (custom-push-theme): Don't record faces in `changed'
6834 theme; this doesn't work correctly for per-frame face settings.
6835 (disable-theme): Use face-set-after-frame-default to reset faces.
6836 (custom--frame-color-default): New function.
6837
9fa3dd45
LMI
68382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6839
c8af70e1 6840 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6841 (bug#8769).
6842
6cbbc20c
KR
68432011-03-29 Kevin Ryde <user42@zip.com.au>
6844
6845 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6846 `perl-Test2' extend to match possible "fail #N" rep count
6847 (bug#8377).
6848
c7f98048
LMI
68492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6850
65676592
LMI
6851 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6852 `smtpmail-via-smtp' now returns the error instead of nil.
6853
c7f98048
LMI
6854 * isearch.el (isearch-search-fun-function): Clarify the doc string
6855 (bug#8101).
6856
56e6cc31 68572011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6858
6859 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6860 unnecessary spaces (bug#8987).
6861
2b216704
LMI
68622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6863
6864 * net/network-stream.el (open-network-stream): Use the
6865 :end-of-capability command thoughout.
6866
68672011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6868
6869 * net/network-stream.el (open-network-stream): Add the
6870 :end-of-capability command parameter, used by pop3.el.
6871
36adf6ce
LMI
68722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
1ca0da0e
LMI
6874 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6875
fc00f69c
LMI
6876 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6877 for list)" (bug#6475).
6878
28fd8759 6879 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6880 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6881 an error (bug#6297).
6882
0dd8b6da
LMI
6883 * man.el (Man-reference-regexp): Allow matching possible
6884 word-wrapped references (bug#6289).
6885
ce1438d6
LMI
6886 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6887 for consistency with the other vc buffers (bug#6197).
6888 (vc-checkin): Ditto.
6889
6890 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6891
36adf6ce
LMI
6892 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6893
e83cc1f7
LMI
68942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6895
8a20ca4c
LMI
6896 * custom.el (defcustom): Clarify that :set is only used in the
6897 Customize user interface (bug#6089).
6898
83319045
LMI
6899 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6900 associated with a file, refuse to run instead of erroring out
6901 (bug#6084).
6902
a8392169
LMI
6903 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6904 the doc string, since it appears that using `fill-column' always
6905 controls the width (bug#7845).
6906
e83cc1f7
LMI
6907 * simple.el (shell-command-on-region): Say where the error output
6908 went if `shell-command-default-error-buffer' is set (bug#6857).
6909
e47ca23b
KM
69102011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6911
6912 * allout.el (allout-yank-processing): Adjust cursor position for
6913 backwards-deleted space.
6914
6915 (allout-rebullet-heading): Register changes with
6916 allout-exposure-changed-hook, so the modified topic is properly
6917 decorated.
6918
5cf56143
LMI
69192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6920
08549772
LMI
6921 * minibuffer.el (completion-in-region): Document PREDICATE
6922 (bug#7136).
6923
48e96771
LMI
6924 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6925 of keyword/argument pairs (bug#6904).
6926
c8af70e1
SM
6927 * replace.el (multi-occur):
6928 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6929
e17d05e2
LMI
69302011-07-02 Drew Adams <drew.adams@oracle.com>
6931
6932 * dired.el (dired-mark-if): Make the message about whether it's
6933 marking or unmarking clearer (bug#8523).
6934
063b0e45
LMI
69352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6936
6937 * disp-table.el (display-table-print-array): New function.
6938 (describe-display-table): Use it to print the vectors more pretty
6939 (Bug#8859).
6940
28545e04
MR
69412011-07-02 Martin Rudalics <rudalics@gmx.at>
6942
6943 * window.el (window-state-get-1): Don't assign clone numbers.
6944 Add clone-of item to list of window parameters.
6945 (window-state-put-2): Don't process clone numbers.
6946 (display-buffer-alist): Fix doc-string.
6947
3349e122
SM
69482011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * subr.el (remq): Don't allocate if it's not needed.
6951 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6952 (keymap--merge-bindings): New functions.
6953 (keymap-canonicalize): Use them to refine the canonicalization.
6954 * minibuffer.el (minibuffer-local-completion-map)
6955 (minibuffer-local-must-match-map): Move initialization from C.
6956 (minibuffer-local-filename-completion-map): Move initialization from C;
6957 don't inherit from anything here.
6958 (minibuffer-local-filename-must-match-map): Make obsolete.
6959 (completing-read-default): Use make-composed-keymap to combine
6960 minibuffer-local-filename-completion-map with either
6961 minibuffer-local-must-match-map or
6962 minibuffer-local-filename-completion-map.
6963
d224ac83
GM
69642011-07-01 Glenn Morris <rgm@gnu.org>
6965
3de63bf8
GM
6966 * type-break.el (type-break-time-sum): Use dolist.
6967
d224ac83
GM
6968 * textmodes/flyspell.el (flyspell-word-search-backward):
6969 Replace CL function.
6970
1a1e3f32
SM
69712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6972
fe3f64d5
SM
6973 * mouse.el (mouse--strip-first-event): New function.
6974 (function-key-map): Use it to map fringe clicks to normal clicks
6975 by default.
6976
eb604e34
SM
6977 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6978 (vc-bzr-revision-completion-table): Add support for annotate and date.
6979
1a1e3f32
SM
6980 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6981 inherit from parent.
6982
5bd35902
LMI
69832011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6984
ace6c69c 6985 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6986 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6987
191e2bed
LMI
6988 * dired.el (dired-mode): Fix up the doc string as suggested by
6989 Drew Adams (bug#8817).
6990
5bd35902
LMI
6991 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6992 cookie, since the manual says that it should be possible to add
6993 this function to `find-file-hook' (bug#8709).
6994
eee8207a
TZ
69952011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6996
6997 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6998 here. Noted Ted Zlatanov as the maintainer.
6999 (cfengine-common-settings, cfengine-common-syntax): New functions
7000 to set up common things between `cfengine-mode' and
7001 `cfengine3-mode'.
7002 (cfengine3-mode): New mode.
7003 (cfengine3-defuns cfengine3-defuns-regex
7004 (cfengine3-class-selector-regex cfengine3-category-regex)
7005 (cfengine3-vartypes cfengine3-font-lock-keywords)
7006 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7007 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7008
36b148cf
MA
70092011-07-01 Michael Albinus <michael.albinus@gmx.de>
7010
7011 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7012
7013 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7014
0bf4ba9a
MR
70152011-07-01 Martin Rudalics <rudalics@gmx.at>
7016
7017 * window.el (same-window-buffer-names, same-window-regexps)
7018 (same-window-p, special-display-frame-alist)
7019 (special-display-popup-frame, special-display-function)
7020 (special-display-buffer-names, special-display-regexps)
7021 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7022 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7023 (split-window-preferred-function, split-height-threshold)
7024 (split-width-threshold, even-window-heights)
7025 (display-buffer-mark-dedicated, window-splittable-p)
7026 (split-window-sensibly, window-safely-shrinkable-p):
7027 Un-obsolete.
7028 (display-buffer): Don't spread args with function specifier
7029 because special-display-popup-frame won't like it.
7030
35837f51
PE
70312011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7032
d0672f86
PE
7033 Time-stamp simplifications and fixes.
7034 These improve accuracy slightly, and future-proof the code
7035 against some potential changes to current-time format.
7036
b9444d97
PE
7037 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7038 by using time-since and float-time.
7039
0ef923dc
PE
7040 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7041 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7042 + NNN microseconds".
7043
2f81380d
PE
7044 * type-break.el (type-break-time-sum): Rewrite using time-add.
7045
845b5c3e
PE
7046 * play/hanoi.el (hanoi-current-time-float): Remove.
7047 All uses replaced by float-time.
7048
ee6f1be0
PE
7049 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7050 This yields a more-accurate answer.
7051 (rng-time-to-float): Remove; no longer needed.
7052
fe955043
PE
7053 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7054
5777162a
PE
7055 * calendar/timeclock.el (timeclock-seconds-to-time):
7056 Defalias to seconds-to-time, since they're the same thing.
7057
3103f8b6 7058 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7059 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7060 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7061
0e61a35f
SM
70622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * window.el (bury-buffer): Don't iconify the only frame.
7065 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7066 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7067
ddd63a1e
CY
70682011-07-01 Chong Yidong <cyd@stupidchicken.com>
7069
0e61a35f
SM
7070 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7071 Add mouse-yank-primary.
ddd63a1e 7072
055f4923
TZ
70732011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7074
7075 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7076
6a2fb145
SM
70772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7080 (find-library-name): Use it to find relative load names when provided
7081 absolute file name (bug#8803).
7082
fd4983f2
LMI
70832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7084
887d14ad
LMI
7085 * textmodes/flyspell.el (flyspell-word): Consider words that
7086 differ only in case as potential doublons (bug#5687).
7087
c53dc7fc
LMI
7088 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7089 Remove two rather uninteresting debugging-like messages to make
7090 debbugs.el more silent.
7091
fd4983f2
LMI
7092 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7093 a password-like phrase.
7094
7a71b18d 70952011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7096
7097 * progmodes/cc-guess.el: New file.
7098
6a2fb145 7099 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7100
7101 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7102 derived from `c-basic-common-init'.
7103
7104 * progmodes/cc-mode.el (top-level): Require cc-guess.
7105 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7106
1fa280a3
LM
71072011-06-30 Lawrence Mitchell <wence@gmx.li>
7108
7109 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7110
e6597158
AM
71112011-06-30 Alan Mackenzie <acm@muc.de>
7112
1fa280a3
LM
7113 * progmodes/cc-engine.el (c-guess-continued-construct):
7114 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7115 lock is disabled. Name this case as "CASE G".
7116
68ba37fb
KM
71172011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7118
7119 * allout.el (allout-yank-processing): Fix injection of extra space
7120 between bullet and non-whitespace character in first topic when
7121 pasting, ensuring that the actual spacing in the pasted topic
7122 following the bullet char is preserved. This extra space was
7123 causing pasted encrypted topics to get a decrypted status even
7124 when the content was actually still encrypted. Now the decryption
7125 status from before the paste is preserved.
7126
7127 (allout-flag-region): Set all allout overlays so they evaporate
7128 when reduced to zero length (evanescent), to prevent overlay
7129 leakage.
7130
887a0b34
GM
71312011-06-30 Glenn Morris <rgm@gnu.org>
7132
94b9acce
GM
7133 * w32-fns.el (w32-charset-info-alist): Declare.
7134
1d9b46d4
GM
7135 * find-dired.el (find-grep-options): Simplify.
7136
cc232200
GM
7137 * term/ns-win.el (ns-set-resource): Declare.
7138
28e77c46
GM
7139 * ses.el (row, col): Declare dynamic variables honestly.
7140
887a0b34
GM
7141 * textmodes/reftex-parse.el (index-tags): Declare.
7142
658d8eb8
CY
71432011-06-30 Chong Yidong <cyd@stupidchicken.com>
7144
7145 * cus-edit.el (customize-push-and-save): New function.
7146
7147 * files.el (hack-local-variables-confirm): Use it.
7148
1fa280a3
LM
7149 * custom.el (load-theme): New arg NO-CONFIRM.
7150 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7151 (custom-enabled-themes): Doc fix.
7152
7153 * cus-theme.el (customize-create-theme)
7154 (custom-theme-merge-theme): Callers to load-theme changed.
7155
bb617717
LMI
71562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7157
d61bdd5d
LMI
7158 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7159 short URLs have at least one dot in them (bug #7614).
7160
bb617717
LMI
7161 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7162 nil, because using a pty is apparently too slow (bug #895).
7163
2f31f37a
LMI
71642011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7165
7166 * mail/sendmail.el (sendmail-query-once): New function.
7167 (sendmail-query-once-function): New variable.
7168
3076b24e
GM
71692011-06-29 Glenn Morris <rgm@gnu.org>
7170
faf2a174
GM
7171 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7172
3076b24e
GM
7173 * ses.el (top-level): Require cl when compiling.
7174 (ses-set-localvars): Fix error statement.
7175 Call it at compile time to silence a storm of warnings.
7176
5386012d
MR
71772011-06-29 Martin Rudalics <rudalics@gmx.at>
7178
7179 * window.el (normalize-live-buffer): Rename to
7180 window-normalize-buffer.
7181 (normalize-live-frame): Rename to window-normalize-frame.
7182 (normalize-any-window): Rename to window-normalize-any-window.
7183 (normalize-live-window): Rename to window-normalize-live-window.
7184 (make-window-atom): Rename to window-make-atom.
7185 (window-resize-reset): Rename to window--resize-reset.
7186 (window-resize-reset-1): Rename to window--resize-reset-1.
7187 (resize-mini-window): Rename to window--resize-mini-window.
7188 (resize-subwindows-skip-p): Rename to
7189 window--resize-subwindows-skip-p.
7190 (resize-subwindows-normal): Rename to
7191 window--resize-subwindows-normal.
7192 (resize-subwindows): Rename to window--resize-subwindows.
7193 (resize-other-windows): Rename to window--resize-siblings.
7194 (resize-this-window): Rename to window--resize-this-window.
7195 (resize-root-window): Rename to window--resize-root-window.
7196 (resize-root-window-vertically): Rename to
7197 window--resize-root-window-vertically.
7198 (normalize-buffer-to-display): Rename to
7199 window-normalize-buffer-to-display.
7200 (normalize-buffer-to-switch-to): Rename to
7201 window-normalize-buffer-to-switch-to.
7202 Correspondingly update all callers of the functions listed
7203 above.
7204 (display-buffer-alist, display-buffer-normalize-arguments)
7205 (display-buffer-normalize-options, display-buffer)
7206 (display-buffer-alist-set): Use "function" instead of
7207 "fun-with-args".
7208
1176868d
CY
72092011-06-28 Chong Yidong <cyd@stupidchicken.com>
7210
7211 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7212 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7213 debbugs.gnu.org. Mention acknowledgment email.
7214
20a7a65f
LMI
72152011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7216
7217 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7218 buffer multibyteness, since it shouldn't matter.
7219
5f45cca5
MR
72202011-06-28 Martin Rudalics <rudalics@gmx.at>
7221
7222 * window.el (display-buffer-in-side-window): Handle dedicated
7223 windows as in display-buffer-reuse-window.
7224 (display-buffer-normalize-alist): Use value of override
7225 specifier.
7226 (display-buffer-normalize-specifiers): Use value of
7227 other-window-means-other-frame specifier.
7228 (display-buffer-alist): Rewrite some texts in widgets.
7229 (display-buffer): Spread arguments when calling function
7230 specified by fun-with-args.
7231
ad85fe1f
DD
72322011-06-28 Deniz Dogan <deniz@dogan.se>
7233
1fa280a3
LM
7234 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7235 Unnest `let'.
da68c4c8 7236
ad85fe1f
DD
7237 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7238 selectors (Bug#5732).
ec49bd31 7239 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7240
a08cc025
JA
72412011-06-27 Jari Aalto <jari.aalto@cante.net>
7242
7243 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7244 (eshell-ls-date-format): New defcustom.
7245 (eshell-ls-file): Use it.
7246
e2b551c5
SM
72472011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7250
8982b231
KY
72512011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7252
7253 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7254 (ange-ftp-make-tmp-name): New arg.
7255 (ange-ftp-file-local-copy): Use it.
7256
36c9fa27
J
72572011-06-27 Jambunathan K <kjambunathan@gmail.com>
7258
7259 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7260 no-conversion (Bug#8870).
7261
d68443dc
MR
72622011-06-27 Martin Rudalics <rudalics@gmx.at>
7263
7264 * window.el (window-right, window-left, window-child)
7265 (window-child-count, window-last-child)
7266 (window-iso-combination-p, walk-window-tree-1)
7267 (window-atom-check-1, window-tree-1, delete-window)
7268 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7269 new naming conventions - window-vchild, window-hchild,
7270 window-next and window-prev are now called window-top-child,
7271 window-left-child, window-next-sibling and window-prev-sibling
7272 respectively.
d615d6d2
MR
7273 (resize-window-reset): Rename to window-resize-reset.
7274 (resize-window-reset-1): Rename to window-resize-reset-1.
7275 (resize-window): Rename to window-resize.
7276 (window-min-height, window-min-width)
7277 (resize-mini-window, resize-this-window, resize-root-window)
7278 (resize-root-window-vertically, adjust-window-trailing-edge)
7279 (enlarge-window, shrink-window, maximize-window)
7280 (minimize-window, delete-window, quit-restore-window)
7281 (split-window, balance-windows, balance-windows-area-adjust)
7282 (balance-windows-area, window-state-put-2)
7283 (display-buffer-even-window-sizes, display-buffer-set-height)
7284 (display-buffer-set-width, set-window-text-height)
7285 (fit-window-to-buffer): Rename all "resize-window" prefixed
7286 calls to use the "window-resize" prefix convention.
7287 (display-buffer-alist): Fix symbol for label specifier.
7288 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7289 corresponding specifier.
7290 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7291
b6458526
VB
72922011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7293
7294 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7295 convention.
7296 (ses-call-printer): Does not pass an empty string to formatter when the
7297 cell is empty to keep from barking printer Calc math-format-value.
7298
d31fd9ac
RS
72992011-06-27 Richard Stallman <rms@gnu.org>
7300
43d5bf84
RS
7301 * battery.el (battery-mode-line-limit): New variable.
7302 (battery-update): Handle it.
7303
d31fd9ac
RS
7304 * mail/rmailmm.el (rmail-mime-process-multipart):
7305 Handle truncated messages.
7306
819a6054
GM
73072011-06-27 Glenn Morris <rgm@gnu.org>
7308
7309 * progmodes/flymake.el (flymake-err-line-patterns):
7310 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7311
cedc73f2
VB
73122011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7313
819a6054 7314 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7315 (ses--clean-!, ses--clean-_): New functions.
7316 (ses-range): Add configurability of readout order, and conversion
7317 to Calc vector.
7318
5e5d49b6
VB
7319 * ses.el (ses-repair-cell-reference-all): New function.
7320 (ses-cell-symbol): Set macro as safe, so that it can be used in
7321 formulas.
7322
56e6cc31 7323 * ses.el: Update cycle detection algorithm.
90ca8b49 7324 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7325 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7326 (ses-set-localvars): New function.
7327 (ses-make-cell): Add property-list as a cell element.
7328 (ses-cell-property-get-fun, ses-cell-property-get)
7329 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7330 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7331 New functions.
90ca8b49
VB
7332 (ses-cell-property-set, ses-cell-property-pop)
7333 (ses-cell-property-get-handle): New macro.
7334 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7335 New aliases, used for code readability.
7336 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7337 cycle detection.
7338 (ses-self-reference-early-detection): New defcustom.
fac916bf 7339 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7340 (ses-mode): Use ses-set-localvars.
7341 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7342 before lauching the update processing.
7343 (ses-initialize-Dijkstra-attempt): New function.
7344 (ses-recalculate-cell): Update for cycle detection based on
7345 Dijkstra algorithm.
7346
2bb63e81
VB
7347 * ses.el: Fix commenting and indenting convention.
7348
c9d29fb8
SM
73492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * bs.el (bs-cycle-next): Complete last change.
7352
d8e4b68b
JB
73532011-06-27 Drew Adams <drew.adams@oracle.com>
7354
7355 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7356
40098786
LMI
73572011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7358
c9d29fb8
SM
7359 * net/network-stream.el (network-stream-open-starttls):
7360 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7361 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7362
40098786
LMI
7363 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7364 to binary to possibly avoid line encoding issues on Windows (among
7365 other things).
7366
468d09d4
LMI
73672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7368
7369 * net/network-stream.el (open-network-stream): Return an :error
7370 saying what the problem was, if possible.
7371
7372 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7373 server.
7374
7375 * net/network-stream.el (network-stream-open-starttls): If we
7376 wanted to use STARTTLS, and the server offered it, but we weren't
7377 able to because we had no STARTTLS support, then close the connection.
7378 (open-network-stream): Return an :error element, if present.
7379
16f07dd7
CY
73802011-06-26 Chong Yidong <cyd@stupidchicken.com>
7381
88821ca0
CY
7382 * hl-line.el (hl-line-sticky-flag): Doc fix.
7383 (global-hl-line-sticky-flag): New option (Bug#8323).
7384 (global-hl-line-highlight): Obey it.
7385
16f07dd7
CY
7386 * vc/vc.el (vc-revert-show-diff): Default to t.
7387
6b5ccddf
KM
73882011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7389
c9d29fb8
SM
7390 * allout-widgets.el (allout-widgets-post-command-business):
7391 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7392 undecorated when an isearch is continued past, and isearch
7393 automatically collapses them. This leads to "widget leaks", where
7394 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7395 hidden widgets can slow down cursor travel, substantially.
7396 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7397 so we're doing without this nicety.
7398
7399 (allout-widgets-tally-string): Don't try to do a hash-table-count
7400 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7401 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7402 *Messages* when allout-widgets-maintain-tally is t.
7403
355f2e07
MR
74042011-06-26 Martin Rudalics <rudalics@gmx.at>
7405
7406 * window.el (display-buffer-normalize-argument): Rename to
7407 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7408 LABEL argument. Respect special-display-function when popping up
7409 a new frame. Fix code searching for a window showing the buffer
7410 on another frame.
c9d29fb8
SM
7411 (display-buffer-normalize-specifiers):
7412 Call display-buffer-normalize-arguments.
355f2e07
MR
7413 (display-buffer-in-window): Don't undedicate the window if its
7414 buffer remains the same.
7415 Reported by Drew Adams <drew.adams@oracle.com>.
7416 (display-buffer-alist): Add choice for same-window macro
7417 specfier.
7418 (display-buffer): Mention special meaning of LABEL argument in
7419 doc-string. Fix quoting. Don't pop up a new frame even as
7420 fallback.
7421
7ca8fc42
JB
74222011-06-26 Juanma Barranquero <lekktu@gmail.com>
7423
7424 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7425 avoid deleting the current window in some cases (bug#8911).
7426
bc312254
AS
74272011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7428
7429 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7430 (Bug#8934)
7431
2db18f3f
LMI
74322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433
c9d29fb8
SM
7434 * net/network-stream.el (network-stream-open-starttls):
7435 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7436 (network-stream-open-tls): Ditto.
7437
6302e0d3
LL
74382011-06-26 Leo Liu <sdl.web@gmail.com>
7439
7440 * register.el (registerv): New struct.
7441 (registerv-make): New function.
c9d29fb8
SM
7442 (jump-to-register, describe-register-1, insert-register):
7443 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7444 struct. (Bug#8415)
7445
5fdd4046
CY
74462011-06-26 Chong Yidong <cyd@stupidchicken.com>
7447
2afef60a
CY
7448 * vc/vc.el (vc-revert-show-diff): New defcustom.
7449 (vc-diff-internal): New arg specifying diff buffer.
7450 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7451 reuse an existing *vc-diff* buffer (Bug#8927).
7452
5fdd4046
CY
7453 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7454
e93db24a
GM
74552011-06-26 Glenn Morris <rgm@gnu.org>
7456
7457 * progmodes/f90.el (f90-critical-indent): New option.
7458 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7459 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7460 (f90-mode): Doc fix.
7461 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7462 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7463 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7464 (f90-match-end): Handle block, critical.
7465
eefff499
GM
74662011-06-25 Glenn Morris <rgm@gnu.org>
7467
f6ba4cc9
GM
7468 * calendar/diary-lib.el (diary-included-files): Doc fix.
7469 (diary-include-files): New function, extracted from
7470 diary-include-other-diary-files and diary-mark-included-diary-files.
7471 (diary-include-other-diary-files, diary-mark-included-diary-files):
7472 Just call diary-include-files.
7473 (diary-mark-entries): Reset diary-included-files on first call.
7474
16712304
GM
7475 * calendar/diary-lib.el (diary-mark-entries)
7476 (diary-mark-included-diary-files):
7477 Visit included diary-files in temp buffers.
7478
5d8e0d43
GM
7479 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7480 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7481 (f90-start-block-re, f90-imenu-generic-expression)
7482 (f90-looking-at-program-block-start, f90-no-block-limit):
7483 Add support for submodules.
7484
ccf7a5d5
GM
7485 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7486 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7487
11fdef7d 74882011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7489
7490 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7491 buffer-file-type before setting its value, to avoid disastrous
eefff499 7492 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7493
74f53697
JB
74942011-06-25 Juanma Barranquero <lekktu@gmail.com>
7495
7496 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7497
7498 * ses.el (ses-unload-function):
7499 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7500
7501 * proced.el (proced-unload-function):
7502 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7503
18a4ce5e
AR
75042011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7505
7506 * server.el (server-create-window-system-frame): Add parameters arg.
7507 (server-process-filter): Doc fix. Handle frame-parameters.
7508
519d22cc
JB
75092011-06-25 Juanma Barranquero <lekktu@gmail.com>
7510
7511 Fix bug#8730, bug#8781.
7512
7513 * loadhist.el (unload--set-major-mode): New function.
7514 (unload-feature): Use it.
7515
7516 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7517 (python-unload-function): New function.
7518
c206f5b0
SM
75192011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7522
f9ad64f3
GS
75232011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7524
7525 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7526 the candidates list.
7527
7d0da90e
JB
75282011-06-24 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7531
14b4e83d
RS
75322011-06-23 Richard Stallman <rms@gnu.org>
7533
7534 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7535 (rmail-variables): Set next-error-move-function.
7536 (rmail-what-message): Take argument POS.
7537 (rmail-next-error-move): New function.
7538
273d2baf
SM
75392011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7542 messages for adjacent non-terminals.
7543
56c2cc9a
RS
75442011-06-23 Richard Stallman <rms@gnu.org>
7545
7546 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7547 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7548 (rmail-start-mail): Don't specify use of rmail-mail-return;
7549 that's done by mail-bury now.
7550 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7551
d59eb518
MA
75522011-06-23 Michael Albinus <michael.albinus@gmx.de>
7553
7554 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7555 SIZE is a number.
7556
02cfc6d6
MR
75572011-06-23 Martin Rudalics <rudalics@gmx.at>
7558
7559 * window.el (get-lru-window, get-mru-window)
7560 (get-largest-window): Never return a minibuffer window.
7561 (display-buffer-pop-up-window): Fix a bug that could lead to
7562 reusing the minibuffer window.
7563 (display-buffer): Pass original specifier argument to
7564 display-buffer-function instead of the normalized one.
7565 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7566
4e323265
LL
75672011-06-22 Leo Liu <sdl.web@gmail.com>
7568
7569 * minibuffer.el (completing-read-function)
7570 (completing-read-default): Move from minibuf.c
7571
7a70468f
RS
75722011-06-22 Richard Stallman <rms@gnu.org>
7573
50718fc2
RS
7574 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7575 to Rmail even if not started by a special Rmail command.
7576
7a70468f
RS
7577 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7578 Copy the buffer currently showing just one message.
7579
297dde5a
RW
75802011-06-22 Roland Winkler <winkler@gnu.org>
7581
7582 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7583 (bibtex-clean-entry): First delete the old key so that a
7584 customized algorithm for generating the new key does not get
7585 confused by the old key.
7586 (bibtex-url): Obey regexp of first step.
7587 (bibtex-search-entries): Do not use add-to-list with local
7588 list-var.
7589
97bb1093
LMI
75902011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7591
7592 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7593 stored a user name, then query for the password first, instead of
7594 waiting for SMTP to give an error message and the trying again.
7595
1c0f1a19
JD
75962011-06-22 Lawrence Mitchell <wence@gmx.li>
7597
7598 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7599 BUFFER in call-process.
7600
396f7c9d
LMI
76012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7602
7603 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7604 QUIT twice.
ddb7ffee
LMI
7605 (smtpmail-try-auth-methods): Require user name and password from
7606 auth-source.
396f7c9d 7607
8998d1b3
MR
76082011-06-22 Martin Rudalics <rudalics@gmx.at>
7609
7610 * window.el (display-buffer-default-specifiers)
7611 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7612 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7613 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7614
7615 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7616 (special-display-frame-alist, special-display-popup-frame):
7617 Remove duplicate declarations. These are now in window.el.
7618
4ea31e07
LMI
76192011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7620
c9d29fb8
SM
7621 * mail/smtpmail.el (smtpmail-via-smtp):
7622 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7623 server supports it. SMTP servers that support STARTTLS commonly
7624 require it.
7625
7626 * net/network-stream.el (network-stream-open-starttls): Support
7627 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7628 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7629
95f41d9a
LMI
7630 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7631 upgrades with `open-network-stream', and rely solely on
7632 auth-source for all credentials. Big changes throughout the file,
7633 but in particular:
c9d29fb8
SM
7634 (smtpmail-auth-credentials): Remove.
7635 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7636 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7637 MAIL FROM, too.
95f41d9a 7638
c9d29fb8
SM
7639 * net/network-stream.el (network-stream-open-starttls):
7640 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7641 STARTTLS.
7642 (auth-source): Require.
7643 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7644 (network-stream-certificate): Change cert-cert to cert and
7645 cert-key to key.
4ea31e07 7646
065ec2c7
MA
76472011-06-21 Michael Albinus <michael.albinus@gmx.de>
7648
7649 * net/tramp-cache.el (top): Don't load the persistency file when
7650 "emacs -Q" has been called.
7651
cd93b359
DR
76522011-06-21 Tim Harper <timcharper@gmail.com>
7653
d8e4b68b
JB
7654 * term/ns-win.el (ns-initialize-window-system):
7655 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7656 resource to NO as it is not yet supported by the NS port.
7657
ae9c0411
JB
76582011-06-21 Juanma Barranquero <lekktu@gmail.com>
7659
7660 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7661 (list-dynamic-libraries): ...not here.
7662
7f3f739f
LL
76632011-06-21 Leo Liu <sdl.web@gmail.com>
7664
7665 * subr.el (sha1): Implement sha1 using secure-hash.
7666
327c8fb1
MR
76672011-06-21 Martin Rudalics <rudalics@gmx.at>
7668
7669 * window.el (display-buffer-alist): In default value do not
7670 enforce searching a window on any but the selected frame.
7671 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7672 (display-buffer-select-window): Remove function.
7673 (display-buffer-in-window): When a window on another frame gets
7674 reused, do not select it any more but just raise its frame if
7675 necessary (Bug#8851) and (Bug#8856).
7676 (display-buffer-normalize-options): Handle pop-up-frames related
7677 options more faithfully.
7678 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7679 window if it is on another frame.
c9d29fb8
SM
7680 (display-buffer-alist, display-buffer-default-specifiers):
7681 Don't make new frame unsplittable by default.
9e9de014
MR
7682 (display-buffer-normalize-argument): Fix doc-string typo and use
7683 'same-frame-other-window instead of 'other-window when associating
7684 with display-buffer-macro-specifiers.
327c8fb1 7685
7cf3f556
VB
76862011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7687
7688 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7689 New functions.
7690 (5x5-mode-map, 5x5-mode-menu): Bind them.
7691 (5x5-draw-grid): Tweak the solver's rendering.
7692
60a406cf
SM
76932011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7696 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7697
d8e4b68b 76982011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7699
7700 * menu-bar.el: Use function variable instead of switch-to-buffer.
7701 (menu-bar-select-buffer-function): New variable.
60a406cf 7702 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7703
478d6f95
SM
77042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7705
7706 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7707 variable's status.
7708
ca530739
JD
77092011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7710
7711 * x-dnd.el (x-dnd-version-from-flags)
7712 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7713 and long as number (Bug#8899).
7714 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7715
bcd70d97
SM
77162011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7717
60a406cf 7718 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7719 (completion-try-completion, completion-all-completions): Compute the
7720 metadata argument if it's missing; make it optional (bug#8795).
7721
60a406cf 7722 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7723 (widget-complete): Use new :completion-function property.
7724 (widget-completions-at-point): New function.
7725 (default): Use :completion-function instead of :complete.
60a406cf
SM
7726 (widget-default-completions): Rename from widget-default-complete;
7727 Rewrite.
bcd70d97
SM
7728 (widget-string-complete, widget-file-complete, widget-color-complete):
7729 Remove functions.
7730 (file, symbol, function, variable, coding-system, color):
7731 * international/mule-cmds.el (default-input-method, charset)
7732 (language-info-custom-alist):
7733 * cus-edit.el (face): Use new property :completions.
7734
7735 * progmodes/pascal.el (pascal-completions-at-point): New function.
7736 (pascal-mode): Use it.
7737 (pascal-mode-map): Use completion-at-point.
7738 (pascal-toggle-completions): Make obsolete.
7739 (pascal-complete-word, pascal-show-completions):
7740 * progmodes/octave-mod.el (octave-complete-symbol):
7741 Redefine as obsolete alias.
7742 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7743 Signal absence of completion info for old Octave,
7744 (inferior-octave-complete): Redefine as obsolete alias.
7745 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7746 (meta-completions-at-point): Rename from meta-complete-symbol and
7747 adapt it for use on completion-at-point-functions.
7748 (meta-common-mode): Use it.
7749 (meta-looking-at-backward, meta-match-buffer): Remove.
7750 (meta-complete-symbol): Redefine as obsolete alias.
7751 (meta-common-mode-map): Use completion-at-point.
7752 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7753 (makefile-mode-map): Use completion-at-point.
7754 (makefile-completions-at-point): Rename from makefile-complete and
7755 adapt it for use on completion-at-point-functions.
7756 (makefile-mode): Use it.
7757 (makefile-complete): Redefine as obsolete alias.
7758
aebf69c8
DD
77592011-06-20 Deniz Dogan <deniz@dogan.se>
7760
7761 * net/rcirc.el: Delete trailing whitespaces once and for all.
7762
bfbbb27d
DC
77632011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7764
7765 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7766
d264a46b
CY
77672011-06-19 Chong Yidong <cyd@stupidchicken.com>
7768
4ca009e5
CY
7769 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7770
d264a46b
CY
7771 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7772
fbf5b3ce
MR
77732011-06-19 Martin Rudalics <rudalics@gmx.at>
7774
7775 * window.el (display-buffer-other-window-means-other-frame):
7776 Call display-buffer-normalize-alist.
7777 (display-buffer-normalize-specifiers-1): Rename to
7778 display-buffer-normalize-argument. New argument other-frame.
7779 Rewrite.
7780 (display-buffer-normalize-specifiers-2): Rename to
7781 display-buffer-normalize-options.
7782 (display-buffer-normalize-alist-1): New function.
7783 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7784 display-buffer-normalize-alist.
7785 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7786 (display-buffer-normalize-options-inhibit): New variable.
7787 (display-buffer-normalize-specifiers): Rewrite calling
7788 display-buffer-normalize-alist,
7789 display-buffer-normalize-argument, and
7790 display-buffer-normalize-options. Don't call the latter if
7791 display-buffer-normalize-options-inhibit is non-nil.
7792 (frame-auto-delete): New option.
7793 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7794 (window-list-no-nils, window-state-ignored-parameters)
7795 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7796 (window-state-put-1, window-state-put-2, window-state-put):
7797 New functions.
9a028c23
MR
7798 (display-buffer-normalize-options): Move special-display-p group
7799 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7800
6d10d800
CY
78012011-06-18 Chong Yidong <cyd@stupidchicken.com>
7802
6420d28b
CY
7803 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7804 groups (Bug#8776).
7805 (rx-submatch-n): New function.
7806 (rx): Document it.
7807
ddb8b596
CY
7808 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7809 (Bug#8768).
7810
7811 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7812
77080289
CY
7813 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7814
61dfb316
CY
7815 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7816 anytime existing face settings are present (Bug#8889).
7817
6d10d800
CY
7818 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7819 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7820 Remove unused argument.
7821
be3fb2b8
MR
78222011-06-18 Martin Rudalics <rudalics@gmx.at>
7823
bcd70d97
SM
7824 * window.el (display-buffer-default-specifiers):
7825 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7826 pop-up-window-min-width, and another reuse-window specifier
7827 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7828 (display-buffer-normalize-specifiers-2):
7829 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7830 pop-up-windows is unset. Add a reuse-window specifier for the
7831 case popping up a new window fails.
7832 (special-display-popup-frame): Remove double quoting.
28dec25a 7833 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7834
1c6d8c76
SM
78352011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7836
7837 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7838 according to comint-completion-addsuffix.
7839
7840 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7841 (pcomplete-suffix-list): Mark as obsolete.
7842 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7843 pcomplete-seen in the closure.
7844 (pcomplete-comint-setup): Setup completion-at-point as well.
7845 (pcomplete--entries): New function.
7846 (pcomplete--env-regexp): New var.
7847 (pcomplete-entries): Rewrite to work with partial-completion and
7848 without relying on pcomplete-suffix-list.
7849 (pcomplete-pare-list): Remove, unused.
7850
25aef8b8
MR
78512011-06-17 Martin Rudalics <rudalics@gmx.at>
7852
7853 * window.el (display-buffer-alist): Set pop-up-window-min-height
7854 and pop-up-window-min-width in default value. Reported by
7855 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7856 other-window-means-other-frame.
7857 (display-buffer-macro-specifiers): Comment out entry for
7858 other-window specifier.
7859 (display-buffer-other-window-means-other-frame): New function.
7860 (display-buffer-normalize-specifiers-1): New arguments
7861 buffer-name and label. Treat other-window case specially.
7862 (display-buffer-normalize-specifiers-2): Treat other-window case
7863 specially.
7864 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7865 (display-buffer-normalize-specifiers):
7866 Call display-buffer-normalize-specifiers-3.
25aef8b8 7867
dbad4f69
MR
78682011-06-17 Martin Rudalics <rudalics@gmx.at>
7869
7870 * window.el (same-window-p): Fix two typos introduced when
7871 adding with-no-warnings.
d1067961
MR
7872 (display-buffer-normalize-specifiers-1): Don't check
7873 pop-up-frames for 'unset initialization.
7874 (display-buffer-normalize-specifiers-2): Major rewrite using
7875 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7876 (pop-up-frames, display-buffer-reuse-frames)
7877 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7878 Suggested by David Engster <deng@randomsample.de>.
7879 (even-window-heights): Initialize to 'unset.
7880 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7881 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7882 other window case.
dbad4f69 7883
9b9c9e3a
MR
78842011-06-16 Martin Rudalics <rudalics@gmx.at>
7885
bcd70d97
SM
7886 * window.el (display-buffer-normalize-specifiers-1):
7887 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7888 second argument of display-buffer (Bug#8865).
981d5c09
MR
7889 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7890 (switch-to-buffer-other-window-same-frame)
7891 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7892 Adams (Bug#8875).
9c2755e9
MR
7893 (display-buffer): Don't check noninteractive when calling
7894 display-buffer-pop-up-frame.
7895 (display-buffer-pop-up-frame): Never pop up a frame in
7896 noninteractive mode (Bug#8857).
67222e1d
MR
7897 (enlarge-window, shrink-window): Don't report an error when the
7898 window can't be resized as requested (Bug#8862).
9b9c9e3a 7899
2b75be67
SM
79002011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7901
9ffdd3ba
SM
7902 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7903
cb581a67
SM
7904 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7905
2b75be67
SM
7906 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7907
8c0e3589
AM
79082011-06-15 Alan Mackenzie <acm@muc.de>
7909
cb581a67
SM
7910 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7911 for declarators, disable knr checking to speed up for normal files.
7912 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7913
b96e6cde
LMI
79142011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
4bba86e6
LMI
7916 * net/network-stream.el (open-network-stream): Add the keyword
7917 :always-query-capabilities for the case where you want to force a
7918 `plain' network connection, but the protocol still requires the
7919 capabilitiy command (i.e., SMTP and EHLO).
7920
2b75be67 7921 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7922 consistency with other `-live-p' functions.
7923
efdcdbf8
SM
79242011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * window.el (same-window-buffer-names, same-window-regexps)
7927 (special-display-frame-alist, special-display-popup-frame)
7928 (special-display-function, special-display-buffer-names)
7929 (special-display-regexps, pop-up-frame-alist)
7930 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7931 (pop-up-windows, split-window-preferred-function)
7932 (split-height-threshold, split-width-threshold, even-window-heights)
7933 (display-buffer-mark-dedicated): Don't encourage the use of
7934 display-buffer-alist from Elisp code.
7935
c5cde042
DN
79362011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7937
7938 * progmodes/python.el (python-mode): Derive from prog-mode.
7939 * progmodes/ps-mode.el (ps-mode):
7940 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7941 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7942 * progmodes/ld-script.el (ld-script-mode): Likewise.
7943
baa1c9ab
MR
79442011-06-15 Martin Rudalics <rudalics@gmx.at>
7945
7946 * window.el (display-buffer-alist): Trim default value to avoid
7947 popping up a new frame (Bug#8857) or reusing an arbitrary window
7948 on another frame.
7949 (display-buffer): Do not fall back on popping up a new frame in
7950 batch mode (Bug#8857).
7951
c5dd5a51
CY
79522011-06-14 Chong Yidong <cyd@stupidchicken.com>
7953
7954 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7955 (custom-theme-summary): New function.
7956 (customize-themes): Use it.
7957
d647b7c4
GM
79582011-06-13 Glenn Morris <rgm@gnu.org>
7959
7960 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7961
9481c002
MR
79622011-06-13 Martin Rudalics <rudalics@gmx.at>
7963
357f93d2
MR
7964 * help.el (help-window): Remove variable.
7965 (help-window-point-marker, temp-buffer-max-height)
7966 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7967 (help-print-return-message): Don't set help-window.
7968 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7969 (help-window-setup-finish): Remove.
7970 (help-window-display-message, help-window-setup)
7971 (with-help-window): Major rewrite based on new
7972 display-buffer-window variable.
7973
7974 * help-mode.el (help-mode-finish): Remove help-window related
7975 code.
7976
7977 * view.el (view-exits-all-viewing-windows): Remove reference to
7978 view-return-to-alist in doc-string.
7979 (view-return-to-alist): Make obsolete.
7980 (view-buffer): Call pop-to-buffer-same-window and remove
7981 undo-window code.
7982 (view-buffer-other-window): Call pop-to-buffer-other-window and
7983 simplify code. Ignore second argument.
7984 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7985 simplify code. Ignore second argument.
7986 (view-return-to-alist-update): Make obsolete.
7987 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7988 Rewrite using quit-restore window parameters.
2b75be67
SM
7989 (view-mode-exit): Rename second argument to EXIT-ONLY.
7990 Rewrite using quit-restore-window.
357f93d2
MR
7991 (View-exit, View-exit-and-edit, View-leave, View-quit)
7992 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7993 appropriate arguments.
7994 (view-end-message): Use quit-restore window parameter.
7995
9481c002
MR
7996 * window.el (display-buffer-function): Rewrite doc-string.
7997 (display-buffer-window, display-buffer-alist): New variables.
7998 (display-buffer-split-specifiers)
7999 (display-buffer-side-specifiers)
8000 (display-buffer-macro-specifiers): New constants.
8001 (display-buffer-even-window-sizes, display-buffer-set-height)
8002 (display-buffer-set-width, display-buffer-select-window)
8003 (display-buffer-in-window, display-buffer-reuse-window)
8004 (display-buffer-split-window-1, display-buffer-split-window)
8005 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8006 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8007 (display-buffer-in-side-window, normalize-buffer-to-display)
8008 (display-buffer-normalize-specifiers-1)
8009 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8010 (display-buffer-normalize-specifiers, display-buffer-frame):
8011 New functions.
9481c002
MR
8012 (display-buffer): Major rewrite.
8013 (display-buffer-other-window, display-buffer-other-frame)
8014 (pop-to-buffer, switch-to-buffer-other-window)
8015 (switch-to-buffer-other-frame): Rewrite.
8016 (display-buffer-same-window, display-buffer-same-frame)
8017 (display-buffer-same-frame-other-window)
8018 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8019 (pop-to-buffer-other-window)
8020 (pop-to-buffer-same-frame-other-window)
8021 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8022 (switch-to-buffer-other-window-same-frame): New functions.
8023 (same-window-p, special-display-p): Rewrite disabling warnings.
8024 Make obsolete.
8025 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8026 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8027 Make obsolete
8028 (same-window-buffer-names, same-window-regexps)
8029 (special-display-frame-alist, special-display-popup-frame)
8030 (special-display-function, special-display-buffer-names)
8031 (special-display-regexps, pop-up-frame-alist)
8032 (pop-up-frame-function, split-window-preferred-function)
8033 (split-height-threshold, split-width-threshold)
8034 (even-window-heights): Make obsolete.
8035
9db51aca
GM
80362011-06-12 Glenn Morris <rgm@gnu.org>
8037
8038 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8039 Misc simplifications.
9db51aca 8040
39cffb44
MR
80412011-06-12 Martin Rudalics <rudalics@gmx.at>
8042
8043 * window.el (window-safely-shrinkable-p): Restore function which
8044 was inadvertently removed in change from 2011-06-11. Declare as
8045 obsolete.
8046
2b75be67
SM
8047 * calendar/calendar.el (calendar-generate-window):
8048 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8049 window-safely-shrinkable-p.
8050
a8955be7
GM
80512011-06-12 Glenn Morris <rgm@gnu.org>
8052
8053 * progmodes/fortran.el (fortran-mode-syntax-table):
8054 * progmodes/f90.el (f90-mode-syntax-table):
8055 Set % to punctuation. (Bug#8820)
8056 (f90-find-tag-default): Remove, no longer needed.
8057
f0d4059d
DC
80582011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8059
8060 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8061
1100a63c
CY
80622011-06-11 Chong Yidong <cyd@stupidchicken.com>
8063
8064 * image.el (image-animated-p): Return animation delay in seconds.
8065 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8066 (image-animate-timeout): Remove DELAY argument. Don't assume
8067 every subimage has the same delay; get it from image-animated-p.
8068 (image-animate): Caller changed.
8069
def722bf
MA
80702011-06-11 Michael Albinus <michael.albinus@gmx.de>
8071
8072 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8073 to ignored backtrace functions.
8074
0a2bb1a9
GM
80752011-06-11 Glenn Morris <rgm@gnu.org>
8076
8077 * calendar/appt.el (appt-disp-window-function): Doc fix.
8078 (appt-check): Handle overlapping appointments. (Bug#8337)
8079
6198ccd0
MR
80802011-06-11 Martin Rudalics <rudalics@gmx.at>
8081
8082 * window.el (window-tree-1, window-tree): New functions, moving
8083 the latter to window.el.
8084 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8085 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8086 (bw-refresh-edges): Remove.
8087 (balance-windows-1, balance-windows-2): New functions.
8088 (balance-windows): Rewrite in terms of window tree functions,
8089 balance-windows-1 and balance-windows-2.
8090 (bw-adjust-window): Remove.
8091 (balance-windows-area-adjust): New function with functionality of
8092 bw-adjust-window but using resize-window.
2b75be67
SM
8093 (set-window-text-height): Rewrite doc-string.
8094 Use normalize-live-window and resize-window.
8095 (enlarge-window-horizontally, shrink-window-horizontally):
8096 Rename argument to DELTA.
6198ccd0
MR
8097 (window-buffer-height): New function.
8098 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8099 Rewrite using new window resize routines.
2b75be67
SM
8100 (kill-buffer-and-window, mouse-autoselect-window-select):
8101 Use ignore-errors instead of condition-case.
6198ccd0
MR
8102 (quit-window): Call delete-frame instead of delete-windows-on
8103 for the only buffer on frame.
8104
9397e56f
MR
81052011-06-10 Martin Rudalics <rudalics@gmx.at>
8106
8107 * loadup.el (top-level): Load window before files for the sake
8108 of replace-buffer-in-windows.
8109
8110 * files.el (read-buffer-to-switch)
8111 (switch-to-buffer-other-window)
2b75be67
SM
8112 (switch-to-buffer-other-frame, display-buffer-other-frame):
8113 Move to window.el.
9397e56f
MR
8114
8115 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8116 (previous-buffer): Move to window.el.
8117
8118 * bindings.el (unbury-buffer): Move to window.el.
8119
8120 * window.el (delete-other-windows-vertically): Move after
8121 definition of delete-other-windows.
8122 (other-window, delete-windows-on, replace-buffer-in-windows):
8123 Move here from window.c.
8124 (record-window-buffer, unrecord-window-buffer)
8125 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8126 (switch-to-next-buffer): New functions.
8127 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8128 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8129 (previous-buffer): Move here from simple.el.
8130 Call switch-to-prev-buffer.
9397e56f
MR
8131 (bury-buffer): Move here from buffer.c. Switch to previous
8132 buffer when window cannot be deleted.
8133 (unbury-buffer): Move here from bindings.el.
8134 (ctl-x-map): Move binding for other-window from window.c to
8135 here.
8136 (read-buffer-to-switch, switch-to-buffer-other-window)
8137 (switch-to-buffer-other-frame): Move here from files.el.
8138 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8139 (switch-to-buffer): Move here from buffer.c.
8140 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8141
562dd5e9
MR
81422011-06-10 Martin Rudalics <rudalics@gmx.at>
8143
8144 * window.el (window-min-height, window-min-width): Move here
8145 from window.c. Add defcustoms and rewrite doc-strings.
8146 (resize-mini-window, resize-window): New functions.
8147 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8148 Move here from window.c.
8149 (maximize-window, minimize-window): New functions.
8150 (delete-window, delete-other-windows, split-window): Move here
8151 from window.c.
8152 (window-split-min-size): New function.
8153 (split-window-keep-point): Mention split-window-above-each-other
8154 instead of split-window-vertically.
2b75be67 8155 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8156 Rename split-window-vertically to split-window-above-each-other
8157 and provide defalias for old definition.
8158 (split-window-side-by-side, split-window-horizontally):
8159 Rename split-window-horizontally to split-window-side-by-side
8160 and provide defalias for the old definition.
562dd5e9
MR
8161 (ctl-x-map): Move bindings for delete-window,
8162 delete-other-windows and enlarge-window here from window.c.
8163 Replace bindings for split-window-vertically and
8164 split-window-horizontally by bindings for
8165 split-window-above-each-other and split-window-side-by-side.
8166
8167 * cus-start.el (all): Remove entries for window-min-height and
8168 window-min-width. Add entries for window-splits and
8169 window-nest.
8170
f0da764a
GM
81712011-06-09 Glenn Morris <rgm@gnu.org>
8172
80675c21
GM
8173 * calendar/appt.el (appt-mode-line): New function.
8174 (appt-check, appt-disp-window): Use it.
8175
f0da764a
GM
8176 * files.el (hack-one-local-variable-eval-safep):
8177 Allow minor-modes with explicit +/-1 arguments.
8178
59f623b7
TZ
81792011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8180
8181 * term/xterm.el (xterm): Add defgroup.
8182 (xterm-extra-capabilities): Add defcustom to supply known xterm
8183 capabilities, skip querying them, or query them (default).
8184 (terminal-init-xterm): Use it.
8185 (terminal-init-xterm-modify-other-keys): New function to set up
8186 modifyOtherKeys support to simplify `terminal-init-xterm'.
8187
9aab8e0d
MR
81882011-06-09 Martin Rudalics <rudalics@gmx.at>
8189
8190 * window.el (resize-window-reset, resize-window-reset-1)
8191 (resize-subwindows-skip-p, resize-subwindows-normal)
8192 (resize-subwindows, resize-other-windows, resize-this-window)
8193 (resize-root-window, resize-root-window-vertically)
8194 (window-deletable-p, window-or-subwindow-p)
8195 (frame-root-window-p): New functions.
8196
e8b08aee
GM
81972011-06-09 Glenn Morris <rgm@gnu.org>
8198
8199 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8200 (ange-ftp-get-files): Use it.
8201
254c37a5
AK
82022011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8203
8204 * mail/sendmail.el (mail-recover-1, mail-recover):
8205 * files.el (recover-file, recover-session):
8206 Handle dired-listing-switches not being just a single short option.
8207
35d7dbd3
GM
82082011-06-09 Glenn Morris <rgm@gnu.org>
8209
8210 * calendar/appt.el (appt-display-message, appt-disp-window):
8211 Handle lists of appointments.
8212
387522b2
MR
82132011-06-08 Martin Rudalics <rudalics@gmx.at>
8214
2b75be67
SM
8215 * window.el (one-window-p): Move down in code.
8216 Rewrite doc-string.
8217 (window-current-scroll-bars): Rewrite doc-string.
8218 Normalize live window argument.
387522b2
MR
8219 (walk-windows, get-window-with-predicate, count-windows):
8220 Rewrite doc-string. Use window-list-1.
8221 (window-in-direction-2, window-in-direction, get-mru-window):
8222 New functions.
8223
d8e4b68b 82242011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8225
8226 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8227 Doc fix (Bug#8713).
8228
82292011-06-08 Chong Yidong <cyd@stupidchicken.com>
8230
8231 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8232
82332011-06-08 Juanma Barranquero <lekktu@gmail.com>
8234
8235 * loadhist.el (unload-feature-special-hooks):
8236 Add `comint-output-filter-functions'.
8237
0de12c52
IK
82382011-06-08 Ivan Kanis <gnu@kanis.fr>
8239
8240 * calendar/appt.el (appt-check): Move some initializations into the let.
8241
f3d1777e
MR
82422011-06-08 Martin Rudalics <rudalics@gmx.at>
8243
8244 * window.el (window-height): Defalias to window-total-height.
8245 (window-width): Defalias to window-body-width.
8246
18af70d0
CY
82472011-06-07 Chong Yidong <cyd@stupidchicken.com>
8248
8249 * image-mode.el (image-toggle-animation): New command.
8250 (image-mode-map): Bind it to RET.
8251 (image-mode): Update message.
8252 (image-toggle-display-image): Avoid a spurious cache flush.
8253 (image-transform-rotation): Doc fix.
8254 (image-transform-properties): Return quickly in the normal case.
8255 (image-animate-loop): Rename from image-animate-max-time.
8256
2b75be67 8257 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8258 (create-animated-image): Remove unnecessary function.
8259 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8260 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8261 (image-animate-timer): Use car-safe.
8262 (image-animate-timeout): Rename argument.
8263
190b47e6
MR
82642011-06-07 Martin Rudalics <rudalics@gmx.at>
8265
8266 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8267 window.c. Rename first argument to ALL-FRAMES.
8268 Rephrase doc-strings.
8269 (get-buffer-window-list): Rewrite using window-list-1.
8270 Rephrase doc-string.
a1511caf
MR
8271 (window-safe-min-height, window-safe-min-width): New constants.
8272 (window-size-ignore, window-min-size, window-min-size-1)
8273 (window-sizable, window-sizable-p, window-size-fixed-1)
8274 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8275 (window-max-delta-1, window-max-delta, window-resizable)
8276 (window-resizable-p, window-total-height, window-total-width)
8277 (window-body-width): New functions.
8278 (window-full-height-p, window-full-width-p): Rewrite using
8279 window-total-size.
8280 (window-body-height): Rewrite using window-body-size.
190b47e6 8281
85cc1f11
MR
82822011-06-06 Martin Rudalics <rudalics@gmx.at>
8283
8284 * window.el (window-right, window-left, window-child)
8285 (window-child-count, window-last-child, window-any-p)
8286 (normalize-live-buffer, normalize-live-frame)
8287 (normalize-any-window, normalize-live-window)
8288 (window-iso-combination-p, window-iso-combined-p)
8289 (window-iso-combinations)
8290 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8291 (windows-with-parameter, window-with-parameter)
8292 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8293 (window-atom-check, window-side-check, window-check):
8294 New functions.
85cc1f11
MR
8295 (ignore-window-parameters, window-sides, window-sides-vertical)
8296 (window-sides-slots): New variables.
8297 (window-size-fixed): Move down in code. Minor doc-string fix.
8298
e7156492
AS
82992011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8300
8301 * comint.el (comint-dynamic-complete-as-filename)
8302 (comint-dynamic-complete-filename): Correctly call
8303 completion-in-region.
8304
7e821d0d
DD
83052011-06-05 Deniz Dogan <deniz@dogan.se>
8306
8307 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8308 in last change.
8309
ac09b8a1
DD
83102011-06-05 Deniz Dogan <deniz@dogan.se>
8311
8312 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8313 (rcirc): Use it to prompt for encryption.
8314
34699b85
RW
83152011-06-05 Roland Winkler <winkler@gnu.org>
8316
8317 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8318 (bibtex-search-entries): New command bound to C-c C-a.
8319 (bibtex-display-entries): New function.
8320
004dedd3
RW
83212011-06-05 Roland Winkler <winkler@gnu.org>
8322
8323 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8324 (bibtex-insert-kill): After yanking insert newline if necessary.
8325 (bibtex-initialize): Call bibtex-string-files-init only once.
8326 (bibtex-mode): Do not call easy-menu-add.
8327 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8328 (bibtex-yank): Set arg properly if nil.
8329
022fe7ce
RW
83302011-06-05 Roland Winkler <winkler@gnu.org>
8331
2b75be67
SM
8332 * textmodes/bibtex.el (bibtex-search-entry-globally):
8333 New variable.
022fe7ce
RW
8334 (bibtex-search-entry): Use it.
8335
b7c3692a
RW
83362011-06-05 Roland Winkler <winkler@gnu.org>
8337
8338 * textmodes/bibtex.el (bibtex-entry-format): New option
8339 sort-fields.
8340 (bibtex-format-entry, bibtex-reformat): Honor this option.
8341 (bibtex-parse-entry): Return fields in proper order.
8342
8eda563d
JB
83432011-06-05 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * doc-view.el (doc-view-remove-if): Move computation of result out
8346 of `dolist' to silence misleading lexical-binding warning.
8347
7dbe3dbc
CY
83482011-06-04 Chong Yidong <cyd@stupidchicken.com>
8349
8350 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8351 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8352
0c33dd17
MA
83532011-06-04 Michael Albinus <michael.albinus@gmx.de>
8354
8355 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8356 "SunOS 5.10".
8357
f8f91c2b
MA
83582011-06-04 Michael Albinus <michael.albinus@gmx.de>
8359
8360 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8361 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8362 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8363 (tramp-parse-putty):
8364 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8365 (tramp-completion-function-alist-ssh)
8366 (tramp-completion-function-alist-telnet)
8367 (tramp-completion-function-alist-su)
8368 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8369 cookie.
8370
8371 * net/tramp-ftp.el:
8372 * net/tramp-sh.el:
8373 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8374 load "tramp.el" `tramp-set-completion-function'.
8375
e17d9003
SM
83762011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * shell.el: Require and use pcomplete.
8379 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8380 (shell-completion-vars): Set pcomplete-default-completion-function.
8381
6c4cab03
DD
83822011-06-04 Deniz Dogan <deniz@dogan.se>
8383
8384 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8385 `memq' (Bug#8799).
8386
ea9fafe0
SM
83872011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8390
b3e945d3
JB
83912011-06-02 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8394 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8395 * vc/log-view.el (log-view-beginning-of-defun):
8396 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8397 (smerge-refine-forward, smerge-refine-chopup-region):
8398 Silence warning for unused `dotimes' counter variables.
8399
7d520089
SM
84002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * net/tramp.el (tramp-with-progress-reporter): Rename from
8403 with-progress-reporter. Use `declare'.
8404 * net/tramp-smb.el:
8405 * net/tramp-sh.el:
8406 * net/tramp-gvfs.el: Update all uses.
8407
a1c2400f
JB
84082011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8409
8410 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8411 buffer isn't killed before making it current.
8412
2403c841
SM
84132011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 Silence various byte-compiler warnings.
8416 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8417 `access-type' and new obsolescence format.
8418 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8419 new format.
8420 (byte-compile-check-variable): New `access-type' argument.
8421 Only warn if the access-type is obsolete.
8422 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8423 (byte-compile-variable-set): Adjust callers.
8424 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8425 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8426 setting it as obsolete.
8427 * simple.el (minibuffer-completing-symbol):
8428 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8429 access as obsolete.
8430 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8431 obsolete yet.
8432 * international/quail.el (quail-mouse-choose-completion): Remove unused
8433 code referring to obsolete var.
8434 (quail-choose-completion-string): Remove.
8435 * server.el (server-clients-with, server-kill-buffer-query-function)
8436 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8437 * proced.el (proced-send-signal):
8438 * emacs-lisp/lisp.el (lisp-complete-symbol):
8439 Replace completion-annotate-function with completion-extra-properties.
8440
2462470b
SM
84412011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8442
fb5b2591
SM
8443 * simple.el (goto-line): Use read-number.
8444 (overriding-map-is-bound): Remove.
8445 (saved-overriding-map): Change default.
8446 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8447 Take the map as argument.
8448 (universal-argument, negative-argument, digit-argument): Use it.
8449 (restore-overriding-map): Adjust.
8450 (do-auto-fill): Use fill-forward-paragraph.
8451 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8452
fd6fa53f
SM
8453 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8454 (minibuffer-inactive-mode): New major mode.
8455 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8456 the *Messages* buffer" hack.
8457 (mouse-popup-menubar): Don't burp if the event is a normal key.
8458
2462470b
SM
8459 Miscellaneous tweaks.
8460 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8461 lexical scoping as in subr.el's dolist and dotimes.
8462 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8463 Silence compiler warning.
8464 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8465 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8466 * international/ccl.el (ccl-compile): Trivial simplification.
8467 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8468 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8469 `printflag' argument.
8470 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8471 Purecopy the whole obsolescence data.
8472
108bf785
LL
84732011-06-01 Leo Liu <sdl.web@gmail.com>
8474
8475 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8476 improve doc-string as suggested by Marco Pessotto
8477 <melmothx@gmail.com>.
8478 (rcirc-print): Fix last change.
8479
30a23501
SM
84802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * minibuffer.el (complete-with-action): Return nil for the metadata and
8483 boundaries of non-functional tables.
8484 (completion-table-dynamic): Return nil for the metadata.
8485 (completion-table-with-terminator): Add default case, using
8486 complete-with-action.
8487 (completion--metadata): New function.
8488 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8489 to try and avoid pathological performance problems.
8490 (completion--embedded-envvar-table): Return `category' metadata.
8491
bcd54f83
LMI
84922011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8493
8494 * subr.el (process-alive-p): New tiny convenience function.
8495
e227544d
SM
84962011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8499 content but also its previous major mode.
8500
e8296fdc
HE
85012011-05-31 Helmut Eller <eller.helmut@gmail.com>
8502
4d61f28d 8503 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8504 *Backtrace* buffer when we exit with C-M-c.
8505
620c53a6
SM
85062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * minibuffer.el: Add metadata method to completion tables.
8509 (completion-category-overrides): New defcustom.
8510 (completion-metadata, completion--field-metadata)
8511 (completion-metadata-get, completion--styles)
8512 (completion--cycle-threshold): New functions.
8513 (completion-try-completion, completion-all-completions):
8514 Add `metadata' argument to choose completion-styles.
8515 (completion--do-completion): Use metadata to choose cycling.
8516 (completion-all-sorted-completions): Use metadata for sorting.
8517 Remove :completion-cycle-penalty which is not needed any more.
8518 (completion--try-word-completion): Add `metadata' argument.
8519 (minibuffer-completion-help): Check metadata for annotation function
8520 and sorting.
8521 (completion-file-name-table): Return `category' metadata.
8522 (minibuffer-completing-file-name): Make obsolete.
8523 * simple.el (minibuffer-completing-symbol): Make obsolete.
8524 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8525 completion-try-completion.
8526
1257e755
SM
85272011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8530
3767e706
LL
85312011-05-30 Leo Liu <sdl.web@gmail.com>
8532
8533 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8534 (rcirc-print): Decode all incoming messages (bug#8744).
8535 (rcirc-decode-coding-system): Allow value nil for automatic coding
8536 system detection.
3767e706 8537
d1a5d56a
GM
85382011-06-01 Glenn Morris <rgm@gnu.org>
8539
8540 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8541
e8cbec34
CY
85422011-05-29 Chong Yidong <cyd@stupidchicken.com>
8543
8544 * image.el (image-animate-max-time): Allow nil and t values.
8545 Default to nil.
8546 (create-animated-image): Doc fix.
8547 (image-animate-start): Remove second arg; just use
8548 image-animate-max-time.
8549 (image-animate-timeout): Doc fix. Args changed.
8550
8551 * image-mode.el (image-toggle-display-image): Ensure that the
8552 image spec passed to the animate timer is the same object as in
58179cce 8553 the buffer's display property (Bug#6981).
e8cbec34
CY
8554 (image-transform-properties): Doc fix.
8555
8556 * image.el (image-animate-max-time): Default to nil.
8557
159daf87
MR
85582011-05-29 Martin Rudalics <rudalics@gmx.at>
8559
8560 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8561 entire buffer list (Bug#8184).
8562
d66c4c7c
CY
85632011-05-29 Chong Yidong <cyd@stupidchicken.com>
8564
8565 * image.el (imagemagick-types-inhibit)
8566 (imagemagick-register-types): Doc fix.
8567
80aec780
DD
85682011-05-29 Deniz Dogan <deniz@dogan.se>
8569
8570 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8571 default.
8572
1dd3c2d9
CY
85732011-05-29 Chong Yidong <cyd@stupidchicken.com>
8574
8575 * select.el: Don't perform clipboard-manager saving in hooks;
8576 leave the hooks empty.
8577
60e56523
LL
85782011-05-28 Leo Liu <sdl.web@gmail.com>
8579
8580 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8581 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8582 (occur-edit-mode): New major mode (Bug#8463).
8583 (occur-after-change-function): New function.
8584 (occur-engine): Give Occur tags a read-only property.
8585
2b1e1a22
KR
85862011-05-28 Kevin Ryde <user42@zip.com.au>
8587
8588 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8589
5d344e88
CY
85902011-05-28 Chong Yidong <cyd@stupidchicken.com>
8591
8e6ca83d
CY
8592 * bindings.el (help-echo): Make the initial non-indicator dash
8593 empty on graphical terminals (Bug#7295).
8594
5d344e88
CY
8595 * files.el (auto-mode-alist): Move config rule after the
8596 in-stripping one (Bug#8547).
8597
bfbbace7
CY
8598 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8599
fbeba6e2
CY
8600 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8601 setting (Bug#8740).
8602
60ed8c72
AA
86032011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8604
4ac619f0
AA
8605 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8606 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8607 (Bug#8539).
60ed8c72 8608
23db196e
CY
86092011-05-28 Chong Yidong <cyd@stupidchicken.com>
8610
8611 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8612
5012f24c
DK
86132011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8614
8615 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8616 (hs-hide-block-at-point, hs-find-block-beginning)
8617 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8618 (Bug#8279).
8619
6a639b16
GM
86202011-05-28 Glenn Morris <rgm@gnu.org>
8621
8622 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8623
d43eaf2c
CY
86242011-05-28 Chong Yidong <cyd@stupidchicken.com>
8625
5199bde1
CY
8626 * help-fns.el (describe-function-1): If the function is a derived
8627 major mode, print the parent mode.
8628
d43eaf2c
CY
8629 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8630 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8631
423428a8
SM
86322011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8633
0ff8e1ba 8634 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8635 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8636 * progmodes/etags.el (tags-completion-at-point-function):
8637 * info-look.el (info-lookup-completions-at-point): Mark as
8638 non-exclusive.
8639 (info-complete): Adjust accordingly.
8640
423428a8
SM
8641 * info-look.el: Convert to lexical-binding and completion-at-point.
8642 (info-lookup-completions-at-point): New function.
8643 (info-complete): Use it and completion-in-region.
8644
b74aa22b
DA
86452011-05-28 Drew Adams <drew.adams@oracle.com>
8646
8647 * isearch.el: Let M-e start with point at the first mismatched char.
8648 (isearch-fail-pos): New function.
8649 (isearch-edit-string): Use it.
8650
66e2e71d
DK
86512011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8652
8653 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8654
b1890b0f 86552011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8656
8657 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8658 traversal functions for avl-trees.
8659 (avl-tree--stack): New struct.
8660 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8661 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8662 (avl-tree--do-enter): Add optional `updatefun' arg.
8663 Change return value.
eb95d01d 8664 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8665 (avl-tree--do-delete): Add `test' and `nilflag' args.
8666 Change return value.
eb95d01d
TC
8667 (avl-tree-member): Add optional `nilflag'
8668 (avl-tree-member-p): New function.
8669 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8670 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8671 (avl-tree-stack-empty-p): New functions.
8672
3769ddcf
TC
8673 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8674 avl-tree--del-balance1 and make it work both ways.
8675 (avl-tree--del-balance2): Remove.
8676 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8677 make it work both ways.
8678 (avl-tree--enter-balance2): Remove.
8679 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8680 New macros.
8681 (avl-tree--mapc, avl-tree-map): Add direction argument.
8682
eb95d01d 86832011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8684
8685 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8686
a9f737ee
CY
86872011-05-27 Chong Yidong <cyd@stupidchicken.com>
8688
8689 * select.el: Support clipboard managers with built-in function
8690 x-clipboard-manager-save, via delete-frame-functions and
8691 kill-emacs-hook.
8692 (xselect-convert-to-targets): Add MULTIPLE target to list.
8693 (xselect-convert-to-save-targets): New function.
8694
c92a1e54
KH
86952011-05-27 Kenichi Handa <handa@m17n.org>
8696
8697 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8698 let-binding rfc2047-encode-encoded-words to nil.
8699
e145f188
GM
87002011-05-27 Glenn Morris <rgm@gnu.org>
8701
5ec8a862
GM
8702 * mail/emacsbug.el: Don't require url-util.
8703
4b29d9fb
GM
8704 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8705
e145f188
GM
8706 * files.el (set-auto-mode):
8707 Also respect mode: entries at the end of the file. (Bug#8586)
8708
7d15102b
GM
87092011-05-26 Glenn Morris <rgm@gnu.org>
8710
98f593b8
GM
8711 * files.el (hack-local-variables-prop-line, hack-local-variables):
8712 Downcase mode names, as seems to be traditional.
27b48e63 8713 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8714
7d15102b
GM
8715 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8716 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8717
51d5b4ec
JD
87182011-05-25 Julien Danjou <julien@danjou.info>
8719
8720 * textmodes/rst.el (rst-define-level-faces): Do not define face
8721 symbol if it is already defined.
8722
91513f63
VB
87232011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8724
8725 * play/5x5.el (5x5-new-game, 5x5-randomize):
8726 Reset 5x5-solver-output to nil when a new grid is cast.
8727 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8728 these debugging traces, as defmacro breaks the compiled code.
8729
4d90d6d0
DK
87302011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8731
8732 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8733
e1b90ef6
LL
87342011-05-24 Leo Liu <sdl.web@gmail.com>
8735
8736 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8737 (vc-bzr-sha1): Adapt.
8738
d8e4b68b 8739 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8740
8741 * bindings.el: Provide sha1 feature.
8742
db0406bb 87432011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8744
8745 * mail/sendmail.el: Require `rfc2047'.
8746 (mail-insert-from-field): Do not perform RFC2047 encoding.
8747 (mail-encode-header): New function.
8748 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8749 buffer to the return value of select-message-coding-system.
8750 Call mail-encode-header.
b8d747b9
KH
8751
8752 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8753
db0406bb 87542011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8755
4d90d6d0
DK
8756 * mail/supercite.el (sc-default-cite-frame):
8757 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8758
eb8a5e9b
GM
87592011-05-24 Glenn Morris <rgm@gnu.org>
8760
f8630703
GM
8761 * progmodes/python.el (brm-menu): Declare.
8762
8831bbed
GM
8763 * emulation/viper.el (viper-set-hooks): Declare.
8764
eb8a5e9b
GM
8765 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8766 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8767 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8768 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8769 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8770 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8771
a2a25d24
SM
87722011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 Add an :exit-function for completion-at-point.
8775
8776 * minibuffer.el (completion--done): New fun.
8777 (completion--do-completion): Use it. New arg `expect-exact'.
8778 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8779 since completion--do-completion does it for us now.
8780 (minibuffer-force-complete): Use completion--done and
8781 completion--replace. Handle sole-completion case with more care.
8782 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8783 (completion-extra-properties): New var.
8784 (completion-annotate-function): Make obsolete.
8785 (minibuffer-completion-help): Adjust accordingly.
8786 Use completion-list-insert-choice-function.
8787 (completion-at-point, completion-help-at-point):
8788 Bind completion-extra-properties.
8789 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8790 * simple.el (completion-list-insert-choice-function): New var.
8791 (completion-setup-function): Preserve it.
8792 (choose-completion): Pay attention to it, shuffle the code a bit.
8793 (choose-completion-string): New arg `insert-function'.
8794
8795 * textmodes/bibtex.el: Convert to lexical binding.
8796 (bibtex-mode-map): Use completion-at-point.
8797 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8798 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8799 (bibtex-complete): Define as obsolete alias.
8800 (bibtex-complete-internal): Remove.
8801 (bibtex-format-entry): Remove unused sub-group in regexp.
8802 * shell.el (shell--command-completion-data)
8803 (shell-environment-variable-completion):
8804 * pcomplete.el (pcomplete-completions-at-point):
8805 * comint.el (comint--complete-file-name-data): Use :exit-function
8806 instead of completion-table-with-terminator so it also works for
8807 choose-completion.
8808
e44e373d
SM
88092011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8810
4f91a816
SM
8811 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8812
782fc819
SM
8813 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8814 (bug#8710).
8815
e44e373d
SM
8816 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8817
381987c3
KM
88182011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8819
8820 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8821 customization variable and implement: If non-nil, auto-fill will
8822 be inhibited while on topic's header line.
8823
b776bc70
VB
88242011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8825
8826 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8827 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8828 always have a solution in grid size = 5 cases.
8829 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8830 (5x5-solver-output, 5x5-log-buffer): New vars.
8831 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8832 Make these variables buffer local to achieve 5x5 multi-session-ness.
8833 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8834 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8835 (5x5-solve-suggest): New funs.
8836 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8837 randomize a grid so that we ensure that there is always a solution.
8838 (5x5-make-random-grid): Allow other movement than flipping.
8839
7de88b6e
KR
88402011-05-23 Kevin Ryde <user42@zip.com.au>
8841
8842 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8843 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8844 advice and passes PREDICATE.
8845
b1ef1257
SM
88462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8847
bbca48fe
SM
8848 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8849 byte-compile-lambda if it's actually a lambda.
8850
b1ef1257
SM
8851 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8852 Fix function quoting. Use backquote better.
8853
92a9cc65
YS
88542011-05-22 Yuanle Song <sylecn@gmail.com>
8855
8856 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8857 matching (Bug#8516).
8858
f0fb8059
JA
88592011-01-22 Jari Aalto <jari.aalto@cante.net>
8860
8861 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8862 different face (Bug#8178).
8863
d5b44c93
CY
88642011-05-22 Chong Yidong <cyd@stupidchicken.com>
8865
8866 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8867 defface (Bug#8144).
8868
79106a44
SM
88692011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8870
9c848d8a
SM
8871 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8872 funcall as well (bug#8712). Warn when performing those conversions.
8873 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8874
79106a44
SM
8875 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8876
88dfa756
GM
88772011-05-22 Glenn Morris <rgm@gnu.org>
8878
8879 * files.el (hack-local-variables-prop-line): Small simplifications.
8880 (hack-local-variables, hack-local-variables-prop-line):
8881 If MODE-ONLY, return the mode, rather than just `t'.
8882
b7cf2c79
SM
88832011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8886
3f1a8558
GM
88872011-05-21 Glenn Morris <rgm@gnu.org>
8888
7e4ccca3
GM
8889 * files.el (hack-local-variables-prop-line, hack-local-variables):
8890 If only interested in the mode, don't bother doing the other stuff.
8891
637d46ca
GM
8892 * image-mode.el (image-after-revert-hook):
8893 Redraw all frames on which the image is visible. (Bug#8567)
8894
973d955b
GM
8895 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8896
3f1a8558
GM
8897 * wid-edit.el (widget-checklist-match-inline):
8898 Fix 2011-04-19 change. (Bug#8649)
8899
96479927
SM
89002011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8901
1dcf791f
SM
8902 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8903 Also allow singlespace after single-letter capitals followed by a dot.
8904
96479927
SM
8905 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8906 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8907
35fd0881
N
89082011-05-20 Nix <nix@esperi.org.uk>
8909
8910 * files.el (basic-save-buffer-2):
8911 Fix handling of break-hardlink-on-save with non-existent files.
8912
82745640
DD
89132011-05-19 Deniz Dogan <deniz@dogan.se>
8914
8915 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8916 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8917
4a720484
GM
89182011-05-19 Glenn Morris <rgm@gnu.org>
8919
d1f21341
GM
8920 * progmodes/f90.el (f90-type-def-re):
8921 Handle "type, bind(c)". (Bug#8691)
8922
4a720484
GM
8923 * emacs-lisp/autoload.el (batch-update-autoloads):
8924 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8925
2fb0a219
MA
89262011-05-18 Michael Albinus <michael.albinus@gmx.de>
8927
8928 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8929 property for the correct connection in case of multihops.
8930
e565dd37
GM
89312011-05-18 Glenn Morris <rgm@gnu.org>
8932
c2571358 8933 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8934 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8935
e565dd37
GM
8936 Rationalize calendar handling of day and month abbrev-arrays.
8937 * calendar/calendar.el (calendar-customized-p): New function.
8938 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8939 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8940 Add :set function.
8941 (calendar-abbrev-length, calendar-day-abbrev-array)
8942 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8943 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8944 Elements may no longer be nil.
8945 (calendar-day-name, calendar-month-name):
8946 Update for changed nature of abbrev arrays.
8947 * calendar/diary-lib.el (diary-name-pattern):
8948 Update for changed nature of abbrev arrays.
8949 (diary-mark-entries-1): Update calendar-make-alist calls.
8950 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8951 * calendar/cal-html.el (cal-html-day-abbrev-array):
8952 Simply inherit from calendar-day-abbrev-array.
8953
1d99a745
SM
89542011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * progmodes/grep.el (grep-mode): Disable default
8957 compilation-directory-matcher setting (bug#8684).
8958
7c1d9aa0
MA
89592011-05-17 Michael Albinus <michael.albinus@gmx.de>
8960
8961 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8962 instead of "head" and "tail". There were problems with SunOS 5.9,
8963 and it performs better.
8964
3952e9d8
GM
89652011-05-17 Glenn Morris <rgm@gnu.org>
8966
2dd12e7f
GM
8967 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8968
e4157b9c
GM
8969 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8970 Replace obsolete function.
8971
8e249bbd
GM
8972 * shell.el (pcomplete-parse-arguments-function): Declare.
8973
3952e9d8
GM
8974 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8975 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8976 (appt-check): Doc fixes.
8977 (appt-disp-window-function, appt-delete-window-function):
8978 Remove needless special case in custom :type.
8979 (appt-display-count): Default to 0, not nil.
8980 (appt-check): Reset appt-display-count to 0, not nil.
8981
c71a0d48 89822011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8983
c71a0d48
GM
8984 * progmodes/python.el (python-font-lock-keywords):
8985 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8986
31d55be9
SM
89872011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8990
3bfacb2f
KR
89912011-05-16 Kevin Ryde <user42@zip.com.au>
8992
8993 * info-look.el (makefile-automake-mode): New setups, looking in
8994 automake manual, then makefile-mode.
8995 (makefile-mode): Remove automake manual, have it just in
8996 makefile-automake-mode since there's various things different or
8997 not relevant to plain make.
8998 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8999 believe a hypothetical automake-mode would go to makefile-mode,
9000 not the other way around.
9001
c8e83751
CY
90022011-05-15 Chong Yidong <cyd@stupidchicken.com>
9003
5e9e35cd
CY
9004 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9005 hunk-end tags (Bug#8672).
9006
c8e83751
CY
9007 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9008 vc-annotate-show-diff-revision-at-line (Bug#8671).
9009
50b23e5a
GM
90102011-05-14 Glenn Morris <rgm@gnu.org>
9011
7210a739
GM
9012 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9013 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9014 (change-log-font-lock-keywords): Also handle multiple author lines
9015 with leading tabs. (Bug#8644)
7210a739 9016
4691905a
GM
9017 * calendar/appt.el (appt-check): Rename some local variables.
9018 Some simplification/reordering.
9019
50b23e5a
GM
9020 * mail/feedmail.el (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)
9024 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9025 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9026 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9027 (feedmail-binmail-gnulinuxish-template):
9028 Rename from feedmail-binmail-linuxish-template.
9029 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9030 Use insert-buffer-substring.
9031
215cda7c
BC
90322011-05-14 Bill Carpenter <bill@carpenter.org>
9033
9034 * mail/feedmail.el (feedmail-patch-level): Increase.
9035 (feedmail-debug): New custom group.
9036 (feedmail-confirm-outgoing-timeout)
9037 (feedmail-sendmail-f-doesnt-sell-me-out)
9038 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9039 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9040 (feedmail-sender-line, feedmail-from-line)
9041 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9042 (feedmail-spray-this-address)
215cda7c
BC
9043 (feedmail-spray-address-fiddle-plex-list)
9044 (feedmail-queue-use-send-time-for-date)
9045 (feedmail-queue-use-send-time-for-message-id)
9046 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9047 (feedmail-buffer-eating-function):
9048 Doc fixes.
9049 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9050 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9051 (feedmail-message-action-scroll-down): New functions.
9052 (feedmail-queue-directory, feedmail-queue-draft-directory):
9053 Use expand-file-name.
9054 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9055 Remove C-v help entry.
9056 (feedmail-queue-buffer-file-name): New variable.
9057 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9058 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9059 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9060 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9061 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9062 (feedmail-message-action-toggle-spray)
9063 (feedmail-run-the-queue-no-prompts)
9064 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9065 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9066 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9067 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9068 (feedmail-envelope-deducer, feedmail-fiddle-from)
9069 (feedmail-fiddle-sender, feedmail-default-date-generator)
9070 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9071 (feedmail-fiddle-spray-address)
9072 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9073 (feedmail-fiddle-list-of-fiddle-plexes)
9074 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9075 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9076 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9077 Change default. Doc fix.
9078 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9079 (feedmail-binmail-linuxish-template): New constant.
9080 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9081 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9082 (feedmail-send-it): Add debug call.
9083 Use feedmail-queue-buffer-file-name, and
9084 feedmail-send-it-immediately-wrapper.
9085 (feedmail-message-action-send): Add debug call.
9086 Use feedmail-send-it-immediately-wrapper.
9087 (feedmail-queue-express-to-queue): Add debug call.
9088 Run feedmail-queue-express-hook.
9089 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9090 (feedmail-message-action-help-blat):
9091 Rename from feedmail-queue-send-edit-prompt-help-first.
9092 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9093 Check line-endings. Handle errors better.
9094 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9095 Doc fix. Add debug call.
9096 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9097 Use feedmail-queue-send-edit-prompt-inner.
9098 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9099 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9100 from feedmail-queue-send-edit-prompt.
9101 (feedmail-queue-send-edit-prompt-help)
9102 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9103 (feedmail-tidy-up-slug): Add debug call.
9104 Respect feedmail-queue-slug-suspect-regexp.
9105 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9106 (feedmail-dump-message-to-queue): Add debug call.
9107 Expand queue-directory.
9108 (feedmail-dump-message-to-queue): Change message slightly.
9109 Use feedmail-say-chatter.
9110 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9111 (feedmail-send-it-immediately-wrapper): New function.
9112 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9113 Insert empty string rather than newline. Handle full-frame case.
9114 Use catch/throw. Use feedmail-say-chatter.
9115 (feedmail-fiddle-from): Try mail-host-address.
9116 (feedmail-default-message-id-generator): Doc fix.
9117 Bind system-time-locale. Handle missing end.
9118 (feedmail-fiddle-x-mailer): Add debug call.
9119 Handle feedmail-x-mailer-line being nil.
9120 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9121 Add debug call. Use buffer-substring-no-properties.
9122 (feedmail-say-debug, feedmail-say-chatter): New functions.
9123 (feedmail-find-eoh): Give an explicit error.
9124
42c7e61e
UJ
91252011-05-13 Ulf Jasper <ulf.jasper@web.de>
9126
c2571358 9127 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9128 family from helvetica to sans.
c2571358 9129 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9130 etc/images/newsticker.
9131
c2571358 9132 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9133 family from helvetica to sans.
9134
9135 * net/newst-plainview.el (newsticker-new-item-face)
9136 (newsticker-old-item-face, newsticker-immortal-item-face)
9137 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9138 (newsticker-statistics-face): Change default family from
42c7e61e 9139 helvetica to sans.
c2571358 9140 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9141 etc/images/newsticker.
9142
9143 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9144 (newsticker--process-auto-mark-filter-match): : Tell user about
9145 auto-marking.
9146
8497a297
DV
91472011-05-13 Didier Verna <didier@xemacs.org>
9148
9149 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9150 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9151 TODO entries.
8497a297
DV
9152 (lisp-lambda-list-keyword-parameter-indentation)
9153 (lisp-lambda-list-keyword-parameter-alignment)
9154 (lisp-lambda-list-keyword-alignment): New customizable user options.
9155 (lisp-indent-defun-method): Improve docstring.
9156 (extended-loop-p): Fix comment.
9157 (lisp-indent-lambda-list-keywords-regexp): New variable.
9158 (lisp-indent-lambda-list): New function.
9159 (lisp-indent-259): Use it.
9160 (lisp-indent-defmethod): Support for more than one
9161 method qualifier and properly indent methods lambda-lists.
9162 (defgeneric): Provide a missing common-lisp-indent-function property.
9163
f278f87f
SM
91642011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9167 bounds for the empty string (bug#8667).
9168
5233edd7
GM
91692011-05-13 Glenn Morris <rgm@gnu.org>
9170
5237a44f
GM
9171 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9172
8340026c 9173 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9174 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9175
5233edd7 9176 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9177 (appt-time-msg-list): Doc fix.
a5464014 9178 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9179
92d10796
AS
91802011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9181
9182 * progmodes/ld-script.el (ld-script-keywords)
9183 (ld-script-builtins): Update keywords list.
9184
914a0ae1
SM
91852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9186
c89be45f
SM
9187 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9188
914a0ae1
SM
9189 * shell.el (shell-completion-vars): New function.
9190 (shell-mode):
9191 * simple.el (read-shell-command): Use it.
9192 (blink-matching-open): No need for " [...]" in minibuffer-message.
9193
98dc3df3
GM
91942011-05-12 Glenn Morris <rgm@gnu.org>
9195
9196 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9197 (appt-check): Simplify.
9198
d2fc7e3d 91992011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9200
4d61f28d 9201 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9202 literal "/dev/null".
9203
d2fc7e3d 92042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9205
9206 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9207 Fix typo.
9208
d2fc7e3d 92092011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9210
3f254caa
SM
9211 * progmodes/which-func.el (which-function):
9212 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9213 which might not be defined (Bug#8260).
9214
d45885f7
GM
92152011-05-12 Glenn Morris <rgm@gnu.org>
9216
9217 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9218 Let byte-compile-initial-macro-environment always take precedence.
9219
488086f4
SM
92202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9221
9222 * net/rcirc.el: Add support for SSL/TLS connections.
9223 (rcirc-server-alist): New field `encryption'.
9224 (rcirc): Check `encryption' settings.
9225 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9226 Merge make-local-variable into `set'.
9227 (rcirc--connection-open-p): New function.
9228 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9229 the process is not a network process (e.g. running gnutls-cli).
9230 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9231 Make rcirc-(en|de)code-coding-system local here.
9232 (rcirc-mode): Merge make-local-variable into `set'.
9233 (rcirc-parent-buffer): Make permanent buffer-local.
9234 (rcirc-multiline-minor-mode): Don't do it here.
9235 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9236 there's no server buffer.
9237
7d3b9d44
GM
92382011-05-11 Glenn Morris <rgm@gnu.org>
9239
f64049c6
GM
9240 * newcomment.el (comment-kill): Prefix "unused" local.
9241
93c9df73
GM
9242 * term/w32console.el (get-screen-color): Declare.
9243
7d3b9d44
GM
9244 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9245 Handle symbol elements of byte-compile-initial-macro-environment.
9246
9e2dd53f
LL
92472011-05-10 Leo Liu <sdl.web@gmail.com>
9248
488086f4
SM
9249 * bookmark.el (bookmark-bmenu-mode-map):
9250 Bind bookmark-bmenu-search to `/'.
8b340240 9251
9e2dd53f 9252 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9253 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9254 (Footnote-unicode): New function.
9255 (footnote-style-alist): Add unicode style to the list.
9256 (footnote-style): Doc fix.
9e2dd53f 9257
79b70037
GM
92582011-05-10 Jim Meyering <meyering@redhat.com>
9259
9260 Fix doubled-word typos.
9261 * international/quail.el (quail-insert-kbd-layout): and and -> and
9262 * kermit.el: and and -> and
9263 * net/ldap.el (ldap-search-internal): to to -> to
9264 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9265 * progmodes/js.el (js-mode): and and -> and
9266 * textmodes/artist.el (artist-move-to-xy): at at -> at
9267 (artist-draw-region-trim-line-endings): if if -> if
9268 And Safetyc -> Safety.
9269 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9270
b8f82dc1 92712011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9272 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9273
9274 * files.el (hack-one-local-variable-eval-safep):
9275 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9276
4f99f44b
GM
92772011-05-10 Glenn Morris <rgm@gnu.org>
9278
9279 * calendar/diary-lib.el (diary-list-entries-hook)
9280 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9281 (diary-nongregorian-marking-hook, diary-list-entries)
9282 (diary-include-other-diary-files, diary-mark-entries)
9283 (diary-mark-included-diary-files): Doc fixes.
9284
84f29e6b
JB
92852011-05-09 Juanma Barranquero <lekktu@gmail.com>
9286
9287 * misc.el: Require tabulated-list.el during compilation.
9288
9bedd73a
CY
92892011-05-09 Chong Yidong <cyd@stupidchicken.com>
9290
488086f4
SM
9291 * progmodes/compile.el (compilation-start):
9292 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9293 (compilation-filter-hook): Doc fix.
9294
797c735c
DD
92952011-05-09 Deniz Dogan <deniz@dogan.se>
9296
9297 * wdired.el: Remove outdated installation comment. Fix usage
9298 comment.
9299
5f4b1dfe
JB
93002011-05-09 Juanma Barranquero <lekktu@gmail.com>
9301
9302 * misc.el: Implement new command `list-dynamic-libraries'.
9303 (list-dynamic-libraries--loaded-only-p): New variable.
9304 (list-dynamic-libraries--refresh): New function.
9305 (list-dynamic-libraries): New command.
9306
4c44026c
CY
93072011-05-09 Chong Yidong <cyd@stupidchicken.com>
9308
488086f4
SM
9309 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9310 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9311 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9312 higher priority to avoid clobbering by gnu.
9313
027f966d
CY
93142011-05-08 Chong Yidong <cyd@stupidchicken.com>
9315
9316 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9317 if the face has existing theme settings (Bug#8454).
9318
085f5d7d
CY
93192011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9320
488086f4
SM
9321 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9322 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9323
2a86a00c
RS
9324 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9325 special file names `.' and `..' (Bug#8259).
9326
d9c54a06
CY
93272011-05-08 Chong Yidong <cyd@stupidchicken.com>
9328
488086f4
SM
9329 * progmodes/grep.el (grep-mode-font-lock-keywords):
9330 Remove buffer-changing entries.
d9c54a06
CY
9331 (grep-filter): New function.
9332 (grep-mode): Add it to compilation-filter-hook.
9333
9334 * progmodes/compile.el (compilation-filter-hook)
9335 (compilation-filter-start): New defvars.
9336 (compilation-filter): Call compilation-filter-hook prior to
9337 updating the process mark.
9338
c4662635
SM
93392011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9342
b0512a1d
EZ
93432011-05-07 Eli Zaretskii <eliz@gnu.org>
9344
605c9376
EZ
9345 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9346 mailclient-send-it even if window-system is nil. (Bug#8595)
9347
c4662635
SM
9348 * term/w32console.el (terminal-init-w32console):
9349 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9350 background-mode. (Bug#8597)
9351
d1dc2cc2
SM
93522011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9355 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9356 New functions.
9357 (defgeneric, eieio--defmethod): Use them.
9358 (eieio-defgeneric): Remove.
9359 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9360
915d1300
GM
93612011-05-07 Glenn Morris <rgm@gnu.org>
9362
a3961c3e
GM
9363 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9364 Use let rather than let*.
9365 (timeclock-find-discrep): Remove unused local.
9366
314347b9
GM
9367 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9368
915d1300
GM
9369 * calendar/appt.el (appt-time-msg-list): Doc fix.
9370
275b59b0
NF
93712011-05-06 Noah Friedman <friedman@splode.com>
9372
9373 * apropos.el (apropos-print-doc): Only use
9374 emacs-lisp-docstring-fill-column when it is bound to an integer,
9375 per that variable's documentation.
9376
6c19f744
SM
93772011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9380 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9381
60f884b2
GM
93822011-05-06 Glenn Morris <rgm@gnu.org>
9383
5006e634
GM
9384 * calendar/appt.el (appt-message-warning-time): Doc fix.
9385 (appt-warning-time-regexp): New option.
9386 (appt-make-list): Respect appt-message-warning-time.
9387
548d0a63
GM
9388 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9389 New options.
9390 (diary-add-to-list): Strip comments from the displayed string.
9391 (diary-mode): Set comment-start and comment-end.
9392
60f884b2
GM
9393 * vc/diff-mode.el (smerge-refine-subst): Declare.
9394 (diff-refine-hunk): Don't require smerge-mode when compiling.
9395
989681bb
JB
93962011-05-06 Juanma Barranquero <lekktu@gmail.com>
9397
9398 * simple.el (list-processes): Return nil as the docstring says.
9399
a6bc05e1
MA
94002011-05-05 Michael Albinus <michael.albinus@gmx.de>
9401
9402 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9403 to "".
9404 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9405 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9406 determining of binary transfer. (Bug#7383)
9407
23c22e9a
MA
94082011-05-05 Michael Albinus <michael.albinus@gmx.de>
9409
c4662635
SM
9410 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9411 Fix port computation bug. (Bug#8618)
23c22e9a 9412
0bff894f
GM
94132011-05-05 Glenn Morris <rgm@gnu.org>
9414
b8296902
GM
9415 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9416
1f522ce8
GM
9417 * simple.el (shell-dynamic-complete-functions)
9418 (comint-dynamic-complete-functions): Declare.
9419
cf5bee67
GM
9420 * net/network-stream.el (gnutls-negotiate):
9421 * simple.el (tabulated-list-print): Fix declarations.
9422
9423 * progmodes/gud.el (syntax-symbol, syntax-point):
9424 Remove unnecessary and incorrect declarations.
9425
0bff894f
GM
9426 * emacs-lisp/check-declare.el (check-declare-scan):
9427 Handle byte-compile-initial-macro-environment in bytecomp.el
9428
9869b3ae
SM
94292011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 Fix earlier half-done eieio-defmethod change (bug#8338).
9432 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9433 Streamline and change calling convention.
9434 (defmethod): Adjust accordingly and simplify.
9435 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9436 new eieio--defmethod.
9437 (slot-boundp): Minor CSE simplification.
9438
9c1d5ac5
MZ
94392011-05-05 Milan Zamazal <pdm@zamazal.org>
9440
9441 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9442 (glasses-make-readable): Use glasses-separate-capital-groups.
9443
455c834e
JB
94442011-05-05 Juanma Barranquero <lekktu@gmail.com>
9445
9446 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9447 (warning-series): Doc fix.
9448 (display-warning): Don't try to create the buffer if we just found it.
9449
9ed7c8cb
CY
94502011-05-04 Chong Yidong <cyd@stupidchicken.com>
9451
9452 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9453 (autoload-find-generated-file): New function.
9454 (generate-file-autoloads): Bind generated-autoload-file to
9455 buffer-file-name.
9869b3ae
SM
9456 (update-file-autoloads, update-directory-autoloads):
9457 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9458 output file (Bug#7989).
9459 (batch-update-autoloads): Doc fix.
9460
0898ca10
JB
94612011-05-04 Juanma Barranquero <lekktu@gmail.com>
9462
9463 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9464
31dfb76c
GM
94652011-05-04 Glenn Morris <rgm@gnu.org>
9466
f330b642
GM
9467 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9468 function, so it follows changes in calendar-date-style.
9469 (diary-fancy-date-matcher): New function.
9470 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9471 (diary-fancy-font-lock-fontify-region-function):
9472 Use diary-fancy-date-pattern as a function.
9473
31dfb76c
GM
9474 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9475 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9476
48e79d6a
TZ
94772011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9478
9479 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9480 instead of positional arguments. Allow :keylist and :crlfiles
9481 arguments.
9482 (open-gnutls-stream): Call it.
9483
9484 * net/network-stream.el (network-stream-open-starttls): Adjust to
9485 call `gnutls-negotiate' with :process and :hostname arguments.
9486
dd5a5ee0
SM
94872011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9488
ef80fc09
SM
9489 * minibuffer.el (completion--message): New function.
9490 (completion--do-completion, minibuffer-complete)
9491 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9492 (completion--do-completion): Don't ignore completion-auto-help when in
9493 icomplete-mode.
9494
dd5a5ee0
SM
9495 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9496 internal encoding (e.g. tibetan zero is not whitespace).
9497 (global-whitespace-mode): Prefer save-current-buffer.
9498 (whitespace-trailing-regexp): Remove useless save-match-data.
9499 (whitespace-empty-at-bob-regexp): Minor simplification.
9500
b7d22a83
CY
95012011-05-03 Chong Yidong <cyd@stupidchicken.com>
9502
9503 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9504
5192af46
AM
95052011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9506
9507 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9508 Use `concat' to create string for insertion.
5192af46 9509
5767d190
SM
95102011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9513 Avoid open-line which runs post-self-insert-hook.
9514 (bibtex-fill-entry): Remove unused `end' var.
9515
bf242939
AM
95162011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9517
5767d190
SM
9518 * textmodes/ispell.el (ispell-add-per-file-word-list):
9519 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9520
25666126
LL
95212011-05-03 Leo Liu <sdl.web@gmail.com>
9522
9523 * isearch.el (isearch-yank-pop): New command.
5767d190 9524 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9525 (isearch-forward): Mention it.
9526
52d3c2d0
SM
95272011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9528
1bcace58
SM
9529 * simple.el (minibuffer-complete-shell-command): Remove.
9530 (minibuffer-local-shell-command-map): Use completion-at-point.
9531 (read-shell-command): Setup completion vars here instead.
9532 (read-expression-map): Bind TAB to symbol completion.
9533
52d3c2d0
SM
9534 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9535 error directly rather via storing it into `results'.
9536
35813471
LL
95372011-05-02 Leo Liu <sdl.web@gmail.com>
9538
9539 * vc/diff.el: Fix description.
9540
e793a940
LMI
95412011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9542
9543 * server.el (server-eval-at): New function.
9544
8de66e05
LMI
95452011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9546
9547 * net/network-stream.el (open-network-stream): Take a :nowait
9548 parameter and pass it on to `make-network-process'.
9549 (network-stream-open-plain): Ditto.
9550
dcb79f20
AS
95512011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9552
9553 * faces.el (face-spec-set-match-display): Don't match toolkit
9554 options on terminal frames.
9555
14a7fbd8
SM
95562011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9557
7eabc1be
SM
9558 * progmodes/pascal.el: Use lexical binding.
9559 (pascal-mode-map): Remove author preferences.
9560
14a7fbd8
SM
9561 * pcomplete.el (pcomplete-std-complete): Don't abuse
9562 completion-at-point.
9563
50f84510
JB
95642011-04-28 Juanma Barranquero <lekktu@gmail.com>
9565
6e087a44
JB
9566 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9567 removing code that has been dead since 1991 or so.
9568
50f84510
JB
9569 * startup.el (command-line): When warning about "_emacs", use a
9570 delayed warning to allow the user to filter it out.
9571
0ba690bd
DD
95722011-04-28 Deniz Dogan <deniz@dogan.se>
9573
9574 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9575 user has not joined.
9576
08abfaad
SM
95772011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9580 aren't any completions at point.
9581
638f053a
JB
95822011-04-28 Juanma Barranquero <lekktu@gmail.com>
9583
9584 * subr.el (display-delayed-warnings): New function.
9585 (delayed-warnings-hook): New variable.
9586
8fff8daa
SM
95872011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9588
08abfaad
SM
9589 * minibuffer.el (completion-at-point, completion-help-at-point):
9590 Don't presume that a given completion-at-point-function will always
9591 use the same calling convention.
9592
8fff8daa
SM
9593 * pcomplete.el (pcomplete-completions-at-point):
9594 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9595 pcomplete-seen is non-nil.
9596 (pcomplete-comint-setup): Also recognize the new comint/shell
9597 completion functions.
9598 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9599 pcomplete-seen is non-nil.
9600
841a1577 96012011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9602
841a1577 9603 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9604 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9605 the first character in the entry. This allows for code to add its
211ec907
UJ
9606 own uid to the entry.
9607 (icalendar--convert-float-to-ical): Add export of
9608 `diary-float'-entries save for those with the optional DAY
9609 argument.
9610
2a782793
DC
96112011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9612
9613 * subr.el (shell-quote-argument): Use alternate escaping strategy
9614 when we spot a variable reference in a string.
9615
0438ce91
DC
96162011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9617
9618 * cus-start.el (all): Define customization for debug-on-event.
9619
841a1577 96202011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9621
9622 * subr.el (shell-quote-argument): Escape correctly under Windows.
9623
d090ed6c
SM
96242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9627
bfd31217
MA
96282011-04-25 Michael Albinus <michael.albinus@gmx.de>
9629
d090ed6c
SM
9630 * net/tramp.el (tramp-process-actions): Add POS argument.
9631 Delete region between POS and (pos).
bfd31217 9632
d090ed6c
SM
9633 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9634 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9635 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9636
9637 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9638 position in `tramp-process-actions' call.
9639
9640 * net/trampver.el: Update release number.
9641
e92f3bd3
SM
96422011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9643
850256b5
SM
9644 * custom.el (defcustom): Obey lexical-binding.
9645
e92f3bd3
SM
9646 Fix octave-inf completion problems reported by Alexander Klimov.
9647 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9648 Inherit from octave-mode-syntax-table.
9649 (inferior-octave-mode): Set info-lookup-mode.
9650 (inferior-octave-completion-at-point): New function.
9651 (inferior-octave-complete): Use it and completion-in-region.
9652 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9653 comint-filename-completion.
9654 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9655 symbol elements which shouldn't be word elements.
9656 (octave-font-lock-keywords, octave-beginning-of-defun)
9657 (octave-function-header-regexp): Adjust regexps accordingly.
9658 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9659
cd22b309
JB
96602011-04-25 Juanma Barranquero <lekktu@gmail.com>
9661
9662 * net/gnutls.el (gnutls-errorp): Declare before first use.
9663
8b492194
TZ
96642011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9665
9666 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9667 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9668 default trustfile exists before going to use it. Add missing
5a5fa834 9669 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9670 Reported by Claudio Bley <claudio.bley@gmail.com>.
9671 (open-gnutls-stream): Add usage example.
9672
9673 * net/network-stream.el (network-stream-open-starttls): Give host
9674 parameter to `gnutls-negotiate'.
9675 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9676 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9677
841a1577 96782011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9679
cd22b309
JB
9680 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9681 Use correct match group (bug#8438).
05842630 9682
3ba7869c
CY
96832011-04-24 Chong Yidong <cyd@stupidchicken.com>
9684
512e3ae1
CY
9685 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9686 (package-menu--generate): New arg specifying packages to show.
9687 (package-menu-refresh, package-menu-execute, list-packages):
9688 Callers changed.
9689 (package-show-package-list): New function, replacing deleted
9690 package--list-packages (renamed because it is non-internal).
9691
9692 * finder.el (finder-list-matches): Use package-show-package-list
9693 instead of deleted package--list-packages.
9694
e92f3bd3
SM
9695 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9696 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9697 (vc-annotate-mode-map): Bind it to RET.
9698
7031be6d
UR
96992011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9700
9701 * progmodes/etags.el (next-file): Don't use set-buffer to change
9702 buffers (Bug#8478).
9703
4ef177aa
CY
97042011-04-24 Chong Yidong <cyd@stupidchicken.com>
9705
c8d173eb
CY
9706 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9707
4ef177aa
CY
9708 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9709 (apropos-accumulator): Doc fix.
9710 (apropos-function, apropos-macro, apropos-command)
9711 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9712 (apropos-plist): Add face property.
9713 (apropos-symbols-internal): Fix indentation.
9714 (apropos-print): Simplify help, and recognize apropos-multi-type.
9715 (apropos-print-doc): Use button-type-get to extract the button's
9716 face property. Fill docstring (Bug#8352).
9717
4ffd0d6b 97182011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9719
9720 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9721
c6c32125 9722 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9723 (mpuz-mode-map): Use mapc.
c6c32125
JB
9724 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9725 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9726 Fix typos in docstrings.
9727
58d468b4
JB
9728 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9729 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9730
6470c3c6
JB
9731 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9732
4ffd0d6b 97332011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9734
9735 * minibuffer.el (completion--do-completion): Avoid the "Next char
9736 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9737
3ad8bad0
CY
9738 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9739 mouse-2 into unread-command-events, it is interpreted correctly.
9740
71d73c9c 9741 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9742 (image-toggle-display): Doc fix.
71d73c9c 9743
841a1577 97442011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9745
4ffd0d6b
GM
9746 * textmodes/page.el (what-page): Use line-number-at-pos to
9747 calculate line number (Bug#6825).
6e1dbaa9 9748
c2fb1b60
JB
97492011-04-22 Juanma Barranquero <lekktu@gmail.com>
9750
9751 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9752 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9753 Pass argument NO-DEFAULT to `find-tag-interactive'.
9754
e02f48d7
JB
97552011-04-22 Juanma Barranquero <lekktu@gmail.com>
9756
9757 Lexical-binding cleanup.
9758
9759 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9760 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9761 * progmodes/ada-prj.el (ada-prj-initialize-values)
9762 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9763 (ada-prj-show-value):
9764 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9765 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9766 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9767 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9768 * progmodes/bug-reference.el (bug-reference-push-button):
9769 * progmodes/fortran.el (fortran-line-length):
9770 * progmodes/glasses.el (glasses-change):
9771 * progmodes/octave-mod.el (octave-fill-paragraph):
9772 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9773 (python-pdbtrack-grub-for-buffer, python-sentinel):
9774 * progmodes/sql.el (sql-save-connection):
9775 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9776 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9777 Mark unused parameters.
9778
9779 * progmodes/compile.el (compilation--flush-directory-cache)
9780 (compilation--flush-parse, compile-internal): Mark unused parameters.
9781 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9782 (compilation-next-error-function): Remove unused variable `timestamp'.
9783
9784 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9785 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9786
9787 * progmodes/dcl-mode.el (dcl-end-of-command):
9788 Remove unused variable `start'.
9789 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9790 (dcl-option-value-basic, dcl-option-value-offset)
9791 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9792 Mark unused parameters.
9793 (dcl-save-local-variable): Remove unused variable `val'.
9794 (mode): Declare.
9795
9796 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9797 Mark unused parameters.
9798 (delphi-ignore-changes): Move before first use.
9799 (delphi-charset-token-at): Remove unused variable `start'.
9800 (delphi-else-start): Remove unused variable `if-count'.
9801 (delphi-comment-block-start, delphi-comment-block-end):
9802 Remove unused variable `kind'.
9803 (delphi-indent-line): Remove unused variable `new-point'.
9804
9805 * progmodes/ebrowse.el (ebrowse-files-list)
9806 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9807 Mark unused parameters. Don't quote `lambda'.
9808 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9809 Don't quote `lambda'.
9810 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9811 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9812 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9813 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9814 Use `ignore-errors'.
9815 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9816 (ebrowse-view/find-file-and-search-pattern)
9817 (ebrowse-view/find-member-declaration/definition):
9818 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9819 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9820 Rename parameter PREFIX-ARG to PREFIX.
9821 (ebrowse-tags-read-name): Remove unused variables `start' and
9822 `member-info'.
9823 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9824 to `tags-file'.
9825
9826 * progmodes/etags.el (local-find-tag-hook): Declare.
9827 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9828 Mark unused parameters.
9829
9830 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9831 (executable-interpret): Mark unused parameter.
9832
9833 * progmodes/flymake.el (flymake-process-sentinel)
9834 (flymake-after-change-function)
9835 (flymake-create-temp-with-folder-structure)
9836 (flymake-get-include-dirs-dot): Mark unused parameters.
9837 (flymake-safe-delete-directory): Remove unused variable `err'.
9838
9839 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9840 (speedbar-timer-fn, speedbar-line-text)
9841 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9842 (speedbar-center-buffer-smartly): Declare functions.
9843 (gdb-find-watch-expression): Remove unused variable `array'.
9844 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9845 (gdb-starting): Mark unused parameters.
9846 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9847 (gdb-table-string): Remove unused variable `res'.
9848 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9849 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9850 (gdb-display-buffer): Remove unused variable `cur-size'.
9851
9852 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9853 allow lexical-binding compilation.
9854 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9855 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9856 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9857 Mark unused parameters.
9858 (gud-gdb-marker-filter): Remove unused variable `match'.
9859 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9860 lambda expressions and funcall them, instead of using `fset'.
9861
9862 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9863 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9864
9865 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9866 variable `header-beg'; use `let'.
9867
9868 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9869 `restart', `last-sexp' and `at-do'.
9870
9871 * progmodes/js.el (js--debug): Mark unused parameter.
9872 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9873 (js--splice-into-items): Remove unused variable `item'.
9874 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9875
9876 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9877 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9878 (makefile-complete): Remove unused variable `try'.
9879 (makefile-fill-paragraph, makefile-match-function-end):
9880 Mark unused parameters.
9881
9882 * progmodes/octave-inf.el (inferior-octave-complete):
9883 Remove unused variable `proc'.
9884 (inferior-octave-output-digest): Mark unused parameter.
9885
9886 * progmodes/perl-mode.el (perl-calculate-indent):
9887 Remove unused variable `err'.
9888
9889 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9890 (prolog-indent-line): Mark unused parameters.
9891 (prolog-indent-line): Remove unused variable `beg'.
9892
9893 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9894 (reporter-dont-compact-list): Declare.
9895
9896 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9897 Remove unused variable `char'.
9898 (sh-debug): Mark unused parameter.
9899 (sh-get-indent-info): Remove unused variable `start'.
9900 (sh-calculate-indent): Remove unused variable `var'.
9901
9902 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9903 (simula-electric-keyword): Remove unused variable `null'.
9904 (simula-search-backward, simula-search-forward): Remove unused
9905 variables `begin' and `end'.
9906
9907 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9908 Remove unused variable `pos'.
9909 (vera-electric-tab, vera-comment-uncomment-region):
9910 Mark unused parameters.
9911 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9912
7ede3b65
CY
99132011-04-22 Chong Yidong <cyd@stupidchicken.com>
9914
9915 * emacs-lisp/package.el (package--builtins, package-alist)
9916 (package-load-descriptor, package-built-in-p, package-activate)
9917 (define-package, package-installed-p)
9918 (package-compute-transaction, package-buffer-info)
9919 (package--push): Doc fix. Distinguish more clearly between
9920 version strings and version lists.
9921
121656e9
JB
99222011-04-21 Juanma Barranquero <lekktu@gmail.com>
9923
9924 Lexical-binding cleanup.
9925
9926 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9927 (5x5-make-mutate-best):
9928 * play/fortune.el (fortune-in-buffer):
9929 * play/gomoku.el (gomoku-init-display):
9930 * play/solitaire.el (solitaire, solitaire-do-check):
9931 * play/tetris.el (tetris-default-update-speed-function):
9932 Mark unused parameters.
9933
9934 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9935 (bubbles--shift): Remove unused variable `char-org'.
9936 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9937 (bubbles--show-images): Remove unused variable `char'.
9938
9939 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9940 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9941 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9942 (decipher-analyze-buffer): Use ?\s.
9943 (decipher-make-checkpoint): Remove unused variable `mapping'.
9944
9945 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9946
9947 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9948 Remove unused variable `result'; use `let'.
9949
9950 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9951 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9952 (gametree-children-shown-p, gametree-compute-reduced-score):
9953 Use `ignore-errors'.
9954
9955 * play/handwrite.el (ps-lpr-switches): Declare.
9956 (handwrite): Remove unused variables `pmin' and `lastp'.
9957
9958 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9959
9960 * play/landmark.el (landmark-init-display)
9961 (landmark-update-naught-weights): Mark unused parameters.
9962 (landmark-y): Remove unused variable `noise'. Simplify.
9963 (landmark-human-plays): Remove unused variable `score'.
9964
9965 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9966 (mpuz-try-proposal): Remove unused variable `game'.
9967
9968 * play/zone.el (life-patterns): Declare.
9969
80f499c7
JB
99702011-04-20 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * vc/vc.el (ediff-vc-internal): Declare function.
9973
024ff170
SM
99742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9975
c0a193ea
SM
9976 * shell.el: Use lexical-binding and std completion UI.
9977 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9978 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9979 comint-preoutput-filter-functions rather than on
9980 comint-output-filter-functions.
9981 (shell-command-completion, shell--command-completion-data)
9982 (shell-filename-completion, shell-environment-variable-completion)
9983 (shell-c-a-p-replace-by-expanded-directory): New functions.
9984 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9985 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9986 (shell-dynamic-complete-environment-variable): Use them.
9987 (shell-dynamic-complete-as-environment-variable)
9988 (shell-dynamic-complete-as-command): Remove.
9989 (shell-match-partial-variable): Match past point.
9990 * comint.el: Clean up use of completion-at-point-functions.
9991 (comint-completion-at-point): New function.
9992 (comint-mode): Use it completion-at-point-functions.
9993 (comint-dynamic-complete): Make it obsolete.
9994 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9995 (comint-c-a-p-replace-by-expanded-history): New function.
9996 (comint-dynamic-complete-functions)
9997 (comint-replace-by-expanded-history): Use it.
9998 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9999 termination strings. Try harder to avoid second try-completion.
10000 (completion-in-region-mode-map): Disable bindings that don't work yet.
10001
2dbaa080
SM
10002 * comint.el: Use lexical-binding. Require CL.
10003 (comint-dynamic-complete-functions): Use comint-filename-completion.
10004 (comint-completion-addsuffix): Tweak custom type.
10005 (comint-filename-completion, comint--common-suffix)
10006 (comint--common-quoted-suffix, comint--table-subvert)
10007 (comint--complete-file-name-data): New functions.
10008 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10009 (comint-dynamic-list-filename-completions): Use them.
10010 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10011
2dbaa080
SM
10012 * minibuffer.el (completion-in-region-mode):
10013 Keep completion-in-region-mode--predicate global.
10014 (completion-in-region--postch):
10015 Assume completion-in-region-mode--predicate is not null.
10016
c79a6f38
SM
10017 * progmodes/flymake.el (flymake-start-syntax-check-process):
10018 Obey `dir'. Simplify.
10019
024ff170
SM
10020 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10021 we're in VC after all.
10022
1c6c854e
CS
100232011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10024
10025 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10026 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10027 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10028
bed7f140
SM
100292011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10030
332e62ab
SM
10031 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10032 add sanity check.
10033
bed7f140
SM
10034 * obsolete/erc-hecomplete.el: Make obsolete.
10035 * obsolete/: Standardize obsolescence info in the header.
10036
f195c582
GM
100372011-04-20 Glenn Morris <rgm@gnu.org>
10038
10039 * calendar/solar.el (solar-horizontal-coordinates):
10040 Use the longitude argument rather than `calendar-longitude'.
10041 (solar-date-next-longitude): Remove unused locals.
10042
cb79b8c0
VJL
100432011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10044
10045 * whitespace.el: New version 13.2.1.
10046
100472011-04-20 felix <EmacsWiki> (tiny change)
10048
d8e4b68b 10049 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10050 switching between major modes on a file.
10051
602ea69d
SM
100522011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10055 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10056 multi-line comments as well.
10057
06b60517
JB
100582011-04-19 Juanma Barranquero <lekktu@gmail.com>
10059
10060 Lexical-binding cleanup.
10061
10062 * arc-mode.el (archive-mode-revert):
10063 * cmuscheme.el (scheme-interactively-start-process):
10064 * custom.el (custom-initialize-delay):
10065 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10066 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10067 * emacs-lock.el (emacs-lock-clear-sentinel):
10068 * ezimage.el (defezimage):
10069 * follow.el (follow-avoid-tail-recenter):
10070 * fringe.el (set-fringe-mode-1):
10071 * generic-x.el (bat-generic-mode-compile):
10072 * help-mode.el (help-info-variable, help-do-xref)
10073 (help-mode-revert-buffer):
10074 * help.el (view-emacs-todo):
10075 * iswitchb.el (iswitchb-completion-help):
10076 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10077 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10078 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10079 * locate.el (locate-update):
10080 * longlines.el (longlines-encode-region)
10081 (longlines-after-change-function):
10082 * outline.el (outline-isearch-open-invisible):
10083 * ps-def.el (declare-function, charset-dimension, char-width)
10084 (encode-char):
10085 * ps-mule.el (ps-mule-plot-string):
10086 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10087 (recentf-edit-list-select, recentf-edit-list-validate)
10088 (recentf-open-files-action):
10089 * rect.el (delete-whitespace-rectangle-line)
10090 (rectangle-number-line-callback):
10091 * register.el (window-configuration-to-register)
10092 (frame-configuration-to-register):
10093 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10094 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10095 (xselect-convert-to-targets, xselect-convert-to-delete)
10096 (xselect-convert-to-filename, xselect-convert-to-charpos)
10097 (xselect-convert-to-lineno, xselect-convert-to-colno)
10098 (xselect-convert-to-os, xselect-convert-to-host)
10099 (xselect-convert-to-user, xselect-convert-to-class)
10100 (xselect-convert-to-name, xselect-convert-to-integer)
10101 (xselect-convert-to-atom, xselect-convert-to-identity):
10102 * subr.el (declare, ignore, process-kill-without-query)
10103 (text-clone-maintain):
10104 * terminal.el (te-get-char, te-tic-sentinel):
10105 * tool-bar.el (tool-bar-make-keymap):
10106 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10107 * type-break.el (type-break-mode, type-break-noninteractive-query):
10108 * view.el (View-back-to-mark):
10109 * wid-browse.el (widget-browse-action, widget-browse-widget)
10110 (widget-browse-widgets, widget-browse-sexp):
10111 * widget.el (define-widget-keywords):
10112 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10113 Mark unused parameters.
10114
10115 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10116 (align-areas): Remove unused variable `look'.
10117 (align-region): Remove unused variables `real-end' and `pos-list'.
10118
10119 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10120
10121 * bindings.el (mode-line-modified, mode-line-remote):
10122 Mark unused parameters.
10123 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10124
10125 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10126 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10127
10128 * comint.el (comint-history-isearch-pop-state)
10129 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10130 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10131 (comint-substitute-in-file-name): Doc fix.
10132
10133 * completion.el (cmpl-statistics-block): Mark unused parameter.
10134 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10135 (save-completions-to-file, load-completions-from-file):
10136 Remove unused local variable `e'.
10137
10138 * composite.el (compose-chars): Remove unused variable `len'.
10139 (lgstring-insert-glyph): Remove unused variable `g'.
10140 (compose-glyph-string): Remove unused variables `ascent',
10141 `descent', `lbearing' and `rbearing'.
10142 (compose-glyph-string-relative): Remove unused variables
10143 `lbearing', `rbearing' and `wadjust'.
10144 (compose-gstring-for-graphic): Remove unused variables `header',
10145 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10146 (compose-gstring-for-terminal): Remove unused variables `header'
10147 and `nchars'. Use `let', not `let*'.
10148
10149 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10150 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10151 (Custom-buffer-done, custom-buffer-create-internal)
10152 (custom-browse-visibility-action, custom-browse-group-tag-action)
10153 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10154 (widget-magic-mouse-down-action, custom-toggle-parent)
10155 (custom-add-parent-links, custom-toggle-hide-variable)
10156 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10157 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10158 (custom-face-menu-create, custom-variable-menu-create, get)
10159 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10160 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10161 (customize-apropos): Remove unused variable `tests'.
10162 (custom-group-value-create): Remove unused variable `hidden-p'.
10163 (sort-fold-case): Declare.
10164
10165 * cus-theme.el (custom-reset-standard-faces-list)
10166 (custom-reset-standard-variables-list): Declare.
10167 (customize-create-theme, custom-theme-revert, custom-theme-write)
10168 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10169 Mark unused parameters.
10170
10171 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10172
10173 * delim-col.el (delimit-columns-max): Move defvar before first use.
10174
10175 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10176 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10177
10178 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10179 (auto-insert): Declare.
10180 (desktop-restore-file-buffer): Rename desktop-* parameters;
10181 mark unused ones.
10182 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10183 (desktop-buffer): Rename desktop-* parameters.
10184
10185 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10186 (dframe-reposition-frame-xemacs, dframe-help-echo)
10187 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10188 Mark unused parameters.
10189
10190 * dired-aux.el (backup-extract-version-start, overwrite-query)
10191 (overwrite-backup-query, rename-regexp-query)
10192 (rename-non-directory-query): Declare.
10193 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10194 (dired-add-entry): Remove unused variable `orig-file-name'.
10195 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10196 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10197 `dired-copy-preserve-time' directly.
10198 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10199 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10200
10201 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10202 (dired-virtual-revert, dired-make-relative-symlink):
10203 Mark unused parameters.
10204 (manual-program): Declare.
10205 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10206 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10207 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10208
10209 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10210
10211 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10212
10213 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10214 Declare.
10215
10216 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10217
10218 * electric.el (Electric-command-loop): Rename parameter
10219 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10220
10221 * expand.el (expand-in-literal): Remove unused variable `here'.
10222
10223 * facemenu.el (facemenu-add-new-color):
10224 Remove unused variable `docstring'.
10225
10226 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10227 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10228 (face-attr-construct): Mark unused parameter. Doc fix.
10229 (read-color): Remove unused variable `hex-string'.
10230
10231 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10232 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10233 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10234 (display-buffer-other-frame): Remove unused variable `old-window'.
10235 (kill-buffer-hook): Declare.
10236 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10237 Mark unused parameters.
10238 (after-find-file): Pass 1 to `auto-save-mode', not t.
10239
10240 * files-x.el (auto-insert): Declare.
10241 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10242
10243 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10244 variable `buf'. Mark unused parameter.
06b60517
JB
10245 (find-lisp-insert-directory): Mark unused parameter.
10246
10247 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10248 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10249 (format-common-tail): Remove, unused.
10250 (format-deannotate-region): Remove unused variable `loc'.
10251 (format-annotate-region): Remove unused variable `p'.
10252 (format-annotate-single-property-change): Remove unused variables
10253 `default' and `tail'.
10254
10255 * forms.el (read-file-filter): Declare.
10256 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10257
10258 * frame.el (frame-creation-function-alist): Mark unused parameter.
10259 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10260
10261 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10262 Remove unused parameters.
10263 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10264 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10265
10266 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10267 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10268 (hfy-prepare-tag-map): Mark unused parameters.
10269 (htmlfontify-buffer): Use `called-interactively-p'.
10270
10271 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10272 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10273 (ibuffer-do-occur): Mark unused parameters.
10274 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10275 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10276
10277 * ibuffer.el: Don't quote `lambda'.
10278 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10279 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10280 Mark unused parameters.
10281
10282 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10283 (ido-completing-read): Mark unused parameters.
10284 (ido-copy-current-word): Mark unused parameters;
10285 remove unused variable `name'.
10286 (ido-sort-merged-list): Remove unused parameter `dirs'.
10287
10288 * ielm.el (ielm-input-sender): Mark unused parameter.
10289 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10290 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10291 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10292 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10293 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10294
10295 * image-dired.el (image-dired-display-thumbs): Remove unused
10296 variables `curr-file' and `count'.
10297 (image-dired-remove-tag): Remove unused variable `start'.
10298 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10299 variable `curr-file'
10300 (image-dired-rotate-original): Remove unused variable `temp-file'.
10301 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10302 Remove unused variable `file'.
10303 (image-dired-gallery-generate): Remove unused variable `curr'.
10304 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10305
10306 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10307
10308 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10309
10310 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10311
10312 * isearch.el (minibuffer-history-symbol): Declare.
10313 (isearch-edit-string): Remove unused variable `err'.
10314 (isearch-message-prefix, isearch-message-suffix):
10315 Mark unused parameters.
10316
10317 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10318
10319 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10320
10321 * makesum.el (double-column): Remove unused variable `cnt'.
10322
10323 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10324 (ido-ignore-item-temp-list): Declare.
10325
10326 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10327 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10328 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10329 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10330 `mouse-col-delta'.
10331
10332 * mouse-sel.el (mouse-extend-internal):
10333 Remove unused variable `orig-window-frame'.
10334
10335 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10336 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10337 Move declarations before first use.
10338 (pcomplete-opt): Mark unused parameters; doc fix.
10339
10340 * proced.el (proced-revert): Mark unused parameter.
10341 (proced-send-signal): Remove unused variable `err'.
10342
10343 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10344 Rename parameter PREFIX-ARG to ARG.
10345 (ps-basic-plot-string, ps-basic-plot-whitespace):
10346 Mark unused parameters.
10347
10348 * replace.el (replace-count): Define.
10349 (occur-revert-function): Mark unused parameters.
10350 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10351 (isearch-case-fold-search, isearch-string): Declare.
10352 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10353 bind `case-fold-search'. Remove unused variables `beg' and `end',
10354 and simplify.
10355 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10356 COUNT and bind `replace-count'.
10357 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10358 to COUNT.
10359
10360 * savehist.el (print-readably, print-string-length): Declare.
10361
10362 * shadowfile.el (shadow-expand-cluster-in-file-name):
10363 Remove unused variable `cluster'.
10364 (shadow-copy-file): Remove unused variable `i'.
10365 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10366 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10367 (shadow-define-literal-group, shadow-define-regexp-group)
10368 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10369
10370 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10371 (shell): Use `called-interactively-p'.
10372 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10373
10374 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10375 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10376 (delete-backward-char): Remove unused variable `ocol'.
10377 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10378 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10379 (event-apply-hyper-modifier, event-apply-shift-modifier)
10380 (event-apply-control-modifier, event-apply-meta-modifier):
10381 Mark unused parameters.
10382 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10383 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10384
10385 * speedbar.el (speedbar-ignored-directory-expressions)
10386 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10387 (speedbar-find-file, speedbar-dir-follow)
10388 (speedbar-directory-buttons-follow, speedbar-tag-find)
10389 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10390 (speedbar-buffers-line-directory, speedbar-buffer-click):
10391 Mark unused parameters.
10392 (speedbar-tag-file): Remove unused variable `mode'.
10393 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10394
10395 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10396
10397 * talk.el (talk): Remove unused variable `display'.
10398
10399 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10400 (tar-write-region-annotate): Mark unused parameter.
10401
10402 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10403 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10404 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10405 warning by another.
10406
10407 * time-stamp.el (time-stamp-string-preprocess):
10408 Remove unused variable `require-padding'.
10409
10410 * tree-widget.el (widget-glyph-enable): Declare.
10411 (tree-widget-action): Mark unused parameter.
10412
10413 * w32-fns.el (x-get-selection): Mark unused parameter.
10414 (autoload-make-program, generated-autoload-file): Declare.
10415
10416 * wdired.el (wdired-revert): Mark unused parameters.
10417 (wdired-xcase-word): Remove unused variable `err'.
10418
10419 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10420 (whitespace-help-scroll): Remove unused variable `data-help'.
10421
10422 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10423 (widget-image-insert, widget-after-change, default)
10424 (widget-default-format-handler, widget-default-notify)
10425 (widget-default-prompt-value, widget-info-link-action)
10426 (widget-url-link-action, widget-function-link-action)
10427 (widget-variable-link-action, widget-file-link-action)
10428 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10429 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10430 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10431 (widget-insert-button-action, widget-delete-button-action, visibility)
10432 (widget-documentation-link-action, widget-documentation-string-action)
10433 (widget-const-prompt-value, widget-regexp-match, symbol)
10434 (widget-coding-system-prompt-value)
10435 (widget-key-sequence-value-to-external, sexp)
10436 (widget-sexp-value-to-internal, character, vector, cons)
10437 (widget-choice-prompt-value, widget-boolean-prompt-value)
10438 (widget-color--choose-action): Mark unused parameters.
10439 (widget-item-match-inline, widget-choice-match-inline)
10440 (widget-checklist-match, widget-checklist-match-inline)
10441 (widget-group-match): Rename parameter VALUES to VALS.
10442 (widget-field-value-set): Remove unused variable `size'.
10443 (widget-color-action): Remove unused variables `value' and `start'.
10444
10445 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10446 variable `dir'. Doc fix.
06b60517
JB
10447 (windmove-find-other-window): Don't pass it.
10448
10449 * window.el (count-windows): Mark unused parameter.
10450 (bw-adjust-window): Remove unused variable `err'.
10451
10452 * woman.el (woman-file-name): Remove unused variable `default'.
10453 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10454 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10455 (global-font-lock-mode): Declare.
10456 (woman-decode-region): Mark unused parameter.
10457 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10458
10459 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10460 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10461 (x-dnd-handle-moz-url): Remove unused variable `title'.
10462 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10463
10464 * xml.el (xml-parse-tag, xml-parse-attlist):
10465 Remove unused variable `pos'.
10466
bc4f7f3d
GM
104672011-04-19 Glenn Morris <rgm@gnu.org>
10468
10469 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10470 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10471 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10472 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10473 * calendar/cal-html.el (cal-html-insert-minical):
10474 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10475 (calendar-mark-date-pattern):
10476 Prefix "unused" locals.
10477
10478 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10479 optional argument `style'.
10480
10481 * calendar/appt.el (appt-make-list):
10482 * calendar/cal-china.el (calendar-chinese-date-string):
10483 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10484 (diary-hebrew-yahrzeit):
10485 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10486 * calendar/calendar.el (calendar-generate-window):
10487 * calendar/time-date.el (time-to-days):
10488 Remove unused local variables.
10489
16a43933
CY
104902011-04-18 Chong Yidong <cyd@stupidchicken.com>
10491
10492 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10493 glyphless-char-display table.
10494 (tabulated-list-glyphless-char-display): New var.
10495
7eed1860
SS
104962011-04-18 Sam Steingold <sds@gnu.org>
10497
10498 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10499 to acknowledgments.
10500
4d2d1ccd
GM
105012011-04-17 Glenn Morris <rgm@gnu.org>
10502
10503 * calendar/diary-lib.el (diary-sexp-entry):
10504 * calendar/holidays.el (holiday-sexp):
10505 Set debug-on-error rather than the removed stack-trace-on-error.
10506
239da61d
GM
105072011-04-16 Glenn Morris <rgm@gnu.org>
10508
10509 * progmodes/f90.el: Use lexical-binding.
10510 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10511
8b05752a
SM
105122011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10513
daca8ba5
SM
10514 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10515 (mail-mode): Setup mailalias completion here instead.
10516 * mail/mailalias.el: Use lexical-binding.
10517 (pattern, mailalias-done): Declare dynamic.
10518 (mail-completion-at-point-function): New function, from mail-complete.
10519 (mail-complete): Use it.
10520 (mail-completion-expand): New function.
10521 (mail-get-names): Use it.
10522 (mail-directory, mail-directory-process, mail-directory-stream):
10523 Don't use `pattern' for lexically bound arg.
10524
6f542485
SM
10525 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10526
037e7c3f
SM
10527 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10528 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10529 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10530
8b05752a
SM
10531 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10532 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10533 (byte-interactive-p): Define them again, for use when inlining
10534 old code.
10535
49093f60
JB
105362011-04-15 Juanma Barranquero <lekktu@gmail.com>
10537
10538 * loadup.el: Use `string-to-number', not `string-to-int'.
10539
b5b8e7de
SM
105402011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10543 gud-gdb-complete-command.
10544 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10545 (gud-gdb-completion-at-point): New function.
10546 (gud-gdb-completions): Remove.
10547
f42efeb5
MA
105482011-04-14 Michael Albinus <michael.albinus@gmx.de>
10549
49093f60
JB
10550 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10551 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10552 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10553 whether `executable-find' is bound.
f42efeb5
MA
10554
10555 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10556
e240cc21
SM
105572011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10558
10559 * minibuffer.el (completion-in-region-mode-predicate)
10560 (completion-in-region-mode--predicate): New vars.
10561 (completion-in-region, completion-in-region--postch)
10562 (completion-in-region-mode): Use them.
10563 (completion--capf-wrapper): Also return the hook function.
10564 (completion-at-point, completion-help-at-point):
10565 Adjust and provide a predicate.
c2bd2ab0
SM
10566
10567 Preserve arg names for advice of subr and lexical functions (bug#8457).
10568 * help-fns.el (help-function-arglist): Consolidate the subr and
10569 new-byte-code cases. Add argument `preserve-names' to extract names
10570 from the docstring when needed.
10571 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10572 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10573 (ad-arglist): Use help-function-arglist's new arg.
10574 (ad-definition-type): Use cond.
10575
c183f693
JB
105762011-04-13 Juanma Barranquero <lekktu@gmail.com>
10577
06641a47
JB
10578 * autorevert.el (auto-revert-handler):
10579 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10580 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10581 Don't quote lambda.
10582
c183f693
JB
10583 * image-mode.el (image-transform-set-scale):
10584 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10585
1e3b6001
G
105862011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10587
10588 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10589 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10590 Upgrades via gnutls-cli are too slow to be done opportunistically.
10591
2d6af8dd
JB
105922011-04-12 Juanma Barranquero <lekktu@gmail.com>
10593
10594 * dframe.el (dframe-current-frame): Remove spurious quote.
10595
c0749a51
GM
105962011-04-12 Glenn Morris <rgm@gnu.org>
10597
088d0d61
GM
10598 * calendar/cal-tex.el (cal-tex-end-document):
10599 Try to automatically use latin1 input if needed.
10600
c0749a51
GM
10601 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10602 Don't try to cons a mark onto an empty element.
10603
5c90fde0
LL
106042011-04-11 Leo Liu <sdl.web@gmail.com>
10605
10606 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10607 buffers.
10608 (ido-kill-buffer-at-head): Support killing virtual buffers.
10609
369e974d
CY
106102011-04-10 Chong Yidong <cyd@stupidchicken.com>
10611
10612 * minibuffer.el (completion-show-inline-help): New var.
10613 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10614 (minibuffer-force-complete, minibuffer-complete-word):
10615 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10616
10617 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10618 to avoid interference from inline help (Bug#5849).
10619
37f1c930
LL
106202011-04-10 Leo Liu <sdl.web@gmail.com>
10621
099c39a4
JB
10622 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10623 Fix typo.
37f1c930 10624
a32d4040
CY
106252011-04-09 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * image-mode.el (image-toggle-display-image): Signal an error if
10628 not in Image mode.
10629 (image-transform-mode, image-transform-resize)
10630 (image-transform-set-rotation): Doc fix.
daca8ba5 10631 (image-transform-set-resize): Delete.
a32d4040
CY
10632 (image-transform-set-scale, image-transform-fit-to-height)
10633 (image-transform-fit-to-width): Handle image-toggle-display-image
10634 and image-transform-resize directly.
10635
099c39a4 106362011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10637
10638 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10639 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10640 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10641 (doc-view-mode-map): Add bindings for the new functions.
10642
099c39a4 106432011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10644
4d61f28d 10645 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10646 Fix typo in docstring.
10647
3726838a
EZ
106482011-04-08 Eli Zaretskii <eliz@gnu.org>
10649
04f33f1e
EZ
10650 * files.el (file-size-human-readable): Produce one digit after
10651 decimal, like "ls -lh" does.
10652
10653 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10654 the file size representation.
10655
3726838a
EZ
10656 * simple.el (list-processes): If async subprocesses are not
10657 available, error out with a clear error message.
10658
cbb59342
CY
106592011-04-08 Chong Yidong <cyd@stupidchicken.com>
10660
10661 * help.el (help-form-show): New function, to be called from C.
10662 Put help-form output in a buffer named differently than *Help*.
10663
e3971c44
EZ
106642011-04-08 Eli Zaretskii <eliz@gnu.org>
10665
10666 * files.el (file-size-human-readable): New function.
10667
10668 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10669 computing the representation inline. Don't require `cl'.
10670
12544bbe
GM
106712011-04-08 Glenn Morris <rgm@gnu.org>
10672
a1de6c6a
GM
10673 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10674
3c4671f4
GM
10675 * net/browse-url.el (browse-url-firefox):
10676 Test system-type, not system-configuration.
10677
b605679c
GM
10678 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10679 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10680 Use log-edit-empty-buffer-p. (Bug#7598)
10681
56442f0c
GM
10682 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10683 (rlogin-mode-map): Initialize in the defvar.
10684 (rlogin): Use ignore-errors.
10685
12544bbe
GM
10686 * replace.el (occur-mode-map): Some fixes for menu items.
10687
eb237b0f
AH
106882011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10689
10690 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10691
7d668f2c
CY
106922011-04-06 Chong Yidong <cyd@stupidchicken.com>
10693
e67a13ab
CY
10694 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10695 issuing unused warnings.
10696
10697 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10698 macro directly.
10699
7d668f2c
CY
10700 * simple.el: Lisp reimplement of list-processes. Based on an
10701 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10702 (process-menu-mode): New major mode.
10703 (list-processes--refresh, list-processes):
10704 (process-menu-visit-buffer): New functions.
10705
10706 * files.el (save-buffers-kill-emacs): Don't assume any return
10707 value of list-processes, which is undocumented anyway.
10708
a83ec3c9
CY
107092011-04-06 Chong Yidong <cyd@stupidchicken.com>
10710
10711 * emacs-lisp/tabulated-list.el: New file.
10712
e91a96fe
CY
10713 * emacs-lisp/package.el: Use Tabulated List mode.
10714 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10715 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10716 table format using Tabulated List mode variables.
10717 (package--push): New macro, replacing package-list-maybe-add.
10718 (package-menu--generate): Use package--push. Renamed from
10719 package--generate-package-list.
10720 (package-menu-refresh, list-packages): Use it.
daca8ba5 10721 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10722 Return insertion data instead of inserting it directly.
099c39a4
JB
10723 (package-menu-describe-package, package-menu-execute):
10724 Use tabulated-list-get-id.
e91a96fe
CY
10725 (package-menu-mark-delete, package-menu-mark-install)
10726 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10727 (package-menu-mark-obsolete-for-deletion):
10728 Use tabulated-list-put-tag.
e91a96fe
CY
10729 (package--list-packages, package-menu-revert)
10730 (package-menu-get-package, package-menu-get-version)
10731 (package-menu-sort-by-column): Functions deleted.
10732 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10733 (package-menu--status-predicate, package-menu--version-predicate)
10734 (package-menu--name-predicate)
10735 (package-menu--description-predicate): Handle arguments in the
10736 Tabulated List format.
10737 (package-list-packages-no-fetch): Call list-packages.
10738
3e214b50
JB
107392011-04-06 Juanma Barranquero <lekktu@gmail.com>
10740
10741 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10742 (after-find-file): Don't bind it.
3e214b50
JB
10743 (revert-buffer-in-progress-p): New variable.
10744 (revert-buffer): Bind it.
10745 Pass nil for `after-find-file-from-revert-buffer'.
10746
10747 * saveplace.el (save-place-find-file-hook): Use new variable
10748 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10749
3f0f1700
GM
107502011-04-06 Glenn Morris <rgm@gnu.org>
10751
c0274801
GM
10752 * Makefile.in (AUTOGEN_VCS): New variable.
10753 (autoloads): Use $AUTOGEN_VCS.
10754
3f0f1700
GM
10755 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10756 * calendar/calendar.el (calendar-mode-map):
10757 Check for toolkit scroll bars. (Bug#8305)
10758
41ea9e48
CY
107592011-04-05 Chong Yidong <cyd@stupidchicken.com>
10760
10761 * minibuffer.el (completion-in-region--postch)
10762 (completion-in-region-mode): Remove unnecessary messages.
10763
6194c800
JB
107642011-04-05 Juanma Barranquero <lekktu@gmail.com>
10765
33256f14
JB
10766 * font-lock.el (font-lock-refresh-defaults):
10767 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10768 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10769
6194c800
JB
10770 * info.el (Info-directory-list, Info-read-node-name-2)
10771 (Info-split-parameter-string): Doc fixes.
10772 (Info-virtual-nodes): Reflow docstring.
10773 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10774 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10775 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10776 Fix typos in docstrings.
10777 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10778 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10779 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10780 (Info-restore-desktop-buffer): Mark unused parameters.
10781 (Info-directory-find-file, Info-directory-find-node)
10782 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10783 (Info-virtual-index-find-node, Info-apropos-find-file)
10784 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10785 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10786 (Info-virtual-index): Remove unused local variable `nodename'.
10787
b87a8200 107882011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10789
b87a8200
DD
10790 * net/rcirc.el: Update my e-mail address.
10791 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10792
3b2ff876
CY
107932011-04-05 Chong Yidong <cyd@stupidchicken.com>
10794
10795 * startup.el (command-line): Save the cursor's theme-face
10796 directly, instead of using face-override-spec.
10797
10798 * custom.el (load-theme): Minor optimization in assigning faces.
10799
8d17e7ca
JB
108002011-04-04 Juanma Barranquero <lekktu@gmail.com>
10801
10802 * help-fns.el (describe-variable): Complete all variables having
10803 documentation, including keywords.
10804 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10805
2fbc1934
JB
108062011-04-04 Juanma Barranquero <lekktu@gmail.com>
10807
10808 Convert to lexical-binding.
10809
10810 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10811 (bs--get-marked-string, bs--get-modified-string)
10812 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10813 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10814 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10815
10816 * ehelp.el (electric-help-execute-extended)
10817 (electric-help-ctrl-x-prefix):
10818 * hexl.el (hexl-revert-buffer-function):
10819 * linum.el (linum-after-change, linum-after-scroll):
10820 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10821
10822 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10823
74f50695
DU
108242011-04-04 Daiki Ueno <ueno@unixuser.org>
10825
10826 * epa-dired.el:
10827 * epa-mail.el:
10828 * epa-hook.el:
10829 * epa-file.el:
10830 * epa.el:
10831 * epg.el: Use lexical binding.
10832
c11325f7
CY
108332011-04-03 Chong Yidong <cyd@stupidchicken.com>
10834
0d9e9a12
CY
10835 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10836
c11325f7 10837 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10838 dictionary case for flyspell-mark-duplications-exceptions.
10839 Use regexp matching for languages.
c11325f7
CY
10840 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10841 default dictionary (Bug#7926).
10842
da91b5f2
CY
108432011-04-02 Chong Yidong <cyd@stupidchicken.com>
10844
099c39a4
JB
10845 * emacs-lisp/package.el (package--with-work-buffer):
10846 Recognize https URLs.
da91b5f2 10847
099c39a4
JB
10848 * net/network-stream.el: Move from gnus/proto-stream.el.
10849 Change prefix to network-stream throughout.
da91b5f2
CY
10850 (open-protocol-stream): Merge into open-network-stream, leaving
10851 open-protocol-stream as an alias. Handle nil BUFFER args.
10852
10853 * subr.el (open-network-stream): Move to net/network-stream.el.
10854
afa8e9f6
GM
108552011-04-02 Glenn Morris <rgm@gnu.org>
10856
1d2e369d
GM
10857 * find-dired.el (find-exec-terminator): New option.
10858 (find-ls-option): Test for -ls support.
10859 (find-ls-subdir-switches): Test for -b in find-ls-option.
10860 (find-dired, find-grep-dired): Doc fixes.
10861 (find-dired): Use find-exec-terminator.
10862
8abb7da8 10863 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10864 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10865 (find-name-arg): Remove purecopy.
8abb7da8 10866
f3ca7378
GM
10867 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10868 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10869 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10870 accordingly. Don't add the null-device if not needed.
10871
afa8e9f6
GM
10872 * files.el (save-some-buffers): Doc fix.
10873
35eae264
EZ
108742011-04-02 Eli Zaretskii <eliz@gnu.org>
10875
10876 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10877
26b51db5
JB
108782011-04-01 Juanma Barranquero <lekktu@gmail.com>
10879
10880 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10881 Use `dolist' rather than `mapcar'.
10882
7200d79c
SM
108832011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10884
03408648 10885 Add lexical binding.
7200d79c 10886
03408648
SM
10887 * subr.el (apply-partially): Use new closures rather than CL.
10888 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10889 (dolist, dotimes): Use slightly different expansion for lexical code.
10890 (functionp): Move to C.
10891 (letrec): New macro.
10892 (with-wrapper-hook): Use it and apply-partially instead of CL.
10893 (eval-after-load): Preserve lexical-binding.
10894 (save-window-excursion, with-output-to-temp-buffer): Turn them
10895 into macros.
7200d79c 10896
03408648
SM
10897 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10898
10899 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10900 than the arglist.
10901 (help-add-fundoc-usage): Don't add `Not documented'.
10902 (help-function-arglist): Handle closures, subroutines, and new
10903 byte-code-functions.
10904 (help-make-usage): Remove leading underscores.
10905 (describe-function-1): Handle closures.
10906 (describe-variable): Use special-variable-p for completion.
10907
10908 * files.el (lexical-binding): Declare safe.
f488fb65 10909
03408648
SM
10910 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10911 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10912 (pcase): Add `let' pattern.
10913 Change memoization so it actually works.
10914 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10915 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10916 <let>: New case.
f488fb65 10917
03408648
SM
10918 * emacs-lisp/macroexp.el: Use lexical binding.
10919 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10920 Don't convert ' to #' without checking that it's indeed quoting
10921 a lambda.
10922
10923 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10924 Use eval-sexp-add-defvars.
03408648
SM
10925 (eval-sexp-add-defvars): New fun.
10926
10927 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10928
10929 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10930 Don't autoload.
10931 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10932 than the internal `byte-compile-lambda'.
10933 (defmethod): Don't hide code under quotes.
10934 (eieio-defmethod): New `code' argument.
10935
10936 * emacs-lisp/eieio-comp.el: Remove.
10937
10938 * emacs-lisp/edebug.el (edebug-eval-defun)
10939 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10940 (edebug-toggle): Avoid `eval'.
10941
10942 * emacs-lisp/disass.el (disassemble-internal): Handle new
10943 `closure' objects.
10944 (disassemble-1): Handle new byte codes.
10945
10946 * emacs-lisp/cl.el (pushnew): Silence warning.
10947
10948 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10949 (cl-byte-compile-throw): Remove.
10950 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10951
10952 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10953 closures.
10954
10955 * emacs-lisp/cconv.el: New file.
10956
10957 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10958 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10959 (byte-compile-initial-macro-environment):
10960 Handle declare-function here.
10961 (byte-compile--lexical-environment): New var.
10962 (byte-stack-ref, byte-stack-set, byte-discardN)
10963 (byte-discardN-preserve-tos): New lap codes.
10964 (byte-interactive-p): Don't use any more.
10965 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10966 New macros.
10967 (byte-compile-lapcode): Use them and handle new lap codes.
10968 (byte-compile-obsolete): Remove.
10969 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10970 (byte-compile-arglist-warn): Check late def of inlinable funs.
10971 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10972 since they should have been expanded by now.
10973 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10974 (byte-compile-from-buffer): Remove unused second arg.
10975 (byte-compile-preprocess): New function.
10976 (byte-compile-toplevel-file-form): New function to distinguish
10977 file-form calls from outside from file-form calls from hunk-handlers.
10978 (byte-compile-file-form): Simplify.
10979 (byte-compile-file-form-defsubst): Remove.
10980 (byte-compile-file-form-defmumble): Simplify now that
10981 byte-compile-lambda always returns a byte-code-function.
10982 (byte-compile): Preprocess.
10983 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10984 Remove, not used any more.
10985 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10986 (byte-compile-make-args-desc): New funs.
10987 (byte-compile-lambda): Handle lexical functions. Always return
10988 a byte-code-function.
10989 (byte-compile-reserved-constants): New var, to make up room for
10990 closed-over variables.
10991 (byte-compile-constants-vector): Obey it.
10992 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10993 (byte-compile-macroexpand-declare-function): New function.
10994 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10995 byte-code-functions.
10996 (byte-compile-form): Check obsolescence here.
10997 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10998 (byte-compile-variable-ref): Remove.
10999 (byte-compile-dynamic-variable-op): New fun.
11000 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11001 (byte-compile-variable-set): New funs.
11002 (byte-compile-discard): Add 2 args.
11003 (byte-compile-stack-ref, byte-compile-stack-set)
11004 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11005 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11006 macroexpand-all instead.
11007 (byte-compile-quote-form): Remove.
11008 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11009 (byte-compile-bind, byte-compile-unbind): New funs.
11010 (byte-compile-let): Handle let* and lexical binding.
11011 (byte-compile-let*): Remove.
11012 (byte-compile-catch, byte-compile-unwind-protect)
11013 (byte-compile-track-mouse, byte-compile-condition-case):
11014 Handle a new :fun-body form, used for lexical scoping.
11015 (byte-compile-save-window-excursion)
11016 (byte-compile-with-output-to-temp-buffer): Remove.
11017 (byte-compile-defun): Simplify.
11018 (byte-compile-stack-adjustment): New fun.
11019 (byte-compile-out): Use it.
11020 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11021
11022 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11023 handler any more.
11024
11025 * emacs-lisp/byte-opt.el: Use lexical binding.
11026 (byte-inline-lapcode): Remove (to bytecomp).
11027 (byte-compile-inline-expand): Pay attention to inlining to/from
11028 lexically bound code.
11029 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11030 any more.
11031 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11032 any more and don't call compiler-macros.
11033 (byte-compile-splice-in-already-compiled-code): Remove.
11034 (byte-code): Don't inline any more.
11035 (disassemble-offset): Receive `bytes' as argument rather than via
11036 dynamic scoping.
11037 (byte-compile-tag-number): Declare before first use.
11038 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11039 `return' even if make-spliceable.
11040 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11041 obsolete interactive-p.
11042 (byte-optimize-lapcode): Optimize new lap-codes.
11043 Don't trip up on new form of `byte-constant' lap code.
11044
11045 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11046
11047 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11048
11049 * custom.el (custom-initialize-default, custom-declare-variable):
11050 Use `defvar'.
11051
11052 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11053 New variables.
11054 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11055 (COMPILE_FIRST): Add macroexp and cconv.
11056 * makefile.w32-in: Mirror changes in Makefile.in.
11057
11058 * vc/cvs-status.el:
11059 * vc/diff-mode.el:
11060 * vc/log-edit.el:
11061 * vc/log-view.el:
11062 * vc/smerge-mode.el:
11063 * textmodes/bibtex-style.el:
11064 * textmodes/css.el:
11065 * startup.el:
11066 * uniquify.el:
da91b5f2
CY
11067 * minibuffer.el:
11068 * newcomment.el:
11069 * reveal.el:
11070 * server.el:
11071 * mpc.el:
11072 * emacs-lisp/smie.el:
11073 * doc-view.el:
11074 * dired.el:
03408648
SM
11075 * abbrev.el: Use lexical binding.
11076
0f0c1f27
EZ
110772011-04-01 Eli Zaretskii <eliz@gnu.org>
11078
11079 * info.el (info-display-manual): New function.
11080
c82b2579
SM
110812011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11084
221ddf68
TH
110852011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11086
11087 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11088 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11089
cba6e77e
GM
110902011-03-31 Glenn Morris <rgm@gnu.org>
11091
e040639f
GM
11092 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11093
cba6e77e
GM
11094 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11095
6d0f1c9e
CS
110962011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11097
11098 * progmodes/python.el (python-default-interpreter)
11099 (python-python-command-args, python-jython-command-args)
11100 (python-which-shell, python-which-args, python-which-bufname)
11101 (python-file-queue, python-comint-output-filter-function)
11102 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11103 variables and functions.
11104
3e2d70fd
SM
111052011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11108 (completion-in-region-mode): New minor mode.
11109 (completion-in-region): Use it.
11110 (completion-in-region--data, completion-in-region-mode-map): New vars.
11111 (completion-in-region--postch): New function.
11112 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11113 New vars.
11114 (completion--capf-wrapper): New function.
11115 (completion-at-point): Use it to track well-behavedness of
11116 hook functions.
11117 (completion-help-at-point): New command.
11118
f3e4086c
JM
111192011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11120
11121 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11122 syntax class to search for whitespace on a single line
11123 (Message-ID: <4D938140.4030905@redhat.com>).
11124
eb7ffc14
LL
111252011-03-30 Leo Liu <sdl.web@gmail.com>
11126
11127 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11128 New commands.
11129 (edit-abbrevs-map): Bind them here.
11130 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11131
d806ab68
KM
111322011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11133
11134 * allout.el (allout-hide-by-annotation, allout-flag-region):
11135 Reduce possibility of overlay leakage by making them volatile.
11136
11137 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11138 hash is not shared between buffers. Mode initialization is
11139 responsible for giving it a useful starting value.
11140 (allout-item-span): Reduce possibility of overlay leakage by
11141 making them volatile.
11142 (allout-widgets-count-buttons-in-region): Add diagnostic function
11143 for tracking down button overlay leaks.
11144
ea622834
LL
111452011-03-29 Leo Liu <sdl.web@gmail.com>
11146
11147 * ido.el (ido-read-internal): Use the default history var
11148 minibuffer-history if no HISTORY is specified.
11149
b62f8267
G
111502011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11151
03408648
SM
11152 * net/imap.el (imap-shell-open, imap-process-connection-type):
11153 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11154 Kerberos, SSL, other subprocesses.
11155
947b6566
LL
111562011-03-28 Leo Liu <sdl.web@gmail.com>
11157
11158 * abbrev.el (abbrev-table-empty-p): New function.
11159 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11160 nonempty ones. (Bug#5937)
11161
5ffb62aa
JD
111622011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11163
11164 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11165
7a097943
LL
111662011-03-27 Leo Liu <sdl.web@gmail.com>
11167
11168 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11169 for foreground and background colors.
11170 (ansi-color-make-color-map): Adapt.
11171
c5b40130
LL
111722011-03-25 Leo Liu <sdl.web@gmail.com>
11173
1f48f7d2
LL
11174 * midnight.el (midnight-time-float): Remove. Note it calculates
11175 the microsecond component incorrectly and seconds-to-time does the
11176 same job.
625897ec 11177 Remove redundant (require 'timer).
1f48f7d2 11178
c5b40130
LL
11179 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11180 (ido-completions): Remove unused arguments. (Bug#8329)
11181
d86d2721
SM
111822011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * minibuffer.el (completion--flush-all-sorted-completions):
11185 Remove itself from hook.
11186 (completion-at-point): Let the functions perform the completion
11187 immediately and return nil or t.
11188 * comint.el (comint-dynamic-complete-functions): Now identical to
11189 completion-at-point-functions.
11190 (comint-dynamic-list-input-ring): Remove unused var `index'.
11191 (comint--match-partial-filename, comint--unquote&expand-filename):
11192 New funs, split from comint-match-partial-filename.
11193 (comint-dynamic-complete): Use completion-at-point.
11194 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11195
e8974c48
DA
111962011-03-24 Drew Adams <drew.adams@oracle.com>
11197
11198 * thingatpt.el: Support `defun'.
11199
def71b5e
LL
112002011-03-23 Leo Liu <sdl.web@gmail.com>
11201
cb5af48e
LL
11202 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11203
def71b5e
LL
11204 * help-mode.el (help-mode-finish): Tweak regexp.
11205
927c53e7
GM
112062011-03-23 Glenn Morris <rgm@gnu.org>
11207
18d05bed
GM
11208 * eshell/esh-opt.el (eshell-eval-using-options):
11209 Do not bind unused local variable `eshell-option-stub'.
11210
927c53e7
GM
11211 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11212
9d0da923
JB
112132011-03-22 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11216 keymap variable in `with-no-warnings' to avoid a warning when the
11217 keymap has been already `defconst'ed.
11218
4b978a67
LL
112192011-03-22 Leo Liu <sdl.web@gmail.com>
11220
11221 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11222 encode all chars in abbrevs; otherwise use emacs-mule or
11223 utf-8-emacs. (Bug#8308)
11224
5fd62452
JB
112252011-03-22 Juanma Barranquero <lekktu@gmail.com>
11226
0b1596c6
JB
11227 * simple.el (backward-delete-char-untabify):
11228 Avoid warning about using `delete-backward-char'.
11229
5fd62452
JB
11230 * image.el (image-type-file-name-regexps): Make it variable.
11231 `imagemagick-register-types' modifies it, and the user may want
11232 to add new extensions for known image types.
11233 (imagemagick-register-types): Throw error if not using ImageMagick.
11234
0b4e93f1
LL
112352011-03-22 Leo Liu <sdl.web@gmail.com>
11236
11237 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11238 located before rcirc-prompt-end-marker.
11239 (rcirc-complete): Error if point is not after rcirc prompt.
11240 Handle the case when table is nil.
9882e214 11241 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11242
fccee4ab
CY
112432011-03-22 Chong Yidong <cyd@stupidchicken.com>
11244
11245 * custom.el (custom--inhibit-theme-enable): Make it affect only
11246 custom-theme-set-variables and custom-theme-set-faces.
11247 (provide-theme): Ignore custom--inhibit-theme-enable.
11248 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11249 (custom-enabling-themes): Delete variable.
d86d2721
SM
11250 (enable-theme): Accept only loaded themes as arguments.
11251 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11252 (custom-enabled-themes): Forbid themes from setting this.
11253 Eliminate use of custom-enabling-themes.
11254 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11255
af896da6
LL
112562011-03-21 Leo Liu <sdl.web@gmail.com>
11257
11258 * ido.el (ido-read-internal): Add ido-selected to history instead
11259 of user input.
11260
78f64af0
SM
112612011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * subr.el (deferred-action-list, deferred-action-function):
11264 Mark obsolete.
11265
b16ac1ec
LL
112662011-03-21 Leo Liu <sdl.web@gmail.com>
11267
810f7698
LL
11268 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11269 change on 2011-02-13 (bug#8309).
11270
b16ac1ec
LL
11271 * minibuffer.el (read-file-name-function): Change default value.
11272 (read-file-name--defaults): Rename from read-file-name-defaults.
11273 (read-file-name-default): Rename from read-file-name.
11274 (read-file-name): Call read-file-name-function.
11275
4e05e67e
GM
112762011-03-21 Glenn Morris <rgm@gnu.org>
11277
11278 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11279 Doc fixes.
11280
4359915b
CY
112812011-03-21 Chong Yidong <cyd@stupidchicken.com>
11282
11283 * cus-theme.el: Add missing provide statement.
11284 (customize-create-theme): Extract theme value correctly.
11285 (custom-theme-visit-theme): Autoload.
11286 (customize-create-theme): Prompt before inserting default faces.
11287
1fe275ee
JB
112882011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11289
11290 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11291 units and musical notes.
11292
cd394be1 112932011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11294
11295 * ido.el (ido-read-internal): Use completing-read-default.
11296 (ido-completing-read): Fix compatibility with completing-read.
11297
7d476bde
CO
112982011-03-20 Christian Ohler <ohler@gnu.org>
11299
11300 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11301 (ert-delete-all-tests): Use `called-interactively-p' rather than
11302 `interactive-p'.
11303 (ert--make-xrefs-region): Respect END.
11304
fe0fb33e
CY
113052011-03-19 Chong Yidong <cyd@stupidchicken.com>
11306
ff854b0b
CY
11307 * dired-aux.el (dired-create-directory): Signal an error if the
11308 directory already exists (Bug#8246).
11309
fe0fb33e
CY
11310 * facemenu.el (list-colors-display): Call list-faces-display
11311 inside with-help-window.
11312 (list-colors-print): Use display property to align the final
11313 column, instead of checking window-width.
11314
576bce32
EZ
113152011-03-19 Eli Zaretskii <eliz@gnu.org>
11316
4d61f28d 11317 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11318 windows-nt systems.
11319 (emerge-protect-metachars): Quote correctly for ms-dos and
11320 windows-nt systems.
11321
89c41d68 113222011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11323
11324 * info.el (info-initialize): Replace all uses of `:' with
11325 path-separator for compatibility with non-Unix systems.
11326 Cache quoting of path-separator. (Bug#8258)
11327
b14e3e21 113282011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11329
11330 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11331 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11332 (mouse-avoidance-mode): Fix typos in docstrings.
11333
4525ce3e
CY
113342011-03-19 Chong Yidong <cyd@stupidchicken.com>
11335
11336 * startup.el (package-subdirectory-regexp): Move from package.el.
11337 Omit \\` and \\', and let callers add them.
11338
11339 * emacs-lisp/package.el (package-strip-version)
11340 (package-load-all-descriptors): Add \\` and \\' to
11341 package-subdirectory-regexp before using it.
11342 (package-untar-buffer): New arg DIR; ensure that file untars only
11343 into this expected directory. Remove superfluous delete-region.
11344 (package-unpack): Caller changed.
11345 (package-tar-file-info): Use package-subdirectory-regexp.
11346
a904a09a 113472011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11348
a904a09a
SM
11349 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11350 diff-mode-shared-map (bug#8284).
11351 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11352
113532011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11354
11355 * calendar/time-date.el (format-seconds): Use assoc instead of
11356 assoc-string, since assoc-string doesn't exist in XEmacs.
11357
171fc304
JB
113582011-03-17 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * custom.el (custom-known-themes): Reflow docstring.
11361 (custom-theme-load-path): Fix typo in docstring.
11362 (load-theme): Fix typo in error message.
11363 (custom-available-themes, custom-variable-theme-value):
11364 Use `let', not `let*'.
11365
d71990a1
JB
113662011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11367
11368 * calc/README: Mention inclusion of musical notes.
11369
11370 * calc/calc-units.el (calc-lu-quant): Rename from
11371 `calc-logunits-quantity'.
11372 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11373 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11374 (calc-db): Rename from `calc-dblevel'.
11375 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11376 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11377 (calc-np): Rename from `calc-nplevel'.
11378 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11379 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11380 (calc-lu-plus): Rename from `calc-logunits-add'.
11381 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11382 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11383 (calc-lu-minus): Rename from `calc-logunits-sub'.
11384 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11385 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11386 (calc-lu-times): Rename from `calc-logunits-mul'.
11387 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11388 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11389 (calc-lu-divide): Rename from `calc-logunits-div'.
11390 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11391 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11392
11393 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11394 functions being autoloaded.
11395
11396 * calc/calc.el (calc-lu-power-reference): Rename from
11397 `calc-logunits-power-reference'.
11398 (calc-lu-field-reference): Rename from
11399 `calc-logunits-field-reference'.
11400
7a71b18d
GM
11401 * calc/calc-help.el (calc-l-prefix-help):
11402 Mention musical note functions.
d71990a1 11403
40c2934b
SM
114042011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * minibuffer.el (completion-all-sorted-completions):
11407 Use :completion-cycle-penalty text property if present.
11408
b0911414
KM
114092011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11410
11411 * allout.el (allout-yank-processing): Adjust for new rebulleting
11412 regime so bullet being yanked is used without prompting the user
11413 for a choice.
11414
8a05b668
JB
114152011-03-16 Juanma Barranquero <lekktu@gmail.com>
11416
11417 * startup.el (command-line): Warn the user that _emacs is deprecated.
11418
5ba5fb81
JB
114192011-03-16 Juanma Barranquero <lekktu@gmail.com>
11420
11421 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11422 (delphi-verbose, delphi-comment-face, delphi-string-face)
11423 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11424 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11425 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11426 (delphi-new-comment-line, delphi-font-lock-defaults)
11427 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11428 Fix typos in docstrings.
11429
2dab465b
KM
114302011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11431
5ba5fb81 11432 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11433 Invert the roles of character and string values for INSTEAD, so a
11434 string is used for the more common case of a defaulting prompt.
11435
0adf5618
SM
114362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * progmodes/ruby-mode.el (ruby-backward-sexp):
11439 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11440 * play/gamegrid.el (gamegrid-make-face):
11441 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11442 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11443 * notifications.el (notifications-notify):
11444 * net/xesam.el (xesam-search-engines):
11445 * net/quickurl.el (quickurl-list-insert):
11446 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11447
d72700e5
CY
114482011-03-15 Chong Yidong <cyd@stupidchicken.com>
11449
11450 * startup.el (command-line): Update package subdirectory regexp.
11451
49c5410a
SM
114522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11453
c6eee9aa
SM
11454 * allout.el (allout-abbreviate-flattened-numbering)
11455 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11456
49c5410a
SM
11457 * subr.el (read-char-choice): Only show the cursor after the prompt,
11458 not after the answer.
11459
047b2bb9
KR
114602011-03-15 Kevin Ryde <user42@zip.com.au>
11461
11462 * help-fns.el (variable-at-point): Skip leading quotes, if any
11463 (bug#8253).
11464
0a57d256
SM
114652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11468 warning message.
11469
77c992bc
MA
114702011-03-14 Michael Albinus <michael.albinus@gmx.de>
11471
11472 * shell.el (shell): When called interactively, offer to change the
11473 shell file name on remote hosts.
11474
eebc475d
TZ
114752011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11476
11477 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11478 integration for LDAP parameters. The host, base, user or binddn,
11479 and secret tokens can be specified in a netrc file, for instance.
11480 This is optional because an `auth-source' parameter must be
11481 specified in the search attributes.
11482
9d05d1ba
JB
114832011-03-13 Juanma Barranquero <lekktu@gmail.com>
11484
11485 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11486
09d9db2c
GM
114872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11490 into declaration. Remove redundant and harmful binding.
11491
114922011-03-12 Eli Zaretskii <eliz@gnu.org>
11493
11494 * files.el (file-ownership-preserved-p): Pass `integer' as an
11495 explicit 2nd argument to `file-attributes'. If the file's owner
11496 is the Administrators group on Windows, and the current user is
11497 Administrator, consider that a match.
11498
11499 * server.el (server-ensure-safe-dir): Consider server directory
11500 safe on MS-Windows if its owner is the Administrators group while
11501 the current Emacs user is Administrator. Use `=' to compare
11502 numerical UIDs, since they could be integers or floats.
11503
219bd536
JB
115042011-03-12 Juanma Barranquero <lekktu@gmail.com>
11505
11506 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11507
f3afd36b
MA
115082011-03-12 Michael Albinus <michael.albinus@gmx.de>
11509
11510 Sync with Tramp 2.2.1.
11511
11512 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11513
11514 * net/trampver.el: Update release number.
11515
3aaaa6f1
SM
115162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11517
94642599
SM
11518 * progmodes/compile.el (compilation--previous-directory): Fix up
11519 various nil/dead-marker mismatches (bug#8014).
11520 (compilation-directory-properties, compilation-error-properties):
11521 Don't call it at a position past the one we're about to change.
11522
3aaaa6f1
SM
11523 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11524 Disable obsolescence warnings in the file that declares it.
11525
14239447
KM
115262011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11527
099c39a4
JB
11528 * allout-widgets.el (allout-widgets-tally):
11529 Initialize allout-widgets-tally as a hash table rather than nil to
11530 prevent mode-line redisplay warnings. Also, clarify the module
11531 description and fix a comment typo.
14239447 11532
135e287c
JB
115332011-03-11 Juanma Barranquero <lekktu@gmail.com>
11534
11535 * help-fns.el (describe-variable): Don't complete keywords.
11536 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11537
ffbf300e
CY
115382011-03-10 Chong Yidong <cyd@stupidchicken.com>
11539
ba08b241
CY
11540 * emacs-lisp/package.el (package-version-join): Impose a standard
11541 string representation for pre/alpha/beta version lists.
11542 (package-unpack-single): Standardize the directory name by passing
11543 it through package-version-join.
11544 (package-strip-rcs-id): Accept any version string that does not
11545 signal an error in version-to-list.
ffbf300e 11546
f346fd6b
MA
115472011-03-10 Michael Albinus <michael.albinus@gmx.de>
11548
11549 * simple.el (delete-trailing-whitespace): Return nil for the
11550 benefit of `write-file-functions'.
11551
ccb55d27
GM
115522011-03-10 Glenn Morris <rgm@gnu.org>
11553
5ceaac0c
GM
11554 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11555
02da65ff
GM
11556 * vc/vc-git.el (vc-git-program): New option.
11557 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11558 (vc-git--call): Use it.
11559
b2f603cc
GM
11560 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11561
5772caab
GM
11562 * cus-edit.el (Custom-newline): If no button at point, look
11563 for a subgroup button at start-of-line. (Bug#2298)
11564
ccb55d27
GM
11565 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11566
ec6ecaed
JD
115672011-03-10 Julien Danjou <julien@danjou.info>
11568
11569 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11570 `cursor-type' is nil.
11571
9d5aa01d
JB
115722011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11573
11574 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11575
b6a5875b
KM
115762011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11577
7a71b18d 11578 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11579 preserves the existing header prefix, rebulleting it if necessary,
11580 rather than replacing it. This is necessary for proper operation
11581 of cooperative addons like allout-widgets.
1154d12e
JB
11582 (allout-make-topic-prefix, allout-rebullet-heading):
11583 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11584 value as alternate bullet to be used, instead of prompting the user
11585 for a bullet character.
b6a5875b 11586
ee545c35
MA
115872011-03-09 Michael Albinus <michael.albinus@gmx.de>
11588
d86d2721
SM
11589 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11590 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11591 `tramp-default-port'.
11592
c47971d7
DD
115932011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11594
11595 * net/rcirc.el (rcirc-handler-001): Remove useless
11596 with-rcirc-process-buffer.
11597 (rcirc-check-auth-status): Swap arguments to string-match.
11598
13522cb4
GM
115992011-03-09 Glenn Morris <rgm@gnu.org>
11600
0be6f4f1
GM
11601 * shell.el (shell-mode):
11602 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11603
13522cb4
GM
11604 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11605 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11606
515de2e3
CY
116072011-03-08 Chong Yidong <cyd@stupidchicken.com>
11608
11609 * emacs-lisp/package.el (package-refresh-contents)
11610 (package-menu-execute): Use condition-case-no-debug.
11611
b511b994
MA
116122011-03-08 Michael Albinus <michael.albinus@gmx.de>
11613
11614 * simple.el (shell-command-to-string): Use `process-file'.
11615
11616 * emacs-lisp/package.el (package-tar-file-info): Handle also
11617 remote files.
11618
d86d2721
SM
11619 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11620 Use `equal' for upload base check.
b511b994 11621
25bbfb31
AM
116222011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11623
11624 * textmodes/texinfo.el (texinfo-environments):
11625 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11626
be996521
GM
116272011-03-08 Glenn Morris <rgm@gnu.org>
11628
e9c8529f
GM
11629 * cus-start.el (cursor-in-non-selected-windows):
11630 Fix :set quoting oddness. (Bug#8192)
11631
be996521
GM
11632 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11633 in some setf expressions. (Bug#2159)
11634
2bb5649e
CY
116352011-03-08 Chong Yidong <cyd@stupidchicken.com>
11636
11637 * custom.el (custom-available-themes): Return themes in
11638 alphabetical order.
11639
33383987 11640See ChangeLog.15 for earlier changes.
e3d51b27
MR
11641
11642;; Local Variables:
11643;; coding: utf-8
e3d51b27
MR
11644;; End:
11645
acaf905b 11646 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11647
11648 This file is part of GNU Emacs.
11649
11650 GNU Emacs is free software: you can redistribute it and/or modify
11651 it under the terms of the GNU General Public License as published by
11652 the Free Software Foundation, either version 3 of the License, or
11653 (at your option) any later version.
11654
11655 GNU Emacs is distributed in the hope that it will be useful,
11656 but WITHOUT ANY WARRANTY; without even the implied warranty of
11657 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11658 GNU General Public License for more details.
11659
11660 You should have received a copy of the GNU General Public License
11661 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.