NEWS pedantry
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
dcb6e7b3
MR
12012-03-27 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (switch-to-visible-buffer): New option.
4 (switch-to-prev-buffer, switch-to-next-buffer): Observe
5 switch-to-visible-buffer. Make sure that checking for a window
6 showing a buffer already is done on the same frame.
7
b4fa35fa
GM
82012-03-27 Glenn Morris <rgm@gnu.org>
9
10 * startup.el (mail-host-address): Doc fix.
11
f9210e18
SM
122012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15 than 197 variables.
16
c0bf7753
AF
172012-03-26 Ami Fischman <ami@fischman.org>
18
19 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
20
33da7b16
GM
212012-03-26 Glenn Morris <rgm@gnu.org>
22
02243d9d
GM
23 * files.el (save-buffers-kill-emacs): Doc fix.
24
33da7b16
GM
25 * startup.el (normal-top-level, command-line, command-line-1):
26 Give them doc strings.
27
e5a69fd0
EZ
282012-03-25 Eli Zaretskii <eliz@gnu.org>
29
30 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
31 of same-dir.tst, to avoid stepping on other (parallel) Make job's
32 toes.
33
9a69676a
CY
342012-03-25 Chong Yidong <cyd@gnu.org>
35
4125cb8b
CY
36 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
37 theme if it was previously enabled before (Bug#11031).
38
dd470960
CY
39 * cus-theme.el (custom-theme-write-faces): Retrieve current face
40 spec with custom-face-get-current-spec if its :shown-value is not
41 determined yet (Bug#9337).
4125cb8b 42 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 43
9a69676a
CY
44 * button.el (button-at): Minor addition to docstring.
45
6e7e90fa
SL
462012-03-24 Simon Leinen <simon.leinen@gmail.com>
47
48 * vc/vc.el (vc-merge): Fix a prompt.
49
f06e2758
CY
502012-03-24 Chong Yidong <cyd@gnu.org>
51
52 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
53 point (Bug#9623).
54
6e7e90fa
SL
55 * button.el (button-at): Minor addition to docstring.
56
b9d0879b
SM
572012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * newcomment.el (comment-choose-indent): No space after BOL.
60
e71cebb3
SS
612012-03-22 Sam Steingold <sds@gnu.org>
62
63 * window.el (switch-to-prev-buffer): Revert last patch because the
64 bug turned out to be an advertised feature (Elisp manual 28.14).
65
335aff35
GM
662012-03-22 Glenn Morris <rgm@gnu.org>
67
68 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
69 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
70
c676576a
LMI
712012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
72
73 * net/network-stream.el (network-stream-open-starttls): Make error
74 message under Windows be less misleading.
75
126f3d39
LW
762012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
77
78 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
79 understands (bug#9942).
80
64fee311
CY
812012-03-22 Chong Yidong <cyd@gnu.org>
82
83 * simple.el (end-of-visible-line): Handle return value of
84 next-single-property-change properly (Bug#9371).
85
a640d29a
KH
862012-03-22 Kenichi Handa <handa@m17n.org>
87
88 * international/quail.el (quail-insert-kbd-layout): Fix previous
89 change. To avoid unwanted bidi reordering, use
90 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
91
39675016
DG
922012-03-21 Dmitry Gutov <dgutov@yandex.ru>
93
94 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
95 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
96 (ruby-beginning-of-indent): Be more careful with the difference
97 between word-boundary and symbol boundary.
98 (ruby-mode-syntax-table): Make : a symbol constituent.
99
0a6934fc 1002012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 101
3d008e4f
SM
102 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
103
0a6934fc
SM
1042012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
105
af67c9d7
SM
106 * progmodes/etags.el (tags-completion-at-point-function):
107 Improve last fix.
108
1acad97c
SM
109 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
110
e298b5da
SS
1112012-03-21 Sam Steingold <sds@gnu.org>
112
113 * progmodes/etags.el (tags-completion-at-point-function):
114 Avoid the error when point is inside the pattern.
115
91d82a70
JY
1162012-03-21 John Yates <john@yates-sheets.org> (tiny change)
117
118 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
119 line (Bug#10855).
120
69188b79
CY
1212012-03-21 Drew Adams <drew.adams@oracle.com>
122
123 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
124
99fc91fe
AK
1252012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
126
127 * ido.el (ido-set-current-directory, ido-read-internal)
128 (ido-choose-completion-string, ido-completion-help): Handle nil
129 value of ido-completion-buffer (Bug#11008).
130
087bbb4c
SS
1312012-03-21 Sam Steingold <sds@gnu.org>
132
133 * window.el (switch-to-prev-buffer): Do not switch to a visible
134 window previous buffer, just like with the frame previous buffers.
135
fb5b8aca
CY
1362012-03-21 Chong Yidong <cyd@gnu.org>
137
138 * faces.el (make-face, make-empty-face, copy-face):
139 * face-remap.el (face-remap-add-relative, face-remap-set-base):
140 Doc fixes.
141
dc9924b8
SM
1422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * wid-edit.el (widget-complete-field): Remove (bug#11051).
145 (widget-complete): Remove broken use of it.
146
f0bcceb9
CY
1472012-03-20 Chong Yidong <cyd@gnu.org>
148
dc9924b8
SM
149 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
150 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
151 characters.
152
ee52ebf3
TH
1532012-03-20 Tassilo Horn <tassilo@member.fsf.org>
154
155 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
156 to draw rectangles, not squares. (Regression introduced by revno
157 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
158
4c5779ab
CY
1592012-03-18 Chong Yidong <cyd@gnu.org>
160
161 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
162 it is not yet defined (for temacs).
163
15360934
LL
1642012-03-18 Leo Liu <sdl.web@gmail.com>
165
dc9924b8 166 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 167
d9a8eb66
EZ
1682012-03-17 Eli Zaretskii <eliz@gnu.org>
169
170 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
171 (ispell-choices-win-default-height, ispell-silently-savep)
172 (ispell-dictionary-alist, ispell-encoding8-command)
173 (ispell-check-version, ispell-aspell-find-dictionary)
174 (ispell-valid-dictionary-list, ispell-words-keyword)
175 (ispell-get-word, ispell-internal-change-dictionary)
176 (ispell-region, ispell-skip-region-list)
177 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
178 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
179 (ispell-message-text-end, ispell-message)
180 (ispell-buffer-local-parsing): Doc fix.
181
f02ff80d
J
1822012-03-13 Jambunathan K <kjambunathan@gmail.com>
183
184 * htmlfontify.el: Add support for code block fontification for ODT
185 export (Bug #9914).
186 (hfy-optimisations): Define new option
187 `body-text-only'
188 (hfy-fontify-buffer): Honor above setting.
189 (hfy-begin-span, hfy-end-span): New routines factored out form
190 `hfy-fontify-buffer'.
191 (hfy-begin-span-handler, hfy-end-span-handler): New variables
192 that permit insertion of custom tags.
193 (hfy-fontify-buffer): Use above handlers.
194 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
195 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 196 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
197 over multiple runs. This is made possible by having the caller let
198 bind a special variable `hfy-user-sheet-assoc'.
199 (htmlfontify-string): New defun.
200 (hfy-compile-face-map): Make sure that the last char in the
201 buffer is correctly fontified.
202 (hfy-face-resolve-face): Whitespace only change.
203
9ac7a13f
EZ
2042012-03-17 Eli Zaretskii <eliz@gnu.org>
205
206 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
207 message more clear.
208
e2b5bdd7
LL
2092012-03-16 Leo Liu <sdl.web@gmail.com>
210
211 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
212
2e492df3
AM
2132012-03-16 Alan Mackenzie <acm@muc.de>
214
215 Further optimise the handling of large macros.
216
217 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
218 limit to a call of `c-literal-limits'.
219 (c-determine-+ve-limit): New function.
dc9924b8
SM
220 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
221 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
222 In CASE 5B, restrict a search limit to 500.
223 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
224
225 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
226 Restrict macro bounds to +-500 from after-change's BEG END.
227
50e94f0c
LL
2282012-03-16 Leo Liu <sdl.web@gmail.com>
229
230 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
231
6f09f6ed
AH
2322012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
233
234 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 235 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 236
c7e73d51
GM
2372012-03-16 Glenn Morris <rgm@gnu.org>
238
da986230
GM
239 * view.el (view-buffer, view-buffer-other-window)
240 (view-buffer-other-frame): Doc fixes re special mode-class.
241
0835f01e
GM
242 * subr.el (eval-after-load): If named feature is provided not from
243 a file, run after-load forms. (Bug#10946)
244
c7e73d51
GM
245 * calendar/calendar.el (calendar-insert-at-column):
246 Handle non-unit-width characters a bit better. (Bug#10978)
247
3f2eafd1
CY
2482012-03-15 Chong Yidong <cyd@gnu.org>
249
250 * emacs-lisp/ring.el (ring-extend): New function.
251 (ring-insert+extend): Extend the ring correctly (Bug#11019).
252
253 * comint.el (comint-read-input-ring)
254 (comint-add-to-input-history): Grow comint-input-ring lazily.
255
103af3fe
SM
2562012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
257
663b1677
SM
258 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
259 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
260
103af3fe
SM
261 * imenu.el: Fix multiple inheritance breakage (bug#9199).
262 (imenu-add-to-menubar): Don't add a redundant index.
263 (imenu-update-menubar): Handle a dynamically composed keymap.
264
899cb7cb
KY
2652012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
266
267 * mail/sendmail.el (mail-encode-header):
268 Bind rfc2047-encode-encoded-words to nil.
269
3809f91d
GM
2702012-03-13 Glenn Morris <rgm@gnu.org>
271
272 * calendar/calendar.el (calendar-string-spread):
273 Handle non-unit-width characters a bit better. (Bug#10978)
274
9e345a01
LL
2752012-03-13 Leo Liu <sdl.web@gmail.com>
276
277 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
278 directory and file as argument (Bug#10822).
279
4a07df36
KS
2802012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
281
282 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
283 For dynamically generated code, follow $PC.
284 (gdb-disassembly-handler-custom): Handle no function name case.
285
4aaa9356
TL
2862012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
287
288 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
289 * emulation/ws-mode.el (ws-query-replace):
290 * sort.el (sort-regexp-fields):
291 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
292
225979da
SM
2932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * dabbrev.el: Fix cycle completion order (bug#10963).
296 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
297 (dabbrev-completion): Don't use an obarray; provide
298 a cycle-sort-function.
299
e2f1fdab
LL
3002012-03-12 Leo Liu <sdl.web@gmail.com>
301
dc9924b8 302 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
303 (kill-do-not-save-duplicates): Doc fix.
304
b19490ed
SM
3052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * dabbrev.el: Fix cycle completion (bug#10963).
308 Use lexical binding and wrap to 80 columns.
309 (dabbrev-completion): Delay computing the list of completions.
310
4b05d722
KH
3112012-03-12 Kenichi Handa <handa@m17n.org>
312
313 * international/quail.el (quail-insert-kbd-layout): Surround each
314 row by LRO and PDF instead of inserting many LRMs. Pad the left
315 and right of each non-spacing marks. Insert invisible space
316 between lower and upper characters to prevent composition.
317
dbbc2e69
SM
3182012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
319
320 * minibuffer.el (minibuffer-complete): Don't get confused when the
321 function is run twice via different commands (bug#10958).
322 (complete-with-action): Fix docstring.
323
292112ed
CY
3242012-03-12 Chong Yidong <cyd@gnu.org>
325
5d1ac394
CY
326 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
327 (nxml-completion-at-point-function): New function.
328 (nxml-mode): Use it.
329 (nxml-bind-meta-tab-to-complete-flag): Default to t.
330
292112ed
CY
331 * emacs-lisp/package.el (package-unpack, package-unpack-single):
332 Load generated autoloads file before byte compiling (Bug#10970).
333 (package--make-autoloads-and-compile): New helper fun.
334
4098f8f7
CS
3352012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
336
337 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
338
8f754691
MA
3392012-03-11 Michael Albinus <michael.albinus@gmx.de>
340
341 * autorevert.el (auto-revert-handler): Ensure, that
342 file-readable-p is applied only for local files or in
343 auto-revert-tail-mode.
344
e29ab36b
AS
3452012-03-11 Andreas Schwab <schwab@linux-m68k.org>
346
dbbc2e69
SM
347 * server.el (server-eval-at): Handle non-tcp connections.
348 Decode result string.
ad0bf5b6 349
e29ab36b
AS
350 * server.el (server-msg-size): New constant.
351 (server-reply-print): New function.
352 (server-eval-and-print): Use it.
353 (server-eval-at): Use server-quote-arg and server-unquote-arg.
354 Handle -print-nonl.
355
de5939ba
CS
3562012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
357
358 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
359 (Bug#10987).
360
0c93eabf
CY
3612012-03-11 Chong Yidong <cyd@gnu.org>
362
397a688f
CY
363 * simple.el (goto-line): Doc fix (Bug#9938).
364
2cc775f9
CY
365 * subr.el (save-window-excursion): Doc fix (Bug#9979).
366
0c93eabf
CY
367 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
368 when finished (Bug#10963).
369
c491fa41
MR
3702012-03-11 Martin Rudalics <rudalics@gmx.at>
371
372 * window.el (split-window-below): Fix bug in case where
373 split-window-keep-point is nil (Bug#10971).
374
300e8fa5
JL
3752012-03-11 Juri Linkov <juri@jurta.org>
376
377 * replace.el (replace-highlight): Set isearch-word to nil
378 unconditionally. (Bug#10887)
379
dbf6c5a1
EZ
3802012-03-10 Eli Zaretskii <eliz@gnu.org>
381
382 * net/mairix.el (mairix-replace-invalid-chars): Rename from
383 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 384 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
385 (mairix-widget-create-query): Add usage information about mairix
386 search forms: negating words, searching for substrings, etc.
387
b9e501de
JP
3882012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
389
390 * international/fontset.el (font-encoding-alist): Add an entry for
391 ksx1001 (Bug#5667).
392
92795c91
RS
3932012-03-10 Richard Stallman <rms@gnu.org>
394
1694e6c1
RS
395 * mail/sendmail.el (mail-encode-header):
396 Set rfc2047-encode-encoded-words.
397
607e8555
RS
398 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
399
de3bc99a
RS
400 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
401 view buffer means not swapped.
402 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
403 (rmail-write-region-annotate): Error if real text has disappeared.
404
92795c91
RS
405 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
406
699bd04e
CY
4072012-03-10 Chong Yidong <cyd@gnu.org>
408
409 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
410 * emulation/cua-base.el (cua--init-keymaps):
411 Add delete-forward-char to remappings (Bug#9666).
699bd04e 412
570a1714
MR
4132012-03-10 Martin Rudalics <rudalics@gmx.at>
414
dbbc2e69
SM
415 * speedbar.el (speedbar-unhighlight-one-tag-line):
416 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 417
82dcf4e4
CY
4182012-03-10 Chong Yidong <cyd@gnu.org>
419
7a2c7ca7
CY
420 * minibuffer.el (completion-in-region, completion-help-at-point):
421 Give the completion field overlay a high priority (Bug#6830).
422
82dcf4e4
CY
423 * dired.el (dired-goto-file): Recognize absolute file name
424 listings (Bug#7126).
425 (dired-goto-file-1): New helper function.
426 (dired-toggle-read-only): Inhibit warnings.
427
052e28ac
MA
4282012-03-09 Michael Albinus <michael.albinus@gmx.de>
429
430 * net/dbus.el: (dbus-property-handler): Return empty array if
431 there are no properties.
432
95d5e396
LL
4332012-03-09 Leo Liu <sdl.web@gmail.com>
434
435 * savehist.el (savehist-printable): Stricter check for string
436 value (Bug#10937).
437
3f018d6d
EZ
4382012-03-09 Eli Zaretskii <eliz@gnu.org>
439
dbbc2e69
SM
440 * mail/smtpmail.el (smtpmail-send-it):
441 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
442 valid mbox format.
443
f7fd3d79
GM
4442012-03-09 Glenn Morris <rgm@gnu.org>
445
446 * files.el (dir-locals-find-file):
447 Don't check result is regular, readable.
448 (dir-locals-read-from-file): Demote errors.
449
6ff6e72f
EZ
4502012-03-08 Eli Zaretskii <eliz@gnu.org>
451
dbbc2e69
SM
452 * international/quail.el (quail-insert-kbd-layout):
453 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
454 layout cell, to prevent their reordering by bidi display engine.
455 For details, see the discussion in
456 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
457
9cec7834
AM
4582012-03-08 Alan Mackenzie <acm@muc.de>
459
460 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
461 the starting position; make it extend the marked region when
462 invoked repeatedly - all under appropriate circumstances.
463 Fixes bugs #5525, #10906.
464
9a40b8d4
GM
4652012-03-08 Glenn Morris <rgm@gnu.org>
466
467 * files.el (locate-dominating-file, dir-locals-find-file):
468 Undo 2012-03-06 change.
469
7a08ed35
EZ
4702012-03-07 Eli Zaretskii <eliz@gnu.org>
471
dbbc2e69
SM
472 * international/quail.el (quail-help):
473 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
474 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
475 for the reason.
476
5aca4f71 4772012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
478
479 Avoid superfluous registering of signals. (Bug#10807)
480
481 * notifications.el (notifications-on-action-object)
482 (notifications-on-close-object): New defvars.
483 (notifications-on-action-signal, notifications-on-closed-signal):
484 Unregister the signal if not needed any longer.
485 (notifications-notify): Register `notifications-action-signal' or
486 `notifications-closed-signal', if :on-action or :on-close has been
487 passed as argument.
488
78e8b10a
CY
4892012-03-07 Chong Yidong <cyd@gnu.org>
490
491 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
492 non-X platforms.
493
69481eb8
GM
4942012-03-06 Glenn Morris <rgm@gnu.org>
495
496 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
497 (x-disown-selection-internal, x-get-selection-internal):
498 Doc fix (add arglist signatures). (Bug#10783)
499
133b8e11
KS
5002012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
501
502 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
503 Handle breakpoints with no "type".
504
99a83064
GM
5052012-03-06 Glenn Morris <rgm@gnu.org>
506
507 * files.el (locate-dominating-file): Add optional predicate argument.
508 (dir-locals-find-file): Make use of above change.
509
17798e78
TTN
5102012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
511
512 * info.el (Info-insert-dir): Also try "dir.gz".
513
eb182446
GM
5142012-03-06 Glenn Morris <rgm@gnu.org>
515
8f2114ee
GM
516 * files.el (dir-locals-find-file):
517 Ignore non-readable or non-regular files. (Bug#10928)
518
eb182446
GM
519 * files.el (locate-dominating-file): Doc fix.
520
24679323
AS
5212012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
522
523 * calendar/calendar.el (calendar-set-mode-line):
524 `getenv' returns a string. (Bug#10951)
525
01d972a9
LL
5262012-03-05 Leo Liu <sdl.web@gmail.com>
527
109aa8a9
LL
528 * simple.el (backward-delete-char-untabify): Constrain point to
529 field (Bug#10939).
530
01d972a9
LL
531 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
532
10607bea
CY
5332012-03-05 Chong Yidong <cyd@gnu.org>
534
535 * simple.el (count-words): If called from Lisp, return the word
536 count, for symmetry with `count-lines'. Arglist changed.
537 (count-words--message): Args changed. Consolidate counting code
538 from count-words and count-words-region.
539 (count-words-region): Caller changed.
540 (count-lines-region): Make it an obsolete alias.
541
5dd11cfe
TH
5422012-03-04 Tassilo Horn <tassilo@member.fsf.org>
543
544 * saveplace.el (save-place-to-alist)
545 (save-place-ignore-files-regexp): Allow value nil to disable this
546 feature.
547
c349f4e6
CY
5482012-03-04 Chong Yidong <cyd@gnu.org>
549
550 * faces.el (face-spec-reset-face): For the default face, reset the
551 attributes to default values (Bug#10748).
552
e627be4c
LMI
5532012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
554
555 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
556 previous patch: Check `message-send-mail-function', and not the
557 default function (bug#10897).
558
ebeabff4
MA
5592012-03-04 Michael Albinus <michael.albinus@gmx.de>
560
a41a6cf4
MA
561 * notifications.el (notifications-on-action-signal)
562 (notifications-on-closed-signal): Check for unique service name of
563 incoming event. Fix error in removing entry.
ebeabff4 564 (top): Register for signals with wildcard service name.
a41a6cf4 565 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 566
c1ca42b4
CY
5672012-03-04 Chong Yidong <cyd@gnu.org>
568
dc9924b8 569 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 570
ea16568d
GM
5712012-03-04 Glenn Morris <rgm@gnu.org>
572
573 * abbrev.el (copy-abbrev-table, abbrev-table-p)
574 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
575 (expand-abbrev, define-abbrev-table): Doc fixes.
576
fbae4637
LMI
5772012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
578
579 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
580 `message-default-send-mail-function' and not `send-mail-function'
581 when doing the prompting for `sendmail-query-once' before sending
582 in Message buffers (bug#10897).
583
a1e7225c
LMI
584 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
585 This is inconsistent with all the other stream functions, which leave
586 the setting up to the higher levels (if so wanted) (bug#10931).
587
56d093a9
AM
5882012-03-02 Alan Mackenzie <acm@muc.de>
589
590 Depessimize the handling of very large macros.
591
592 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
593 (c-macro-cache-syntactic): New variables to implement a one
594 element macro cache.
595 (c-invalidate-macro-cache): New function.
596 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
597 Adapt to use the new cache.
598 (c-state-safe-place): Use better the cache of safe positions.
599 (c-state-semi-nonlit-pos-cache)
600 (c-state-semi-nonlit-pos-cache-limit):
601 New variables for...
602 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
603 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
604 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
605 Use c-state-semi-safe-place.
56d093a9 606
dbbc2e69
SM
607 * progmodes/cc-langs.el (c-get-state-before-change-functions):
608 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 609
817e5c3d
MA
6102012-03-02 Michael Albinus <michael.albinus@gmx.de>
611
dbbc2e69
SM
612 * jka-compr.el (jka-compr-call-process):
613 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
614 not remote.
615
a032a702
MA
6162012-03-01 Michael Albinus <michael.albinus@gmx.de>
617
618 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
619 access of FILE2, if FILE1 does not exist.
620
99a54f21
MA
621 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
622 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
623
624 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
625 Add "PAGER=" to `process-environment'.
626
f6561e1f
MM
6272012-03-01 Michael R. Mauger <mmaug@yahoo.com>
628
629 * progmodes/sql.el: Bug fix
630 (sql-get-login-ext): Save login values in globals.
631 (sql-get-login): Use new version of `sql-get-login-ext'.
632 (sql-interactive-mode): Set global `sql-connection' to nil.
633 (sql-connect): Set global values for connection.
634 (sql-product-interactive): Save global values as buffer local.
635
2d44d9cc
LL
6362012-02-29 Leo Liu <sdl.web@gmail.com>
637
638 * abbrev.el (define-abbrevs): Reset sys to nil.
639
96b49301 6402012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
641
bf7f9bc5
JB
642 * files.el (file-equal-p): Rename from `files-equal-p'.
643 Return nil when one or both files don't exist.
96b49301 644 (file-subdir-of-p): Now only top directory must exists,
645 return nil if it doesn't.
bf7f9bc5
JB
646 (copy-directory): No need to test with `file-subdir-of-p' after
647 creating dir.
648 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
649 to `file-equal-p'.
96b49301 650
44e97401
GM
6512012-02-28 Glenn Morris <rgm@gnu.org>
652
653 * shell.el (shell-mode):
654 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
655 * play/landmark.el (landmark-font-lock-face-O):
656 * play/handwrite.el (handwrite):
657 * play/gomoku.el (gomoku-O):
658 * net/browse-url.el (browse-url-browser-display):
659 * international/mule.el (define-charset):
660 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
661 * filesets.el (filesets-find-file-delay):
662 * eshell/em-xtra.el (eshell-xtra):
663 * eshell/em-unix.el (eshell-grep):
664 * emulation/viper.el (viper-mode):
665 * emacs-lisp/regexp-opt.el (regexp-opt-group):
666 * emacs-lisp/easymenu.el (easy-menu-define):
667 * calendar/timeclock.el (timeclock-use-display-time):
668 * bs.el (bs-mode):
669 * bookmark.el (bookmark-save-flag):
670 Doc fix (standardize possessive apostrophe usage).
671
c98c6276
CY
6722012-02-27 Chong Yidong <cyd@gnu.org>
673
bf7f9bc5
JB
674 * emulation/viper-cmd.el (viper-intercept-ESC-key):
675 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 676
c98c6276
CY
677 * font-lock.el (font-lock-specified-p): Rename from
678 font-lock-spec-present. Callers changed.
679
9c62cd04 6802012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 681
bf7f9bc5
JB
682 * emacs-lisp/package.el (package-compute-transaction):
683 Handle holding a package version to t in package-load-list.
8ac9e529 684
530739c9
MA
6852012-02-26 Michael Albinus <michael.albinus@gmx.de>
686
687 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
688 (tramp-get-inode, tramp-get-device): Use cached values.
689
487915d7
AM
6902012-02-26 Alan Mackenzie <acm@muc.de>
691
692 Check there is a font-lock specification before doing initial
693 fontification.
694
695 * font-core.el (font-lock-mode): Move the conditional from
696 :after-hook to font-lock-initial-fontify.
697 (font-lock-default-function): Move the check for a specification
698 to font-lock-spec-present.
699
dc9924b8 700 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
701 (font-lock-spec-present): New function.
702
4fd96557
JB
7032012-02-26 Jim Blandy <jimb@red-bean.com>
704
705 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
706 (gdb-send): Apply it to the operand of the '-interpreter-exec
707 console' command, so that we can pass arguments with (say) quotes
708 in them. Store exact string sent in gdb-debug-log (Bug#10765).
709
9a4888c0
CY
7102012-02-26 Chong Yidong <cyd@gnu.org>
711
07498861
CY
712 * help-fns.el (describe-function-1): Clarify description of
713 remapping (Bug#10844).
714
9a4888c0
CY
715 * files.el (files-equal-p): Doc fix.
716 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
717 and quit the loop once a mismatch is found.
718
ea8fb88d
JB
7192012-02-25 Juanma Barranquero <lekktu@gmail.com>
720
721 * bs.el (bs--show-with-configuration): Don't throw an error
722 if the window cannot be split; otherwise, subsequent calls to
723 bs-show fail, restoring a stale window config. (Bug#10882)
724
525795c1
JD
7252012-02-25 Jan Djärv <jan.h.d@swipnet.se>
726
727 * term/ns-win.el (global-map): Bind ns-drag-file to
728 ns-find-file (Bug#5855, Bug#10050).
729
f008086f
AS
7302012-02-25 Andreas Schwab <schwab@linux-m68k.org>
731
732 * calendar/parse-time.el (parse-time-string): Allow extractor to
733 return nil.
734
a3fcfa99
MA
7352012-02-25 Michael Albinus <michael.albinus@gmx.de>
736
91027d08
JB
737 * net/tramp.el (tramp-file-name-for-operation):
738 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
739
740 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
741 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
742 Add COPY-CONTENTS argument.
a3fcfa99 743
67b0de11
CY
7442012-02-25 Chong Yidong <cyd@gnu.org>
745
746 Add custom groups for VC backends, for consistency with vc-bzr.
747
748 * vc/vc-arch.el (vc-arch):
749 * vc/vc-cvs.el (vc-cvs):
750 * vc/vc-git.el (vc-git):
751 * vc/vc-hg.el (vc-hg):
752 * vc/vc-mtn.el (vc-mtn):
753 * vc/vc-rcs.el (vc-rcs):
754 * vc/vc-sccs.el (vc-sccs):
755 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
756 All relevant defcustoms reassigned.
757
3c9dfce6
CY
7582012-02-25 Chong Yidong <cyd@gnu.org>
759
1339bf43
CY
760 * newcomment.el (comment-styles): Add autoload (Bug#10868).
761
3c9dfce6
CY
762 * term/x-win.el (x-initialize-window-system): Reduce default for
763 x-selection-timeout to 5 seconds (Bug#8869).
764
53a46cd0 7652012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 766
53a46cd0 767 * files.el (file-subdir-of-p): Fix typo.
14a8a663 768
25b2e303 7692012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
770
ec70a47d
GM
771 * files.el (files-equal-p, file-subdir-of-p): New functions.
772 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 773 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
774 * dired-aux.el (dired-copy-file-recursive): Same.
775 (dired-create-files): Modify destination when source is equal to
776 dest when copying files.
53a46cd0 777 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 778
914260cd
MA
7792012-02-24 Michael Albinus <michael.albinus@gmx.de>
780
781 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
782 (Bug#10874)
783
2cb228f7
AM
7842012-02-23 Alan Mackenzie <acm@muc.de>
785
786 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
787 parameter "after-hook:" to allow the expansion to run code after
788 the execution of the mode hooks.
789
790 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 791 from font-lock-mode-internal.
2cb228f7 792
91027d08 793 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
794 :after-hook.
795
8f0fde21
SM
7962012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
797
3e88618b
SM
798 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
799 (completion--cache-all-sorted-completions): New function.
800 (completion-all-sorted-completions): Use it.
801 (completion--do-completion, minibuffer-force-complete):
802 Use it to re-instate the flush hook.
803
8f0fde21
SM
804 * icomplete.el (icomplete-completions): Replace last fix with a better
805 one (bug#10850).
806
8e911f6f
DG
8072012-02-23 Dmitry Gutov <dgutov@yandex.ru>
808
809 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
810 when it might call us back infinitely (bug#10797).
811
49fe4321
GM
8122012-02-23 Glenn Morris <rgm@gnu.org>
813
814 * minibuffer.el (completion-category-overrides): Doc fix.
815
b291b572
SM
8162012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * minibuffer.el (completion-table-with-context): Fix inf-loop.
819 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
820
31a9ef2e
GM
8212012-02-23 Glenn Morris <rgm@gnu.org>
822
5e6e6794 823 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
824 (authors-obsolete-files-regexps, authors-ignored-files)
825 (authors-ambiguous-files, authors-renamed-files-alist):
826 Add more entries.
827
0bd1e074
JL
8282012-02-23 Juri Linkov <juri@jurta.org>
829
830 * isearch.el (isearch-occur): Sync interactive spec with occur's
831 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
832
b617673c
JL
833 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
834
19e9789e
JL
8352012-02-22 Juri Linkov <juri@jurta.org>
836
837 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
838 (ucs-insert): Doc fix. Check for hex digits in the string.
839 Don't display `nil' in the error message. (Bug#10857)
840
f41ce09d
AM
8412012-02-22 Alan Mackenzie <acm@muc.de>
842
7a71b18d 843 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 844
ac2eceee
GM
8452012-02-22 Glenn Morris <rgm@gnu.org>
846
847 * ffap.el (ffap-c-path):
848 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
849
abd1f678
CY
8502012-02-22 Chong Yidong <cyd@gnu.org>
851
852 * custom.el (load-theme): Doc fix.
853
f25aef2e
GM
8542012-02-22 Glenn Morris <rgm@gnu.org>
855
856 * dired-x.el (dired-guess-shell-alist-default):
857 Remove escape sequences from nroff output. (Bug#172)
858
5f8dc2ca
GM
8592012-02-21 Glenn Morris <rgm@gnu.org>
860
6ff86ec4
GM
861 * vc/emerge.el (emerge-defvar-local):
862 Set `permanent-local' property rather than unused `preserved'.
863
be3223a3 864 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
865 (picture-mode-map): Use it. (Bug#10860)
866 (picture-mode): Doc fix.
867
3fe58f4f
JB
8682012-02-21 Juanma Barranquero <lekktu@gmail.com>
869
870 * newcomment.el (uncomment-region-default): Remove unused binding.
871
f9a998c3
GM
8722012-02-21 Glenn Morris <rgm@gnu.org>
873
874 * textmodes/picture.el (picture-motion, picture-motion-reverse)
875 (picture-self-insert, picture-tab-chars): Doc fix.
876 (picture-mode-map): Fix C-a, C-e.
877
c6029348
GM
8782012-02-20 Glenn Morris <rgm@gnu.org>
879
880 * emacs-lisp/authors.el (authors-aliases): Add another entry.
881
ab1ce9d7
LL
8822012-02-20 Leo Liu <sdl.web@gmail.com>
883
884 * icomplete.el (icomplete-completions): Check FROM arg before
885 passing to substring (Bug#10850).
886
0fd40f89
CY
8872012-02-19 Chong Yidong <cyd@gnu.org>
888
889 * comint.el: Require ansi-color.
890 (comint-output-filter-functions): Add ansi-color-process-output.
891
892 * ansi-color.el: Don't set comint-output-filter-functions; it is
893 now in the initial value defined in comint.el.
894 (ansi-color-apply-face-function): New variable.
895 (ansi-color-apply-on-region): Use it.
896 (ansi-color-apply-overlay-face): New function.
897
898 * shell.el (shell): No need to require ansi-color.
899 (shell-mode): Use ansi-color-apply-face-function to highlight
900 color escapes using font-lock-face property (Bug#10835).
901
20af2394
CY
9022012-02-19 Chong Yidong <cyd@gnu.org>
903
904 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
905 mode-line formats (Bug#10839).
906
e23a3fbe
GM
9072012-02-18 Glenn Morris <rgm@gnu.org>
908
b474519e
GM
909 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
910
911 * mail/undigest.el (unforward-rmail-message): Doc fix.
912
e23a3fbe
GM
913 * saveplace.el (save-place-ignore-files-regexp): Add :version.
914
57939ff4
EZ
9152012-02-18 Eli Zaretskii <eliz@gnu.org>
916
917 * international/characters.el (script-list): Sync with the latest
918 Unicode Character Database.
919
0c23686e
AS
9202012-02-18 Andreas Schwab <schwab@linux-m68k.org>
921
922 * international/titdic-cnv.el: Remove duplicate coding tag.
923 * language/cham.el: Likewise.
924 * language/tai-viet.el: Likewise.
925
6818b449
GM
9262012-02-18 Glenn Morris <rgm@gnu.org>
927
928 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
929 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
930 (calendar-bahai-all-holidays-flag, calendar-other-dates):
931 * calendar/diary-lib.el (diary-abbreviated-year-flag):
932 * calendar/holidays.el (holiday-bahai-holidays)
933 (calendar-holidays, list-holidays):
934 Use utf-8 Bahá'í in doc-strings, menus, etc.
935
0311a3fc
TH
9362012-02-17 Tassilo Horn <tassilo@member.fsf.org>
937
938 * saveplace.el (save-place-ignore-files-regexp): New variable
939 allowing for excluding files from saving their location of point.
940 The default value matches the temporary commit message editing
941 files from Git, SVN, Bazaar, and Mercurial.
942 (save-place-to-alist): Use it.
943
eb864a71
LM
9442012-02-17 Lawrence Mitchell <wence@gmx.li>
945 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * newcomment.el (uncomment-region-default): Don't leave extra space
948 when an arg is provided (bug#8150).
949
ee0ce425
TZ
9502012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
951
eb864a71 952 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 953
95ddf442
GM
9542012-02-17 Glenn Morris <rgm@gnu.org>
955
956 * net/socks.el: Require network-stream. (Bug#10599)
957
48dd1e39 9582012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
959
960 * international/charprop.el:
961 * international/uni-name.el:
962 * international/uni-old-name.el:
963 * international/uni-comment.el: Regenerate.
964
d68cd087
GM
9652012-02-16 Glenn Morris <rgm@gnu.org>
966
967 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
968 Interactively in calendar buffer, give an error if not on a date.
969
13932042
GM
9702012-02-15 Glenn Morris <rgm@gnu.org>
971
972 * shell.el (shell-delimiter-argument-list):
973 Revert 2011-02-17 change. (Bug#8027)
974
c3a70e2b
CY
9752012-02-15 Chong Yidong <cyd@gnu.org>
976
60236b0d
CY
977 * minibuffer.el (completion-at-point-functions): Doc fix.
978
c3a70e2b
CY
979 * custom.el (defcustom): Doc fix; note use of defvar.
980
9f26dc24
GM
9812012-02-15 Glenn Morris <rgm@gnu.org>
982
983 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
984 Doc fixes.
985
6546b134
GM
9862012-02-14 Glenn Morris <rgm@gnu.org>
987
988 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
989
d29b2b4c
LI
9902012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
991
992 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
993 way the ports list is computed.
835bdcba
LI
994 (smtpmail-query-smtp-server): Prompt the user for a port number if
995 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 996
08dcdbc9
TZ
9972012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
998
999 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1000
2605051a
GM
10012012-02-13 Glenn Morris <rgm@gnu.org>
1002
1003 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1004
7ee99f32
TZ
10052012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1006
1007 * net/gnutls.el (gnutls-trustfiles): New variable.
1008 (gnutls-negotiate): Use it.
1009
5f0af64f
LI
10102012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1011
1012 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1013 does its stuff if Gnus is running.
1014
c14fcc95
AM
10152012-02-13 Alan Mackenzie <acm@muc.de>
1016
1017 Fix a loop in c-set-fl-decl-start.
1018
7a71b18d 1019 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1020 c-backward-syntactic-ws actually moves backwards.
1021
142b4d90
LL
10222012-02-13 Leo Liu <sdl.web@gmail.com>
1023
1024 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1025 beginning so that all \C-o chars are removed.
1026
fa9958a6
TZ
10272012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1028
dc9924b8 1029 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1030
0bc5886a
AM
10312012-02-12 Alan Mackenzie <acm@muc.de>
1032
1033 Fix infinite loop with long macros.
1034 * cc-engine.el (c-state-safe-place): Handle macros properly.
1035
d4bd55e7
CY
10362012-02-12 Chong Yidong <cyd@gnu.org>
1037
1038 * window.el (display-buffer): Doc fix (Bug#10785).
1039
66f3fe22
GM
10402012-02-12 Glenn Morris <rgm@gnu.org>
1041
bd7da63e
GM
1042 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1043 (x-disown-selection-internal, x-get-selection-internal):
1044 Sync docs with the xselect.c versions.
1045
66f3fe22
GM
1046 * allout-widgets.el: Add missing license notice.
1047
3e0d2fa7
GM
10482012-02-11 Glenn Morris <rgm@gnu.org>
1049
cfecdf09
GM
1050 * select.el (x-get-selection-internal, x-own-selection-internal)
1051 (x-disown-selection-internal):
1052 * x-dnd.el (x-get-selection-internal): Update declarations.
1053
6d216d7f
GM
1054 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1055
2bed3f04
GM
1056 * window.el (window-sides-slots):
1057 * tool-bar.el (tool-bar-position):
1058 * term/xterm.el (xterm-extra-capabilities):
1059 * ses.el (ses-self-reference-early-detection):
1060 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1061 (verilog-auto-wire-type)
1062 (verilog-auto-delete-trailing-whitespace)
1063 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1064 (verilog-auto-tieoff-declaration):
1065 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1066 (sql-oracle-statement-starters, sql-oracle-scan-on):
1067 * progmodes/prolog.el (prolog-align-comments-flag)
1068 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1069 (prolog-left-indent-regexp, prolog-paren-indent-p)
1070 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1071 (prolog-types, prolog-mode-specificators)
1072 (prolog-determinism-specificators, prolog-directives)
1073 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1074 (prolog-electric-dot-flag)
1075 (prolog-electric-dot-full-predicate-template)
1076 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1077 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1078 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1079 (prolog-program-switches, prolog-prompt-regexp)
1080 (prolog-debug-on-string, prolog-debug-off-string)
1081 (prolog-trace-on-string, prolog-trace-off-string)
1082 (prolog-zip-on-string, prolog-zip-off-string)
1083 (prolog-use-standard-consult-compile-method-flag)
1084 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1085 (prolog-imenu-max-lines, prolog-info-predicate-index)
1086 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1087 (prolog-char-quote-workaround):
1088 * progmodes/cc-vars.el (c-defun-tactic):
1089 * net/tramp.el (tramp-encoding-command-interactive)
1090 (tramp-local-end-of-line):
1091 * net/soap-client.el (soap-client):
1092 * net/netrc.el (netrc-file):
1093 * net/gnutls.el (gnutls):
1094 * minibuffer.el (completion-category-overrides)
1095 (completion-cycle-threshold)
1096 (completion-pcm-complete-word-inserts-delimiters):
1097 * man.el (Man-name-local-regexp):
1098 * mail/feedmail.el (feedmail-display-full-frame):
1099 * international/characters.el (glyphless-char-display-control):
1100 * eshell/em-ls.el (eshell-ls-date-format):
1101 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1102 (lisp-lambda-list-keyword-parameter-indentation)
1103 (lisp-lambda-list-keyword-parameter-alignment):
1104 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1105 * dired-x.el (dired-omit-verbose):
1106 * cus-theme.el (custom-theme-allow-multiple-selections):
1107 * calc/calc.el (calc-highlight-selections-with-faces)
1108 (calc-lu-field-reference, calc-lu-power-reference)
1109 (calc-note-threshold):
1110 * battery.el (battery-mode-line-limit):
1111 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1112 (archive-7z-update):
1113 * allout.el (allout-prefixed-keybindings)
1114 (allout-unprefixed-keybindings)
1115 (allout-inhibit-auto-fill-on-headline)
1116 (allout-flattened-numbering-abbreviation):
1117 * allout-widgets.el (allout-widgets-auto-activation)
1118 (allout-widgets-icons-dark-subdir)
1119 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1120 (allout-widgets-theme-dark-background)
1121 (allout-widgets-theme-light-background)
1122 (allout-widgets-item-image-properties-emacs)
1123 (allout-widgets-item-image-properties-xemacs)
1124 (allout-widgets-run-unit-tests-on-load)
1125 (allout-widgets-time-decoration-activity)
1126 (allout-widgets-hook-error-post-time)
1127 (allout-widgets-track-decoration):
1128 Add missing :version tags to new defcustoms and defgroups.
1129
5fec1b8e
GM
1130 * progmodes/sql.el (sql-ansi-statement-starters)
1131 (sql-oracle-statement-starters): Add custom type.
1132
3e0d2fa7
GM
1133 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1134 (prolog-system-version): Give it a type.
1135
90b671e2
EZ
11362012-02-11 Eli Zaretskii <eliz@gnu.org>
1137
1138 * term/pc-win.el (x-select-text, x-selection-owner-p)
1139 (x-own-selection-internal, x-disown-selection-internal)
1140 (x-get-selection-internal): Sync doc strings and argument lists
1141 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1142
5eac0c02
LL
11432012-02-11 Leo Liu <sdl.web@gmail.com>
1144
1145 * progmodes/python.el (python-end-of-statement): Fix infinite
1146 loop. (Bug#10788)
1147
f82cb659
GM
11482012-02-10 Glenn Morris <rgm@gnu.org>
1149
1150 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1151 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1152
cc26d239
LI
11532012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1154
1155 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1156 about SMTP before checking the From header.
1157
91027d08 1158 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1159 into own function for reuse by emacsbug.el.
1160
1be3ca5a
LL
11612012-02-10 Leo Liu <sdl.web@gmail.com>
1162
1163 * subr.el (condition-case-unless-debug): Rename from
1164 condition-case-no-debug. All callers changed.
1165 (with-demoted-errors): Fix caller.
1166
1167 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1168 * nxml/rng-valid.el (rng-do-some-validation):
1169 * emacs-lisp/package.el (package-refresh-contents)
1170 (package-menu-execute):
1171 * desktop.el (desktop-create-buffer):
91027d08 1172 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1173
b011fbfe
GM
11742012-02-10 Glenn Morris <rgm@gnu.org>
1175
b2096d72
GM
1176 * textmodes/bibtex.el:
1177 Add missing :version tags for new/changed defcustoms.
1178
b011fbfe
GM
1179 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1180
4c7e65bf
LI
11812012-02-09 Lars Ingebrigtsen <larsi@rusty>
1182
1183 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1184 (smtpmail-via-smtp): Use it, or fall back on the From address.
1185 (smtpmail-send-it): Ditto.
1186
f3934f6f
SM
11872012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1190 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1191 (byte-compile-tmp-var): New const.
1192 (byte-compile-defvar): Use it to minimize .elc size.
1193 Just use `defvar' rather than simulate it (bug#10761).
1194
a075a2c5
GM
11952012-02-09 Glenn Morris <rgm@gnu.org>
1196
cf3aa21b
GM
1197 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1198
354998cd
GM
1199 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1200 Add :version tags.
1201
dc9924b8
SM
1202 * progmodes/compile.el (compilation-error-screen-columns)
1203 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1204
dab3703d
GM
1205 * vc/log-view.el (log-view-toggle-entry-display):
1206 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1207
3f88cd72
GM
1208 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1209 (report-emacs-bug-can-use-xdg-email):
1210 (report-emacs-bug-insert-to-mailer): Doc fixes.
1211 (report-emacs-bug): Message fix.
1212
d95b247d
GM
1213 * net/browse-url.el (browse-url-can-use-xdg-open)
1214 (browse-url-xdg-open): Doc fixes.
1215
a075a2c5
GM
1216 * electric.el (electric-indent-mode, electric-pair-mode)
1217 (electric-layout-rules, electric-layout-mode): Doc fixes.
1218 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1219
ffb6157e
MR
12202012-02-08 Martin Rudalics <rudalics@gmx.at>
1221
1222 * server.el (server-unselect-display): Don't inadvertently kill
1223 the current buffer. (Bug#10729)
1224
e1ac4066
GM
12252012-02-08 Glenn Morris <rgm@gnu.org>
1226
34e8a2da
GM
1227 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1228 (sql-list-table): Doc fixes.
1229
b4ac6e8c
GM
1230 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1231 Comment out (does nothing).
1232
e1ac4066
GM
1233 * completion.el (dynamic-completion-mode):
1234 * dirtrack.el (dirtrack-debug-mode):
1235 * electric.el (electric-layout-mode):
1236 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1237 * face-remap.el (text-scale-mode, buffer-face-mode):
1238 * iimage.el (iimage-mode):
1239 * image-mode.el (image-transform-mode):
1240 * minibuffer.el (completion-in-region-mode):
1241 * scroll-lock.el (scroll-lock-mode):
1242 * simple.el (next-error-follow-minor-mode):
1243 * tar-mode.el (tar-subfile-mode):
1244 * tooltip.el (tooltip-mode):
1245 * vcursor.el (vcursor-use-vcursor-map):
1246 * wid-browse.el (widget-minor-mode):
1247 * emulation/tpu-edt.el (tpu-edt-mode):
1248 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1249 * international/iso-ascii.el (iso-ascii-mode):
1250 * language/thai-util.el (thai-word-mode):
1251 * mail/supercite.el (sc-minor-mode):
1252 * net/goto-addr.el (goto-address-mode):
1253 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1254 * progmodes/cwarn.el (cwarn-mode):
1255 * progmodes/flymake.el (flymake-mode):
1256 * progmodes/glasses.el (glasses-mode):
1257 * progmodes/hideshow.el (hs-minor-mode):
1258 * progmodes/pascal.el (pascal-outline-mode):
1259 * textmodes/enriched.el (enriched-mode):
1260 * vc/smerge-mode.el (smerge-mode):
1261 Doc fixes (minor mode argument).
1262
5e0d957f
EZ
12632012-02-07 Eli Zaretskii <eliz@gnu.org>
1264
1265 * ls-lisp.el (ls-lisp-sanitize): New function.
1266 (ls-lisp-insert-directory): Use it to fix or remove any elements
1267 in file-alist with missing attributes. (Bug#4673)
1268
98d7371e
AM
12692012-02-07 Alan Mackenzie <acm@muc.de>
1270
1271 Fix spurious recognition of c-in-knr-argdecl.
1272
1273 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1274 putative K&R region.
1275
667ced3a
AM
12762012-02-07 Alan Mackenzie <acm@muc.de>
1277
eb864a71
LM
1278 * progmodes/cc-engine.el (c-forward-objc-directive):
1279 Prevent looping in "#pragma mark @implementation".
667ced3a 1280
5b77774d
MA
12812012-02-07 Michael Albinus <michael.albinus@gmx.de>
1282
1283 * notifications.el (notifications-on-closed-signal): Make `reason'
1284 optional. (Bug#10744)
1285
af008560
GM
12862012-02-07 Glenn Morris <rgm@gnu.org>
1287
60d47423
GM
1288 * emacs-lisp/easy-mmode.el (define-minor-mode):
1289 Doc fixes for the macro and the mode it defines.
1290
dd605cc4
GM
1291 * image.el (imagemagick-types-inhibit): Doc fix.
1292
af008560
GM
1293 * cus-start.el (imagemagick-render-type): Add it.
1294
5cc59a37
LI
12952012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1296
1297 * progmodes/cc-mode.el
1298 (c-standard-font-lock-fontify-region-function): Set the default at
1299 load time, too, so that `font-lock-fontify-buffer' can be called
1300 without setting up the entire mode first. This fixes a bug in
1301 `mm-inline-text' with C MIME parts.
1302
9a6dd747
CY
13032012-02-06 Chong Yidong <cyd@gnu.org>
1304
2d16b285
CY
1305 * simple.el (list-processes--refresh): Delete exited processes
1306 (Bug#8094).
1307
171e9b6e
CY
1308 * comint.el (comint-next-prompt): next-single-char-property-change
1309 and prev-single-char-property-change never return nil (Bug#8657).
1310
9a6dd747
CY
1311 * custom.el (defcustom): Doc fix (Bug#9711).
1312
aa4589a7
CY
13132012-02-05 Chong Yidong <cyd@gnu.org>
1314
5c2a252f
CY
1315 * cus-edit.el (custom-variable-reset-backup): Quote the value
1316 before storing it in the customized-value property (Bug#6712).
4aab9006 1317 (custom-display): Add a customization type tag.
983b9602 1318 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1319
aa4589a7
CY
1320 * wid-edit.el (widget-field-value-get): New optional arg to
1321 suppress trailing whitespace truncation.
1322 (character): Use it (Bug#2689).
1323
1ff980ae
AS
13242012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1325
1326 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1327 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1328
03988c98
CY
13292012-02-05 Chong Yidong <cyd@gnu.org>
1330
eeb6cc88
CY
1331 * cus-edit.el (custom-variable-value-create): For mismatched
1332 types, show the current value (Bug#7600).
1333
03988c98
CY
1334 * custom.el (defcustom): Doc fix.
1335
f8cdeef0
GM
13362012-02-05 Glenn Morris <rgm@gnu.org>
1337
1338 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1339
0696d255
JB
13402012-02-05 Juanma Barranquero <lekktu@gmail.com>
1341
1342 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1343 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1344 (pp-last-sexp): Use `looking-at-p'.
1345
34c99998
GM
13462012-02-04 Glenn Morris <rgm@gnu.org>
1347
8f05da42
GM
1348 * files.el (revert-buffer):
1349 Doc fix (mention revert-buffer-in-progress-p).
1350
f160676e
GM
1351 * emacs-lisp/ert-x.el (ert-simulate-command):
1352 Check deferred-action-list (which is obsolete) is bound.
1353
c7291ad9
GM
1354 * subr.el (with-wrapper-hook): Doc fixes.
1355
34c99998
GM
1356 * simple.el (filter-buffer-substring-functions)
1357 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1358
6283a7d3
LL
13592012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1360
1361 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1362 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1363
e96e3013
LL
13642012-02-04 Leo Liu <sdl.web@gmail.com>
1365
1366 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1367
8ded50f2
GM
13682012-02-04 Glenn Morris <rgm@gnu.org>
1369
82ff1d13
GM
1370 * image.el (image-extension-data): Add obsolete alias.
1371
987a0a16
GM
1372 * isearch.el (isearch-update): Doc fix.
1373
ea32ef46
GM
1374 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1375
8ded50f2
GM
1376 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1377
eea14f31
GM
13782012-02-03 Glenn Morris <rgm@gnu.org>
1379
1380 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1381 (image-animate-timeout): Doc fix.
1382
1383 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1384
12f381b7
GM
13852012-02-02 Glenn Morris <rgm@gnu.org>
1386
953cebf5
GM
1387 * server.el (server-auth-dir): Doc fix.
1388 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1389
12f381b7
GM
1390 * subr.el (run-mode-hooks): Doc fix.
1391
953a8c3b
JL
13922012-02-02 Juri Linkov <juri@jurta.org>
1393
1394 * image-mode.el (image-toggle-display-image): Remove tautological
1395 `major-mode' from the `derived-mode-p' test.
1396
c5d3843c
KH
13972012-02-02 Kenichi Handa <handa@m17n.org>
1398
9f6e692e 1399 * composite.el (compose-region): Cancel previous change.
c5d3843c 1400
159462d4 14012012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1402
1403 * composite.el (compose-region, compose-string): Signal error for
1404 a null string component (Bug#6988).
1405
9f562668
CY
14062012-02-01 Chong Yidong <cyd@gnu.org>
1407
e2cef717
CY
1408 * view.el (view-buffer-other-window, view-buffer-other-frame):
1409 Handle special modes like view-buffer (Bug#10650).
1410 (view-buffer): Simplify.
1411
9f562668
CY
1412 * frame.el (set-frame-font): Tweak meaning of third argument.
1413
9f6e692e
JB
1414 * dynamic-setting.el (font-setting-change-default-font):
1415 Use set-frame-font (Bug#9982).
9f562668 1416
781acb9f
GM
14172012-02-01 Glenn Morris <rgm@gnu.org>
1418
6035be52
GM
1419 * progmodes/compile.el (compilation-internal-error-properties):
1420 Respect compilation-first-column in the "*compilation*" buffer.
1421
781acb9f
GM
1422 * emacs-lisp/easy-mmode.el (define-minor-mode):
1423 Relax :variable's test for a named function.
1424
abbceb00
AM
14252012-01-31 Alan Mackenzie <acm@muc.de>
1426
1427 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1428 off by one error.
1429
fce3fdeb
CY
14302012-01-31 Chong Yidong <cyd@gnu.org>
1431
1432 * frame.el (set-frame-font): New arg ALL-FRAMES.
1433
1434 * menu-bar.el (menu-set-font): Use set-frame-font.
1435
1436 * faces.el (face-spec-reset-face): Don't apply unspecified
1437 attribute values to the default face.
1438
47893581
JB
14392012-01-31 Juanma Barranquero <lekktu@gmail.com>
1440
1441 * progmodes/cwarn.el (cwarn): Remove dead link.
1442 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1443 Remove * from defcustom docstrings.
1444 (turn-on-cwarn-mode): Make obsolete.
1445 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1446 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1447
e58e988a
GM
14482012-01-31 Glenn Morris <rgm@gnu.org>
1449
60dc2671 1450 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1451 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1452 Allow named functions to be used as the cdr of :variable.
e58e988a 1453
7a3f511d
GM
14542012-01-30 Glenn Morris <rgm@gnu.org>
1455
1456 * emacs-lisp/authors.el (authors-fixed-entries):
1457 Remove reference to deleted file rnewspost.el.
1458
cb882333
JB
14592012-01-29 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * window.el (window-with-parameter): Remove unused variable `windows'.
1462 (window--side-check): Remove unused variable `code'.
1463 (window--resize-siblings): Remove unused variable `first'.
1464 (adjust-window-trailing-edge): Remove unused variable `failed'.
1465 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1466 Use `let', not `let*'.
1467 (balance-windows-2): Remove unused variable `found'.
1468 (window--state-put-2): Remove unused variable `splits'.
1469 (window-state-put): Remove unused variable `selected'.
1470 (same-window-p): Use `string-match-p'.
1471 (display-buffer-assq-regexp): Remove unused variable `value'.
1472 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1473 Mark argument ALIST as ignored.
1474 (pop-to-buffer): Remove unused variable `old-window'.
1475
907201af
EZ
14762012-01-29 Eli Zaretskii <eliz@gnu.org>
1477
1478 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1479 and .lzma compressed files.
1480
ea162670
CY
14812012-01-29 Chong Yidong <cyd@gnu.org>
1482
5b95ee8a
CY
1483 * frame.el (window-system-default-frame-alist): Doc fix.
1484
ea162670
CY
1485 * dynamic-setting.el (font-setting-change-default-font): Don't
1486 change the default face if SET-FONT argument is non-nil (Bug#9982).
1487
d6e6f4b1
SB
14882012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1489
1490 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1491
0f29fa41 14922012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1493
1494 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1495 breakpoints in files outside current directory (Bug#6098).
1496
db174434
CY
14972012-01-29 Chong Yidong <cyd@gnu.org>
1498
6b25e4e2
SE
1499 * progmodes/python.el: Require ansi-color at top-level.
1500
6df6ae42
JB
1501 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1502 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1503 (lisp-mode-abbrev-table): Add doc.
1504 (lisp-mode-variables): Don't set local-abbrev-table.
1505 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1506
e70ee681
RW
15072012-01-28 Roland Winkler <winkler@gnu.org>
1508
1509 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1510
ace88aa2
RW
15112012-01-28 Roland Winkler <winkler@gnu.org>
1512
1513 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1514 (bibtex-set-dialect): Use it. Either set global values of
1515 dialect-dependent variables or bind these variables buffer-locally
1516 (Bug#10254).
1517 (bibtex-mode): Call bibtex-set-dialect via
1518 hack-local-variables-hook.
eb864a71
LM
1519 (bibtex-dialect): Update docstring.
1520 Add safe-local-variable predicate.
ace88aa2
RW
1521 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1522 bibtex-set-dialect.
1523 (bibtex-mode-map): Define menu for each dialect.
1524 (bibtex-entry): Fix docstring.
1525
93376c5b
CY
15262012-01-28 Chong Yidong <cyd@gnu.org>
1527
1528 * eshell/esh-arg.el (eshell-quote-argument): New function.
1529
1530 * eshell/esh-ext.el (eshell-invoke-batch-file):
1531 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1532 first arg to eshell-parse-command (Bug#10523).
1533
4372494f
DA
15342012-01-28 Drew Adams <drew.adams@oracle.com>
1535
1536 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1537 `default-directory' is non-nil.
1538
4d4ec1f8
EZ
15392012-01-28 Eli Zaretskii <eliz@gnu.org>
1540
1541 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1542 line that displays system-configuration-options. (Bug#9924)
1543
7c188927
DA
15442012-01-28 Drew Adams <drew.adams@oracle.com>
1545
1546 * descr-text.el (describe-char): Show information about POS, in
1547 addition to information about the character at POS. Improve and
1548 update the doc string. Change "code point" to "code point in
1549 charset", to avoid confusion with the character's Unicode code
1550 point shown above that. (Bug#10129)
1551
e0da685a
EZ
15522012-01-28 Eli Zaretskii <eliz@gnu.org>
1553
1554 * descr-text.el (describe-char): Show the raw character, not only
1555 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1556 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1557 for the reasons.
1558
70550acf
PH
15592012-01-28 Phil Hagelberg <phil@hagelb.org>
1560
eb864a71
LM
1561 * emacs-lisp/package.el (package-install):
1562 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1563
0ce8e868
CY
15642012-01-28 Chong Yidong <cyd@gnu.org>
1565
cb882333
JB
1566 * emacs-lisp/package.el (package-maybe-load-descriptor):
1567 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1568 (package-maybe-load-descriptor): Use it.
1569 (package-download-transaction): Fully load required packages
1570 inside the loop, so that `require' calls work (Bug#10593).
1571 (package-install): No need to call package-initialize now.
1572
2e7f3bea
CY
15732012-01-28 Chong Yidong <cyd@gnu.org>
1574
6e9bad14
CY
1575 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1576
f823b8ca
CY
1577 * tooltip.el (tooltip-mode): Doc fix.
1578 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1579
2680c309
CY
1580 * frame.el (set-cursor-color): Doc fix (Bug#352).
1581
d7a9e63b
CY
1582 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1583 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1584
2e7f3bea
CY
1585 * cus-edit.el (custom-buffer-create-internal): Fix search button
1586 action (Bug#10542).
2ae01800 1587 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1588
fc4f7a23
EW
15892012-01-27 Eduard Wiebe <usenet@pusto.de>
1590
1591 * dired.el (dired-mark-files-regexp):
1592 Include any subdirectory components. (Bug#10445)
1593
7dd37071
ML
15942012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1595
1596 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1597 Handle [host]:port syntax. (Bug#10533)
1598
a268160b
AH
15992012-01-27 Alex Harsanyi <harsanyi@mac.com>
1600
1601 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1602
e43273ef
GM
16032012-01-26 Glenn Morris <rgm@gnu.org>
1604
1605 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1606 * term.el (term-raw-escape-map): Use Control-X-prefix.
1607 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1608
1edf595d
MR
16092012-01-25 Martin Rudalics <rudalics@gmx.at>
1610
1611 * window.el (window-state-get, window--state-get-1): Don't deal
1612 with fixed-sizeness of windows. Simplify code.
1613
fa8eafef
JC
16142012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1615
6df6ae42
JB
1616 * window.el (window--state-get-1, window--state-put-2):
1617 Don't save and restore the mark.
fa8eafef 1618
0b21c100
CY
16192012-01-25 Chong Yidong <cyd@gnu.org>
1620
1621 * custom.el (custom-variable-p): Doc fix.
1622
5ae1a6c8
GM
16232012-01-25 Glenn Morris <rgm@gnu.org>
1624
40047858
GM
1625 * dired.el (dired-goto-file): Handle some of the more common
1626 characters that `ls -b' escapes. (Bug#10596)
1627
5ddce96c
GM
1628 * progmodes/compile.el (compilation-next-error-function):
1629 Respect compilation-first-column in the "*compilation*" buffer.
1630 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1631
5ae1a6c8
GM
1632 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1633
b559f1a9
GM
16342012-01-24 Glenn Morris <rgm@gnu.org>
1635
1636 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1637
6725d21a
JD
16382012-01-24 Julien Danjou <julien@danjou.info>
1639
1640 * color.el (color-rgb-to-hsl): Fix value computing.
1641 (color-hue-to-rgb): New function.
1642 (color-hsl-to-rgb): New function.
1643 (color-clamp, color-saturate-hsl, color-saturate-name)
1644 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1645 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1646
70df4bbe
GM
16472012-01-24 Glenn Morris <rgm@gnu.org>
1648
1649 * vc/vc-rcs.el (vc-rcs-create-tag):
1650 * vc/vc-sccs.el (vc-sccs-create-tag):
1651 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1652
802a2ae2
ML
16532012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1654
1655 * eshell/esh-util.el (eshell-read-hosts-file):
1656 Skip comment lines. (Bug#10549)
1657
d7128bb1
ML
1658 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1659
d1a5c3b4
JB
16602012-01-23 Juanma Barranquero <lekktu@gmail.com>
1661
2724d9c7
JB
1662 * subr.el (display-delayed-warnings): Doc fix.
1663 (collapse-delayed-warnings): New function to collapse identical
1664 adjacent warnings.
1665 (delayed-warnings-hook): Add it.
d1a5c3b4 1666
a5509865
MA
16672012-01-22 Michael Albinus <michael.albinus@gmx.de>
1668
1669 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1670
1671 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1672 properties, when "login-as" is set.
1673
1674 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1675 (tramp-default-user-alist): Don't add "pscp".
1676 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1677 property "login-as", if set. (Bug#10530)
1678
cc6d5805
MA
16792012-01-21 Michael Albinus <michael.albinus@gmx.de>
1680
1681 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1682 "plink1" and "psftp". (Bug#10530)
1683
16842012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1685
1686 * international/mule-cmds.el (prefer-coding-system): Show a
1687 warning message if the default value of file-name-coding-system
1688 was not changed.
1689
f0960428
JC
16902012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1691
cb882333
JB
1692 * windmove.el (windmove-reference-loc):
1693 Fix windmove-reference-loc miscalculation.
f0960428 1694
dd6f2a63
JB
16952012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1696
1697 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1698 default unit.
1699
7b447e9b
GM
17002012-01-21 Glenn Morris <rgm@gnu.org>
1701
117a9ea1
GM
1702 * international/mule.el (auto-coding-alist): Add .tbz.
1703
7b447e9b
GM
1704 * files.el (local-enable-local-variables): Doc fix.
1705 (inhibit-local-variables-regexps): Rename from
1706 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1707 Doc fix. Add some extensions from auto-coding-alist.
1708 (inhibit-local-variables-suffixes):
1709 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1710 (inhibit-local-variables-p):
1711 New function, extracted from set-auto-mode-1.
1712 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1713 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1714 (hack-local-variables): Doc fix. Make the mode-only case
1715 respect enable-local-variables and friends.
1716 Respect inhibit-local-variables-regexps for file-locals, but
1717 not for directory-locals.
1718 (set-visited-file-name):
1719 Take account of inhibit-local-variables-regexps.
1720 Whether it applies may change as the file name is changed.
1721 * jka-cmpr-hook.el (jka-compr-install):
1722 * jka-compr.el (jka-compr-uninstall):
1723 Update for inhibit-first-line-modes-suffixes name change.
1724
dd6e3cdd
MR
17252012-01-20 Martin Rudalics <rudalics@gmx.at>
1726
1727 * help-macro.el (make-help-screen): Temporarily restore original
1728 binding for minor-mode-map-alist (Bug#10454).
1729
0d0deb38
JD
17302012-01-19 Julien Danjou <julien@danjou.info>
1731
1732 * color.el (color-name-to-rgb): Use the white color to find the max
1733 color component value and return correctly computed values.
1734 (color-name-to-rgb): Add missing float conversion for max value.
1735
34a02f46
MR
17362012-01-19 Martin Rudalics <rudalics@gmx.at>
1737
1738 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1739 special state value for window-persistent-parameters.
1740 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1741 (window--state-put-2): Reset all window parameters to nil before
1742 assigning values of persistent parameters.
1743
606c44c4
AM
17442012-01-18 Alan Mackenzie <acm@muc.de>
1745
1746 Eliminate sluggishness and hangs in fontification of "semicolon
1747 deserts".
1748
cb882333
JB
1749 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1750 Change value 10000 -> 3000.
606c44c4
AM
1751 (c-state-safe-place): Reformulate so it doesn't stack up an
1752 infinite number of wrong entries in c-state-nonlit-pos-cache.
1753 (c-determine-limit-get-base, c-determine-limit): New functions to
1754 determine backward search limits disregarding literals.
1755 (c-find-decl-spots): Amend commenting.
1756 (c-cheap-inside-bracelist-p): New function which detects "={".
1757
1758 * progmodes/cc-fonts.el
1759 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1760 backward search.
1761 (c-font-lock-declarations): Fix an occurrence of point being
1762 undefined. Check additionally for point being in a bracelist or
1763 near a macro invocation without a semicolon so as to avoid a
1764 fruitless time consuming search for a declarator. Give a more
1765 precise search limit for declarators using the new
1766 c-determine-limit.
1767
f3860cea
GM
17682012-01-18 Glenn Morris <rgm@gnu.org>
1769
1770 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1771 (set-auto-mode): Doc fixes.
1772
1db03b16
GM
17732012-01-17 Glenn Morris <rgm@gnu.org>
1774
0e6038be
GM
1775 * isearch.el (search-nonincremental-instead): Fix doc typo.
1776
1db03b16
GM
1777 * dired.el (dired-insert-directory): Handle newlines in directory name.
1778 (dired-build-subdir-alist): Unescape newlines in directory name.
1779
4cb0aa75
MA
17802012-01-17 Michael Albinus <michael.albinus@gmx.de>
1781
1782 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1783 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1784 (tramp-action-terminal): Use it. (Bug#10530)
1785
1d00653d
SM
17862012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1789
6a6ee00d
MR
17902012-01-16 Martin Rudalics <rudalics@gmx.at>
1791
1792 * window.el (window-state-ignored-parameters): Remove variable.
1793 (window--state-get-1): Rename argument MARKERS to IGNORE.
1794 Handle persistent window parameters. Make copy of clone-of
1795 parameter only if requested. (Bug#10348)
1796 (window--state-put-2): Install a window parameter only if it has
1797 a non-nil value or an existing parameter shall be overwritten.
1798
97912def
MA
17992012-01-15 Michael Albinus <michael.albinus@gmx.de>
1800
1801 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1802
688070a5
EZ
18032012-01-14 Eli Zaretskii <eliz@gnu.org>
1804
1805 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1806 don't pass the (nil) value of `upnode' to string-match.
1807
301afadc
CY
18082012-01-14 Chong Yidong <cyd@gnu.org>
1809
1810 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1811 Fix values recognized by the cursorBlink resource.
301afadc 1812
9e5788aa
PE
18132012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1814
1815 * epg.el (epg--make-temp-file): Avoid permission race condition
1816 when running on old Emacs versions (bug#10403).
1817
3cdb7f5a
GM
18182012-01-14 Glenn Morris <rgm@gnu.org>
1819
1820 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1821
8c82b1b4
AM
18222012-01-13 Alan Mackenzie <acm@muc.de>
1823
1824 Fix filling for when filladapt mode is enabled.
1825
1826 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1827 c-mask-paragraph, pass in `fill-paragraph' rather than
1828 `fill-region-as-paragraph'. (This is a reversion of a previous
1829 change.)
eb864a71
LM
1830 * progmodes/cc-mode.el (c-basic-common-init):
1831 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1832
e517eda4
GM
18332012-01-13 Glenn Morris <rgm@gnu.org>
1834
1498536e
GM
1835 * dired.el (dired-switches-escape-p): New function.
1836 (dired-insert-directory): Use dired-switches-escape-p.
1837 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1838
e517eda4
GM
1839 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1840
328f984d
GM
18412012-01-12 Glenn Morris <rgm@gnu.org>
1842
1843 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1844 changes in adaptive-fill-regexp. (Bug#10276)
1845
2cc769a8
AM
18462012-01-11 Alan Mackenzie <acm@muc.de>
1847
1848 Fix Emacs bug #10463 - put `widen's around the critical spots.
1849
1d00653d 1850 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1851 widen around each invocation of c-state-pp-to-literal. Remove an
1852 unused let variable.
1853
e52c37fa
GM
18542012-01-11 Glenn Morris <rgm@gnu.org>
1855
1856 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1857 Doc fix.
e52c37fa 1858
96f8741e
CY
18592012-01-10 Chong Yidong <cyd@gnu.org>
1860
1d00653d
SM
1861 * net/network-stream.el (network-stream-open-starttls):
1862 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1863 response to the capability command.
1864
b09a806e
GM
18652012-01-10 Glenn Morris <rgm@gnu.org>
1866
1867 * mail/unrmail.el (unrmail): Tweak previous change.
1868
7655cb66
CY
18692012-01-09 Chong Yidong <cyd@gnu.org>
1870
1871 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1872
9d5a8f0b
AM
18732012-01-08 Alan Mackenzie <acm@muc.de>
1874
1875 Optimise font locking in long enum definitions.
1876
1877 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1878 arm to a cond form to handle enums.
1879 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1880 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1881
9a0115ab 18822012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1883
1884 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1885 (Bug#10401)
6bb72cbd 1886
f186bb95
LMI
18872012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1888
29232a68
LMI
1889 * faces.el (set-face-attribute): Clarify the meaning of the nil
1890 frame (bug#10294).
1891
4e5d086d
LMI
1892 * subr.el (with-selected-frame): Mention that the selected frame
1893 is restored (bug#9980).
1894
8e66aebe
LMI
1895 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1896 (bug#9759).
1897
cd394be1 1898 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1899 (password-read): Don't autoload unused function.
1900
adf4e762
JB
19012012-01-07 Juanma Barranquero <lekktu@gmail.com>
1902
1903 * progmodes/which-func.el (which-func-mode): Turn into a
1904 non-interactive function and mark as obsolete (bug#10428).
1905
89bd9ccd
CY
19062012-01-06 Chong Yidong <cyd@gnu.org>
1907
1908 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1909 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1910 functions, along with 1 and -1.
1911
4afee9d5
EZ
19122012-01-06 Eli Zaretskii <eliz@gnu.org>
1913
1914 * time.el (display-time-load-average)
1915 (display-time-default-load-average): Doc fixes. See the thread
1916 starting at
1917 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1918 for the details.
1919
536aea70
GM
19202012-01-06 Glenn Morris <rgm@gnu.org>
1921
665ae865
GM
1922 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1923 has no messages. (Bug#10377)
1924
c869783d
GM
1925 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1926 than Info-edit. (Bug#10385)
1927
2bb4227e
GM
1928 * time.el (display-time-load-average, display-time-next-load-average):
1929 Doc fixes.
1930
7d5944b9
GM
1931 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1932 local setting of buffer-read-only to the input buffer. (Bug#10419)
1933
536aea70
GM
1934 * calendar/calendar.el (calendar-mode):
1935 Locally set scroll-margin to 0. (Bug#10379)
1936
7dccca16
UM
19372012-01-06 Ulrich Mueller <ulm@gentoo.org>
1938
1939 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1940
afbb7930
GM
19412012-01-05 Glenn Morris <rgm@gnu.org>
1942
1943 * eshell/em-unix.el (diff-no-select): Autoload it.
1944 (eshell/diff): Use diff-no-select. (Bug#10420)
1945
04482335
CY
19462012-01-05 Chong Yidong <cyd@gnu.org>
1947
7baca3bc
CY
1948 * shell.el (shell-dynamic-complete-functions): Revert last change.
1949 (shell-command-completion-function): New function.
1950 (shell-completion-vars): Use it to implement
1951 shell-completion-execonly (Bug#10417).
1952
04482335
CY
1953 * custom.el (enable-theme): Don't set custom-safe-themes.
1954
1d00653d
SM
1955 * cus-theme.el (custom-theme-merge-theme):
1956 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1957
bb5aa5d6
MM
19582012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1959
1960 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1961 first prompt in `sql-interacive-mode'.
1962 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1963 keywords.
6df6ae42 1964 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1965 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1966 context of original buffer. Invoke `sql-login-hook'.
1967
a7183d7c
EZ
19682012-01-04 Eli Zaretskii <eliz@gnu.org>
1969
1970 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1971 letters in cite-prefix.
1972
a1eacd1e
LMI
19732012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1974
1975 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1976
787cdb34
CY
19772012-01-03 Chong Yidong <cyd@gnu.org>
1978
1d00653d
SM
1979 * shell.el (shell-dynamic-complete-functions):
1980 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1981 comint-filename-completion first (Bug#10417).
1982
30710442
RS
19832012-01-02 Richard Stallman <rms@gnu.org>
1984
1985 * battery.el (battery-status-function):
1986 Detect when to use battery-yeeloong-sysfs.
1987 (battery-echo-area-format): Add string for Yeeloong.
1988 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1989 (battery-yeeloong-sysfs): New function.
1990
f75bfc33
CY
19912012-01-02 Chong Yidong <cyd@gnu.org>
1992
1993 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1994 (dirtrack): Merge code for handling relative filenames in prompt
1995 from shell-dir-cookie-watcher.
1996 (dirtrack-debug-message): New arg to avoid excess format calls.
1997
1998 * shell.el (shell-dir-cookie-re): Variable deleted.
1999 (shell-dir-cookie-watcher): Function deleted.
2000 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2001 with dirtrack-mode.
2002
651e947e
EZ
20032012-01-01 Eli Zaretskii <eliz@gnu.org>
2004
1d00653d
SM
2005 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2006 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2007 libgnutls-26.dll.
2008
94d4c7dc
AS
20092011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2010
2011 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2012
8d43f3cd
EZ
20132011-12-31 Eli Zaretskii <eliz@gnu.org>
2014
2015 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2016 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2017
98c8795a
MA
20182011-12-29 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2021 also for alternative shells.
2022 (tramp-open-connection-setup-interactive-shell): Check, whether
2023 the shell is a busybox.
2024 (tramp-send-command): Don't suppress multiple prompts for
2025 busyboxes, it hurts.
2026
51281b32
CY
20272011-12-28 Chong Yidong <cyd@gnu.org>
2028
2029 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2030 (gdb-get-source-file): Move mode line update to
2031 gdb-get-source-file (Bug#10087).
2032
2170cb53
CY
20332011-12-25 Chong Yidong <cyd@gnu.org>
2034
2035 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2036 gud-gdb-marker-filter without taking it as an argument.
2037 (gud-gdb-run-command-fetch-lines): Caller changed.
2038 (gud-gdb-completion-function): New variable.
2039 (gud-gdb-completion-at-point): Use it.
2040 (gud-gdb-completions-1): Split from gud-gdb-completions.
2041
2042 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2043 function as separate arguments.
2044 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2045 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2046 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2047 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2048 (gdb-stopped, def-gdb-auto-update-trigger)
2049 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2050 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2051 Callers changed.
2170cb53
CY
2052 (gud-gdbmi-completions): New function.
2053 (gdb): Use it for generating the completion table.
2054
be8b11bb
AM
20552011-12-24 Alan Mackenzie <acm@muc.de>
2056
2057 Introduce a mechanism to widen the region used in context font
1d00653d 2058 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2059
1d00653d
SM
2060 * progmodes/cc-langs.el (c-before-font-lock-functions):
2061 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2062 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2063 functions to be run just before context (etc.) font locking.
2064
2065 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2066 New, functionality extracted from
be8b11bb 2067 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2068 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2069 (c-after-change): Set c-in-after-change-fontification.
2070 (c-set-fl-decl-start): Rejig its interface, so it can be called
2071 from both after-change and context fontifying.
b81d40f0
JB
2072 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2073 New functions.
2074 (c-standard-font-lock-fontify-region-function): New variable.
2075 (c-font-lock-fontify-region): New function.
be8b11bb 2076
341cf6ac
JL
20772011-12-24 Juri Linkov <juri@jurta.org>
2078
2079 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2080 (Bug#10348)
2081
bffcee0a
MA
20822011-12-23 Michael Albinus <michael.albinus@gmx.de>
2083
2084 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2085 existence of source file. (Bug#10325)
2086
cb5e207c
AM
20872011-12-23 Alan Mackenzie <acm@muc.de>
2088
2089 Fix unstable fontification inside templates.
2090
b81d40f0
JB
2091 * progmodes/cc-langs.el (c-before-font-lock-functions):
2092 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2093 additionally has c-set-fl-decl-start. The other languages (apart
2094 from AWK) have that as a single entry.
2095
b81d40f0
JB
2096 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2097 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2098 c-set-fl-decl-start.
2099
b81d40f0
JB
2100 * progmodes/cc-mode.el (c-common-init, c-after-change):
2101 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2102 (c-set-fl-decl-start): New function, extracted from
2103 c-font-lock-enclosing-decls and enhanced.
2104
60ff536c
JB
21052011-12-23 Juanma Barranquero <lekktu@gmail.com>
2106
2107 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2108
1c4757d6
JL
21092011-12-22 Juri Linkov <juri@jurta.org>
2110
2111 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2112
d031f2c7
CY
21132011-12-22 Chong Yidong <cyd@gnu.org>
2114
2115 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2116
bace743a
DA
21172011-12-21 Drew Adams <drew.adams@oracle.com>
2118
2119 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2120
728a1f2b
JC
21212011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2122
2123 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2124
0d373f73
TZ
21252011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2126
fec0aaa4
TZ
2127 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2128 highlighting and support. Fix up comments for capitalization.
2129 (cfengine-mode-debug): New var.
2130 (cfengine3-mode): Change the modeline indicator to "CFE3".
2131 (cfengine3-font-lock-keywords): Improve defun highlighting.
2132 (cfengine2-actions): Rename from `cfengine-actions'.
2133 (cfengine2-font-lock-keywords): Rename from
2134 `cfengine-font-lock-keywords'.
2135 (cfengine2-imenu-expression): Rename from
2136 `cfengine-imenu-expression'.
2137 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2138 (cfengine2-beginning-of-defun): Rename from
2139 `cfengine-beginning-of-defun'.
2140 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2141 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2142 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2143 modeline indicator to "CFE2".
2144 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2145 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2146
bc86f573
CY
21472011-12-21 Chong Yidong <cyd@gnu.org>
2148
2149 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2150 filename argument.
2151
d45ba96b
MR
21522011-12-20 Martin Rudalics <rudalics@gmx.at>
2153
2154 * window.el (window-normalize-buffer-to-display): Remove.
2155 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2156
a6198c90
CY
21572011-12-19 Chong Yidong <cyd@gnu.org>
2158
2159 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2160 Don't signal an error in a predicate function; return non-nil.
2161 (vc-dir-mark-file): Move the error here.
2162 (vc-dir-mark-unmark): If acting on the region, keep going if one
2163 of the entries cannot be marked/unmarked.
2164 (vc-dir-mark-all-files): If current entry is a directory, mark
2165 only child files, as documented.
2166
34c5fb55
VB
21672011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2168
2169 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2170 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2171 addition.
2172
c803b2b7
JD
21732011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2174
2175 * term/ns-win.el (ns-get-selection-internal)
2176 (ns-store-selection-internal): Declare.
1154d12e
JB
2177 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2178 Declare as obsolete.
2179 (ns-get-pasteboard, ns-paste-secondary):
2180 Use ns-get-selection-internal.
2181 (ns-set-pasteboard, ns-copy-including-secondary):
2182 Use ns-store-selection-internal.
c803b2b7 2183
9cff91f8 21842011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2185
2186 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2187 (vc-deduce-fileset): Doc fix.
99a289d9 2188
f16c898a
AS
21892011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2190
2191 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2192
763237c4
SS
21932011-12-13 Sam Steingold <sds@gnu.org>
2194
2195 * man.el (Man-getpage-in-background): When running under a
2196 window-system, ignore $MANWIDTH and $COLUMNS.
2197
5fc1c122
KH
21982011-12-15 Kenichi Handa <handa@m17n.org>
2199
2200 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2201 (setup-ethiopic-environment-internal): Comment out key-binding for
2202 ethio-toggle-punctuation.
2203
13d49cbb
AM
22042011-12-13 Alan Mackenzie <acm@muc.de>
2205
898169a2
AM
2206 Add the switch statement to AWK Mode.
2207
7a71b18d 2208 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2209 "default" to the keywords regexp.
2210
7a71b18d 2211 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2212 expression as the rest.
1d00653d
SM
2213 (c-nonlabel-token-key): Allow string literals for AWK.
2214 Refactor for the other modes.
898169a2 2215
13d49cbb 2216 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2217 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2218 routines. Limit backward searching in c-font-lock-enclosing.decl.
2219
2220 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2221 pp-state and literal type in addition to the limits.
1d00653d 2222 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2223 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2224 (c-slow-in-literal, c-fast-in-literal): Remove.
2225 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2226
2227 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2228 being in a literal. Add a limit for backward searching.
2229
2230 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2231 c-slow-in-literal.
2232
15e0efc7
SM
22332011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2236
454592a6
MR
22372011-12-13 Martin Rudalics <rudalics@gmx.at>
2238
2239 * window.el (delete-other-windows): Use correct frame in call to
2240 window-with-parameter.
2241
87393f26
DP
22422011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2243
2244 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2245 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2246 (makefile-gmake-statements, makefile-makepp-statements):
2247 Use it and add new makepp keywords.
2248 (makefile-makepp-font-lock-keywords): Add new patterns.
2249 (makefile-match-function-end): Match new [...] and [[...]].
2250
11636b22
JB
22512011-12-11 Juanma Barranquero <lekktu@gmail.com>
2252
2253 * ses.el (ses-call-printer-return, ses-cell-property-get)
2254 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2255 (ses-create-cell-variable, ses-reset-header-string)
2256 (ses-cell-set-formula, ses-repair-cell-reference-all)
2257 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2258 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2259 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2260 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2261 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2262 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2263 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2264 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2265 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2266 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2267 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2268 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2269
cf018193
VB
22702011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2271
2272 * ses.el: The overall change is to add cell renaming, that is
2273 setting fancy names for cell symbols other than name matching
2274 "\\`[A-Z]+[0-9]+\\'" regexp .
2275 (ses-create-cell-variable): New defun.
2276 (ses-relocate-formula): Relocate formulas only for cells the
2277 symbols of which are not renamed, i.e. symbols whose names do not
2278 match regexp "\\`[A-Z]+[0-9]+\\'".
2279 (ses-relocate-all): Relocate values only for cells the symbols of
2280 which are not renamed.
2281 (ses-load): Create cells variables as the (ses-cell ...) are read,
2282 in order to check row col consistency with cell symbol name only
2283 for cells that are not renamed.
2284 (ses-replace-name-in-formula): New defun.
2285 (ses-rename-cell): New defun.
2286
ee957461
CY
22872011-12-11 Chong Yidong <cyd@gnu.org>
2288
2289 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2290 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2291
9a9e9ef0
MR
22922011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2293
2294 * window.el (other-window): Fix docstring.
2295
92a8eba5
EZ
22962011-12-10 Eli Zaretskii <eliz@gnu.org>
2297
2298 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2299 `from' or `to' address before taking its substring.
2300 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2301 encoded name is chopped in the middle of the encoded string, and
2302 thus displayed encoded.
2303
e152e577
JB
23042011-12-10 Juanma Barranquero <lekktu@gmail.com>
2305
2306 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2307
e5d84bfe
EZ
23082011-12-10 Eli Zaretskii <eliz@gnu.org>
2309
2310 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2311 to use texinfo-update-node and commands that call it if the
2312 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2313 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2314 (texinfo-all-menus-update, texinfo-master-menu)
2315 (texinfo-update-node, texinfo-every-node-update)
2316 (texinfo-multiple-files-update): Doc fix. Warn against updating
2317 all the @node lines.
2318 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2319 argument is numeric. Explain better in the doc string what the
2320 function really does.
2321 (texinfo-insert-master-menu-list): Improve the error message
2322 displayed if there's no menu in the Top node.
2323 (Bug#2975) See also this thread:
e5d84bfe
EZ
2324 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2325
1d84e9bb
MG
23262011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2327
2328 * speedbar.el (speedbar-supported-extension-expressions):
2329 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2330
382c953b
JB
23312011-12-09 Juanma Barranquero <lekktu@gmail.com>
2332
2333 * printing.el (pr-mode-alist):
2334 * simple.el (filter-buffer-substring-functions)
2335 (completion-list-insert-choice-function):
2336 * window.el (window-with-parameter, window-atom-root)
2337 (window-sides-slots, window-size-fixed, window-min-delta)
2338 (window-max-delta, window--resize-mini-window)
2339 (window--resize-child-windows-normal, window-tree)
2340 (delete-other-windows, quit-window, split-window)
2341 (display-buffer-record-window, special-display-buffer-names)
2342 (special-display-regexps, special-display-popup-frame)
2343 (same-window-p, split-window-sensibly)
2344 (display-buffer-overriding-action, display-buffer-alist)
2345 (display-buffer-base-action, display-buffer, switch-to-buffer)
2346 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2347 (fit-window-to-buffer, recenter-positions)
2348 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2349 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2350 and remove unneeded backslashes in docstrings.
2351
39c9faef
SM
23522011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2353
98449af8
SM
2354 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2355
39c9faef
SM
2356 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2357 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2358 end in ".mk".
2359 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2360 when reading the makefile (bug#10116).
2361
86ed9fdc
SM
23622011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2365 (bug#10116).
2366
5580f89d
GM
23672011-12-06 Glenn Morris <rgm@gnu.org>
2368
2369 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2370
28d3917c
CY
23712011-12-06 Chong Yidong <cyd@gnu.org>
2372
2373 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2374
a98edce9
JB
23752011-12-06 Juanma Barranquero <lekktu@gmail.com>
2376
2377 * textmodes/table.el (table-shorten-cell): Fix typo.
2378
e65adfac
CG
23792011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2380
2381 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2382
71cc0b74
EZ
23832011-12-05 Eli Zaretskii <eliz@gnu.org>
2384
2385 * descr-text.el (describe-char): Fix display of strong
2386 right-to-left characters and directional embeddings and overrides.
2387
2388 * simple.el (what-cursor-position): Fix display of codepoints of
2389 strong right-to-left characters.
2390
315bc30d
CY
23912011-12-05 Chong Yidong <cyd@gnu.org>
2392
2393 * faces.el (read-color): Doc fix.
2394
58a70b94
GM
23952011-12-05 Glenn Morris <rgm@gnu.org>
2396
2397 * align.el (align--set-marker): Add doc-string.
2398 Don't try to move something that is not a marker. (Bug#10216)
2399
5158face
GM
24002011-12-04 Glenn Morris <rgm@gnu.org>
2401
2402 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2403 overly zealous deletion of trailing whitespace.
2404
520fca41
JB
24052011-12-04 Juanma Barranquero <lekktu@gmail.com>
2406
2407 * server.el (server-delete-client): On Windows, do not try to delete
2408 the only terminal.
2409 (server-process-filter): On Windows, treat requests for a tty frame as
2410 if they were for a GUI frame if the running server is in GUI mode.
2411
5e605a2e
GM
24122011-12-03 Glenn Morris <rgm@gnu.org>
2413
2414 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2415
5c3fe83f
SM
24162011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2417
6f5e57e7
SM
2418 * electric.el: Streamline electric-indent's hook.
2419 (electric-indent-chars): Revert to simple list.
2420 (electric-indent-functions): New var.
2421 (electric-indent-post-self-insert-function): Use it.
2422
5c3fe83f
SM
2423 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2424 there's no inferior buffer (bug#10196).
2425 (prolog-consult-compile): Don't use toggle-read-only.
2426
6bdac736
MA
24272011-12-02 Michael Albinus <michael.albinus@gmx.de>
2428
2429 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2430 interrupt. (Bug#10187)
2431
6131ba7f
SM
24322011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2433
99c79fee
SM
2434 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2435 (bug#9160).
2436
6131ba7f
SM
2437 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2438 (bug#10191).
2439
cb0a02ea
JL
24402011-12-02 Juri Linkov <juri@jurta.org>
2441
2442 * info.el (Info-search): Display "end of manual" when Isearch
2443 reaches the end of single-file Info manual. (Bug#9918)
2444
66e0570c
EZ
24452011-12-02 Eli Zaretskii <eliz@gnu.org>
2446
2447 * isearch.el (isearch-message-prefix): Run the input method part
2448 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2449
02b16839
JL
24502011-12-02 Juri Linkov <juri@jurta.org>
2451
2452 * isearch.el (isearch-occur): Use `word-search-regexp' for
2453 `isearch-word'.
2454 (isearch-search-and-update): Add condition for `isearch-word' and
2455 call `word-search-regexp'. (Bug#10145)
2456
0b950688
GM
24572011-12-01 Glenn Morris <rgm@gnu.org>
2458
2459 * eshell/em-hist.el (eshell-hist-initialize):
2460 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2461 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2462
9505c3c7
SM
24632011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2466
1bbe96b2 24672011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2468
a1beca85
SM
2469 * progmodes/verilog-mode.el (verilog-pretty-expr):
2470 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2471 verilog, such as += *= and the like.
2472 (verilog-assignment-operator-re): Regular expression to find the
2473 assigment operator in a verilog assignment.
2474 (verilog-assignment-operation-re): Regular expression to find an
2475 assignment statement for pretty-expr.
2476 (verilog-in-attribute-p): Query returns true if point is in an
2477 attribute context; used to skip these for expression line up from
2478 pretty-expr.
2479 (verilog-in-parameter-p): Query returns true if point is in an
2480 parameter definition context; used to skip these for expression
2481 line up from pretty-expr.
2482 (verilog-in-parenthesis-p): Query returns true if point is in a
2483 parenthetical expression, specifically ( ) but not [ ] or { };
2484 used by pretty-expr.
2485 (verilog-just-one-space): If there is no space, don't add one.
2486 (verilog-get-lineup-indent-2): Specifically skip just attribute
2487 contexts for expression lineup, rather than skipping all
2488 parenthetical expressions.
2489 (verilog-calculate-indent): Fix comment, and fix indent.
2490 (verilog-do-indent): Indent declarations in lists (suggested by
2491 Joachim Lechner).
2492 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2493 skeleton items.
2494 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2495 by Alain Mellan).
2496
1bbe96b2 24972011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2498
2499 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2500 parameters with embedded comments. Reported by Ray Stevens.
2501 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2502 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2503 Reported by Tim Holt.
2504 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2505 instantiated by upper module causing wrong expansion until AUTOed a
2506 second time. Reported by K C Buckenmaier.
2507 (verilog-diff-auto): Fix showing .* as a difference when
2508 `verilog-auto-star-save' off. Reported by Dan Dever.
2509 (verilog-auto-reset, verilog-read-always-signals)
2510 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2511 temporary signals in reset list if
2512 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2513 style to each signal's assignment type, bug381.
2514 Reported by Thomas Esposito.
6288f0ca
WS
2515 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2516 (verilog-uvm-statement-re): Support UVM indentation and
2517 highlighting, with old OVM keywords only.
a1beca85 2518 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2519 Support AUTOTIEOFF creating non-wire data types.
2520 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2521 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2522 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2523 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2524 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2525 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2526 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2527 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2528 non-numeric vector width. Reported by Alex Reed.
2529 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2530 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2531 (verilog-auto-delete-trailing-whitespace):
2532 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2533 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2534 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2535 Fix verilog-scan-cache corruption when running user AUTO expansion
2536 hooks that call indentation routines.
2537 (verilog-simplify-range-expression): Fix typo ignoring lower case
2538 identifiers.
2539 (verilog-delete-auto): Fix delete-autos to also remove user created
2540 automatics, as long as they start with AUTO.
2541 (verilog-batch-diff-auto, verilog-diff-auto)
2542 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2543 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2544 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2545 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2546 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2547 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2548 is disabled and its cache will get corrupt, causing AUTOS not to
2549 expand. Instead use only -quick functions.
2550 (verilog-scan-region): Fix scanning over escaped quotes.
2551 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2552 (verilog-re-search-backward-quick)
2553 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2554 related functions now ignore strings, to fix misparsing of strings
2555 with magic comments embedded in them.
a1beca85
SM
2556 (verilog-read-auto-template):
2557 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2558 Reported by Brad Dobbie.
2559 (verilog-read-auto-template):
2560 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2561 Reported by Brad Dobbie.
6288f0ca
WS
2562 (verilog-auto-inst, verilog-auto-inst-param)
2563 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2564 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2565 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2566 debugging templates without merge conflicts, bug357.
2567 Reported by Brad Dobbie.
2568 (verilog-read-auto-template):
2569 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2570 Reported by Brad Dobbie.
2571 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2572 abbrevs so user won't be asked to save.
2573 (verilog-read-auto-lisp-present): Fix to start at beginning of
2574 buffer in case called outside of verilog-auto.
2575 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2576 to "X-2". Reported by Matthew Myers.
2577 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2578 all inputs from module templates. Reported by Leith Johnson.
2579 (verilog-module-inside-filename-p): Fix locating programs as with
2580 modules.
2581 (verilog-auto-inst-port): Fix vl-width expressions when using
2582 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2583 (verilog-decls-get-regs, verilog-decls-get-signals,
2584 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2585 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2586 verilog-read-decls): Combine reg and wire structures into one var
2587 structure to represent SystemVerilog concepts.
2588 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2589 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2590 (verilog-auto-wire-type, verilog-insert-definition):
2591 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2592 SystemVerilog "logic" keyword instead of "wire"/"reg".
2593 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2594 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2595 ifdef or generate if so there's not a driver conflict).
2596 Reported by Matthew Myers.
2597 (verilog-auto-declare-nettype, verilog-insert-definition):
2598 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2599 `default_nettype none. Reported by Julian Gorfajn.
2600 (verilog-read-always-signals-recurse, verilog-read-decls)
2601 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2602 malformed end statement, bug325. Reported by Joshua Wise and
2603 Andrew Drake.
2604 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2605 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2606 when expanding .* in interfaces, bug320.
2607 Reported by Pierre-David Pfister.
6288f0ca 2608 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2609 name and open parenthesis, bug317.
2610 Reported by Pierre-David Pfister.
6288f0ca
WS
2611 (verilog-simplify-range-expression): Fix simplification of
2612 multiplications inside AUTOWIRE connections, bug303.
2613 (verilog-auto-inst-port): Support parameter expansion in
2614 multidimensional arrays.
2615 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2616 after "assert property". Reported by Julian Gorfajn.
2617 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2618 with multiplication, bug303.
2619 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2620 Reported by Jan Frode Lonnum.
2621
1bbe96b2
GM
26222011-11-30 Juanma Barranquero <lekktu@gmail.com>
2623
2624 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2625 (hfy-shell-file-name, hfy-shell):
2626 * international/fontset.el (x-decompose-font-name): Fix typos.
2627
26282011-11-29 Ken Brown <kbrown@cornell.edu>
2629
2630 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2631 (gdb-version): Remove defvar.
2632 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2633 (gdb-gud-context-command, gdb-non-stop-handler)
2634 (gdb-current-context-command, gdb-stopped): Use it.
2635 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2636 (gdb-non-stop-handler): Don't enable pretty-printing here.
2637 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2638 non-stop mode. Use the following.
2639 (gdb-check-target-async): New defun.
2640 (gud-watch, gdb-stopped): Fix whitespace.
2641 (gdb-get-source-file): Don't try to display the source file if
2642 `gdb-main-file' is nil.
2643
26442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * align.el: Try to generate fewer markers (bug#10047).
2647 (align--set-marker): New macro.
2648 (align-region): Use it.
2649
c935221f
SM
26502011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2653
e70b5064
CY
26542011-11-29 Chong Yidong <cyd@gnu.org>
2655
2656 * indent.el (indent-for-tab-command, indent-according-to-mode):
2657 Doc fix.
2658 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2659
f3af92b7
MA
26602011-11-29 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2663 aware of remote file names. (Bug#10124)
2664
ed472be9
CY
26652011-11-29 Chong Yidong <cyd@gnu.org>
2666
2667 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2668
24510c22
SM
26692011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * files.el (find-file): Don't use force-same-window (bug#10144).
2672 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2673 use pop-to-buffer if the selected window can't be used.
2674 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2675
c60c3703
EZ
26762011-11-28 Eli Zaretskii <eliz@gnu.org>
2677
2678 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2679 special-mode-map.
2680
e95def75
CY
26812011-11-28 Chong Yidong <cyd@gnu.org>
2682
2683 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2684
c3f1c606
NR
26852011-11-27 Nick Roberts <nickrob@snap.net.nz>
2686
2687 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2688 gdb-get-source-file-list on gdb-create-source-file-list.
2689
00db469c
EZ
26902011-11-26 Eli Zaretskii <eliz@gnu.org>
2691
2692 * whitespace.el (whitespace-newline): Use a different foreground
2693 color for 16-color light-background displays.
2694
4ad3bc2a
CY
26952011-11-24 Chong Yidong <cyd@gnu.org>
2696
2697 * window.el (display-buffer--special-action): Doc fix.
2698
e9fce1ac
JB
26992011-11-25 Juanma Barranquero <lekktu@gmail.com>
2700
2701 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2702 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2703 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2704 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2705 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2706 (avl-tree-stack-first):
2707 * emacs-lisp/cconv.el (cconv--analyse-use):
2708 * net/gnutls.el (gnutls-negotiate): Fix typos.
2709
cb825e5d
GM
27102011-11-24 Glenn Morris <rgm@gnu.org>
2711
3adbe224
GM
2712 * lpr.el (lpr-windows-system, lpr-lp-system):
2713 * mail/binhex.el (binhex-begin-line):
2714 * progmodes/grep.el (grep-history, grep-find-history):
2715 * textmodes/flyspell.el:
2716 * vc/pcvs-defs.el (cvs-global-menu):
2717 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2718 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2719 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2720
321decc8
GM
2721 * net/tls.el: Fix case of "GnuTLS".
2722
420b63ad
GM
2723 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2724
cb825e5d
GM
2725 * version.el (emacs-build-system): Give it a doc-string.
2726
a0649f08
JL
27272011-11-24 Juri Linkov <juri@jurta.org>
2728
2729 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2730
c0bc0fd4
GM
27312011-11-24 Glenn Morris <rgm@gnu.org>
2732
2733 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2734 if called on a non-mime message just toggle the headers. (Bug#8006)
2735
20db1522
JB
27362011-11-24 Juanma Barranquero <lekktu@gmail.com>
2737
2738 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2739 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2740 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2741 (allout-rebullet-heading, allout-open-sibtopic)
2742 (allout-toggle-current-subtree-encryption)
2743 (allout-toggle-subtree-encryption, allout-encrypt-string)
2744 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2745 (allout-distinctive-bullets-string, allout-auto-activation):
2746 * window.el (window-normalize-buffer-to-display):
2747 * progmodes/verilog-mode.el (verilog-batch-indent):
2748 * textmodes/bibtex.el (bibtex-field-braces-opt)
2749 (bibtex-field-strings-opt):
2750 * vc/cvs-status.el (cvs-tree-merge):
2751 Fix typos.
2752
7262a87c
MA
27532011-11-23 Michael Albinus <michael.albinus@gmx.de>
2754
2755 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2756 `non-essential' to t, in order to avoid remote connections.
2757
283430a1
EZ
27582011-11-23 Eli Zaretskii <eliz@gnu.org>
2759
a1beca85
SM
2760 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2761 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2762 case-insensitively.
2763
d2992a38
ML
27642011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2765
2766 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2767
50419064
GM
27682011-11-23 Glenn Morris <rgm@gnu.org>
2769
da94eca1
GM
2770 * paths.el (rmail-file-name): Reformat the doc-string so that it
2771 is picked up.
2772
9aac4de2
GM
2773 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2774 (rmail-auto-file): Ignore case in the "special" field names,
2775 as mail-fetch-field does for all others.
2776
8038d2d2
GM
2777 * mail/rmail.el (rmail-forward):
2778 * mail/rmailkwd.el (rmail-set-label):
2779 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2780 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2781
f3fe222a
GM
2782 * mail/rmail.el (rmail-current-message): Doc fix.
2783
50419064
GM
2784 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2785
28109f49
SM
27862011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2787
2788 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2789
394c65f1
GM
27902011-11-22 Glenn Morris <rgm@gnu.org>
2791
2792 * mail/rmailmm.el (test-rmail-mime-handler)
2793 (test-rmail-mime-bulk-handler)
2794 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2795
f2a0aa3a
JL
27962011-11-21 Juri Linkov <juri@jurta.org>
2797
1154d12e
JB
2798 * calc/calc.el (calc-read-key-sequence):
2799 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2800
9c34a344
LMI
28012011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2802
2803 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2804 Tell the caller that the next line needs recomputation, even
2805 though it doesn't start a sexp (bug#10094).
2806
f04a3be9
SM
28072011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2810
7978747f
SM
28112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2812
f04a3be9
SM
2813 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2814 Use force-same-window.
7978747f 2815
fe7a3057
JB
28162011-11-20 Juanma Barranquero <lekktu@gmail.com>
2817
2818 * descr-text.el (describe-char-unicode-data):
2819 * json.el (json-string-escape):
2820 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2821 (Footnote-unicode, Footnote-style-p):
2822 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2823
24901d61
CY
28242011-11-20 Chong Yidong <cyd@gnu.org>
2825
2826 * window.el (replace-buffer-in-windows): Restore interactive spec.
2827
bac7ff22
SM
28282011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2829
24f3d7b9
SM
2830 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2831
bac7ff22
SM
2832 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2833 (byte-compile-global-not-obsolete-vars): New var.
2834 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2835 Use it.
2836 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2837
cd1181db
JB
28382011-11-20 Juanma Barranquero <lekktu@gmail.com>
2839
2840 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2841 * progmodes/pascal.el (electric-pascal-equal):
2842 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2843 * xml.el (xml-substitute-special): Fix typos.
2844
7fb18e9e
GM
28452011-11-20 Glenn Morris <rgm@gnu.org>
2846
2847 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2848 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2849 Doc fixes.
2850 (rmail-decode-mime-charset): Mark as obsolete.
2851
2852 * mail/rmailsum.el (rmail-message-regexp-p-1):
2853 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2854 Before using mime functions, check they are set. (Bug#10077)
2855
d5a6b3ba
JL
28562011-11-19 Juri Linkov <juri@jurta.org>
2857
2858 * info.el (Info-finder-find-node): Use `package--builtins' instead
2859 of `package-alist'. Use node names formed by the pattern "Keyword "
2860 and the keyword name.
2861
e981b61f
AS
28622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2863
1d00653d 2864 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2865
3ffbc301
JL
28662011-11-19 Juri Linkov <juri@jurta.org>
2867
2868 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2869 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2870 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2871 `old-history', `old-history-forward'. Add let-binding
2872 `window-selected'. Remove calls to `kill-buffer',
2873 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2874 before calling `Info-find-node', so `Info-find-node-2' will reread
2875 the Info file. Restore window positions only when `window-selected'
2876 is non-nil.
2877
30c62133
JL
28782011-11-19 Juri Linkov <juri@jurta.org>
2879
2880 * isearch.el (isearch-lazy-highlight-new-loop):
2881 Remove condition `(not isearch-error)'. (Bug#9918)
2882
2883 * misearch.el (multi-isearch-search-fun): Add condition
2884 `(not bound)' to ignore lazy-highlighting search.
2885 Add the search-failed message "end of multi" when the end of
2886 multi-sequence is reached. Uncapitalize the search-failed
2887 message "Repeat for next buffer".
2888
2889 * info.el (Info-search): Add the search-failed message
2890 "end of the manual" when the end of the manual is reached
2891 in Isearch mode.
2892
645ca9cf
JL
28932011-11-19 Juri Linkov <juri@jurta.org>
2894
2895 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2896 Use non-destructive `remove' instead of `delete' because
2897 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2898 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2899
df754f66
JL
29002011-11-19 Juri Linkov <juri@jurta.org>
2901
2902 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2903 to nil instead of binding `search-ring' and `regexp-search-ring'.
2904 (Bug#9185)
2905
0e23d96a
EZ
29062011-11-19 Eli Zaretskii <eliz@gnu.org>
2907
2908 * simple.el (line-move): Force movement by logical lines for any
2909 hscrolled window, not only when auto-hscroll-mode is on.
2910 (line-move-visual): Update doc string to that effect. (Bug#10076)
2911
8a6ccb66
AS
29122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2913
2914 * language/european.el (macintosh): Define as alias for mac-roman.
2915
49ae5b39
EZ
29162011-11-19 Eli Zaretskii <eliz@gnu.org>
2917
2918 * mail/rmailmm.el (rmail-mime-display-header)
2919 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2920 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2921 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2922 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2923 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2924 of a raw aref.
2925 (rmail-mime-entity-segment): To get past the tagline, move forward
2926 2 more lines, to account for the 2 empty lines that precede and
2927 follow the line with the buttons.
2928 (rmail-mime-update-tagline): Move one more line, to get past the
2929 empty line that follows the buttons in the tagline. (Bug#9520)
2930
c56cad4a
MR
29312011-11-19 Martin Rudalics <rudalics@gmx.at>
2932
2933 * window.el (window-max-delta-1, window-min-delta-1)
2934 (window-min-size-1, window-state-get-1, window-state-put-1)
2935 (window-state-put-2): Use "window--" prefix.
2936
cbe71af3
SM
29372011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2ad52c60
SM
2939 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2940 (smie-warning-count): New var.
2941 (smie-set-prec2tab): Use it.
2942 (smie-bnf->prec2): Improve warnings. Add docstring.
2943 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2944 (smie-bnf--set-class): New function.
2945 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2946 corner case.
2947
6944dbc1
SM
2948 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2949 (compilation-error-properties, compilation-move-to-column):
2950 Handle compilation-first-column while in the target buffer.
2951
c400c4d7
SM
2952 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2953 Don't hardcode point-min==1.
2954
6dbe3e96
SM
2955 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2956 (eshell-rewrite-for-command): Remove workaround.
2957 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2958 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2959 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2960
cbe71af3
SM
2961 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2962
a8e1496d
GM
29632011-11-17 Glenn Morris <rgm@gnu.org>
2964
2965 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2966 Ignore buffer-local generated-autoload-file if it is the same
2967 as the global value. (Bug#10049)
2968
df85d315
JB
29692011-11-17 Juanma Barranquero <lekktu@gmail.com>
2970
2971 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2972 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2973 (reftex-toc-previous-heading, reftex-toc-max-level)
2974 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2975 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2976 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2977 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2978 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2979 (reftex-toc-rename-label, reftex-toc-visit-location)
2980 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2981 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2982 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2983 leaving "*toc*" only for references to the buffer.
2984
a0c2d0ae
MR
29852011-11-17 Martin Rudalics <rudalics@gmx.at>
2986
2987 * window.el (window-resize, delete-window, split-window):
2988 Replace window-splits by window-combination-resize.
1d00653d 2989 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2990
35c0bac8
GM
29912011-11-17 Glenn Morris <rgm@gnu.org>
2992
2993 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2994 Make bash entry derive from sh entry, not shell entry.
2995
d0c8fc8a
MA
29962011-11-16 Michael Albinus <michael.albinus@gmx.de>
2997
d0c8fc8a
MA
2998 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2999 properties of linked files. (Bug#9879)
3000
7262a87c
MA
3001 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3002 local file name.
3003
7877f373
JB
30042011-11-16 Juanma Barranquero <lekktu@gmail.com>
3005
3006 * menu-bar.el (menu-bar-file-menu):
3007 * printing.el (pr-ps-utility):
3008 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3009 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3010 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3011 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3012 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3013 (icalendar--convert-cyclic-to-ical)
3014 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3015 (icalendar--convert-ical-to-diary)
3016 (icalendar--convert-recurring-to-diary)
3017 (icalendar--convert-non-recurring-all-day-to-diary)
3018 (icalendar-import-format-sample):
3019 * progmodes/idlw-shell.el (idlwave-shell-mode):
3020 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3021 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3022 (vhdl-ps-print-init): Fix typos.
3023
10649b82
KM
30242011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3025
9d0cfcd6
GM
3026 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3027 FSF and collapse date sequence, obscure author/maintainer email address
3028 better, remove extra version line, track relocation of author's webpage.
10649b82 3029
9d0cfcd6
GM
3030 * progmodes/python.el (python-pdbtrack-input-prompt)
3031 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3032 regular python pdb prompts. Adjustments shamelessly taken exactly as
3033 suggested in EmacsWiki page (tiny change):
3034 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3035
58179cce
JB
30362011-11-16 Juanma Barranquero <lekktu@gmail.com>
3037
3038 * expand.el (expand-pos, expand-index, expand-point):
3039 Remove redundant info from docstring.
3040 (expand-add-abbrevs): Doc fix.
3041 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3042 (expand-sample-perl-mode-expand-list): Fix typos.
3043
3044 * net/dbus.el (dbus-event-member-name):
3045 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3046 * term/pc-win.el (msdos-create-frame-with-faces):
3047 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3048
b6f67890
MR
30492011-11-16 Martin Rudalics <rudalics@gmx.at>
3050
3051 * window.el (split-window, window-state-get-1)
3052 (window-state-put-1, window-state-put-2): Rename occurrences of
3053 window-nest to window-combination-limit.
1d00653d 3054 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3055
ce7ddba0
CY
30562011-11-16 Chong Yidong <cyd@gnu.org>
3057
3058 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3059 regexp (Bug#10033).
3060
3ae704f4
SM
30612011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3064 `completing-read' will remove *Completions* and will preserve
3065 current-buffer for us.
3066 (tmm-add-prompt): Users of *Completions* will always (re)set its
3067 major mode.
3068 (tmm-old-comp-map): Remove.
3069
6ad1cdde
GM
30702011-11-16 Glenn Morris <rgm@gnu.org>
3071
3072 * mail/rmailedit.el: Require rmailmm when compiling.
3073 (rmail-old-mime-state): New declaration.
3074 (rmail-edit-current-message): If editing a mime message,
3075 edit the "raw" message from the mbox buffer.
3076 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3077
d20faa20
GM
30782011-11-15 Glenn Morris <rgm@gnu.org>
3079
3080 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3081 which wasn't being used. Add optional arg to force given state.
3082 (rmail-mime): Add optional arg to force given state.
3083
c7015153
JB
30842011-11-15 Juanma Barranquero <lekktu@gmail.com>
3085
3086 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3087 * frame.el (display-mm-dimensions-alist):
3088 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3089 (outline-move-subtree-down):
3090 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3091 (newsticker--treeview-do-get-node):
3092 * net/quickurl.el (quickurl-list-buffer-name):
3093 * progmodes/dcl-mode.el (dcl-mode):
3094 * progmodes/gdb-mi.el (gdb-mapcar*):
3095 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3096
45261b50
GM
30972011-11-15 Glenn Morris <rgm@gnu.org>
3098
3099 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3100 in a boolean sense, so just make it a boolean, and fix the doc.
3101 (rmail-show-mime-function, rmail-mime-feature)
3102 (rmail-require-mime-maybe): Doc fixes.
3103 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3104
3105 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3106
0d26e0b6
JB
31072011-11-15 Juanma Barranquero <lekktu@gmail.com>
3108
3109 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3110 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3111 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3112 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3113
447f30f6
GM
31142011-11-15 Glenn Morris <rgm@gnu.org>
3115
672b871d
GM
3116 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3117 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3118 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3119 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3120 (rmail-mime, rmail-show-mime): Doc fixes.
3121
f6aa5bb1
GM
3122 * term/ns-win.el (mode-line-frame-identification):
3123 Leave it alone. (Bug#10051)
3124
947cd66b
GM
3125 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3126
447f30f6
GM
3127 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3128 Handle empty buffers. (Bug#9978)
3129
0b381c7e
JB
31302011-11-14 Juanma Barranquero <lekktu@gmail.com>
3131
3132 * international/mule.el (define-charset):
3133 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3134 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3135 * progmodes/verilog-mode.el (verilog-backward-token):
3136 * textmodes/ispell.el (lookup-words):
3137 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3138
71e027ac
GM
31392011-11-14 Glenn Morris <rgm@gnu.org>
3140
56632ce4
GM
3141 * progmodes/executable.el
3142 (executable-make-buffer-file-executable-if-script-p):
3143 Handle file-modes returning nil.
3144
40500957
GM
3145 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3146 message - not necessary, and causes problems. (Bug#9831)
3147
071c2340
GM
3148 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3149
d3cfca60
GM
3150 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3151
71e027ac
GM
3152 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3153 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3154 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3155
89d61221
MR
31562011-11-12 Martin Rudalics <rudalics@gmx.at>
3157
3158 * window.el (window-resize, delete-window): Use window-splits
3159 variable instead of function.
3160 (window-state-get-1, window-state-put-2, window-state-put):
3161 Don't deal with windows' splits status.
3162
98282f6f
GM
31632011-11-12 Glenn Morris <rgm@gnu.org>
3164
3165 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3166 (apropos-documentation): Doc fixes.
3167
40a8bdf6
JB
31682011-11-11 Juanma Barranquero <lekktu@gmail.com>
3169
3170 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3171 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3172
65bd19ff
SM
31732011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * electric.el (electric-indent-post-self-insert-function): Make it
3176 possible for a char to only indent in some circumstances.
3177 (electric-indent-mode): Simplify.
3178
54f9154c
MR
31792011-11-11 Martin Rudalics <rudalics@gmx.at>
3180
3181 * window.el (windows-with-parameter): Remove unused function.
3182 (windows-at-side): Rename to window-at-side-list.
3183 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3184 (window-side-check, window-size-ignore, window-size-fixed-1)
3185 (window-in-direction-2): Prefix with "window--".
3186 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3187
68cbc58b
GM
31882011-11-11 Glenn Morris <rgm@gnu.org>
3189
3190 * subr.el (eval-after-load): If FILE is already loaded,
3191 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3192
b2621720
GM
31932011-11-10 Glenn Morris <rgm@gnu.org>
3194
9a4de110
GM
3195 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3196 Call svn via vc-svn-command rather than vc-do-command.
3197 (vc-svn-command): Add --non-interactive. (Bug#9993)
3198 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3199
b2621720
GM
3200 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3201 Add toggle-read-only. (Bug#7292)
3202 * files.el (toggle-read-only): Mention that it should only
3203 be used interactively. (Bug#10006)
3204
1dce7193
SM
32052011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3206
d9ac1a1e
SM
3207 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3208 Adjust regexp for OCaml warnings.
3209
0c325082
SM
3210 * electric.el (electric-pair-post-self-insert-function): Let user
3211 turn it off buffer-locally (bug#9932).
3212
90132c14
SM
3213 * progmodes/python.el (python-beginning-of-statement):
3214 Rewrite (bug#2703).
3215
1dce7193
SM
3216 * progmodes/compile.el: Better handle TABs (bug#9749).
3217 (compilation-internal-error-properties)
3218 (compilation-next-error-function): Obey the target buffer's
3219 compilation-error-screen-columns.
3220
c4e7c63a
JB
32212011-11-09 Juanma Barranquero <lekktu@gmail.com>
3222
3223 * progmodes/meta-mode.el: Remove obsolete comments.
3224 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3225 Fix typos in docstrings.
3226
2cffd681
MR
32272011-11-09 Martin Rudalics <rudalics@gmx.at>
3228
3229 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3230 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3231 (window--resizable): New function. Make all callers of
3232 window-resizable call window--resizable instead.
3233 (window-resizable): Rewrite in terms of window--resizable.
3234
0edcba87
GM
32352011-11-08 Glenn Morris <rgm@gnu.org>
3236
3237 * progmodes/delphi.el (delphi-mode-syntax-table):
3238 Let define-derived-mode define a proper syntax table. (Bug#9994)
3239
4b0d61e3
SM
32402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * window.el: Stay away from defsubst.
3243 (window-list-no-nils): Remove.
3244 (window-state-get-1, window-state-get): Use backquote instead.
3245
cd394be1 32462011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3247
4b0d61e3 3248 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3249 Fix incorrect use of default argument in `completing-read'.
3250
e1c2c6f2
MR
32512011-11-08 Martin Rudalics <rudalics@gmx.at>
3252
3253 * window.el (display-buffer-function, special-display-function):
3254 Mention display-buffer-record-window but do not mention
3255 help-setup parameter in doc-strings.
b3f4a882 3256 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3257
105216ed
CY
32582011-11-08 Chong Yidong <cyd@gnu.org>
3259
3260 * window.el (window-total-height, window-total-width): Doc fix.
3261 (window-body-size): Move from C.
3262 (window-body-height, window-body-width): Move to C.
3263
0a9f9ab5
SM
32642011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3265
3266 * window.el: Make special-display like display-buffer-alist (bug#9532).
3267 (display-buffer--special-action): New function, morphed
3268 from display-buffer--special.
3269 (display-buffer): Use it to handle special-display-buffers at higher
3270 priority (just after display-buffer-alist).
3271 (display-buffer-fallback-action, display-buffer--other-frame-action)
3272 (pop-to-buffer-same-window): Remove display-buffer--special.
3273
a769dd15
GM
32742011-11-07 Glenn Morris <rgm@gnu.org>
3275
3276 * calendar/cal-menu.el (cal-menu-set-date-title):
3277 Do nothing if not in a calendar. (Bug#9976)
3278
05a61ee3
SM
32792011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * files.el (find-file): Always use selected-window.
3282
be7f5545
MR
32832011-11-07 Martin Rudalics <rudalics@gmx.at>
3284
3285 * window.el (window-combinations): Make WINDOW argument
3286 mandatory. Rewrite doc-string.
3287 (walk-window-subtree, window-atom-check, window-min-delta)
3288 (window-max-delta, window--resize-this-window)
3289 (window--resize-root-window-vertically, window-tree)
3290 (balance-windows, window-state-put): Rewrite doc-strings as to
3291 not mention the term "subwindow".
3292 (window--resize-subwindows-skip-p): Rename to
3293 window--resize-child-windows-skip-p.
3294 (window--resize-subwindows-normal): Rename to
3295 window--resize-child-windows-normal.
3296 (window--resize-subwindows): Rename to
3297 window--resize-child-windows.
3298 (window-or-subwindow-p): Rename to window--in-subtree-p.
3299
3c6702ef
ML
33002011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3301
3302 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3303 Ensure that mbox format messages end in two newlines (Bug#9974).
3304
49745b39
CY
33052011-11-06 Chong Yidong <cyd@gnu.org>
3306
3307 * window.el (window-combination-p): Function deleted; its
3308 side-effect is not used in any existing code.
3309 (window-combinations, window-combined-p): Call window-*-child
3310 directly.
3311
24300f5f
CY
33122011-11-05 Chong Yidong <cyd@gnu.org>
3313
3314 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3315 (window-size-ignore, window-state-get): Callers changed.
3316 (window-normalize-window): Rename from window-normalize-any-window.
3317 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3318 (window-normalize-live-window): Delete.
447f16b8
CY
3319 (window-combination-p, window-combined-p, window-combinations)
3320 (walk-window-subtree, window-atom-root, window-min-size)
3321 (window-sizable, window-sizable-p, window-size-fixed-p)
3322 (window-min-delta, window-max-delta, window-resizable)
3323 (window-resizable-p, window-full-height-p, window-full-width-p)
3324 (window-current-scroll-bars, window-point-1, set-window-point-1)
3325 (window-at-side-p, window-in-direction, window-resize)
3326 (adjust-window-trailing-edge, maximize-window, minimize-window)
3327 (window-deletable-p, delete-window, delete-other-windows)
3328 (record-window-buffer, unrecord-window-buffer)
3329 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3330 (quit-window, split-window, window-state-put)
3331 (set-window-text-height, fit-window-to-buffer)
3332 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3333
89bd5ee1
EZ
33342011-11-04 Eli Zaretskii <eliz@gnu.org>
3335
53479029
EZ
3336 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3337 rfc2047-decode-string.
3338 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3339 warnings.
3340
89bd5ee1
EZ
3341 * window.el (window-body-height, window-body-width): Mention in
3342 the doc string that the return values are in frame's canonical
3343 units. (Bug#9949)
3344
bd17fdee
AM
33452011-11-03 Alan Mackenzie <acm@muc.de>
3346
3347 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3348 change in cc-engine.el.
3349
acc825c5
SM
33502011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3353
1885e5b8
MR
33542011-11-02 Martin Rudalics <rudalics@gmx.at>
3355
3356 * window.el (quit-window): Call unrecord-window-buffer after
3357 showing another buffer in the window. (Bug#9937)
acc825c5 3358 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3359
ebe06da9
JB
33602011-11-02 Juanma Barranquero <lekktu@gmail.com>
3361
3362 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3363 Accept status with more than 9 shelves. (Bug#9935)
3364 Reported by Colin D Bennett <colin@gibibit.com>.
3365
4ee88440
MR
33662011-11-01 Martin Rudalics <rudalics@gmx.at>
3367
3368 * help.el (with-help-window): Don't reference
3369 temp-buffer-show-specifiers in doc-string.
3370
08e1d82c
AS
33712011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3374 menu-item.
3375
84bd6e9e
VJL
33762011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3377
3378 * whitespace.el: New version 13.2.2.
3379 (whitespace-newline-mode): Disable properly. Reported by Sarah
3380 <EmacsWiki>.
3381
dba0634a
UJ
33822011-10-30 Ulf Jasper <ulf.jasper@web.de>
3383
3384 * net/newst-treeview.el: Remove "Time-stamp".
3385 (newsticker--group-manage-orphan-feeds): Do not call
3386 newsticker--treeview-tree-update.
db22a3c2
JB
3387 (newsticker-treeview-update, newsticker-treeview):
3388 Call newsticker--treeview-tree-update if necessary.
dba0634a 3389
3d8daefe
MR
33902011-10-30 Martin Rudalics <rudalics@gmx.at>
3391
3392 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3393 (window-iso-combinations): Remove "iso-" infix.
3394 Suggested by Chong Yidong.
3d8daefe
MR
3395 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3396 (window-max-delta-1, window-resize, window--resize-siblings)
3397 (window--resize-this-window, adjust-window-trailing-edge)
3398 (split-window, balance-windows-1)
3399 (shrink-window-if-larger-than-buffer):
3400 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3401 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3402
1bc4c3ae
SM
34032011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3406 in place (bug#9907).
3407 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3408 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3409 (eshell-structure-basic-command, eshell-rewrite-while-command)
3410 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3411 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3412 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3413 (eshell-do-pipelines-synchronously, eshell-eval-command):
3414 Use backquotes and prefer setq to set.
3415 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3416 (eshell-macrop): Use functionp.
c1e2f5fa 3417 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3418
30b65d9c
CY
34192011-10-30 Chong Yidong <cyd@gnu.org>
3420
3421 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3422 instead of set-mark (Bug#9810).
3423
2d197ffb
CY
34242011-10-30 Chong Yidong <cyd@gnu.org>
3425
3426 * window.el (split-window-below, split-window-right): Rename from
3427 split-window-above-each-other and split-window-side-by-side
3428 respectively. All callers changed.
3429 (split-window-sensibly, split-window-sensibly): Use them.
3430 (split-window-keep-point): Doc fix.
3431
3432 * isearch.el: Add isearch-scroll property to split-window-below
3433 and split-window-right.
3434
3435 * follow.el (follow-mode):
3436 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3437 * progmodes/ada-xref.el (ada-gdb-application):
3438 * emulation/vip.el (vip-buffer-in-two-windows):
3439 * image-dired.el (image-dired-dired-with-window-configuration):
3440 * dired-x.el (dired-do-find-marked-files):
3441 * dired.el (dired-pop-to-buffer):
3442 * bs.el (bs--show-with-configuration):
3443 * vc/emerge.el (emerge-setup-windows):
3444 * textmodes/two-column.el (2C-two-columns):
3445 * textmodes/reftex-toc.el (reftex-toc):
3446 * progmodes/gdb-mi.el (gdb-setup-windows):
3447 * progmodes/fortran.el (fortran-window-create):
3448 * net/newst-treeview.el (newsticker--treeview-window-init):
3449 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3450 * emulation/tpu-edt.el (tpu-gold-map):
3451 * emulation/crisp.el (crisp-mode-map):
3452 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3453
38bb2ca8
CY
34542011-10-29 Chong Yidong <cyd@gnu.org>
3455
aa4de341
CY
3456 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3457
e1eb5385
CY
3458 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3459
5d2ece3c
CY
3460 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3461 forged Ispell output (Bug#7904).
3462
38bb2ca8
CY
3463 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3464
d0af9f77
SM
34652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * doc-view.el: Avoid ugly errors about not finding nil.
3468 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3469 (doc-view-dvipdf-program, doc-view-unoconv-program)
3470 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3471 Avoid nil or absolute file name as default value.
3472 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3473
52bedd34
AM
34742011-10-28 Alan Mackenzie <acm@muc.de>
3475
db22a3c2 3476 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3477
7e43cfa5
AM
34782011-10-28 Alan Mackenzie <acm@muc.de>
3479
3480 Amend the handling of c-beginning/end-of-defun in nested declaration
3481 scopes.
3482
52bedd34
AM
3483 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3484 cc-langs.el. Change it to a defcustom.
7e43cfa5 3485
52bedd34
AM
3486 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3487 cc-vars.el.
7e43cfa5 3488
d0af9f77
SM
3489 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3490 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3491
52bedd34 3492 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3493 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3494 (c-widen-to-enclosing-decl-scope): New function.
3495 (c-while-widening-to-decl-block): New macro.
3496 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3497 outward for defun boundaries, and correspondingly change symbol
3498 `respect-enclosure' to `go-outward'.
3499 (c-declaration-limits): Change algorithm to report only the "innermost"
3500 defun's boundaries.
3501
1a2ce9ee
DD
35022011-10-28 Deniz Dogan <deniz@dogan.se>
3503
3504 * net/rcirc.el (rcirc-mode): Use hard newlines.
3505
bc97a826
AM
35062011-10-28 Alan Mackenzie <acm@muc.de>
3507
3508 Amend to indent and fontify macros "which include their own semicolon"
3509 correctly, using the "virtual semicolon" mechanism.
3510
52bedd34 3511 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3512
d0af9f77 3513 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3514 Recode to scan one line at a time rather than having \n and \r
58179cce 3515 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3516 (c-forward-label): Amend for virtual semicolons.
58179cce 3517 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3518
52bedd34
AM
3519 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3520 of the new C macros.
bc97a826 3521
52bedd34 3522 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3523 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3524 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3525 (c-opt-cpp-macro-define): Make into a full language variable.
3526 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3527 AWK Mode (including \n, \r) removed, no longer needed.
3528
d0af9f77
SM
3529 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3530 Invoke c-make-macro-with-semi-re.
bc97a826 3531
52bedd34
AM
3532 * progmodes/cc-vars.el (c-macro-with-semi-re):
3533 (c-macro-names-with-semicolon): New variables.
58179cce 3534 (c-make-macro-with-semi-re): New function.
bc97a826 3535
7a6c0941
SM
35362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * vc/log-edit.el: Fill empty field rather than adding new one.
3539 (log-edit-add-field): New function.
3540 (log-edit-insert-changelog): Use it.
3541
b0c4cdcf
ML
35422011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3543
3544 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3545
ee1f1da9
SM
35462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3548 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3549 (gdb--check-interpreter): New function.
3550 (gdb): Use it.
3551
51bc5f8b
GM
35522011-10-27 Glenn Morris <rgm@gnu.org>
3553
416a2c45
GM
3554 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3555 (least-positive-float, least-negative-float)
3556 (least-positive-normalized-float, least-negative-normalized-float)
3557 (float-epsilon, float-negative-epsilon):
3558 Remove unnecessary declarations.
3559
3560 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3561 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3562 (least-positive-float, least-negative-float)
3563 (least-positive-normalized-float, least-negative-normalized-float)
3564 (float-epsilon, float-negative-epsilon): Add doc-strings,
3565 based on those in cl.texi.
3566
51bc5f8b
GM
3567 * files.el (set-visited-file-name): If the major-mode changed,
3568 reload the local variables. (Bug#9796)
3569
15de15c6
CY
35702011-10-27 Chong Yidong <cyd@gnu.org>
3571
3572 * subr.el (change-major-mode-after-body-hook): New hook.
3573 (run-mode-hooks): Run it.
3574
ee1f1da9
SM
3575 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3576 Use change-major-mode-before-body-hook.
15de15c6
CY
3577
3578 * simple.el (fundamental-mode):
3579 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3580 change introducing fundamental-mode-hook.
3581
5430d399
JB
35822011-10-26 Juanma Barranquero <lekktu@gmail.com>
3583
acc825c5 3584 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3585
ad74a69e
MA
35862011-10-26 Michael Albinus <michael.albinus@gmx.de>
3587
3588 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3589 tramp.el explicitly. (Bug#7583)
ad74a69e 3590
71d4c2a5
SM
35912011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * progmodes/octave-mod.el:
3594 * progmodes/octave-inf.el: Update maintainer.
3595
b1f6fa26
CY
35962011-10-26 Chong Yidong <cyd@gnu.org>
3597
3598 * subr.el (with-wrapper-hook): Rewrite doc.
3599
3f04efd6
MA
36002011-10-25 Michael Albinus <michael.albinus@gmx.de>
3601
3602 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3603 filenames "/method:foo:". (Bug#9793)
3f04efd6 3604
410488d3
SM
36052011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3608 (bug#9865).
3609
c1ebb47e
GM
36102011-10-24 Glenn Morris <rgm@gnu.org>
3611
3612 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3613
7f5c46c7
MA
36142011-10-24 Michael Albinus <michael.albinus@gmx.de>
3615
3616 * notifications.el: Add the requirement of a running D-Bus session
3617 bus to the Commentary.
3618
db2440b6
JL
36192011-10-24 Juri Linkov <juri@jurta.org>
3620
3621 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3622 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3623 (Bug#9364)
3624
feecf435
JL
36252011-10-24 Juri Linkov <juri@jurta.org>
3626
3627 * info.el (Info-following-node-name-re): Add newline to the list
3628 of allowed characters for leading space. (Bug#9824)
3629
a3839de2
SM
36302011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3631
acc825c5
SM
3632 * progmodes/octave-inf.el (inferior-octave-mode-map):
3633 Fix C-c C-h binding.
a3839de2
SM
3634 * progmodes/octave-mod.el (octave-help): Remove.
3635
09388e76
MA
36362011-10-23 Michael Albinus <michael.albinus@gmx.de>
3637
3638 Sync with Tramp 2.2.3.
3639
3640 * net/tramp-cache.el (top): Pacify byte-compiler using
3641 `init-file-user' and `site-run-file'.
3642
3643 * net/trampver.el: Update release number.
3644
86c60681
CY
36452011-10-23 Chong Yidong <cyd@gnu.org>
3646
3647 * files.el (toggle-read-only): Remove obsolete comment about
3648 version control.
3649
3650 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3651 for toggle-read-only. Note that this hasn't called vc-next-action
3652 since 2008-05-02, though it wasn't documented at the time.
3653
a3839de2
SM
3654 * vc/ediff-init.el (ediff-toggle-read-only-function):
3655 Use toggle-read-only.
86c60681 3656
cd5495ff
AM
36572011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3658
3659 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3660 of c-parse-state.
3661
00b77525 3662 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3663 correct faulty logical expression.
cd5495ff
AM
3664 (c-parse-state-state, c-record-parse-state-state):
3665 (c-replay-parse-state-state): New defvar/defuns.
3666 (c-debug-parse-state): Use new functions.
3667
42ee24ed
MR
36682011-10-22 Martin Rudalics <rudalics@gmx.at>
3669
3670 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3671 last fix. Use window-in-direction correctly.
42ee24ed 3672
a7dee7e7
CY
36732011-10-21 Chong Yidong <cyd@gnu.org>
3674
3675 * progmodes/idlwave.el (idlwave-mode):
3676 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3677 require-final-newline; that's done in prog-mode.
3678 Suggested by Stefan Monnier.
a7dee7e7 3679
e07b9a6d
MR
36802011-10-21 Martin Rudalics <rudalics@gmx.at>
3681
3682 * mouse.el (mouse-drag-window-above)
3683 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3684 (mouse-drag-mode-line-1, mouse-drag-header-line)
3685 (mouse-drag-vertical-line-rightward-window): Remove.
3686 (mouse-drag-line): New function.
3687 (mouse-drag-mode-line, mouse-drag-header-line)
3688 (mouse-drag-vertical-line): Call mouse-drag-line.
3689 * window.el (window-at-side-p, windows-at-side): New functions.
3690
7e1361d9
UM
36912011-10-21 Ulrich Mueller <ulm@gentoo.org>
3692
3693 * tar-mode.el (tar-grind-file-mode):
3694 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3695
30fcaf3a
CY
36962011-10-21 Chong Yidong <cyd@gnu.org>
3697
3698 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3699 * progmodes/vera-mode.el (vera-mode):
3700 Use mode-require-final-newline.
30fcaf3a 3701
516eddb0
GM
37022011-10-20 Glenn Morris <rgm@gnu.org>
3703
db22a3c2 3704 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3705
10d5f513
CS
37062011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3707
3708 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3709
ac6c8639
CY
37102011-10-20 Chong Yidong <cyd@gnu.org>
3711
3712 * emulation/cua-base.el (cua-mode):
3713 * mail/footnote.el (footnote-mode):
3714 * mail/mailabbrev.el (mail-abbrevs-mode):
3715 * net/xesam.el (xesam-minor-mode):
3716 * progmodes/bug-reference.el (bug-reference-mode):
3717 * progmodes/cap-words.el (capitalized-words-mode):
3718 * progmodes/compile.el (compilation-minor-mode)
3719 (compilation-shell-minor-mode):
3720 * progmodes/gud.el (gud-tooltip-mode):
3721 * progmodes/hideif.el (hide-ifdef-mode):
3722 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3723 * progmodes/subword.el (subword-mode):
3724 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3725 * progmodes/which-func.el (which-function-mode):
3726 * term/tvi970.el (tvi970-set-keypad-mode):
3727 * term/vt100.el (vt100-wide-mode):
3728 * textmodes/flyspell.el (flyspell-mode):
3729 * textmodes/ispell.el (ispell-minor-mode):
3730 * textmodes/nroff-mode.el (nroff-electric-mode):
3731 * textmodes/paragraphs.el (use-hard-newlines):
3732 * textmodes/refill.el (refill-mode):
3733 * textmodes/reftex.el (reftex-mode):
3734 * textmodes/rst.el (rst-minor-mode):
3735 * textmodes/sgml-mode.el (html-autoview-mode)
3736 (sgml-electric-tag-pair-mode):
3737 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3738 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3739 * emulation/crisp.el (crisp-mode):
3740 * emacs-lisp/eldoc.el (eldoc-mode):
3741 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3742 minor mode behavior.
3743
aa42ab43
JL
37442011-10-19 Juri Linkov <juri@jurta.org>
3745
3746 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3747 the list of hard-coded chars with escape-glyph face.
3748
89400f1d
SM
37492011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3752
305c07f6
MA
37532011-10-19 Michael Albinus <michael.albinus@gmx.de>
3754
3755 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3756 running process.
3757
13754b54
GM
37582011-10-19 Glenn Morris <rgm@gnu.org>
3759
3760 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3761 Ignore ignored files. (Bug#9726)
3762
06e21633
CY
37632011-10-19 Chong Yidong <cyd@gnu.org>
3764
3765 Doc fix for minor modes, stating that an omitted argument enables
3766 the mode unconditionally when called from Lisp.
3767
3768 * abbrev.el (abbrev-mode):
3769 * allout.el (allout-mode):
3770 * autoinsert.el (auto-insert-mode):
3771 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3772 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3773 (global-auto-revert-mode):
3774 * battery.el (display-battery-mode):
3775 * composite.el (global-auto-composition-mode)
3776 (auto-composition-mode):
3777 * delsel.el (delete-selection-mode):
3778 * desktop.el (desktop-save-mode):
3779 * dired-x.el (dired-omit-mode):
3780 * dirtrack.el (dirtrack-mode):
3781 * doc-view.el (doc-view-minor-mode):
3782 * double.el (double-mode):
3783 * electric.el (electric-indent-mode, electric-pair-mode):
3784 * emacs-lock.el (emacs-lock-mode):
3785 * epa-hook.el (auto-encryption-mode):
3786 * follow.el (follow-mode):
3787 * font-core.el (font-lock-mode):
3788 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3789 * help.el (temp-buffer-resize-mode):
3790 * hilit-chg.el (highlight-changes-mode)
3791 (highlight-changes-visible-mode):
3792 * hi-lock.el (hi-lock-mode):
3793 * hl-line.el (hl-line-mode, global-hl-line-mode):
3794 * icomplete.el (icomplete-mode):
3795 * ido.el (ido-everywhere):
3796 * image-file.el (auto-image-file-mode):
3797 * image-mode.el (image-minor-mode):
3798 * iswitchb.el (iswitchb-mode):
3799 * jka-cmpr-hook.el (auto-compression-mode):
3800 * linum.el (linum-mode):
3801 * longlines.el (longlines-mode):
3802 * master.el (master-mode):
3803 * mb-depth.el (minibuffer-depth-indicate-mode):
3804 * menu-bar.el (menu-bar-mode):
3805 * minibuf-eldef.el (minibuffer-electric-default-mode):
3806 * mouse-sel.el (mouse-sel-mode):
3807 * msb.el (msb-mode):
3808 * mwheel.el (mouse-wheel-mode):
3809 * outline.el (outline-minor-mode):
3810 * paren.el (show-paren-mode):
3811 * recentf.el (recentf-mode):
3812 * reveal.el (reveal-mode, global-reveal-mode):
3813 * rfn-eshadow.el (file-name-shadow-mode):
3814 * ruler-mode.el (ruler-mode):
3815 * savehist.el (savehist-mode):
3816 * scroll-all.el (scroll-all-mode):
3817 * scroll-bar.el (scroll-bar-mode):
3818 * server.el (server-mode):
3819 * shell.el (shell-dirtrack-mode):
3820 * simple.el (auto-fill-mode, transient-mark-mode)
3821 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3822 (line-number-mode, column-number-mode, size-indication-mode)
3823 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3824 * strokes.el (strokes-mode):
3825 * time.el (display-time-mode):
3826 * t-mouse.el (gpm-mouse-mode):
3827 * tool-bar.el (tool-bar-mode):
3828 * tooltip.el (tooltip-mode):
3829 * type-break.el (type-break-mode-line-message-mode)
3830 (type-break-query-mode):
3831 * view.el (view-mode):
3832 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3833 (global-whitespace-mode, global-whitespace-newline-mode):
3834 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3835
a3839de2
SM
3836 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3837 Fix autogenerated docstring.
06e21633 3838
5214e501
JL
38392011-10-19 Juri Linkov <juri@jurta.org>
3840
3841 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3842 by checking environment variables "DESKTOP_SESSION" and
3843 "XDG_CURRENT_DESKTOP". (Bug#9779)
3844
195f8db9
JL
38452011-10-19 Juri Linkov <juri@jurta.org>
3846
3847 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3848 (browse-url-chromium-program, browse-url-chromium-arguments):
3849 New defcustoms.
3850 (browse-url-default-browser): Check for `browse-url-chromium' and
3851 call `browse-url-chromium-program'.
3852 (browse-url-chromium): New command. (Bug#9779)
3853
343a34ff
JB
38542011-10-18 Juanma Barranquero <lekktu@gmail.com>
3855
3856 * facemenu.el (list-colors-duplicates): On Windows, detect more
3857 duplicates by assuming that only colors matching "^System" are
3858 special "system colors". (Bug#9722)
3859
6978a151
SM
38602011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3863 to distinguish the author from the committer.
3864
6a80b297
MA
38652011-10-18 Michael Albinus <michael.albinus@gmx.de>
3866
3867 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3868
b31a5677
JK
38692011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3870
3871 * international/mule.el (sgml-html-meta-auto-coding-function):
3872 Add support for detecting encoding in HTML5 specified only as
3873 <meta charset="UTF-8">. Implementation just makes http-equiv and
3874 content-type parts from HTML4 encoding string optional. (Bug#9716)
3875
80c6d77f
GM
38762011-10-18 Glenn Morris <rgm@gnu.org>
3877
3878 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3879
08b0fee8
CY
38802011-10-18 Chong Yidong <cyd@gnu.org>
3881
3882 * faces.el (cursor): Doc fix.
3883
67e729a5
CY
38842011-10-17 Chong Yidong <cyd@gnu.org>
3885
3886 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3887
343a34ff 38882011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3889
3890 * dirtrack.el (dirtrack): Support shell buffers with path
3891 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3892
0bc06380
TZ
38932011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3894
3895 * json.el: Bump version to 1.3 and note change in History.
3896 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3897
8b79f3e0
SM
38982011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3899
5a7c536b
SM
3900 * comint.el (comint-insert-input, comint-send-input)
3901 (comint-get-old-input-default, comint-backward-matching-input)
3902 (comint-next-prompt): Use nil instead of `input' for field property of
3903 past user input (bug#114).
3904
96a8a0df
SM
3905 * minibuffer.el (completion--replace): Inherit surrounding properties
3906 (bug#114).
3907 (minibuffer-complete-and-exit): Use it.
3908
8b79f3e0
SM
3909 * comint.el (comint--table-subvert): Quote the all-completions output
3910 (bug#9160).
3911
b8f7ff0d
MR
39122011-10-17 Martin Rudalics <rudalics@gmx.at>
3913
8b79f3e0 3914 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3915
b8f7ff0d 3916 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3917 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3918 entries and separate them from frame entries.
3919
c235b555
GM
39202011-10-15 Glenn Morris <rgm@gnu.org>
3921
3922 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3923 Doc fixes.
3924
6bbfa6e1
CY
39252011-10-15 Chong Yidong <cyd@stupidchicken.com>
3926
8b79f3e0
SM
3927 * net/network-stream.el (network-stream-open-starttls):
3928 Improve detection of failure due to lack of TLS support.
ec5c990d 3929
6bbfa6e1
CY
3930 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3931 putting the input text in front and in bold.
3932
98488977
SM
39332011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3d1337be
SM
3935 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3936
ee0b45e4
SM
3937 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3938 empty buffer.
3939
98488977
SM
3940 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3941 unread-command-events rather than pushing yet-another event.
3942
186f4720
EZ
39432011-10-14 Eli Zaretskii <eliz@gnu.org>
3944
3945 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3946 the explanation of the possible choices. Make the options passed
3947 to completing-read shorter.
3948
8b7a997c
AM
39492011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3950
3951 * textmodes/flyspell.el (flyspell-large-region): Make sure
3952 extended character mode is used if defined (Bug#1339).
3953
12587bbb
EZ
39542011-10-13 Eli Zaretskii <eliz@gnu.org>
3955
3956 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3957 character info for LRE, LRO, RLE, and RLO characters by appending
3958 an invisible PDF.
12587bbb 3959
bad41229
SM
39602011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3961
3962 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3963 even in case of error; add debug spec; simplify data flow.
3964 (with-timeout-handler): Remove.
3965
28dbc92f
MA
39662011-10-12 Michael Albinus <michael.albinus@gmx.de>
3967
3968 Fix Bug#6019, Bug#9315.
3969
3970 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3971 complete `buffer-file-name', the local file name part could look
3972 remotely (for example on VMS).
3973
3974 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3975 `tramp-run-real-handler'.
3976 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3977 already quoted by '"'.
3978
3979 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3980 Let `file-name-handler-alist' be nil, the local file name part
3981 could look remotely (for example on VMS).
3982
e1b0b23a
SM
39832011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3984
3985 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3986 from here...
3987 (flyspell-post-command-hook): ...to here.
3988
a120bde9
SM
39892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3992 if not needed.
3993 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3994 using completion. Protect against "slow" callers.
3995 Remove the "message hack".
3996
7ce7717b
JL
39972011-10-11 Juri Linkov <juri@jurta.org>
3998
3999 * isearch.el (isearch-lazy-highlight-word): New variable.
4000 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4001 Use it. (Bug#9727)
4002
c02ee9d6
GM
40032011-10-11 Glenn Morris <rgm@gnu.org>
4004
4005 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4006 like f90-previous-statement does.
4007
93e616fd 40082011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4009
1f190e73 4010 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4011 only in interactive use, to avoid error.
4012
af7b6078
SM
40132011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * minibuffer.el (completion-file-name-table): Fix last change,
4016 i.e. ignore normal errors but not the other ones.
4017
0563dae9
MR
40182011-10-10 Martin Rudalics <rudalics@gmx.at>
4019
4020 * window.el (special-display-buffer-names)
4021 (special-display-regexps): Remove some remnants of earlier
4022 changes from doc-strings.
366ca7f3
MR
4023 (quit-windows-on): New function.
4024
4025 * vc/vc.el (vc-revert, vc-rollback):
4026 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4027 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4028 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4029
49677495
MR
40302011-10-09 Martin Rudalics <rudalics@gmx.at>
4031
4032 * window.el (frame-auto-hide-function): Add version tag.
4033 (Bug#9699)
4034
56f2d1e1
MA
40352011-10-09 Michael Albinus <michael.albinus@gmx.de>
4036
4037 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4038 condition.
4039
112a6592
LL
40402011-10-09 Leo Liu <sdl.web@gmail.com>
4041
4042 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4043 (Bug#9701)
4044
0812589b
GM
40452011-10-08 Glenn Morris <rgm@gnu.org>
4046
4047 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4048 before the first code statement zero indent. (Bug#9690)
4049
b2b0776e
CY
40502011-10-08 Chong Yidong <cyd@stupidchicken.com>
4051
4052 * simple.el (count-words-region): Always count in the region.
4053 Report the number of lines and characters too.
4054 (count-words): New command, which counts in the buffer if the
4055 region is inactive, as count-words-region used to.
4056 (count-words--message): New function. Handle plurals.
4057 (count-lines-region): Make it an alias for count-words-region.
4058
4059 * bindings.el (esc-map): Replace count-lines-region with
4060 count-words-region.
4061
c557cd6b
MR
40622011-10-08 Martin Rudalics <rudalics@gmx.at>
4063
4064 * window.el (window--delete): Delete dedicated frame
4065 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4066 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4067
61a57ef4 40682011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4069
3a7d293b 4070 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4071
c3833279
CY
40722011-10-07 Chong Yidong <cyd@stupidchicken.com>
4073
4074 * bindings.el ([M-left],[M-right]): Bind to left-word and
4075 right-word respectively.
4076
21ce8245
GM
40772011-10-07 Glenn Morris <rgm@gnu.org>
4078
4079 * cus-start.el (debug-on-quit): Fix custom type.
4080
6d823bb2
LMI
40812011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4082
0181e193
LMI
4083 * subr.el (define-key-after): Clarify that the function is not
4084 useful for non-menu keymaps.
4085
6d823bb2
LMI
4086 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4087
8e3459ce 40882011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4089
21ce8245 4090 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4091 in current minibuffer (Fix bug with recursive minibuffers).
4092
a1c2d21e
CY
40932011-10-06 Chong Yidong <cyd@stupidchicken.com>
4094
4095 * progmodes/gdb-mi.el (gdb): Doc fix.
4096
5a4cf282
MR
40972011-10-05 Martin Rudalics <rudalics@gmx.at>
4098
4099 * window.el (frame-auto-hide-function): New option replacing
4100 frame-auto-delete. Suggested by Stefan Monnier.
4101 (window--delete): Call frame-auto-hide-function instead of
4102 investigating frame-auto-delete.
c96111ea
MR
4103 (window-point-1, set-window-point-1): New functions.
4104 (window-in-direction, record-window-buffer, window-state-get-1)
4105 (display-buffer-record-window): Use window-point-1 instead of
4106 window-point.
4107 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4108
9854542e
SM
41092011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4112
8943cfb0
GM
41132011-10-05 Glenn Morris <rgm@gnu.org>
4114
4115 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4116 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4117
647ab967
LL
41182011-10-05 Leo Liu <sdl.web@gmail.com>
4119
4120 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4121 works with buffer object.
4122
3ddfbced
SM
41232011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * mpc.el (mpc-tool-bar-map): Add labels.
4126
bdfa5dd2
GM
41272011-10-04 Glenn Morris <rgm@gnu.org>
4128
4129 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4130
0e2070b5
MR
41312011-10-04 Martin Rudalics <rudalics@gmx.at>
4132
4133 * window.el (window--delete): New function.
4134 (frame-auto-delete): Resuscitate option.
4135 (bury-buffer, replace-buffer-in-windows)
4136 (quit-window): Rewrite using window--delete.
4137 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4138 Pass display-buffer-mark-dedicated to window--display-buffer-2
4139 (Bug#9639).
4140
3dc61a09
SM
41412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4142
915a9b64
SM
4143 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4144 returns a list (bug#9554). Add remote file name completion.
4145 * comint.el (comint--table-subvert): Curry and get quote&unquote
4146 functions as arguments.
4147 (comint--complete-file-name-data): Adjust call accordingly.
4148 * pcomplete.el (pcomplete--table-subvert): Remove.
4149 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4150
3dc61a09
SM
4151 * minibuffer.el (completion-table-case-fold): Use currying.
4152 (completion--styles-type, completion--cycling-threshold-type):
4153 New constants.
4154 (completion-styles, completion-category-overrides)
4155 (completion-cycle-threshold): Use them.
4156 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4157 completion-table-case-fold.
4158
8ea0a993
SB
41592011-10-03 Stephen Berman <stephen.berman@gmx.net>
4160
4161 * minibuffer.el (completion-category-overrides): Fix type of styles
4162 and add more user friendly tags (bug#9660).
4163
8c24b7f6
SM
41642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4167 (mule-input-method-string): New widget.
4168 (default-input-method, language-info-custom-alist): Use it.
4169
428fe61a
SM
41702011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4171
32c1fffd
SM
4172 * pcomplete.el: Require comint.
4173 (pcomplete--common-suffix): Remove.
4174 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4175 (pcomplete--table-subvert): Sync with comint--table-subvert.
4176 (pcomplete--entries): Use comint-completion-file-name-table.
4177 * comint.el (comint-unquote-filename): Simplify.
4178 (comint-completion-file-name-table): New function (bug#9616).
4179 (comint--complete-file-name-data): Use it.
4180
428fe61a
SM
4181 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4182 (pcmpl-gnu-tar-buffer): Remove.
4183 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4184 around. Make sure pcomplete-suffix-list is only changed temporarily.
4185 Don't look inside the tar's file if it's too large.
428fe61a 4186
04c52e2f
CY
41872011-10-01 Chong Yidong <cyd@stupidchicken.com>
4188
ce3cefcc
CY
4189 * cus-edit.el (custom-mode-map):
4190 * epa.el (epa-key-list-mode-map):
4191 * man.el (Man-mode-map):
4192 * startup.el (splash-screen-keymap):
4193 * simple.el (special-mode-map): Use scroll-up-command and
4194 scroll-down-command.
4195
4196 * progmodes/idlw-help.el (idlwave-help-mode-map):
4197 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4198 * net/newst-plainview.el (newsticker-mode-map):
4199 * emulation/ws-mode.el (wordstar-mode-map):
4200 * emulation/vi.el (vi-com-map):
4201 * calc/calc-graph.el (calc-graph-show-dumb):
4202 * term/sun.el (terminal-init-sun):
4203 * term/ns-win.el (global-map):
4204 * progmodes/grep.el (grep-mode-map):
4205 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4206 * mail/rmail.el (rmail-mode-map):
4207 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4208
04c52e2f
CY
4209 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4210 custom-safe-themes as special.
4211
79adf8c8
JD
42122011-10-01 Julien Danjou <julien@danjou.info>
4213
4214 * notifications.el (notifications-notify): Fix docstring.
4215
63bd50d3
PS
42162011-10-01 Per Starbäck <per@starback.se>
4217
4218 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4219
199e4c7e
MR
42202011-09-30 Martin Rudalics <rudalics@gmx.at>
4221
4222 * startup.el (command-line-1): Fix last fix by inserting
4223 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4224 (Bug#9605) and (Bug#9636)
199e4c7e 4225
fe5f08dd
EZ
42262011-09-29 Eli Zaretskii <eliz@gnu.org>
4227
4228 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4229 window is hscrolled, move by logical lines. (Bug#9607)
4230 (line-move-visual): Update the doc string to the above effect.
4231
b5516bbd
MR
42322011-09-29 Martin Rudalics <rudalics@gmx.at>
4233
ccee00c0
MR
4234 * window.el (display-buffer-record-window): When WINDOW is the
4235 selected window use `point' instead of `window-point'. (Bug#9626)
4236
b5516bbd
MR
4237 * startup.el (command-line-1): Use insert-before-markers when
4238 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4239
b5516bbd
MR
4240 * help.el (help-window): Remove variable.
4241
52aa0014
GM
42422011-09-29 Glenn Morris <rgm@gnu.org>
4243
4244 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4245
df9a7357
JB
42462011-09-29 Juanma Barranquero <lekktu@gmail.com>
4247
4248 * descr-text.el (describe-char-categories): Accept category
4249 descriptions more than one line long.
4250
a8406c20
SM
42512011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4252
88d9610c
SM
4253 * simple.el (delete-trailing-whitespace): Fix last change.
4254
a5daf810
SM
4255 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4256 Don't confuse "y => 3" as the beginning of a `y' operation.
4257
a8406c20
SM
4258 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4259 object has more than 4 slots (bug#9613).
4260
a239d4e9
JB
42612011-09-28 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * subr.el (with-output-to-temp-buffer):
4264 * net/quickurl.el (quickurl, quickurl-browse-url):
4265 Fix typos in docstrings.
4266
693fbdb6
EZ
42672011-09-27 Eli Zaretskii <eliz@gnu.org>
4268
4269 * minibuffer.el (completion-styles)
4270 (completion-category-overrides): Cross reference each other in doc
4271 strings.
4272
8b457e28
GM
42732011-09-27 Glenn Morris <rgm@gnu.org>
4274
4275 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4276 to split-string. (Bug#9606)
4277
85a16208
LMI
42782011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4279
4280 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4281 (bug#9615).
4282
502f9ebd
CY
42832011-09-27 Chong Yidong <cyd@stupidchicken.com>
4284
4285 * emacs-lisp/package.el (list-packages): Fix echo area message.
4286
7690bdea
LL
42872011-09-27 Leo Liu <sdl.web@gmail.com>
4288
4289 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4290
e2ee6f30
MA
42912011-09-25 Michael Albinus <michael.albinus@gmx.de>
4292
4293 * net/dbus.el (dbus-unregister-object): Don't release services for
4294 registered signals. (Bug#9581)
4295
f3f98342
TZ
42962011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4297
4298 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4299 function that picks between cfengine 2 and 3 support
4300 automatically. Update docs accordingly.
4301
dd7aa8dd
KH
43022011-09-22 Kenichi Handa <handa@m17n.org>
4303
4304 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4305 ZERO.
4306 (indian-itrans-v5-table-for-tamil): New variable.
4307 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4308
3f2b07f8
KM
43092011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4310
4311 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4312 that's true if the current command involved collapsing of text.
4313 It's reset to false at the beginning of the next command.
4314 (allout-post-command-business): Move the cursor to the beginning
4315 of entry if the cursor is hidden and collapsing activity just
4316 happened.
4317
371d6a61
CY
43182011-09-24 Chong Yidong <cyd@stupidchicken.com>
4319
4320 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4321 tracking (Bug#9541).
4322
2ac2721a
UJ
43232011-09-24 Ulf Jasper <ulf.jasper@web.de>
4324
4325 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4326 (newsticker-show-news): Automatically load html rendering package
4327 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4328 because w3m-fill-column is let-bound" and the error "Symbol's value
4329 as variable is void: w3m-fill-column".
2ac2721a 4330
fac7ae53
MA
43312011-09-24 Michael Albinus <michael.albinus@gmx.de>
4332
4333 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4334 Release services only if they are defined. (Bug#9581)
4335
e08b633b
RS
43362011-09-23 Richard Stallman <rms@gnu.org>
4337
e488d29c
RS
4338 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4339 distinguish start of paragraph from start of its text.
4340
19c38752
RS
4341 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4342
e08b633b
RS
4343 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4344 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4345 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4346
0a39f27e
AS
43472011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4348
4349 * international/mule-diag.el (mule-diag): Insert a newline after
4350 each fontset description.
4351
db4e950d
SM
43522011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * simple.el (delete-trailing-whitespace):
4355 Document last change; simplify.
4356
eca3f3ea
PW
43572011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4358
d68e189a
PW
4359 * simple.el (delete-trailing-whitespace): Also delete
4360 extra newlines at the end of the buffer.
4361
eca3f3ea
PW
4362 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4363 (picture-newline): Use forward-line so as to ignore fields.
4364
01c157cc
SM
43652011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * subr.el (with-wrapper-hook): Fix edebug spec.
4368
022de23e
LMI
43692011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4370
4371 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4372 (bug#4538).
4373
91683089
MA
43742011-09-23 Michael Albinus <michael.albinus@gmx.de>
4375
eca3f3ea
PW
4376 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4377 Fix nasty bug using wrong cached values.
91683089 4378
5bdd6fa4
AM
43792011-09-23 Alan Mackenzie <acm@muc.de>
4380
4381 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4382
97adfb97
CY
43832011-09-23 Chong Yidong <cyd@stupidchicken.com>
4384
4385 * window.el (pop-to-buffer): Ensure right window is selected if we
4386 chose another frame.
4387
d4ef2b50
EZ
43882011-09-22 Eli Zaretskii <eliz@gnu.org>
4389
4390 * simple.el (what-cursor-position): Use get-char-property-change
4391 and next-single-char-property-change, to be able to show display
4392 properties that come from overlays as well as text properties.
4393
72258fe5
CY
43942011-09-22 Chong Yidong <cyd@stupidchicken.com>
4395
4396 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4397
4398 * cmuscheme.el (run-scheme, switch-to-scheme):
4399 * cus-edit.el (customize-group, custom-buffer-create)
4400 (customize-browse):
4401 * info.el (info):
4402 * shell.el (shell):
4403 * mail/sendmail.el (mail):
4404 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4405
8f098516
RS
44062011-09-22 Richard Stallman <rms@gnu.org>
4407
4408 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4409 move back only to line beg, don't move back over blank lines.
4410
e74f1bb6
MA
44112011-09-22 Michael Albinus <michael.albinus@gmx.de>
4412
4413 * files.el (copy-directory): Set directory attributes only in case
4414 they could be retrieved from the source directory. (Bug#9565)
4415
bfeef8b6
DK
44162011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4417
4418 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4419 (hs-find-block-beginning, hs-hide-level-recursive):
4420 Ignore strings as well as comments. (Bug#9502)
4421
7e423bb8
AS
44222011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4423
4424 * progmodes/sql.el (sql-comint-postgres):
4425 Convert port number to a string. (Bug#9566)
4426
b4d72fcf
MR
44272011-09-22 Martin Rudalics <rudalics@gmx.at>
4428
4429 * window.el (quit-window): Undedicate window when switching to
4430 previous buffer. Reported by Thierry Volpiatto
4431 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4432 (special-display-popup-frame): When popping up a new frame reset
4433 its previous buffers to nil. Simplify code.
b4d72fcf 4434
a7b88dc6
MA
44352011-09-21 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4438 and process filter, as done also in `shell-command'.
4439
cf4eacfd
MR
44402011-09-21 Martin Rudalics <rudalics@gmx.at>
4441
eca3f3ea 4442 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4443 Call set-window-start with NOFORCE argument t.
4444 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4445 (quit-window): Reword doc-string. Handle new format of
4446 quit-restore parameter. Don't delete window if it has a
4447 previous buffer we can show instead of the present one.
4448 (display-buffer-record-window): Rewrite using a new format for
4449 the quit-restore window parameter
4450 (special-display-popup-frame, display-buffer-same-window)
4451 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4452 (display-buffer-pop-up-window, display-buffer-use-some-window):
4453 Adapt symbol passed to display-buffer-record-window.
4454 * help.el (help-window-setup): Handle new format of quit-restore
4455 parameter.
4456
8d28cb95
SM
44572011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4458
94ab793f
SM
4459 * faces.el (face-list): Fix docstring (bug#9564).
4460
8d28cb95
SM
4461 * window.el (display-buffer--action-function-custom-type):
4462 Don't include internal functions in the Custom interface.
4463
3820edeb
JL
44642011-09-20 Juri Linkov <juri@jurta.org>
4465
4466 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4467 (Info-forward-node, Info-backward-node, Info-next-preorder)
4468 (Info-last-preorder): Use it. (Bug#9528)
4469
5147931d
JL
44702011-09-20 Juri Linkov <juri@jurta.org>
4471
4472 * info.el (Info-last-preorder): Visit last menu item only when
4473 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4474
cf499a1a
JD
44752011-09-20 Julien Danjou <julien@danjou.info>
4476
4477 * password-cache.el (password-cache-remove): Remove entries even if the
4478 value is nil, so that password with a nil value (negative caching) is
4479 possible to invalidate.
4480
f84e2fe2
LM
44812011-09-20 Lawrence Mitchell <wence@gmx.li>
4482
4483 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4484 all whitespace around breakpoint. (Bug#9553)
4485 (f90-find-breakpoint): Only break at whitespace inside a comment.
4486
78054a46
SM
44872011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * minibuffer.el (completion-file-name-table): Keep track of errors.
4490 (completion-table-with-predicate): Handle the case where pred1 is nil.
4491 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4492
345083b2
SM
44932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4494
e24e27be
SM
4495 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4496 (debugger-return-value): Signal an error if the debugging context does
4497 not await any return value.
4498
345083b2
SM
4499 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4500 * image-mode.el (image-toggle-display-text)
4501 (image-toggle-display-image): Stay away from evil `intangible'.
4502
08d355e3
LL
45032011-09-19 Leo Liu <sdl.web@gmail.com>
4504
4505 * replace.el (occur-revert-arguments): Make it permanent-local.
4506 (occur-mode): Don't call font-lock-defontify.
4507
f01da43f
CY
45082011-09-19 Chong Yidong <cyd@stupidchicken.com>
4509
4510 * net/ldap.el (ldap-search-internal): Don't push empty search
4511 result (Bug#9508).
4512
b6072fa6
SM
45132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4516
443d6696
MA
45172011-09-19 Michael Albinus <michael.albinus@gmx.de>
4518
4519 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4520 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4521
7cc6e154
JL
45222011-09-18 Juri Linkov <juri@jurta.org>
4523
4524 * buff-menu.el (Buffer-menu-mode-map):
4525 * dired.el (dired-mode-map):
4526 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4527 (lisp-interaction-mode-map):
4528 * emacs-lisp/package.el (package-menu-mode-map):
4529 * epa.el (epa-key-list-mode-map):
4530 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4531 (menu-bar-options-menu):
4532 * outline.el (outline-mode-menu-bar-map):
4533 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4534 * vc/vc-dir.el (vc-dir-menu-map):
4535 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4536 Capitalize non-function content words in menu item strings.
4537
4538 * dired.el (dired-mode-map): Add menu item for
4539 `image-dired-dired-toggle-marked-thumbs'.
4540
80302a81
JL
45412011-09-18 Juri Linkov <juri@jurta.org>
4542
4543 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4544 to `isearch-case-fold-search' and restore its original value
4545 after the `isearch-mode' call.
4546
46c5cf66
JL
45472011-09-18 Juri Linkov <juri@jurta.org>
4548
4549 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4550 because `zgrep' returns 1 for successful matches (bug#9226).
4551
d18b513b
JL
45522011-09-18 Juri Linkov <juri@jurta.org>
4553
4554 * info.el (Info-extract-menu-node-name): Check the second match
4555 for empty string (second test-case of bug#9528).
4556 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4557 intermediate nodes to the history (first test-case of bug#9528).
4558
72753f87
JL
45592011-09-18 Juri Linkov <juri@jurta.org>
4560
4561 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4562 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4563
c9384295
JL
45642011-09-18 Juri Linkov <juri@jurta.org>
4565
1154d12e
JB
4566 * info.el (Info-file-supports-index-cookies):
4567 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4568 outputs one more line for long file names (bug#4142).
c9384295 4569
d473dce8
CY
45702011-09-18 Chong Yidong <cyd@stupidchicken.com>
4571
4572 * newcomment.el (comment-normalize-vars): If prompting for
4573 comment-start, set comment-start-skip too (Bug#8424).
4574
2176854d
JB
45752011-09-18 Johan Bockgård <bojohan@gnu.org>
4576
4577 * icomplete.el: Fix previous fix of Bug#5849.
4578 (icomplete-mode): Don't set completion-show-inline-help.
4579 (icomplete-minibuffer-setup): Set completion-show-inline-help
4580 locally during icompletion.
4581
3aace4e4
CY
45822011-09-18 Chong Yidong <cyd@stupidchicken.com>
4583
c940224f
CY
4584 * woman.el (woman2-process-escapes): Don't delete unrecognized
4585 escapes (Bug#7843).
4586
3aace4e4
CY
4587 * files.el (inhibit-first-line-modes-regexps): Add image files.
4588 (hack-local-variables-prop-line): Return nil for malformed
4589 prop-lines (Bug#9044).
4590
710dec63
MA
45912011-09-18 Michael Albinus <michael.albinus@gmx.de>
4592
4593 * net/tramp.el (top): Don't require 'shell.
4594 (tramp-methods): Fix docstring.
4595 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4596 Return complete remote file name. Handle "smb" case.
4597 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4598 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4599
4600 * net/tramp-compat.el (top): Require 'shell.
4601
4602 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4603 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4604 `tramp-current-host'.
4605 (tramp-get-remote-tmpdir): Remove.
4606
4607 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4608 `tramp-tmpdir' entries.
4609 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4610 (tramp-smb-handle-file-attributes): Ignore errors.
4611 (tramp-smb-wait-for-output): Check also for process end.
4612
5d5ac8ec
LMI
46132011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4614
4615 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4616 when sending QUIT (bug#9312).
4617
8c0f49f0
CY
46182011-09-17 Chong Yidong <cyd@stupidchicken.com>
4619
4620 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4621 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4622 occur-mode-display-occurrence.
4623 (occur-edit-mode): Add usage message.
4624 (occur-cease-edit): New command.
4625 (occur-after-change-function): Use text properties to find the
4626 position of the prefix text.
4627 (occur-engine): Set stickiness of prefix text properties.
4628
8f1383f7
GM
46292011-09-17 Glenn Morris <rgm@gnu.org>
4630
4631 * progmodes/etags.el (complete-tag):
4632 Fix call to completion-in-region. (Bug#9526)
4633
744ba0e3
JL
46342011-09-17 Juri Linkov <juri@jurta.org>
4635
4636 * textmodes/ispell.el (ispell-word): Add to the error message
4637 the word, ispell program name and current dictionary (bug#9121).
4638 (ispell-tex-arg-end): Capitalize "error" in the error message.
4639
d9bbf400
AS
46402011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4641
4642 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4643 check. (Bug#4251)
4644
8da11505
JL
46452011-09-17 Juri Linkov <juri@jurta.org>
4646
4647 * window.el (window-safe-min-height, window-safe-min-width):
4648 Fix typos (followup to bug#9522).
4649
a91adc7e
SJ
46502011-09-17 Sven Joachim <svenjoac@gmx.de>
4651
4652 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4653
064f328a
EZ
46542011-09-16 Eli Zaretskii <eliz@gnu.org>
4655
4656 * simple.el (line-move): If goal-column is set, move by logical
4657 lines, not by display lines. (Bug#971)
4658 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4659 to reflect the above change.
4660
e69df516
SM
46612011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * image.el (imagemagick-register-types): Use regexp-opt.
4664
cbb0f9ab
CY
46652011-09-15 Chong Yidong <cyd@stupidchicken.com>
4666
4667 * window.el (display-buffer-base-action): Rename from
4668 display-buffer-default-action. Make default value empty.
4669 (display-buffer-overriding-action): Convert to defvar.
4670 (display-buffer-fallback-action): New var.
4671
25322144
CY
46722011-09-15 Chong Yidong <cyd@stupidchicken.com>
4673
4674 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4675 declaration.
4676 (package--add-to-archive-contents): If there is a duplicate entry
4677 with an older version, remove it.
4678 (package-menu-mark-delete, package-menu-mark-install)
4679 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4680 (package-menu-mark-obsolete-for-deletion):
4681 Use package-menu-get-status instead of a regexp search.
25322144
CY
4682 (package-menu-get-status): Use tabulated-list-entry.
4683 (package-menu-mark-upgrades): New command.
d770725a 4684 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4685 (package-menu-execute): Do installation before deletion.
4686 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4687 instead of checking major-mode.
4688 (package-menu--find-upgrades): New function.
4689
7520339c
LMI
46902011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4691
4692 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4693 passwords in the log buffer.
65a046c4
LMI
4694 (smtpmail-process-filter): Update the process marker so that the
4695 "broken by peer" status message is inserted in the right place.
7520339c 4696
d3c30954
SM
46972011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4698
3fe48822
SM
4699 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4700 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4701 bibtex-completion-at-point-function.
4702 (bibtex-completion-at-point-function): Use them.
4703
1b8b3954
SM
4704 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4705
d3c30954
SM
4706 * mpc.el (mpc-constraints-tag-lookup): New function.
4707 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4708 also to browser "album|playlist".
4709
72779976
JL
47102011-09-14 Juri Linkov <juri@jurta.org>
4711
4712 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4713 (isearch-edit-string): Use length of `isearch-string' when
4714 `isearch-fail-pos' returns nil.
4715 (isearch-message): Remove duplicate code and call
4716 `isearch-fail-pos' with arg `t'.
4717
a0bf2bcd
CY
47182011-09-14 Chong Yidong <cyd@stupidchicken.com>
4719
17bb0a2d
CY
4720 * replace.el (occur-mode-goto-occurrence): Don't force using other
4721 window (Bug#9499).
4722
a0bf2bcd
CY
4723 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4724
f678e0b6
MR
47252011-09-14 Martin Rudalics <rudalics@gmx.at>
4726
4727 * window.el (display-buffer-window): Remove.
4728 (display-buffer-record-window): Use help-setup window parameter
4729 instead of variable display-buffer-window.
4730 (display-buffer-function, special-display-buffer-names)
4731 (special-display-function): Mention help-setup parameter instead
4732 of display-buffer-window in doc-string.
d3c30954
SM
4733 * help.el (help-window-setup): New argument help-window.
4734 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4735 Reword some messages.
4736 (with-help-window): Pass window used for displaying the buffer
4737 to help-window-setup. Don't set display-buffer-window.
4738
8e39b2e8
GM
47392011-09-13 Glenn Morris <rgm@gnu.org>
4740
4741 * emacs-lisp/debug.el (debugger-make-xrefs):
4742 Preserve point. (Bug#9462)
4743
85e9c04b
CY
47442011-09-13 Chong Yidong <cyd@stupidchicken.com>
4745
4746 * window.el (window-deletable-p): Use next-frame.
4747
1b36ed6a
MR
47482011-09-13 Martin Rudalics <rudalics@gmx.at>
4749
4750 * window.el (window-auto-delete): Remove.
4751 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4752 dedication and previous buffers.
1b36ed6a
MR
4753 (switch-to-prev-buffer): Don't delete window.
4754 (delete-windows-on): Delete a window's frame if and only if the
4755 window is dedicated.
4756 (replace-buffer-in-windows): Delete buffer's window or frame if
4757 and only if window is dedicated.
4758 (quit-window): Handle quit-restore as before last change.
4d61f28d 4759 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4760
ef8ef9fb
CY
47612011-09-13 Chong Yidong <cyd@stupidchicken.com>
4762
4763 * window.el (window-deletable-p): Never delete the last frame on a
4764 given terminal.
4765
b2cba41e
GM
47662011-09-13 Glenn Morris <rgm@gnu.org>
4767
4768 * help.el (describe-key-briefly): Copy previous standard-output change.
4769
51553db6 47702011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4771
4772 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4773
b7556719
GM
47742011-09-13 Glenn Morris <rgm@gnu.org>
4775
4776 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4777 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4778
64b51947
CY
47792011-09-12 Chong Yidong <cyd@stupidchicken.com>
4780
4781 * dired-aux.el (dired-mark-read-string): Don't return default
4782 value on empty input (Bug#9361).
4783 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4784 Omit initial minibuffer contents.
4785 (dired-do-chmod): Signal an error on empty input.
4786 (dired-mark-read-string): Don't return default on empty input.
4787
4788 * files.el (file-modes-symbolic-to-number): Doc fix.
4789
393a301e
SM
47902011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * international/mule-cmds.el (ucs-completions): Remove.
4793 (read-char-by-name): Use complete-with-action instead; add metadata.
4794
fa5660f9
CY
47952011-09-11 Chong Yidong <cyd@stupidchicken.com>
4796
4797 * window.el (display-buffer--action-function-custom-type)
4798 (display-buffer--action-custom-type): New vars.
4799 (display-buffer-alist, display-buffer-default-action)
4800 (display-buffer-overriding-action): Add defcustom types.
4801
4a592f66
CY
4802 * frame.el (delete-other-frames): Doc fix (Bug#276).
4803
73d56dbd
LMI
48042011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4805
4806 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4807
37ac18a3
CY
48082011-09-11 Chong Yidong <cyd@stupidchicken.com>
4809
4810 Change modes that used same-window-* vars to use switch-to-buffer.
4811
4812 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4813 Use switch-to-buffer.
4814
4815 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4816 (customize-browse, custom-buffer-create-other-window):
4817 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4818
4819 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4820 (Info-prev, Info-up, Info-speedbar-goto-node)
4821 (info-display-manual): Use switch-to-buffer.
4822 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4823
4824 * mail/sendmail.el (mail): Use switch-to-buffer.
4825 (mail-recover): Use switch-to-buffer-other-window.
4826
4827 * cmuscheme.el (run-scheme, switch-to-scheme):
4828 * ielm.el (ielm):
4829 * shell.el (shell):
4830 * net/rlogin.el (rlogin):
4831 * net/telnet.el (telnet, rsh):
4832 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4833
10195bd6
AS
48342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4835
4836 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4837
b322f63a
LMI
48382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4839
39d7fed6
LMI
4840 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4841 so don't mention it (bug#9301).
ba5a81f1 4842 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4843
ee0e9f11
LMI
4844 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4845 match `x', `w32' and `ns', like the manual says (bug#9029).
4846
0b1c89c1 4847 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4848 (process-kill-buffer-query-function): Mention the buffer name in
4849 the query.
0b1c89c1 4850
77549ea8
LMI
4851 * image-mode.el (image-next-line): The line parameter is mandatory
4852 (bug#9258).
4853
803ef892
LMI
4854 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4855 which can be useful (bug#9301).
4856
12980837
LMI
4857 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4858
91054f8f
LMI
4859 * subr.el (match-string): Mention that the current buffer should
4860 be the same as the search was done in (bug#9282).
4861
b322f63a
LMI
4862 * facemenu.el: Disable the remove-* commands if the mark isn't
4863 active (bug#9162).
4864
3199b96f
CY
48652011-09-10 Chong Yidong <cyd@stupidchicken.com>
4866
4867 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4868 of display-buffer.
4869 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4870
4871 * replace.el (occur-mode-goto-occurrence)
4872 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4873 and display-buffer.
4874
4875 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4876 display-buffer.
4877
4878 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4879 special-display and same-window variables.
4880 (mail-other-window): Use switch-to-buffer-other-window.
4881 (mail-other-frame): USe switch-to-buffer-other-frame.
4882
393a301e
SM
4883 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4884 Use display-buffer-other-frame.
3199b96f
CY
4885 (gdb-display-gdb-buffer): Use pop-to-buffer.
4886
4887 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4888
4889 * progmodes/python.el: Don't set same-window-buffer-names.
4890
4891 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4892
4893 * window.el (display-buffer-alist): Add *Python*.
4894
8319e0bf
CY
48952011-09-10 Chong Yidong <cyd@stupidchicken.com>
4896
4897 * window.el (display-buffer-alist): Add entry for buffers
4898 previously handled same-window-*.
4899 (display-buffer-alist, display-buffer-default-action)
4900 (display-buffer-overriding-action): Mark as risky.
4901 (display-buffer-alist): Document action function changes.
4902 (display-buffer--same-window-action)
4903 (display-buffer--other-frame-action): New variables.
4904 (switch-to-buffer, display-buffer-other-frame): Use them.
4905 (display-buffer): Rename reuse-frame entry to reusable-frames.
4906 (display-buffer-reuse-selected-window): Function deleted.
4907 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4908 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4909 (display-buffer-special): New function.
4910 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4911 display-buffer-reuse-or-pop-window. Split off special-display
4912 part into display-buffer-special.
4913 (display-buffer-use-some-window): Don't perform any special
4914 pop-up-frames handling.
4915 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4916 (display-buffer--maybe-same-window): Rename from
0d3ff375 4917 display-buffer-maybe-same-window.
8319e0bf 4918
919a69aa
CY
4919 * info.el: Don't set same-window-regexps.
4920 (info-setup): New function.
4921 (info-other-window, info): Call it.
4922
4923 * cus-edit.el: Don't set same-window-regexps.
4924 (customize-group): New argument.
4925 (customize-group-other-window): Use it.
4926 (customize-face, customize-face-other-window): Likewise.
4927 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4928
8319e0bf
CY
4929 * net/rlogin.el:
4930 * net/telnet.el:
4931 * progmodes/gud.el: Don't set same-window-regexps.
4932
4933 * cmuscheme.el:
4934 * ielm.el:
4935 * shell.el:
4936 * mail/sendmail.el:
4937 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4938
25173000
JL
49392011-09-10 Juri Linkov <juri@jurta.org>
4940
4941 * isearch.el (isearch-edit-string): Remove obsolete mention of
4942 `C-w' (`isearch-yank-word-or-char') from docstring.
4943 (isearch-query-replace): Fix typo in docstring (bug#9466).
4944
056e44ef
JL
49452011-09-10 Juri Linkov <juri@jurta.org>
4946
4947 * paren.el (show-paren-function): Don't show escaped parens.
4948 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4949
c3760c17
EZ
49502011-09-10 Eli Zaretskii <eliz@gnu.org>
4951
4952 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4953 (mm-default-file-encoding): Remove autoload forms, they are
4954 replaced with autoload cookies in mml.el and mm-encode.el.
4955 (mail-add-attachment): New command.
4956 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4957 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4958 the doc string.
4959 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4960
fece895e
RT
49612011-09-10 Reuben Thomas <rrt@sc3d.org>
4962
e69df516
SM
4963 * simple.el (count-words-region): Use buffer if there's no region
4964 (bug#9429).
fece895e 4965
5e68ce4a
JL
49662011-09-09 Juri Linkov <juri@jurta.org>
4967
4968 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4969 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4970 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4971
0a6b9622
AM
49722011-09-09 Alan Mackenzie <acm@muc.de>
4973
4974 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4975 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4976
14a29deb
EZ
49772011-09-09 Eli Zaretskii <eliz@gnu.org>
4978
4979 Fix for Savannah bug#9392.
4980 * simple.el (mail-encode-mml): New defvar.
4981
4982 * mail/rmail.el (mail-encode-mml): Add a defvar.
4983 (rmail-enable-mime-composing): Default to t.
4984 (rmail-forward): Use MIME method of forwarding only if both
4985 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4986 Set mail-encode-mml non-nil if the MIME method was used.
4987
4988 * mail/sendmail.el (mml-to-mime): Add autoload form.
4989 (mail-encode-mml): Add a defvar.
4990 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4991 to nil.
4992 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4993 message through mml-to-mime, and reset mail-encode-mml to nil.
4994
28c45130
GM
49952011-09-09 Glenn Morris <rgm@gnu.org>
4996
4997 * woman.el (woman-if-body): When processing an .el block,
4998 do not delete the next .el block as well. (Bug#9447)
69f4b618 4999 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5000
9b1c252e
MR
50012011-09-08 Martin Rudalics <rudalics@gmx.at>
5002
5003 * window.el (window-deletable-p): Make sure window is live before
5004 invoking window-prev-buffers.
5005
567457e3
LL
50062011-09-08 Leo Liu <sdl.web@gmail.com>
5007
5008 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5009
97f05794
JL
50102011-09-08 Juri Linkov <juri@jurta.org>
5011
5012 * progmodes/compile.el (compilation-environment): Make it
5013 a defcustom (bug#8340).
5014
8b0874b5
MR
50152011-09-08 Martin Rudalics <rudalics@gmx.at>
5016
5017 * window.el (frame-auto-delete): Rename to window-auto-delete.
5018 Make it control auto-deletion of windows and/or frames.
5019 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5020 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5021 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5022 Rewrite handling of case when window/frame can be deleted.
5023 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5024 argument t. (Bug#9456)
8b0874b5 5025
4feb6e73
CY
50262011-09-07 Chong Yidong <cyd@stupidchicken.com>
5027
5028 * help-mode.el (help-mode): Restore autoload.
5029
91ab9c13
JL
50302011-09-07 Juri Linkov <juri@jurta.org>
5031
5032 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5033 `compilation-environment'. Set buffer-local
5034 `compilation-environment' to `thisenv' later after (funcall mode).
5035 (Bug#8340)
5036
5037 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5038 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5039 instead of replacing its value. (Bug#8340)
5040
0527e251
JL
50412011-09-07 Juri Linkov <juri@jurta.org>
5042
5043 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5044 based on text properties put by `grep-filter' instead of matching
5045 escape sequences.
5046 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5047 to the value of `grep-error-screen-columns' (bug#9438).
5048
249f792c
JL
50492011-09-07 Juri Linkov <juri@jurta.org>
5050
5051 * simple.el (next-error-highlight, next-error-highlight-no-select):
5052 Doc fix (bug#9432).
5053
ff7271b9
OT
50542011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5055
5056 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5057 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5058
183fc730
LL
50592011-09-07 Leo Liu <sdl.web@gmail.com>
5060
5061 * net/rcirc.el (rcirc-mode): Conditionally initialize
5062 rcirc-input-ring.
5063
77694924
SM
50642011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * emacs-lisp/find-func.el (find-function-C-source): Only set
5067 find-function-C-source-directory after checking that we found a source
5068 file there (bug#9440).
5069
d809b8eb
AM
50702011-09-06 Alan Mackenzie <acm@muc.de>
5071
5072 * isearch.el (isearch-other-meta-char): Wherever a key list is
5073 unread, "unread" the prefix arg, too. This fixes bug #8901.
5074
453de99f
OG
50752011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5076
5077 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5078
90439906
JL
50792011-09-05 Juri Linkov <juri@jurta.org>
5080
5081 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5082
f62bd846
JL
50832011-09-05 Juri Linkov <juri@jurta.org>
5084
5085 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5086 keeping point where processing of grep matches begins, and
5087 continue to delete remaining escape sequences from the same point.
5088 (grep-filter): Make leading zero optional in "0?1;31m" because
5089 git-grep emits "\033[1;31m" escape sequences unlike expected
5090 "\033[01;31m" as GNU Grep does (bug#9408).
5091 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5092
045820ec
JL
50932011-09-05 Juri Linkov <juri@jurta.org>
5094
5095 * subr.el (y-or-n-p): Capitalize "yes".
5096
f5e29b9b
MA
50972011-09-04 Michael Albinus <michael.albinus@gmx.de>
5098
5099 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5100 `tramp-cache-unload-hook' where appropriate.
5101 (tramp-methods): Rename `tramp-remote-sh' to
5102 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5103 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5104
5105 * net/tramp-sh.el (top): Don't require 'shell.
5106 (tramp-methods): Add `tramp-remote-shell' and
5107 `tramp-remote-shell-args' entries.
5108 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5109 (tramp-sh-handle-shell-command): Remove.
5110 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5111 Use `tramp-remote-shell'.
5112
2784c434
CY
51132011-09-03 Chong Yidong <cyd@stupidchicken.com>
5114
393a301e 5115 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5116 (sendmail-query-once): Save directly to send-mail-function.
5117 Update message-send-mail-function too.
5118
5119 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5120
464cdf56
CS
51212011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5122
5123 * progmodes/python.el (python-mode-map): Use correct function to
5124 start python interpreter from menu-bar (as reported by Geert
5125 Kloosterman).
5126 (inferior-python-mode-map): Fix typo.
393a301e 5127 (python-shell-map): Remove.
464cdf56 5128
d37e5c87
DD
51292011-09-03 Deniz Dogan <deniz@dogan.se>
5130
5131 * net/rcirc.el (rcirc-print): Simplify code for
5132 rcirc-scroll-show-maximum-output. There is no need to walk
5133 through all windows to find the right one.
5134
f3ada0ee
CS
51352011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5136
5137 * help.el (help-return-method): Doc fix.
5138
1f3c99ca
MR
51392011-09-03 Martin Rudalics <rudalics@gmx.at>
5140
5141 * window.el (window-deletable-p): Don't return a non-nil value
5142 when there's a buffer that was shown in the window before.
5143 (Bug#9419)
393a301e
SM
5144 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5145 Set window's previous buffers to nil.
1f3c99ca 5146
a3cf097f
EZ
51472011-09-03 Eli Zaretskii <eliz@gnu.org>
5148
5149 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5150 newline before and after the tag line, so it doesn't interfere
5151 with determining the paragraph direction of bidirectional text.
5152
3d03de90
LL
51532011-09-03 Leo Liu <sdl.web@gmail.com>
5154
5155 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5156
c3313451
CY
51572011-09-02 Chong Yidong <cyd@stupidchicken.com>
5158
393a301e 5159 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5160 (pop-to-buffer): Change interactive spec. Pass second argument
5161 directly to display-buffer.
5162 (display-buffer): Fix interactive spec. Use functionp to
5163 distinguish between a function and a list of functions.
5164
5165 * abbrev.el (edit-abbrevs):
5166 * arc-mode.el (archive-extract):
5167 * autoinsert.el (auto-insert):
5168 * bookmark.el (bookmark-bmenu-list):
5169 * files.el (find-file):
5170 * view.el (view-buffer):
5171 * progmodes/compile.el (compilation-goto-locus):
5172 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5173
89894cd8
CY
51742011-09-02 Chong Yidong <cyd@stupidchicken.com>
5175
5176 * window.el (display-buffer-alist): Doc fix.
5177 (display-buffer): Add docstring. Don't treat
5178 display-buffer-default specially.
5179 (display-buffer-reuse-selected-window)
5180 (display-buffer-same-window, display-buffer-maybe-same-window)
5181 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5182 (display-buffer-pop-up-window)
5183 (display-buffer-reuse-or-pop-window)
5184 (display-buffer-use-some-window): New functions.
5185 (display-buffer-default-action): Use them.
393a301e 5186 (display-buffer-default): Delete.
89894cd8
CY
5187 (pop-to-buffer-1): Fix choice of actions.
5188
ae0bc9fb
SM
51892011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * minibuffer.el (completion--insert-strings): Don't get confused by
5192 completion entries that end with an LF char.
5193
e9d90883
EZ
51942011-09-01 Eli Zaretskii <eliz@gnu.org>
5195
5196 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5197
437014c8
CY
51982011-09-01 Chong Yidong <cyd@stupidchicken.com>
5199
5200 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5201 (display-buffer-same-window, display-buffer-other-window):
5202 New functions.
437014c8
CY
5203 (pop-to-buffer-1): New function. Use the above.
5204 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5205 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5206
5207 * view.el (view-buffer-other-window, view-buffer-other-frame):
5208 Just use pop-to-buffer.
5209
a5e063d5
TV
52102011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5211
5212 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5213
793d32bb
WH
52142011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5215
5216 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5217
d65e4c15
RS
52182011-08-31 Richard Stallman <rms@gnu.org>
5219
5220 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5221 of the separation of rmail-view-buffer from rmail-buffer.
5222 If you say no to "replace original", the decrypt is in the
5223 view buffer. If you say yes, the decrypt goes into the
5224 rmail buffer also.
5225
f818cd2a
MR
52262011-08-31 Martin Rudalics <rudalics@gmx.at>
5227
5228 * window.el (display-buffer-window): Rewrite doc-string.
5229 (display-buffer-record-window): New function.
5230 (display-buffer-macro-specifiers)
5231 (display-buffer-even-window-sizes, display-buffer-set-height)
5232 (display-buffer-set-width, display-buffer-in-window)
5233 (display-buffer-reuse-window, display-buffer-split-specifiers)
5234 (display-buffer-side-specifiers, display-buffer-split-window-1)
5235 (display-buffer-split-window, display-buffer-split-atom-window)
5236 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5237 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5238 (display-buffer-other-window-means-other-frame)
5239 (display-buffer-normalize-special)
5240 (display-buffer-normalize-default)
5241 (display-buffer-normalize-argument)
5242 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5243 (display-buffer-normalize-specifiers, display-buffer-frame)
5244 (display-buffer-same-window, display-buffer-same-frame)
5245 (display-buffer-other-window)
5246 (display-buffer-same-frame-other-window)
5247 (display-buffer-other-frame, pop-to-buffer-same-window)
5248 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5249 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5250 (switch-to-buffer-same-frame)
5251 (switch-to-buffer-other-window-same-frame)
5252 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5253 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5254 (display-buffer-alist-set): Remove.
5255 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5256 (special-display-regexps, special-display-function):
5257 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5258 parameter.
5259 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5260 (special-display-frame-alist, special-display-popup-frame)
5261 (same-window-buffer-names, same-window-regexps, same-window-p)
5262 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5263 (split-window-preferred-function, split-height-threshold)
5264 (split-width-threshold, window-splittable-p)
5265 (split-window-sensibly, window--try-to-split-window)
5266 (window--frame-usable-p, even-window-heights)
5267 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5268 (window--display-buffer-2, display-buffer-other-frame):
5269 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5270 (display-buffer-default, display-buffer-assq-regexp): New functions.
5271 (display-buffer-alist): Rewrite doc-string.
5272 (display-buffer-default-action)
5273 (display-buffer-overriding-action): New variables.
5274 (display-buffer, switch-to-buffer): Rewrite.
5275 (pop-to-buffer): Restore Emacs 23 behavior but use
5276 window-normalize-buffer-to-display.
5277 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5278 Restore Emacs 23 behavior but use
5279 window-normalize-buffer-to-switch-to.
5280 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5281 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5282 Rewrite using Emacs 23 options.
f818cd2a 5283
5bc3b51d
MA
52842011-08-31 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * net/tramp.el (tramp-root-regexp): Remove.
5287 (tramp-completion-file-name-regexp-unified)
5288 (tramp-completion-file-name-regexp-separate)
5289 (tramp-completion-file-name-regexp-url): Don't use leading volume
5290 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5291 (tramp-drop-volume-letter): Simplify definition.
5292 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5293
b1a4f8e1
SM
52942011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5295
5296 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5297 (bug#9356).
5298
5664fa7b
RT
52992011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5300
b1a4f8e1 5301 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5302
9a45d6c3
JL
53032011-08-29 Juri Linkov <juri@jurta.org>
5304
5305 * isearch.el (isearch-done): Don't display message "Mark saved"
5306 when arg `edit' is non-nil to prevent its flicker in the echo area.
5307
fb87e0fb
CY
53082011-08-28 Chong Yidong <cyd@stupidchicken.com>
5309
5310 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5311 obsolete packages for deletion.
5312
09ac1c2a
CS
53132011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5314
5315 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5316 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5317 view-mode from help-mode.
5318 (help-xref-override-view-map): Remove.
5319 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5320 view-mode is not used anymore.
5321
7a1ff57f
CY
53222011-08-28 Chong Yidong <cyd@stupidchicken.com>
5323
5324 * server.el (server-port): Doc fix.
5325
b9696605
CY
5326 * cus-theme.el (custom-theme-choose-mode): Inherit from
5327 special-mode (Bug#9124).
5328 (custom-theme-choose-mode-map): Add special-mode to parent.
5329
ef8cdf8c
AM
53302011-08-28 Alan Mackenzie <acm@muc.de>
5331
5332 * progmodes/cc-fonts.el
5333 (c-make-font-lock-BO-decl-search-function): New function.
5334 (c-basic-matchers-after - "Fontify the clauses after various
5335 keywords"): Extract the three keyword lists for the 3 erroneous
5336 constructs from the list of four, and use the new function above
5337 in place of an old one.
5338
27de4e20
DD
53392011-08-28 Deniz Dogan <deniz@dogan.se>
5340
5341 * net/rcirc.el (rcirc-insert-prev-input)
5342 (rcirc-insert-next-input): Remove unused argument.
5343
356a3681
SM
53442011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5347
3fc9b218
AM
53482011-08-27 Alan Mackenzie <acm@muc.de>
5349
5350 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5351 handle function pointer parameters properly.
5352
538a061c
MR
53532011-08-27 Martin Rudalics <rudalics@gmx.at>
5354
5355 * window.el (display-buffer-reuse-window): Fix case where
5356 selected window was reused with non-nil OTHER-WINDOW argument.
5357 (Bug#9381)
5358
35b1c40c
DD
53592011-08-27 Deniz Dogan <deniz@dogan.se>
5360
5361 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5362 oftc's NickServ messages.
5363
2f6a3e79
GM
53642011-08-27 Glenn Morris <rgm@gnu.org>
5365
5366 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5367
7254299e
CY
53682011-08-26 Chong Yidong <cyd@stupidchicken.com>
5369
5370 * emacs-lisp/package.el (package-install): Call package-initialize
5371 if called interactively.
5372
f8ccf167
LL
53732011-08-26 Leo Liu <sdl.web@gmail.com>
5374
5375 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5376
3e8cd5ce
JL
53772011-08-25 Juri Linkov <juri@jurta.org>
5378
5379 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5380 `search-whitespace-regexp' (bug#9364).
5381
93eb7113
JL
53822011-08-25 Juri Linkov <juri@jurta.org>
5383
5384 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5385 `regexp-search-ring' to their global values to protect from
5386 updating by `read-from-minibuffer' (bug#9185).
5387
f65d1611
JL
53882011-08-25 Juri Linkov <juri@jurta.org>
5389
5390 * textmodes/ispell.el (ispell-command-loop): Add newline
5391 at the end of the "Use option `i'..." line.
5392
f1cf7a31
JL
53932011-08-25 Juri Linkov <juri@jurta.org>
5394
5395 * battery.el (display-battery-mode): If `battery-status-function'
5396 or `battery-mode-line-format' is nil, display the message and set
5397 `display-battery-mode' to nil (bug#9363).
5398
0c95fcf7
EZ
53992011-08-25 Eli Zaretskii <eliz@gnu.org>
5400
5401 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5402 bidi-string-mark-left-to-right; they are unnecessary now.
5403
a2ebe600
DD
54042011-08-25 Deniz Dogan <deniz@dogan.se>
5405
5406 * net/quickurl.el: Documentation typo fixes.
5407
e4ed06f1
CY
54082011-08-25 Chong Yidong <cyd@stupidchicken.com>
5409
5410 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5411
e5f1c99e
GM
54122011-08-25 Glenn Morris <rgm@gnu.org>
5413
b2948976
GM
5414 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5415
e5f1c99e
GM
5416 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5417 (smtpmail-via-smtp): Handle nil response from smtp.
5418
f22f4808
JL
54192011-08-24 Juri Linkov <juri@jurta.org>
5420
5421 * proced.el (proced-marked): Inherit from `error' instead of
5422 `font-lock-warning-face'.
5423
5424 * ibuffer.el (ibuffer-marked-face): Change default face from
5425 `font-lock-warning-face' to `warning'.
5426 (ibuffer-deletion-face): Change default face from
5427 `font-lock-type-face' to `error'.
5428
5429 * battery.el (battery-update): Use the face `error' instead of
5430 `font-lock-warning-face' (bug#6117).
5431
6a93965e
JL
54322011-08-24 Juri Linkov <juri@jurta.org>
5433
5434 * faces.el (success): Change face color from "Green3" to
5435 "ForestGreen" on light background (bug#9353).
5436
1ed43b09
CY
54372011-08-24 Chong Yidong <cyd@stupidchicken.com>
5438
5664fa7b
RT
5439 * window.el (quit-window): Rename from quit-restore-window.
5440 Use same arglist as old quit-window.
1ed43b09
CY
5441 (frame-auto-delete): Doc fix.
5442
5443 * view.el (view-mode-exit): Use quit-window.
5444
11dcdbb2
JL
54452011-08-24 Juri Linkov <juri@jurta.org>
5446
5447 * isearch.el (isearch-ring-adjust1): Start visiting previous
5448 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5449 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5450 for empty search string (when the last search string is reused
5451 automatically) to adjust the isearch ring to the last element and
5452 prepare the correct index for further M-p commands (bug#9185).
5453
de62b4df
KH
54542011-08-24 Kenichi Handa <handa@m17n.org>
5455
5456 * international/ucs-normalize.el: If decomposition property of
5457 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5458 nil.
5459 (nfd, nfkd): Likewise.
5460
963b492b
SM
54612011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5464 from process filters aren't reliably transmitted to the surrounding
5465 accept-process-output.
5466 (mpc-proc-check): New function.
5467 (mpc-proc-sync): Use it (bug#8293)
5468
93b6b5e1
SM
54692011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5472 Add compatibility functions (bug#9313).
5473
bca633fb
EZ
54742011-08-23 Eli Zaretskii <eliz@gnu.org>
5475
b177498a
EZ
5476 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5477
6df6ae42 5478 * international/uni-bidi.el: Regenerate.
bca633fb 5479
0902a04e
KH
54802011-08-23 Kenichi Handa <handa@m17n.org>
5481
5482 * international/charprop.el:
5483 * international/uni-bidi.el:
5484 * international/uni-category.el:
5485 * international/uni-combining.el:
5486 * international/uni-comment.el:
5487 * international/uni-decimal.el:
5488 * international/uni-decomposition.el:
5489 * international/uni-digit.el:
5490 * international/uni-lowercase.el:
5491 * international/uni-mirrored.el:
5492 * international/uni-name.el:
5493 * international/uni-numeric.el:
5494 * international/uni-old-name.el:
5495 * international/uni-titlecase.el:
5496 * international/uni-uppercase.el: Regenerate.
5497
3bbf23bc
MR
54982011-08-23 Martin Rudalics <rudalics@gmx.at>
5499
5500 * help.el (help-window-setup): Fix message displayed when other
5501 window is reused. (Bug#9341)
5502
b3fd59bd
SM
55032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5504
1802e444
SM
5505 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5506 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5507
b3fd59bd
SM
5508 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5509 Mark obsolete.
5510 * shell.el (shell-parse-pcomplete-arguments): New function.
5511 (shell-completion-vars): Use it instead (bug#9160).
5512
4eb61348
SM
55132011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5514
867cab74
SM
5515 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5516 strings and comments (bug#9333).
5517
4eb61348
SM
5518 * emacs-lisp/debug.el (debug-arglist): New function.
5519 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5520 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5521
262a1439
JL
55222011-08-22 Juri Linkov <juri@jurta.org>
5523
56ee679c
JL
5524 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5525 Revert regexp that highlights output switches to its old
5526 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5527
262a1439
JL
5528 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5529 to check for empty output (bug#9226).
5530
f13f86fb
CY
55312011-08-22 Chong Yidong <cyd@stupidchicken.com>
5532
5533 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5534 symbol-constituent as the default, as that stops font-lock from
5535 working properly (Bug#8843).
5536
c65c9622
LMI
55372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5538
5539 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5540 `coding-system-for-*' around the process open call to avoid
5541 auth-source side effects.
e7f2c178 5542 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5543 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5544 probe hangs.
c65c9622 5545
23a8a5ab
CY
55462011-08-21 Chong Yidong <cyd@stupidchicken.com>
5547
ff98b2dd
CY
5548 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5549
23a8a5ab
CY
5550 * emacs-lisp/find-func.el (find-function-noselect): New arg
5551 lisp-only.
5552
5553 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5554 signal an error for built-in functions (Bug#6664).
5555
f5e3c598
LMI
55562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5557
5558 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5559 (smtpmail-try-auth-methods): Use it.
5560
a3f2468a
CY
55612011-08-21 Chong Yidong <cyd@stupidchicken.com>
5562
2c34e8da
CY
5563 * font-lock.el (font-lock-fontify-region)
5564 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5565 (font-lock-default-unfontify-buffer)
5566 (font-lock-default-fontify-region)
5567 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5568
b3fd59bd
SM
5569 * progmodes/compile.el (compilation-error-properties):
5570 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5571 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5572 `ant' regexp.
ee31aabc 5573
a3f2468a
CY
5574 * net/browse-url.el (browse-url-firefox): Don't call
5575 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5576
8e999f70
GM
55772011-08-20 Glenn Morris <rgm@gnu.org>
5578
c21a496a
GM
5579 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5580
59ee0542
GM
5581 * tutorial.el (tutorial--default-keys): Update some default bindings.
5582
8e999f70
GM
5583 * files.el (hack-local-variables): Fully ignore case for "mode:".
5584
e3715033
AM
55852011-08-20 Alan Mackenzie <acm@muc.de>
5586
5587 Resolve invalid use of a regexp in regexp-opt.
5588
4d61f28d
JB
5589 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5590 detection for a java annotation.
e3715033 5591
4d61f28d 5592 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5593 detection for a java annotation.
5594
4d61f28d
JB
5595 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5596 handling for java.
e3715033
AM
5597 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5598
04ed2e9c
CY
55992011-08-20 Chong Yidong <cyd@stupidchicken.com>
5600
5601 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5602 (Bug#9274).
5603
826cee64
AM
56042011-08-20 Alan Mackenzie <acm@muc.de>
5605
58179cce 5606 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5607 such a construct. Mainly for when jit-lock etc. starts a chunk
5608 here.
5609
58179cce 5610 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5611 variable.
58179cce 5612 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5613 c-make-font-lock-search-function.
5614 (c-make-font-lock-search-function): Use the above function.
5615 (c-make-font-lock-context-search-function): New function.
5616 (c-cpp-matchers): Enhance the preprocessor expression case with
5617 the above function
5618 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5619 which takes an expression.
5620
5621 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5622
13009bd8
MR
56232011-08-20 Martin Rudalics <rudalics@gmx.at>
5624
5625 * window.el (display-buffer-reuse-window)
5626 (display-buffer-pop-up-window): Don't reuse or split a side
5627 window.
5628
9234ff7f
GM
56292011-08-19 Glenn Morris <rgm@gnu.org>
5630
5631 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5632 Downcase "Mode:". (Bug#9331)
9234ff7f 5633
f635daa1
CY
56342011-08-18 Chong Yidong <cyd@stupidchicken.com>
5635
5636 * international/characters.el: Add L and R categories.
5637
5638 * subr.el (bidi-string-mark-left-to-right): Rename from
5639 string-mark-left-to-right. Use category search.
5640
5641 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5642
bc987f8b
JL
56432011-08-18 Juri Linkov <juri@jurta.org>
5644
5645 * faces.el (error, warning, success): New faces with definitions
5646 copied from old default values of `font-lock-warning-face',
5647 `compilation-warning', `compilation-info' (bug#6117).
5648
5649 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5650
5651 * progmodes/compile.el (compilation-error): Inherit from `error'.
5652 (compilation-warning): Inherit from `warning'.
5653 (compilation-info): Inherit from `success'.
5654
5655 * dired.el (dired-marked): Inherit from `warning'.
5656 (dired-flagged): Inherit from `error'.
5657
57173b96
LMI
56582011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5659
3e79eb87
LMI
5660 * mail/smtpmail.el (auth-source): Require to avoid problems with
5661 binding variables (bug#9298). Also clean up some unused
5662 autoloads.
5663
b3fd59bd
SM
5664 * net/network-stream.el (network-stream-open-starttls):
5665 Support using starttls.el without using gnutls-cli.
57173b96 5666
02b404de
JL
56672011-08-17 Juri Linkov <juri@jurta.org>
5668
5669 * progmodes/grep.el (rgrep): Handle the case when
5670 `grep-find-command' is a cons cell (bug#9278).
5671
8c9177f2
MR
56722011-08-17 Martin Rudalics <rudalics@gmx.at>
5673
5674 * window.el (display-buffer-pop-up-frame): Run frame creation
5675 function with BUFFER current (as special-display-popup-frame
5676 does). Reported by Drew Adams.
5677
3644a0ab
DU
56782011-08-17 Daiki Ueno <ueno@unixuser.org>
5679
5680 * epa-mail.el: Simplify GnuPG group expansion using
5681 epg-expand-group.
5682 (epa-mail-group-alist, epa-mail-group-modtime)
5683 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5684 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5685 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5686 Remove.
5687
5e617bc2 56882011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5689
5690 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5691
9c4aeabf
AM
56922011-08-16 Alan Mackenzie <acm@muc.de>
5693
5694 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5695 Correct, to avoid the inside of macros.
5696
3a99bf64
RS
56972011-08-16 Richard Stallman <rms@gnu.org>
5698
04963aa8
RS
5699 * epa-mail.el: Handle GnuPG group definitions.
5700 (epa-mail-group-alist, epa-mail-group-modtime)
5701 (epa-mail-gnupg-conf-file): New variables.
5702 (epa-mail-parse-groups, epa-mail-sync-groups)
5703 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5704 (epa-mail-expand-recipients): New functions.
5705 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5706
177549d0
RS
5707 * mail/rmail.el (rmail-epa-decrypt): New command.
5708
fe38beef
RS
5709 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5710 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5711 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5712 (epa-decrypt-armor-in-region): Make error message clearer.
5713
934eacb9
SM
57142011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5717 and "a2b" to "ab" for `prefix'.
5718
d024fb4e
CY
57192011-08-14 Chong Yidong <cyd@stupidchicken.com>
5720
5721 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5722 filter groups.
de148fee
CY
5723 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5724 Fourquet (Bug#8804).
d024fb4e 5725
62f1ca49
JB
57262011-08-12 Juanma Barranquero <lekktu@gmail.com>
5727
5728 * startup.el (argi): Declare as global variable (bug#9275).
5729
9ccaaa4b
CY
57302011-08-12 Chong Yidong <cyd@stupidchicken.com>
5731
5732 * subr.el (string-mark-left-to-right): Search the entire string
5733 for RTL script, not just the terminating character. Doc fix.
5734
a3dae87a
SM
57352011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5736
6cd18349
SM
5737 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5738 New function.
5739 (js--regexp-literal, js-syntax-propertize-function): Remove.
5740 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5741 (js-mode-map): Don't rebind electric keys.
5742 (js-insert-and-indent): Remove.
5743 (js-mode): Setup electric-layout and electric-indent instead.
5744
a3dae87a
SM
5745 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5746
9d5cb631
DU
57472011-08-12 Daiki Ueno <ueno@unixuser.org>
5748
5749 * epa.el (epa-progress-callback-function): Fix the logic of
5750 displaying progress.
5751 * epa-file.el (epa-file-insert-file-contents): Make progress
5752 display more user-friendly.
5753 (epa-file-write-region): Ditto.
5754
3e26a4a2
CY
57552011-08-10 Chong Yidong <cyd@stupidchicken.com>
5756
5757 * subr.el (string-mark-left-to-right): New function.
5758
5759 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5760 Use string-mark-left-to-right.
5761 (list-buffers-noselect): Caller changed.
5762
a3dae87a
SM
5763 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5764 Use string-mark-left-to-right.
3e26a4a2
CY
5765 (tabulated-list-print): Recenter after moving point.
5766
ac8cf6e6
JL
57672011-08-10 Juri Linkov <juri@jurta.org>
5768
5769 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5770 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5771 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5772
8d96c9a4
CY
57732011-08-09 Chong Yidong <cyd@stupidchicken.com>
5774
5775 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5776 (Bug#7554).
5777
7be1c708 57782011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5779
5780 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5781 character. (Bug#6594)
5782
37e11a63
CY
57832011-08-08 Chong Yidong <cyd@stupidchicken.com>
5784
839dde57
CY
5785 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5786 (image-dired--with-db-file): New macro.
5787 (image-dired-write-tags, image-dired-remove-tag)
5788 (image-dired-create-gallery-lists, image-dired-write-comments)
5789 (image-dired-get-comment, image-dired-mark-tagged-files)
5790 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5791 (image-dired-gallery-generate): Use insert-file-contents.
5792
37e11a63
CY
5793 * time.el (display-time-world-list, display-time-world-display):
5794 * time-stamp.el (time-stamp-string):
5795 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5796 set-time-zone-rule (Bug#7337).
5797
0b4946c4
DU
57982011-08-08 Daiki Ueno <ueno@unixuser.org>
5799
5800 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5801 (epg-error-to-string, epg-errors-to-string): New function.
5802 (epg-wait-for-completion): Reverse errors list.
5803 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5804 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5805 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5806 (epg-sign-keys, epg-generate-key-from-file)
5807 (epg-generate-key-from-string): Format errors by using
5808 epg-errors-to-string (bug#9255).
5809 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5810
75bfc667
JL
58112011-08-07 Juri Linkov <juri@jurta.org>
5812
5813 * faces.el (list-faces-display): Remove extra angle bracket
5814 from `help-mode-map'.
5815
5816 * info.el (Info-history-toc-nodes): Doc fix.
5817
5818 * longlines.el (longlines-mode): Doc fix.
5819
673e08bb
SM
58202011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5821
4640dd88
SM
5822 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5823 of statements and in a few more cases (bug#9183).
5824
673e08bb
SM
5825 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5826 New functions.
5827 (cl-transform-lambda): Use them (bug#9239).
5828
89b3f019
MR
58292011-08-05 Martin Rudalics <rudalics@gmx.at>
5830
5831 * window.el (display-buffer-same-window)
5832 (display-buffer-same-frame, display-buffer-other-window)
5833 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5834 (pop-to-buffer-other-window)
5835 (pop-to-buffer-same-frame-other-window)
5836 (pop-to-buffer-other-frame): Make them defuns.
5837 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5838
640c8776
SM
58392011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * subr.el (make-composed-keymap): Move from C. Change calling
5842 convention, and improve docstring to bring attention to a subtle point.
5843 * minibuffer.el (completing-read-default): Adjust accordingly.
5844
63648a95
MA
58452011-08-03 Michael Albinus <michael.albinus@gmx.de>
5846
5847 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5848 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5849
5850 * net/trampver.el: Update release number.
5851
b796c9b7
SM
58522011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5855 "in" (bug#9190).
5856
2239d7d5
LMI
58572011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5858
e07dd7c3
LMI
5859 * mail/sendmail.el (sendmail-query-once): Restore the current
5860 buffer after querying (bug#9074).
5861
0e6a2bd7
LMI
5862 * dired.el (dired-flagged): Use different faces for marked and
5863 flagged files (bug#6117).
5864
ce887515
LMI
5865 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5866 (bug#4433).
5867
92f2affc
LMI
5868 * ido.el (ido-mode): Switch off the message if called
5869 non-interactively.
5870
57d5aff0
LMI
5871 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5872 before 587, since it appears that that's more likely to work for
5873 more people.
5874
98cd6c18 5875 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5876 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5877 exist.
5878
b96dec83
LMI
5879 * info.el: Remove the `Info-beginning-of-buffer' function
5880 (bug#8325).
5881
b796c9b7
SM
5882 * net/network-stream.el (network-stream-open-starttls):
5883 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5884
d90e2ea0
MR
58852011-08-01 Martin Rudalics <rudalics@gmx.at>
5886
5887 * window.el (display-buffer-in-window): Don't set dedicated status
5888 of window here (Bug#9215).
5889 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5890 (display-buffer-pop-up-side-window)
b796c9b7 5891 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5892
cca09170
SM
58932011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5896 before binding generated-autoload-file.
5897
027b979c
DD
58982011-08-01 Deniz Dogan <deniz@dogan.se>
5899
5900 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5901
3c7ee4f3
MA
59022011-07-30 Michael Albinus <michael.albinus@gmx.de>
5903
5904 Sync with Tramp 2.2.2.
5905
5906 * net/trampver.el: Update release number.
5907
2cc8e51a
JL
59082011-07-30 Juri Linkov <juri@jurta.org>
5909
5910 * dired-aux.el (dired-touch-initial): Remove function.
5911 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5912 current time, and `default' to the last modification time of the
5913 current marked file (bug#6887).
5914
a514d856
JM
59152011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5916
5917 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5918 numeric argument to read-number (bug#9163).
a514d856 5919
8a7eddd7
MA
59202011-07-27 Michael Albinus <michael.albinus@gmx.de>
5921
5922 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5923 connection process, it could be nil.
5924
1ddd96f5
LL
59252011-07-27 Leo Liu <sdl.web@gmail.com>
5926
5927 Simplify url handling in rcirc-mode.
5928
5929 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5930 (rcirc-browse-url-at-mouse): Remove.
5931 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5932
b248a85d
AM
59332011-07-26 Alan Mackenzie <acm@muc.de>
5934
5935 Fontify bitfield declarations properly.
5936
5937 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5938 (c-symbol-chars): Now exported as a lang variable.
5939 (c-not-primitive-type-keywords): New lang variable.
5940
5941 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5942 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5943 parsed as a bitfield declaration.
b248a85d 5944
b796c9b7
SM
5945 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5946 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5947 (c-punctuation-in): New function.
5948 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5949 declarations properly.
5950
68575ab0
UJ
59512011-07-26 Ulf Jasper <ulf.jasper@web.de>
5952
5953 * calendar/icalendar.el (icalendar--all-events): Take care of
5954 multiple vcalendars in a single file.
b796c9b7 5955 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5956
0f0a88b9
DD
59572011-07-25 Deniz Dogan <deniz@dogan.se>
5958
5959 * image.el (insert-image): Clarifying docstring.
5960
0b3f36df
MA
59612011-07-24 Michael Albinus <michael.albinus@gmx.de>
5962
5963 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5964 `tramp-send-command-and-check' if there is no error.
5965 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5966
a9901f61
AM
59672011-07-22 Alan Mackenzie <acm@muc.de>
5968
5969 Prevent cc-langs.elc being loaded at run time.
5970
5971 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5972 cc-langs.
5973
4d61f28d 5974 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5975 "(require 'cc-langs)". Quote a form so it will evaluate at
5976 (cc-mode's) compilation time.
5977
11d074b2
MA
59782011-07-22 Michael Albinus <michael.albinus@gmx.de>
5979
5980 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5981 loading. (Bug#9114)
5982
938b94c8
MR
59832011-07-21 Martin Rudalics <rudalics@gmx.at>
5984
5985 * window.el (display-buffer-pop-up-window)
5986 (display-buffer-pop-up-side-window)
5987 (display-buffer-in-side-window): Call display-buffer-set-height
5988 and display-buffer-set-width after setting the new window's
b796c9b7 5989 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5990
bfa4f190
SS
59912011-07-20 Sam Steingold <sds@gnu.org>
5992
5993 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5994 (etags-tags-included-tables): Call `convert-standard-filename' on
5995 the file names contained in TAGS so that windows Emacs can handle
5996 TAGS files created by cygwin ctags.
5997
8ca42262
LMI
59982011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5999
6000 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6001 which apparently didn't work.
6002
5db2afd2 60032011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6004
5db2afd2
RW
6005 * proced.el (proced-send-signal): For *Marked Processes* buffer
6006 put point at beginning of buffer.
6007
92e15d10
SB
60082011-07-19 Stephen Berman <stephen.berman@gmx.net>
6009
6010 * proced.el (proced-format): Make header lines align with the text
6011 (bug#1779).
6012
1bfd59e5
LMI
60132011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6014
6015 * view.el (view-buffer): Allow running in `special' modes if we're
6016 visiting a file (bug#8615).
6017
f5aae37c
MR
60182011-07-19 Martin Rudalics <rudalics@gmx.at>
6019
6020 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6021 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6022 New functions.
f5aae37c
MR
6023 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6024 more accurately.
6025
bf2c1571
AM
60262011-07-18 Alan Mackenzie <acm@muc.de>
6027
6028 Fontify declarators properly when, e.g., a jit-lock chunk begins
6029 inside a declaration.
6030
6031 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6032
b796c9b7
SM
6033 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6034 New function.
bf2c1571
AM
6035 (c-complex-decl-matchers): Insert reference to
6036 c-font-lock-enclosing-decls.
6037
6038 * progmodes/cc-engine.el (c-backward-single-comment):
6039 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6040 to nil around calls to (forward-comment -1).
6041
4e190b80
LMI
60422011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6043
12dc863d
LMI
6044 * image.el (put-image): Doc typo fix.
6045
a762e966
LMI
6046 * progmodes/etags.el (tags-search): Doc typo fix.
6047
4e190b80
LMI
6048 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6049 password if we get errors 550 to 554.
6050
f019fb21
LMI
60512011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6052
b796c9b7 6053 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6054
81746738
LMI
6055 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6056 indentation character (bug#6380).
6057
3ee3a1b5
LMI
6058 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6059
c82f64de
LMI
6060 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6061 to clarify what the problem is (bug#4291).
6062
f019fb21
LMI
6063 * simple.el (current-kill): Clarify what
6064 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6065 (auto-fill-mode): Document `auto-fill-function' in relation to
6066 `auto-fill-mode' (bug#2470).
f019fb21 6067
0794775d
LM
60682011-07-16 Lawrence Mitchell <wence@gmx.li>
6069
6070 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6071 method if slot is read-only (bug#9035).
6072
be39b8cc
MR
60732011-07-16 Martin Rudalics <rudalics@gmx.at>
6074
b796c9b7 6075 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6076 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6077 selected before, see discussion of (Bug#8615), (Bug#6954).
6078 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6079
6ccf7859
GM
60802011-07-15 Glenn Morris <rgm@gnu.org>
6081
6082 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6083 Respect help-form.
6ccf7859 6084
87e86684
LM
60852011-07-09 Lawrence Mitchell <wence@gmx.li>
6086
6087 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6088 (gnutls-negotiate): Use it.
6089
d6066239
LMI
60902011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6091
b796c9b7
SM
6092 * net/gnutls.el (gnutls-negotiate):
6093 Upcase `gnutls-algorithm-priority'.
d6066239 6094
bd23ebc0
GM
60952011-07-15 Glenn Morris <rgm@gnu.org>
6096
c65bca65
GM
6097 * jka-compr.el (jka-compr-verbose): Move from here...
6098 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6099 Add missing :version tag.
6100 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6101
478615cc
LMI
61022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6103
7b41decb
LMI
6104 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6105 (gnutls-negotiate): Use it.
6106
dbc44fcd
LMI
6107 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6108
06789f97
LMI
6109 * info.el (Info-beginning-of-buffer): New command.
6110 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6111 announcing `b' as the key (bug#8325).
ab896c37 6112 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6113
c39da690
LMI
6114 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6115
3aa5f34b
LMI
6116 * international/mule-cmds.el
6117 (describe-specified-language-support): Make the error message
6118 clearer (bug#8905).
6119
4bf0979f
LMI
6120 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6121
478615cc
LMI
6122 * isearch.el (isearch-barrier): Add a doc string, since it's
6123 mentioned in a function doc string (bug#8678).
6124
75c68aa1
MR
61252011-07-15 Martin Rudalics <rudalics@gmx.at>
6126
6127 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6128 buffer argument (Bug#9083) and self-identifying label argument.
6129
a7c33da2
GM
61302011-07-15 Glenn Morris <rgm@gnu.org>
6131
6132 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6133
2f5c6024
LMI
61342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6135
6136 * man.el (Man-fontify-manpage): Fix message when formatting the
6137 man page (bug#7929).
6138
0bb23927 61392011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6140
6141 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6142 argument LRM; if non-nil, append an invisible LRM character to the
6143 buffer name.
6144 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6145 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6146 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6147 paragraph direction.
cce4b0a7 6148
621ef9ab
LMI
61492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6150
d1583c48
LMI
6151 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6152 the man page name (bug#7929).
6153
6a57fb5f
LMI
6154 * image.el (put-image): Mention the `put-image' overlay property
6155 (bug#7834).
6156
d7956b14
LMI
6157 * scroll-bar.el (set-scroll-bar-mode): Mention that
6158 `scroll-bar-mode' lists the values (bug#7772).
6159
5b2d4a66
LMI
6160 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6161 command (bug#7729).
6162
7509a874
LMI
6163 * rect.el (apply-on-rectangle): Return the point after the last
6164 operation.
6165 (string-rectangle): Go to the point after the last operation
6166 (bug#7522).
6167
4fe74b19
LMI
6168 * printing.el (pr-toggle-region): Clarify the documentation
6169 slightly (bug#7493).
6170
b796c9b7
SM
6171 * time.el (display-time-update):
6172 Allow `display-time-mail-function' to return nil (bug#7158).
6173 Fix suggested by Detlev Zundel.
ab283561 6174
fc233c9d
LMI
6175 * vc/diff.el (diff): Clarify the order the file names are read
6176 (bug#7111).
6177
43f5740b
LMI
6178 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6179 the doc string (bug#7015).
6180
f2182a76
LMI
6181 * font-lock.el (font-lock-maximum-decoration): Mention what
6182 numeric levels mean (bug#6935).
6183
621ef9ab
LMI
6184 * startup.el (initial-buffer-choice): Don't mention the `none'
6185 selection, which is against policy.
6186
adc47434
MR
61872011-07-14 Martin Rudalics <rudalics@gmx.at>
6188
b796c9b7
SM
6189 * window.el (display-buffer-normalize-special):
6190 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6191
7e5bfb8f
EZ
61922011-07-14 Eli Zaretskii <eliz@gnu.org>
6193
6194 * subr.el (version<, version<=, version=): Mention "-CVS" and
6195 "-12345" alpha version numbers.
6196
27fa387a
CY
61972011-07-14 Chong Yidong <cyd@stupidchicken.com>
6198
6199 * bindings.el: Add advertised binding for set-mark-command
6200 (Bug#5772).
6201
8bdfa064
CY
62022011-07-14 Chong Yidong <cyd@stupidchicken.com>
6203
6204 * bindings.el (mode-line-other-buffer):
6205 * bookmark.el (bookmark-bmenu-2-window):
6206 * bs.el (bs-cycle-next, bs-cycle-previous):
6207 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6208 switch-to-buffer.
6209
6210 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6211 Delete.
8bdfa064 6212
5eba16a3
JB
62132011-07-14 Juanma Barranquero <lekktu@gmail.com>
6214
6215 * follow.el (follow-debug-message, follow-redisplay):
6216 * jka-cmpr-hook.el (with-auto-compression-mode):
6217 Fix typos in docstrings.
6218
15853710
LMI
62192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6220
a28e4607
LMI
6221 * subr.el (with-silent-modifications): Clarify somewhat what the
6222 macro inhibits (bug#6525).
6223
15853710
LMI
6224 * simple.el (eval-expression): Note what it does if called
6225 interactively (bug#6495).
6226
bee0fcef
CY
62272011-07-13 Chong Yidong <cyd@stupidchicken.com>
6228
b796c9b7
SM
6229 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6230 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6231
6232 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6233 Remove switch-to-buffer.
6234
58274504
LMI
62352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6236
bd2fcc8d
LMI
6237 * files.el (make-directory): Clarify that an error will be raised
6238 if there's an error (bug#6397).
6239
0f04b32c
LMI
6240 * startup.el (initial-buffer-choice): Add `none' as a choice
6241 (bug#6234).
6242
465c5fc8
LMI
6243 * subr.el (add-hook): Clarify section about buffer-local hooks
6244 (bug#6218).
6245
58274504
LMI
6246 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6247
bead9a43
JB
62482011-07-13 Juanma Barranquero <lekktu@gmail.com>
6249
6250 * tabify.el (untabify): Preserve the current column so that point
6251 doesn't move (bug#6032).
6252
3af98a7b
LMI
62532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6254
b796c9b7
SM
6255 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6256 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6257
6240145a
GM
62582011-07-13 Glenn Morris <rgm@gnu.org>
6259
6260 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6261 (dired-insert-directory): Give a message the first time
6262 if ls is found not to support --dired.
6263
1d8c2ccc
LMI
62642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265
6266 * simple.el (toggle-truncate-lines): Clarify what is toggled
6267 (bug#5580). Text by Drew Adams.
6268
5fc4038e
CY
62692011-07-13 Chong Yidong <cyd@stupidchicken.com>
6270
6271 * simple.el (blink-matching-open): Make the error message from the
6272 last change less verbose.
6273
bf6012e5
DN
62742011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6275
6276 * font-lock.el (font-lock-comment-face): Use the high contrast
6277 "yellow" color for font-lock-comment-face on low color terminals
6278 using a dark background color (bug#4221).
6279
343c3b5a
LMI
62802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6281
7e9505c5
LMI
6282 * dired.el (dired-insert-set-properties): Make the doc string
6283 reflect what it does now (bug#5325).
6284
c26fdcf5
LMI
6285 * simple.el (blink-matching-open): Say that we were unable to find
6286 the match within the limit, if we're limited (bug#5122).
6287
bb388cc5
LMI
6288 * international/mule-cmds.el (prefer-coding-system): Add an
6289 example (bug#4869).
6290
343c3b5a
LMI
6291 * progmodes/etags.el (tags-search): Document `file-list-form'
6292 (bug#4731).
6293
2a517d45
LM
62942011-07-13 Lawrence Mitchell <wence@gmx.li>
6295
6296 * net/browse-url.el (browse-url-default-browser)
6297 (browse-url-browser-function): Make the default browser choice a
6298 bit more logical (bug#4300). Also clean up the doc string.
6299
b6c78ef2
JB
63002011-07-13 Juanma Barranquero <lekktu@gmail.com>
6301
6302 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6303 binary endings (bug#4440).
6304
1c4dd947
LMI
63052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6306
a2014063
LMI
6307 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6308 which can be pretty annoying (bug#8971).
6309
9c9c2d88
LMI
6310 * jka-compr.el (jka-compr-verbose): New variable, and use
6311 throughout (bug#8971).
6312
1c4dd947
LMI
6313 * info.el (Info-find-file): Fall back on the installation
6314 directory if we can't find the info node anywhere else.
6315
a1c9f41b
SO
63162011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6317
6318 * vc/vc.el (vc-revert-file):
6319 Don't set file time-stamp in the past. (Bug#5181)
6320
536f3d36
LMI
63212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6322
7152b011
LMI
6323 * files.el (after-find-file): Give a better error message when
6324 trying to find a symlink that points to a file that doesn't exist
6325 (bug#4398).
6326
536f3d36
LMI
6327 * progmodes/cc-vars.el: Remove (probably) misleading comment
6328 (bug#4396).
6329
460c0fba
JB
63302011-07-12 Johan Bockgård <bojohan@gnu.org>
6331
6332 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6333
7a6bda45
CY
63342011-07-12 Chong Yidong <cyd@stupidchicken.com>
6335
6336 * mouse-sel.el: Hack restoring functionality, while keeping
6337 compatibility with 2010-07-03 changes to mouse selection.
6338 (mouse-sel-primary-overlay): New var.
6339 (mouse-sel-selection-alist): Use it.
6340 (mouse-sel-mode): Doc fix; remove points that are default features
6341 of mouse.el.
6342
c79598ef
JB
63432011-07-12 Johan Bockgård <bojohan@gnu.org>
6344
6345 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6346 Fix previous fix (bug#2490).
6347
ff8be6ef
RW
63482011-07-12 Roland Winkler <winkler@gnu.org>
6349
b796c9b7
SM
6350 * textmodes/bibtex.el (bibtex-initialize):
6351 Use pop-to-buffer-same-window.
ff8be6ef
RW
6352 (bibtex-search-entries): Fix interactive call.
6353
296ba3ee
LMI
63542011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6355
f5242a02 6356 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6357 Fontise bytecomp Error lines more correctly (bug#2490).
6358 Fix suggested by Johan Bockgård.
f5242a02 6359
296ba3ee
LMI
6360 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6361
6362 * dired-x.el (dired-guess-default): Use `delete-dups'.
6363
f69fd0d2
CY
63642011-07-12 Chong Yidong <cyd@stupidchicken.com>
6365
6366 * dired.el (dired-mark-prompt):
6367 * dired-aux.el (dired-read-shell-command): Doc fix.
6368
eab5dc07
LMI
63692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6370
b796c9b7
SM
6371 * mail/sendmail.el (sendmail-query-once):
6372 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6373 emacs -Q.
6374
6375 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6376
eab5dc07
LMI
6377 * cus-edit.el (custom-file): Take an optional no-error variable.
6378 (customize-save-variable): Set the variable, and give a warning if
6379 running under "emacs -q".
6380
a1e65d42
JB
63812011-07-11 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * loadhist.el (unload-feature-special-hooks):
6384 Add `auto-coding-functions', `fill-nobreak-predicate' and
6385 `find-directory-functions' (bug#5327).
6386
1d52da10
LMI
63872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6388
be958f1d
LMI
6389 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6390
5bedb26c
LMI
6391 * cus-edit.el (custom-guess-name-alist): -alist variables should
6392 use the `alist' type (bug#3120). Suggested by Drew Adams.
6393
1d52da10
LMI
6394 * printing.el: Add documentation to all the `pr-toggle-' commands.
6395
cd394be1 63962011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6397
6398 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6399 backends where it makes sense (bug#2623).
6400
dcc88d8a
LMI
64012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6402
c3de9feb
LMI
6403 * dired-x.el (dired-guess-default): Remove duplicate shell command
6404 entries (bug#2028).
8a93078b 6405 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6406 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6407
dcc88d8a
LMI
6408 * subr.el (remove-duplicates): New conveniency function.
6409
505e3645
LMI
64102011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6411
6412 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6413 (bug#1526).
6414
64152011-07-10 Martin Rudalics <rudalics@gmx.at>
6416
6417 * window.el (display-buffer-normalize-default): Don't invert
6418 meaning of even-window-heights. Reported by Eli Zaretskii
6419 <eliz@gnu.org>.
6420
455e4fa1
BR
64212011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6422
6423 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6424
8e0bc3e9
CY
64252011-07-10 Chong Yidong <cyd@stupidchicken.com>
6426
6427 * window.el (display-buffer): Fix arguments to
6428 display-buffer-reuse-window in last change.
6429
fa7c3228
CY
6430 * faces.el (link): Use a less saturated blue on light backgrounds.
6431
6432 * startup.el (fancy-startup-text, fancy-about-text)
6433 (fancy-startup-tail): Use font-lock faces, for background safety.
6434
c0a7f300
BN
64352011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6436
b796c9b7
SM
6437 * emulation/viper-cmd.el (viper-change-state-to-vi):
6438 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6439
4dc2a129
MR
64402011-07-09 Martin Rudalics <rudalics@gmx.at>
6441
6442 * window.el (display-buffer-default-specifiers): Remove.
6443 (display-buffer-macro-specifiers): Remove default specifiers.
6444 (display-buffer-alist): Default to nil.
b796c9b7 6445 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6446 (display-buffer-pop-up-window): Allow splitting internal
6447 windows. Check whether a live window was created.
6448 (display-buffer-other-window-means-other-frame)
6449 (display-buffer-normalize-arguments): Rename to
6450 display-buffer-normalize-argument and rewrite. Set the
6451 other-window specifier.
6452 (display-buffer-normalize-special): New function.
6453 (display-buffer-normalize-options): Rename to
6454 display-buffer-normalize-default and rewrite.
6455 (display-buffer-normalize-options-inhibit): Remove.
6456 (display-buffer-normalize-specifiers): Rewrite.
6457 (display-buffer): Process other-window specifier and call
6458 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6459 more faithfully.
b796c9b7 6460 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6461 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6462 (display-buffer-in-window, display-buffer-alist-set):
6463 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6464 <tassilo@member.fsf.org>.
6465
2d43b8c9
LL
64662011-07-09 Leo Liu <sdl.web@gmail.com>
6467
6468 * register.el (insert-register): Restore accidental change on
6469 2011-06-26. (Bug#9028)
6470
7f9b7c53
GM
64712011-07-09 Glenn Morris <rgm@gnu.org>
6472
6473 * subr.el (remq): Handle the empty list. (Bug#9024)
6474
f042cfd8
AS
64752011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6476
6477 * mail/sendmail.el (send-mail-function): No longer delay custom
6478 initialization.
6479 * custom.el (custom-initialize-delay): Doc fix.
6480
856b2f11
SM
64812011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6484
afae1d68
MA
64852011-07-08 Michael Albinus <michael.albinus@gmx.de>
6486
6487 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6488 human-friendly prompt.
6489
0757af94
SM
64902011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6493 provided by a particular plugin.
6494
d760b731
LMI
64952011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
6497 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6498 save customizations (with "emacs -Q"), just set the variable
6499 instead of erroring out.
6500
6501 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6502
cd79ce90
JL
65032011-07-08 Juri Linkov <juri@jurta.org>
6504
6505 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6506 (archive-zip-update-case): Use 7z if found by `executable-find'.
6507 The order of searching the available programs is the same as in
6508 `archive-zip-extract' (bug#8968).
6509
14cc04aa
CY
65102011-07-07 Chong Yidong <cyd@stupidchicken.com>
6511
6512 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6513 (menu-bar-options-menu): Tweak descriptions.
6514
0a1848ec
LMI
65152011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6516
6517 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6518 menu items into verb phrases (bug#1421). Also refill to fit under
6519 80 columns.
6520
f5bd0689
CY
65212011-07-07 Chong Yidong <cyd@stupidchicken.com>
6522
538e85c6
CY
6523 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6524 (Info-read-node-name): Doc fix (Bug#1084).
6525
f5bd0689
CY
6526 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6527 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6528 (end-of-sexp, beginning-of-sexp)
6529 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6530 (forward-symbol, forward-same-syntax, word-at-point)
6531 (sentence-at-point): Doc fix (Bug#1144).
6532
56ec5115
LMI
65332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6534
f3f8e37f
LMI
6535 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6536 should cover it (bug#1281).
6537
0757af94 6538 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6539
e9fce1ac 6540 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6541 negotiation fails, then possibly try again with a non-encrypted
6542 connection (bug#9017).
6543
56ec5115
LMI
6544 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6545 be used.
6546
c2f9aec8
RS
65472011-07-07 Richard Stallman <rms@gnu.org>
6548
6549 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6550 property, and handle its changed format.
6551 Look for the correct line number.
6552 Use file's line contents (but not past first =) to find
6553 correct line in message.
6554
ef7b981d 65552011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6556
6557 * international/characters.el (build-unicode-category-table):
6558 Delete it.
0757af94 6559 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6560
0757af94 6561 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6562 to src/chartab.c.
6563 (get-char-code-property): Call unicode-property-table-internal to
6564 load a file. Call get-unicode-property-internal where necessary.
6565 (put-char-code-property): Call unicode-property-table-internal to
6566 load a file. Call put-unicode-property-internal where necessary.
6567 put-unicode-property-internal where necessary.
0757af94
SM
6568 (char-code-property-description):
6569 Call unicode-property-table-internal to load a file.
c805dec0
KH
6570
6571 * international/charprop.el:
6572 * international/uni-bidi.el:
6573 * international/uni-category.el:
6574 * international/uni-combining.el:
6575 * international/uni-comment.el:
6576 * international/uni-decimal.el:
6577 * international/uni-decomposition.el:
6578 * international/uni-digit.el:
6579 * international/uni-lowercase.el:
6580 * international/uni-mirrored.el:
6581 * international/uni-name.el:
6582 * international/uni-numeric.el:
6583 * international/uni-old-name.el:
6584 * international/uni-titlecase.el:
6585 * international/uni-uppercase.el: Regenerate.
6586
6587 * loadup.el: Load international/charprop.el before
6588 international/characters.
6589
e14b388a
CY
65902011-07-07 Chong Yidong <cyd@stupidchicken.com>
6591
6592 * window.el (next-buffer, previous-buffer): Signal an error if
6593 called from a minibuffer window.
6594
6595 * bindings.el: Revert 2011-07-04 change.
6596
354cf0ba
RS
65972011-07-06 Richard Stallman <rms@gnu.org>
6598
6599 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6600 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6601 Treat markers like ints.
6602 (rmail-mime-entity): Doc fix.
6603
a48868a7
LMI
66042011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6605
4906cd3d
LMI
6606 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6607 defcustom again for backwards compatibility.
6608
e0457abe
LMI
6609 * simple.el (shell-command-on-region): Fill.
6610
d67f7e1f
LMI
6611 * dired-aux.el (dired-kill-line): Add a doc string.
6612
fe204702
LMI
6613 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6614 to "\\sw\\|\\s_" (bug#358).
6615
a48868a7
LMI
6616 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6617 (dired-unmark-backward): Ditto.
6618 (dired-flag-backup-files): Ditto.
6619
6620 * dired-x.el (dired-mark-sexp): Ditto.
6621
aa8a705c
RS
66222011-07-06 Richard Stallman <rms@gnu.org>
6623
6624 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6625 (rmail-mime-entity): New arg TRUNCATED.
6626 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6627 New functions.
6628 (rmail-mime-save): Warn if entity is truncated.
6629 (rmail-mime-toggle-hidden): Likewise, for showing.
6630 (rmail-mime-process-multipart): Record when an entity is truncated.
6631
a9a936b9
RS
6632 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6633 if ENTITY is a string.
6634
1f2b92cb
LMI
66352011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6636
f4f73198 6637 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6638 of faces when `M-C-x'-ing their definitions (bug#8378).
6639 Also clean up the code slightly.
f4f73198 6640
12b16734 6641 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6642 because that makes the colors go away.
12b16734 6643
f0691d22
LMI
6644 * mail/sendmail.el (send-mail-function): Change the default to
6645 `sendmail-query-once'.
9e87df06 6646 (sendmail-query-once): Add an autoload cookie.
f0691d22 6647
1f2b92cb
LMI
6648 * net/network-stream.el (network-stream-open-starttls): Try using
6649 a plain connection even if the server offered STARTTLS, and we
6650 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6651 capability. This should make smtpmail.el work in slightly more
6652 configurations.
6653
1cdd2a1b
MA
66542011-07-06 Michael Albinus <michael.albinus@gmx.de>
6655
6656 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6657 New defun.
6658 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6659
fbcc67e2
MM
66602011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6661
6662 * progmodes/sql.el: Version 3.0
0757af94 6663 (sql-product-alist): Add product :completion-object,
fbcc67e2 6664 :completion-column, and :statement attributes.
0757af94 6665 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6666 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6667 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6668 ansi keywords.
6669 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6670 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6671 (sql-oracle-show-reserved-words): New function for development.
6672 (sql-product-font-lock): Simplify for source code buffers.
6673 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6674 New functions.
6675 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6676 (sql-mode-map): Add statement movement functions.
6677 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6678 New variable.
fbcc67e2
MM
6679 (sql-statement-regexp, sql-beginning-of-statement)
6680 (sql-end-of-statement, sql-signum): New functions.
0757af94 6681 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6682 (sql-show-sqli-buffer): Bug fix.
6683 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6684 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6685 with sql-interactive-mode.
6686 (sql-save-connection): Save buffer local settings.
0757af94 6687 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6688 (sql-product-interactive): Bug fix.
6689 (sql-preoutput-hold): New variable.
6690 (sql-interactive-remove-continuation-prompt): Bug fixes.
6691 (sql-debug-redirect): New variable.
6692 (sql-str-literal): New function.
6693 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6694 Redesign.
fbcc67e2
MM
6695 (sql-oracle-save-settings, sql-oracle-restore-settings)
6696 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6697 (sql-completion-object, sql-completion-column)
6698 (sql-completion-sqlbuf): New variables.
6699 (sql-build-completions-1, sql-build-completions)
6700 (sql-try-completion): New functions.
6701 (sql-read-table-name): Use them.
6702 (sql-contains-names): New buffer local variable.
6703 (sql-list-all, sql-list-table): Use it.
6704 (sql-oracle-completion-types): New variable.
6705 (sql-oracle-completion-object, sql-sqlite-completion-object)
6706 (sql-postgres-completion-object): New functions.
6707
d4eaeab1
GM
67082011-07-06 Glenn Morris <rgm@gnu.org>
6709
6710 * window.el (pop-to-buffer): Doc fix.
6711
322b7dab 67122011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6713
6714 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6715
322b7dab 67162011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6717
322b7dab 6718 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6719
322b7dab 6720 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6721
605dd5bf
CY
67222011-07-05 Chong Yidong <cyd@stupidchicken.com>
6723
6724 * button.el (button): Inherit from link face. Suggested by Dan
6725 Nicolaescu.
6726
7dbfa719
SM
67272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6728
3db614b0
SM
6729 * progmodes/gdb-mi.el: Fit in 80 columns.
6730 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6731 switch-to-buffer.
6732
7dbfa719
SM
6733 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6734 if imenu is simply not configured (bug#8941).
6735
919d884a
KM
67362011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6737
6738 * allout.el (allout-post-undo-hook): New allout outline-change
6739 event hook to signal undo activity.
6740 (allout-post-command-business): Run allout-post-undo-hook if an
6741 undo just occurred.
7dbfa719
SM
6742 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6743 * allout-widgets.el (allout-widgets-after-undo-function):
6744 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6745 in the vicinity of an undo.
6746 (allout-widgets-mode): Include allout-widgets-after-undo-function
6747 on the new allout-post-undo-hook.
6748
450a0f09
SM
67492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6752 Let define-derived-mode define it.
6753 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6754 cycles of abbrev-table inheritance (bug#8998).
6755
2de69e00
RW
67562011-07-05 Roland Winkler <winkler@gnu.org>
6757
6758 * textmodes/bibtex.el: Add support for biblatex.
6759 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6760 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6761 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6762 (bibtex-entry-alist, bibtex-field-alist): New variables.
6763 (bibtex-entry-field-alist): Obsolete alias for
6764 bibtex-BibTeX-entry-alist.
6765 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6766 (bibtex-set-dialect): New command.
6767 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6768 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6769 Bind via bibtex-set-dialect.
2de69e00
RW
6770 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6771 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6772 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6773 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6774 Define via bibtex-set-dialect.
450a0f09
SM
6775 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6776 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6777 (bibtex-vec-push, bibtex-vec-incr): New functions.
6778 (bibtex-format-entry, bibtex-field-list)
6779 (bibtex-print-help-message, bibtex-validate)
6780 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6781
2dcdbdd9
SM
67822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * progmodes/compile.el (compilation-goto-locus):
6785 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6786 * bs.el (bs-cycle-next, bs-cycle-previous):
6787 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6788 * bindings.el (mode-line-other-buffer):
6789 * autoinsert.el (auto-insert):
6790 * arc-mode.el (archive-extract):
6791 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6792
b27640fe
JB
67932011-07-05 Juanma Barranquero <lekktu@gmail.com>
6794
6795 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6796 Fix check of `emacs-lock-unlockable-modes'.
6797 Coerce true values of `emacs-lock--try-unlocking' to t.
6798
53bbe3ad
JB
67992011-07-05 Juanma Barranquero <lekktu@gmail.com>
6800
6801 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6802 * emacs-lock.el: New file.
6803
1d3cdbc7
JD
68042011-07-05 Julien Danjou <julien@danjou.info>
6805
6806 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6807 than `boundp' to check if face is set.
6808
9173deec
JB
68092011-07-05 Juanma Barranquero <lekktu@gmail.com>
6810
6811 * register.el (registerv-make):
6812 * window.el (window-min-height): Fix typos in docstrings.
6813
869795d6
JD
68142011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6815
9173deec 6816 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6817 Update doc string.
6818
b768cdcd
JB
68192011-07-04 Juanma Barranquero <lekktu@gmail.com>
6820
6821 * server.el (server-execute): Catch quit and call
6822 `server-return-error' to pass the error back to emacsclient and
6823 close the connection (bug#8942).
6824
13aa217b
KM
68252011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6826
6827 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6828 insecure exception for current topic. Also note that auto-saves
6829 are handled differently.
6830
6831 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6832 State variables for tracking auto-save inhibition situation.
6833
6834 (allout-write-contents-hook-handler): Rename from
6835 'allout-write-file-hook-handler', and describe how it depends on
6836 write-contents-functions sensitivity to non-nil value to prevent
6837 file write.
6838
6839 (allout-auto-save-hook-handler): Remove. auto-save does not check
6840 this in individual buffers, only in the starting buffer, so this
6841 is not the right way for us to inhibit auto-save in a buffer
6842 according to its condition.
6843
6844 (allout-mode): Use new allout-write-contents-hook-handler, and
6845 only with write-contents-functions. Remove auto-save provisions -
6846 they're implemented elsewhere.
6847
6848 (allout-before-change-handler): If undo is in progress, note that
6849 for attention of allout-post-command-business.
6850
6851 (allout-post-command-business): If the command we're following was
6852 an undo, check for change in the status of encrypted items and
6853 adjust auto-save inhibitions accordingly.
6854
6855 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6856 according to whether there are or aren't any plain-text topics
6857 pending encryption.
6858
2dcdbdd9 6859 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6860 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6861 if there are plain-text topics pending encryption.
13aa217b
KM
6862
6863 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6864 buffer-saved-size and some allout state to not inhibit auto-saves
6865 if there are no longer any plain-text topics pending encryption.
6866
0757af94
SM
6867 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6868 No longer provide for exemption of the current topic.
13aa217b 6869
ac89b32c
JL
68702011-07-04 Juri Linkov <juri@jurta.org>
6871
6872 Add 7z operations to delete and save changed members (bug#8968).
6873 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6874 New defcustoms.
6875 (archive-7z-write-file-member): New function.
6876 (archive-7z-summarize): Fix the number of dashes in the
6877 listing output.
6878
8fa39615
SM
68792011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6882 (bug#8958).
6883
2f11b3f1
CY
68842011-07-04 Chong Yidong <cyd@stupidchicken.com>
6885
d66fef2b
CY
6886 * bindings.el: Ignore next-buffer and previous-buffer in
6887 minibuffer-local-map.
6888
2f11b3f1
CY
6889 * font-lock.el (font-lock-builtin-face): Change light background
6890 color to dark slate blue (Bug#6693).
6891
f932a347
WD
68922011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6893
6894 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6895
c8af70e1
SM
68962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6899 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6900 Add switch-to-buffer.
6901
f158badc
LMI
69022011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6903
6904 * isearch.el (isearch-search-fun-function): Clarify further the
6905 meaning of the function returned.
6906
6d95bd46
MA
69072011-07-04 Michael Albinus <michael.albinus@gmx.de>
6908
6909 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6910
6911 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6912 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6913 Use it.
6914 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6915 `tramp-default-remote-path' does not exist.
6916 (tramp-send-command-and-read): New optional argument NOERROR.
6917 (tramp-open-connection-setup-interactive-shell)
6918 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6919 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6920 (tramp-process-sentinel): Flush also process' connection property.
6921 (tramp-sh-handle-start-file-process): Do not set process
6922 sentinel. It is done now ...
6923 (tramp-maybe-open-connection): ... here. (Bug#8929)
6924
909e6b67
MK
69252011-07-04 MON KEY <monkey@sandpframing.com>
6926
6927 * play/animate.el (animate-string): Doc fixes and allow changing
6928 the buffer name (bug#5417).
6929
69302011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6931
c8af70e1 6932 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6933
f34755dc
PE
69342011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6935
396cec72
PE
6936 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6937 This is simpler and helps future-proof the code.
6938 (timer-until): Use time-subtract and float-time.
08235028 6939 (timer--time-less-p): Use time-less-p.
f34755dc 6940
56e6cc31
JB
69412011-07-04 Juanma Barranquero <lekktu@gmail.com>
6942
3abb79e5
JB
6943 * type-break.el (timep): Use the value of `float-time' to avoid a
6944 byte-compiler warning.
6945
56e6cc31
JB
6946 * server.el (server-eval-and-print): Return any result, even nil.
6947
7b9430b4
PE
69482011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6949
6950 * type-break.el: Accept time formats that the builtins accept.
6951 (timep, type-break-time-difference): Accept any format that
6952 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6953 This is simpler and helps future-proof the code.
6954 (type-break-time-difference): Round rather than ignoring
6955 subseconds components.
6956
3034e9e7
LMI
69572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6958
6959 * info.el (Info-apropos-matches): Make non-interactive, since it
6960 doesn't seem to do anything useful as a command (bug#8829).
6961
1485f4c0
CY
69622011-07-03 Chong Yidong <cyd@stupidchicken.com>
6963
6964 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6965 Move from faces.el.
1485f4c0
CY
6966 (frame-default-terminal-background): New function.
6967
6968 * custom.el (custom-push-theme): Don't record faces in `changed'
6969 theme; this doesn't work correctly for per-frame face settings.
6970 (disable-theme): Use face-set-after-frame-default to reset faces.
6971 (custom--frame-color-default): New function.
6972
9fa3dd45
LMI
69732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6974
c8af70e1 6975 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6976 (bug#8769).
6977
6cbbc20c
KR
69782011-03-29 Kevin Ryde <user42@zip.com.au>
6979
6980 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6981 `perl-Test2' extend to match possible "fail #N" rep count
6982 (bug#8377).
6983
c7f98048
LMI
69842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6985
65676592
LMI
6986 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6987 `smtpmail-via-smtp' now returns the error instead of nil.
6988
c7f98048
LMI
6989 * isearch.el (isearch-search-fun-function): Clarify the doc string
6990 (bug#8101).
6991
56e6cc31 69922011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6993
6994 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6995 unnecessary spaces (bug#8987).
6996
2b216704
LMI
69972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
6999 * net/network-stream.el (open-network-stream): Use the
7000 :end-of-capability command thoughout.
7001
70022011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7003
7004 * net/network-stream.el (open-network-stream): Add the
7005 :end-of-capability command parameter, used by pop3.el.
7006
36adf6ce
LMI
70072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7008
1ca0da0e
LMI
7009 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7010
fc00f69c
LMI
7011 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7012 for list)" (bug#6475).
7013
28fd8759 7014 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7015 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7016 an error (bug#6297).
7017
0dd8b6da
LMI
7018 * man.el (Man-reference-regexp): Allow matching possible
7019 word-wrapped references (bug#6289).
7020
ce1438d6
LMI
7021 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7022 for consistency with the other vc buffers (bug#6197).
7023 (vc-checkin): Ditto.
7024
7025 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7026
36adf6ce
LMI
7027 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7028
e83cc1f7
LMI
70292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7030
8a20ca4c
LMI
7031 * custom.el (defcustom): Clarify that :set is only used in the
7032 Customize user interface (bug#6089).
7033
83319045
LMI
7034 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7035 associated with a file, refuse to run instead of erroring out
7036 (bug#6084).
7037
a8392169
LMI
7038 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7039 the doc string, since it appears that using `fill-column' always
7040 controls the width (bug#7845).
7041
e83cc1f7
LMI
7042 * simple.el (shell-command-on-region): Say where the error output
7043 went if `shell-command-default-error-buffer' is set (bug#6857).
7044
e47ca23b
KM
70452011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7046
7047 * allout.el (allout-yank-processing): Adjust cursor position for
7048 backwards-deleted space.
7049
7050 (allout-rebullet-heading): Register changes with
7051 allout-exposure-changed-hook, so the modified topic is properly
7052 decorated.
7053
5cf56143
LMI
70542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7055
08549772
LMI
7056 * minibuffer.el (completion-in-region): Document PREDICATE
7057 (bug#7136).
7058
48e96771
LMI
7059 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7060 of keyword/argument pairs (bug#6904).
7061
c8af70e1
SM
7062 * replace.el (multi-occur):
7063 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7064
e17d05e2
LMI
70652011-07-02 Drew Adams <drew.adams@oracle.com>
7066
7067 * dired.el (dired-mark-if): Make the message about whether it's
7068 marking or unmarking clearer (bug#8523).
7069
063b0e45
LMI
70702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7071
7072 * disp-table.el (display-table-print-array): New function.
7073 (describe-display-table): Use it to print the vectors more pretty
7074 (Bug#8859).
7075
28545e04
MR
70762011-07-02 Martin Rudalics <rudalics@gmx.at>
7077
7078 * window.el (window-state-get-1): Don't assign clone numbers.
7079 Add clone-of item to list of window parameters.
7080 (window-state-put-2): Don't process clone numbers.
7081 (display-buffer-alist): Fix doc-string.
7082
3349e122
SM
70832011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * subr.el (remq): Don't allocate if it's not needed.
7086 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7087 (keymap--merge-bindings): New functions.
7088 (keymap-canonicalize): Use them to refine the canonicalization.
7089 * minibuffer.el (minibuffer-local-completion-map)
7090 (minibuffer-local-must-match-map): Move initialization from C.
7091 (minibuffer-local-filename-completion-map): Move initialization from C;
7092 don't inherit from anything here.
7093 (minibuffer-local-filename-must-match-map): Make obsolete.
7094 (completing-read-default): Use make-composed-keymap to combine
7095 minibuffer-local-filename-completion-map with either
7096 minibuffer-local-must-match-map or
7097 minibuffer-local-filename-completion-map.
7098
d224ac83
GM
70992011-07-01 Glenn Morris <rgm@gnu.org>
7100
3de63bf8
GM
7101 * type-break.el (type-break-time-sum): Use dolist.
7102
d224ac83
GM
7103 * textmodes/flyspell.el (flyspell-word-search-backward):
7104 Replace CL function.
7105
1a1e3f32
SM
71062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7107
fe3f64d5
SM
7108 * mouse.el (mouse--strip-first-event): New function.
7109 (function-key-map): Use it to map fringe clicks to normal clicks
7110 by default.
7111
eb604e34
SM
7112 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7113 (vc-bzr-revision-completion-table): Add support for annotate and date.
7114
1a1e3f32
SM
7115 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7116 inherit from parent.
7117
5bd35902
LMI
71182011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7119
ace6c69c 7120 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7121 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7122
191e2bed
LMI
7123 * dired.el (dired-mode): Fix up the doc string as suggested by
7124 Drew Adams (bug#8817).
7125
5bd35902
LMI
7126 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7127 cookie, since the manual says that it should be possible to add
7128 this function to `find-file-hook' (bug#8709).
7129
eee8207a
TZ
71302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7131
7132 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7133 here. Noted Ted Zlatanov as the maintainer.
7134 (cfengine-common-settings, cfengine-common-syntax): New functions
7135 to set up common things between `cfengine-mode' and
7136 `cfengine3-mode'.
7137 (cfengine3-mode): New mode.
7138 (cfengine3-defuns cfengine3-defuns-regex
7139 (cfengine3-class-selector-regex cfengine3-category-regex)
7140 (cfengine3-vartypes cfengine3-font-lock-keywords)
7141 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7142 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7143
36b148cf
MA
71442011-07-01 Michael Albinus <michael.albinus@gmx.de>
7145
7146 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7147
7148 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7149
0bf4ba9a
MR
71502011-07-01 Martin Rudalics <rudalics@gmx.at>
7151
7152 * window.el (same-window-buffer-names, same-window-regexps)
7153 (same-window-p, special-display-frame-alist)
7154 (special-display-popup-frame, special-display-function)
7155 (special-display-buffer-names, special-display-regexps)
7156 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7157 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7158 (split-window-preferred-function, split-height-threshold)
7159 (split-width-threshold, even-window-heights)
7160 (display-buffer-mark-dedicated, window-splittable-p)
7161 (split-window-sensibly, window-safely-shrinkable-p):
7162 Un-obsolete.
7163 (display-buffer): Don't spread args with function specifier
7164 because special-display-popup-frame won't like it.
7165
35837f51
PE
71662011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7167
d0672f86
PE
7168 Time-stamp simplifications and fixes.
7169 These improve accuracy slightly, and future-proof the code
7170 against some potential changes to current-time format.
7171
b9444d97
PE
7172 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7173 by using time-since and float-time.
7174
0ef923dc
PE
7175 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7176 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7177 + NNN microseconds".
7178
2f81380d
PE
7179 * type-break.el (type-break-time-sum): Rewrite using time-add.
7180
845b5c3e
PE
7181 * play/hanoi.el (hanoi-current-time-float): Remove.
7182 All uses replaced by float-time.
7183
ee6f1be0
PE
7184 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7185 This yields a more-accurate answer.
7186 (rng-time-to-float): Remove; no longer needed.
7187
fe955043
PE
7188 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7189
5777162a
PE
7190 * calendar/timeclock.el (timeclock-seconds-to-time):
7191 Defalias to seconds-to-time, since they're the same thing.
7192
3103f8b6 7193 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7194 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7195 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7196
0e61a35f
SM
71972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 * window.el (bury-buffer): Don't iconify the only frame.
7200 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7201 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7202
ddd63a1e
CY
72032011-07-01 Chong Yidong <cyd@stupidchicken.com>
7204
0e61a35f
SM
7205 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7206 Add mouse-yank-primary.
ddd63a1e 7207
055f4923
TZ
72082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7209
7210 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7211
6a2fb145
SM
72122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7215 (find-library-name): Use it to find relative load names when provided
7216 absolute file name (bug#8803).
7217
fd4983f2
LMI
72182011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7219
887d14ad
LMI
7220 * textmodes/flyspell.el (flyspell-word): Consider words that
7221 differ only in case as potential doublons (bug#5687).
7222
c53dc7fc
LMI
7223 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7224 Remove two rather uninteresting debugging-like messages to make
7225 debbugs.el more silent.
7226
fd4983f2
LMI
7227 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7228 a password-like phrase.
7229
7a71b18d 72302011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7231
7232 * progmodes/cc-guess.el: New file.
7233
6a2fb145 7234 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7235
7236 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7237 derived from `c-basic-common-init'.
7238
7239 * progmodes/cc-mode.el (top-level): Require cc-guess.
7240 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7241
1fa280a3
LM
72422011-06-30 Lawrence Mitchell <wence@gmx.li>
7243
7244 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7245
e6597158
AM
72462011-06-30 Alan Mackenzie <acm@muc.de>
7247
1fa280a3
LM
7248 * progmodes/cc-engine.el (c-guess-continued-construct):
7249 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7250 lock is disabled. Name this case as "CASE G".
7251
68ba37fb
KM
72522011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7253
7254 * allout.el (allout-yank-processing): Fix injection of extra space
7255 between bullet and non-whitespace character in first topic when
7256 pasting, ensuring that the actual spacing in the pasted topic
7257 following the bullet char is preserved. This extra space was
7258 causing pasted encrypted topics to get a decrypted status even
7259 when the content was actually still encrypted. Now the decryption
7260 status from before the paste is preserved.
7261
7262 (allout-flag-region): Set all allout overlays so they evaporate
7263 when reduced to zero length (evanescent), to prevent overlay
7264 leakage.
7265
887a0b34
GM
72662011-06-30 Glenn Morris <rgm@gnu.org>
7267
94b9acce
GM
7268 * w32-fns.el (w32-charset-info-alist): Declare.
7269
1d9b46d4
GM
7270 * find-dired.el (find-grep-options): Simplify.
7271
cc232200
GM
7272 * term/ns-win.el (ns-set-resource): Declare.
7273
28e77c46
GM
7274 * ses.el (row, col): Declare dynamic variables honestly.
7275
887a0b34
GM
7276 * textmodes/reftex-parse.el (index-tags): Declare.
7277
658d8eb8
CY
72782011-06-30 Chong Yidong <cyd@stupidchicken.com>
7279
7280 * cus-edit.el (customize-push-and-save): New function.
7281
7282 * files.el (hack-local-variables-confirm): Use it.
7283
1fa280a3
LM
7284 * custom.el (load-theme): New arg NO-CONFIRM.
7285 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7286 (custom-enabled-themes): Doc fix.
7287
7288 * cus-theme.el (customize-create-theme)
7289 (custom-theme-merge-theme): Callers to load-theme changed.
7290
bb617717
LMI
72912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7292
d61bdd5d
LMI
7293 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7294 short URLs have at least one dot in them (bug #7614).
7295
bb617717
LMI
7296 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7297 nil, because using a pty is apparently too slow (bug #895).
7298
2f31f37a
LMI
72992011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7300
7301 * mail/sendmail.el (sendmail-query-once): New function.
7302 (sendmail-query-once-function): New variable.
7303
3076b24e
GM
73042011-06-29 Glenn Morris <rgm@gnu.org>
7305
faf2a174
GM
7306 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7307
3076b24e
GM
7308 * ses.el (top-level): Require cl when compiling.
7309 (ses-set-localvars): Fix error statement.
7310 Call it at compile time to silence a storm of warnings.
7311
5386012d
MR
73122011-06-29 Martin Rudalics <rudalics@gmx.at>
7313
7314 * window.el (normalize-live-buffer): Rename to
7315 window-normalize-buffer.
7316 (normalize-live-frame): Rename to window-normalize-frame.
7317 (normalize-any-window): Rename to window-normalize-any-window.
7318 (normalize-live-window): Rename to window-normalize-live-window.
7319 (make-window-atom): Rename to window-make-atom.
7320 (window-resize-reset): Rename to window--resize-reset.
7321 (window-resize-reset-1): Rename to window--resize-reset-1.
7322 (resize-mini-window): Rename to window--resize-mini-window.
7323 (resize-subwindows-skip-p): Rename to
7324 window--resize-subwindows-skip-p.
7325 (resize-subwindows-normal): Rename to
7326 window--resize-subwindows-normal.
7327 (resize-subwindows): Rename to window--resize-subwindows.
7328 (resize-other-windows): Rename to window--resize-siblings.
7329 (resize-this-window): Rename to window--resize-this-window.
7330 (resize-root-window): Rename to window--resize-root-window.
7331 (resize-root-window-vertically): Rename to
7332 window--resize-root-window-vertically.
7333 (normalize-buffer-to-display): Rename to
7334 window-normalize-buffer-to-display.
7335 (normalize-buffer-to-switch-to): Rename to
7336 window-normalize-buffer-to-switch-to.
7337 Correspondingly update all callers of the functions listed
7338 above.
7339 (display-buffer-alist, display-buffer-normalize-arguments)
7340 (display-buffer-normalize-options, display-buffer)
7341 (display-buffer-alist-set): Use "function" instead of
7342 "fun-with-args".
7343
1176868d
CY
73442011-06-28 Chong Yidong <cyd@stupidchicken.com>
7345
7346 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7347 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7348 debbugs.gnu.org. Mention acknowledgment email.
7349
20a7a65f
LMI
73502011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7351
7352 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7353 buffer multibyteness, since it shouldn't matter.
7354
5f45cca5
MR
73552011-06-28 Martin Rudalics <rudalics@gmx.at>
7356
7357 * window.el (display-buffer-in-side-window): Handle dedicated
7358 windows as in display-buffer-reuse-window.
7359 (display-buffer-normalize-alist): Use value of override
7360 specifier.
7361 (display-buffer-normalize-specifiers): Use value of
7362 other-window-means-other-frame specifier.
7363 (display-buffer-alist): Rewrite some texts in widgets.
7364 (display-buffer): Spread arguments when calling function
7365 specified by fun-with-args.
7366
ad85fe1f
DD
73672011-06-28 Deniz Dogan <deniz@dogan.se>
7368
1fa280a3
LM
7369 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7370 Unnest `let'.
da68c4c8 7371
ad85fe1f
DD
7372 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7373 selectors (Bug#5732).
ec49bd31 7374 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7375
a08cc025
JA
73762011-06-27 Jari Aalto <jari.aalto@cante.net>
7377
7378 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7379 (eshell-ls-date-format): New defcustom.
7380 (eshell-ls-file): Use it.
7381
e2b551c5
SM
73822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7385
8982b231
KY
73862011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7387
7388 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7389 (ange-ftp-make-tmp-name): New arg.
7390 (ange-ftp-file-local-copy): Use it.
7391
36c9fa27
J
73922011-06-27 Jambunathan K <kjambunathan@gmail.com>
7393
7394 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7395 no-conversion (Bug#8870).
7396
d68443dc
MR
73972011-06-27 Martin Rudalics <rudalics@gmx.at>
7398
7399 * window.el (window-right, window-left, window-child)
7400 (window-child-count, window-last-child)
7401 (window-iso-combination-p, walk-window-tree-1)
7402 (window-atom-check-1, window-tree-1, delete-window)
7403 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7404 new naming conventions - window-vchild, window-hchild,
7405 window-next and window-prev are now called window-top-child,
7406 window-left-child, window-next-sibling and window-prev-sibling
7407 respectively.
d615d6d2
MR
7408 (resize-window-reset): Rename to window-resize-reset.
7409 (resize-window-reset-1): Rename to window-resize-reset-1.
7410 (resize-window): Rename to window-resize.
7411 (window-min-height, window-min-width)
7412 (resize-mini-window, resize-this-window, resize-root-window)
7413 (resize-root-window-vertically, adjust-window-trailing-edge)
7414 (enlarge-window, shrink-window, maximize-window)
7415 (minimize-window, delete-window, quit-restore-window)
7416 (split-window, balance-windows, balance-windows-area-adjust)
7417 (balance-windows-area, window-state-put-2)
7418 (display-buffer-even-window-sizes, display-buffer-set-height)
7419 (display-buffer-set-width, set-window-text-height)
7420 (fit-window-to-buffer): Rename all "resize-window" prefixed
7421 calls to use the "window-resize" prefix convention.
7422 (display-buffer-alist): Fix symbol for label specifier.
7423 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7424 corresponding specifier.
7425 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7426
b6458526
VB
74272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7428
7429 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7430 convention.
7431 (ses-call-printer): Does not pass an empty string to formatter when the
7432 cell is empty to keep from barking printer Calc math-format-value.
7433
d31fd9ac
RS
74342011-06-27 Richard Stallman <rms@gnu.org>
7435
43d5bf84
RS
7436 * battery.el (battery-mode-line-limit): New variable.
7437 (battery-update): Handle it.
7438
d31fd9ac
RS
7439 * mail/rmailmm.el (rmail-mime-process-multipart):
7440 Handle truncated messages.
7441
819a6054
GM
74422011-06-27 Glenn Morris <rgm@gnu.org>
7443
7444 * progmodes/flymake.el (flymake-err-line-patterns):
7445 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7446
cedc73f2
VB
74472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7448
819a6054 7449 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7450 (ses--clean-!, ses--clean-_): New functions.
7451 (ses-range): Add configurability of readout order, and conversion
7452 to Calc vector.
7453
5e5d49b6
VB
7454 * ses.el (ses-repair-cell-reference-all): New function.
7455 (ses-cell-symbol): Set macro as safe, so that it can be used in
7456 formulas.
7457
56e6cc31 7458 * ses.el: Update cycle detection algorithm.
90ca8b49 7459 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7460 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7461 (ses-set-localvars): New function.
7462 (ses-make-cell): Add property-list as a cell element.
7463 (ses-cell-property-get-fun, ses-cell-property-get)
7464 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7465 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7466 New functions.
90ca8b49
VB
7467 (ses-cell-property-set, ses-cell-property-pop)
7468 (ses-cell-property-get-handle): New macro.
7469 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7470 New aliases, used for code readability.
7471 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7472 cycle detection.
7473 (ses-self-reference-early-detection): New defcustom.
fac916bf 7474 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7475 (ses-mode): Use ses-set-localvars.
7476 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7477 before lauching the update processing.
7478 (ses-initialize-Dijkstra-attempt): New function.
7479 (ses-recalculate-cell): Update for cycle detection based on
7480 Dijkstra algorithm.
7481
2bb63e81
VB
7482 * ses.el: Fix commenting and indenting convention.
7483
c9d29fb8
SM
74842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * bs.el (bs-cycle-next): Complete last change.
7487
d8e4b68b
JB
74882011-06-27 Drew Adams <drew.adams@oracle.com>
7489
7490 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7491
40098786
LMI
74922011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7493
c9d29fb8
SM
7494 * net/network-stream.el (network-stream-open-starttls):
7495 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7496 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7497
40098786
LMI
7498 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7499 to binary to possibly avoid line encoding issues on Windows (among
7500 other things).
7501
468d09d4
LMI
75022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7503
7504 * net/network-stream.el (open-network-stream): Return an :error
7505 saying what the problem was, if possible.
7506
7507 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7508 server.
7509
7510 * net/network-stream.el (network-stream-open-starttls): If we
7511 wanted to use STARTTLS, and the server offered it, but we weren't
7512 able to because we had no STARTTLS support, then close the connection.
7513 (open-network-stream): Return an :error element, if present.
7514
16f07dd7
CY
75152011-06-26 Chong Yidong <cyd@stupidchicken.com>
7516
88821ca0
CY
7517 * hl-line.el (hl-line-sticky-flag): Doc fix.
7518 (global-hl-line-sticky-flag): New option (Bug#8323).
7519 (global-hl-line-highlight): Obey it.
7520
16f07dd7
CY
7521 * vc/vc.el (vc-revert-show-diff): Default to t.
7522
6b5ccddf
KM
75232011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7524
c9d29fb8
SM
7525 * allout-widgets.el (allout-widgets-post-command-business):
7526 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7527 undecorated when an isearch is continued past, and isearch
7528 automatically collapses them. This leads to "widget leaks", where
7529 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7530 hidden widgets can slow down cursor travel, substantially.
7531 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7532 so we're doing without this nicety.
7533
7534 (allout-widgets-tally-string): Don't try to do a hash-table-count
7535 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7536 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7537 *Messages* when allout-widgets-maintain-tally is t.
7538
355f2e07
MR
75392011-06-26 Martin Rudalics <rudalics@gmx.at>
7540
7541 * window.el (display-buffer-normalize-argument): Rename to
7542 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7543 LABEL argument. Respect special-display-function when popping up
7544 a new frame. Fix code searching for a window showing the buffer
7545 on another frame.
c9d29fb8
SM
7546 (display-buffer-normalize-specifiers):
7547 Call display-buffer-normalize-arguments.
355f2e07
MR
7548 (display-buffer-in-window): Don't undedicate the window if its
7549 buffer remains the same.
7550 Reported by Drew Adams <drew.adams@oracle.com>.
7551 (display-buffer-alist): Add choice for same-window macro
7552 specfier.
7553 (display-buffer): Mention special meaning of LABEL argument in
7554 doc-string. Fix quoting. Don't pop up a new frame even as
7555 fallback.
7556
7ca8fc42
JB
75572011-06-26 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7560 avoid deleting the current window in some cases (bug#8911).
7561
bc312254
AS
75622011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7563
7564 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7565 (Bug#8934)
7566
2db18f3f
LMI
75672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7568
c9d29fb8
SM
7569 * net/network-stream.el (network-stream-open-starttls):
7570 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7571 (network-stream-open-tls): Ditto.
7572
6302e0d3
LL
75732011-06-26 Leo Liu <sdl.web@gmail.com>
7574
7575 * register.el (registerv): New struct.
7576 (registerv-make): New function.
c9d29fb8
SM
7577 (jump-to-register, describe-register-1, insert-register):
7578 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7579 struct. (Bug#8415)
7580
5fdd4046
CY
75812011-06-26 Chong Yidong <cyd@stupidchicken.com>
7582
2afef60a
CY
7583 * vc/vc.el (vc-revert-show-diff): New defcustom.
7584 (vc-diff-internal): New arg specifying diff buffer.
7585 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7586 reuse an existing *vc-diff* buffer (Bug#8927).
7587
5fdd4046
CY
7588 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7589
e93db24a
GM
75902011-06-26 Glenn Morris <rgm@gnu.org>
7591
7592 * progmodes/f90.el (f90-critical-indent): New option.
7593 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7594 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7595 (f90-mode): Doc fix.
7596 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7597 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7598 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7599 (f90-match-end): Handle block, critical.
7600
eefff499
GM
76012011-06-25 Glenn Morris <rgm@gnu.org>
7602
f6ba4cc9
GM
7603 * calendar/diary-lib.el (diary-included-files): Doc fix.
7604 (diary-include-files): New function, extracted from
7605 diary-include-other-diary-files and diary-mark-included-diary-files.
7606 (diary-include-other-diary-files, diary-mark-included-diary-files):
7607 Just call diary-include-files.
7608 (diary-mark-entries): Reset diary-included-files on first call.
7609
16712304
GM
7610 * calendar/diary-lib.el (diary-mark-entries)
7611 (diary-mark-included-diary-files):
7612 Visit included diary-files in temp buffers.
7613
5d8e0d43
GM
7614 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7615 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7616 (f90-start-block-re, f90-imenu-generic-expression)
7617 (f90-looking-at-program-block-start, f90-no-block-limit):
7618 Add support for submodules.
7619
ccf7a5d5
GM
7620 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7621 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7622
11fdef7d 76232011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7624
7625 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7626 buffer-file-type before setting its value, to avoid disastrous
eefff499 7627 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7628
74f53697
JB
76292011-06-25 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7632
7633 * ses.el (ses-unload-function):
7634 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7635
7636 * proced.el (proced-unload-function):
7637 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7638
18a4ce5e
AR
76392011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7640
7641 * server.el (server-create-window-system-frame): Add parameters arg.
7642 (server-process-filter): Doc fix. Handle frame-parameters.
7643
519d22cc
JB
76442011-06-25 Juanma Barranquero <lekktu@gmail.com>
7645
7646 Fix bug#8730, bug#8781.
7647
7648 * loadhist.el (unload--set-major-mode): New function.
7649 (unload-feature): Use it.
7650
7651 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7652 (python-unload-function): New function.
7653
c206f5b0
SM
76542011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7657
f9ad64f3
GS
76582011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7659
7660 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7661 the candidates list.
7662
7d0da90e
JB
76632011-06-24 Juanma Barranquero <lekktu@gmail.com>
7664
7665 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7666
14b4e83d
RS
76672011-06-23 Richard Stallman <rms@gnu.org>
7668
7669 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7670 (rmail-variables): Set next-error-move-function.
7671 (rmail-what-message): Take argument POS.
7672 (rmail-next-error-move): New function.
7673
273d2baf
SM
76742011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7677 messages for adjacent non-terminals.
7678
56c2cc9a
RS
76792011-06-23 Richard Stallman <rms@gnu.org>
7680
7681 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7682 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7683 (rmail-start-mail): Don't specify use of rmail-mail-return;
7684 that's done by mail-bury now.
7685 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7686
d59eb518
MA
76872011-06-23 Michael Albinus <michael.albinus@gmx.de>
7688
7689 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7690 SIZE is a number.
7691
02cfc6d6
MR
76922011-06-23 Martin Rudalics <rudalics@gmx.at>
7693
7694 * window.el (get-lru-window, get-mru-window)
7695 (get-largest-window): Never return a minibuffer window.
7696 (display-buffer-pop-up-window): Fix a bug that could lead to
7697 reusing the minibuffer window.
7698 (display-buffer): Pass original specifier argument to
7699 display-buffer-function instead of the normalized one.
7700 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7701
4e323265
LL
77022011-06-22 Leo Liu <sdl.web@gmail.com>
7703
7704 * minibuffer.el (completing-read-function)
7705 (completing-read-default): Move from minibuf.c
7706
7a70468f
RS
77072011-06-22 Richard Stallman <rms@gnu.org>
7708
50718fc2
RS
7709 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7710 to Rmail even if not started by a special Rmail command.
7711
7a70468f
RS
7712 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7713 Copy the buffer currently showing just one message.
7714
297dde5a
RW
77152011-06-22 Roland Winkler <winkler@gnu.org>
7716
7717 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7718 (bibtex-clean-entry): First delete the old key so that a
7719 customized algorithm for generating the new key does not get
7720 confused by the old key.
7721 (bibtex-url): Obey regexp of first step.
7722 (bibtex-search-entries): Do not use add-to-list with local
7723 list-var.
7724
97bb1093
LMI
77252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7726
7727 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7728 stored a user name, then query for the password first, instead of
7729 waiting for SMTP to give an error message and the trying again.
7730
1c0f1a19
JD
77312011-06-22 Lawrence Mitchell <wence@gmx.li>
7732
7733 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7734 BUFFER in call-process.
7735
396f7c9d
LMI
77362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7737
7738 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7739 QUIT twice.
ddb7ffee
LMI
7740 (smtpmail-try-auth-methods): Require user name and password from
7741 auth-source.
396f7c9d 7742
8998d1b3
MR
77432011-06-22 Martin Rudalics <rudalics@gmx.at>
7744
7745 * window.el (display-buffer-default-specifiers)
7746 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7747 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7748 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7749
7750 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7751 (special-display-frame-alist, special-display-popup-frame):
7752 Remove duplicate declarations. These are now in window.el.
7753
4ea31e07
LMI
77542011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7755
c9d29fb8
SM
7756 * mail/smtpmail.el (smtpmail-via-smtp):
7757 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7758 server supports it. SMTP servers that support STARTTLS commonly
7759 require it.
7760
7761 * net/network-stream.el (network-stream-open-starttls): Support
7762 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7763 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7764
95f41d9a
LMI
7765 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7766 upgrades with `open-network-stream', and rely solely on
7767 auth-source for all credentials. Big changes throughout the file,
7768 but in particular:
c9d29fb8
SM
7769 (smtpmail-auth-credentials): Remove.
7770 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7771 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7772 MAIL FROM, too.
95f41d9a 7773
c9d29fb8
SM
7774 * net/network-stream.el (network-stream-open-starttls):
7775 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7776 STARTTLS.
7777 (auth-source): Require.
7778 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7779 (network-stream-certificate): Change cert-cert to cert and
7780 cert-key to key.
4ea31e07 7781
065ec2c7
MA
77822011-06-21 Michael Albinus <michael.albinus@gmx.de>
7783
7784 * net/tramp-cache.el (top): Don't load the persistency file when
7785 "emacs -Q" has been called.
7786
cd93b359
DR
77872011-06-21 Tim Harper <timcharper@gmail.com>
7788
d8e4b68b
JB
7789 * term/ns-win.el (ns-initialize-window-system):
7790 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7791 resource to NO as it is not yet supported by the NS port.
7792
ae9c0411
JB
77932011-06-21 Juanma Barranquero <lekktu@gmail.com>
7794
7795 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7796 (list-dynamic-libraries): ...not here.
7797
7f3f739f
LL
77982011-06-21 Leo Liu <sdl.web@gmail.com>
7799
7800 * subr.el (sha1): Implement sha1 using secure-hash.
7801
327c8fb1
MR
78022011-06-21 Martin Rudalics <rudalics@gmx.at>
7803
7804 * window.el (display-buffer-alist): In default value do not
7805 enforce searching a window on any but the selected frame.
7806 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7807 (display-buffer-select-window): Remove function.
7808 (display-buffer-in-window): When a window on another frame gets
7809 reused, do not select it any more but just raise its frame if
7810 necessary (Bug#8851) and (Bug#8856).
7811 (display-buffer-normalize-options): Handle pop-up-frames related
7812 options more faithfully.
7813 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7814 window if it is on another frame.
c9d29fb8
SM
7815 (display-buffer-alist, display-buffer-default-specifiers):
7816 Don't make new frame unsplittable by default.
9e9de014
MR
7817 (display-buffer-normalize-argument): Fix doc-string typo and use
7818 'same-frame-other-window instead of 'other-window when associating
7819 with display-buffer-macro-specifiers.
327c8fb1 7820
7cf3f556
VB
78212011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7822
7823 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7824 New functions.
7825 (5x5-mode-map, 5x5-mode-menu): Bind them.
7826 (5x5-draw-grid): Tweak the solver's rendering.
7827
60a406cf
SM
78282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7831 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7832
d8e4b68b 78332011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7834
7835 * menu-bar.el: Use function variable instead of switch-to-buffer.
7836 (menu-bar-select-buffer-function): New variable.
60a406cf 7837 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7838
478d6f95
SM
78392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7842 variable's status.
7843
ca530739
JD
78442011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7845
7846 * x-dnd.el (x-dnd-version-from-flags)
7847 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7848 and long as number (Bug#8899).
7849 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7850
bcd70d97
SM
78512011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7852
60a406cf 7853 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7854 (completion-try-completion, completion-all-completions): Compute the
7855 metadata argument if it's missing; make it optional (bug#8795).
7856
60a406cf 7857 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7858 (widget-complete): Use new :completion-function property.
7859 (widget-completions-at-point): New function.
7860 (default): Use :completion-function instead of :complete.
60a406cf
SM
7861 (widget-default-completions): Rename from widget-default-complete;
7862 Rewrite.
bcd70d97
SM
7863 (widget-string-complete, widget-file-complete, widget-color-complete):
7864 Remove functions.
7865 (file, symbol, function, variable, coding-system, color):
7866 * international/mule-cmds.el (default-input-method, charset)
7867 (language-info-custom-alist):
7868 * cus-edit.el (face): Use new property :completions.
7869
7870 * progmodes/pascal.el (pascal-completions-at-point): New function.
7871 (pascal-mode): Use it.
7872 (pascal-mode-map): Use completion-at-point.
7873 (pascal-toggle-completions): Make obsolete.
7874 (pascal-complete-word, pascal-show-completions):
7875 * progmodes/octave-mod.el (octave-complete-symbol):
7876 Redefine as obsolete alias.
7877 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7878 Signal absence of completion info for old Octave,
7879 (inferior-octave-complete): Redefine as obsolete alias.
7880 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7881 (meta-completions-at-point): Rename from meta-complete-symbol and
7882 adapt it for use on completion-at-point-functions.
7883 (meta-common-mode): Use it.
7884 (meta-looking-at-backward, meta-match-buffer): Remove.
7885 (meta-complete-symbol): Redefine as obsolete alias.
7886 (meta-common-mode-map): Use completion-at-point.
7887 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7888 (makefile-mode-map): Use completion-at-point.
7889 (makefile-completions-at-point): Rename from makefile-complete and
7890 adapt it for use on completion-at-point-functions.
7891 (makefile-mode): Use it.
7892 (makefile-complete): Redefine as obsolete alias.
7893
aebf69c8
DD
78942011-06-20 Deniz Dogan <deniz@dogan.se>
7895
7896 * net/rcirc.el: Delete trailing whitespaces once and for all.
7897
bfbbb27d
DC
78982011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7899
7900 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7901
d264a46b
CY
79022011-06-19 Chong Yidong <cyd@stupidchicken.com>
7903
4ca009e5
CY
7904 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7905
d264a46b
CY
7906 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7907
fbf5b3ce
MR
79082011-06-19 Martin Rudalics <rudalics@gmx.at>
7909
7910 * window.el (display-buffer-other-window-means-other-frame):
7911 Call display-buffer-normalize-alist.
7912 (display-buffer-normalize-specifiers-1): Rename to
7913 display-buffer-normalize-argument. New argument other-frame.
7914 Rewrite.
7915 (display-buffer-normalize-specifiers-2): Rename to
7916 display-buffer-normalize-options.
7917 (display-buffer-normalize-alist-1): New function.
7918 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7919 display-buffer-normalize-alist.
7920 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7921 (display-buffer-normalize-options-inhibit): New variable.
7922 (display-buffer-normalize-specifiers): Rewrite calling
7923 display-buffer-normalize-alist,
7924 display-buffer-normalize-argument, and
7925 display-buffer-normalize-options. Don't call the latter if
7926 display-buffer-normalize-options-inhibit is non-nil.
7927 (frame-auto-delete): New option.
7928 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7929 (window-list-no-nils, window-state-ignored-parameters)
7930 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7931 (window-state-put-1, window-state-put-2, window-state-put):
7932 New functions.
9a028c23
MR
7933 (display-buffer-normalize-options): Move special-display-p group
7934 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7935
6d10d800
CY
79362011-06-18 Chong Yidong <cyd@stupidchicken.com>
7937
6420d28b
CY
7938 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7939 groups (Bug#8776).
7940 (rx-submatch-n): New function.
7941 (rx): Document it.
7942
ddb8b596
CY
7943 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7944 (Bug#8768).
7945
7946 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7947
77080289
CY
7948 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7949
61dfb316
CY
7950 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7951 anytime existing face settings are present (Bug#8889).
7952
6d10d800
CY
7953 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7954 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7955 Remove unused argument.
7956
be3fb2b8
MR
79572011-06-18 Martin Rudalics <rudalics@gmx.at>
7958
bcd70d97
SM
7959 * window.el (display-buffer-default-specifiers):
7960 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7961 pop-up-window-min-width, and another reuse-window specifier
7962 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7963 (display-buffer-normalize-specifiers-2):
7964 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7965 pop-up-windows is unset. Add a reuse-window specifier for the
7966 case popping up a new window fails.
7967 (special-display-popup-frame): Remove double quoting.
28dec25a 7968 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7969
1c6d8c76
SM
79702011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7973 according to comint-completion-addsuffix.
7974
7975 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7976 (pcomplete-suffix-list): Mark as obsolete.
7977 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7978 pcomplete-seen in the closure.
7979 (pcomplete-comint-setup): Setup completion-at-point as well.
7980 (pcomplete--entries): New function.
7981 (pcomplete--env-regexp): New var.
7982 (pcomplete-entries): Rewrite to work with partial-completion and
7983 without relying on pcomplete-suffix-list.
7984 (pcomplete-pare-list): Remove, unused.
7985
25aef8b8
MR
79862011-06-17 Martin Rudalics <rudalics@gmx.at>
7987
7988 * window.el (display-buffer-alist): Set pop-up-window-min-height
7989 and pop-up-window-min-width in default value. Reported by
7990 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7991 other-window-means-other-frame.
7992 (display-buffer-macro-specifiers): Comment out entry for
7993 other-window specifier.
7994 (display-buffer-other-window-means-other-frame): New function.
7995 (display-buffer-normalize-specifiers-1): New arguments
7996 buffer-name and label. Treat other-window case specially.
7997 (display-buffer-normalize-specifiers-2): Treat other-window case
7998 specially.
7999 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8000 (display-buffer-normalize-specifiers):
8001 Call display-buffer-normalize-specifiers-3.
25aef8b8 8002
dbad4f69
MR
80032011-06-17 Martin Rudalics <rudalics@gmx.at>
8004
8005 * window.el (same-window-p): Fix two typos introduced when
8006 adding with-no-warnings.
d1067961
MR
8007 (display-buffer-normalize-specifiers-1): Don't check
8008 pop-up-frames for 'unset initialization.
8009 (display-buffer-normalize-specifiers-2): Major rewrite using
8010 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8011 (pop-up-frames, display-buffer-reuse-frames)
8012 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8013 Suggested by David Engster <deng@randomsample.de>.
8014 (even-window-heights): Initialize to 'unset.
8015 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8016 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8017 other window case.
dbad4f69 8018
9b9c9e3a
MR
80192011-06-16 Martin Rudalics <rudalics@gmx.at>
8020
bcd70d97
SM
8021 * window.el (display-buffer-normalize-specifiers-1):
8022 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8023 second argument of display-buffer (Bug#8865).
981d5c09
MR
8024 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8025 (switch-to-buffer-other-window-same-frame)
8026 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8027 Adams (Bug#8875).
9c2755e9
MR
8028 (display-buffer): Don't check noninteractive when calling
8029 display-buffer-pop-up-frame.
8030 (display-buffer-pop-up-frame): Never pop up a frame in
8031 noninteractive mode (Bug#8857).
67222e1d
MR
8032 (enlarge-window, shrink-window): Don't report an error when the
8033 window can't be resized as requested (Bug#8862).
9b9c9e3a 8034
2b75be67
SM
80352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8036
9ffdd3ba
SM
8037 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8038
cb581a67
SM
8039 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8040
2b75be67
SM
8041 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8042
8c0e3589
AM
80432011-06-15 Alan Mackenzie <acm@muc.de>
8044
cb581a67
SM
8045 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8046 for declarators, disable knr checking to speed up for normal files.
8047 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8048
b96e6cde
LMI
80492011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8050
4bba86e6
LMI
8051 * net/network-stream.el (open-network-stream): Add the keyword
8052 :always-query-capabilities for the case where you want to force a
8053 `plain' network connection, but the protocol still requires the
8054 capabilitiy command (i.e., SMTP and EHLO).
8055
2b75be67 8056 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8057 consistency with other `-live-p' functions.
8058
efdcdbf8
SM
80592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * window.el (same-window-buffer-names, same-window-regexps)
8062 (special-display-frame-alist, special-display-popup-frame)
8063 (special-display-function, special-display-buffer-names)
8064 (special-display-regexps, pop-up-frame-alist)
8065 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8066 (pop-up-windows, split-window-preferred-function)
8067 (split-height-threshold, split-width-threshold, even-window-heights)
8068 (display-buffer-mark-dedicated): Don't encourage the use of
8069 display-buffer-alist from Elisp code.
8070
c5cde042
DN
80712011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8072
8073 * progmodes/python.el (python-mode): Derive from prog-mode.
8074 * progmodes/ps-mode.el (ps-mode):
8075 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8076 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8077 * progmodes/ld-script.el (ld-script-mode): Likewise.
8078
baa1c9ab
MR
80792011-06-15 Martin Rudalics <rudalics@gmx.at>
8080
8081 * window.el (display-buffer-alist): Trim default value to avoid
8082 popping up a new frame (Bug#8857) or reusing an arbitrary window
8083 on another frame.
8084 (display-buffer): Do not fall back on popping up a new frame in
8085 batch mode (Bug#8857).
8086
c5dd5a51
CY
80872011-06-14 Chong Yidong <cyd@stupidchicken.com>
8088
8089 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8090 (custom-theme-summary): New function.
8091 (customize-themes): Use it.
8092
d647b7c4
GM
80932011-06-13 Glenn Morris <rgm@gnu.org>
8094
8095 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8096
9481c002
MR
80972011-06-13 Martin Rudalics <rudalics@gmx.at>
8098
357f93d2
MR
8099 * help.el (help-window): Remove variable.
8100 (help-window-point-marker, temp-buffer-max-height)
8101 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8102 (help-print-return-message): Don't set help-window.
8103 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8104 (help-window-setup-finish): Remove.
8105 (help-window-display-message, help-window-setup)
8106 (with-help-window): Major rewrite based on new
8107 display-buffer-window variable.
8108
8109 * help-mode.el (help-mode-finish): Remove help-window related
8110 code.
8111
8112 * view.el (view-exits-all-viewing-windows): Remove reference to
8113 view-return-to-alist in doc-string.
8114 (view-return-to-alist): Make obsolete.
8115 (view-buffer): Call pop-to-buffer-same-window and remove
8116 undo-window code.
8117 (view-buffer-other-window): Call pop-to-buffer-other-window and
8118 simplify code. Ignore second argument.
8119 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8120 simplify code. Ignore second argument.
8121 (view-return-to-alist-update): Make obsolete.
8122 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8123 Rewrite using quit-restore window parameters.
2b75be67
SM
8124 (view-mode-exit): Rename second argument to EXIT-ONLY.
8125 Rewrite using quit-restore-window.
357f93d2
MR
8126 (View-exit, View-exit-and-edit, View-leave, View-quit)
8127 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8128 appropriate arguments.
8129 (view-end-message): Use quit-restore window parameter.
8130
9481c002
MR
8131 * window.el (display-buffer-function): Rewrite doc-string.
8132 (display-buffer-window, display-buffer-alist): New variables.
8133 (display-buffer-split-specifiers)
8134 (display-buffer-side-specifiers)
8135 (display-buffer-macro-specifiers): New constants.
8136 (display-buffer-even-window-sizes, display-buffer-set-height)
8137 (display-buffer-set-width, display-buffer-select-window)
8138 (display-buffer-in-window, display-buffer-reuse-window)
8139 (display-buffer-split-window-1, display-buffer-split-window)
8140 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8141 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8142 (display-buffer-in-side-window, normalize-buffer-to-display)
8143 (display-buffer-normalize-specifiers-1)
8144 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8145 (display-buffer-normalize-specifiers, display-buffer-frame):
8146 New functions.
9481c002
MR
8147 (display-buffer): Major rewrite.
8148 (display-buffer-other-window, display-buffer-other-frame)
8149 (pop-to-buffer, switch-to-buffer-other-window)
8150 (switch-to-buffer-other-frame): Rewrite.
8151 (display-buffer-same-window, display-buffer-same-frame)
8152 (display-buffer-same-frame-other-window)
8153 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8154 (pop-to-buffer-other-window)
8155 (pop-to-buffer-same-frame-other-window)
8156 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8157 (switch-to-buffer-other-window-same-frame): New functions.
8158 (same-window-p, special-display-p): Rewrite disabling warnings.
8159 Make obsolete.
8160 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8161 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8162 Make obsolete
8163 (same-window-buffer-names, same-window-regexps)
8164 (special-display-frame-alist, special-display-popup-frame)
8165 (special-display-function, special-display-buffer-names)
8166 (special-display-regexps, pop-up-frame-alist)
8167 (pop-up-frame-function, split-window-preferred-function)
8168 (split-height-threshold, split-width-threshold)
8169 (even-window-heights): Make obsolete.
8170
9db51aca
GM
81712011-06-12 Glenn Morris <rgm@gnu.org>
8172
8173 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8174 Misc simplifications.
9db51aca 8175
39cffb44
MR
81762011-06-12 Martin Rudalics <rudalics@gmx.at>
8177
8178 * window.el (window-safely-shrinkable-p): Restore function which
8179 was inadvertently removed in change from 2011-06-11. Declare as
8180 obsolete.
8181
2b75be67
SM
8182 * calendar/calendar.el (calendar-generate-window):
8183 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8184 window-safely-shrinkable-p.
8185
a8955be7
GM
81862011-06-12 Glenn Morris <rgm@gnu.org>
8187
8188 * progmodes/fortran.el (fortran-mode-syntax-table):
8189 * progmodes/f90.el (f90-mode-syntax-table):
8190 Set % to punctuation. (Bug#8820)
8191 (f90-find-tag-default): Remove, no longer needed.
8192
f0d4059d
DC
81932011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8194
8195 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8196
1100a63c
CY
81972011-06-11 Chong Yidong <cyd@stupidchicken.com>
8198
8199 * image.el (image-animated-p): Return animation delay in seconds.
8200 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8201 (image-animate-timeout): Remove DELAY argument. Don't assume
8202 every subimage has the same delay; get it from image-animated-p.
8203 (image-animate): Caller changed.
8204
def722bf
MA
82052011-06-11 Michael Albinus <michael.albinus@gmx.de>
8206
8207 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8208 to ignored backtrace functions.
8209
0a2bb1a9
GM
82102011-06-11 Glenn Morris <rgm@gnu.org>
8211
8212 * calendar/appt.el (appt-disp-window-function): Doc fix.
8213 (appt-check): Handle overlapping appointments. (Bug#8337)
8214
6198ccd0
MR
82152011-06-11 Martin Rudalics <rudalics@gmx.at>
8216
8217 * window.el (window-tree-1, window-tree): New functions, moving
8218 the latter to window.el.
8219 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8220 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8221 (bw-refresh-edges): Remove.
8222 (balance-windows-1, balance-windows-2): New functions.
8223 (balance-windows): Rewrite in terms of window tree functions,
8224 balance-windows-1 and balance-windows-2.
8225 (bw-adjust-window): Remove.
8226 (balance-windows-area-adjust): New function with functionality of
8227 bw-adjust-window but using resize-window.
2b75be67
SM
8228 (set-window-text-height): Rewrite doc-string.
8229 Use normalize-live-window and resize-window.
8230 (enlarge-window-horizontally, shrink-window-horizontally):
8231 Rename argument to DELTA.
6198ccd0
MR
8232 (window-buffer-height): New function.
8233 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8234 Rewrite using new window resize routines.
2b75be67
SM
8235 (kill-buffer-and-window, mouse-autoselect-window-select):
8236 Use ignore-errors instead of condition-case.
6198ccd0
MR
8237 (quit-window): Call delete-frame instead of delete-windows-on
8238 for the only buffer on frame.
8239
9397e56f
MR
82402011-06-10 Martin Rudalics <rudalics@gmx.at>
8241
8242 * loadup.el (top-level): Load window before files for the sake
8243 of replace-buffer-in-windows.
8244
8245 * files.el (read-buffer-to-switch)
8246 (switch-to-buffer-other-window)
2b75be67
SM
8247 (switch-to-buffer-other-frame, display-buffer-other-frame):
8248 Move to window.el.
9397e56f
MR
8249
8250 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8251 (previous-buffer): Move to window.el.
8252
8253 * bindings.el (unbury-buffer): Move to window.el.
8254
8255 * window.el (delete-other-windows-vertically): Move after
8256 definition of delete-other-windows.
8257 (other-window, delete-windows-on, replace-buffer-in-windows):
8258 Move here from window.c.
8259 (record-window-buffer, unrecord-window-buffer)
8260 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8261 (switch-to-next-buffer): New functions.
8262 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8263 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8264 (previous-buffer): Move here from simple.el.
8265 Call switch-to-prev-buffer.
9397e56f
MR
8266 (bury-buffer): Move here from buffer.c. Switch to previous
8267 buffer when window cannot be deleted.
8268 (unbury-buffer): Move here from bindings.el.
8269 (ctl-x-map): Move binding for other-window from window.c to
8270 here.
8271 (read-buffer-to-switch, switch-to-buffer-other-window)
8272 (switch-to-buffer-other-frame): Move here from files.el.
8273 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8274 (switch-to-buffer): Move here from buffer.c.
8275 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8276
562dd5e9
MR
82772011-06-10 Martin Rudalics <rudalics@gmx.at>
8278
8279 * window.el (window-min-height, window-min-width): Move here
8280 from window.c. Add defcustoms and rewrite doc-strings.
8281 (resize-mini-window, resize-window): New functions.
8282 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8283 Move here from window.c.
8284 (maximize-window, minimize-window): New functions.
8285 (delete-window, delete-other-windows, split-window): Move here
8286 from window.c.
8287 (window-split-min-size): New function.
8288 (split-window-keep-point): Mention split-window-above-each-other
8289 instead of split-window-vertically.
2b75be67 8290 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8291 Rename split-window-vertically to split-window-above-each-other
8292 and provide defalias for old definition.
8293 (split-window-side-by-side, split-window-horizontally):
8294 Rename split-window-horizontally to split-window-side-by-side
8295 and provide defalias for the old definition.
562dd5e9
MR
8296 (ctl-x-map): Move bindings for delete-window,
8297 delete-other-windows and enlarge-window here from window.c.
8298 Replace bindings for split-window-vertically and
8299 split-window-horizontally by bindings for
8300 split-window-above-each-other and split-window-side-by-side.
8301
8302 * cus-start.el (all): Remove entries for window-min-height and
8303 window-min-width. Add entries for window-splits and
8304 window-nest.
8305
f0da764a
GM
83062011-06-09 Glenn Morris <rgm@gnu.org>
8307
80675c21
GM
8308 * calendar/appt.el (appt-mode-line): New function.
8309 (appt-check, appt-disp-window): Use it.
8310
f0da764a
GM
8311 * files.el (hack-one-local-variable-eval-safep):
8312 Allow minor-modes with explicit +/-1 arguments.
8313
59f623b7
TZ
83142011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8315
8316 * term/xterm.el (xterm): Add defgroup.
8317 (xterm-extra-capabilities): Add defcustom to supply known xterm
8318 capabilities, skip querying them, or query them (default).
8319 (terminal-init-xterm): Use it.
8320 (terminal-init-xterm-modify-other-keys): New function to set up
8321 modifyOtherKeys support to simplify `terminal-init-xterm'.
8322
9aab8e0d
MR
83232011-06-09 Martin Rudalics <rudalics@gmx.at>
8324
8325 * window.el (resize-window-reset, resize-window-reset-1)
8326 (resize-subwindows-skip-p, resize-subwindows-normal)
8327 (resize-subwindows, resize-other-windows, resize-this-window)
8328 (resize-root-window, resize-root-window-vertically)
8329 (window-deletable-p, window-or-subwindow-p)
8330 (frame-root-window-p): New functions.
8331
e8b08aee
GM
83322011-06-09 Glenn Morris <rgm@gnu.org>
8333
8334 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8335 (ange-ftp-get-files): Use it.
8336
254c37a5
AK
83372011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8338
8339 * mail/sendmail.el (mail-recover-1, mail-recover):
8340 * files.el (recover-file, recover-session):
8341 Handle dired-listing-switches not being just a single short option.
8342
35d7dbd3
GM
83432011-06-09 Glenn Morris <rgm@gnu.org>
8344
8345 * calendar/appt.el (appt-display-message, appt-disp-window):
8346 Handle lists of appointments.
8347
387522b2
MR
83482011-06-08 Martin Rudalics <rudalics@gmx.at>
8349
2b75be67
SM
8350 * window.el (one-window-p): Move down in code.
8351 Rewrite doc-string.
8352 (window-current-scroll-bars): Rewrite doc-string.
8353 Normalize live window argument.
387522b2
MR
8354 (walk-windows, get-window-with-predicate, count-windows):
8355 Rewrite doc-string. Use window-list-1.
8356 (window-in-direction-2, window-in-direction, get-mru-window):
8357 New functions.
8358
d8e4b68b 83592011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8360
8361 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8362 Doc fix (Bug#8713).
8363
83642011-06-08 Chong Yidong <cyd@stupidchicken.com>
8365
8366 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8367
83682011-06-08 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * loadhist.el (unload-feature-special-hooks):
8371 Add `comint-output-filter-functions'.
8372
0de12c52
IK
83732011-06-08 Ivan Kanis <gnu@kanis.fr>
8374
8375 * calendar/appt.el (appt-check): Move some initializations into the let.
8376
f3d1777e
MR
83772011-06-08 Martin Rudalics <rudalics@gmx.at>
8378
8379 * window.el (window-height): Defalias to window-total-height.
8380 (window-width): Defalias to window-body-width.
8381
18af70d0
CY
83822011-06-07 Chong Yidong <cyd@stupidchicken.com>
8383
8384 * image-mode.el (image-toggle-animation): New command.
8385 (image-mode-map): Bind it to RET.
8386 (image-mode): Update message.
8387 (image-toggle-display-image): Avoid a spurious cache flush.
8388 (image-transform-rotation): Doc fix.
8389 (image-transform-properties): Return quickly in the normal case.
8390 (image-animate-loop): Rename from image-animate-max-time.
8391
2b75be67 8392 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8393 (create-animated-image): Remove unnecessary function.
8394 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8395 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8396 (image-animate-timer): Use car-safe.
8397 (image-animate-timeout): Rename argument.
8398
190b47e6
MR
83992011-06-07 Martin Rudalics <rudalics@gmx.at>
8400
8401 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8402 window.c. Rename first argument to ALL-FRAMES.
8403 Rephrase doc-strings.
8404 (get-buffer-window-list): Rewrite using window-list-1.
8405 Rephrase doc-string.
a1511caf
MR
8406 (window-safe-min-height, window-safe-min-width): New constants.
8407 (window-size-ignore, window-min-size, window-min-size-1)
8408 (window-sizable, window-sizable-p, window-size-fixed-1)
8409 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8410 (window-max-delta-1, window-max-delta, window-resizable)
8411 (window-resizable-p, window-total-height, window-total-width)
8412 (window-body-width): New functions.
8413 (window-full-height-p, window-full-width-p): Rewrite using
8414 window-total-size.
8415 (window-body-height): Rewrite using window-body-size.
190b47e6 8416
85cc1f11
MR
84172011-06-06 Martin Rudalics <rudalics@gmx.at>
8418
8419 * window.el (window-right, window-left, window-child)
8420 (window-child-count, window-last-child, window-any-p)
8421 (normalize-live-buffer, normalize-live-frame)
8422 (normalize-any-window, normalize-live-window)
8423 (window-iso-combination-p, window-iso-combined-p)
8424 (window-iso-combinations)
8425 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8426 (windows-with-parameter, window-with-parameter)
8427 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8428 (window-atom-check, window-side-check, window-check):
8429 New functions.
85cc1f11
MR
8430 (ignore-window-parameters, window-sides, window-sides-vertical)
8431 (window-sides-slots): New variables.
8432 (window-size-fixed): Move down in code. Minor doc-string fix.
8433
e7156492
AS
84342011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8435
8436 * comint.el (comint-dynamic-complete-as-filename)
8437 (comint-dynamic-complete-filename): Correctly call
8438 completion-in-region.
8439
7e821d0d
DD
84402011-06-05 Deniz Dogan <deniz@dogan.se>
8441
8442 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8443 in last change.
8444
ac09b8a1
DD
84452011-06-05 Deniz Dogan <deniz@dogan.se>
8446
8447 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8448 (rcirc): Use it to prompt for encryption.
8449
34699b85
RW
84502011-06-05 Roland Winkler <winkler@gnu.org>
8451
8452 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8453 (bibtex-search-entries): New command bound to C-c C-a.
8454 (bibtex-display-entries): New function.
8455
004dedd3
RW
84562011-06-05 Roland Winkler <winkler@gnu.org>
8457
8458 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8459 (bibtex-insert-kill): After yanking insert newline if necessary.
8460 (bibtex-initialize): Call bibtex-string-files-init only once.
8461 (bibtex-mode): Do not call easy-menu-add.
8462 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8463 (bibtex-yank): Set arg properly if nil.
8464
022fe7ce
RW
84652011-06-05 Roland Winkler <winkler@gnu.org>
8466
2b75be67
SM
8467 * textmodes/bibtex.el (bibtex-search-entry-globally):
8468 New variable.
022fe7ce
RW
8469 (bibtex-search-entry): Use it.
8470
b7c3692a
RW
84712011-06-05 Roland Winkler <winkler@gnu.org>
8472
8473 * textmodes/bibtex.el (bibtex-entry-format): New option
8474 sort-fields.
8475 (bibtex-format-entry, bibtex-reformat): Honor this option.
8476 (bibtex-parse-entry): Return fields in proper order.
8477
8eda563d
JB
84782011-06-05 Juanma Barranquero <lekktu@gmail.com>
8479
8480 * doc-view.el (doc-view-remove-if): Move computation of result out
8481 of `dolist' to silence misleading lexical-binding warning.
8482
7dbe3dbc
CY
84832011-06-04 Chong Yidong <cyd@stupidchicken.com>
8484
8485 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8486 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8487
0c33dd17
MA
84882011-06-04 Michael Albinus <michael.albinus@gmx.de>
8489
8490 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8491 "SunOS 5.10".
8492
f8f91c2b
MA
84932011-06-04 Michael Albinus <michael.albinus@gmx.de>
8494
8495 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8496 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8497 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8498 (tramp-parse-putty):
8499 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8500 (tramp-completion-function-alist-ssh)
8501 (tramp-completion-function-alist-telnet)
8502 (tramp-completion-function-alist-su)
8503 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8504 cookie.
8505
8506 * net/tramp-ftp.el:
8507 * net/tramp-sh.el:
8508 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8509 load "tramp.el" `tramp-set-completion-function'.
8510
e17d9003
SM
85112011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * shell.el: Require and use pcomplete.
8514 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8515 (shell-completion-vars): Set pcomplete-default-completion-function.
8516
6c4cab03
DD
85172011-06-04 Deniz Dogan <deniz@dogan.se>
8518
8519 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8520 `memq' (Bug#8799).
8521
ea9fafe0
SM
85222011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8525
b3e945d3
JB
85262011-06-02 Juanma Barranquero <lekktu@gmail.com>
8527
8528 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8529 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8530 * vc/log-view.el (log-view-beginning-of-defun):
8531 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8532 (smerge-refine-forward, smerge-refine-chopup-region):
8533 Silence warning for unused `dotimes' counter variables.
8534
7d520089
SM
85352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8536
8537 * net/tramp.el (tramp-with-progress-reporter): Rename from
8538 with-progress-reporter. Use `declare'.
8539 * net/tramp-smb.el:
8540 * net/tramp-sh.el:
8541 * net/tramp-gvfs.el: Update all uses.
8542
a1c2400f
JB
85432011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8544
8545 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8546 buffer isn't killed before making it current.
8547
2403c841
SM
85482011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 Silence various byte-compiler warnings.
8551 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8552 `access-type' and new obsolescence format.
8553 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8554 new format.
8555 (byte-compile-check-variable): New `access-type' argument.
8556 Only warn if the access-type is obsolete.
8557 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8558 (byte-compile-variable-set): Adjust callers.
8559 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8560 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8561 setting it as obsolete.
8562 * simple.el (minibuffer-completing-symbol):
8563 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8564 access as obsolete.
8565 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8566 obsolete yet.
8567 * international/quail.el (quail-mouse-choose-completion): Remove unused
8568 code referring to obsolete var.
8569 (quail-choose-completion-string): Remove.
8570 * server.el (server-clients-with, server-kill-buffer-query-function)
8571 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8572 * proced.el (proced-send-signal):
8573 * emacs-lisp/lisp.el (lisp-complete-symbol):
8574 Replace completion-annotate-function with completion-extra-properties.
8575
2462470b
SM
85762011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8577
fb5b2591
SM
8578 * simple.el (goto-line): Use read-number.
8579 (overriding-map-is-bound): Remove.
8580 (saved-overriding-map): Change default.
8581 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8582 Take the map as argument.
8583 (universal-argument, negative-argument, digit-argument): Use it.
8584 (restore-overriding-map): Adjust.
8585 (do-auto-fill): Use fill-forward-paragraph.
8586 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8587
fd6fa53f
SM
8588 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8589 (minibuffer-inactive-mode): New major mode.
8590 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8591 the *Messages* buffer" hack.
8592 (mouse-popup-menubar): Don't burp if the event is a normal key.
8593
2462470b
SM
8594 Miscellaneous tweaks.
8595 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8596 lexical scoping as in subr.el's dolist and dotimes.
8597 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8598 Silence compiler warning.
8599 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8600 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8601 * international/ccl.el (ccl-compile): Trivial simplification.
8602 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8603 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8604 `printflag' argument.
8605 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8606 Purecopy the whole obsolescence data.
8607
108bf785
LL
86082011-06-01 Leo Liu <sdl.web@gmail.com>
8609
8610 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8611 improve doc-string as suggested by Marco Pessotto
8612 <melmothx@gmail.com>.
8613 (rcirc-print): Fix last change.
8614
30a23501
SM
86152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * minibuffer.el (complete-with-action): Return nil for the metadata and
8618 boundaries of non-functional tables.
8619 (completion-table-dynamic): Return nil for the metadata.
8620 (completion-table-with-terminator): Add default case, using
8621 complete-with-action.
8622 (completion--metadata): New function.
8623 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8624 to try and avoid pathological performance problems.
8625 (completion--embedded-envvar-table): Return `category' metadata.
8626
bcd54f83
LMI
86272011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8628
8629 * subr.el (process-alive-p): New tiny convenience function.
8630
e227544d
SM
86312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8634 content but also its previous major mode.
8635
e8296fdc
HE
86362011-05-31 Helmut Eller <eller.helmut@gmail.com>
8637
4d61f28d 8638 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8639 *Backtrace* buffer when we exit with C-M-c.
8640
620c53a6
SM
86412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * minibuffer.el: Add metadata method to completion tables.
8644 (completion-category-overrides): New defcustom.
8645 (completion-metadata, completion--field-metadata)
8646 (completion-metadata-get, completion--styles)
8647 (completion--cycle-threshold): New functions.
8648 (completion-try-completion, completion-all-completions):
8649 Add `metadata' argument to choose completion-styles.
8650 (completion--do-completion): Use metadata to choose cycling.
8651 (completion-all-sorted-completions): Use metadata for sorting.
8652 Remove :completion-cycle-penalty which is not needed any more.
8653 (completion--try-word-completion): Add `metadata' argument.
8654 (minibuffer-completion-help): Check metadata for annotation function
8655 and sorting.
8656 (completion-file-name-table): Return `category' metadata.
8657 (minibuffer-completing-file-name): Make obsolete.
8658 * simple.el (minibuffer-completing-symbol): Make obsolete.
8659 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8660 completion-try-completion.
8661
1257e755
SM
86622011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8663
8664 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8665
3767e706
LL
86662011-05-30 Leo Liu <sdl.web@gmail.com>
8667
8668 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8669 (rcirc-print): Decode all incoming messages (bug#8744).
8670 (rcirc-decode-coding-system): Allow value nil for automatic coding
8671 system detection.
3767e706 8672
d1a5d56a
GM
86732011-06-01 Glenn Morris <rgm@gnu.org>
8674
8675 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8676
e8cbec34
CY
86772011-05-29 Chong Yidong <cyd@stupidchicken.com>
8678
8679 * image.el (image-animate-max-time): Allow nil and t values.
8680 Default to nil.
8681 (create-animated-image): Doc fix.
8682 (image-animate-start): Remove second arg; just use
8683 image-animate-max-time.
8684 (image-animate-timeout): Doc fix. Args changed.
8685
8686 * image-mode.el (image-toggle-display-image): Ensure that the
8687 image spec passed to the animate timer is the same object as in
58179cce 8688 the buffer's display property (Bug#6981).
e8cbec34
CY
8689 (image-transform-properties): Doc fix.
8690
8691 * image.el (image-animate-max-time): Default to nil.
8692
159daf87
MR
86932011-05-29 Martin Rudalics <rudalics@gmx.at>
8694
8695 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8696 entire buffer list (Bug#8184).
8697
d66c4c7c
CY
86982011-05-29 Chong Yidong <cyd@stupidchicken.com>
8699
8700 * image.el (imagemagick-types-inhibit)
8701 (imagemagick-register-types): Doc fix.
8702
80aec780
DD
87032011-05-29 Deniz Dogan <deniz@dogan.se>
8704
8705 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8706 default.
8707
1dd3c2d9
CY
87082011-05-29 Chong Yidong <cyd@stupidchicken.com>
8709
8710 * select.el: Don't perform clipboard-manager saving in hooks;
8711 leave the hooks empty.
8712
60e56523
LL
87132011-05-28 Leo Liu <sdl.web@gmail.com>
8714
8715 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8716 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8717 (occur-edit-mode): New major mode (Bug#8463).
8718 (occur-after-change-function): New function.
8719 (occur-engine): Give Occur tags a read-only property.
8720
2b1e1a22
KR
87212011-05-28 Kevin Ryde <user42@zip.com.au>
8722
8723 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8724
5d344e88
CY
87252011-05-28 Chong Yidong <cyd@stupidchicken.com>
8726
8e6ca83d
CY
8727 * bindings.el (help-echo): Make the initial non-indicator dash
8728 empty on graphical terminals (Bug#7295).
8729
5d344e88
CY
8730 * files.el (auto-mode-alist): Move config rule after the
8731 in-stripping one (Bug#8547).
8732
bfbbace7
CY
8733 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8734
fbeba6e2
CY
8735 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8736 setting (Bug#8740).
8737
60ed8c72
AA
87382011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8739
4ac619f0
AA
8740 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8741 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8742 (Bug#8539).
60ed8c72 8743
23db196e
CY
87442011-05-28 Chong Yidong <cyd@stupidchicken.com>
8745
8746 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8747
5012f24c
DK
87482011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8749
8750 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8751 (hs-hide-block-at-point, hs-find-block-beginning)
8752 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8753 (Bug#8279).
8754
6a639b16
GM
87552011-05-28 Glenn Morris <rgm@gnu.org>
8756
8757 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8758
d43eaf2c
CY
87592011-05-28 Chong Yidong <cyd@stupidchicken.com>
8760
5199bde1
CY
8761 * help-fns.el (describe-function-1): If the function is a derived
8762 major mode, print the parent mode.
8763
d43eaf2c
CY
8764 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8765 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8766
423428a8
SM
87672011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8768
0ff8e1ba 8769 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8770 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8771 * progmodes/etags.el (tags-completion-at-point-function):
8772 * info-look.el (info-lookup-completions-at-point): Mark as
8773 non-exclusive.
8774 (info-complete): Adjust accordingly.
8775
423428a8
SM
8776 * info-look.el: Convert to lexical-binding and completion-at-point.
8777 (info-lookup-completions-at-point): New function.
8778 (info-complete): Use it and completion-in-region.
8779
b74aa22b
DA
87802011-05-28 Drew Adams <drew.adams@oracle.com>
8781
8782 * isearch.el: Let M-e start with point at the first mismatched char.
8783 (isearch-fail-pos): New function.
8784 (isearch-edit-string): Use it.
8785
66e2e71d
DK
87862011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8787
8788 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8789
b1890b0f 87902011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8791
8792 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8793 traversal functions for avl-trees.
8794 (avl-tree--stack): New struct.
8795 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8796 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8797 (avl-tree--do-enter): Add optional `updatefun' arg.
8798 Change return value.
eb95d01d 8799 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8800 (avl-tree--do-delete): Add `test' and `nilflag' args.
8801 Change return value.
eb95d01d
TC
8802 (avl-tree-member): Add optional `nilflag'
8803 (avl-tree-member-p): New function.
8804 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8805 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8806 (avl-tree-stack-empty-p): New functions.
8807
3769ddcf
TC
8808 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8809 avl-tree--del-balance1 and make it work both ways.
8810 (avl-tree--del-balance2): Remove.
8811 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8812 make it work both ways.
8813 (avl-tree--enter-balance2): Remove.
8814 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8815 New macros.
8816 (avl-tree--mapc, avl-tree-map): Add direction argument.
8817
eb95d01d 88182011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8819
8820 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8821
a9f737ee
CY
88222011-05-27 Chong Yidong <cyd@stupidchicken.com>
8823
8824 * select.el: Support clipboard managers with built-in function
8825 x-clipboard-manager-save, via delete-frame-functions and
8826 kill-emacs-hook.
8827 (xselect-convert-to-targets): Add MULTIPLE target to list.
8828 (xselect-convert-to-save-targets): New function.
8829
c92a1e54
KH
88302011-05-27 Kenichi Handa <handa@m17n.org>
8831
8832 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8833 let-binding rfc2047-encode-encoded-words to nil.
8834
e145f188
GM
88352011-05-27 Glenn Morris <rgm@gnu.org>
8836
5ec8a862
GM
8837 * mail/emacsbug.el: Don't require url-util.
8838
4b29d9fb
GM
8839 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8840
e145f188
GM
8841 * files.el (set-auto-mode):
8842 Also respect mode: entries at the end of the file. (Bug#8586)
8843
7d15102b
GM
88442011-05-26 Glenn Morris <rgm@gnu.org>
8845
98f593b8
GM
8846 * files.el (hack-local-variables-prop-line, hack-local-variables):
8847 Downcase mode names, as seems to be traditional.
27b48e63 8848 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8849
7d15102b
GM
8850 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8851 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8852
51d5b4ec
JD
88532011-05-25 Julien Danjou <julien@danjou.info>
8854
8855 * textmodes/rst.el (rst-define-level-faces): Do not define face
8856 symbol if it is already defined.
8857
91513f63
VB
88582011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8859
8860 * play/5x5.el (5x5-new-game, 5x5-randomize):
8861 Reset 5x5-solver-output to nil when a new grid is cast.
8862 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8863 these debugging traces, as defmacro breaks the compiled code.
8864
4d90d6d0
DK
88652011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8866
8867 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8868
e1b90ef6
LL
88692011-05-24 Leo Liu <sdl.web@gmail.com>
8870
8871 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8872 (vc-bzr-sha1): Adapt.
8873
d8e4b68b 8874 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8875
8876 * bindings.el: Provide sha1 feature.
8877
db0406bb 88782011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8879
8880 * mail/sendmail.el: Require `rfc2047'.
8881 (mail-insert-from-field): Do not perform RFC2047 encoding.
8882 (mail-encode-header): New function.
8883 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8884 buffer to the return value of select-message-coding-system.
8885 Call mail-encode-header.
b8d747b9
KH
8886
8887 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8888
db0406bb 88892011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8890
4d90d6d0
DK
8891 * mail/supercite.el (sc-default-cite-frame):
8892 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8893
eb8a5e9b
GM
88942011-05-24 Glenn Morris <rgm@gnu.org>
8895
f8630703
GM
8896 * progmodes/python.el (brm-menu): Declare.
8897
8831bbed
GM
8898 * emulation/viper.el (viper-set-hooks): Declare.
8899
eb8a5e9b
GM
8900 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8901 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8902 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8903 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8904 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8905 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8906
a2a25d24
SM
89072011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 Add an :exit-function for completion-at-point.
8910
8911 * minibuffer.el (completion--done): New fun.
8912 (completion--do-completion): Use it. New arg `expect-exact'.
8913 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8914 since completion--do-completion does it for us now.
8915 (minibuffer-force-complete): Use completion--done and
8916 completion--replace. Handle sole-completion case with more care.
8917 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8918 (completion-extra-properties): New var.
8919 (completion-annotate-function): Make obsolete.
8920 (minibuffer-completion-help): Adjust accordingly.
8921 Use completion-list-insert-choice-function.
8922 (completion-at-point, completion-help-at-point):
8923 Bind completion-extra-properties.
8924 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8925 * simple.el (completion-list-insert-choice-function): New var.
8926 (completion-setup-function): Preserve it.
8927 (choose-completion): Pay attention to it, shuffle the code a bit.
8928 (choose-completion-string): New arg `insert-function'.
8929
8930 * textmodes/bibtex.el: Convert to lexical binding.
8931 (bibtex-mode-map): Use completion-at-point.
8932 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8933 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8934 (bibtex-complete): Define as obsolete alias.
8935 (bibtex-complete-internal): Remove.
8936 (bibtex-format-entry): Remove unused sub-group in regexp.
8937 * shell.el (shell--command-completion-data)
8938 (shell-environment-variable-completion):
8939 * pcomplete.el (pcomplete-completions-at-point):
8940 * comint.el (comint--complete-file-name-data): Use :exit-function
8941 instead of completion-table-with-terminator so it also works for
8942 choose-completion.
8943
e44e373d
SM
89442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8945
4f91a816
SM
8946 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8947
782fc819
SM
8948 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8949 (bug#8710).
8950
e44e373d
SM
8951 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8952
381987c3
KM
89532011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8954
8955 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8956 customization variable and implement: If non-nil, auto-fill will
8957 be inhibited while on topic's header line.
8958
b776bc70
VB
89592011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8960
8961 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8962 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8963 always have a solution in grid size = 5 cases.
8964 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8965 (5x5-solver-output, 5x5-log-buffer): New vars.
8966 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8967 Make these variables buffer local to achieve 5x5 multi-session-ness.
8968 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8969 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8970 (5x5-solve-suggest): New funs.
8971 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8972 randomize a grid so that we ensure that there is always a solution.
8973 (5x5-make-random-grid): Allow other movement than flipping.
8974
7de88b6e
KR
89752011-05-23 Kevin Ryde <user42@zip.com.au>
8976
8977 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8978 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8979 advice and passes PREDICATE.
8980
b1ef1257
SM
89812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8982
bbca48fe
SM
8983 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8984 byte-compile-lambda if it's actually a lambda.
8985
b1ef1257
SM
8986 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8987 Fix function quoting. Use backquote better.
8988
92a9cc65
YS
89892011-05-22 Yuanle Song <sylecn@gmail.com>
8990
8991 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8992 matching (Bug#8516).
8993
f0fb8059
JA
89942011-01-22 Jari Aalto <jari.aalto@cante.net>
8995
8996 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8997 different face (Bug#8178).
8998
d5b44c93
CY
89992011-05-22 Chong Yidong <cyd@stupidchicken.com>
9000
9001 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9002 defface (Bug#8144).
9003
79106a44
SM
90042011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9c848d8a
SM
9006 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9007 funcall as well (bug#8712). Warn when performing those conversions.
9008 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9009
79106a44
SM
9010 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9011
88dfa756
GM
90122011-05-22 Glenn Morris <rgm@gnu.org>
9013
9014 * files.el (hack-local-variables-prop-line): Small simplifications.
9015 (hack-local-variables, hack-local-variables-prop-line):
9016 If MODE-ONLY, return the mode, rather than just `t'.
9017
b7cf2c79
SM
90182011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9021
3f1a8558
GM
90222011-05-21 Glenn Morris <rgm@gnu.org>
9023
7e4ccca3
GM
9024 * files.el (hack-local-variables-prop-line, hack-local-variables):
9025 If only interested in the mode, don't bother doing the other stuff.
9026
637d46ca
GM
9027 * image-mode.el (image-after-revert-hook):
9028 Redraw all frames on which the image is visible. (Bug#8567)
9029
973d955b
GM
9030 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9031
3f1a8558
GM
9032 * wid-edit.el (widget-checklist-match-inline):
9033 Fix 2011-04-19 change. (Bug#8649)
9034
96479927
SM
90352011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9036
1dcf791f
SM
9037 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9038 Also allow singlespace after single-letter capitals followed by a dot.
9039
96479927
SM
9040 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9041 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9042
35fd0881
N
90432011-05-20 Nix <nix@esperi.org.uk>
9044
9045 * files.el (basic-save-buffer-2):
9046 Fix handling of break-hardlink-on-save with non-existent files.
9047
82745640
DD
90482011-05-19 Deniz Dogan <deniz@dogan.se>
9049
9050 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9051 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9052
4a720484
GM
90532011-05-19 Glenn Morris <rgm@gnu.org>
9054
d1f21341
GM
9055 * progmodes/f90.el (f90-type-def-re):
9056 Handle "type, bind(c)". (Bug#8691)
9057
4a720484
GM
9058 * emacs-lisp/autoload.el (batch-update-autoloads):
9059 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9060
2fb0a219
MA
90612011-05-18 Michael Albinus <michael.albinus@gmx.de>
9062
9063 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9064 property for the correct connection in case of multihops.
9065
e565dd37
GM
90662011-05-18 Glenn Morris <rgm@gnu.org>
9067
c2571358 9068 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9069 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9070
e565dd37
GM
9071 Rationalize calendar handling of day and month abbrev-arrays.
9072 * calendar/calendar.el (calendar-customized-p): New function.
9073 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9074 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9075 Add :set function.
9076 (calendar-abbrev-length, calendar-day-abbrev-array)
9077 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9078 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9079 Elements may no longer be nil.
9080 (calendar-day-name, calendar-month-name):
9081 Update for changed nature of abbrev arrays.
9082 * calendar/diary-lib.el (diary-name-pattern):
9083 Update for changed nature of abbrev arrays.
9084 (diary-mark-entries-1): Update calendar-make-alist calls.
9085 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9086 * calendar/cal-html.el (cal-html-day-abbrev-array):
9087 Simply inherit from calendar-day-abbrev-array.
9088
1d99a745
SM
90892011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * progmodes/grep.el (grep-mode): Disable default
9092 compilation-directory-matcher setting (bug#8684).
9093
7c1d9aa0
MA
90942011-05-17 Michael Albinus <michael.albinus@gmx.de>
9095
9096 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9097 instead of "head" and "tail". There were problems with SunOS 5.9,
9098 and it performs better.
9099
3952e9d8
GM
91002011-05-17 Glenn Morris <rgm@gnu.org>
9101
2dd12e7f
GM
9102 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9103
e4157b9c
GM
9104 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9105 Replace obsolete function.
9106
8e249bbd
GM
9107 * shell.el (pcomplete-parse-arguments-function): Declare.
9108
3952e9d8
GM
9109 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9110 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9111 (appt-check): Doc fixes.
9112 (appt-disp-window-function, appt-delete-window-function):
9113 Remove needless special case in custom :type.
9114 (appt-display-count): Default to 0, not nil.
9115 (appt-check): Reset appt-display-count to 0, not nil.
9116
c71a0d48 91172011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9118
c71a0d48
GM
9119 * progmodes/python.el (python-font-lock-keywords):
9120 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9121
31d55be9
SM
91222011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9125
3bfacb2f
KR
91262011-05-16 Kevin Ryde <user42@zip.com.au>
9127
9128 * info-look.el (makefile-automake-mode): New setups, looking in
9129 automake manual, then makefile-mode.
9130 (makefile-mode): Remove automake manual, have it just in
9131 makefile-automake-mode since there's various things different or
9132 not relevant to plain make.
9133 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9134 believe a hypothetical automake-mode would go to makefile-mode,
9135 not the other way around.
9136
c8e83751
CY
91372011-05-15 Chong Yidong <cyd@stupidchicken.com>
9138
5e9e35cd
CY
9139 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9140 hunk-end tags (Bug#8672).
9141
c8e83751
CY
9142 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9143 vc-annotate-show-diff-revision-at-line (Bug#8671).
9144
50b23e5a
GM
91452011-05-14 Glenn Morris <rgm@gnu.org>
9146
7210a739
GM
9147 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9148 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9149 (change-log-font-lock-keywords): Also handle multiple author lines
9150 with leading tabs. (Bug#8644)
7210a739 9151
4691905a
GM
9152 * calendar/appt.el (appt-check): Rename some local variables.
9153 Some simplification/reordering.
9154
50b23e5a
GM
9155 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9156 (feedmail-sendmail-f-doesnt-sell-me-out)
9157 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9158 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9159 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9160 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9161 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9162 (feedmail-binmail-gnulinuxish-template):
9163 Rename from feedmail-binmail-linuxish-template.
9164 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9165 Use insert-buffer-substring.
9166
215cda7c
BC
91672011-05-14 Bill Carpenter <bill@carpenter.org>
9168
9169 * mail/feedmail.el (feedmail-patch-level): Increase.
9170 (feedmail-debug): New custom group.
9171 (feedmail-confirm-outgoing-timeout)
9172 (feedmail-sendmail-f-doesnt-sell-me-out)
9173 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9174 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9175 (feedmail-sender-line, feedmail-from-line)
9176 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9177 (feedmail-spray-this-address)
215cda7c
BC
9178 (feedmail-spray-address-fiddle-plex-list)
9179 (feedmail-queue-use-send-time-for-date)
9180 (feedmail-queue-use-send-time-for-message-id)
9181 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9182 (feedmail-buffer-eating-function):
9183 Doc fixes.
9184 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9185 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9186 (feedmail-message-action-scroll-down): New functions.
9187 (feedmail-queue-directory, feedmail-queue-draft-directory):
9188 Use expand-file-name.
9189 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9190 Remove C-v help entry.
9191 (feedmail-queue-buffer-file-name): New variable.
9192 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9193 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9194 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9195 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9196 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9197 (feedmail-message-action-toggle-spray)
9198 (feedmail-run-the-queue-no-prompts)
9199 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9200 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9201 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9202 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9203 (feedmail-envelope-deducer, feedmail-fiddle-from)
9204 (feedmail-fiddle-sender, feedmail-default-date-generator)
9205 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9206 (feedmail-fiddle-spray-address)
9207 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9208 (feedmail-fiddle-list-of-fiddle-plexes)
9209 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9210 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9211 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9212 Change default. Doc fix.
9213 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9214 (feedmail-binmail-linuxish-template): New constant.
9215 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9216 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9217 (feedmail-send-it): Add debug call.
9218 Use feedmail-queue-buffer-file-name, and
9219 feedmail-send-it-immediately-wrapper.
9220 (feedmail-message-action-send): Add debug call.
9221 Use feedmail-send-it-immediately-wrapper.
9222 (feedmail-queue-express-to-queue): Add debug call.
9223 Run feedmail-queue-express-hook.
9224 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9225 (feedmail-message-action-help-blat):
9226 Rename from feedmail-queue-send-edit-prompt-help-first.
9227 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9228 Check line-endings. Handle errors better.
9229 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9230 Doc fix. Add debug call.
9231 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9232 Use feedmail-queue-send-edit-prompt-inner.
9233 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9234 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9235 from feedmail-queue-send-edit-prompt.
9236 (feedmail-queue-send-edit-prompt-help)
9237 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9238 (feedmail-tidy-up-slug): Add debug call.
9239 Respect feedmail-queue-slug-suspect-regexp.
9240 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9241 (feedmail-dump-message-to-queue): Add debug call.
9242 Expand queue-directory.
9243 (feedmail-dump-message-to-queue): Change message slightly.
9244 Use feedmail-say-chatter.
9245 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9246 (feedmail-send-it-immediately-wrapper): New function.
9247 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9248 Insert empty string rather than newline. Handle full-frame case.
9249 Use catch/throw. Use feedmail-say-chatter.
9250 (feedmail-fiddle-from): Try mail-host-address.
9251 (feedmail-default-message-id-generator): Doc fix.
9252 Bind system-time-locale. Handle missing end.
9253 (feedmail-fiddle-x-mailer): Add debug call.
9254 Handle feedmail-x-mailer-line being nil.
9255 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9256 Add debug call. Use buffer-substring-no-properties.
9257 (feedmail-say-debug, feedmail-say-chatter): New functions.
9258 (feedmail-find-eoh): Give an explicit error.
9259
42c7e61e
UJ
92602011-05-13 Ulf Jasper <ulf.jasper@web.de>
9261
c2571358 9262 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9263 family from helvetica to sans.
c2571358 9264 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9265 etc/images/newsticker.
9266
c2571358 9267 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9268 family from helvetica to sans.
9269
9270 * net/newst-plainview.el (newsticker-new-item-face)
9271 (newsticker-old-item-face, newsticker-immortal-item-face)
9272 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9273 (newsticker-statistics-face): Change default family from
42c7e61e 9274 helvetica to sans.
c2571358 9275 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9276 etc/images/newsticker.
9277
9278 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9279 (newsticker--process-auto-mark-filter-match): : Tell user about
9280 auto-marking.
9281
8497a297
DV
92822011-05-13 Didier Verna <didier@xemacs.org>
9283
9284 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9285 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9286 TODO entries.
8497a297
DV
9287 (lisp-lambda-list-keyword-parameter-indentation)
9288 (lisp-lambda-list-keyword-parameter-alignment)
9289 (lisp-lambda-list-keyword-alignment): New customizable user options.
9290 (lisp-indent-defun-method): Improve docstring.
9291 (extended-loop-p): Fix comment.
9292 (lisp-indent-lambda-list-keywords-regexp): New variable.
9293 (lisp-indent-lambda-list): New function.
9294 (lisp-indent-259): Use it.
9295 (lisp-indent-defmethod): Support for more than one
9296 method qualifier and properly indent methods lambda-lists.
9297 (defgeneric): Provide a missing common-lisp-indent-function property.
9298
f278f87f
SM
92992011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9302 bounds for the empty string (bug#8667).
9303
5233edd7
GM
93042011-05-13 Glenn Morris <rgm@gnu.org>
9305
5237a44f
GM
9306 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9307
8340026c 9308 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9309 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9310
5233edd7 9311 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9312 (appt-time-msg-list): Doc fix.
a5464014 9313 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9314
92d10796
AS
93152011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9316
9317 * progmodes/ld-script.el (ld-script-keywords)
9318 (ld-script-builtins): Update keywords list.
9319
914a0ae1
SM
93202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9321
c89be45f
SM
9322 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9323
914a0ae1
SM
9324 * shell.el (shell-completion-vars): New function.
9325 (shell-mode):
9326 * simple.el (read-shell-command): Use it.
9327 (blink-matching-open): No need for " [...]" in minibuffer-message.
9328
98dc3df3
GM
93292011-05-12 Glenn Morris <rgm@gnu.org>
9330
9331 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9332 (appt-check): Simplify.
9333
d2fc7e3d 93342011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9335
4d61f28d 9336 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9337 literal "/dev/null".
9338
d2fc7e3d 93392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9340
9341 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9342 Fix typo.
9343
d2fc7e3d 93442011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9345
3f254caa
SM
9346 * progmodes/which-func.el (which-function):
9347 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9348 which might not be defined (Bug#8260).
9349
d45885f7
GM
93502011-05-12 Glenn Morris <rgm@gnu.org>
9351
9352 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9353 Let byte-compile-initial-macro-environment always take precedence.
9354
488086f4
SM
93552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * net/rcirc.el: Add support for SSL/TLS connections.
9358 (rcirc-server-alist): New field `encryption'.
9359 (rcirc): Check `encryption' settings.
9360 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9361 Merge make-local-variable into `set'.
9362 (rcirc--connection-open-p): New function.
9363 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9364 the process is not a network process (e.g. running gnutls-cli).
9365 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9366 Make rcirc-(en|de)code-coding-system local here.
9367 (rcirc-mode): Merge make-local-variable into `set'.
9368 (rcirc-parent-buffer): Make permanent buffer-local.
9369 (rcirc-multiline-minor-mode): Don't do it here.
9370 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9371 there's no server buffer.
9372
7d3b9d44
GM
93732011-05-11 Glenn Morris <rgm@gnu.org>
9374
f64049c6
GM
9375 * newcomment.el (comment-kill): Prefix "unused" local.
9376
93c9df73
GM
9377 * term/w32console.el (get-screen-color): Declare.
9378
7d3b9d44
GM
9379 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9380 Handle symbol elements of byte-compile-initial-macro-environment.
9381
9e2dd53f
LL
93822011-05-10 Leo Liu <sdl.web@gmail.com>
9383
488086f4
SM
9384 * bookmark.el (bookmark-bmenu-mode-map):
9385 Bind bookmark-bmenu-search to `/'.
8b340240 9386
9e2dd53f 9387 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9388 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9389 (Footnote-unicode): New function.
9390 (footnote-style-alist): Add unicode style to the list.
9391 (footnote-style): Doc fix.
9e2dd53f 9392
79b70037
GM
93932011-05-10 Jim Meyering <meyering@redhat.com>
9394
9395 Fix doubled-word typos.
9396 * international/quail.el (quail-insert-kbd-layout): and and -> and
9397 * kermit.el: and and -> and
9398 * net/ldap.el (ldap-search-internal): to to -> to
9399 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9400 * progmodes/js.el (js-mode): and and -> and
9401 * textmodes/artist.el (artist-move-to-xy): at at -> at
9402 (artist-draw-region-trim-line-endings): if if -> if
9403 And Safetyc -> Safety.
9404 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9405
b8f82dc1 94062011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9407 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9408
9409 * files.el (hack-one-local-variable-eval-safep):
9410 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9411
4f99f44b
GM
94122011-05-10 Glenn Morris <rgm@gnu.org>
9413
9414 * calendar/diary-lib.el (diary-list-entries-hook)
9415 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9416 (diary-nongregorian-marking-hook, diary-list-entries)
9417 (diary-include-other-diary-files, diary-mark-entries)
9418 (diary-mark-included-diary-files): Doc fixes.
9419
84f29e6b
JB
94202011-05-09 Juanma Barranquero <lekktu@gmail.com>
9421
9422 * misc.el: Require tabulated-list.el during compilation.
9423
9bedd73a
CY
94242011-05-09 Chong Yidong <cyd@stupidchicken.com>
9425
488086f4
SM
9426 * progmodes/compile.el (compilation-start):
9427 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9428 (compilation-filter-hook): Doc fix.
9429
797c735c
DD
94302011-05-09 Deniz Dogan <deniz@dogan.se>
9431
9432 * wdired.el: Remove outdated installation comment. Fix usage
9433 comment.
9434
5f4b1dfe
JB
94352011-05-09 Juanma Barranquero <lekktu@gmail.com>
9436
9437 * misc.el: Implement new command `list-dynamic-libraries'.
9438 (list-dynamic-libraries--loaded-only-p): New variable.
9439 (list-dynamic-libraries--refresh): New function.
9440 (list-dynamic-libraries): New command.
9441
4c44026c
CY
94422011-05-09 Chong Yidong <cyd@stupidchicken.com>
9443
488086f4
SM
9444 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9445 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9446 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9447 higher priority to avoid clobbering by gnu.
9448
027f966d
CY
94492011-05-08 Chong Yidong <cyd@stupidchicken.com>
9450
9451 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9452 if the face has existing theme settings (Bug#8454).
9453
085f5d7d
CY
94542011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9455
488086f4
SM
9456 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9457 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9458
2a86a00c
RS
9459 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9460 special file names `.' and `..' (Bug#8259).
9461
d9c54a06
CY
94622011-05-08 Chong Yidong <cyd@stupidchicken.com>
9463
488086f4
SM
9464 * progmodes/grep.el (grep-mode-font-lock-keywords):
9465 Remove buffer-changing entries.
d9c54a06
CY
9466 (grep-filter): New function.
9467 (grep-mode): Add it to compilation-filter-hook.
9468
9469 * progmodes/compile.el (compilation-filter-hook)
9470 (compilation-filter-start): New defvars.
9471 (compilation-filter): Call compilation-filter-hook prior to
9472 updating the process mark.
9473
c4662635
SM
94742011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9477
b0512a1d
EZ
94782011-05-07 Eli Zaretskii <eliz@gnu.org>
9479
605c9376
EZ
9480 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9481 mailclient-send-it even if window-system is nil. (Bug#8595)
9482
c4662635
SM
9483 * term/w32console.el (terminal-init-w32console):
9484 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9485 background-mode. (Bug#8597)
9486
d1dc2cc2
SM
94872011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9490 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9491 New functions.
9492 (defgeneric, eieio--defmethod): Use them.
9493 (eieio-defgeneric): Remove.
9494 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9495
915d1300
GM
94962011-05-07 Glenn Morris <rgm@gnu.org>
9497
a3961c3e
GM
9498 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9499 Use let rather than let*.
9500 (timeclock-find-discrep): Remove unused local.
9501
314347b9
GM
9502 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9503
915d1300
GM
9504 * calendar/appt.el (appt-time-msg-list): Doc fix.
9505
275b59b0
NF
95062011-05-06 Noah Friedman <friedman@splode.com>
9507
9508 * apropos.el (apropos-print-doc): Only use
9509 emacs-lisp-docstring-fill-column when it is bound to an integer,
9510 per that variable's documentation.
9511
6c19f744
SM
95122011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9515 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9516
60f884b2
GM
95172011-05-06 Glenn Morris <rgm@gnu.org>
9518
5006e634
GM
9519 * calendar/appt.el (appt-message-warning-time): Doc fix.
9520 (appt-warning-time-regexp): New option.
9521 (appt-make-list): Respect appt-message-warning-time.
9522
548d0a63
GM
9523 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9524 New options.
9525 (diary-add-to-list): Strip comments from the displayed string.
9526 (diary-mode): Set comment-start and comment-end.
9527
60f884b2
GM
9528 * vc/diff-mode.el (smerge-refine-subst): Declare.
9529 (diff-refine-hunk): Don't require smerge-mode when compiling.
9530
989681bb
JB
95312011-05-06 Juanma Barranquero <lekktu@gmail.com>
9532
9533 * simple.el (list-processes): Return nil as the docstring says.
9534
a6bc05e1
MA
95352011-05-05 Michael Albinus <michael.albinus@gmx.de>
9536
9537 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9538 to "".
9539 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9540 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9541 determining of binary transfer. (Bug#7383)
9542
23c22e9a
MA
95432011-05-05 Michael Albinus <michael.albinus@gmx.de>
9544
c4662635
SM
9545 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9546 Fix port computation bug. (Bug#8618)
23c22e9a 9547
0bff894f
GM
95482011-05-05 Glenn Morris <rgm@gnu.org>
9549
b8296902
GM
9550 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9551
1f522ce8
GM
9552 * simple.el (shell-dynamic-complete-functions)
9553 (comint-dynamic-complete-functions): Declare.
9554
cf5bee67
GM
9555 * net/network-stream.el (gnutls-negotiate):
9556 * simple.el (tabulated-list-print): Fix declarations.
9557
9558 * progmodes/gud.el (syntax-symbol, syntax-point):
9559 Remove unnecessary and incorrect declarations.
9560
0bff894f
GM
9561 * emacs-lisp/check-declare.el (check-declare-scan):
9562 Handle byte-compile-initial-macro-environment in bytecomp.el
9563
9869b3ae
SM
95642011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 Fix earlier half-done eieio-defmethod change (bug#8338).
9567 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9568 Streamline and change calling convention.
9569 (defmethod): Adjust accordingly and simplify.
9570 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9571 new eieio--defmethod.
9572 (slot-boundp): Minor CSE simplification.
9573
9c1d5ac5
MZ
95742011-05-05 Milan Zamazal <pdm@zamazal.org>
9575
9576 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9577 (glasses-make-readable): Use glasses-separate-capital-groups.
9578
455c834e
JB
95792011-05-05 Juanma Barranquero <lekktu@gmail.com>
9580
9581 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9582 (warning-series): Doc fix.
9583 (display-warning): Don't try to create the buffer if we just found it.
9584
9ed7c8cb
CY
95852011-05-04 Chong Yidong <cyd@stupidchicken.com>
9586
9587 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9588 (autoload-find-generated-file): New function.
9589 (generate-file-autoloads): Bind generated-autoload-file to
9590 buffer-file-name.
9869b3ae
SM
9591 (update-file-autoloads, update-directory-autoloads):
9592 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9593 output file (Bug#7989).
9594 (batch-update-autoloads): Doc fix.
9595
0898ca10
JB
95962011-05-04 Juanma Barranquero <lekktu@gmail.com>
9597
9598 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9599
31dfb76c
GM
96002011-05-04 Glenn Morris <rgm@gnu.org>
9601
f330b642
GM
9602 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9603 function, so it follows changes in calendar-date-style.
9604 (diary-fancy-date-matcher): New function.
9605 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9606 (diary-fancy-font-lock-fontify-region-function):
9607 Use diary-fancy-date-pattern as a function.
9608
31dfb76c
GM
9609 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9610 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9611
48e79d6a
TZ
96122011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9613
9614 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9615 instead of positional arguments. Allow :keylist and :crlfiles
9616 arguments.
9617 (open-gnutls-stream): Call it.
9618
9619 * net/network-stream.el (network-stream-open-starttls): Adjust to
9620 call `gnutls-negotiate' with :process and :hostname arguments.
9621
dd5a5ee0
SM
96222011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9623
ef80fc09
SM
9624 * minibuffer.el (completion--message): New function.
9625 (completion--do-completion, minibuffer-complete)
9626 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9627 (completion--do-completion): Don't ignore completion-auto-help when in
9628 icomplete-mode.
9629
dd5a5ee0
SM
9630 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9631 internal encoding (e.g. tibetan zero is not whitespace).
9632 (global-whitespace-mode): Prefer save-current-buffer.
9633 (whitespace-trailing-regexp): Remove useless save-match-data.
9634 (whitespace-empty-at-bob-regexp): Minor simplification.
9635
b7d22a83
CY
96362011-05-03 Chong Yidong <cyd@stupidchicken.com>
9637
9638 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9639
5192af46
AM
96402011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9641
9642 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9643 Use `concat' to create string for insertion.
5192af46 9644
5767d190
SM
96452011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9648 Avoid open-line which runs post-self-insert-hook.
9649 (bibtex-fill-entry): Remove unused `end' var.
9650
bf242939
AM
96512011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9652
5767d190
SM
9653 * textmodes/ispell.el (ispell-add-per-file-word-list):
9654 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9655
25666126
LL
96562011-05-03 Leo Liu <sdl.web@gmail.com>
9657
9658 * isearch.el (isearch-yank-pop): New command.
5767d190 9659 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9660 (isearch-forward): Mention it.
9661
52d3c2d0
SM
96622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9663
1bcace58
SM
9664 * simple.el (minibuffer-complete-shell-command): Remove.
9665 (minibuffer-local-shell-command-map): Use completion-at-point.
9666 (read-shell-command): Setup completion vars here instead.
9667 (read-expression-map): Bind TAB to symbol completion.
9668
52d3c2d0
SM
9669 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9670 error directly rather via storing it into `results'.
9671
35813471
LL
96722011-05-02 Leo Liu <sdl.web@gmail.com>
9673
9674 * vc/diff.el: Fix description.
9675
e793a940
LMI
96762011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9677
9678 * server.el (server-eval-at): New function.
9679
8de66e05
LMI
96802011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9681
9682 * net/network-stream.el (open-network-stream): Take a :nowait
9683 parameter and pass it on to `make-network-process'.
9684 (network-stream-open-plain): Ditto.
9685
dcb79f20
AS
96862011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9687
9688 * faces.el (face-spec-set-match-display): Don't match toolkit
9689 options on terminal frames.
9690
14a7fbd8
SM
96912011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9692
7eabc1be
SM
9693 * progmodes/pascal.el: Use lexical binding.
9694 (pascal-mode-map): Remove author preferences.
9695
14a7fbd8
SM
9696 * pcomplete.el (pcomplete-std-complete): Don't abuse
9697 completion-at-point.
9698
50f84510
JB
96992011-04-28 Juanma Barranquero <lekktu@gmail.com>
9700
6e087a44
JB
9701 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9702 removing code that has been dead since 1991 or so.
9703
50f84510
JB
9704 * startup.el (command-line): When warning about "_emacs", use a
9705 delayed warning to allow the user to filter it out.
9706
0ba690bd
DD
97072011-04-28 Deniz Dogan <deniz@dogan.se>
9708
9709 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9710 user has not joined.
9711
08abfaad
SM
97122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9713
9714 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9715 aren't any completions at point.
9716
638f053a
JB
97172011-04-28 Juanma Barranquero <lekktu@gmail.com>
9718
9719 * subr.el (display-delayed-warnings): New function.
9720 (delayed-warnings-hook): New variable.
9721
8fff8daa
SM
97222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9723
08abfaad
SM
9724 * minibuffer.el (completion-at-point, completion-help-at-point):
9725 Don't presume that a given completion-at-point-function will always
9726 use the same calling convention.
9727
8fff8daa
SM
9728 * pcomplete.el (pcomplete-completions-at-point):
9729 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9730 pcomplete-seen is non-nil.
9731 (pcomplete-comint-setup): Also recognize the new comint/shell
9732 completion functions.
9733 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9734 pcomplete-seen is non-nil.
9735
841a1577 97362011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9737
841a1577 9738 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9739 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9740 the first character in the entry. This allows for code to add its
211ec907
UJ
9741 own uid to the entry.
9742 (icalendar--convert-float-to-ical): Add export of
9743 `diary-float'-entries save for those with the optional DAY
9744 argument.
9745
2a782793
DC
97462011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9747
9748 * subr.el (shell-quote-argument): Use alternate escaping strategy
9749 when we spot a variable reference in a string.
9750
0438ce91
DC
97512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9752
9753 * cus-start.el (all): Define customization for debug-on-event.
9754
841a1577 97552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9756
9757 * subr.el (shell-quote-argument): Escape correctly under Windows.
9758
d090ed6c
SM
97592011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9762
bfd31217
MA
97632011-04-25 Michael Albinus <michael.albinus@gmx.de>
9764
d090ed6c
SM
9765 * net/tramp.el (tramp-process-actions): Add POS argument.
9766 Delete region between POS and (pos).
bfd31217 9767
d090ed6c
SM
9768 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9769 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9770 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9771
9772 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9773 position in `tramp-process-actions' call.
9774
9775 * net/trampver.el: Update release number.
9776
e92f3bd3
SM
97772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9778
850256b5
SM
9779 * custom.el (defcustom): Obey lexical-binding.
9780
e92f3bd3
SM
9781 Fix octave-inf completion problems reported by Alexander Klimov.
9782 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9783 Inherit from octave-mode-syntax-table.
9784 (inferior-octave-mode): Set info-lookup-mode.
9785 (inferior-octave-completion-at-point): New function.
9786 (inferior-octave-complete): Use it and completion-in-region.
9787 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9788 comint-filename-completion.
9789 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9790 symbol elements which shouldn't be word elements.
9791 (octave-font-lock-keywords, octave-beginning-of-defun)
9792 (octave-function-header-regexp): Adjust regexps accordingly.
9793 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9794
cd22b309
JB
97952011-04-25 Juanma Barranquero <lekktu@gmail.com>
9796
9797 * net/gnutls.el (gnutls-errorp): Declare before first use.
9798
8b492194
TZ
97992011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9800
9801 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9802 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9803 default trustfile exists before going to use it. Add missing
5a5fa834 9804 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9805 Reported by Claudio Bley <claudio.bley@gmail.com>.
9806 (open-gnutls-stream): Add usage example.
9807
9808 * net/network-stream.el (network-stream-open-starttls): Give host
9809 parameter to `gnutls-negotiate'.
9810 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9811 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9812
841a1577 98132011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9814
cd22b309
JB
9815 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9816 Use correct match group (bug#8438).
05842630 9817
3ba7869c
CY
98182011-04-24 Chong Yidong <cyd@stupidchicken.com>
9819
512e3ae1
CY
9820 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9821 (package-menu--generate): New arg specifying packages to show.
9822 (package-menu-refresh, package-menu-execute, list-packages):
9823 Callers changed.
9824 (package-show-package-list): New function, replacing deleted
9825 package--list-packages (renamed because it is non-internal).
9826
9827 * finder.el (finder-list-matches): Use package-show-package-list
9828 instead of deleted package--list-packages.
9829
e92f3bd3
SM
9830 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9831 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9832 (vc-annotate-mode-map): Bind it to RET.
9833
7031be6d
UR
98342011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9835
9836 * progmodes/etags.el (next-file): Don't use set-buffer to change
9837 buffers (Bug#8478).
9838
4ef177aa
CY
98392011-04-24 Chong Yidong <cyd@stupidchicken.com>
9840
c8d173eb
CY
9841 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9842
4ef177aa
CY
9843 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9844 (apropos-accumulator): Doc fix.
9845 (apropos-function, apropos-macro, apropos-command)
9846 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9847 (apropos-plist): Add face property.
9848 (apropos-symbols-internal): Fix indentation.
9849 (apropos-print): Simplify help, and recognize apropos-multi-type.
9850 (apropos-print-doc): Use button-type-get to extract the button's
9851 face property. Fill docstring (Bug#8352).
9852
4ffd0d6b 98532011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9854
9855 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9856
c6c32125 9857 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9858 (mpuz-mode-map): Use mapc.
c6c32125
JB
9859 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9860 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9861 Fix typos in docstrings.
9862
58d468b4
JB
9863 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9864 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9865
6470c3c6
JB
9866 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9867
4ffd0d6b 98682011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9869
9870 * minibuffer.el (completion--do-completion): Avoid the "Next char
9871 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9872
3ad8bad0
CY
9873 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9874 mouse-2 into unread-command-events, it is interpreted correctly.
9875
71d73c9c 9876 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9877 (image-toggle-display): Doc fix.
71d73c9c 9878
841a1577 98792011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9880
4ffd0d6b
GM
9881 * textmodes/page.el (what-page): Use line-number-at-pos to
9882 calculate line number (Bug#6825).
6e1dbaa9 9883
c2fb1b60
JB
98842011-04-22 Juanma Barranquero <lekktu@gmail.com>
9885
9886 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9887 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9888 Pass argument NO-DEFAULT to `find-tag-interactive'.
9889
e02f48d7
JB
98902011-04-22 Juanma Barranquero <lekktu@gmail.com>
9891
9892 Lexical-binding cleanup.
9893
9894 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9895 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9896 * progmodes/ada-prj.el (ada-prj-initialize-values)
9897 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9898 (ada-prj-show-value):
9899 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9900 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9901 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9902 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9903 * progmodes/bug-reference.el (bug-reference-push-button):
9904 * progmodes/fortran.el (fortran-line-length):
9905 * progmodes/glasses.el (glasses-change):
9906 * progmodes/octave-mod.el (octave-fill-paragraph):
9907 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9908 (python-pdbtrack-grub-for-buffer, python-sentinel):
9909 * progmodes/sql.el (sql-save-connection):
9910 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9911 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9912 Mark unused parameters.
9913
9914 * progmodes/compile.el (compilation--flush-directory-cache)
9915 (compilation--flush-parse, compile-internal): Mark unused parameters.
9916 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9917 (compilation-next-error-function): Remove unused variable `timestamp'.
9918
9919 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9920 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9921
9922 * progmodes/dcl-mode.el (dcl-end-of-command):
9923 Remove unused variable `start'.
9924 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9925 (dcl-option-value-basic, dcl-option-value-offset)
9926 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9927 Mark unused parameters.
9928 (dcl-save-local-variable): Remove unused variable `val'.
9929 (mode): Declare.
9930
9931 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9932 Mark unused parameters.
9933 (delphi-ignore-changes): Move before first use.
9934 (delphi-charset-token-at): Remove unused variable `start'.
9935 (delphi-else-start): Remove unused variable `if-count'.
9936 (delphi-comment-block-start, delphi-comment-block-end):
9937 Remove unused variable `kind'.
9938 (delphi-indent-line): Remove unused variable `new-point'.
9939
9940 * progmodes/ebrowse.el (ebrowse-files-list)
9941 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9942 Mark unused parameters. Don't quote `lambda'.
9943 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9944 Don't quote `lambda'.
9945 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9946 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9947 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9948 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9949 Use `ignore-errors'.
9950 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9951 (ebrowse-view/find-file-and-search-pattern)
9952 (ebrowse-view/find-member-declaration/definition):
9953 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9954 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9955 Rename parameter PREFIX-ARG to PREFIX.
9956 (ebrowse-tags-read-name): Remove unused variables `start' and
9957 `member-info'.
9958 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9959 to `tags-file'.
9960
9961 * progmodes/etags.el (local-find-tag-hook): Declare.
9962 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9963 Mark unused parameters.
9964
9965 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9966 (executable-interpret): Mark unused parameter.
9967
9968 * progmodes/flymake.el (flymake-process-sentinel)
9969 (flymake-after-change-function)
9970 (flymake-create-temp-with-folder-structure)
9971 (flymake-get-include-dirs-dot): Mark unused parameters.
9972 (flymake-safe-delete-directory): Remove unused variable `err'.
9973
9974 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9975 (speedbar-timer-fn, speedbar-line-text)
9976 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9977 (speedbar-center-buffer-smartly): Declare functions.
9978 (gdb-find-watch-expression): Remove unused variable `array'.
9979 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9980 (gdb-starting): Mark unused parameters.
9981 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9982 (gdb-table-string): Remove unused variable `res'.
9983 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9984 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9985 (gdb-display-buffer): Remove unused variable `cur-size'.
9986
9987 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9988 allow lexical-binding compilation.
9989 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9990 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9991 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9992 Mark unused parameters.
9993 (gud-gdb-marker-filter): Remove unused variable `match'.
9994 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9995 lambda expressions and funcall them, instead of using `fset'.
9996
9997 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9998 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9999
10000 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10001 variable `header-beg'; use `let'.
10002
10003 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10004 `restart', `last-sexp' and `at-do'.
10005
10006 * progmodes/js.el (js--debug): Mark unused parameter.
10007 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10008 (js--splice-into-items): Remove unused variable `item'.
10009 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10010
10011 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10012 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10013 (makefile-complete): Remove unused variable `try'.
10014 (makefile-fill-paragraph, makefile-match-function-end):
10015 Mark unused parameters.
10016
10017 * progmodes/octave-inf.el (inferior-octave-complete):
10018 Remove unused variable `proc'.
10019 (inferior-octave-output-digest): Mark unused parameter.
10020
10021 * progmodes/perl-mode.el (perl-calculate-indent):
10022 Remove unused variable `err'.
10023
10024 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10025 (prolog-indent-line): Mark unused parameters.
10026 (prolog-indent-line): Remove unused variable `beg'.
10027
10028 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10029 (reporter-dont-compact-list): Declare.
10030
10031 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10032 Remove unused variable `char'.
10033 (sh-debug): Mark unused parameter.
10034 (sh-get-indent-info): Remove unused variable `start'.
10035 (sh-calculate-indent): Remove unused variable `var'.
10036
10037 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10038 (simula-electric-keyword): Remove unused variable `null'.
10039 (simula-search-backward, simula-search-forward): Remove unused
10040 variables `begin' and `end'.
10041
10042 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10043 Remove unused variable `pos'.
10044 (vera-electric-tab, vera-comment-uncomment-region):
10045 Mark unused parameters.
10046 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10047
7ede3b65
CY
100482011-04-22 Chong Yidong <cyd@stupidchicken.com>
10049
10050 * emacs-lisp/package.el (package--builtins, package-alist)
10051 (package-load-descriptor, package-built-in-p, package-activate)
10052 (define-package, package-installed-p)
10053 (package-compute-transaction, package-buffer-info)
10054 (package--push): Doc fix. Distinguish more clearly between
10055 version strings and version lists.
10056
121656e9
JB
100572011-04-21 Juanma Barranquero <lekktu@gmail.com>
10058
10059 Lexical-binding cleanup.
10060
10061 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10062 (5x5-make-mutate-best):
10063 * play/fortune.el (fortune-in-buffer):
10064 * play/gomoku.el (gomoku-init-display):
10065 * play/solitaire.el (solitaire, solitaire-do-check):
10066 * play/tetris.el (tetris-default-update-speed-function):
10067 Mark unused parameters.
10068
10069 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10070 (bubbles--shift): Remove unused variable `char-org'.
10071 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10072 (bubbles--show-images): Remove unused variable `char'.
10073
10074 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10075 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10076 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10077 (decipher-analyze-buffer): Use ?\s.
10078 (decipher-make-checkpoint): Remove unused variable `mapping'.
10079
10080 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10081
10082 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10083 Remove unused variable `result'; use `let'.
10084
10085 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10086 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10087 (gametree-children-shown-p, gametree-compute-reduced-score):
10088 Use `ignore-errors'.
10089
10090 * play/handwrite.el (ps-lpr-switches): Declare.
10091 (handwrite): Remove unused variables `pmin' and `lastp'.
10092
10093 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10094
10095 * play/landmark.el (landmark-init-display)
10096 (landmark-update-naught-weights): Mark unused parameters.
10097 (landmark-y): Remove unused variable `noise'. Simplify.
10098 (landmark-human-plays): Remove unused variable `score'.
10099
10100 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10101 (mpuz-try-proposal): Remove unused variable `game'.
10102
10103 * play/zone.el (life-patterns): Declare.
10104
80f499c7
JB
101052011-04-20 Juanma Barranquero <lekktu@gmail.com>
10106
10107 * vc/vc.el (ediff-vc-internal): Declare function.
10108
024ff170
SM
101092011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10110
c0a193ea
SM
10111 * shell.el: Use lexical-binding and std completion UI.
10112 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10113 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10114 comint-preoutput-filter-functions rather than on
10115 comint-output-filter-functions.
10116 (shell-command-completion, shell--command-completion-data)
10117 (shell-filename-completion, shell-environment-variable-completion)
10118 (shell-c-a-p-replace-by-expanded-directory): New functions.
10119 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10120 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10121 (shell-dynamic-complete-environment-variable): Use them.
10122 (shell-dynamic-complete-as-environment-variable)
10123 (shell-dynamic-complete-as-command): Remove.
10124 (shell-match-partial-variable): Match past point.
10125 * comint.el: Clean up use of completion-at-point-functions.
10126 (comint-completion-at-point): New function.
10127 (comint-mode): Use it completion-at-point-functions.
10128 (comint-dynamic-complete): Make it obsolete.
10129 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10130 (comint-c-a-p-replace-by-expanded-history): New function.
10131 (comint-dynamic-complete-functions)
10132 (comint-replace-by-expanded-history): Use it.
10133 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10134 termination strings. Try harder to avoid second try-completion.
10135 (completion-in-region-mode-map): Disable bindings that don't work yet.
10136
2dbaa080
SM
10137 * comint.el: Use lexical-binding. Require CL.
10138 (comint-dynamic-complete-functions): Use comint-filename-completion.
10139 (comint-completion-addsuffix): Tweak custom type.
10140 (comint-filename-completion, comint--common-suffix)
10141 (comint--common-quoted-suffix, comint--table-subvert)
10142 (comint--complete-file-name-data): New functions.
10143 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10144 (comint-dynamic-list-filename-completions): Use them.
10145 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10146
2dbaa080
SM
10147 * minibuffer.el (completion-in-region-mode):
10148 Keep completion-in-region-mode--predicate global.
10149 (completion-in-region--postch):
10150 Assume completion-in-region-mode--predicate is not null.
10151
c79a6f38
SM
10152 * progmodes/flymake.el (flymake-start-syntax-check-process):
10153 Obey `dir'. Simplify.
10154
024ff170
SM
10155 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10156 we're in VC after all.
10157
1c6c854e
CS
101582011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10159
10160 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10161 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10162 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10163
bed7f140
SM
101642011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10165
332e62ab
SM
10166 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10167 add sanity check.
10168
bed7f140
SM
10169 * obsolete/erc-hecomplete.el: Make obsolete.
10170 * obsolete/: Standardize obsolescence info in the header.
10171
f195c582
GM
101722011-04-20 Glenn Morris <rgm@gnu.org>
10173
10174 * calendar/solar.el (solar-horizontal-coordinates):
10175 Use the longitude argument rather than `calendar-longitude'.
10176 (solar-date-next-longitude): Remove unused locals.
10177
cb79b8c0
VJL
101782011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10179
10180 * whitespace.el: New version 13.2.1.
10181
101822011-04-20 felix <EmacsWiki> (tiny change)
10183
d8e4b68b 10184 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10185 switching between major modes on a file.
10186
602ea69d
SM
101872011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10188
10189 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10190 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10191 multi-line comments as well.
10192
06b60517
JB
101932011-04-19 Juanma Barranquero <lekktu@gmail.com>
10194
10195 Lexical-binding cleanup.
10196
10197 * arc-mode.el (archive-mode-revert):
10198 * cmuscheme.el (scheme-interactively-start-process):
10199 * custom.el (custom-initialize-delay):
10200 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10201 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10202 * emacs-lock.el (emacs-lock-clear-sentinel):
10203 * ezimage.el (defezimage):
10204 * follow.el (follow-avoid-tail-recenter):
10205 * fringe.el (set-fringe-mode-1):
10206 * generic-x.el (bat-generic-mode-compile):
10207 * help-mode.el (help-info-variable, help-do-xref)
10208 (help-mode-revert-buffer):
10209 * help.el (view-emacs-todo):
10210 * iswitchb.el (iswitchb-completion-help):
10211 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10212 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10213 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10214 * locate.el (locate-update):
10215 * longlines.el (longlines-encode-region)
10216 (longlines-after-change-function):
10217 * outline.el (outline-isearch-open-invisible):
10218 * ps-def.el (declare-function, charset-dimension, char-width)
10219 (encode-char):
10220 * ps-mule.el (ps-mule-plot-string):
10221 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10222 (recentf-edit-list-select, recentf-edit-list-validate)
10223 (recentf-open-files-action):
10224 * rect.el (delete-whitespace-rectangle-line)
10225 (rectangle-number-line-callback):
10226 * register.el (window-configuration-to-register)
10227 (frame-configuration-to-register):
10228 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10229 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10230 (xselect-convert-to-targets, xselect-convert-to-delete)
10231 (xselect-convert-to-filename, xselect-convert-to-charpos)
10232 (xselect-convert-to-lineno, xselect-convert-to-colno)
10233 (xselect-convert-to-os, xselect-convert-to-host)
10234 (xselect-convert-to-user, xselect-convert-to-class)
10235 (xselect-convert-to-name, xselect-convert-to-integer)
10236 (xselect-convert-to-atom, xselect-convert-to-identity):
10237 * subr.el (declare, ignore, process-kill-without-query)
10238 (text-clone-maintain):
10239 * terminal.el (te-get-char, te-tic-sentinel):
10240 * tool-bar.el (tool-bar-make-keymap):
10241 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10242 * type-break.el (type-break-mode, type-break-noninteractive-query):
10243 * view.el (View-back-to-mark):
10244 * wid-browse.el (widget-browse-action, widget-browse-widget)
10245 (widget-browse-widgets, widget-browse-sexp):
10246 * widget.el (define-widget-keywords):
10247 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10248 Mark unused parameters.
10249
10250 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10251 (align-areas): Remove unused variable `look'.
10252 (align-region): Remove unused variables `real-end' and `pos-list'.
10253
10254 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10255
10256 * bindings.el (mode-line-modified, mode-line-remote):
10257 Mark unused parameters.
10258 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10259
10260 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10261 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10262
10263 * comint.el (comint-history-isearch-pop-state)
10264 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10265 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10266 (comint-substitute-in-file-name): Doc fix.
10267
10268 * completion.el (cmpl-statistics-block): Mark unused parameter.
10269 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10270 (save-completions-to-file, load-completions-from-file):
10271 Remove unused local variable `e'.
10272
10273 * composite.el (compose-chars): Remove unused variable `len'.
10274 (lgstring-insert-glyph): Remove unused variable `g'.
10275 (compose-glyph-string): Remove unused variables `ascent',
10276 `descent', `lbearing' and `rbearing'.
10277 (compose-glyph-string-relative): Remove unused variables
10278 `lbearing', `rbearing' and `wadjust'.
10279 (compose-gstring-for-graphic): Remove unused variables `header',
10280 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10281 (compose-gstring-for-terminal): Remove unused variables `header'
10282 and `nchars'. Use `let', not `let*'.
10283
10284 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10285 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10286 (Custom-buffer-done, custom-buffer-create-internal)
10287 (custom-browse-visibility-action, custom-browse-group-tag-action)
10288 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10289 (widget-magic-mouse-down-action, custom-toggle-parent)
10290 (custom-add-parent-links, custom-toggle-hide-variable)
10291 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10292 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10293 (custom-face-menu-create, custom-variable-menu-create, get)
10294 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10295 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10296 (customize-apropos): Remove unused variable `tests'.
10297 (custom-group-value-create): Remove unused variable `hidden-p'.
10298 (sort-fold-case): Declare.
10299
10300 * cus-theme.el (custom-reset-standard-faces-list)
10301 (custom-reset-standard-variables-list): Declare.
10302 (customize-create-theme, custom-theme-revert, custom-theme-write)
10303 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10304 Mark unused parameters.
10305
10306 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10307
10308 * delim-col.el (delimit-columns-max): Move defvar before first use.
10309
10310 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10311 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10312
10313 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10314 (auto-insert): Declare.
10315 (desktop-restore-file-buffer): Rename desktop-* parameters;
10316 mark unused ones.
10317 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10318 (desktop-buffer): Rename desktop-* parameters.
10319
10320 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10321 (dframe-reposition-frame-xemacs, dframe-help-echo)
10322 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10323 Mark unused parameters.
10324
10325 * dired-aux.el (backup-extract-version-start, overwrite-query)
10326 (overwrite-backup-query, rename-regexp-query)
10327 (rename-non-directory-query): Declare.
10328 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10329 (dired-add-entry): Remove unused variable `orig-file-name'.
10330 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10331 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10332 `dired-copy-preserve-time' directly.
10333 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10334 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10335
10336 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10337 (dired-virtual-revert, dired-make-relative-symlink):
10338 Mark unused parameters.
10339 (manual-program): Declare.
10340 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10341 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10342 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10343
10344 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10345
10346 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10347
10348 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10349 Declare.
10350
10351 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10352
10353 * electric.el (Electric-command-loop): Rename parameter
10354 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10355
10356 * expand.el (expand-in-literal): Remove unused variable `here'.
10357
10358 * facemenu.el (facemenu-add-new-color):
10359 Remove unused variable `docstring'.
10360
10361 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10362 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10363 (face-attr-construct): Mark unused parameter. Doc fix.
10364 (read-color): Remove unused variable `hex-string'.
10365
10366 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10367 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10368 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10369 (display-buffer-other-frame): Remove unused variable `old-window'.
10370 (kill-buffer-hook): Declare.
10371 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10372 Mark unused parameters.
10373 (after-find-file): Pass 1 to `auto-save-mode', not t.
10374
10375 * files-x.el (auto-insert): Declare.
10376 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10377
10378 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10379 variable `buf'. Mark unused parameter.
06b60517
JB
10380 (find-lisp-insert-directory): Mark unused parameter.
10381
10382 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10383 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10384 (format-common-tail): Remove, unused.
10385 (format-deannotate-region): Remove unused variable `loc'.
10386 (format-annotate-region): Remove unused variable `p'.
10387 (format-annotate-single-property-change): Remove unused variables
10388 `default' and `tail'.
10389
10390 * forms.el (read-file-filter): Declare.
10391 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10392
10393 * frame.el (frame-creation-function-alist): Mark unused parameter.
10394 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10395
10396 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10397 Remove unused parameters.
10398 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10399 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10400
10401 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10402 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10403 (hfy-prepare-tag-map): Mark unused parameters.
10404 (htmlfontify-buffer): Use `called-interactively-p'.
10405
10406 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10407 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10408 (ibuffer-do-occur): Mark unused parameters.
10409 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10410 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10411
10412 * ibuffer.el: Don't quote `lambda'.
10413 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10414 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10415 Mark unused parameters.
10416
10417 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10418 (ido-completing-read): Mark unused parameters.
10419 (ido-copy-current-word): Mark unused parameters;
10420 remove unused variable `name'.
10421 (ido-sort-merged-list): Remove unused parameter `dirs'.
10422
10423 * ielm.el (ielm-input-sender): Mark unused parameter.
10424 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10425 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10426 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10427 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10428 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10429
10430 * image-dired.el (image-dired-display-thumbs): Remove unused
10431 variables `curr-file' and `count'.
10432 (image-dired-remove-tag): Remove unused variable `start'.
10433 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10434 variable `curr-file'
10435 (image-dired-rotate-original): Remove unused variable `temp-file'.
10436 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10437 Remove unused variable `file'.
10438 (image-dired-gallery-generate): Remove unused variable `curr'.
10439 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10440
10441 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10442
10443 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10444
10445 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10446
10447 * isearch.el (minibuffer-history-symbol): Declare.
10448 (isearch-edit-string): Remove unused variable `err'.
10449 (isearch-message-prefix, isearch-message-suffix):
10450 Mark unused parameters.
10451
10452 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10453
10454 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10455
10456 * makesum.el (double-column): Remove unused variable `cnt'.
10457
10458 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10459 (ido-ignore-item-temp-list): Declare.
10460
10461 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10462 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10463 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10464 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10465 `mouse-col-delta'.
10466
10467 * mouse-sel.el (mouse-extend-internal):
10468 Remove unused variable `orig-window-frame'.
10469
10470 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10471 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10472 Move declarations before first use.
10473 (pcomplete-opt): Mark unused parameters; doc fix.
10474
10475 * proced.el (proced-revert): Mark unused parameter.
10476 (proced-send-signal): Remove unused variable `err'.
10477
10478 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10479 Rename parameter PREFIX-ARG to ARG.
10480 (ps-basic-plot-string, ps-basic-plot-whitespace):
10481 Mark unused parameters.
10482
10483 * replace.el (replace-count): Define.
10484 (occur-revert-function): Mark unused parameters.
10485 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10486 (isearch-case-fold-search, isearch-string): Declare.
10487 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10488 bind `case-fold-search'. Remove unused variables `beg' and `end',
10489 and simplify.
10490 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10491 COUNT and bind `replace-count'.
10492 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10493 to COUNT.
10494
10495 * savehist.el (print-readably, print-string-length): Declare.
10496
10497 * shadowfile.el (shadow-expand-cluster-in-file-name):
10498 Remove unused variable `cluster'.
10499 (shadow-copy-file): Remove unused variable `i'.
10500 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10501 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10502 (shadow-define-literal-group, shadow-define-regexp-group)
10503 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10504
10505 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10506 (shell): Use `called-interactively-p'.
10507 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10508
10509 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10510 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10511 (delete-backward-char): Remove unused variable `ocol'.
10512 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10513 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10514 (event-apply-hyper-modifier, event-apply-shift-modifier)
10515 (event-apply-control-modifier, event-apply-meta-modifier):
10516 Mark unused parameters.
10517 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10518 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10519
10520 * speedbar.el (speedbar-ignored-directory-expressions)
10521 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10522 (speedbar-find-file, speedbar-dir-follow)
10523 (speedbar-directory-buttons-follow, speedbar-tag-find)
10524 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10525 (speedbar-buffers-line-directory, speedbar-buffer-click):
10526 Mark unused parameters.
10527 (speedbar-tag-file): Remove unused variable `mode'.
10528 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10529
10530 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10531
10532 * talk.el (talk): Remove unused variable `display'.
10533
10534 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10535 (tar-write-region-annotate): Mark unused parameter.
10536
10537 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10538 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10539 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10540 warning by another.
10541
10542 * time-stamp.el (time-stamp-string-preprocess):
10543 Remove unused variable `require-padding'.
10544
10545 * tree-widget.el (widget-glyph-enable): Declare.
10546 (tree-widget-action): Mark unused parameter.
10547
10548 * w32-fns.el (x-get-selection): Mark unused parameter.
10549 (autoload-make-program, generated-autoload-file): Declare.
10550
10551 * wdired.el (wdired-revert): Mark unused parameters.
10552 (wdired-xcase-word): Remove unused variable `err'.
10553
10554 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10555 (whitespace-help-scroll): Remove unused variable `data-help'.
10556
10557 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10558 (widget-image-insert, widget-after-change, default)
10559 (widget-default-format-handler, widget-default-notify)
10560 (widget-default-prompt-value, widget-info-link-action)
10561 (widget-url-link-action, widget-function-link-action)
10562 (widget-variable-link-action, widget-file-link-action)
10563 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10564 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10565 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10566 (widget-insert-button-action, widget-delete-button-action, visibility)
10567 (widget-documentation-link-action, widget-documentation-string-action)
10568 (widget-const-prompt-value, widget-regexp-match, symbol)
10569 (widget-coding-system-prompt-value)
10570 (widget-key-sequence-value-to-external, sexp)
10571 (widget-sexp-value-to-internal, character, vector, cons)
10572 (widget-choice-prompt-value, widget-boolean-prompt-value)
10573 (widget-color--choose-action): Mark unused parameters.
10574 (widget-item-match-inline, widget-choice-match-inline)
10575 (widget-checklist-match, widget-checklist-match-inline)
10576 (widget-group-match): Rename parameter VALUES to VALS.
10577 (widget-field-value-set): Remove unused variable `size'.
10578 (widget-color-action): Remove unused variables `value' and `start'.
10579
10580 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10581 variable `dir'. Doc fix.
06b60517
JB
10582 (windmove-find-other-window): Don't pass it.
10583
10584 * window.el (count-windows): Mark unused parameter.
10585 (bw-adjust-window): Remove unused variable `err'.
10586
10587 * woman.el (woman-file-name): Remove unused variable `default'.
10588 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10589 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10590 (global-font-lock-mode): Declare.
10591 (woman-decode-region): Mark unused parameter.
10592 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10593
10594 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10595 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10596 (x-dnd-handle-moz-url): Remove unused variable `title'.
10597 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10598
10599 * xml.el (xml-parse-tag, xml-parse-attlist):
10600 Remove unused variable `pos'.
10601
bc4f7f3d
GM
106022011-04-19 Glenn Morris <rgm@gnu.org>
10603
10604 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10605 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10606 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10607 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10608 * calendar/cal-html.el (cal-html-insert-minical):
10609 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10610 (calendar-mark-date-pattern):
10611 Prefix "unused" locals.
10612
10613 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10614 optional argument `style'.
10615
10616 * calendar/appt.el (appt-make-list):
10617 * calendar/cal-china.el (calendar-chinese-date-string):
10618 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10619 (diary-hebrew-yahrzeit):
10620 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10621 * calendar/calendar.el (calendar-generate-window):
10622 * calendar/time-date.el (time-to-days):
10623 Remove unused local variables.
10624
16a43933
CY
106252011-04-18 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10628 glyphless-char-display table.
10629 (tabulated-list-glyphless-char-display): New var.
10630
7eed1860
SS
106312011-04-18 Sam Steingold <sds@gnu.org>
10632
10633 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10634 to acknowledgments.
10635
4d2d1ccd
GM
106362011-04-17 Glenn Morris <rgm@gnu.org>
10637
10638 * calendar/diary-lib.el (diary-sexp-entry):
10639 * calendar/holidays.el (holiday-sexp):
10640 Set debug-on-error rather than the removed stack-trace-on-error.
10641
239da61d
GM
106422011-04-16 Glenn Morris <rgm@gnu.org>
10643
10644 * progmodes/f90.el: Use lexical-binding.
10645 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10646
8b05752a
SM
106472011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10648
daca8ba5
SM
10649 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10650 (mail-mode): Setup mailalias completion here instead.
10651 * mail/mailalias.el: Use lexical-binding.
10652 (pattern, mailalias-done): Declare dynamic.
10653 (mail-completion-at-point-function): New function, from mail-complete.
10654 (mail-complete): Use it.
10655 (mail-completion-expand): New function.
10656 (mail-get-names): Use it.
10657 (mail-directory, mail-directory-process, mail-directory-stream):
10658 Don't use `pattern' for lexically bound arg.
10659
6f542485
SM
10660 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10661
037e7c3f
SM
10662 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10663 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10664 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10665
8b05752a
SM
10666 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10667 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10668 (byte-interactive-p): Define them again, for use when inlining
10669 old code.
10670
49093f60
JB
106712011-04-15 Juanma Barranquero <lekktu@gmail.com>
10672
10673 * loadup.el: Use `string-to-number', not `string-to-int'.
10674
b5b8e7de
SM
106752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10678 gud-gdb-complete-command.
10679 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10680 (gud-gdb-completion-at-point): New function.
10681 (gud-gdb-completions): Remove.
10682
f42efeb5
MA
106832011-04-14 Michael Albinus <michael.albinus@gmx.de>
10684
49093f60
JB
10685 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10686 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10687 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10688 whether `executable-find' is bound.
f42efeb5
MA
10689
10690 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10691
e240cc21
SM
106922011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * minibuffer.el (completion-in-region-mode-predicate)
10695 (completion-in-region-mode--predicate): New vars.
10696 (completion-in-region, completion-in-region--postch)
10697 (completion-in-region-mode): Use them.
10698 (completion--capf-wrapper): Also return the hook function.
10699 (completion-at-point, completion-help-at-point):
10700 Adjust and provide a predicate.
c2bd2ab0
SM
10701
10702 Preserve arg names for advice of subr and lexical functions (bug#8457).
10703 * help-fns.el (help-function-arglist): Consolidate the subr and
10704 new-byte-code cases. Add argument `preserve-names' to extract names
10705 from the docstring when needed.
10706 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10707 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10708 (ad-arglist): Use help-function-arglist's new arg.
10709 (ad-definition-type): Use cond.
10710
c183f693
JB
107112011-04-13 Juanma Barranquero <lekktu@gmail.com>
10712
06641a47
JB
10713 * autorevert.el (auto-revert-handler):
10714 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10715 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10716 Don't quote lambda.
10717
c183f693
JB
10718 * image-mode.el (image-transform-set-scale):
10719 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10720
1e3b6001
G
107212011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10722
10723 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10724 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10725 Upgrades via gnutls-cli are too slow to be done opportunistically.
10726
2d6af8dd
JB
107272011-04-12 Juanma Barranquero <lekktu@gmail.com>
10728
10729 * dframe.el (dframe-current-frame): Remove spurious quote.
10730
c0749a51
GM
107312011-04-12 Glenn Morris <rgm@gnu.org>
10732
088d0d61
GM
10733 * calendar/cal-tex.el (cal-tex-end-document):
10734 Try to automatically use latin1 input if needed.
10735
c0749a51
GM
10736 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10737 Don't try to cons a mark onto an empty element.
10738
5c90fde0
LL
107392011-04-11 Leo Liu <sdl.web@gmail.com>
10740
10741 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10742 buffers.
10743 (ido-kill-buffer-at-head): Support killing virtual buffers.
10744
369e974d
CY
107452011-04-10 Chong Yidong <cyd@stupidchicken.com>
10746
10747 * minibuffer.el (completion-show-inline-help): New var.
10748 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10749 (minibuffer-force-complete, minibuffer-complete-word):
10750 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10751
10752 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10753 to avoid interference from inline help (Bug#5849).
10754
37f1c930
LL
107552011-04-10 Leo Liu <sdl.web@gmail.com>
10756
099c39a4
JB
10757 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10758 Fix typo.
37f1c930 10759
a32d4040
CY
107602011-04-09 Chong Yidong <cyd@stupidchicken.com>
10761
10762 * image-mode.el (image-toggle-display-image): Signal an error if
10763 not in Image mode.
10764 (image-transform-mode, image-transform-resize)
10765 (image-transform-set-rotation): Doc fix.
daca8ba5 10766 (image-transform-set-resize): Delete.
a32d4040
CY
10767 (image-transform-set-scale, image-transform-fit-to-height)
10768 (image-transform-fit-to-width): Handle image-toggle-display-image
10769 and image-transform-resize directly.
10770
099c39a4 107712011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10772
10773 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10774 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10775 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10776 (doc-view-mode-map): Add bindings for the new functions.
10777
099c39a4 107782011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10779
4d61f28d 10780 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10781 Fix typo in docstring.
10782
3726838a
EZ
107832011-04-08 Eli Zaretskii <eliz@gnu.org>
10784
04f33f1e
EZ
10785 * files.el (file-size-human-readable): Produce one digit after
10786 decimal, like "ls -lh" does.
10787
10788 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10789 the file size representation.
10790
3726838a
EZ
10791 * simple.el (list-processes): If async subprocesses are not
10792 available, error out with a clear error message.
10793
cbb59342
CY
107942011-04-08 Chong Yidong <cyd@stupidchicken.com>
10795
10796 * help.el (help-form-show): New function, to be called from C.
10797 Put help-form output in a buffer named differently than *Help*.
10798
e3971c44
EZ
107992011-04-08 Eli Zaretskii <eliz@gnu.org>
10800
10801 * files.el (file-size-human-readable): New function.
10802
10803 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10804 computing the representation inline. Don't require `cl'.
10805
12544bbe
GM
108062011-04-08 Glenn Morris <rgm@gnu.org>
10807
a1de6c6a
GM
10808 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10809
3c4671f4
GM
10810 * net/browse-url.el (browse-url-firefox):
10811 Test system-type, not system-configuration.
10812
b605679c
GM
10813 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10814 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10815 Use log-edit-empty-buffer-p. (Bug#7598)
10816
56442f0c
GM
10817 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10818 (rlogin-mode-map): Initialize in the defvar.
10819 (rlogin): Use ignore-errors.
10820
12544bbe
GM
10821 * replace.el (occur-mode-map): Some fixes for menu items.
10822
eb237b0f
AH
108232011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10824
10825 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10826
7d668f2c
CY
108272011-04-06 Chong Yidong <cyd@stupidchicken.com>
10828
e67a13ab
CY
10829 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10830 issuing unused warnings.
10831
10832 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10833 macro directly.
10834
7d668f2c
CY
10835 * simple.el: Lisp reimplement of list-processes. Based on an
10836 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10837 (process-menu-mode): New major mode.
10838 (list-processes--refresh, list-processes):
10839 (process-menu-visit-buffer): New functions.
10840
10841 * files.el (save-buffers-kill-emacs): Don't assume any return
10842 value of list-processes, which is undocumented anyway.
10843
a83ec3c9
CY
108442011-04-06 Chong Yidong <cyd@stupidchicken.com>
10845
10846 * emacs-lisp/tabulated-list.el: New file.
10847
e91a96fe
CY
10848 * emacs-lisp/package.el: Use Tabulated List mode.
10849 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10850 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10851 table format using Tabulated List mode variables.
10852 (package--push): New macro, replacing package-list-maybe-add.
10853 (package-menu--generate): Use package--push. Renamed from
10854 package--generate-package-list.
10855 (package-menu-refresh, list-packages): Use it.
daca8ba5 10856 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10857 Return insertion data instead of inserting it directly.
099c39a4
JB
10858 (package-menu-describe-package, package-menu-execute):
10859 Use tabulated-list-get-id.
e91a96fe
CY
10860 (package-menu-mark-delete, package-menu-mark-install)
10861 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10862 (package-menu-mark-obsolete-for-deletion):
10863 Use tabulated-list-put-tag.
e91a96fe
CY
10864 (package--list-packages, package-menu-revert)
10865 (package-menu-get-package, package-menu-get-version)
10866 (package-menu-sort-by-column): Functions deleted.
10867 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10868 (package-menu--status-predicate, package-menu--version-predicate)
10869 (package-menu--name-predicate)
10870 (package-menu--description-predicate): Handle arguments in the
10871 Tabulated List format.
10872 (package-list-packages-no-fetch): Call list-packages.
10873
3e214b50
JB
108742011-04-06 Juanma Barranquero <lekktu@gmail.com>
10875
10876 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10877 (after-find-file): Don't bind it.
3e214b50
JB
10878 (revert-buffer-in-progress-p): New variable.
10879 (revert-buffer): Bind it.
10880 Pass nil for `after-find-file-from-revert-buffer'.
10881
10882 * saveplace.el (save-place-find-file-hook): Use new variable
10883 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10884
3f0f1700
GM
108852011-04-06 Glenn Morris <rgm@gnu.org>
10886
c0274801
GM
10887 * Makefile.in (AUTOGEN_VCS): New variable.
10888 (autoloads): Use $AUTOGEN_VCS.
10889
3f0f1700
GM
10890 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10891 * calendar/calendar.el (calendar-mode-map):
10892 Check for toolkit scroll bars. (Bug#8305)
10893
41ea9e48
CY
108942011-04-05 Chong Yidong <cyd@stupidchicken.com>
10895
10896 * minibuffer.el (completion-in-region--postch)
10897 (completion-in-region-mode): Remove unnecessary messages.
10898
6194c800
JB
108992011-04-05 Juanma Barranquero <lekktu@gmail.com>
10900
33256f14
JB
10901 * font-lock.el (font-lock-refresh-defaults):
10902 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10903 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10904
6194c800
JB
10905 * info.el (Info-directory-list, Info-read-node-name-2)
10906 (Info-split-parameter-string): Doc fixes.
10907 (Info-virtual-nodes): Reflow docstring.
10908 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10909 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10910 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10911 Fix typos in docstrings.
10912 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10913 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10914 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10915 (Info-restore-desktop-buffer): Mark unused parameters.
10916 (Info-directory-find-file, Info-directory-find-node)
10917 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10918 (Info-virtual-index-find-node, Info-apropos-find-file)
10919 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10920 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10921 (Info-virtual-index): Remove unused local variable `nodename'.
10922
b87a8200 109232011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10924
b87a8200
DD
10925 * net/rcirc.el: Update my e-mail address.
10926 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10927
3b2ff876
CY
109282011-04-05 Chong Yidong <cyd@stupidchicken.com>
10929
10930 * startup.el (command-line): Save the cursor's theme-face
10931 directly, instead of using face-override-spec.
10932
10933 * custom.el (load-theme): Minor optimization in assigning faces.
10934
8d17e7ca
JB
109352011-04-04 Juanma Barranquero <lekktu@gmail.com>
10936
10937 * help-fns.el (describe-variable): Complete all variables having
10938 documentation, including keywords.
10939 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10940
2fbc1934
JB
109412011-04-04 Juanma Barranquero <lekktu@gmail.com>
10942
10943 Convert to lexical-binding.
10944
10945 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10946 (bs--get-marked-string, bs--get-modified-string)
10947 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10948 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10949 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10950
10951 * ehelp.el (electric-help-execute-extended)
10952 (electric-help-ctrl-x-prefix):
10953 * hexl.el (hexl-revert-buffer-function):
10954 * linum.el (linum-after-change, linum-after-scroll):
10955 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10956
10957 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10958
74f50695
DU
109592011-04-04 Daiki Ueno <ueno@unixuser.org>
10960
10961 * epa-dired.el:
10962 * epa-mail.el:
10963 * epa-hook.el:
10964 * epa-file.el:
10965 * epa.el:
10966 * epg.el: Use lexical binding.
10967
c11325f7
CY
109682011-04-03 Chong Yidong <cyd@stupidchicken.com>
10969
0d9e9a12
CY
10970 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10971
c11325f7 10972 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10973 dictionary case for flyspell-mark-duplications-exceptions.
10974 Use regexp matching for languages.
c11325f7
CY
10975 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10976 default dictionary (Bug#7926).
10977
da91b5f2
CY
109782011-04-02 Chong Yidong <cyd@stupidchicken.com>
10979
099c39a4
JB
10980 * emacs-lisp/package.el (package--with-work-buffer):
10981 Recognize https URLs.
da91b5f2 10982
099c39a4
JB
10983 * net/network-stream.el: Move from gnus/proto-stream.el.
10984 Change prefix to network-stream throughout.
da91b5f2
CY
10985 (open-protocol-stream): Merge into open-network-stream, leaving
10986 open-protocol-stream as an alias. Handle nil BUFFER args.
10987
10988 * subr.el (open-network-stream): Move to net/network-stream.el.
10989
afa8e9f6
GM
109902011-04-02 Glenn Morris <rgm@gnu.org>
10991
1d2e369d
GM
10992 * find-dired.el (find-exec-terminator): New option.
10993 (find-ls-option): Test for -ls support.
10994 (find-ls-subdir-switches): Test for -b in find-ls-option.
10995 (find-dired, find-grep-dired): Doc fixes.
10996 (find-dired): Use find-exec-terminator.
10997
8abb7da8 10998 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10999 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11000 (find-name-arg): Remove purecopy.
8abb7da8 11001
f3ca7378
GM
11002 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11003 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11004 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11005 accordingly. Don't add the null-device if not needed.
11006
afa8e9f6
GM
11007 * files.el (save-some-buffers): Doc fix.
11008
35eae264
EZ
110092011-04-02 Eli Zaretskii <eliz@gnu.org>
11010
11011 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11012
26b51db5
JB
110132011-04-01 Juanma Barranquero <lekktu@gmail.com>
11014
11015 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11016 Use `dolist' rather than `mapcar'.
11017
7200d79c
SM
110182011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11019
03408648 11020 Add lexical binding.
7200d79c 11021
03408648
SM
11022 * subr.el (apply-partially): Use new closures rather than CL.
11023 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11024 (dolist, dotimes): Use slightly different expansion for lexical code.
11025 (functionp): Move to C.
11026 (letrec): New macro.
11027 (with-wrapper-hook): Use it and apply-partially instead of CL.
11028 (eval-after-load): Preserve lexical-binding.
11029 (save-window-excursion, with-output-to-temp-buffer): Turn them
11030 into macros.
7200d79c 11031
03408648
SM
11032 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11033
11034 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11035 than the arglist.
11036 (help-add-fundoc-usage): Don't add `Not documented'.
11037 (help-function-arglist): Handle closures, subroutines, and new
11038 byte-code-functions.
11039 (help-make-usage): Remove leading underscores.
11040 (describe-function-1): Handle closures.
11041 (describe-variable): Use special-variable-p for completion.
11042
11043 * files.el (lexical-binding): Declare safe.
f488fb65 11044
03408648
SM
11045 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11046 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11047 (pcase): Add `let' pattern.
11048 Change memoization so it actually works.
11049 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11050 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11051 <let>: New case.
f488fb65 11052
03408648
SM
11053 * emacs-lisp/macroexp.el: Use lexical binding.
11054 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11055 Don't convert ' to #' without checking that it's indeed quoting
11056 a lambda.
11057
11058 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11059 Use eval-sexp-add-defvars.
03408648
SM
11060 (eval-sexp-add-defvars): New fun.
11061
11062 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11063
11064 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11065 Don't autoload.
11066 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11067 than the internal `byte-compile-lambda'.
11068 (defmethod): Don't hide code under quotes.
11069 (eieio-defmethod): New `code' argument.
11070
11071 * emacs-lisp/eieio-comp.el: Remove.
11072
11073 * emacs-lisp/edebug.el (edebug-eval-defun)
11074 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11075 (edebug-toggle): Avoid `eval'.
11076
11077 * emacs-lisp/disass.el (disassemble-internal): Handle new
11078 `closure' objects.
11079 (disassemble-1): Handle new byte codes.
11080
11081 * emacs-lisp/cl.el (pushnew): Silence warning.
11082
11083 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11084 (cl-byte-compile-throw): Remove.
11085 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11086
11087 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11088 closures.
11089
11090 * emacs-lisp/cconv.el: New file.
11091
11092 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11093 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11094 (byte-compile-initial-macro-environment):
11095 Handle declare-function here.
11096 (byte-compile--lexical-environment): New var.
11097 (byte-stack-ref, byte-stack-set, byte-discardN)
11098 (byte-discardN-preserve-tos): New lap codes.
11099 (byte-interactive-p): Don't use any more.
11100 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11101 New macros.
11102 (byte-compile-lapcode): Use them and handle new lap codes.
11103 (byte-compile-obsolete): Remove.
11104 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11105 (byte-compile-arglist-warn): Check late def of inlinable funs.
11106 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11107 since they should have been expanded by now.
11108 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11109 (byte-compile-from-buffer): Remove unused second arg.
11110 (byte-compile-preprocess): New function.
11111 (byte-compile-toplevel-file-form): New function to distinguish
11112 file-form calls from outside from file-form calls from hunk-handlers.
11113 (byte-compile-file-form): Simplify.
11114 (byte-compile-file-form-defsubst): Remove.
11115 (byte-compile-file-form-defmumble): Simplify now that
11116 byte-compile-lambda always returns a byte-code-function.
11117 (byte-compile): Preprocess.
11118 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11119 Remove, not used any more.
11120 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11121 (byte-compile-make-args-desc): New funs.
11122 (byte-compile-lambda): Handle lexical functions. Always return
11123 a byte-code-function.
11124 (byte-compile-reserved-constants): New var, to make up room for
11125 closed-over variables.
11126 (byte-compile-constants-vector): Obey it.
11127 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11128 (byte-compile-macroexpand-declare-function): New function.
11129 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11130 byte-code-functions.
11131 (byte-compile-form): Check obsolescence here.
11132 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11133 (byte-compile-variable-ref): Remove.
11134 (byte-compile-dynamic-variable-op): New fun.
11135 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11136 (byte-compile-variable-set): New funs.
11137 (byte-compile-discard): Add 2 args.
11138 (byte-compile-stack-ref, byte-compile-stack-set)
11139 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11140 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11141 macroexpand-all instead.
11142 (byte-compile-quote-form): Remove.
11143 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11144 (byte-compile-bind, byte-compile-unbind): New funs.
11145 (byte-compile-let): Handle let* and lexical binding.
11146 (byte-compile-let*): Remove.
11147 (byte-compile-catch, byte-compile-unwind-protect)
11148 (byte-compile-track-mouse, byte-compile-condition-case):
11149 Handle a new :fun-body form, used for lexical scoping.
11150 (byte-compile-save-window-excursion)
11151 (byte-compile-with-output-to-temp-buffer): Remove.
11152 (byte-compile-defun): Simplify.
11153 (byte-compile-stack-adjustment): New fun.
11154 (byte-compile-out): Use it.
11155 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11156
11157 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11158 handler any more.
11159
11160 * emacs-lisp/byte-opt.el: Use lexical binding.
11161 (byte-inline-lapcode): Remove (to bytecomp).
11162 (byte-compile-inline-expand): Pay attention to inlining to/from
11163 lexically bound code.
11164 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11165 any more.
11166 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11167 any more and don't call compiler-macros.
11168 (byte-compile-splice-in-already-compiled-code): Remove.
11169 (byte-code): Don't inline any more.
11170 (disassemble-offset): Receive `bytes' as argument rather than via
11171 dynamic scoping.
11172 (byte-compile-tag-number): Declare before first use.
11173 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11174 `return' even if make-spliceable.
11175 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11176 obsolete interactive-p.
11177 (byte-optimize-lapcode): Optimize new lap-codes.
11178 Don't trip up on new form of `byte-constant' lap code.
11179
11180 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11181
11182 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11183
11184 * custom.el (custom-initialize-default, custom-declare-variable):
11185 Use `defvar'.
11186
11187 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11188 New variables.
11189 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11190 (COMPILE_FIRST): Add macroexp and cconv.
11191 * makefile.w32-in: Mirror changes in Makefile.in.
11192
11193 * vc/cvs-status.el:
11194 * vc/diff-mode.el:
11195 * vc/log-edit.el:
11196 * vc/log-view.el:
11197 * vc/smerge-mode.el:
11198 * textmodes/bibtex-style.el:
11199 * textmodes/css.el:
11200 * startup.el:
11201 * uniquify.el:
da91b5f2
CY
11202 * minibuffer.el:
11203 * newcomment.el:
11204 * reveal.el:
11205 * server.el:
11206 * mpc.el:
11207 * emacs-lisp/smie.el:
11208 * doc-view.el:
11209 * dired.el:
03408648
SM
11210 * abbrev.el: Use lexical binding.
11211
0f0c1f27
EZ
112122011-04-01 Eli Zaretskii <eliz@gnu.org>
11213
11214 * info.el (info-display-manual): New function.
11215
c82b2579
SM
112162011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11219
221ddf68
TH
112202011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11221
11222 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11223 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11224
cba6e77e
GM
112252011-03-31 Glenn Morris <rgm@gnu.org>
11226
e040639f
GM
11227 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11228
cba6e77e
GM
11229 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11230
6d0f1c9e
CS
112312011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11232
11233 * progmodes/python.el (python-default-interpreter)
11234 (python-python-command-args, python-jython-command-args)
11235 (python-which-shell, python-which-args, python-which-bufname)
11236 (python-file-queue, python-comint-output-filter-function)
11237 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11238 variables and functions.
11239
3e2d70fd
SM
112402011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11241
11242 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11243 (completion-in-region-mode): New minor mode.
11244 (completion-in-region): Use it.
11245 (completion-in-region--data, completion-in-region-mode-map): New vars.
11246 (completion-in-region--postch): New function.
11247 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11248 New vars.
11249 (completion--capf-wrapper): New function.
11250 (completion-at-point): Use it to track well-behavedness of
11251 hook functions.
11252 (completion-help-at-point): New command.
11253
f3e4086c
JM
112542011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11255
11256 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11257 syntax class to search for whitespace on a single line
11258 (Message-ID: <4D938140.4030905@redhat.com>).
11259
eb7ffc14
LL
112602011-03-30 Leo Liu <sdl.web@gmail.com>
11261
11262 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11263 New commands.
11264 (edit-abbrevs-map): Bind them here.
11265 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11266
d806ab68
KM
112672011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11268
11269 * allout.el (allout-hide-by-annotation, allout-flag-region):
11270 Reduce possibility of overlay leakage by making them volatile.
11271
11272 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11273 hash is not shared between buffers. Mode initialization is
11274 responsible for giving it a useful starting value.
11275 (allout-item-span): Reduce possibility of overlay leakage by
11276 making them volatile.
11277 (allout-widgets-count-buttons-in-region): Add diagnostic function
11278 for tracking down button overlay leaks.
11279
ea622834
LL
112802011-03-29 Leo Liu <sdl.web@gmail.com>
11281
11282 * ido.el (ido-read-internal): Use the default history var
11283 minibuffer-history if no HISTORY is specified.
11284
b62f8267
G
112852011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11286
03408648
SM
11287 * net/imap.el (imap-shell-open, imap-process-connection-type):
11288 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11289 Kerberos, SSL, other subprocesses.
11290
947b6566
LL
112912011-03-28 Leo Liu <sdl.web@gmail.com>
11292
11293 * abbrev.el (abbrev-table-empty-p): New function.
11294 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11295 nonempty ones. (Bug#5937)
11296
5ffb62aa
JD
112972011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11298
11299 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11300
7a097943
LL
113012011-03-27 Leo Liu <sdl.web@gmail.com>
11302
11303 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11304 for foreground and background colors.
11305 (ansi-color-make-color-map): Adapt.
11306
c5b40130
LL
113072011-03-25 Leo Liu <sdl.web@gmail.com>
11308
1f48f7d2
LL
11309 * midnight.el (midnight-time-float): Remove. Note it calculates
11310 the microsecond component incorrectly and seconds-to-time does the
11311 same job.
625897ec 11312 Remove redundant (require 'timer).
1f48f7d2 11313
c5b40130
LL
11314 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11315 (ido-completions): Remove unused arguments. (Bug#8329)
11316
d86d2721
SM
113172011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * minibuffer.el (completion--flush-all-sorted-completions):
11320 Remove itself from hook.
11321 (completion-at-point): Let the functions perform the completion
11322 immediately and return nil or t.
11323 * comint.el (comint-dynamic-complete-functions): Now identical to
11324 completion-at-point-functions.
11325 (comint-dynamic-list-input-ring): Remove unused var `index'.
11326 (comint--match-partial-filename, comint--unquote&expand-filename):
11327 New funs, split from comint-match-partial-filename.
11328 (comint-dynamic-complete): Use completion-at-point.
11329 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11330
e8974c48
DA
113312011-03-24 Drew Adams <drew.adams@oracle.com>
11332
11333 * thingatpt.el: Support `defun'.
11334
def71b5e
LL
113352011-03-23 Leo Liu <sdl.web@gmail.com>
11336
cb5af48e
LL
11337 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11338
def71b5e
LL
11339 * help-mode.el (help-mode-finish): Tweak regexp.
11340
927c53e7
GM
113412011-03-23 Glenn Morris <rgm@gnu.org>
11342
18d05bed
GM
11343 * eshell/esh-opt.el (eshell-eval-using-options):
11344 Do not bind unused local variable `eshell-option-stub'.
11345
927c53e7
GM
11346 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11347
9d0da923
JB
113482011-03-22 Juanma Barranquero <lekktu@gmail.com>
11349
11350 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11351 keymap variable in `with-no-warnings' to avoid a warning when the
11352 keymap has been already `defconst'ed.
11353
4b978a67
LL
113542011-03-22 Leo Liu <sdl.web@gmail.com>
11355
11356 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11357 encode all chars in abbrevs; otherwise use emacs-mule or
11358 utf-8-emacs. (Bug#8308)
11359
5fd62452
JB
113602011-03-22 Juanma Barranquero <lekktu@gmail.com>
11361
0b1596c6
JB
11362 * simple.el (backward-delete-char-untabify):
11363 Avoid warning about using `delete-backward-char'.
11364
5fd62452
JB
11365 * image.el (image-type-file-name-regexps): Make it variable.
11366 `imagemagick-register-types' modifies it, and the user may want
11367 to add new extensions for known image types.
11368 (imagemagick-register-types): Throw error if not using ImageMagick.
11369
0b4e93f1
LL
113702011-03-22 Leo Liu <sdl.web@gmail.com>
11371
11372 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11373 located before rcirc-prompt-end-marker.
11374 (rcirc-complete): Error if point is not after rcirc prompt.
11375 Handle the case when table is nil.
9882e214 11376 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11377
fccee4ab
CY
113782011-03-22 Chong Yidong <cyd@stupidchicken.com>
11379
11380 * custom.el (custom--inhibit-theme-enable): Make it affect only
11381 custom-theme-set-variables and custom-theme-set-faces.
11382 (provide-theme): Ignore custom--inhibit-theme-enable.
11383 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11384 (custom-enabling-themes): Delete variable.
d86d2721
SM
11385 (enable-theme): Accept only loaded themes as arguments.
11386 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11387 (custom-enabled-themes): Forbid themes from setting this.
11388 Eliminate use of custom-enabling-themes.
11389 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11390
af896da6
LL
113912011-03-21 Leo Liu <sdl.web@gmail.com>
11392
11393 * ido.el (ido-read-internal): Add ido-selected to history instead
11394 of user input.
11395
78f64af0
SM
113962011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11397
11398 * subr.el (deferred-action-list, deferred-action-function):
11399 Mark obsolete.
11400
b16ac1ec
LL
114012011-03-21 Leo Liu <sdl.web@gmail.com>
11402
810f7698
LL
11403 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11404 change on 2011-02-13 (bug#8309).
11405
b16ac1ec
LL
11406 * minibuffer.el (read-file-name-function): Change default value.
11407 (read-file-name--defaults): Rename from read-file-name-defaults.
11408 (read-file-name-default): Rename from read-file-name.
11409 (read-file-name): Call read-file-name-function.
11410
4e05e67e
GM
114112011-03-21 Glenn Morris <rgm@gnu.org>
11412
11413 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11414 Doc fixes.
11415
4359915b
CY
114162011-03-21 Chong Yidong <cyd@stupidchicken.com>
11417
11418 * cus-theme.el: Add missing provide statement.
11419 (customize-create-theme): Extract theme value correctly.
11420 (custom-theme-visit-theme): Autoload.
11421 (customize-create-theme): Prompt before inserting default faces.
11422
1fe275ee
JB
114232011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11424
11425 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11426 units and musical notes.
11427
cd394be1 114282011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11429
11430 * ido.el (ido-read-internal): Use completing-read-default.
11431 (ido-completing-read): Fix compatibility with completing-read.
11432
7d476bde
CO
114332011-03-20 Christian Ohler <ohler@gnu.org>
11434
11435 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11436 (ert-delete-all-tests): Use `called-interactively-p' rather than
11437 `interactive-p'.
11438 (ert--make-xrefs-region): Respect END.
11439
fe0fb33e
CY
114402011-03-19 Chong Yidong <cyd@stupidchicken.com>
11441
ff854b0b
CY
11442 * dired-aux.el (dired-create-directory): Signal an error if the
11443 directory already exists (Bug#8246).
11444
fe0fb33e
CY
11445 * facemenu.el (list-colors-display): Call list-faces-display
11446 inside with-help-window.
11447 (list-colors-print): Use display property to align the final
11448 column, instead of checking window-width.
11449
576bce32
EZ
114502011-03-19 Eli Zaretskii <eliz@gnu.org>
11451
4d61f28d 11452 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11453 windows-nt systems.
11454 (emerge-protect-metachars): Quote correctly for ms-dos and
11455 windows-nt systems.
11456
89c41d68 114572011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11458
11459 * info.el (info-initialize): Replace all uses of `:' with
11460 path-separator for compatibility with non-Unix systems.
11461 Cache quoting of path-separator. (Bug#8258)
11462
b14e3e21 114632011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11464
11465 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11466 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11467 (mouse-avoidance-mode): Fix typos in docstrings.
11468
4525ce3e
CY
114692011-03-19 Chong Yidong <cyd@stupidchicken.com>
11470
11471 * startup.el (package-subdirectory-regexp): Move from package.el.
11472 Omit \\` and \\', and let callers add them.
11473
11474 * emacs-lisp/package.el (package-strip-version)
11475 (package-load-all-descriptors): Add \\` and \\' to
11476 package-subdirectory-regexp before using it.
11477 (package-untar-buffer): New arg DIR; ensure that file untars only
11478 into this expected directory. Remove superfluous delete-region.
11479 (package-unpack): Caller changed.
11480 (package-tar-file-info): Use package-subdirectory-regexp.
11481
a904a09a 114822011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11483
a904a09a
SM
11484 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11485 diff-mode-shared-map (bug#8284).
11486 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11487
114882011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11489
11490 * calendar/time-date.el (format-seconds): Use assoc instead of
11491 assoc-string, since assoc-string doesn't exist in XEmacs.
11492
171fc304
JB
114932011-03-17 Juanma Barranquero <lekktu@gmail.com>
11494
11495 * custom.el (custom-known-themes): Reflow docstring.
11496 (custom-theme-load-path): Fix typo in docstring.
11497 (load-theme): Fix typo in error message.
11498 (custom-available-themes, custom-variable-theme-value):
11499 Use `let', not `let*'.
11500
d71990a1
JB
115012011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11502
11503 * calc/README: Mention inclusion of musical notes.
11504
11505 * calc/calc-units.el (calc-lu-quant): Rename from
11506 `calc-logunits-quantity'.
11507 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11508 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11509 (calc-db): Rename from `calc-dblevel'.
11510 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11511 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11512 (calc-np): Rename from `calc-nplevel'.
11513 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11514 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11515 (calc-lu-plus): Rename from `calc-logunits-add'.
11516 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11517 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11518 (calc-lu-minus): Rename from `calc-logunits-sub'.
11519 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11520 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11521 (calc-lu-times): Rename from `calc-logunits-mul'.
11522 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11523 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11524 (calc-lu-divide): Rename from `calc-logunits-div'.
11525 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11526 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11527
11528 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11529 functions being autoloaded.
11530
11531 * calc/calc.el (calc-lu-power-reference): Rename from
11532 `calc-logunits-power-reference'.
11533 (calc-lu-field-reference): Rename from
11534 `calc-logunits-field-reference'.
11535
7a71b18d
GM
11536 * calc/calc-help.el (calc-l-prefix-help):
11537 Mention musical note functions.
d71990a1 11538
40c2934b
SM
115392011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * minibuffer.el (completion-all-sorted-completions):
11542 Use :completion-cycle-penalty text property if present.
11543
b0911414
KM
115442011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11545
11546 * allout.el (allout-yank-processing): Adjust for new rebulleting
11547 regime so bullet being yanked is used without prompting the user
11548 for a choice.
11549
8a05b668
JB
115502011-03-16 Juanma Barranquero <lekktu@gmail.com>
11551
11552 * startup.el (command-line): Warn the user that _emacs is deprecated.
11553
5ba5fb81
JB
115542011-03-16 Juanma Barranquero <lekktu@gmail.com>
11555
11556 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11557 (delphi-verbose, delphi-comment-face, delphi-string-face)
11558 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11559 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11560 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11561 (delphi-new-comment-line, delphi-font-lock-defaults)
11562 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11563 Fix typos in docstrings.
11564
2dab465b
KM
115652011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11566
5ba5fb81 11567 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11568 Invert the roles of character and string values for INSTEAD, so a
11569 string is used for the more common case of a defaulting prompt.
11570
0adf5618
SM
115712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * progmodes/ruby-mode.el (ruby-backward-sexp):
11574 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11575 * play/gamegrid.el (gamegrid-make-face):
11576 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11577 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11578 * notifications.el (notifications-notify):
11579 * net/xesam.el (xesam-search-engines):
11580 * net/quickurl.el (quickurl-list-insert):
11581 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11582
d72700e5
CY
115832011-03-15 Chong Yidong <cyd@stupidchicken.com>
11584
11585 * startup.el (command-line): Update package subdirectory regexp.
11586
49c5410a
SM
115872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11588
c6eee9aa
SM
11589 * allout.el (allout-abbreviate-flattened-numbering)
11590 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11591
49c5410a
SM
11592 * subr.el (read-char-choice): Only show the cursor after the prompt,
11593 not after the answer.
11594
047b2bb9
KR
115952011-03-15 Kevin Ryde <user42@zip.com.au>
11596
11597 * help-fns.el (variable-at-point): Skip leading quotes, if any
11598 (bug#8253).
11599
0a57d256
SM
116002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11601
11602 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11603 warning message.
11604
77c992bc
MA
116052011-03-14 Michael Albinus <michael.albinus@gmx.de>
11606
11607 * shell.el (shell): When called interactively, offer to change the
11608 shell file name on remote hosts.
11609
eebc475d
TZ
116102011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11611
11612 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11613 integration for LDAP parameters. The host, base, user or binddn,
11614 and secret tokens can be specified in a netrc file, for instance.
11615 This is optional because an `auth-source' parameter must be
11616 specified in the search attributes.
11617
9d05d1ba
JB
116182011-03-13 Juanma Barranquero <lekktu@gmail.com>
11619
11620 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11621
09d9db2c
GM
116222011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11625 into declaration. Remove redundant and harmful binding.
11626
116272011-03-12 Eli Zaretskii <eliz@gnu.org>
11628
11629 * files.el (file-ownership-preserved-p): Pass `integer' as an
11630 explicit 2nd argument to `file-attributes'. If the file's owner
11631 is the Administrators group on Windows, and the current user is
11632 Administrator, consider that a match.
11633
11634 * server.el (server-ensure-safe-dir): Consider server directory
11635 safe on MS-Windows if its owner is the Administrators group while
11636 the current Emacs user is Administrator. Use `=' to compare
11637 numerical UIDs, since they could be integers or floats.
11638
219bd536
JB
116392011-03-12 Juanma Barranquero <lekktu@gmail.com>
11640
11641 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11642
f3afd36b
MA
116432011-03-12 Michael Albinus <michael.albinus@gmx.de>
11644
11645 Sync with Tramp 2.2.1.
11646
11647 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11648
11649 * net/trampver.el: Update release number.
11650
3aaaa6f1
SM
116512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11652
94642599
SM
11653 * progmodes/compile.el (compilation--previous-directory): Fix up
11654 various nil/dead-marker mismatches (bug#8014).
11655 (compilation-directory-properties, compilation-error-properties):
11656 Don't call it at a position past the one we're about to change.
11657
3aaaa6f1
SM
11658 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11659 Disable obsolescence warnings in the file that declares it.
11660
14239447
KM
116612011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11662
099c39a4
JB
11663 * allout-widgets.el (allout-widgets-tally):
11664 Initialize allout-widgets-tally as a hash table rather than nil to
11665 prevent mode-line redisplay warnings. Also, clarify the module
11666 description and fix a comment typo.
14239447 11667
135e287c
JB
116682011-03-11 Juanma Barranquero <lekktu@gmail.com>
11669
11670 * help-fns.el (describe-variable): Don't complete keywords.
11671 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11672
ffbf300e
CY
116732011-03-10 Chong Yidong <cyd@stupidchicken.com>
11674
ba08b241
CY
11675 * emacs-lisp/package.el (package-version-join): Impose a standard
11676 string representation for pre/alpha/beta version lists.
11677 (package-unpack-single): Standardize the directory name by passing
11678 it through package-version-join.
11679 (package-strip-rcs-id): Accept any version string that does not
11680 signal an error in version-to-list.
ffbf300e 11681
f346fd6b
MA
116822011-03-10 Michael Albinus <michael.albinus@gmx.de>
11683
11684 * simple.el (delete-trailing-whitespace): Return nil for the
11685 benefit of `write-file-functions'.
11686
ccb55d27
GM
116872011-03-10 Glenn Morris <rgm@gnu.org>
11688
5ceaac0c
GM
11689 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11690
02da65ff
GM
11691 * vc/vc-git.el (vc-git-program): New option.
11692 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11693 (vc-git--call): Use it.
11694
b2f603cc
GM
11695 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11696
5772caab
GM
11697 * cus-edit.el (Custom-newline): If no button at point, look
11698 for a subgroup button at start-of-line. (Bug#2298)
11699
ccb55d27
GM
11700 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11701
ec6ecaed
JD
117022011-03-10 Julien Danjou <julien@danjou.info>
11703
11704 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11705 `cursor-type' is nil.
11706
9d5aa01d
JB
117072011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11708
11709 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11710
b6a5875b
KM
117112011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11712
7a71b18d 11713 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11714 preserves the existing header prefix, rebulleting it if necessary,
11715 rather than replacing it. This is necessary for proper operation
11716 of cooperative addons like allout-widgets.
1154d12e
JB
11717 (allout-make-topic-prefix, allout-rebullet-heading):
11718 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11719 value as alternate bullet to be used, instead of prompting the user
11720 for a bullet character.
b6a5875b 11721
ee545c35
MA
117222011-03-09 Michael Albinus <michael.albinus@gmx.de>
11723
d86d2721
SM
11724 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11725 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11726 `tramp-default-port'.
11727
c47971d7
DD
117282011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11729
11730 * net/rcirc.el (rcirc-handler-001): Remove useless
11731 with-rcirc-process-buffer.
11732 (rcirc-check-auth-status): Swap arguments to string-match.
11733
13522cb4
GM
117342011-03-09 Glenn Morris <rgm@gnu.org>
11735
0be6f4f1
GM
11736 * shell.el (shell-mode):
11737 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11738
13522cb4
GM
11739 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11740 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11741
515de2e3
CY
117422011-03-08 Chong Yidong <cyd@stupidchicken.com>
11743
11744 * emacs-lisp/package.el (package-refresh-contents)
11745 (package-menu-execute): Use condition-case-no-debug.
11746
b511b994
MA
117472011-03-08 Michael Albinus <michael.albinus@gmx.de>
11748
11749 * simple.el (shell-command-to-string): Use `process-file'.
11750
11751 * emacs-lisp/package.el (package-tar-file-info): Handle also
11752 remote files.
11753
d86d2721
SM
11754 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11755 Use `equal' for upload base check.
b511b994 11756
25bbfb31
AM
117572011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11758
11759 * textmodes/texinfo.el (texinfo-environments):
11760 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11761
be996521
GM
117622011-03-08 Glenn Morris <rgm@gnu.org>
11763
e9c8529f
GM
11764 * cus-start.el (cursor-in-non-selected-windows):
11765 Fix :set quoting oddness. (Bug#8192)
11766
be996521
GM
11767 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11768 in some setf expressions. (Bug#2159)
11769
2bb5649e
CY
117702011-03-08 Chong Yidong <cyd@stupidchicken.com>
11771
11772 * custom.el (custom-available-themes): Return themes in
11773 alphabetical order.
11774
33383987 11775See ChangeLog.15 for earlier changes.
e3d51b27
MR
11776
11777;; Local Variables:
11778;; coding: utf-8
e3d51b27
MR
11779;; End:
11780
acaf905b 11781 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11782
11783 This file is part of GNU Emacs.
11784
11785 GNU Emacs is free software: you can redistribute it and/or modify
11786 it under the terms of the GNU General Public License as published by
11787 the Free Software Foundation, either version 3 of the License, or
11788 (at your option) any later version.
11789
11790 GNU Emacs is distributed in the hope that it will be useful,
11791 but WITHOUT ANY WARRANTY; without even the implied warranty of
11792 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11793 GNU General Public License for more details.
11794
11795 You should have received a copy of the GNU General Public License
11796 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.