* lisp/net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
15360934
LL
12012-03-18 Leo Liu <sdl.web@gmail.com>
2
3 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with
4 prefix.
5
d9a8eb66
EZ
62012-03-17 Eli Zaretskii <eliz@gnu.org>
7
8 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9 (ispell-choices-win-default-height, ispell-silently-savep)
10 (ispell-dictionary-alist, ispell-encoding8-command)
11 (ispell-check-version, ispell-aspell-find-dictionary)
12 (ispell-valid-dictionary-list, ispell-words-keyword)
13 (ispell-get-word, ispell-internal-change-dictionary)
14 (ispell-region, ispell-skip-region-list)
15 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
17 (ispell-message-text-end, ispell-message)
18 (ispell-buffer-local-parsing): Doc fix.
19
f02ff80d
J
202012-03-13 Jambunathan K <kjambunathan@gmail.com>
21
22 * htmlfontify.el: Add support for code block fontification for ODT
23 export (Bug #9914).
24 (hfy-optimisations): Define new option
25 `body-text-only'
26 (hfy-fontify-buffer): Honor above setting.
27 (hfy-begin-span, hfy-end-span): New routines factored out form
28 `hfy-fontify-buffer'.
29 (hfy-begin-span-handler, hfy-end-span-handler): New variables
30 that permit insertion of custom tags.
31 (hfy-fontify-buffer): Use above handlers.
32 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
33 (hfy-face-to-css): Re-defined to be a variable.
34 (hfy-compile-stylesheet): Modified. Allow stylesheet to be built
35 over multiple runs. This is made possible by having the caller let
36 bind a special variable `hfy-user-sheet-assoc'.
37 (htmlfontify-string): New defun.
38 (hfy-compile-face-map): Make sure that the last char in the
39 buffer is correctly fontified.
40 (hfy-face-resolve-face): Whitespace only change.
41
9ac7a13f
EZ
422012-03-17 Eli Zaretskii <eliz@gnu.org>
43
44 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
45 message more clear.
46
e2b5bdd7
LL
472012-03-16 Leo Liu <sdl.web@gmail.com>
48
49 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
50
2e492df3
AM
512012-03-16 Alan Mackenzie <acm@muc.de>
52
53 Further optimise the handling of large macros.
54
55 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
56 limit to a call of `c-literal-limits'.
57 (c-determine-+ve-limit): New function.
58 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an
59 `and'.
60 (c-guess-basic-syntax): In macros, restrict a search limit to
61 2000.
62 In CASE 5B, restrict a search limit to 500.
63 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
64
65 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
66 Restrict macro bounds to +-500 from after-change's BEG END.
67
50e94f0c
LL
682012-03-16 Leo Liu <sdl.web@gmail.com>
69
70 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
71
6f09f6ed
AH
722012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
73
74 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
75 `special-mode' setting of `buffer-read-only'. (Bug#11010)
76
c7e73d51
GM
772012-03-16 Glenn Morris <rgm@gnu.org>
78
da986230
GM
79 * view.el (view-buffer, view-buffer-other-window)
80 (view-buffer-other-frame): Doc fixes re special mode-class.
81
0835f01e
GM
82 * subr.el (eval-after-load): If named feature is provided not from
83 a file, run after-load forms. (Bug#10946)
84
c7e73d51
GM
85 * calendar/calendar.el (calendar-insert-at-column):
86 Handle non-unit-width characters a bit better. (Bug#10978)
87
3f2eafd1
CY
882012-03-15 Chong Yidong <cyd@gnu.org>
89
90 * emacs-lisp/ring.el (ring-extend): New function.
91 (ring-insert+extend): Extend the ring correctly (Bug#11019).
92
93 * comint.el (comint-read-input-ring)
94 (comint-add-to-input-history): Grow comint-input-ring lazily.
95
103af3fe
SM
962012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
97
663b1677
SM
98 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
99 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
100
103af3fe
SM
101 * imenu.el: Fix multiple inheritance breakage (bug#9199).
102 (imenu-add-to-menubar): Don't add a redundant index.
103 (imenu-update-menubar): Handle a dynamically composed keymap.
104
899cb7cb
KY
1052012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
106
107 * mail/sendmail.el (mail-encode-header):
108 Bind rfc2047-encode-encoded-words to nil.
109
3809f91d
GM
1102012-03-13 Glenn Morris <rgm@gnu.org>
111
112 * calendar/calendar.el (calendar-string-spread):
113 Handle non-unit-width characters a bit better. (Bug#10978)
114
9e345a01
LL
1152012-03-13 Leo Liu <sdl.web@gmail.com>
116
117 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
118 directory and file as argument (Bug#10822).
119
4a07df36
KS
1202012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
121
122 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
123 For dynamically generated code, follow $PC.
124 (gdb-disassembly-handler-custom): Handle no function name case.
125
4aaa9356
TL
1262012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
127
128 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
129 * emulation/ws-mode.el (ws-query-replace):
130 * sort.el (sort-regexp-fields):
131 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
132
225979da
SM
1332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * dabbrev.el: Fix cycle completion order (bug#10963).
136 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
137 (dabbrev-completion): Don't use an obarray; provide
138 a cycle-sort-function.
139
e2f1fdab
LL
1402012-03-12 Leo Liu <sdl.web@gmail.com>
141
142 * simple.el (kill-new): Use equal-including-properties for
143 comparison.
144 (kill-do-not-save-duplicates): Doc fix.
145
b19490ed
SM
1462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * dabbrev.el: Fix cycle completion (bug#10963).
149 Use lexical binding and wrap to 80 columns.
150 (dabbrev-completion): Delay computing the list of completions.
151
4b05d722
KH
1522012-03-12 Kenichi Handa <handa@m17n.org>
153
154 * international/quail.el (quail-insert-kbd-layout): Surround each
155 row by LRO and PDF instead of inserting many LRMs. Pad the left
156 and right of each non-spacing marks. Insert invisible space
157 between lower and upper characters to prevent composition.
158
dbbc2e69
SM
1592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * minibuffer.el (minibuffer-complete): Don't get confused when the
162 function is run twice via different commands (bug#10958).
163 (complete-with-action): Fix docstring.
164
292112ed
CY
1652012-03-12 Chong Yidong <cyd@gnu.org>
166
5d1ac394
CY
167 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
168 (nxml-completion-at-point-function): New function.
169 (nxml-mode): Use it.
170 (nxml-bind-meta-tab-to-complete-flag): Default to t.
171
292112ed
CY
172 * emacs-lisp/package.el (package-unpack, package-unpack-single):
173 Load generated autoloads file before byte compiling (Bug#10970).
174 (package--make-autoloads-and-compile): New helper fun.
175
4098f8f7
CS
1762012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
177
178 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
179
8f754691
MA
1802012-03-11 Michael Albinus <michael.albinus@gmx.de>
181
182 * autorevert.el (auto-revert-handler): Ensure, that
183 file-readable-p is applied only for local files or in
184 auto-revert-tail-mode.
185
e29ab36b
AS
1862012-03-11 Andreas Schwab <schwab@linux-m68k.org>
187
dbbc2e69
SM
188 * server.el (server-eval-at): Handle non-tcp connections.
189 Decode result string.
ad0bf5b6 190
e29ab36b
AS
191 * server.el (server-msg-size): New constant.
192 (server-reply-print): New function.
193 (server-eval-and-print): Use it.
194 (server-eval-at): Use server-quote-arg and server-unquote-arg.
195 Handle -print-nonl.
196
de5939ba
CS
1972012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
198
199 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
200 (Bug#10987).
201
0c93eabf
CY
2022012-03-11 Chong Yidong <cyd@gnu.org>
203
397a688f
CY
204 * simple.el (goto-line): Doc fix (Bug#9938).
205
2cc775f9
CY
206 * subr.el (save-window-excursion): Doc fix (Bug#9979).
207
0c93eabf
CY
208 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
209 when finished (Bug#10963).
210
c491fa41
MR
2112012-03-11 Martin Rudalics <rudalics@gmx.at>
212
213 * window.el (split-window-below): Fix bug in case where
214 split-window-keep-point is nil (Bug#10971).
215
300e8fa5
JL
2162012-03-11 Juri Linkov <juri@jurta.org>
217
218 * replace.el (replace-highlight): Set isearch-word to nil
219 unconditionally. (Bug#10887)
220
dbf6c5a1
EZ
2212012-03-10 Eli Zaretskii <eliz@gnu.org>
222
223 * net/mairix.el (mairix-replace-invalid-chars): Rename from
224 mairix-replace-illegal-chars; all callers changed. Don't remove
225 ^, ~, and = characters: they are meaningful in mairix search
226 specs.
227 (mairix-widget-create-query): Add usage information about mairix
228 search forms: negating words, searching for substrings, etc.
229
b9e501de
JP
2302012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
231
232 * international/fontset.el (font-encoding-alist): Add an entry for
233 ksx1001 (Bug#5667).
234
92795c91
RS
2352012-03-10 Richard Stallman <rms@gnu.org>
236
1694e6c1
RS
237 * mail/sendmail.el (mail-encode-header):
238 Set rfc2047-encode-encoded-words.
239
607e8555
RS
240 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
241
de3bc99a
RS
242 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
243 view buffer means not swapped.
244 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
245 (rmail-write-region-annotate): Error if real text has disappeared.
246
92795c91
RS
247 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
248
699bd04e
CY
2492012-03-10 Chong Yidong <cyd@gnu.org>
250
251 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
252 * emulation/cua-base.el (cua--init-keymaps):
253 Add delete-forward-char to remappings (Bug#9666).
699bd04e 254
570a1714
MR
2552012-03-10 Martin Rudalics <rudalics@gmx.at>
256
dbbc2e69
SM
257 * speedbar.el (speedbar-unhighlight-one-tag-line):
258 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 259
82dcf4e4
CY
2602012-03-10 Chong Yidong <cyd@gnu.org>
261
7a2c7ca7
CY
262 * minibuffer.el (completion-in-region, completion-help-at-point):
263 Give the completion field overlay a high priority (Bug#6830).
264
82dcf4e4
CY
265 * dired.el (dired-goto-file): Recognize absolute file name
266 listings (Bug#7126).
267 (dired-goto-file-1): New helper function.
268 (dired-toggle-read-only): Inhibit warnings.
269
052e28ac
MA
2702012-03-09 Michael Albinus <michael.albinus@gmx.de>
271
272 * net/dbus.el: (dbus-property-handler): Return empty array if
273 there are no properties.
274
95d5e396
LL
2752012-03-09 Leo Liu <sdl.web@gmail.com>
276
277 * savehist.el (savehist-printable): Stricter check for string
278 value (Bug#10937).
279
3f018d6d
EZ
2802012-03-09 Eli Zaretskii <eliz@gnu.org>
281
dbbc2e69
SM
282 * mail/smtpmail.el (smtpmail-send-it):
283 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
284 valid mbox format.
285
f7fd3d79
GM
2862012-03-09 Glenn Morris <rgm@gnu.org>
287
288 * files.el (dir-locals-find-file):
289 Don't check result is regular, readable.
290 (dir-locals-read-from-file): Demote errors.
291
6ff6e72f
EZ
2922012-03-08 Eli Zaretskii <eliz@gnu.org>
293
dbbc2e69
SM
294 * international/quail.el (quail-insert-kbd-layout):
295 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
296 layout cell, to prevent their reordering by bidi display engine.
297 For details, see the discussion in
298 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
299
9cec7834
AM
3002012-03-08 Alan Mackenzie <acm@muc.de>
301
302 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
303 the starting position; make it extend the marked region when
304 invoked repeatedly - all under appropriate circumstances.
305 Fixes bugs #5525, #10906.
306
9a40b8d4
GM
3072012-03-08 Glenn Morris <rgm@gnu.org>
308
309 * files.el (locate-dominating-file, dir-locals-find-file):
310 Undo 2012-03-06 change.
311
7a08ed35
EZ
3122012-03-07 Eli Zaretskii <eliz@gnu.org>
313
dbbc2e69
SM
314 * international/quail.el (quail-help):
315 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
316 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
317 for the reason.
318
5aca4f71 3192012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
320
321 Avoid superfluous registering of signals. (Bug#10807)
322
323 * notifications.el (notifications-on-action-object)
324 (notifications-on-close-object): New defvars.
325 (notifications-on-action-signal, notifications-on-closed-signal):
326 Unregister the signal if not needed any longer.
327 (notifications-notify): Register `notifications-action-signal' or
328 `notifications-closed-signal', if :on-action or :on-close has been
329 passed as argument.
330
78e8b10a
CY
3312012-03-07 Chong Yidong <cyd@gnu.org>
332
333 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
334 non-X platforms.
335
69481eb8
GM
3362012-03-06 Glenn Morris <rgm@gnu.org>
337
338 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
339 (x-disown-selection-internal, x-get-selection-internal):
340 Doc fix (add arglist signatures). (Bug#10783)
341
133b8e11
KS
3422012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
343
344 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
345 Handle breakpoints with no "type".
346
99a83064
GM
3472012-03-06 Glenn Morris <rgm@gnu.org>
348
349 * files.el (locate-dominating-file): Add optional predicate argument.
350 (dir-locals-find-file): Make use of above change.
351
17798e78
TTN
3522012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
353
354 * info.el (Info-insert-dir): Also try "dir.gz".
355
eb182446
GM
3562012-03-06 Glenn Morris <rgm@gnu.org>
357
8f2114ee
GM
358 * files.el (dir-locals-find-file):
359 Ignore non-readable or non-regular files. (Bug#10928)
360
eb182446
GM
361 * files.el (locate-dominating-file): Doc fix.
362
24679323
AS
3632012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
364
365 * calendar/calendar.el (calendar-set-mode-line):
366 `getenv' returns a string. (Bug#10951)
367
01d972a9
LL
3682012-03-05 Leo Liu <sdl.web@gmail.com>
369
109aa8a9
LL
370 * simple.el (backward-delete-char-untabify): Constrain point to
371 field (Bug#10939).
372
01d972a9
LL
373 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
374
10607bea
CY
3752012-03-05 Chong Yidong <cyd@gnu.org>
376
377 * simple.el (count-words): If called from Lisp, return the word
378 count, for symmetry with `count-lines'. Arglist changed.
379 (count-words--message): Args changed. Consolidate counting code
380 from count-words and count-words-region.
381 (count-words-region): Caller changed.
382 (count-lines-region): Make it an obsolete alias.
383
5dd11cfe
TH
3842012-03-04 Tassilo Horn <tassilo@member.fsf.org>
385
386 * saveplace.el (save-place-to-alist)
387 (save-place-ignore-files-regexp): Allow value nil to disable this
388 feature.
389
c349f4e6
CY
3902012-03-04 Chong Yidong <cyd@gnu.org>
391
392 * faces.el (face-spec-reset-face): For the default face, reset the
393 attributes to default values (Bug#10748).
394
e627be4c
LMI
3952012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
396
397 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
398 previous patch: Check `message-send-mail-function', and not the
399 default function (bug#10897).
400
ebeabff4
MA
4012012-03-04 Michael Albinus <michael.albinus@gmx.de>
402
a41a6cf4
MA
403 * notifications.el (notifications-on-action-signal)
404 (notifications-on-closed-signal): Check for unique service name of
405 incoming event. Fix error in removing entry.
ebeabff4 406 (top): Register for signals with wildcard service name.
a41a6cf4 407 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 408
c1ca42b4
CY
4092012-03-04 Chong Yidong <cyd@gnu.org>
410
411 * cus-start.el: Make x-select-enable-clipboard-manager
412 customizable.
413
ea16568d
GM
4142012-03-04 Glenn Morris <rgm@gnu.org>
415
416 * abbrev.el (copy-abbrev-table, abbrev-table-p)
417 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
418 (expand-abbrev, define-abbrev-table): Doc fixes.
419
fbae4637
LMI
4202012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
421
422 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
423 `message-default-send-mail-function' and not `send-mail-function'
424 when doing the prompting for `sendmail-query-once' before sending
425 in Message buffers (bug#10897).
426
a1e7225c
LMI
427 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
428 This is inconsistent with all the other stream functions, which leave
429 the setting up to the higher levels (if so wanted) (bug#10931).
430
56d093a9
AM
4312012-03-02 Alan Mackenzie <acm@muc.de>
432
433 Depessimize the handling of very large macros.
434
435 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
436 (c-macro-cache-syntactic): New variables to implement a one
437 element macro cache.
438 (c-invalidate-macro-cache): New function.
439 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
440 Adapt to use the new cache.
441 (c-state-safe-place): Use better the cache of safe positions.
442 (c-state-semi-nonlit-pos-cache)
443 (c-state-semi-nonlit-pos-cache-limit):
444 New variables for...
445 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
446 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
447 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
448 Use c-state-semi-safe-place.
56d093a9 449
dbbc2e69
SM
450 * progmodes/cc-langs.el (c-get-state-before-change-functions):
451 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 452
817e5c3d
MA
4532012-03-02 Michael Albinus <michael.albinus@gmx.de>
454
dbbc2e69
SM
455 * jka-compr.el (jka-compr-call-process):
456 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
457 not remote.
458
a032a702
MA
4592012-03-01 Michael Albinus <michael.albinus@gmx.de>
460
461 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
462 access of FILE2, if FILE1 does not exist.
463
99a54f21
MA
464 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
465 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
466
467 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
468 Add "PAGER=" to `process-environment'.
469
f6561e1f
MM
4702012-03-01 Michael R. Mauger <mmaug@yahoo.com>
471
472 * progmodes/sql.el: Bug fix
473 (sql-get-login-ext): Save login values in globals.
474 (sql-get-login): Use new version of `sql-get-login-ext'.
475 (sql-interactive-mode): Set global `sql-connection' to nil.
476 (sql-connect): Set global values for connection.
477 (sql-product-interactive): Save global values as buffer local.
478
2d44d9cc
LL
4792012-02-29 Leo Liu <sdl.web@gmail.com>
480
481 * abbrev.el (define-abbrevs): Reset sys to nil.
482
96b49301 4832012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
484
bf7f9bc5
JB
485 * files.el (file-equal-p): Rename from `files-equal-p'.
486 Return nil when one or both files don't exist.
96b49301 487 (file-subdir-of-p): Now only top directory must exists,
488 return nil if it doesn't.
bf7f9bc5
JB
489 (copy-directory): No need to test with `file-subdir-of-p' after
490 creating dir.
491 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
492 to `file-equal-p'.
96b49301 493
44e97401
GM
4942012-02-28 Glenn Morris <rgm@gnu.org>
495
496 * shell.el (shell-mode):
497 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
498 * play/landmark.el (landmark-font-lock-face-O):
499 * play/handwrite.el (handwrite):
500 * play/gomoku.el (gomoku-O):
501 * net/browse-url.el (browse-url-browser-display):
502 * international/mule.el (define-charset):
503 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
504 * filesets.el (filesets-find-file-delay):
505 * eshell/em-xtra.el (eshell-xtra):
506 * eshell/em-unix.el (eshell-grep):
507 * emulation/viper.el (viper-mode):
508 * emacs-lisp/regexp-opt.el (regexp-opt-group):
509 * emacs-lisp/easymenu.el (easy-menu-define):
510 * calendar/timeclock.el (timeclock-use-display-time):
511 * bs.el (bs-mode):
512 * bookmark.el (bookmark-save-flag):
513 Doc fix (standardize possessive apostrophe usage).
514
c98c6276
CY
5152012-02-27 Chong Yidong <cyd@gnu.org>
516
bf7f9bc5
JB
517 * emulation/viper-cmd.el (viper-intercept-ESC-key):
518 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 519
c98c6276
CY
520 * font-lock.el (font-lock-specified-p): Rename from
521 font-lock-spec-present. Callers changed.
522
9c62cd04 5232012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 524
bf7f9bc5
JB
525 * emacs-lisp/package.el (package-compute-transaction):
526 Handle holding a package version to t in package-load-list.
8ac9e529 527
530739c9
MA
5282012-02-26 Michael Albinus <michael.albinus@gmx.de>
529
530 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
531 (tramp-get-inode, tramp-get-device): Use cached values.
532
487915d7
AM
5332012-02-26 Alan Mackenzie <acm@muc.de>
534
535 Check there is a font-lock specification before doing initial
536 fontification.
537
538 * font-core.el (font-lock-mode): Move the conditional from
539 :after-hook to font-lock-initial-fontify.
540 (font-lock-default-function): Move the check for a specification
541 to font-lock-spec-present.
542
543 * font-lock.el (font-lock-initial-fontify): call ...
544 (font-lock-spec-present): New function.
545
4fd96557
JB
5462012-02-26 Jim Blandy <jimb@red-bean.com>
547
548 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
549 (gdb-send): Apply it to the operand of the '-interpreter-exec
550 console' command, so that we can pass arguments with (say) quotes
551 in them. Store exact string sent in gdb-debug-log (Bug#10765).
552
9a4888c0
CY
5532012-02-26 Chong Yidong <cyd@gnu.org>
554
07498861
CY
555 * help-fns.el (describe-function-1): Clarify description of
556 remapping (Bug#10844).
557
9a4888c0
CY
558 * files.el (files-equal-p): Doc fix.
559 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
560 and quit the loop once a mismatch is found.
561
ea8fb88d
JB
5622012-02-25 Juanma Barranquero <lekktu@gmail.com>
563
564 * bs.el (bs--show-with-configuration): Don't throw an error
565 if the window cannot be split; otherwise, subsequent calls to
566 bs-show fail, restoring a stale window config. (Bug#10882)
567
525795c1
JD
5682012-02-25 Jan Djärv <jan.h.d@swipnet.se>
569
570 * term/ns-win.el (global-map): Bind ns-drag-file to
571 ns-find-file (Bug#5855, Bug#10050).
572
f008086f
AS
5732012-02-25 Andreas Schwab <schwab@linux-m68k.org>
574
575 * calendar/parse-time.el (parse-time-string): Allow extractor to
576 return nil.
577
a3fcfa99
MA
5782012-02-25 Michael Albinus <michael.albinus@gmx.de>
579
91027d08
JB
580 * net/tramp.el (tramp-file-name-for-operation):
581 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
582
583 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
584 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
585 Add COPY-CONTENTS argument.
a3fcfa99 586
67b0de11
CY
5872012-02-25 Chong Yidong <cyd@gnu.org>
588
589 Add custom groups for VC backends, for consistency with vc-bzr.
590
591 * vc/vc-arch.el (vc-arch):
592 * vc/vc-cvs.el (vc-cvs):
593 * vc/vc-git.el (vc-git):
594 * vc/vc-hg.el (vc-hg):
595 * vc/vc-mtn.el (vc-mtn):
596 * vc/vc-rcs.el (vc-rcs):
597 * vc/vc-sccs.el (vc-sccs):
598 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
599 All relevant defcustoms reassigned.
600
3c9dfce6
CY
6012012-02-25 Chong Yidong <cyd@gnu.org>
602
1339bf43
CY
603 * newcomment.el (comment-styles): Add autoload (Bug#10868).
604
3c9dfce6
CY
605 * term/x-win.el (x-initialize-window-system): Reduce default for
606 x-selection-timeout to 5 seconds (Bug#8869).
607
53a46cd0 6082012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 609
53a46cd0 610 * files.el (file-subdir-of-p): Fix typo.
14a8a663 611
25b2e303 6122012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
613
ec70a47d
GM
614 * files.el (files-equal-p, file-subdir-of-p): New functions.
615 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 616 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
617 * dired-aux.el (dired-copy-file-recursive): Same.
618 (dired-create-files): Modify destination when source is equal to
619 dest when copying files.
53a46cd0 620 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 621
914260cd
MA
6222012-02-24 Michael Albinus <michael.albinus@gmx.de>
623
624 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
625 (Bug#10874)
626
2cb228f7
AM
6272012-02-23 Alan Mackenzie <acm@muc.de>
628
629 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
630 parameter "after-hook:" to allow the expansion to run code after
631 the execution of the mode hooks.
632
633 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 634 from font-lock-mode-internal.
2cb228f7 635
91027d08 636 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
637 :after-hook.
638
8f0fde21
SM
6392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
640
3e88618b
SM
641 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
642 (completion--cache-all-sorted-completions): New function.
643 (completion-all-sorted-completions): Use it.
644 (completion--do-completion, minibuffer-force-complete):
645 Use it to re-instate the flush hook.
646
8f0fde21
SM
647 * icomplete.el (icomplete-completions): Replace last fix with a better
648 one (bug#10850).
649
8e911f6f
DG
6502012-02-23 Dmitry Gutov <dgutov@yandex.ru>
651
652 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
653 when it might call us back infinitely (bug#10797).
654
49fe4321
GM
6552012-02-23 Glenn Morris <rgm@gnu.org>
656
657 * minibuffer.el (completion-category-overrides): Doc fix.
658
b291b572
SM
6592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
660
661 * minibuffer.el (completion-table-with-context): Fix inf-loop.
662 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
663
31a9ef2e
GM
6642012-02-23 Glenn Morris <rgm@gnu.org>
665
5e6e6794 666 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
667 (authors-obsolete-files-regexps, authors-ignored-files)
668 (authors-ambiguous-files, authors-renamed-files-alist):
669 Add more entries.
670
0bd1e074
JL
6712012-02-23 Juri Linkov <juri@jurta.org>
672
673 * isearch.el (isearch-occur): Sync interactive spec with occur's
674 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
675
b617673c
JL
676 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
677
19e9789e
JL
6782012-02-22 Juri Linkov <juri@jurta.org>
679
680 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
681 (ucs-insert): Doc fix. Check for hex digits in the string.
682 Don't display `nil' in the error message. (Bug#10857)
683
f41ce09d
AM
6842012-02-22 Alan Mackenzie <acm@muc.de>
685
7a71b18d 686 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 687
ac2eceee
GM
6882012-02-22 Glenn Morris <rgm@gnu.org>
689
690 * ffap.el (ffap-c-path):
691 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
692
abd1f678
CY
6932012-02-22 Chong Yidong <cyd@gnu.org>
694
695 * custom.el (load-theme): Doc fix.
696
f25aef2e
GM
6972012-02-22 Glenn Morris <rgm@gnu.org>
698
699 * dired-x.el (dired-guess-shell-alist-default):
700 Remove escape sequences from nroff output. (Bug#172)
701
5f8dc2ca
GM
7022012-02-21 Glenn Morris <rgm@gnu.org>
703
6ff86ec4
GM
704 * vc/emerge.el (emerge-defvar-local):
705 Set `permanent-local' property rather than unused `preserved'.
706
be3223a3 707 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
708 (picture-mode-map): Use it. (Bug#10860)
709 (picture-mode): Doc fix.
710
3fe58f4f
JB
7112012-02-21 Juanma Barranquero <lekktu@gmail.com>
712
713 * newcomment.el (uncomment-region-default): Remove unused binding.
714
f9a998c3
GM
7152012-02-21 Glenn Morris <rgm@gnu.org>
716
717 * textmodes/picture.el (picture-motion, picture-motion-reverse)
718 (picture-self-insert, picture-tab-chars): Doc fix.
719 (picture-mode-map): Fix C-a, C-e.
720
c6029348
GM
7212012-02-20 Glenn Morris <rgm@gnu.org>
722
723 * emacs-lisp/authors.el (authors-aliases): Add another entry.
724
ab1ce9d7
LL
7252012-02-20 Leo Liu <sdl.web@gmail.com>
726
727 * icomplete.el (icomplete-completions): Check FROM arg before
728 passing to substring (Bug#10850).
729
0fd40f89
CY
7302012-02-19 Chong Yidong <cyd@gnu.org>
731
732 * comint.el: Require ansi-color.
733 (comint-output-filter-functions): Add ansi-color-process-output.
734
735 * ansi-color.el: Don't set comint-output-filter-functions; it is
736 now in the initial value defined in comint.el.
737 (ansi-color-apply-face-function): New variable.
738 (ansi-color-apply-on-region): Use it.
739 (ansi-color-apply-overlay-face): New function.
740
741 * shell.el (shell): No need to require ansi-color.
742 (shell-mode): Use ansi-color-apply-face-function to highlight
743 color escapes using font-lock-face property (Bug#10835).
744
20af2394
CY
7452012-02-19 Chong Yidong <cyd@gnu.org>
746
747 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
748 mode-line formats (Bug#10839).
749
e23a3fbe
GM
7502012-02-18 Glenn Morris <rgm@gnu.org>
751
b474519e
GM
752 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
753
754 * mail/undigest.el (unforward-rmail-message): Doc fix.
755
e23a3fbe
GM
756 * saveplace.el (save-place-ignore-files-regexp): Add :version.
757
57939ff4
EZ
7582012-02-18 Eli Zaretskii <eliz@gnu.org>
759
760 * international/characters.el (script-list): Sync with the latest
761 Unicode Character Database.
762
0c23686e
AS
7632012-02-18 Andreas Schwab <schwab@linux-m68k.org>
764
765 * international/titdic-cnv.el: Remove duplicate coding tag.
766 * language/cham.el: Likewise.
767 * language/tai-viet.el: Likewise.
768
6818b449
GM
7692012-02-18 Glenn Morris <rgm@gnu.org>
770
771 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
772 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
773 (calendar-bahai-all-holidays-flag, calendar-other-dates):
774 * calendar/diary-lib.el (diary-abbreviated-year-flag):
775 * calendar/holidays.el (holiday-bahai-holidays)
776 (calendar-holidays, list-holidays):
777 Use utf-8 Bahá'í in doc-strings, menus, etc.
778
0311a3fc
TH
7792012-02-17 Tassilo Horn <tassilo@member.fsf.org>
780
781 * saveplace.el (save-place-ignore-files-regexp): New variable
782 allowing for excluding files from saving their location of point.
783 The default value matches the temporary commit message editing
784 files from Git, SVN, Bazaar, and Mercurial.
785 (save-place-to-alist): Use it.
786
eb864a71
LM
7872012-02-17 Lawrence Mitchell <wence@gmx.li>
788 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * newcomment.el (uncomment-region-default): Don't leave extra space
791 when an arg is provided (bug#8150).
792
ee0ce425
TZ
7932012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
794
eb864a71 795 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 796
95ddf442
GM
7972012-02-17 Glenn Morris <rgm@gnu.org>
798
799 * net/socks.el: Require network-stream. (Bug#10599)
800
48dd1e39 8012012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
802
803 * international/charprop.el:
804 * international/uni-name.el:
805 * international/uni-old-name.el:
806 * international/uni-comment.el: Regenerate.
807
d68cd087
GM
8082012-02-16 Glenn Morris <rgm@gnu.org>
809
810 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
811 Interactively in calendar buffer, give an error if not on a date.
812
13932042
GM
8132012-02-15 Glenn Morris <rgm@gnu.org>
814
815 * shell.el (shell-delimiter-argument-list):
816 Revert 2011-02-17 change. (Bug#8027)
817
c3a70e2b
CY
8182012-02-15 Chong Yidong <cyd@gnu.org>
819
60236b0d
CY
820 * minibuffer.el (completion-at-point-functions): Doc fix.
821
c3a70e2b
CY
822 * custom.el (defcustom): Doc fix; note use of defvar.
823
9f26dc24
GM
8242012-02-15 Glenn Morris <rgm@gnu.org>
825
826 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
827 Doc fixes.
828
6546b134
GM
8292012-02-14 Glenn Morris <rgm@gnu.org>
830
831 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
832
d29b2b4c
LI
8332012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
834
835 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
836 way the ports list is computed.
835bdcba
LI
837 (smtpmail-query-smtp-server): Prompt the user for a port number if
838 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 839
08dcdbc9
TZ
8402012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
841
842 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
843
2605051a
GM
8442012-02-13 Glenn Morris <rgm@gnu.org>
845
846 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
847
7ee99f32
TZ
8482012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
849
850 * net/gnutls.el (gnutls-trustfiles): New variable.
851 (gnutls-negotiate): Use it.
852
5f0af64f
LI
8532012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
854
855 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
856 does its stuff if Gnus is running.
857
c14fcc95
AM
8582012-02-13 Alan Mackenzie <acm@muc.de>
859
860 Fix a loop in c-set-fl-decl-start.
861
7a71b18d 862 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
863 c-backward-syntactic-ws actually moves backwards.
864
142b4d90
LL
8652012-02-13 Leo Liu <sdl.web@gmail.com>
866
867 * net/rcirc.el (rcirc-markup-attributes): Move point to the
868 beginning so that all \C-o chars are removed.
869
fa9958a6
TZ
8702012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
871
872 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
873 tag.
874
0bc5886a
AM
8752012-02-12 Alan Mackenzie <acm@muc.de>
876
877 Fix infinite loop with long macros.
878 * cc-engine.el (c-state-safe-place): Handle macros properly.
879
d4bd55e7
CY
8802012-02-12 Chong Yidong <cyd@gnu.org>
881
882 * window.el (display-buffer): Doc fix (Bug#10785).
883
66f3fe22
GM
8842012-02-12 Glenn Morris <rgm@gnu.org>
885
bd7da63e
GM
886 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
887 (x-disown-selection-internal, x-get-selection-internal):
888 Sync docs with the xselect.c versions.
889
66f3fe22
GM
890 * allout-widgets.el: Add missing license notice.
891
3e0d2fa7
GM
8922012-02-11 Glenn Morris <rgm@gnu.org>
893
cfecdf09
GM
894 * select.el (x-get-selection-internal, x-own-selection-internal)
895 (x-disown-selection-internal):
896 * x-dnd.el (x-get-selection-internal): Update declarations.
897
6d216d7f
GM
898 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
899
2bed3f04
GM
900 * window.el (window-sides-slots):
901 * tool-bar.el (tool-bar-position):
902 * term/xterm.el (xterm-extra-capabilities):
903 * ses.el (ses-self-reference-early-detection):
904 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
905 (verilog-auto-wire-type)
906 (verilog-auto-delete-trailing-whitespace)
907 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
908 (verilog-auto-tieoff-declaration):
909 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
910 (sql-oracle-statement-starters, sql-oracle-scan-on):
911 * progmodes/prolog.el (prolog-align-comments-flag)
912 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
913 (prolog-left-indent-regexp, prolog-paren-indent-p)
914 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
915 (prolog-types, prolog-mode-specificators)
916 (prolog-determinism-specificators, prolog-directives)
917 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
918 (prolog-electric-dot-flag)
919 (prolog-electric-dot-full-predicate-template)
920 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
921 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
922 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
923 (prolog-program-switches, prolog-prompt-regexp)
924 (prolog-debug-on-string, prolog-debug-off-string)
925 (prolog-trace-on-string, prolog-trace-off-string)
926 (prolog-zip-on-string, prolog-zip-off-string)
927 (prolog-use-standard-consult-compile-method-flag)
928 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
929 (prolog-imenu-max-lines, prolog-info-predicate-index)
930 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
931 (prolog-char-quote-workaround):
932 * progmodes/cc-vars.el (c-defun-tactic):
933 * net/tramp.el (tramp-encoding-command-interactive)
934 (tramp-local-end-of-line):
935 * net/soap-client.el (soap-client):
936 * net/netrc.el (netrc-file):
937 * net/gnutls.el (gnutls):
938 * minibuffer.el (completion-category-overrides)
939 (completion-cycle-threshold)
940 (completion-pcm-complete-word-inserts-delimiters):
941 * man.el (Man-name-local-regexp):
942 * mail/feedmail.el (feedmail-display-full-frame):
943 * international/characters.el (glyphless-char-display-control):
944 * eshell/em-ls.el (eshell-ls-date-format):
945 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
946 (lisp-lambda-list-keyword-parameter-indentation)
947 (lisp-lambda-list-keyword-parameter-alignment):
948 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
949 * dired-x.el (dired-omit-verbose):
950 * cus-theme.el (custom-theme-allow-multiple-selections):
951 * calc/calc.el (calc-highlight-selections-with-faces)
952 (calc-lu-field-reference, calc-lu-power-reference)
953 (calc-note-threshold):
954 * battery.el (battery-mode-line-limit):
955 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
956 (archive-7z-update):
957 * allout.el (allout-prefixed-keybindings)
958 (allout-unprefixed-keybindings)
959 (allout-inhibit-auto-fill-on-headline)
960 (allout-flattened-numbering-abbreviation):
961 * allout-widgets.el (allout-widgets-auto-activation)
962 (allout-widgets-icons-dark-subdir)
963 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
964 (allout-widgets-theme-dark-background)
965 (allout-widgets-theme-light-background)
966 (allout-widgets-item-image-properties-emacs)
967 (allout-widgets-item-image-properties-xemacs)
968 (allout-widgets-run-unit-tests-on-load)
969 (allout-widgets-time-decoration-activity)
970 (allout-widgets-hook-error-post-time)
971 (allout-widgets-track-decoration):
972 Add missing :version tags to new defcustoms and defgroups.
973
5fec1b8e
GM
974 * progmodes/sql.el (sql-ansi-statement-starters)
975 (sql-oracle-statement-starters): Add custom type.
976
3e0d2fa7
GM
977 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
978 (prolog-system-version): Give it a type.
979
90b671e2
EZ
9802012-02-11 Eli Zaretskii <eliz@gnu.org>
981
982 * term/pc-win.el (x-select-text, x-selection-owner-p)
983 (x-own-selection-internal, x-disown-selection-internal)
984 (x-get-selection-internal): Sync doc strings and argument lists
985 with xselect.c, common-win.el and x-win.el. (Bug#10783)
986
5eac0c02
LL
9872012-02-11 Leo Liu <sdl.web@gmail.com>
988
989 * progmodes/python.el (python-end-of-statement): Fix infinite
990 loop. (Bug#10788)
991
f82cb659
GM
9922012-02-10 Glenn Morris <rgm@gnu.org>
993
994 * international/mule-cmds.el (unify-8859-on-encoding-mode)
995 (unify-8859-on-decoding-mode): Properly mark as obsolete.
996
cc26d239
LI
9972012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
998
999 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1000 about SMTP before checking the From header.
1001
91027d08 1002 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1003 into own function for reuse by emacsbug.el.
1004
1be3ca5a
LL
10052012-02-10 Leo Liu <sdl.web@gmail.com>
1006
1007 * subr.el (condition-case-unless-debug): Rename from
1008 condition-case-no-debug. All callers changed.
1009 (with-demoted-errors): Fix caller.
1010
1011 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1012 * nxml/rng-valid.el (rng-do-some-validation):
1013 * emacs-lisp/package.el (package-refresh-contents)
1014 (package-menu-execute):
1015 * desktop.el (desktop-create-buffer):
91027d08 1016 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1017
b011fbfe
GM
10182012-02-10 Glenn Morris <rgm@gnu.org>
1019
b2096d72
GM
1020 * textmodes/bibtex.el:
1021 Add missing :version tags for new/changed defcustoms.
1022
b011fbfe
GM
1023 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1024
4c7e65bf
LI
10252012-02-09 Lars Ingebrigtsen <larsi@rusty>
1026
1027 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1028 (smtpmail-via-smtp): Use it, or fall back on the From address.
1029 (smtpmail-send-it): Ditto.
1030
f3934f6f
SM
10312012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1034 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1035 (byte-compile-tmp-var): New const.
1036 (byte-compile-defvar): Use it to minimize .elc size.
1037 Just use `defvar' rather than simulate it (bug#10761).
1038
a075a2c5
GM
10392012-02-09 Glenn Morris <rgm@gnu.org>
1040
cf3aa21b
GM
1041 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1042
354998cd
GM
1043 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1044 Add :version tags.
1045
83274125 1046 * progmodes/compile.el (compilation-first-column)
34c071c6 1047 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 1048
dab3703d
GM
1049 * vc/log-view.el (log-view-toggle-entry-display):
1050 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1051
3f88cd72
GM
1052 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1053 (report-emacs-bug-can-use-xdg-email):
1054 (report-emacs-bug-insert-to-mailer): Doc fixes.
1055 (report-emacs-bug): Message fix.
1056
d95b247d
GM
1057 * net/browse-url.el (browse-url-can-use-xdg-open)
1058 (browse-url-xdg-open): Doc fixes.
1059
a075a2c5
GM
1060 * electric.el (electric-indent-mode, electric-pair-mode)
1061 (electric-layout-rules, electric-layout-mode): Doc fixes.
1062 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1063
ffb6157e
MR
10642012-02-08 Martin Rudalics <rudalics@gmx.at>
1065
1066 * server.el (server-unselect-display): Don't inadvertently kill
1067 the current buffer. (Bug#10729)
1068
e1ac4066
GM
10692012-02-08 Glenn Morris <rgm@gnu.org>
1070
34e8a2da
GM
1071 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1072 (sql-list-table): Doc fixes.
1073
b4ac6e8c
GM
1074 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1075 Comment out (does nothing).
1076
e1ac4066
GM
1077 * completion.el (dynamic-completion-mode):
1078 * dirtrack.el (dirtrack-debug-mode):
1079 * electric.el (electric-layout-mode):
1080 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1081 * face-remap.el (text-scale-mode, buffer-face-mode):
1082 * iimage.el (iimage-mode):
1083 * image-mode.el (image-transform-mode):
1084 * minibuffer.el (completion-in-region-mode):
1085 * scroll-lock.el (scroll-lock-mode):
1086 * simple.el (next-error-follow-minor-mode):
1087 * tar-mode.el (tar-subfile-mode):
1088 * tooltip.el (tooltip-mode):
1089 * vcursor.el (vcursor-use-vcursor-map):
1090 * wid-browse.el (widget-minor-mode):
1091 * emulation/tpu-edt.el (tpu-edt-mode):
1092 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1093 * international/iso-ascii.el (iso-ascii-mode):
1094 * language/thai-util.el (thai-word-mode):
1095 * mail/supercite.el (sc-minor-mode):
1096 * net/goto-addr.el (goto-address-mode):
1097 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1098 * progmodes/cwarn.el (cwarn-mode):
1099 * progmodes/flymake.el (flymake-mode):
1100 * progmodes/glasses.el (glasses-mode):
1101 * progmodes/hideshow.el (hs-minor-mode):
1102 * progmodes/pascal.el (pascal-outline-mode):
1103 * textmodes/enriched.el (enriched-mode):
1104 * vc/smerge-mode.el (smerge-mode):
1105 Doc fixes (minor mode argument).
1106
5e0d957f
EZ
11072012-02-07 Eli Zaretskii <eliz@gnu.org>
1108
1109 * ls-lisp.el (ls-lisp-sanitize): New function.
1110 (ls-lisp-insert-directory): Use it to fix or remove any elements
1111 in file-alist with missing attributes. (Bug#4673)
1112
98d7371e
AM
11132012-02-07 Alan Mackenzie <acm@muc.de>
1114
1115 Fix spurious recognition of c-in-knr-argdecl.
1116
1117 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1118 putative K&R region.
1119
667ced3a
AM
11202012-02-07 Alan Mackenzie <acm@muc.de>
1121
eb864a71
LM
1122 * progmodes/cc-engine.el (c-forward-objc-directive):
1123 Prevent looping in "#pragma mark @implementation".
667ced3a 1124
5b77774d
MA
11252012-02-07 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * notifications.el (notifications-on-closed-signal): Make `reason'
1128 optional. (Bug#10744)
1129
af008560
GM
11302012-02-07 Glenn Morris <rgm@gnu.org>
1131
60d47423
GM
1132 * emacs-lisp/easy-mmode.el (define-minor-mode):
1133 Doc fixes for the macro and the mode it defines.
1134
dd605cc4
GM
1135 * image.el (imagemagick-types-inhibit): Doc fix.
1136
af008560
GM
1137 * cus-start.el (imagemagick-render-type): Add it.
1138
5cc59a37
LI
11392012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1140
1141 * progmodes/cc-mode.el
1142 (c-standard-font-lock-fontify-region-function): Set the default at
1143 load time, too, so that `font-lock-fontify-buffer' can be called
1144 without setting up the entire mode first. This fixes a bug in
1145 `mm-inline-text' with C MIME parts.
1146
9a6dd747
CY
11472012-02-06 Chong Yidong <cyd@gnu.org>
1148
2d16b285
CY
1149 * simple.el (list-processes--refresh): Delete exited processes
1150 (Bug#8094).
1151
171e9b6e
CY
1152 * comint.el (comint-next-prompt): next-single-char-property-change
1153 and prev-single-char-property-change never return nil (Bug#8657).
1154
9a6dd747
CY
1155 * custom.el (defcustom): Doc fix (Bug#9711).
1156
aa4589a7
CY
11572012-02-05 Chong Yidong <cyd@gnu.org>
1158
5c2a252f
CY
1159 * cus-edit.el (custom-variable-reset-backup): Quote the value
1160 before storing it in the customized-value property (Bug#6712).
4aab9006 1161 (custom-display): Add a customization type tag.
983b9602 1162 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1163
aa4589a7
CY
1164 * wid-edit.el (widget-field-value-get): New optional arg to
1165 suppress trailing whitespace truncation.
1166 (character): Use it (Bug#2689).
1167
1ff980ae
AS
11682012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1169
1170 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1171 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1172
03988c98
CY
11732012-02-05 Chong Yidong <cyd@gnu.org>
1174
eeb6cc88
CY
1175 * cus-edit.el (custom-variable-value-create): For mismatched
1176 types, show the current value (Bug#7600).
1177
03988c98
CY
1178 * custom.el (defcustom): Doc fix.
1179
f8cdeef0
GM
11802012-02-05 Glenn Morris <rgm@gnu.org>
1181
1182 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1183
0696d255
JB
11842012-02-05 Juanma Barranquero <lekktu@gmail.com>
1185
1186 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1187 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1188 (pp-last-sexp): Use `looking-at-p'.
1189
34c99998
GM
11902012-02-04 Glenn Morris <rgm@gnu.org>
1191
8f05da42
GM
1192 * files.el (revert-buffer):
1193 Doc fix (mention revert-buffer-in-progress-p).
1194
f160676e
GM
1195 * emacs-lisp/ert-x.el (ert-simulate-command):
1196 Check deferred-action-list (which is obsolete) is bound.
1197
c7291ad9
GM
1198 * subr.el (with-wrapper-hook): Doc fixes.
1199
34c99998
GM
1200 * simple.el (filter-buffer-substring-functions)
1201 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1202
6283a7d3
LL
12032012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1204
1205 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1206 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1207
e96e3013
LL
12082012-02-04 Leo Liu <sdl.web@gmail.com>
1209
1210 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1211
8ded50f2
GM
12122012-02-04 Glenn Morris <rgm@gnu.org>
1213
82ff1d13
GM
1214 * image.el (image-extension-data): Add obsolete alias.
1215
987a0a16
GM
1216 * isearch.el (isearch-update): Doc fix.
1217
ea32ef46
GM
1218 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1219
8ded50f2
GM
1220 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1221
eea14f31
GM
12222012-02-03 Glenn Morris <rgm@gnu.org>
1223
1224 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1225 (image-animate-timeout): Doc fix.
1226
1227 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1228
12f381b7
GM
12292012-02-02 Glenn Morris <rgm@gnu.org>
1230
953cebf5
GM
1231 * server.el (server-auth-dir): Doc fix.
1232 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1233
12f381b7
GM
1234 * subr.el (run-mode-hooks): Doc fix.
1235
953a8c3b
JL
12362012-02-02 Juri Linkov <juri@jurta.org>
1237
1238 * image-mode.el (image-toggle-display-image): Remove tautological
1239 `major-mode' from the `derived-mode-p' test.
1240
c5d3843c
KH
12412012-02-02 Kenichi Handa <handa@m17n.org>
1242
9f6e692e 1243 * composite.el (compose-region): Cancel previous change.
c5d3843c 1244
159462d4 12452012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1246
1247 * composite.el (compose-region, compose-string): Signal error for
1248 a null string component (Bug#6988).
1249
9f562668
CY
12502012-02-01 Chong Yidong <cyd@gnu.org>
1251
e2cef717
CY
1252 * view.el (view-buffer-other-window, view-buffer-other-frame):
1253 Handle special modes like view-buffer (Bug#10650).
1254 (view-buffer): Simplify.
1255
9f562668
CY
1256 * frame.el (set-frame-font): Tweak meaning of third argument.
1257
9f6e692e
JB
1258 * dynamic-setting.el (font-setting-change-default-font):
1259 Use set-frame-font (Bug#9982).
9f562668 1260
781acb9f
GM
12612012-02-01 Glenn Morris <rgm@gnu.org>
1262
6035be52
GM
1263 * progmodes/compile.el (compilation-internal-error-properties):
1264 Respect compilation-first-column in the "*compilation*" buffer.
1265
781acb9f
GM
1266 * emacs-lisp/easy-mmode.el (define-minor-mode):
1267 Relax :variable's test for a named function.
1268
abbceb00
AM
12692012-01-31 Alan Mackenzie <acm@muc.de>
1270
1271 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1272 off by one error.
1273
fce3fdeb
CY
12742012-01-31 Chong Yidong <cyd@gnu.org>
1275
1276 * frame.el (set-frame-font): New arg ALL-FRAMES.
1277
1278 * menu-bar.el (menu-set-font): Use set-frame-font.
1279
1280 * faces.el (face-spec-reset-face): Don't apply unspecified
1281 attribute values to the default face.
1282
47893581
JB
12832012-01-31 Juanma Barranquero <lekktu@gmail.com>
1284
1285 * progmodes/cwarn.el (cwarn): Remove dead link.
1286 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1287 Remove * from defcustom docstrings.
1288 (turn-on-cwarn-mode): Make obsolete.
1289 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1290 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1291
e58e988a
GM
12922012-01-31 Glenn Morris <rgm@gnu.org>
1293
60dc2671 1294 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1295 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1296 Allow named functions to be used as the cdr of :variable.
e58e988a 1297
7a3f511d
GM
12982012-01-30 Glenn Morris <rgm@gnu.org>
1299
1300 * emacs-lisp/authors.el (authors-fixed-entries):
1301 Remove reference to deleted file rnewspost.el.
1302
cb882333
JB
13032012-01-29 Juanma Barranquero <lekktu@gmail.com>
1304
1305 * window.el (window-with-parameter): Remove unused variable `windows'.
1306 (window--side-check): Remove unused variable `code'.
1307 (window--resize-siblings): Remove unused variable `first'.
1308 (adjust-window-trailing-edge): Remove unused variable `failed'.
1309 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1310 Use `let', not `let*'.
1311 (balance-windows-2): Remove unused variable `found'.
1312 (window--state-put-2): Remove unused variable `splits'.
1313 (window-state-put): Remove unused variable `selected'.
1314 (same-window-p): Use `string-match-p'.
1315 (display-buffer-assq-regexp): Remove unused variable `value'.
1316 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1317 Mark argument ALIST as ignored.
1318 (pop-to-buffer): Remove unused variable `old-window'.
1319
907201af
EZ
13202012-01-29 Eli Zaretskii <eliz@gnu.org>
1321
1322 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1323 and .lzma compressed files.
1324
ea162670
CY
13252012-01-29 Chong Yidong <cyd@gnu.org>
1326
5b95ee8a
CY
1327 * frame.el (window-system-default-frame-alist): Doc fix.
1328
ea162670
CY
1329 * dynamic-setting.el (font-setting-change-default-font): Don't
1330 change the default face if SET-FONT argument is non-nil (Bug#9982).
1331
d6e6f4b1
SB
13322012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1333
1334 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1335
0f29fa41 13362012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1337
1338 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1339 breakpoints in files outside current directory (Bug#6098).
1340
db174434
CY
13412012-01-29 Chong Yidong <cyd@gnu.org>
1342
6b25e4e2
SE
1343 * progmodes/python.el: Require ansi-color at top-level.
1344
6df6ae42
JB
1345 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1346 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1347 (lisp-mode-abbrev-table): Add doc.
1348 (lisp-mode-variables): Don't set local-abbrev-table.
1349 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1350
e70ee681
RW
13512012-01-28 Roland Winkler <winkler@gnu.org>
1352
1353 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1354
ace88aa2
RW
13552012-01-28 Roland Winkler <winkler@gnu.org>
1356
1357 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1358 (bibtex-set-dialect): Use it. Either set global values of
1359 dialect-dependent variables or bind these variables buffer-locally
1360 (Bug#10254).
1361 (bibtex-mode): Call bibtex-set-dialect via
1362 hack-local-variables-hook.
eb864a71
LM
1363 (bibtex-dialect): Update docstring.
1364 Add safe-local-variable predicate.
ace88aa2
RW
1365 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1366 bibtex-set-dialect.
1367 (bibtex-mode-map): Define menu for each dialect.
1368 (bibtex-entry): Fix docstring.
1369
93376c5b
CY
13702012-01-28 Chong Yidong <cyd@gnu.org>
1371
1372 * eshell/esh-arg.el (eshell-quote-argument): New function.
1373
1374 * eshell/esh-ext.el (eshell-invoke-batch-file):
1375 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1376 first arg to eshell-parse-command (Bug#10523).
1377
4372494f
DA
13782012-01-28 Drew Adams <drew.adams@oracle.com>
1379
1380 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1381 `default-directory' is non-nil.
1382
4d4ec1f8
EZ
13832012-01-28 Eli Zaretskii <eliz@gnu.org>
1384
1385 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1386 line that displays system-configuration-options. (Bug#9924)
1387
7c188927
DA
13882012-01-28 Drew Adams <drew.adams@oracle.com>
1389
1390 * descr-text.el (describe-char): Show information about POS, in
1391 addition to information about the character at POS. Improve and
1392 update the doc string. Change "code point" to "code point in
1393 charset", to avoid confusion with the character's Unicode code
1394 point shown above that. (Bug#10129)
1395
e0da685a
EZ
13962012-01-28 Eli Zaretskii <eliz@gnu.org>
1397
1398 * descr-text.el (describe-char): Show the raw character, not only
1399 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1400 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1401 for the reasons.
1402
70550acf
PH
14032012-01-28 Phil Hagelberg <phil@hagelb.org>
1404
eb864a71
LM
1405 * emacs-lisp/package.el (package-install):
1406 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1407
0ce8e868
CY
14082012-01-28 Chong Yidong <cyd@gnu.org>
1409
cb882333
JB
1410 * emacs-lisp/package.el (package-maybe-load-descriptor):
1411 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1412 (package-maybe-load-descriptor): Use it.
1413 (package-download-transaction): Fully load required packages
1414 inside the loop, so that `require' calls work (Bug#10593).
1415 (package-install): No need to call package-initialize now.
1416
2e7f3bea
CY
14172012-01-28 Chong Yidong <cyd@gnu.org>
1418
6e9bad14
CY
1419 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1420
f823b8ca
CY
1421 * tooltip.el (tooltip-mode): Doc fix.
1422 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1423
2680c309
CY
1424 * frame.el (set-cursor-color): Doc fix (Bug#352).
1425
d7a9e63b
CY
1426 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1427 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1428
2e7f3bea
CY
1429 * cus-edit.el (custom-buffer-create-internal): Fix search button
1430 action (Bug#10542).
2ae01800 1431 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1432
fc4f7a23
EW
14332012-01-27 Eduard Wiebe <usenet@pusto.de>
1434
1435 * dired.el (dired-mark-files-regexp):
1436 Include any subdirectory components. (Bug#10445)
1437
7dd37071
ML
14382012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1439
1440 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1441 Handle [host]:port syntax. (Bug#10533)
1442
a268160b
AH
14432012-01-27 Alex Harsanyi <harsanyi@mac.com>
1444
1445 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1446
e43273ef
GM
14472012-01-26 Glenn Morris <rgm@gnu.org>
1448
1449 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1450 * term.el (term-raw-escape-map): Use Control-X-prefix.
1451 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1452
1edf595d
MR
14532012-01-25 Martin Rudalics <rudalics@gmx.at>
1454
1455 * window.el (window-state-get, window--state-get-1): Don't deal
1456 with fixed-sizeness of windows. Simplify code.
1457
fa8eafef
JC
14582012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1459
6df6ae42
JB
1460 * window.el (window--state-get-1, window--state-put-2):
1461 Don't save and restore the mark.
fa8eafef 1462
0b21c100
CY
14632012-01-25 Chong Yidong <cyd@gnu.org>
1464
1465 * custom.el (custom-variable-p): Doc fix.
1466
5ae1a6c8
GM
14672012-01-25 Glenn Morris <rgm@gnu.org>
1468
40047858
GM
1469 * dired.el (dired-goto-file): Handle some of the more common
1470 characters that `ls -b' escapes. (Bug#10596)
1471
5ddce96c
GM
1472 * progmodes/compile.el (compilation-next-error-function):
1473 Respect compilation-first-column in the "*compilation*" buffer.
1474 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1475
5ae1a6c8
GM
1476 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1477
b559f1a9
GM
14782012-01-24 Glenn Morris <rgm@gnu.org>
1479
1480 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1481
6725d21a
JD
14822012-01-24 Julien Danjou <julien@danjou.info>
1483
1484 * color.el (color-rgb-to-hsl): Fix value computing.
1485 (color-hue-to-rgb): New function.
1486 (color-hsl-to-rgb): New function.
1487 (color-clamp, color-saturate-hsl, color-saturate-name)
1488 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1489 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1490
70df4bbe
GM
14912012-01-24 Glenn Morris <rgm@gnu.org>
1492
1493 * vc/vc-rcs.el (vc-rcs-create-tag):
1494 * vc/vc-sccs.el (vc-sccs-create-tag):
1495 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1496
802a2ae2
ML
14972012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1498
1499 * eshell/esh-util.el (eshell-read-hosts-file):
1500 Skip comment lines. (Bug#10549)
1501
d7128bb1
ML
1502 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1503
d1a5c3b4
JB
15042012-01-23 Juanma Barranquero <lekktu@gmail.com>
1505
2724d9c7
JB
1506 * subr.el (display-delayed-warnings): Doc fix.
1507 (collapse-delayed-warnings): New function to collapse identical
1508 adjacent warnings.
1509 (delayed-warnings-hook): Add it.
d1a5c3b4 1510
a5509865
MA
15112012-01-22 Michael Albinus <michael.albinus@gmx.de>
1512
1513 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1514
1515 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1516 properties, when "login-as" is set.
1517
1518 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1519 (tramp-default-user-alist): Don't add "pscp".
1520 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1521 property "login-as", if set. (Bug#10530)
1522
cc6d5805
MA
15232012-01-21 Michael Albinus <michael.albinus@gmx.de>
1524
1525 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1526 "plink1" and "psftp". (Bug#10530)
1527
15282012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1529
1530 * international/mule-cmds.el (prefer-coding-system): Show a
1531 warning message if the default value of file-name-coding-system
1532 was not changed.
1533
f0960428
JC
15342012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1535
cb882333
JB
1536 * windmove.el (windmove-reference-loc):
1537 Fix windmove-reference-loc miscalculation.
f0960428 1538
dd6f2a63
JB
15392012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1540
1541 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1542 default unit.
1543
7b447e9b
GM
15442012-01-21 Glenn Morris <rgm@gnu.org>
1545
117a9ea1
GM
1546 * international/mule.el (auto-coding-alist): Add .tbz.
1547
7b447e9b
GM
1548 * files.el (local-enable-local-variables): Doc fix.
1549 (inhibit-local-variables-regexps): Rename from
1550 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1551 Doc fix. Add some extensions from auto-coding-alist.
1552 (inhibit-local-variables-suffixes):
1553 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1554 (inhibit-local-variables-p):
1555 New function, extracted from set-auto-mode-1.
1556 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1557 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1558 (hack-local-variables): Doc fix. Make the mode-only case
1559 respect enable-local-variables and friends.
1560 Respect inhibit-local-variables-regexps for file-locals, but
1561 not for directory-locals.
1562 (set-visited-file-name):
1563 Take account of inhibit-local-variables-regexps.
1564 Whether it applies may change as the file name is changed.
1565 * jka-cmpr-hook.el (jka-compr-install):
1566 * jka-compr.el (jka-compr-uninstall):
1567 Update for inhibit-first-line-modes-suffixes name change.
1568
dd6e3cdd
MR
15692012-01-20 Martin Rudalics <rudalics@gmx.at>
1570
1571 * help-macro.el (make-help-screen): Temporarily restore original
1572 binding for minor-mode-map-alist (Bug#10454).
1573
0d0deb38
JD
15742012-01-19 Julien Danjou <julien@danjou.info>
1575
1576 * color.el (color-name-to-rgb): Use the white color to find the max
1577 color component value and return correctly computed values.
1578 (color-name-to-rgb): Add missing float conversion for max value.
1579
34a02f46
MR
15802012-01-19 Martin Rudalics <rudalics@gmx.at>
1581
1582 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1583 special state value for window-persistent-parameters.
1584 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1585 (window--state-put-2): Reset all window parameters to nil before
1586 assigning values of persistent parameters.
1587
606c44c4
AM
15882012-01-18 Alan Mackenzie <acm@muc.de>
1589
1590 Eliminate sluggishness and hangs in fontification of "semicolon
1591 deserts".
1592
cb882333
JB
1593 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1594 Change value 10000 -> 3000.
606c44c4
AM
1595 (c-state-safe-place): Reformulate so it doesn't stack up an
1596 infinite number of wrong entries in c-state-nonlit-pos-cache.
1597 (c-determine-limit-get-base, c-determine-limit): New functions to
1598 determine backward search limits disregarding literals.
1599 (c-find-decl-spots): Amend commenting.
1600 (c-cheap-inside-bracelist-p): New function which detects "={".
1601
1602 * progmodes/cc-fonts.el
1603 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1604 backward search.
1605 (c-font-lock-declarations): Fix an occurrence of point being
1606 undefined. Check additionally for point being in a bracelist or
1607 near a macro invocation without a semicolon so as to avoid a
1608 fruitless time consuming search for a declarator. Give a more
1609 precise search limit for declarators using the new
1610 c-determine-limit.
1611
f3860cea
GM
16122012-01-18 Glenn Morris <rgm@gnu.org>
1613
1614 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1615 (set-auto-mode): Doc fixes.
1616
1db03b16
GM
16172012-01-17 Glenn Morris <rgm@gnu.org>
1618
0e6038be
GM
1619 * isearch.el (search-nonincremental-instead): Fix doc typo.
1620
1db03b16
GM
1621 * dired.el (dired-insert-directory): Handle newlines in directory name.
1622 (dired-build-subdir-alist): Unescape newlines in directory name.
1623
4cb0aa75
MA
16242012-01-17 Michael Albinus <michael.albinus@gmx.de>
1625
1626 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1627 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1628 (tramp-action-terminal): Use it. (Bug#10530)
1629
1d00653d
SM
16302012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1633
6a6ee00d
MR
16342012-01-16 Martin Rudalics <rudalics@gmx.at>
1635
1636 * window.el (window-state-ignored-parameters): Remove variable.
1637 (window--state-get-1): Rename argument MARKERS to IGNORE.
1638 Handle persistent window parameters. Make copy of clone-of
1639 parameter only if requested. (Bug#10348)
1640 (window--state-put-2): Install a window parameter only if it has
1641 a non-nil value or an existing parameter shall be overwritten.
1642
97912def
MA
16432012-01-15 Michael Albinus <michael.albinus@gmx.de>
1644
1645 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1646
688070a5
EZ
16472012-01-14 Eli Zaretskii <eliz@gnu.org>
1648
1649 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1650 don't pass the (nil) value of `upnode' to string-match.
1651
301afadc
CY
16522012-01-14 Chong Yidong <cyd@gnu.org>
1653
1654 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1655 Fix values recognized by the cursorBlink resource.
301afadc 1656
9e5788aa
PE
16572012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1658
1659 * epg.el (epg--make-temp-file): Avoid permission race condition
1660 when running on old Emacs versions (bug#10403).
1661
3cdb7f5a
GM
16622012-01-14 Glenn Morris <rgm@gnu.org>
1663
1664 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1665
8c82b1b4
AM
16662012-01-13 Alan Mackenzie <acm@muc.de>
1667
1668 Fix filling for when filladapt mode is enabled.
1669
1670 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1671 c-mask-paragraph, pass in `fill-paragraph' rather than
1672 `fill-region-as-paragraph'. (This is a reversion of a previous
1673 change.)
eb864a71
LM
1674 * progmodes/cc-mode.el (c-basic-common-init):
1675 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1676
e517eda4
GM
16772012-01-13 Glenn Morris <rgm@gnu.org>
1678
1498536e
GM
1679 * dired.el (dired-switches-escape-p): New function.
1680 (dired-insert-directory): Use dired-switches-escape-p.
1681 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1682
e517eda4
GM
1683 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1684
328f984d
GM
16852012-01-12 Glenn Morris <rgm@gnu.org>
1686
1687 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1688 changes in adaptive-fill-regexp. (Bug#10276)
1689
2cc769a8
AM
16902012-01-11 Alan Mackenzie <acm@muc.de>
1691
1692 Fix Emacs bug #10463 - put `widen's around the critical spots.
1693
1d00653d 1694 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1695 widen around each invocation of c-state-pp-to-literal. Remove an
1696 unused let variable.
1697
e52c37fa
GM
16982012-01-11 Glenn Morris <rgm@gnu.org>
1699
1700 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1701 Doc fix.
e52c37fa 1702
96f8741e
CY
17032012-01-10 Chong Yidong <cyd@gnu.org>
1704
1d00653d
SM
1705 * net/network-stream.el (network-stream-open-starttls):
1706 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1707 response to the capability command.
1708
b09a806e
GM
17092012-01-10 Glenn Morris <rgm@gnu.org>
1710
1711 * mail/unrmail.el (unrmail): Tweak previous change.
1712
7655cb66
CY
17132012-01-09 Chong Yidong <cyd@gnu.org>
1714
1715 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1716
9d5a8f0b
AM
17172012-01-08 Alan Mackenzie <acm@muc.de>
1718
1719 Optimise font locking in long enum definitions.
1720
1721 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1722 arm to a cond form to handle enums.
1723 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1724 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1725
9a0115ab 17262012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1727
1728 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1729 (Bug#10401)
6bb72cbd 1730
f186bb95
LMI
17312012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1732
29232a68
LMI
1733 * faces.el (set-face-attribute): Clarify the meaning of the nil
1734 frame (bug#10294).
1735
4e5d086d
LMI
1736 * subr.el (with-selected-frame): Mention that the selected frame
1737 is restored (bug#9980).
1738
8e66aebe
LMI
1739 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1740 (bug#9759).
1741
cd394be1 1742 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1743 (password-read): Don't autoload unused function.
1744
adf4e762
JB
17452012-01-07 Juanma Barranquero <lekktu@gmail.com>
1746
1747 * progmodes/which-func.el (which-func-mode): Turn into a
1748 non-interactive function and mark as obsolete (bug#10428).
1749
89bd9ccd
CY
17502012-01-06 Chong Yidong <cyd@gnu.org>
1751
1752 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1753 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1754 functions, along with 1 and -1.
1755
4afee9d5
EZ
17562012-01-06 Eli Zaretskii <eliz@gnu.org>
1757
1758 * time.el (display-time-load-average)
1759 (display-time-default-load-average): Doc fixes. See the thread
1760 starting at
1761 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1762 for the details.
1763
536aea70
GM
17642012-01-06 Glenn Morris <rgm@gnu.org>
1765
665ae865
GM
1766 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1767 has no messages. (Bug#10377)
1768
c869783d
GM
1769 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1770 than Info-edit. (Bug#10385)
1771
2bb4227e
GM
1772 * time.el (display-time-load-average, display-time-next-load-average):
1773 Doc fixes.
1774
7d5944b9
GM
1775 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1776 local setting of buffer-read-only to the input buffer. (Bug#10419)
1777
536aea70
GM
1778 * calendar/calendar.el (calendar-mode):
1779 Locally set scroll-margin to 0. (Bug#10379)
1780
7dccca16
UM
17812012-01-06 Ulrich Mueller <ulm@gentoo.org>
1782
1783 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1784
afbb7930
GM
17852012-01-05 Glenn Morris <rgm@gnu.org>
1786
1787 * eshell/em-unix.el (diff-no-select): Autoload it.
1788 (eshell/diff): Use diff-no-select. (Bug#10420)
1789
04482335
CY
17902012-01-05 Chong Yidong <cyd@gnu.org>
1791
7baca3bc
CY
1792 * shell.el (shell-dynamic-complete-functions): Revert last change.
1793 (shell-command-completion-function): New function.
1794 (shell-completion-vars): Use it to implement
1795 shell-completion-execonly (Bug#10417).
1796
04482335
CY
1797 * custom.el (enable-theme): Don't set custom-safe-themes.
1798
1d00653d
SM
1799 * cus-theme.el (custom-theme-merge-theme):
1800 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1801
bb5aa5d6
MM
18022012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1803
1804 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1805 first prompt in `sql-interacive-mode'.
1806 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1807 keywords.
6df6ae42 1808 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1809 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1810 context of original buffer. Invoke `sql-login-hook'.
1811
a7183d7c
EZ
18122012-01-04 Eli Zaretskii <eliz@gnu.org>
1813
1814 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1815 letters in cite-prefix.
1816
a1eacd1e
LMI
18172012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1818
1819 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1820
787cdb34
CY
18212012-01-03 Chong Yidong <cyd@gnu.org>
1822
1d00653d
SM
1823 * shell.el (shell-dynamic-complete-functions):
1824 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1825 comint-filename-completion first (Bug#10417).
1826
30710442
RS
18272012-01-02 Richard Stallman <rms@gnu.org>
1828
1829 * battery.el (battery-status-function):
1830 Detect when to use battery-yeeloong-sysfs.
1831 (battery-echo-area-format): Add string for Yeeloong.
1832 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1833 (battery-yeeloong-sysfs): New function.
1834
f75bfc33
CY
18352012-01-02 Chong Yidong <cyd@gnu.org>
1836
1837 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1838 (dirtrack): Merge code for handling relative filenames in prompt
1839 from shell-dir-cookie-watcher.
1840 (dirtrack-debug-message): New arg to avoid excess format calls.
1841
1842 * shell.el (shell-dir-cookie-re): Variable deleted.
1843 (shell-dir-cookie-watcher): Function deleted.
1844 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1845 with dirtrack-mode.
1846
651e947e
EZ
18472012-01-01 Eli Zaretskii <eliz@gnu.org>
1848
1d00653d
SM
1849 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1850 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1851 libgnutls-26.dll.
1852
94d4c7dc
AS
18532011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1854
1855 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1856
8d43f3cd
EZ
18572011-12-31 Eli Zaretskii <eliz@gnu.org>
1858
1859 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1860 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1861
98c8795a
MA
18622011-12-29 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1865 also for alternative shells.
1866 (tramp-open-connection-setup-interactive-shell): Check, whether
1867 the shell is a busybox.
1868 (tramp-send-command): Don't suppress multiple prompts for
1869 busyboxes, it hurts.
1870
51281b32
CY
18712011-12-28 Chong Yidong <cyd@gnu.org>
1872
1873 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1874 (gdb-get-source-file): Move mode line update to
1875 gdb-get-source-file (Bug#10087).
1876
2170cb53
CY
18772011-12-25 Chong Yidong <cyd@gnu.org>
1878
1879 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1880 gud-gdb-marker-filter without taking it as an argument.
1881 (gud-gdb-run-command-fetch-lines): Caller changed.
1882 (gud-gdb-completion-function): New variable.
1883 (gud-gdb-completion-at-point): Use it.
1884 (gud-gdb-completions-1): Split from gud-gdb-completions.
1885
1886 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1887 function as separate arguments.
1888 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1889 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1890 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1891 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1892 (gdb-stopped, def-gdb-auto-update-trigger)
1893 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1894 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1895 Callers changed.
2170cb53
CY
1896 (gud-gdbmi-completions): New function.
1897 (gdb): Use it for generating the completion table.
1898
be8b11bb
AM
18992011-12-24 Alan Mackenzie <acm@muc.de>
1900
1901 Introduce a mechanism to widen the region used in context font
1d00653d 1902 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1903
1d00653d
SM
1904 * progmodes/cc-langs.el (c-before-font-lock-functions):
1905 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1906 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1907 functions to be run just before context (etc.) font locking.
1908
1909 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1910 New, functionality extracted from
be8b11bb 1911 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1912 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1913 (c-after-change): Set c-in-after-change-fontification.
1914 (c-set-fl-decl-start): Rejig its interface, so it can be called
1915 from both after-change and context fontifying.
b81d40f0
JB
1916 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1917 New functions.
1918 (c-standard-font-lock-fontify-region-function): New variable.
1919 (c-font-lock-fontify-region): New function.
be8b11bb 1920
341cf6ac
JL
19212011-12-24 Juri Linkov <juri@jurta.org>
1922
1923 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1924 (Bug#10348)
1925
bffcee0a
MA
19262011-12-23 Michael Albinus <michael.albinus@gmx.de>
1927
1928 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1929 existence of source file. (Bug#10325)
1930
cb5e207c
AM
19312011-12-23 Alan Mackenzie <acm@muc.de>
1932
1933 Fix unstable fontification inside templates.
1934
b81d40f0
JB
1935 * progmodes/cc-langs.el (c-before-font-lock-functions):
1936 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1937 additionally has c-set-fl-decl-start. The other languages (apart
1938 from AWK) have that as a single entry.
1939
b81d40f0
JB
1940 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1941 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1942 c-set-fl-decl-start.
1943
b81d40f0
JB
1944 * progmodes/cc-mode.el (c-common-init, c-after-change):
1945 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1946 (c-set-fl-decl-start): New function, extracted from
1947 c-font-lock-enclosing-decls and enhanced.
1948
60ff536c
JB
19492011-12-23 Juanma Barranquero <lekktu@gmail.com>
1950
1951 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1952
1c4757d6
JL
19532011-12-22 Juri Linkov <juri@jurta.org>
1954
1955 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1956
d031f2c7
CY
19572011-12-22 Chong Yidong <cyd@gnu.org>
1958
1959 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1960
bace743a
DA
19612011-12-21 Drew Adams <drew.adams@oracle.com>
1962
1963 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1964
728a1f2b
JC
19652011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1966
1967 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1968
0d373f73
TZ
19692011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1970
fec0aaa4
TZ
1971 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1972 highlighting and support. Fix up comments for capitalization.
1973 (cfengine-mode-debug): New var.
1974 (cfengine3-mode): Change the modeline indicator to "CFE3".
1975 (cfengine3-font-lock-keywords): Improve defun highlighting.
1976 (cfengine2-actions): Rename from `cfengine-actions'.
1977 (cfengine2-font-lock-keywords): Rename from
1978 `cfengine-font-lock-keywords'.
1979 (cfengine2-imenu-expression): Rename from
1980 `cfengine-imenu-expression'.
1981 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1982 (cfengine2-beginning-of-defun): Rename from
1983 `cfengine-beginning-of-defun'.
1984 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1985 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1986 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1987 modeline indicator to "CFE2".
1988 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1989 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1990
bc86f573
CY
19912011-12-21 Chong Yidong <cyd@gnu.org>
1992
1993 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1994 filename argument.
1995
d45ba96b
MR
19962011-12-20 Martin Rudalics <rudalics@gmx.at>
1997
1998 * window.el (window-normalize-buffer-to-display): Remove.
1999 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2000
a6198c90
CY
20012011-12-19 Chong Yidong <cyd@gnu.org>
2002
2003 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2004 Don't signal an error in a predicate function; return non-nil.
2005 (vc-dir-mark-file): Move the error here.
2006 (vc-dir-mark-unmark): If acting on the region, keep going if one
2007 of the entries cannot be marked/unmarked.
2008 (vc-dir-mark-all-files): If current entry is a directory, mark
2009 only child files, as documented.
2010
34c5fb55
VB
20112011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2012
2013 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2014 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2015 addition.
2016
c803b2b7
JD
20172011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2018
2019 * term/ns-win.el (ns-get-selection-internal)
2020 (ns-store-selection-internal): Declare.
1154d12e
JB
2021 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2022 Declare as obsolete.
2023 (ns-get-pasteboard, ns-paste-secondary):
2024 Use ns-get-selection-internal.
2025 (ns-set-pasteboard, ns-copy-including-secondary):
2026 Use ns-store-selection-internal.
c803b2b7 2027
9cff91f8 20282011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2029
2030 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2031 (vc-deduce-fileset): Doc fix.
99a289d9 2032
f16c898a
AS
20332011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2034
2035 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2036
763237c4
SS
20372011-12-13 Sam Steingold <sds@gnu.org>
2038
2039 * man.el (Man-getpage-in-background): When running under a
2040 window-system, ignore $MANWIDTH and $COLUMNS.
2041
5fc1c122
KH
20422011-12-15 Kenichi Handa <handa@m17n.org>
2043
2044 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2045 (setup-ethiopic-environment-internal): Comment out key-binding for
2046 ethio-toggle-punctuation.
2047
13d49cbb
AM
20482011-12-13 Alan Mackenzie <acm@muc.de>
2049
898169a2
AM
2050 Add the switch statement to AWK Mode.
2051
7a71b18d 2052 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2053 "default" to the keywords regexp.
2054
7a71b18d 2055 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2056 expression as the rest.
1d00653d
SM
2057 (c-nonlabel-token-key): Allow string literals for AWK.
2058 Refactor for the other modes.
898169a2 2059
13d49cbb 2060 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2061 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2062 routines. Limit backward searching in c-font-lock-enclosing.decl.
2063
2064 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2065 pp-state and literal type in addition to the limits.
1d00653d 2066 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2067 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2068 (c-slow-in-literal, c-fast-in-literal): Remove.
2069 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2070
2071 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2072 being in a literal. Add a limit for backward searching.
2073
2074 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2075 c-slow-in-literal.
2076
15e0efc7
SM
20772011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2080
454592a6
MR
20812011-12-13 Martin Rudalics <rudalics@gmx.at>
2082
2083 * window.el (delete-other-windows): Use correct frame in call to
2084 window-with-parameter.
2085
87393f26
DP
20862011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2087
2088 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2089 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2090 (makefile-gmake-statements, makefile-makepp-statements):
2091 Use it and add new makepp keywords.
2092 (makefile-makepp-font-lock-keywords): Add new patterns.
2093 (makefile-match-function-end): Match new [...] and [[...]].
2094
11636b22
JB
20952011-12-11 Juanma Barranquero <lekktu@gmail.com>
2096
2097 * ses.el (ses-call-printer-return, ses-cell-property-get)
2098 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2099 (ses-create-cell-variable, ses-reset-header-string)
2100 (ses-cell-set-formula, ses-repair-cell-reference-all)
2101 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2102 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2103 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2104 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2105 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2106 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2107 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2108 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2109 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2110 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2111 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2112 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2113
cf018193
VB
21142011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2115
2116 * ses.el: The overall change is to add cell renaming, that is
2117 setting fancy names for cell symbols other than name matching
2118 "\\`[A-Z]+[0-9]+\\'" regexp .
2119 (ses-create-cell-variable): New defun.
2120 (ses-relocate-formula): Relocate formulas only for cells the
2121 symbols of which are not renamed, i.e. symbols whose names do not
2122 match regexp "\\`[A-Z]+[0-9]+\\'".
2123 (ses-relocate-all): Relocate values only for cells the symbols of
2124 which are not renamed.
2125 (ses-load): Create cells variables as the (ses-cell ...) are read,
2126 in order to check row col consistency with cell symbol name only
2127 for cells that are not renamed.
2128 (ses-replace-name-in-formula): New defun.
2129 (ses-rename-cell): New defun.
2130
ee957461
CY
21312011-12-11 Chong Yidong <cyd@gnu.org>
2132
2133 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2134 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2135
9a9e9ef0
MR
21362011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2137
2138 * window.el (other-window): Fix docstring.
2139
92a8eba5
EZ
21402011-12-10 Eli Zaretskii <eliz@gnu.org>
2141
2142 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2143 `from' or `to' address before taking its substring.
2144 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2145 encoded name is chopped in the middle of the encoded string, and
2146 thus displayed encoded.
2147
e152e577
JB
21482011-12-10 Juanma Barranquero <lekktu@gmail.com>
2149
2150 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2151
e5d84bfe
EZ
21522011-12-10 Eli Zaretskii <eliz@gnu.org>
2153
2154 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2155 to use texinfo-update-node and commands that call it if the
2156 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2157 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2158 (texinfo-all-menus-update, texinfo-master-menu)
2159 (texinfo-update-node, texinfo-every-node-update)
2160 (texinfo-multiple-files-update): Doc fix. Warn against updating
2161 all the @node lines.
2162 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2163 argument is numeric. Explain better in the doc string what the
2164 function really does.
2165 (texinfo-insert-master-menu-list): Improve the error message
2166 displayed if there's no menu in the Top node.
2167 (Bug#2975) See also this thread:
e5d84bfe
EZ
2168 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2169
1d84e9bb
MG
21702011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2171
2172 * speedbar.el (speedbar-supported-extension-expressions):
2173 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2174
382c953b
JB
21752011-12-09 Juanma Barranquero <lekktu@gmail.com>
2176
2177 * printing.el (pr-mode-alist):
2178 * simple.el (filter-buffer-substring-functions)
2179 (completion-list-insert-choice-function):
2180 * window.el (window-with-parameter, window-atom-root)
2181 (window-sides-slots, window-size-fixed, window-min-delta)
2182 (window-max-delta, window--resize-mini-window)
2183 (window--resize-child-windows-normal, window-tree)
2184 (delete-other-windows, quit-window, split-window)
2185 (display-buffer-record-window, special-display-buffer-names)
2186 (special-display-regexps, special-display-popup-frame)
2187 (same-window-p, split-window-sensibly)
2188 (display-buffer-overriding-action, display-buffer-alist)
2189 (display-buffer-base-action, display-buffer, switch-to-buffer)
2190 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2191 (fit-window-to-buffer, recenter-positions)
2192 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2193 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2194 and remove unneeded backslashes in docstrings.
2195
39c9faef
SM
21962011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2197
98449af8
SM
2198 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2199
39c9faef
SM
2200 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2201 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2202 end in ".mk".
2203 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2204 when reading the makefile (bug#10116).
2205
86ed9fdc
SM
22062011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2209 (bug#10116).
2210
5580f89d
GM
22112011-12-06 Glenn Morris <rgm@gnu.org>
2212
2213 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2214
28d3917c
CY
22152011-12-06 Chong Yidong <cyd@gnu.org>
2216
2217 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2218
a98edce9
JB
22192011-12-06 Juanma Barranquero <lekktu@gmail.com>
2220
2221 * textmodes/table.el (table-shorten-cell): Fix typo.
2222
e65adfac
CG
22232011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2224
2225 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2226
71cc0b74
EZ
22272011-12-05 Eli Zaretskii <eliz@gnu.org>
2228
2229 * descr-text.el (describe-char): Fix display of strong
2230 right-to-left characters and directional embeddings and overrides.
2231
2232 * simple.el (what-cursor-position): Fix display of codepoints of
2233 strong right-to-left characters.
2234
315bc30d
CY
22352011-12-05 Chong Yidong <cyd@gnu.org>
2236
2237 * faces.el (read-color): Doc fix.
2238
58a70b94
GM
22392011-12-05 Glenn Morris <rgm@gnu.org>
2240
2241 * align.el (align--set-marker): Add doc-string.
2242 Don't try to move something that is not a marker. (Bug#10216)
2243
5158face
GM
22442011-12-04 Glenn Morris <rgm@gnu.org>
2245
2246 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2247 overly zealous deletion of trailing whitespace.
2248
520fca41
JB
22492011-12-04 Juanma Barranquero <lekktu@gmail.com>
2250
2251 * server.el (server-delete-client): On Windows, do not try to delete
2252 the only terminal.
2253 (server-process-filter): On Windows, treat requests for a tty frame as
2254 if they were for a GUI frame if the running server is in GUI mode.
2255
5e605a2e
GM
22562011-12-03 Glenn Morris <rgm@gnu.org>
2257
2258 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2259
5c3fe83f
SM
22602011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2261
6f5e57e7
SM
2262 * electric.el: Streamline electric-indent's hook.
2263 (electric-indent-chars): Revert to simple list.
2264 (electric-indent-functions): New var.
2265 (electric-indent-post-self-insert-function): Use it.
2266
5c3fe83f
SM
2267 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2268 there's no inferior buffer (bug#10196).
2269 (prolog-consult-compile): Don't use toggle-read-only.
2270
6bdac736
MA
22712011-12-02 Michael Albinus <michael.albinus@gmx.de>
2272
2273 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2274 interrupt. (Bug#10187)
2275
6131ba7f
SM
22762011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2277
99c79fee
SM
2278 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2279 (bug#9160).
2280
6131ba7f
SM
2281 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2282 (bug#10191).
2283
cb0a02ea
JL
22842011-12-02 Juri Linkov <juri@jurta.org>
2285
2286 * info.el (Info-search): Display "end of manual" when Isearch
2287 reaches the end of single-file Info manual. (Bug#9918)
2288
66e0570c
EZ
22892011-12-02 Eli Zaretskii <eliz@gnu.org>
2290
2291 * isearch.el (isearch-message-prefix): Run the input method part
2292 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2293
02b16839
JL
22942011-12-02 Juri Linkov <juri@jurta.org>
2295
2296 * isearch.el (isearch-occur): Use `word-search-regexp' for
2297 `isearch-word'.
2298 (isearch-search-and-update): Add condition for `isearch-word' and
2299 call `word-search-regexp'. (Bug#10145)
2300
0b950688
GM
23012011-12-01 Glenn Morris <rgm@gnu.org>
2302
2303 * eshell/em-hist.el (eshell-hist-initialize):
2304 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2305 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2306
9505c3c7
SM
23072011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2310
1bbe96b2 23112011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2312
a1beca85
SM
2313 * progmodes/verilog-mode.el (verilog-pretty-expr):
2314 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2315 verilog, such as += *= and the like.
2316 (verilog-assignment-operator-re): Regular expression to find the
2317 assigment operator in a verilog assignment.
2318 (verilog-assignment-operation-re): Regular expression to find an
2319 assignment statement for pretty-expr.
2320 (verilog-in-attribute-p): Query returns true if point is in an
2321 attribute context; used to skip these for expression line up from
2322 pretty-expr.
2323 (verilog-in-parameter-p): Query returns true if point is in an
2324 parameter definition context; used to skip these for expression
2325 line up from pretty-expr.
2326 (verilog-in-parenthesis-p): Query returns true if point is in a
2327 parenthetical expression, specifically ( ) but not [ ] or { };
2328 used by pretty-expr.
2329 (verilog-just-one-space): If there is no space, don't add one.
2330 (verilog-get-lineup-indent-2): Specifically skip just attribute
2331 contexts for expression lineup, rather than skipping all
2332 parenthetical expressions.
2333 (verilog-calculate-indent): Fix comment, and fix indent.
2334 (verilog-do-indent): Indent declarations in lists (suggested by
2335 Joachim Lechner).
2336 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2337 skeleton items.
2338 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2339 by Alain Mellan).
2340
1bbe96b2 23412011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2342
2343 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2344 parameters with embedded comments. Reported by Ray Stevens.
2345 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2346 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2347 Reported by Tim Holt.
2348 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2349 instantiated by upper module causing wrong expansion until AUTOed a
2350 second time. Reported by K C Buckenmaier.
2351 (verilog-diff-auto): Fix showing .* as a difference when
2352 `verilog-auto-star-save' off. Reported by Dan Dever.
2353 (verilog-auto-reset, verilog-read-always-signals)
2354 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2355 temporary signals in reset list if
2356 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2357 style to each signal's assignment type, bug381.
2358 Reported by Thomas Esposito.
6288f0ca
WS
2359 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2360 (verilog-uvm-statement-re): Support UVM indentation and
2361 highlighting, with old OVM keywords only.
a1beca85 2362 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2363 Support AUTOTIEOFF creating non-wire data types.
2364 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2365 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2366 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2367 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2368 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2369 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2370 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2371 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2372 non-numeric vector width. Reported by Alex Reed.
2373 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2374 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2375 (verilog-auto-delete-trailing-whitespace):
2376 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2377 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2378 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2379 Fix verilog-scan-cache corruption when running user AUTO expansion
2380 hooks that call indentation routines.
2381 (verilog-simplify-range-expression): Fix typo ignoring lower case
2382 identifiers.
2383 (verilog-delete-auto): Fix delete-autos to also remove user created
2384 automatics, as long as they start with AUTO.
2385 (verilog-batch-diff-auto, verilog-diff-auto)
2386 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2387 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2388 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2389 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2390 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2391 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2392 is disabled and its cache will get corrupt, causing AUTOS not to
2393 expand. Instead use only -quick functions.
2394 (verilog-scan-region): Fix scanning over escaped quotes.
2395 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2396 (verilog-re-search-backward-quick)
2397 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2398 related functions now ignore strings, to fix misparsing of strings
2399 with magic comments embedded in them.
a1beca85
SM
2400 (verilog-read-auto-template):
2401 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2402 Reported by Brad Dobbie.
2403 (verilog-read-auto-template):
2404 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2405 Reported by Brad Dobbie.
6288f0ca
WS
2406 (verilog-auto-inst, verilog-auto-inst-param)
2407 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2408 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2409 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2410 debugging templates without merge conflicts, bug357.
2411 Reported by Brad Dobbie.
2412 (verilog-read-auto-template):
2413 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2414 Reported by Brad Dobbie.
2415 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2416 abbrevs so user won't be asked to save.
2417 (verilog-read-auto-lisp-present): Fix to start at beginning of
2418 buffer in case called outside of verilog-auto.
2419 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2420 to "X-2". Reported by Matthew Myers.
2421 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2422 all inputs from module templates. Reported by Leith Johnson.
2423 (verilog-module-inside-filename-p): Fix locating programs as with
2424 modules.
2425 (verilog-auto-inst-port): Fix vl-width expressions when using
2426 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2427 (verilog-decls-get-regs, verilog-decls-get-signals,
2428 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2429 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2430 verilog-read-decls): Combine reg and wire structures into one var
2431 structure to represent SystemVerilog concepts.
2432 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2433 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2434 (verilog-auto-wire-type, verilog-insert-definition):
2435 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2436 SystemVerilog "logic" keyword instead of "wire"/"reg".
2437 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2438 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2439 ifdef or generate if so there's not a driver conflict).
2440 Reported by Matthew Myers.
2441 (verilog-auto-declare-nettype, verilog-insert-definition):
2442 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2443 `default_nettype none. Reported by Julian Gorfajn.
2444 (verilog-read-always-signals-recurse, verilog-read-decls)
2445 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2446 malformed end statement, bug325. Reported by Joshua Wise and
2447 Andrew Drake.
2448 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2449 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2450 when expanding .* in interfaces, bug320.
2451 Reported by Pierre-David Pfister.
6288f0ca 2452 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2453 name and open parenthesis, bug317.
2454 Reported by Pierre-David Pfister.
6288f0ca
WS
2455 (verilog-simplify-range-expression): Fix simplification of
2456 multiplications inside AUTOWIRE connections, bug303.
2457 (verilog-auto-inst-port): Support parameter expansion in
2458 multidimensional arrays.
2459 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2460 after "assert property". Reported by Julian Gorfajn.
2461 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2462 with multiplication, bug303.
2463 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2464 Reported by Jan Frode Lonnum.
2465
1bbe96b2
GM
24662011-11-30 Juanma Barranquero <lekktu@gmail.com>
2467
2468 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2469 (hfy-shell-file-name, hfy-shell):
2470 * international/fontset.el (x-decompose-font-name): Fix typos.
2471
24722011-11-29 Ken Brown <kbrown@cornell.edu>
2473
2474 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2475 (gdb-version): Remove defvar.
2476 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2477 (gdb-gud-context-command, gdb-non-stop-handler)
2478 (gdb-current-context-command, gdb-stopped): Use it.
2479 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2480 (gdb-non-stop-handler): Don't enable pretty-printing here.
2481 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2482 non-stop mode. Use the following.
2483 (gdb-check-target-async): New defun.
2484 (gud-watch, gdb-stopped): Fix whitespace.
2485 (gdb-get-source-file): Don't try to display the source file if
2486 `gdb-main-file' is nil.
2487
24882011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * align.el: Try to generate fewer markers (bug#10047).
2491 (align--set-marker): New macro.
2492 (align-region): Use it.
2493
c935221f
SM
24942011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2497
e70b5064
CY
24982011-11-29 Chong Yidong <cyd@gnu.org>
2499
2500 * indent.el (indent-for-tab-command, indent-according-to-mode):
2501 Doc fix.
2502 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2503
f3af92b7
MA
25042011-11-29 Michael Albinus <michael.albinus@gmx.de>
2505
2506 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2507 aware of remote file names. (Bug#10124)
2508
ed472be9
CY
25092011-11-29 Chong Yidong <cyd@gnu.org>
2510
2511 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2512
24510c22
SM
25132011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * files.el (find-file): Don't use force-same-window (bug#10144).
2516 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2517 use pop-to-buffer if the selected window can't be used.
2518 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2519
c60c3703
EZ
25202011-11-28 Eli Zaretskii <eliz@gnu.org>
2521
2522 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2523 special-mode-map.
2524
e95def75
CY
25252011-11-28 Chong Yidong <cyd@gnu.org>
2526
2527 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2528
c3f1c606
NR
25292011-11-27 Nick Roberts <nickrob@snap.net.nz>
2530
2531 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2532 gdb-get-source-file-list on gdb-create-source-file-list.
2533
00db469c
EZ
25342011-11-26 Eli Zaretskii <eliz@gnu.org>
2535
2536 * whitespace.el (whitespace-newline): Use a different foreground
2537 color for 16-color light-background displays.
2538
4ad3bc2a
CY
25392011-11-24 Chong Yidong <cyd@gnu.org>
2540
2541 * window.el (display-buffer--special-action): Doc fix.
2542
e9fce1ac
JB
25432011-11-25 Juanma Barranquero <lekktu@gmail.com>
2544
2545 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2546 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2547 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2548 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2549 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2550 (avl-tree-stack-first):
2551 * emacs-lisp/cconv.el (cconv--analyse-use):
2552 * net/gnutls.el (gnutls-negotiate): Fix typos.
2553
cb825e5d
GM
25542011-11-24 Glenn Morris <rgm@gnu.org>
2555
3adbe224
GM
2556 * lpr.el (lpr-windows-system, lpr-lp-system):
2557 * mail/binhex.el (binhex-begin-line):
2558 * progmodes/grep.el (grep-history, grep-find-history):
2559 * textmodes/flyspell.el:
2560 * vc/pcvs-defs.el (cvs-global-menu):
2561 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2562 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2563 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2564
321decc8
GM
2565 * net/tls.el: Fix case of "GnuTLS".
2566
420b63ad
GM
2567 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2568
cb825e5d
GM
2569 * version.el (emacs-build-system): Give it a doc-string.
2570
a0649f08
JL
25712011-11-24 Juri Linkov <juri@jurta.org>
2572
2573 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2574
c0bc0fd4
GM
25752011-11-24 Glenn Morris <rgm@gnu.org>
2576
2577 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2578 if called on a non-mime message just toggle the headers. (Bug#8006)
2579
20db1522
JB
25802011-11-24 Juanma Barranquero <lekktu@gmail.com>
2581
2582 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2583 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2584 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2585 (allout-rebullet-heading, allout-open-sibtopic)
2586 (allout-toggle-current-subtree-encryption)
2587 (allout-toggle-subtree-encryption, allout-encrypt-string)
2588 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2589 (allout-distinctive-bullets-string, allout-auto-activation):
2590 * window.el (window-normalize-buffer-to-display):
2591 * progmodes/verilog-mode.el (verilog-batch-indent):
2592 * textmodes/bibtex.el (bibtex-field-braces-opt)
2593 (bibtex-field-strings-opt):
2594 * vc/cvs-status.el (cvs-tree-merge):
2595 Fix typos.
2596
7262a87c
MA
25972011-11-23 Michael Albinus <michael.albinus@gmx.de>
2598
2599 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2600 `non-essential' to t, in order to avoid remote connections.
2601
283430a1
EZ
26022011-11-23 Eli Zaretskii <eliz@gnu.org>
2603
a1beca85
SM
2604 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2605 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2606 case-insensitively.
2607
d2992a38
ML
26082011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2609
2610 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2611
50419064
GM
26122011-11-23 Glenn Morris <rgm@gnu.org>
2613
da94eca1
GM
2614 * paths.el (rmail-file-name): Reformat the doc-string so that it
2615 is picked up.
2616
9aac4de2
GM
2617 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2618 (rmail-auto-file): Ignore case in the "special" field names,
2619 as mail-fetch-field does for all others.
2620
8038d2d2
GM
2621 * mail/rmail.el (rmail-forward):
2622 * mail/rmailkwd.el (rmail-set-label):
2623 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2624 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2625
f3fe222a
GM
2626 * mail/rmail.el (rmail-current-message): Doc fix.
2627
50419064
GM
2628 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2629
28109f49
SM
26302011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2633
394c65f1
GM
26342011-11-22 Glenn Morris <rgm@gnu.org>
2635
2636 * mail/rmailmm.el (test-rmail-mime-handler)
2637 (test-rmail-mime-bulk-handler)
2638 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2639
f2a0aa3a
JL
26402011-11-21 Juri Linkov <juri@jurta.org>
2641
1154d12e
JB
2642 * calc/calc.el (calc-read-key-sequence):
2643 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2644
9c34a344
LMI
26452011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2646
2647 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2648 Tell the caller that the next line needs recomputation, even
2649 though it doesn't start a sexp (bug#10094).
2650
f04a3be9
SM
26512011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2654
7978747f
SM
26552011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2656
f04a3be9
SM
2657 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2658 Use force-same-window.
7978747f 2659
fe7a3057
JB
26602011-11-20 Juanma Barranquero <lekktu@gmail.com>
2661
2662 * descr-text.el (describe-char-unicode-data):
2663 * json.el (json-string-escape):
2664 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2665 (Footnote-unicode, Footnote-style-p):
2666 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2667
24901d61
CY
26682011-11-20 Chong Yidong <cyd@gnu.org>
2669
2670 * window.el (replace-buffer-in-windows): Restore interactive spec.
2671
bac7ff22
SM
26722011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2673
24f3d7b9
SM
2674 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2675
bac7ff22
SM
2676 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2677 (byte-compile-global-not-obsolete-vars): New var.
2678 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2679 Use it.
2680 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2681
cd1181db
JB
26822011-11-20 Juanma Barranquero <lekktu@gmail.com>
2683
2684 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2685 * progmodes/pascal.el (electric-pascal-equal):
2686 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2687 * xml.el (xml-substitute-special): Fix typos.
2688
7fb18e9e
GM
26892011-11-20 Glenn Morris <rgm@gnu.org>
2690
2691 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2692 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2693 Doc fixes.
2694 (rmail-decode-mime-charset): Mark as obsolete.
2695
2696 * mail/rmailsum.el (rmail-message-regexp-p-1):
2697 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2698 Before using mime functions, check they are set. (Bug#10077)
2699
d5a6b3ba
JL
27002011-11-19 Juri Linkov <juri@jurta.org>
2701
2702 * info.el (Info-finder-find-node): Use `package--builtins' instead
2703 of `package-alist'. Use node names formed by the pattern "Keyword "
2704 and the keyword name.
2705
e981b61f
AS
27062011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2707
1d00653d 2708 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2709
3ffbc301
JL
27102011-11-19 Juri Linkov <juri@jurta.org>
2711
2712 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2713 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2714 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2715 `old-history', `old-history-forward'. Add let-binding
2716 `window-selected'. Remove calls to `kill-buffer',
2717 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2718 before calling `Info-find-node', so `Info-find-node-2' will reread
2719 the Info file. Restore window positions only when `window-selected'
2720 is non-nil.
2721
30c62133
JL
27222011-11-19 Juri Linkov <juri@jurta.org>
2723
2724 * isearch.el (isearch-lazy-highlight-new-loop):
2725 Remove condition `(not isearch-error)'. (Bug#9918)
2726
2727 * misearch.el (multi-isearch-search-fun): Add condition
2728 `(not bound)' to ignore lazy-highlighting search.
2729 Add the search-failed message "end of multi" when the end of
2730 multi-sequence is reached. Uncapitalize the search-failed
2731 message "Repeat for next buffer".
2732
2733 * info.el (Info-search): Add the search-failed message
2734 "end of the manual" when the end of the manual is reached
2735 in Isearch mode.
2736
645ca9cf
JL
27372011-11-19 Juri Linkov <juri@jurta.org>
2738
2739 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2740 Use non-destructive `remove' instead of `delete' because
2741 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2742 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2743
df754f66
JL
27442011-11-19 Juri Linkov <juri@jurta.org>
2745
2746 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2747 to nil instead of binding `search-ring' and `regexp-search-ring'.
2748 (Bug#9185)
2749
0e23d96a
EZ
27502011-11-19 Eli Zaretskii <eliz@gnu.org>
2751
2752 * simple.el (line-move): Force movement by logical lines for any
2753 hscrolled window, not only when auto-hscroll-mode is on.
2754 (line-move-visual): Update doc string to that effect. (Bug#10076)
2755
8a6ccb66
AS
27562011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2757
2758 * language/european.el (macintosh): Define as alias for mac-roman.
2759
49ae5b39
EZ
27602011-11-19 Eli Zaretskii <eliz@gnu.org>
2761
2762 * mail/rmailmm.el (rmail-mime-display-header)
2763 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2764 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2765 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2766 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2767 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2768 of a raw aref.
2769 (rmail-mime-entity-segment): To get past the tagline, move forward
2770 2 more lines, to account for the 2 empty lines that precede and
2771 follow the line with the buttons.
2772 (rmail-mime-update-tagline): Move one more line, to get past the
2773 empty line that follows the buttons in the tagline. (Bug#9520)
2774
c56cad4a
MR
27752011-11-19 Martin Rudalics <rudalics@gmx.at>
2776
2777 * window.el (window-max-delta-1, window-min-delta-1)
2778 (window-min-size-1, window-state-get-1, window-state-put-1)
2779 (window-state-put-2): Use "window--" prefix.
2780
cbe71af3
SM
27812011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2ad52c60
SM
2783 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2784 (smie-warning-count): New var.
2785 (smie-set-prec2tab): Use it.
2786 (smie-bnf->prec2): Improve warnings. Add docstring.
2787 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2788 (smie-bnf--set-class): New function.
2789 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2790 corner case.
2791
6944dbc1
SM
2792 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2793 (compilation-error-properties, compilation-move-to-column):
2794 Handle compilation-first-column while in the target buffer.
2795
c400c4d7
SM
2796 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2797 Don't hardcode point-min==1.
2798
6dbe3e96
SM
2799 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2800 (eshell-rewrite-for-command): Remove workaround.
2801 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2802 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2803 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2804
cbe71af3
SM
2805 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2806
a8e1496d
GM
28072011-11-17 Glenn Morris <rgm@gnu.org>
2808
2809 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2810 Ignore buffer-local generated-autoload-file if it is the same
2811 as the global value. (Bug#10049)
2812
df85d315
JB
28132011-11-17 Juanma Barranquero <lekktu@gmail.com>
2814
2815 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2816 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2817 (reftex-toc-previous-heading, reftex-toc-max-level)
2818 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2819 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2820 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2821 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2822 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2823 (reftex-toc-rename-label, reftex-toc-visit-location)
2824 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2825 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2826 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2827 leaving "*toc*" only for references to the buffer.
2828
a0c2d0ae
MR
28292011-11-17 Martin Rudalics <rudalics@gmx.at>
2830
2831 * window.el (window-resize, delete-window, split-window):
2832 Replace window-splits by window-combination-resize.
1d00653d 2833 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2834
35c0bac8
GM
28352011-11-17 Glenn Morris <rgm@gnu.org>
2836
2837 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2838 Make bash entry derive from sh entry, not shell entry.
2839
d0c8fc8a
MA
28402011-11-16 Michael Albinus <michael.albinus@gmx.de>
2841
d0c8fc8a
MA
2842 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2843 properties of linked files. (Bug#9879)
2844
7262a87c
MA
2845 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2846 local file name.
2847
7877f373
JB
28482011-11-16 Juanma Barranquero <lekktu@gmail.com>
2849
2850 * menu-bar.el (menu-bar-file-menu):
2851 * printing.el (pr-ps-utility):
2852 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2853 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2854 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2855 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2856 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2857 (icalendar--convert-cyclic-to-ical)
2858 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2859 (icalendar--convert-ical-to-diary)
2860 (icalendar--convert-recurring-to-diary)
2861 (icalendar--convert-non-recurring-all-day-to-diary)
2862 (icalendar-import-format-sample):
2863 * progmodes/idlw-shell.el (idlwave-shell-mode):
2864 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2865 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2866 (vhdl-ps-print-init): Fix typos.
2867
10649b82
KM
28682011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2869
9d0cfcd6
GM
2870 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2871 FSF and collapse date sequence, obscure author/maintainer email address
2872 better, remove extra version line, track relocation of author's webpage.
10649b82 2873
9d0cfcd6
GM
2874 * progmodes/python.el (python-pdbtrack-input-prompt)
2875 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2876 regular python pdb prompts. Adjustments shamelessly taken exactly as
2877 suggested in EmacsWiki page (tiny change):
2878 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2879
58179cce
JB
28802011-11-16 Juanma Barranquero <lekktu@gmail.com>
2881
2882 * expand.el (expand-pos, expand-index, expand-point):
2883 Remove redundant info from docstring.
2884 (expand-add-abbrevs): Doc fix.
2885 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2886 (expand-sample-perl-mode-expand-list): Fix typos.
2887
2888 * net/dbus.el (dbus-event-member-name):
2889 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2890 * term/pc-win.el (msdos-create-frame-with-faces):
2891 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2892
b6f67890
MR
28932011-11-16 Martin Rudalics <rudalics@gmx.at>
2894
2895 * window.el (split-window, window-state-get-1)
2896 (window-state-put-1, window-state-put-2): Rename occurrences of
2897 window-nest to window-combination-limit.
1d00653d 2898 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2899
ce7ddba0
CY
29002011-11-16 Chong Yidong <cyd@gnu.org>
2901
2902 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2903 regexp (Bug#10033).
2904
3ae704f4
SM
29052011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2908 `completing-read' will remove *Completions* and will preserve
2909 current-buffer for us.
2910 (tmm-add-prompt): Users of *Completions* will always (re)set its
2911 major mode.
2912 (tmm-old-comp-map): Remove.
2913
6ad1cdde
GM
29142011-11-16 Glenn Morris <rgm@gnu.org>
2915
2916 * mail/rmailedit.el: Require rmailmm when compiling.
2917 (rmail-old-mime-state): New declaration.
2918 (rmail-edit-current-message): If editing a mime message,
2919 edit the "raw" message from the mbox buffer.
2920 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2921
d20faa20
GM
29222011-11-15 Glenn Morris <rgm@gnu.org>
2923
2924 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2925 which wasn't being used. Add optional arg to force given state.
2926 (rmail-mime): Add optional arg to force given state.
2927
c7015153
JB
29282011-11-15 Juanma Barranquero <lekktu@gmail.com>
2929
2930 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2931 * frame.el (display-mm-dimensions-alist):
2932 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2933 (outline-move-subtree-down):
2934 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2935 (newsticker--treeview-do-get-node):
2936 * net/quickurl.el (quickurl-list-buffer-name):
2937 * progmodes/dcl-mode.el (dcl-mode):
2938 * progmodes/gdb-mi.el (gdb-mapcar*):
2939 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2940
45261b50
GM
29412011-11-15 Glenn Morris <rgm@gnu.org>
2942
2943 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2944 in a boolean sense, so just make it a boolean, and fix the doc.
2945 (rmail-show-mime-function, rmail-mime-feature)
2946 (rmail-require-mime-maybe): Doc fixes.
2947 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2948
2949 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2950
0d26e0b6
JB
29512011-11-15 Juanma Barranquero <lekktu@gmail.com>
2952
2953 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2954 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2955 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2956 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2957
447f30f6
GM
29582011-11-15 Glenn Morris <rgm@gnu.org>
2959
672b871d
GM
2960 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2961 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2962 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2963 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2964 (rmail-mime, rmail-show-mime): Doc fixes.
2965
f6aa5bb1
GM
2966 * term/ns-win.el (mode-line-frame-identification):
2967 Leave it alone. (Bug#10051)
2968
947cd66b
GM
2969 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2970
447f30f6
GM
2971 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2972 Handle empty buffers. (Bug#9978)
2973
0b381c7e
JB
29742011-11-14 Juanma Barranquero <lekktu@gmail.com>
2975
2976 * international/mule.el (define-charset):
2977 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2978 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2979 * progmodes/verilog-mode.el (verilog-backward-token):
2980 * textmodes/ispell.el (lookup-words):
2981 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2982
71e027ac
GM
29832011-11-14 Glenn Morris <rgm@gnu.org>
2984
56632ce4
GM
2985 * progmodes/executable.el
2986 (executable-make-buffer-file-executable-if-script-p):
2987 Handle file-modes returning nil.
2988
40500957
GM
2989 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2990 message - not necessary, and causes problems. (Bug#9831)
2991
071c2340
GM
2992 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2993
d3cfca60
GM
2994 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2995
71e027ac
GM
2996 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2997 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2998 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2999
89d61221
MR
30002011-11-12 Martin Rudalics <rudalics@gmx.at>
3001
3002 * window.el (window-resize, delete-window): Use window-splits
3003 variable instead of function.
3004 (window-state-get-1, window-state-put-2, window-state-put):
3005 Don't deal with windows' splits status.
3006
98282f6f
GM
30072011-11-12 Glenn Morris <rgm@gnu.org>
3008
3009 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3010 (apropos-documentation): Doc fixes.
3011
40a8bdf6
JB
30122011-11-11 Juanma Barranquero <lekktu@gmail.com>
3013
3014 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3015 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3016
65bd19ff
SM
30172011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 * electric.el (electric-indent-post-self-insert-function): Make it
3020 possible for a char to only indent in some circumstances.
3021 (electric-indent-mode): Simplify.
3022
54f9154c
MR
30232011-11-11 Martin Rudalics <rudalics@gmx.at>
3024
3025 * window.el (windows-with-parameter): Remove unused function.
3026 (windows-at-side): Rename to window-at-side-list.
3027 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3028 (window-side-check, window-size-ignore, window-size-fixed-1)
3029 (window-in-direction-2): Prefix with "window--".
3030 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3031
68cbc58b
GM
30322011-11-11 Glenn Morris <rgm@gnu.org>
3033
3034 * subr.el (eval-after-load): If FILE is already loaded,
3035 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3036
b2621720
GM
30372011-11-10 Glenn Morris <rgm@gnu.org>
3038
9a4de110
GM
3039 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3040 Call svn via vc-svn-command rather than vc-do-command.
3041 (vc-svn-command): Add --non-interactive. (Bug#9993)
3042 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3043
b2621720
GM
3044 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3045 Add toggle-read-only. (Bug#7292)
3046 * files.el (toggle-read-only): Mention that it should only
3047 be used interactively. (Bug#10006)
3048
1dce7193
SM
30492011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3050
d9ac1a1e
SM
3051 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3052 Adjust regexp for OCaml warnings.
3053
0c325082
SM
3054 * electric.el (electric-pair-post-self-insert-function): Let user
3055 turn it off buffer-locally (bug#9932).
3056
90132c14
SM
3057 * progmodes/python.el (python-beginning-of-statement):
3058 Rewrite (bug#2703).
3059
1dce7193
SM
3060 * progmodes/compile.el: Better handle TABs (bug#9749).
3061 (compilation-internal-error-properties)
3062 (compilation-next-error-function): Obey the target buffer's
3063 compilation-error-screen-columns.
3064
c4e7c63a
JB
30652011-11-09 Juanma Barranquero <lekktu@gmail.com>
3066
3067 * progmodes/meta-mode.el: Remove obsolete comments.
3068 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3069 Fix typos in docstrings.
3070
2cffd681
MR
30712011-11-09 Martin Rudalics <rudalics@gmx.at>
3072
3073 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3074 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3075 (window--resizable): New function. Make all callers of
3076 window-resizable call window--resizable instead.
3077 (window-resizable): Rewrite in terms of window--resizable.
3078
0edcba87
GM
30792011-11-08 Glenn Morris <rgm@gnu.org>
3080
3081 * progmodes/delphi.el (delphi-mode-syntax-table):
3082 Let define-derived-mode define a proper syntax table. (Bug#9994)
3083
4b0d61e3
SM
30842011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3085
3086 * window.el: Stay away from defsubst.
3087 (window-list-no-nils): Remove.
3088 (window-state-get-1, window-state-get): Use backquote instead.
3089
cd394be1 30902011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3091
4b0d61e3 3092 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3093 Fix incorrect use of default argument in `completing-read'.
3094
e1c2c6f2
MR
30952011-11-08 Martin Rudalics <rudalics@gmx.at>
3096
3097 * window.el (display-buffer-function, special-display-function):
3098 Mention display-buffer-record-window but do not mention
3099 help-setup parameter in doc-strings.
b3f4a882 3100 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3101
105216ed
CY
31022011-11-08 Chong Yidong <cyd@gnu.org>
3103
3104 * window.el (window-total-height, window-total-width): Doc fix.
3105 (window-body-size): Move from C.
3106 (window-body-height, window-body-width): Move to C.
3107
0a9f9ab5
SM
31082011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * window.el: Make special-display like display-buffer-alist (bug#9532).
3111 (display-buffer--special-action): New function, morphed
3112 from display-buffer--special.
3113 (display-buffer): Use it to handle special-display-buffers at higher
3114 priority (just after display-buffer-alist).
3115 (display-buffer-fallback-action, display-buffer--other-frame-action)
3116 (pop-to-buffer-same-window): Remove display-buffer--special.
3117
a769dd15
GM
31182011-11-07 Glenn Morris <rgm@gnu.org>
3119
3120 * calendar/cal-menu.el (cal-menu-set-date-title):
3121 Do nothing if not in a calendar. (Bug#9976)
3122
05a61ee3
SM
31232011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3124
3125 * files.el (find-file): Always use selected-window.
3126
be7f5545
MR
31272011-11-07 Martin Rudalics <rudalics@gmx.at>
3128
3129 * window.el (window-combinations): Make WINDOW argument
3130 mandatory. Rewrite doc-string.
3131 (walk-window-subtree, window-atom-check, window-min-delta)
3132 (window-max-delta, window--resize-this-window)
3133 (window--resize-root-window-vertically, window-tree)
3134 (balance-windows, window-state-put): Rewrite doc-strings as to
3135 not mention the term "subwindow".
3136 (window--resize-subwindows-skip-p): Rename to
3137 window--resize-child-windows-skip-p.
3138 (window--resize-subwindows-normal): Rename to
3139 window--resize-child-windows-normal.
3140 (window--resize-subwindows): Rename to
3141 window--resize-child-windows.
3142 (window-or-subwindow-p): Rename to window--in-subtree-p.
3143
3c6702ef
ML
31442011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3145
3146 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3147 Ensure that mbox format messages end in two newlines (Bug#9974).
3148
49745b39
CY
31492011-11-06 Chong Yidong <cyd@gnu.org>
3150
3151 * window.el (window-combination-p): Function deleted; its
3152 side-effect is not used in any existing code.
3153 (window-combinations, window-combined-p): Call window-*-child
3154 directly.
3155
24300f5f
CY
31562011-11-05 Chong Yidong <cyd@gnu.org>
3157
3158 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3159 (window-size-ignore, window-state-get): Callers changed.
3160 (window-normalize-window): Rename from window-normalize-any-window.
3161 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3162 (window-normalize-live-window): Delete.
447f16b8
CY
3163 (window-combination-p, window-combined-p, window-combinations)
3164 (walk-window-subtree, window-atom-root, window-min-size)
3165 (window-sizable, window-sizable-p, window-size-fixed-p)
3166 (window-min-delta, window-max-delta, window-resizable)
3167 (window-resizable-p, window-full-height-p, window-full-width-p)
3168 (window-current-scroll-bars, window-point-1, set-window-point-1)
3169 (window-at-side-p, window-in-direction, window-resize)
3170 (adjust-window-trailing-edge, maximize-window, minimize-window)
3171 (window-deletable-p, delete-window, delete-other-windows)
3172 (record-window-buffer, unrecord-window-buffer)
3173 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3174 (quit-window, split-window, window-state-put)
3175 (set-window-text-height, fit-window-to-buffer)
3176 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3177
89bd5ee1
EZ
31782011-11-04 Eli Zaretskii <eliz@gnu.org>
3179
53479029
EZ
3180 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3181 rfc2047-decode-string.
3182 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3183 warnings.
3184
89bd5ee1
EZ
3185 * window.el (window-body-height, window-body-width): Mention in
3186 the doc string that the return values are in frame's canonical
3187 units. (Bug#9949)
3188
bd17fdee
AM
31892011-11-03 Alan Mackenzie <acm@muc.de>
3190
3191 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3192 change in cc-engine.el.
3193
acc825c5
SM
31942011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3197
1885e5b8
MR
31982011-11-02 Martin Rudalics <rudalics@gmx.at>
3199
3200 * window.el (quit-window): Call unrecord-window-buffer after
3201 showing another buffer in the window. (Bug#9937)
acc825c5 3202 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3203
ebe06da9
JB
32042011-11-02 Juanma Barranquero <lekktu@gmail.com>
3205
3206 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3207 Accept status with more than 9 shelves. (Bug#9935)
3208 Reported by Colin D Bennett <colin@gibibit.com>.
3209
4ee88440
MR
32102011-11-01 Martin Rudalics <rudalics@gmx.at>
3211
3212 * help.el (with-help-window): Don't reference
3213 temp-buffer-show-specifiers in doc-string.
3214
08e1d82c
AS
32152011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3216
3217 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3218 menu-item.
3219
84bd6e9e
VJL
32202011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3221
3222 * whitespace.el: New version 13.2.2.
3223 (whitespace-newline-mode): Disable properly. Reported by Sarah
3224 <EmacsWiki>.
3225
dba0634a
UJ
32262011-10-30 Ulf Jasper <ulf.jasper@web.de>
3227
3228 * net/newst-treeview.el: Remove "Time-stamp".
3229 (newsticker--group-manage-orphan-feeds): Do not call
3230 newsticker--treeview-tree-update.
db22a3c2
JB
3231 (newsticker-treeview-update, newsticker-treeview):
3232 Call newsticker--treeview-tree-update if necessary.
dba0634a 3233
3d8daefe
MR
32342011-10-30 Martin Rudalics <rudalics@gmx.at>
3235
3236 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3237 (window-iso-combinations): Remove "iso-" infix.
3238 Suggested by Chong Yidong.
3d8daefe
MR
3239 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3240 (window-max-delta-1, window-resize, window--resize-siblings)
3241 (window--resize-this-window, adjust-window-trailing-edge)
3242 (split-window, balance-windows-1)
3243 (shrink-window-if-larger-than-buffer):
3244 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3245 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3246
1bc4c3ae
SM
32472011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3250 in place (bug#9907).
3251 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3252 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3253 (eshell-structure-basic-command, eshell-rewrite-while-command)
3254 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3255 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3256 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3257 (eshell-do-pipelines-synchronously, eshell-eval-command):
3258 Use backquotes and prefer setq to set.
3259 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3260 (eshell-macrop): Use functionp.
c1e2f5fa 3261 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3262
30b65d9c
CY
32632011-10-30 Chong Yidong <cyd@gnu.org>
3264
3265 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3266 instead of set-mark (Bug#9810).
3267
2d197ffb
CY
32682011-10-30 Chong Yidong <cyd@gnu.org>
3269
3270 * window.el (split-window-below, split-window-right): Rename from
3271 split-window-above-each-other and split-window-side-by-side
3272 respectively. All callers changed.
3273 (split-window-sensibly, split-window-sensibly): Use them.
3274 (split-window-keep-point): Doc fix.
3275
3276 * isearch.el: Add isearch-scroll property to split-window-below
3277 and split-window-right.
3278
3279 * follow.el (follow-mode):
3280 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3281 * progmodes/ada-xref.el (ada-gdb-application):
3282 * emulation/vip.el (vip-buffer-in-two-windows):
3283 * image-dired.el (image-dired-dired-with-window-configuration):
3284 * dired-x.el (dired-do-find-marked-files):
3285 * dired.el (dired-pop-to-buffer):
3286 * bs.el (bs--show-with-configuration):
3287 * vc/emerge.el (emerge-setup-windows):
3288 * textmodes/two-column.el (2C-two-columns):
3289 * textmodes/reftex-toc.el (reftex-toc):
3290 * progmodes/gdb-mi.el (gdb-setup-windows):
3291 * progmodes/fortran.el (fortran-window-create):
3292 * net/newst-treeview.el (newsticker--treeview-window-init):
3293 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3294 * emulation/tpu-edt.el (tpu-gold-map):
3295 * emulation/crisp.el (crisp-mode-map):
3296 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3297
38bb2ca8
CY
32982011-10-29 Chong Yidong <cyd@gnu.org>
3299
aa4de341
CY
3300 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3301
e1eb5385
CY
3302 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3303
5d2ece3c
CY
3304 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3305 forged Ispell output (Bug#7904).
3306
38bb2ca8
CY
3307 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3308
d0af9f77
SM
33092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * doc-view.el: Avoid ugly errors about not finding nil.
3312 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3313 (doc-view-dvipdf-program, doc-view-unoconv-program)
3314 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3315 Avoid nil or absolute file name as default value.
3316 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3317
52bedd34
AM
33182011-10-28 Alan Mackenzie <acm@muc.de>
3319
db22a3c2 3320 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3321
7e43cfa5
AM
33222011-10-28 Alan Mackenzie <acm@muc.de>
3323
3324 Amend the handling of c-beginning/end-of-defun in nested declaration
3325 scopes.
3326
52bedd34
AM
3327 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3328 cc-langs.el. Change it to a defcustom.
7e43cfa5 3329
52bedd34
AM
3330 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3331 cc-vars.el.
7e43cfa5 3332
d0af9f77
SM
3333 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3334 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3335
52bedd34 3336 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3337 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3338 (c-widen-to-enclosing-decl-scope): New function.
3339 (c-while-widening-to-decl-block): New macro.
3340 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3341 outward for defun boundaries, and correspondingly change symbol
3342 `respect-enclosure' to `go-outward'.
3343 (c-declaration-limits): Change algorithm to report only the "innermost"
3344 defun's boundaries.
3345
1a2ce9ee
DD
33462011-10-28 Deniz Dogan <deniz@dogan.se>
3347
3348 * net/rcirc.el (rcirc-mode): Use hard newlines.
3349
bc97a826
AM
33502011-10-28 Alan Mackenzie <acm@muc.de>
3351
3352 Amend to indent and fontify macros "which include their own semicolon"
3353 correctly, using the "virtual semicolon" mechanism.
3354
52bedd34 3355 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3356
d0af9f77 3357 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3358 Recode to scan one line at a time rather than having \n and \r
58179cce 3359 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3360 (c-forward-label): Amend for virtual semicolons.
58179cce 3361 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3362
52bedd34
AM
3363 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3364 of the new C macros.
bc97a826 3365
52bedd34 3366 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3367 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3368 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3369 (c-opt-cpp-macro-define): Make into a full language variable.
3370 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3371 AWK Mode (including \n, \r) removed, no longer needed.
3372
d0af9f77
SM
3373 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3374 Invoke c-make-macro-with-semi-re.
bc97a826 3375
52bedd34
AM
3376 * progmodes/cc-vars.el (c-macro-with-semi-re):
3377 (c-macro-names-with-semicolon): New variables.
58179cce 3378 (c-make-macro-with-semi-re): New function.
bc97a826 3379
7a6c0941
SM
33802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * vc/log-edit.el: Fill empty field rather than adding new one.
3383 (log-edit-add-field): New function.
3384 (log-edit-insert-changelog): Use it.
3385
b0c4cdcf
ML
33862011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3387
3388 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3389
ee1f1da9
SM
33902011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3393 (gdb--check-interpreter): New function.
3394 (gdb): Use it.
3395
51bc5f8b
GM
33962011-10-27 Glenn Morris <rgm@gnu.org>
3397
416a2c45
GM
3398 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3399 (least-positive-float, least-negative-float)
3400 (least-positive-normalized-float, least-negative-normalized-float)
3401 (float-epsilon, float-negative-epsilon):
3402 Remove unnecessary declarations.
3403
3404 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3405 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3406 (least-positive-float, least-negative-float)
3407 (least-positive-normalized-float, least-negative-normalized-float)
3408 (float-epsilon, float-negative-epsilon): Add doc-strings,
3409 based on those in cl.texi.
3410
51bc5f8b
GM
3411 * files.el (set-visited-file-name): If the major-mode changed,
3412 reload the local variables. (Bug#9796)
3413
15de15c6
CY
34142011-10-27 Chong Yidong <cyd@gnu.org>
3415
3416 * subr.el (change-major-mode-after-body-hook): New hook.
3417 (run-mode-hooks): Run it.
3418
ee1f1da9
SM
3419 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3420 Use change-major-mode-before-body-hook.
15de15c6
CY
3421
3422 * simple.el (fundamental-mode):
3423 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3424 change introducing fundamental-mode-hook.
3425
5430d399
JB
34262011-10-26 Juanma Barranquero <lekktu@gmail.com>
3427
acc825c5 3428 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3429
ad74a69e
MA
34302011-10-26 Michael Albinus <michael.albinus@gmx.de>
3431
3432 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3433 tramp.el explicitly. (Bug#7583)
ad74a69e 3434
71d4c2a5
SM
34352011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * progmodes/octave-mod.el:
3438 * progmodes/octave-inf.el: Update maintainer.
3439
b1f6fa26
CY
34402011-10-26 Chong Yidong <cyd@gnu.org>
3441
3442 * subr.el (with-wrapper-hook): Rewrite doc.
3443
3f04efd6
MA
34442011-10-25 Michael Albinus <michael.albinus@gmx.de>
3445
3446 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3447 filenames "/method:foo:". (Bug#9793)
3f04efd6 3448
410488d3
SM
34492011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3452 (bug#9865).
3453
c1ebb47e
GM
34542011-10-24 Glenn Morris <rgm@gnu.org>
3455
3456 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3457
7f5c46c7
MA
34582011-10-24 Michael Albinus <michael.albinus@gmx.de>
3459
3460 * notifications.el: Add the requirement of a running D-Bus session
3461 bus to the Commentary.
3462
db2440b6
JL
34632011-10-24 Juri Linkov <juri@jurta.org>
3464
3465 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3466 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3467 (Bug#9364)
3468
feecf435
JL
34692011-10-24 Juri Linkov <juri@jurta.org>
3470
3471 * info.el (Info-following-node-name-re): Add newline to the list
3472 of allowed characters for leading space. (Bug#9824)
3473
a3839de2
SM
34742011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3475
acc825c5
SM
3476 * progmodes/octave-inf.el (inferior-octave-mode-map):
3477 Fix C-c C-h binding.
a3839de2
SM
3478 * progmodes/octave-mod.el (octave-help): Remove.
3479
09388e76
MA
34802011-10-23 Michael Albinus <michael.albinus@gmx.de>
3481
3482 Sync with Tramp 2.2.3.
3483
3484 * net/tramp-cache.el (top): Pacify byte-compiler using
3485 `init-file-user' and `site-run-file'.
3486
3487 * net/trampver.el: Update release number.
3488
86c60681
CY
34892011-10-23 Chong Yidong <cyd@gnu.org>
3490
3491 * files.el (toggle-read-only): Remove obsolete comment about
3492 version control.
3493
3494 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3495 for toggle-read-only. Note that this hasn't called vc-next-action
3496 since 2008-05-02, though it wasn't documented at the time.
3497
a3839de2
SM
3498 * vc/ediff-init.el (ediff-toggle-read-only-function):
3499 Use toggle-read-only.
86c60681 3500
cd5495ff
AM
35012011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3502
3503 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3504 of c-parse-state.
3505
00b77525 3506 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3507 correct faulty logical expression.
cd5495ff
AM
3508 (c-parse-state-state, c-record-parse-state-state):
3509 (c-replay-parse-state-state): New defvar/defuns.
3510 (c-debug-parse-state): Use new functions.
3511
42ee24ed
MR
35122011-10-22 Martin Rudalics <rudalics@gmx.at>
3513
3514 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3515 last fix. Use window-in-direction correctly.
42ee24ed 3516
a7dee7e7
CY
35172011-10-21 Chong Yidong <cyd@gnu.org>
3518
3519 * progmodes/idlwave.el (idlwave-mode):
3520 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3521 require-final-newline; that's done in prog-mode.
3522 Suggested by Stefan Monnier.
a7dee7e7 3523
e07b9a6d
MR
35242011-10-21 Martin Rudalics <rudalics@gmx.at>
3525
3526 * mouse.el (mouse-drag-window-above)
3527 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3528 (mouse-drag-mode-line-1, mouse-drag-header-line)
3529 (mouse-drag-vertical-line-rightward-window): Remove.
3530 (mouse-drag-line): New function.
3531 (mouse-drag-mode-line, mouse-drag-header-line)
3532 (mouse-drag-vertical-line): Call mouse-drag-line.
3533 * window.el (window-at-side-p, windows-at-side): New functions.
3534
7e1361d9
UM
35352011-10-21 Ulrich Mueller <ulm@gentoo.org>
3536
3537 * tar-mode.el (tar-grind-file-mode):
3538 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3539
30fcaf3a
CY
35402011-10-21 Chong Yidong <cyd@gnu.org>
3541
3542 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3543 * progmodes/vera-mode.el (vera-mode):
3544 Use mode-require-final-newline.
30fcaf3a 3545
516eddb0
GM
35462011-10-20 Glenn Morris <rgm@gnu.org>
3547
db22a3c2 3548 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3549
10d5f513
CS
35502011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3551
3552 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3553
ac6c8639
CY
35542011-10-20 Chong Yidong <cyd@gnu.org>
3555
3556 * emulation/cua-base.el (cua-mode):
3557 * mail/footnote.el (footnote-mode):
3558 * mail/mailabbrev.el (mail-abbrevs-mode):
3559 * net/xesam.el (xesam-minor-mode):
3560 * progmodes/bug-reference.el (bug-reference-mode):
3561 * progmodes/cap-words.el (capitalized-words-mode):
3562 * progmodes/compile.el (compilation-minor-mode)
3563 (compilation-shell-minor-mode):
3564 * progmodes/gud.el (gud-tooltip-mode):
3565 * progmodes/hideif.el (hide-ifdef-mode):
3566 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3567 * progmodes/subword.el (subword-mode):
3568 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3569 * progmodes/which-func.el (which-function-mode):
3570 * term/tvi970.el (tvi970-set-keypad-mode):
3571 * term/vt100.el (vt100-wide-mode):
3572 * textmodes/flyspell.el (flyspell-mode):
3573 * textmodes/ispell.el (ispell-minor-mode):
3574 * textmodes/nroff-mode.el (nroff-electric-mode):
3575 * textmodes/paragraphs.el (use-hard-newlines):
3576 * textmodes/refill.el (refill-mode):
3577 * textmodes/reftex.el (reftex-mode):
3578 * textmodes/rst.el (rst-minor-mode):
3579 * textmodes/sgml-mode.el (html-autoview-mode)
3580 (sgml-electric-tag-pair-mode):
3581 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3582 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3583 * emulation/crisp.el (crisp-mode):
3584 * emacs-lisp/eldoc.el (eldoc-mode):
3585 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3586 minor mode behavior.
3587
aa42ab43
JL
35882011-10-19 Juri Linkov <juri@jurta.org>
3589
3590 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3591 the list of hard-coded chars with escape-glyph face.
3592
89400f1d
SM
35932011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3596
305c07f6
MA
35972011-10-19 Michael Albinus <michael.albinus@gmx.de>
3598
3599 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3600 running process.
3601
13754b54
GM
36022011-10-19 Glenn Morris <rgm@gnu.org>
3603
3604 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3605 Ignore ignored files. (Bug#9726)
3606
06e21633
CY
36072011-10-19 Chong Yidong <cyd@gnu.org>
3608
3609 Doc fix for minor modes, stating that an omitted argument enables
3610 the mode unconditionally when called from Lisp.
3611
3612 * abbrev.el (abbrev-mode):
3613 * allout.el (allout-mode):
3614 * autoinsert.el (auto-insert-mode):
3615 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3616 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3617 (global-auto-revert-mode):
3618 * battery.el (display-battery-mode):
3619 * composite.el (global-auto-composition-mode)
3620 (auto-composition-mode):
3621 * delsel.el (delete-selection-mode):
3622 * desktop.el (desktop-save-mode):
3623 * dired-x.el (dired-omit-mode):
3624 * dirtrack.el (dirtrack-mode):
3625 * doc-view.el (doc-view-minor-mode):
3626 * double.el (double-mode):
3627 * electric.el (electric-indent-mode, electric-pair-mode):
3628 * emacs-lock.el (emacs-lock-mode):
3629 * epa-hook.el (auto-encryption-mode):
3630 * follow.el (follow-mode):
3631 * font-core.el (font-lock-mode):
3632 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3633 * help.el (temp-buffer-resize-mode):
3634 * hilit-chg.el (highlight-changes-mode)
3635 (highlight-changes-visible-mode):
3636 * hi-lock.el (hi-lock-mode):
3637 * hl-line.el (hl-line-mode, global-hl-line-mode):
3638 * icomplete.el (icomplete-mode):
3639 * ido.el (ido-everywhere):
3640 * image-file.el (auto-image-file-mode):
3641 * image-mode.el (image-minor-mode):
3642 * iswitchb.el (iswitchb-mode):
3643 * jka-cmpr-hook.el (auto-compression-mode):
3644 * linum.el (linum-mode):
3645 * longlines.el (longlines-mode):
3646 * master.el (master-mode):
3647 * mb-depth.el (minibuffer-depth-indicate-mode):
3648 * menu-bar.el (menu-bar-mode):
3649 * minibuf-eldef.el (minibuffer-electric-default-mode):
3650 * mouse-sel.el (mouse-sel-mode):
3651 * msb.el (msb-mode):
3652 * mwheel.el (mouse-wheel-mode):
3653 * outline.el (outline-minor-mode):
3654 * paren.el (show-paren-mode):
3655 * recentf.el (recentf-mode):
3656 * reveal.el (reveal-mode, global-reveal-mode):
3657 * rfn-eshadow.el (file-name-shadow-mode):
3658 * ruler-mode.el (ruler-mode):
3659 * savehist.el (savehist-mode):
3660 * scroll-all.el (scroll-all-mode):
3661 * scroll-bar.el (scroll-bar-mode):
3662 * server.el (server-mode):
3663 * shell.el (shell-dirtrack-mode):
3664 * simple.el (auto-fill-mode, transient-mark-mode)
3665 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3666 (line-number-mode, column-number-mode, size-indication-mode)
3667 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3668 * strokes.el (strokes-mode):
3669 * time.el (display-time-mode):
3670 * t-mouse.el (gpm-mouse-mode):
3671 * tool-bar.el (tool-bar-mode):
3672 * tooltip.el (tooltip-mode):
3673 * type-break.el (type-break-mode-line-message-mode)
3674 (type-break-query-mode):
3675 * view.el (view-mode):
3676 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3677 (global-whitespace-mode, global-whitespace-newline-mode):
3678 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3679
a3839de2
SM
3680 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3681 Fix autogenerated docstring.
06e21633 3682
5214e501
JL
36832011-10-19 Juri Linkov <juri@jurta.org>
3684
3685 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3686 by checking environment variables "DESKTOP_SESSION" and
3687 "XDG_CURRENT_DESKTOP". (Bug#9779)
3688
195f8db9
JL
36892011-10-19 Juri Linkov <juri@jurta.org>
3690
3691 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3692 (browse-url-chromium-program, browse-url-chromium-arguments):
3693 New defcustoms.
3694 (browse-url-default-browser): Check for `browse-url-chromium' and
3695 call `browse-url-chromium-program'.
3696 (browse-url-chromium): New command. (Bug#9779)
3697
343a34ff
JB
36982011-10-18 Juanma Barranquero <lekktu@gmail.com>
3699
3700 * facemenu.el (list-colors-duplicates): On Windows, detect more
3701 duplicates by assuming that only colors matching "^System" are
3702 special "system colors". (Bug#9722)
3703
6978a151
SM
37042011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3707 to distinguish the author from the committer.
3708
6a80b297
MA
37092011-10-18 Michael Albinus <michael.albinus@gmx.de>
3710
3711 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3712
b31a5677
JK
37132011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3714
3715 * international/mule.el (sgml-html-meta-auto-coding-function):
3716 Add support for detecting encoding in HTML5 specified only as
3717 <meta charset="UTF-8">. Implementation just makes http-equiv and
3718 content-type parts from HTML4 encoding string optional. (Bug#9716)
3719
80c6d77f
GM
37202011-10-18 Glenn Morris <rgm@gnu.org>
3721
3722 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3723
08b0fee8
CY
37242011-10-18 Chong Yidong <cyd@gnu.org>
3725
3726 * faces.el (cursor): Doc fix.
3727
67e729a5
CY
37282011-10-17 Chong Yidong <cyd@gnu.org>
3729
3730 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3731
343a34ff 37322011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3733
3734 * dirtrack.el (dirtrack): Support shell buffers with path
3735 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3736
0bc06380
TZ
37372011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3738
3739 * json.el: Bump version to 1.3 and note change in History.
3740 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3741
8b79f3e0
SM
37422011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3743
5a7c536b
SM
3744 * comint.el (comint-insert-input, comint-send-input)
3745 (comint-get-old-input-default, comint-backward-matching-input)
3746 (comint-next-prompt): Use nil instead of `input' for field property of
3747 past user input (bug#114).
3748
96a8a0df
SM
3749 * minibuffer.el (completion--replace): Inherit surrounding properties
3750 (bug#114).
3751 (minibuffer-complete-and-exit): Use it.
3752
8b79f3e0
SM
3753 * comint.el (comint--table-subvert): Quote the all-completions output
3754 (bug#9160).
3755
b8f7ff0d
MR
37562011-10-17 Martin Rudalics <rudalics@gmx.at>
3757
8b79f3e0 3758 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3759
b8f7ff0d 3760 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3761 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3762 entries and separate them from frame entries.
3763
c235b555
GM
37642011-10-15 Glenn Morris <rgm@gnu.org>
3765
3766 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3767 Doc fixes.
3768
6bbfa6e1
CY
37692011-10-15 Chong Yidong <cyd@stupidchicken.com>
3770
8b79f3e0
SM
3771 * net/network-stream.el (network-stream-open-starttls):
3772 Improve detection of failure due to lack of TLS support.
ec5c990d 3773
6bbfa6e1
CY
3774 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3775 putting the input text in front and in bold.
3776
98488977
SM
37772011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3d1337be
SM
3779 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3780
ee0b45e4
SM
3781 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3782 empty buffer.
3783
98488977
SM
3784 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3785 unread-command-events rather than pushing yet-another event.
3786
186f4720
EZ
37872011-10-14 Eli Zaretskii <eliz@gnu.org>
3788
3789 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3790 the explanation of the possible choices. Make the options passed
3791 to completing-read shorter.
3792
8b7a997c
AM
37932011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3794
3795 * textmodes/flyspell.el (flyspell-large-region): Make sure
3796 extended character mode is used if defined (Bug#1339).
3797
12587bbb
EZ
37982011-10-13 Eli Zaretskii <eliz@gnu.org>
3799
3800 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3801 character info for LRE, LRO, RLE, and RLO characters by appending
3802 an invisible PDF.
12587bbb 3803
bad41229
SM
38042011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3807 even in case of error; add debug spec; simplify data flow.
3808 (with-timeout-handler): Remove.
3809
28dbc92f
MA
38102011-10-12 Michael Albinus <michael.albinus@gmx.de>
3811
3812 Fix Bug#6019, Bug#9315.
3813
3814 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3815 complete `buffer-file-name', the local file name part could look
3816 remotely (for example on VMS).
3817
3818 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3819 `tramp-run-real-handler'.
3820 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3821 already quoted by '"'.
3822
3823 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3824 Let `file-name-handler-alist' be nil, the local file name part
3825 could look remotely (for example on VMS).
3826
e1b0b23a
SM
38272011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3830 from here...
3831 (flyspell-post-command-hook): ...to here.
3832
a120bde9
SM
38332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3836 if not needed.
3837 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3838 using completion. Protect against "slow" callers.
3839 Remove the "message hack".
3840
7ce7717b
JL
38412011-10-11 Juri Linkov <juri@jurta.org>
3842
3843 * isearch.el (isearch-lazy-highlight-word): New variable.
3844 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3845 Use it. (Bug#9727)
3846
c02ee9d6
GM
38472011-10-11 Glenn Morris <rgm@gnu.org>
3848
3849 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3850 like f90-previous-statement does.
3851
93e616fd 38522011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3853
1f190e73 3854 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3855 only in interactive use, to avoid error.
3856
af7b6078
SM
38572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * minibuffer.el (completion-file-name-table): Fix last change,
3860 i.e. ignore normal errors but not the other ones.
3861
0563dae9
MR
38622011-10-10 Martin Rudalics <rudalics@gmx.at>
3863
3864 * window.el (special-display-buffer-names)
3865 (special-display-regexps): Remove some remnants of earlier
3866 changes from doc-strings.
366ca7f3
MR
3867 (quit-windows-on): New function.
3868
3869 * vc/vc.el (vc-revert, vc-rollback):
3870 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3871 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3872 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3873
49677495
MR
38742011-10-09 Martin Rudalics <rudalics@gmx.at>
3875
3876 * window.el (frame-auto-hide-function): Add version tag.
3877 (Bug#9699)
3878
56f2d1e1
MA
38792011-10-09 Michael Albinus <michael.albinus@gmx.de>
3880
3881 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3882 condition.
3883
112a6592
LL
38842011-10-09 Leo Liu <sdl.web@gmail.com>
3885
3886 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3887 (Bug#9701)
3888
0812589b
GM
38892011-10-08 Glenn Morris <rgm@gnu.org>
3890
3891 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3892 before the first code statement zero indent. (Bug#9690)
3893
b2b0776e
CY
38942011-10-08 Chong Yidong <cyd@stupidchicken.com>
3895
3896 * simple.el (count-words-region): Always count in the region.
3897 Report the number of lines and characters too.
3898 (count-words): New command, which counts in the buffer if the
3899 region is inactive, as count-words-region used to.
3900 (count-words--message): New function. Handle plurals.
3901 (count-lines-region): Make it an alias for count-words-region.
3902
3903 * bindings.el (esc-map): Replace count-lines-region with
3904 count-words-region.
3905
c557cd6b
MR
39062011-10-08 Martin Rudalics <rudalics@gmx.at>
3907
3908 * window.el (window--delete): Delete dedicated frame
3909 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3910 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3911
61a57ef4 39122011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3913
3a7d293b 3914 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3915
c3833279
CY
39162011-10-07 Chong Yidong <cyd@stupidchicken.com>
3917
3918 * bindings.el ([M-left],[M-right]): Bind to left-word and
3919 right-word respectively.
3920
21ce8245
GM
39212011-10-07 Glenn Morris <rgm@gnu.org>
3922
3923 * cus-start.el (debug-on-quit): Fix custom type.
3924
6d823bb2
LMI
39252011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3926
0181e193
LMI
3927 * subr.el (define-key-after): Clarify that the function is not
3928 useful for non-menu keymaps.
3929
6d823bb2
LMI
3930 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3931
8e3459ce 39322011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3933
21ce8245 3934 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3935 in current minibuffer (Fix bug with recursive minibuffers).
3936
a1c2d21e
CY
39372011-10-06 Chong Yidong <cyd@stupidchicken.com>
3938
3939 * progmodes/gdb-mi.el (gdb): Doc fix.
3940
5a4cf282
MR
39412011-10-05 Martin Rudalics <rudalics@gmx.at>
3942
3943 * window.el (frame-auto-hide-function): New option replacing
3944 frame-auto-delete. Suggested by Stefan Monnier.
3945 (window--delete): Call frame-auto-hide-function instead of
3946 investigating frame-auto-delete.
c96111ea
MR
3947 (window-point-1, set-window-point-1): New functions.
3948 (window-in-direction, record-window-buffer, window-state-get-1)
3949 (display-buffer-record-window): Use window-point-1 instead of
3950 window-point.
3951 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3952
9854542e
SM
39532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3956
8943cfb0
GM
39572011-10-05 Glenn Morris <rgm@gnu.org>
3958
3959 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3960 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3961
647ab967
LL
39622011-10-05 Leo Liu <sdl.web@gmail.com>
3963
3964 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3965 works with buffer object.
3966
3ddfbced
SM
39672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * mpc.el (mpc-tool-bar-map): Add labels.
3970
bdfa5dd2
GM
39712011-10-04 Glenn Morris <rgm@gnu.org>
3972
3973 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3974
0e2070b5
MR
39752011-10-04 Martin Rudalics <rudalics@gmx.at>
3976
3977 * window.el (window--delete): New function.
3978 (frame-auto-delete): Resuscitate option.
3979 (bury-buffer, replace-buffer-in-windows)
3980 (quit-window): Rewrite using window--delete.
3981 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3982 Pass display-buffer-mark-dedicated to window--display-buffer-2
3983 (Bug#9639).
3984
3dc61a09
SM
39852011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3986
915a9b64
SM
3987 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3988 returns a list (bug#9554). Add remote file name completion.
3989 * comint.el (comint--table-subvert): Curry and get quote&unquote
3990 functions as arguments.
3991 (comint--complete-file-name-data): Adjust call accordingly.
3992 * pcomplete.el (pcomplete--table-subvert): Remove.
3993 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3994
3dc61a09
SM
3995 * minibuffer.el (completion-table-case-fold): Use currying.
3996 (completion--styles-type, completion--cycling-threshold-type):
3997 New constants.
3998 (completion-styles, completion-category-overrides)
3999 (completion-cycle-threshold): Use them.
4000 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4001 completion-table-case-fold.
4002
8ea0a993
SB
40032011-10-03 Stephen Berman <stephen.berman@gmx.net>
4004
4005 * minibuffer.el (completion-category-overrides): Fix type of styles
4006 and add more user friendly tags (bug#9660).
4007
8c24b7f6
SM
40082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4011 (mule-input-method-string): New widget.
4012 (default-input-method, language-info-custom-alist): Use it.
4013
428fe61a
SM
40142011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4015
32c1fffd
SM
4016 * pcomplete.el: Require comint.
4017 (pcomplete--common-suffix): Remove.
4018 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4019 (pcomplete--table-subvert): Sync with comint--table-subvert.
4020 (pcomplete--entries): Use comint-completion-file-name-table.
4021 * comint.el (comint-unquote-filename): Simplify.
4022 (comint-completion-file-name-table): New function (bug#9616).
4023 (comint--complete-file-name-data): Use it.
4024
428fe61a
SM
4025 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4026 (pcmpl-gnu-tar-buffer): Remove.
4027 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4028 around. Make sure pcomplete-suffix-list is only changed temporarily.
4029 Don't look inside the tar's file if it's too large.
428fe61a 4030
04c52e2f
CY
40312011-10-01 Chong Yidong <cyd@stupidchicken.com>
4032
ce3cefcc
CY
4033 * cus-edit.el (custom-mode-map):
4034 * epa.el (epa-key-list-mode-map):
4035 * man.el (Man-mode-map):
4036 * startup.el (splash-screen-keymap):
4037 * simple.el (special-mode-map): Use scroll-up-command and
4038 scroll-down-command.
4039
4040 * progmodes/idlw-help.el (idlwave-help-mode-map):
4041 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4042 * net/newst-plainview.el (newsticker-mode-map):
4043 * emulation/ws-mode.el (wordstar-mode-map):
4044 * emulation/vi.el (vi-com-map):
4045 * calc/calc-graph.el (calc-graph-show-dumb):
4046 * term/sun.el (terminal-init-sun):
4047 * term/ns-win.el (global-map):
4048 * progmodes/grep.el (grep-mode-map):
4049 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4050 * mail/rmail.el (rmail-mode-map):
4051 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4052
04c52e2f
CY
4053 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4054 custom-safe-themes as special.
4055
79adf8c8
JD
40562011-10-01 Julien Danjou <julien@danjou.info>
4057
4058 * notifications.el (notifications-notify): Fix docstring.
4059
63bd50d3
PS
40602011-10-01 Per Starbäck <per@starback.se>
4061
4062 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4063
199e4c7e
MR
40642011-09-30 Martin Rudalics <rudalics@gmx.at>
4065
4066 * startup.el (command-line-1): Fix last fix by inserting
4067 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4068 (Bug#9605) and (Bug#9636)
199e4c7e 4069
fe5f08dd
EZ
40702011-09-29 Eli Zaretskii <eliz@gnu.org>
4071
4072 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4073 window is hscrolled, move by logical lines. (Bug#9607)
4074 (line-move-visual): Update the doc string to the above effect.
4075
b5516bbd
MR
40762011-09-29 Martin Rudalics <rudalics@gmx.at>
4077
ccee00c0
MR
4078 * window.el (display-buffer-record-window): When WINDOW is the
4079 selected window use `point' instead of `window-point'. (Bug#9626)
4080
b5516bbd
MR
4081 * startup.el (command-line-1): Use insert-before-markers when
4082 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4083
b5516bbd
MR
4084 * help.el (help-window): Remove variable.
4085
52aa0014
GM
40862011-09-29 Glenn Morris <rgm@gnu.org>
4087
4088 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4089
df9a7357
JB
40902011-09-29 Juanma Barranquero <lekktu@gmail.com>
4091
4092 * descr-text.el (describe-char-categories): Accept category
4093 descriptions more than one line long.
4094
a8406c20
SM
40952011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4096
88d9610c
SM
4097 * simple.el (delete-trailing-whitespace): Fix last change.
4098
a5daf810
SM
4099 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4100 Don't confuse "y => 3" as the beginning of a `y' operation.
4101
a8406c20
SM
4102 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4103 object has more than 4 slots (bug#9613).
4104
a239d4e9
JB
41052011-09-28 Juanma Barranquero <lekktu@gmail.com>
4106
4107 * subr.el (with-output-to-temp-buffer):
4108 * net/quickurl.el (quickurl, quickurl-browse-url):
4109 Fix typos in docstrings.
4110
693fbdb6
EZ
41112011-09-27 Eli Zaretskii <eliz@gnu.org>
4112
4113 * minibuffer.el (completion-styles)
4114 (completion-category-overrides): Cross reference each other in doc
4115 strings.
4116
8b457e28
GM
41172011-09-27 Glenn Morris <rgm@gnu.org>
4118
4119 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4120 to split-string. (Bug#9606)
4121
85a16208
LMI
41222011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4123
4124 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4125 (bug#9615).
4126
502f9ebd
CY
41272011-09-27 Chong Yidong <cyd@stupidchicken.com>
4128
4129 * emacs-lisp/package.el (list-packages): Fix echo area message.
4130
7690bdea
LL
41312011-09-27 Leo Liu <sdl.web@gmail.com>
4132
4133 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4134
e2ee6f30
MA
41352011-09-25 Michael Albinus <michael.albinus@gmx.de>
4136
4137 * net/dbus.el (dbus-unregister-object): Don't release services for
4138 registered signals. (Bug#9581)
4139
f3f98342
TZ
41402011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4141
4142 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4143 function that picks between cfengine 2 and 3 support
4144 automatically. Update docs accordingly.
4145
dd7aa8dd
KH
41462011-09-22 Kenichi Handa <handa@m17n.org>
4147
4148 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4149 ZERO.
4150 (indian-itrans-v5-table-for-tamil): New variable.
4151 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4152
3f2b07f8
KM
41532011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4154
4155 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4156 that's true if the current command involved collapsing of text.
4157 It's reset to false at the beginning of the next command.
4158 (allout-post-command-business): Move the cursor to the beginning
4159 of entry if the cursor is hidden and collapsing activity just
4160 happened.
4161
371d6a61
CY
41622011-09-24 Chong Yidong <cyd@stupidchicken.com>
4163
4164 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4165 tracking (Bug#9541).
4166
2ac2721a
UJ
41672011-09-24 Ulf Jasper <ulf.jasper@web.de>
4168
4169 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4170 (newsticker-show-news): Automatically load html rendering package
4171 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4172 because w3m-fill-column is let-bound" and the error "Symbol's value
4173 as variable is void: w3m-fill-column".
2ac2721a 4174
fac7ae53
MA
41752011-09-24 Michael Albinus <michael.albinus@gmx.de>
4176
4177 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4178 Release services only if they are defined. (Bug#9581)
4179
e08b633b
RS
41802011-09-23 Richard Stallman <rms@gnu.org>
4181
e488d29c
RS
4182 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4183 distinguish start of paragraph from start of its text.
4184
19c38752
RS
4185 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4186
e08b633b
RS
4187 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4188 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4189 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4190
0a39f27e
AS
41912011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4192
4193 * international/mule-diag.el (mule-diag): Insert a newline after
4194 each fontset description.
4195
db4e950d
SM
41962011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * simple.el (delete-trailing-whitespace):
4199 Document last change; simplify.
4200
eca3f3ea
PW
42012011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4202
d68e189a
PW
4203 * simple.el (delete-trailing-whitespace): Also delete
4204 extra newlines at the end of the buffer.
4205
eca3f3ea
PW
4206 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4207 (picture-newline): Use forward-line so as to ignore fields.
4208
01c157cc
SM
42092011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * subr.el (with-wrapper-hook): Fix edebug spec.
4212
022de23e
LMI
42132011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4214
4215 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4216 (bug#4538).
4217
91683089
MA
42182011-09-23 Michael Albinus <michael.albinus@gmx.de>
4219
eca3f3ea
PW
4220 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4221 Fix nasty bug using wrong cached values.
91683089 4222
5bdd6fa4
AM
42232011-09-23 Alan Mackenzie <acm@muc.de>
4224
4225 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4226
97adfb97
CY
42272011-09-23 Chong Yidong <cyd@stupidchicken.com>
4228
4229 * window.el (pop-to-buffer): Ensure right window is selected if we
4230 chose another frame.
4231
d4ef2b50
EZ
42322011-09-22 Eli Zaretskii <eliz@gnu.org>
4233
4234 * simple.el (what-cursor-position): Use get-char-property-change
4235 and next-single-char-property-change, to be able to show display
4236 properties that come from overlays as well as text properties.
4237
72258fe5
CY
42382011-09-22 Chong Yidong <cyd@stupidchicken.com>
4239
4240 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4241
4242 * cmuscheme.el (run-scheme, switch-to-scheme):
4243 * cus-edit.el (customize-group, custom-buffer-create)
4244 (customize-browse):
4245 * info.el (info):
4246 * shell.el (shell):
4247 * mail/sendmail.el (mail):
4248 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4249
8f098516
RS
42502011-09-22 Richard Stallman <rms@gnu.org>
4251
4252 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4253 move back only to line beg, don't move back over blank lines.
4254
e74f1bb6
MA
42552011-09-22 Michael Albinus <michael.albinus@gmx.de>
4256
4257 * files.el (copy-directory): Set directory attributes only in case
4258 they could be retrieved from the source directory. (Bug#9565)
4259
bfeef8b6
DK
42602011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4261
4262 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4263 (hs-find-block-beginning, hs-hide-level-recursive):
4264 Ignore strings as well as comments. (Bug#9502)
4265
7e423bb8
AS
42662011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4267
4268 * progmodes/sql.el (sql-comint-postgres):
4269 Convert port number to a string. (Bug#9566)
4270
b4d72fcf
MR
42712011-09-22 Martin Rudalics <rudalics@gmx.at>
4272
4273 * window.el (quit-window): Undedicate window when switching to
4274 previous buffer. Reported by Thierry Volpiatto
4275 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4276 (special-display-popup-frame): When popping up a new frame reset
4277 its previous buffers to nil. Simplify code.
b4d72fcf 4278
a7b88dc6
MA
42792011-09-21 Michael Albinus <michael.albinus@gmx.de>
4280
4281 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4282 and process filter, as done also in `shell-command'.
4283
cf4eacfd
MR
42842011-09-21 Martin Rudalics <rudalics@gmx.at>
4285
eca3f3ea 4286 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4287 Call set-window-start with NOFORCE argument t.
4288 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4289 (quit-window): Reword doc-string. Handle new format of
4290 quit-restore parameter. Don't delete window if it has a
4291 previous buffer we can show instead of the present one.
4292 (display-buffer-record-window): Rewrite using a new format for
4293 the quit-restore window parameter
4294 (special-display-popup-frame, display-buffer-same-window)
4295 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4296 (display-buffer-pop-up-window, display-buffer-use-some-window):
4297 Adapt symbol passed to display-buffer-record-window.
4298 * help.el (help-window-setup): Handle new format of quit-restore
4299 parameter.
4300
8d28cb95
SM
43012011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4302
94ab793f
SM
4303 * faces.el (face-list): Fix docstring (bug#9564).
4304
8d28cb95
SM
4305 * window.el (display-buffer--action-function-custom-type):
4306 Don't include internal functions in the Custom interface.
4307
3820edeb
JL
43082011-09-20 Juri Linkov <juri@jurta.org>
4309
4310 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4311 (Info-forward-node, Info-backward-node, Info-next-preorder)
4312 (Info-last-preorder): Use it. (Bug#9528)
4313
5147931d
JL
43142011-09-20 Juri Linkov <juri@jurta.org>
4315
4316 * info.el (Info-last-preorder): Visit last menu item only when
4317 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4318
cf499a1a
JD
43192011-09-20 Julien Danjou <julien@danjou.info>
4320
4321 * password-cache.el (password-cache-remove): Remove entries even if the
4322 value is nil, so that password with a nil value (negative caching) is
4323 possible to invalidate.
4324
f84e2fe2
LM
43252011-09-20 Lawrence Mitchell <wence@gmx.li>
4326
4327 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4328 all whitespace around breakpoint. (Bug#9553)
4329 (f90-find-breakpoint): Only break at whitespace inside a comment.
4330
78054a46
SM
43312011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4332
4333 * minibuffer.el (completion-file-name-table): Keep track of errors.
4334 (completion-table-with-predicate): Handle the case where pred1 is nil.
4335 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4336
345083b2
SM
43372011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4338
e24e27be
SM
4339 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4340 (debugger-return-value): Signal an error if the debugging context does
4341 not await any return value.
4342
345083b2
SM
4343 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4344 * image-mode.el (image-toggle-display-text)
4345 (image-toggle-display-image): Stay away from evil `intangible'.
4346
08d355e3
LL
43472011-09-19 Leo Liu <sdl.web@gmail.com>
4348
4349 * replace.el (occur-revert-arguments): Make it permanent-local.
4350 (occur-mode): Don't call font-lock-defontify.
4351
f01da43f
CY
43522011-09-19 Chong Yidong <cyd@stupidchicken.com>
4353
4354 * net/ldap.el (ldap-search-internal): Don't push empty search
4355 result (Bug#9508).
4356
b6072fa6
SM
43572011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4360
443d6696
MA
43612011-09-19 Michael Albinus <michael.albinus@gmx.de>
4362
4363 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4364 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4365
7cc6e154
JL
43662011-09-18 Juri Linkov <juri@jurta.org>
4367
4368 * buff-menu.el (Buffer-menu-mode-map):
4369 * dired.el (dired-mode-map):
4370 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4371 (lisp-interaction-mode-map):
4372 * emacs-lisp/package.el (package-menu-mode-map):
4373 * epa.el (epa-key-list-mode-map):
4374 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4375 (menu-bar-options-menu):
4376 * outline.el (outline-mode-menu-bar-map):
4377 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4378 * vc/vc-dir.el (vc-dir-menu-map):
4379 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4380 Capitalize non-function content words in menu item strings.
4381
4382 * dired.el (dired-mode-map): Add menu item for
4383 `image-dired-dired-toggle-marked-thumbs'.
4384
80302a81
JL
43852011-09-18 Juri Linkov <juri@jurta.org>
4386
4387 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4388 to `isearch-case-fold-search' and restore its original value
4389 after the `isearch-mode' call.
4390
46c5cf66
JL
43912011-09-18 Juri Linkov <juri@jurta.org>
4392
4393 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4394 because `zgrep' returns 1 for successful matches (bug#9226).
4395
d18b513b
JL
43962011-09-18 Juri Linkov <juri@jurta.org>
4397
4398 * info.el (Info-extract-menu-node-name): Check the second match
4399 for empty string (second test-case of bug#9528).
4400 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4401 intermediate nodes to the history (first test-case of bug#9528).
4402
72753f87
JL
44032011-09-18 Juri Linkov <juri@jurta.org>
4404
4405 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4406 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4407
c9384295
JL
44082011-09-18 Juri Linkov <juri@jurta.org>
4409
1154d12e
JB
4410 * info.el (Info-file-supports-index-cookies):
4411 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4412 outputs one more line for long file names (bug#4142).
c9384295 4413
d473dce8
CY
44142011-09-18 Chong Yidong <cyd@stupidchicken.com>
4415
4416 * newcomment.el (comment-normalize-vars): If prompting for
4417 comment-start, set comment-start-skip too (Bug#8424).
4418
2176854d
JB
44192011-09-18 Johan Bockgård <bojohan@gnu.org>
4420
4421 * icomplete.el: Fix previous fix of Bug#5849.
4422 (icomplete-mode): Don't set completion-show-inline-help.
4423 (icomplete-minibuffer-setup): Set completion-show-inline-help
4424 locally during icompletion.
4425
3aace4e4
CY
44262011-09-18 Chong Yidong <cyd@stupidchicken.com>
4427
c940224f
CY
4428 * woman.el (woman2-process-escapes): Don't delete unrecognized
4429 escapes (Bug#7843).
4430
3aace4e4
CY
4431 * files.el (inhibit-first-line-modes-regexps): Add image files.
4432 (hack-local-variables-prop-line): Return nil for malformed
4433 prop-lines (Bug#9044).
4434
710dec63
MA
44352011-09-18 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * net/tramp.el (top): Don't require 'shell.
4438 (tramp-methods): Fix docstring.
4439 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4440 Return complete remote file name. Handle "smb" case.
4441 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4442 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4443
4444 * net/tramp-compat.el (top): Require 'shell.
4445
4446 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4447 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4448 `tramp-current-host'.
4449 (tramp-get-remote-tmpdir): Remove.
4450
4451 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4452 `tramp-tmpdir' entries.
4453 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4454 (tramp-smb-handle-file-attributes): Ignore errors.
4455 (tramp-smb-wait-for-output): Check also for process end.
4456
5d5ac8ec
LMI
44572011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4458
4459 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4460 when sending QUIT (bug#9312).
4461
8c0f49f0
CY
44622011-09-17 Chong Yidong <cyd@stupidchicken.com>
4463
4464 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4465 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4466 occur-mode-display-occurrence.
4467 (occur-edit-mode): Add usage message.
4468 (occur-cease-edit): New command.
4469 (occur-after-change-function): Use text properties to find the
4470 position of the prefix text.
4471 (occur-engine): Set stickiness of prefix text properties.
4472
8f1383f7
GM
44732011-09-17 Glenn Morris <rgm@gnu.org>
4474
4475 * progmodes/etags.el (complete-tag):
4476 Fix call to completion-in-region. (Bug#9526)
4477
744ba0e3
JL
44782011-09-17 Juri Linkov <juri@jurta.org>
4479
4480 * textmodes/ispell.el (ispell-word): Add to the error message
4481 the word, ispell program name and current dictionary (bug#9121).
4482 (ispell-tex-arg-end): Capitalize "error" in the error message.
4483
d9bbf400
AS
44842011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4485
4486 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4487 check. (Bug#4251)
4488
8da11505
JL
44892011-09-17 Juri Linkov <juri@jurta.org>
4490
4491 * window.el (window-safe-min-height, window-safe-min-width):
4492 Fix typos (followup to bug#9522).
4493
a91adc7e
SJ
44942011-09-17 Sven Joachim <svenjoac@gmx.de>
4495
4496 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4497
064f328a
EZ
44982011-09-16 Eli Zaretskii <eliz@gnu.org>
4499
4500 * simple.el (line-move): If goal-column is set, move by logical
4501 lines, not by display lines. (Bug#971)
4502 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4503 to reflect the above change.
4504
e69df516
SM
45052011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * image.el (imagemagick-register-types): Use regexp-opt.
4508
cbb0f9ab
CY
45092011-09-15 Chong Yidong <cyd@stupidchicken.com>
4510
4511 * window.el (display-buffer-base-action): Rename from
4512 display-buffer-default-action. Make default value empty.
4513 (display-buffer-overriding-action): Convert to defvar.
4514 (display-buffer-fallback-action): New var.
4515
25322144
CY
45162011-09-15 Chong Yidong <cyd@stupidchicken.com>
4517
4518 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4519 declaration.
4520 (package--add-to-archive-contents): If there is a duplicate entry
4521 with an older version, remove it.
4522 (package-menu-mark-delete, package-menu-mark-install)
4523 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4524 (package-menu-mark-obsolete-for-deletion):
4525 Use package-menu-get-status instead of a regexp search.
25322144
CY
4526 (package-menu-get-status): Use tabulated-list-entry.
4527 (package-menu-mark-upgrades): New command.
d770725a 4528 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4529 (package-menu-execute): Do installation before deletion.
4530 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4531 instead of checking major-mode.
4532 (package-menu--find-upgrades): New function.
4533
7520339c
LMI
45342011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4535
4536 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4537 passwords in the log buffer.
65a046c4
LMI
4538 (smtpmail-process-filter): Update the process marker so that the
4539 "broken by peer" status message is inserted in the right place.
7520339c 4540
d3c30954
SM
45412011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4542
3fe48822
SM
4543 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4544 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4545 bibtex-completion-at-point-function.
4546 (bibtex-completion-at-point-function): Use them.
4547
1b8b3954
SM
4548 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4549
d3c30954
SM
4550 * mpc.el (mpc-constraints-tag-lookup): New function.
4551 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4552 also to browser "album|playlist".
4553
72779976
JL
45542011-09-14 Juri Linkov <juri@jurta.org>
4555
4556 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4557 (isearch-edit-string): Use length of `isearch-string' when
4558 `isearch-fail-pos' returns nil.
4559 (isearch-message): Remove duplicate code and call
4560 `isearch-fail-pos' with arg `t'.
4561
a0bf2bcd
CY
45622011-09-14 Chong Yidong <cyd@stupidchicken.com>
4563
17bb0a2d
CY
4564 * replace.el (occur-mode-goto-occurrence): Don't force using other
4565 window (Bug#9499).
4566
a0bf2bcd
CY
4567 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4568
f678e0b6
MR
45692011-09-14 Martin Rudalics <rudalics@gmx.at>
4570
4571 * window.el (display-buffer-window): Remove.
4572 (display-buffer-record-window): Use help-setup window parameter
4573 instead of variable display-buffer-window.
4574 (display-buffer-function, special-display-buffer-names)
4575 (special-display-function): Mention help-setup parameter instead
4576 of display-buffer-window in doc-string.
d3c30954
SM
4577 * help.el (help-window-setup): New argument help-window.
4578 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4579 Reword some messages.
4580 (with-help-window): Pass window used for displaying the buffer
4581 to help-window-setup. Don't set display-buffer-window.
4582
8e39b2e8
GM
45832011-09-13 Glenn Morris <rgm@gnu.org>
4584
4585 * emacs-lisp/debug.el (debugger-make-xrefs):
4586 Preserve point. (Bug#9462)
4587
85e9c04b
CY
45882011-09-13 Chong Yidong <cyd@stupidchicken.com>
4589
4590 * window.el (window-deletable-p): Use next-frame.
4591
1b36ed6a
MR
45922011-09-13 Martin Rudalics <rudalics@gmx.at>
4593
4594 * window.el (window-auto-delete): Remove.
4595 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4596 dedication and previous buffers.
1b36ed6a
MR
4597 (switch-to-prev-buffer): Don't delete window.
4598 (delete-windows-on): Delete a window's frame if and only if the
4599 window is dedicated.
4600 (replace-buffer-in-windows): Delete buffer's window or frame if
4601 and only if window is dedicated.
4602 (quit-window): Handle quit-restore as before last change.
4d61f28d 4603 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4604
ef8ef9fb
CY
46052011-09-13 Chong Yidong <cyd@stupidchicken.com>
4606
4607 * window.el (window-deletable-p): Never delete the last frame on a
4608 given terminal.
4609
b2cba41e
GM
46102011-09-13 Glenn Morris <rgm@gnu.org>
4611
4612 * help.el (describe-key-briefly): Copy previous standard-output change.
4613
51553db6 46142011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4615
4616 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4617
b7556719
GM
46182011-09-13 Glenn Morris <rgm@gnu.org>
4619
4620 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4621 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4622
64b51947
CY
46232011-09-12 Chong Yidong <cyd@stupidchicken.com>
4624
4625 * dired-aux.el (dired-mark-read-string): Don't return default
4626 value on empty input (Bug#9361).
4627 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4628 Omit initial minibuffer contents.
4629 (dired-do-chmod): Signal an error on empty input.
4630 (dired-mark-read-string): Don't return default on empty input.
4631
4632 * files.el (file-modes-symbolic-to-number): Doc fix.
4633
393a301e
SM
46342011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * international/mule-cmds.el (ucs-completions): Remove.
4637 (read-char-by-name): Use complete-with-action instead; add metadata.
4638
fa5660f9
CY
46392011-09-11 Chong Yidong <cyd@stupidchicken.com>
4640
4641 * window.el (display-buffer--action-function-custom-type)
4642 (display-buffer--action-custom-type): New vars.
4643 (display-buffer-alist, display-buffer-default-action)
4644 (display-buffer-overriding-action): Add defcustom types.
4645
4a592f66
CY
4646 * frame.el (delete-other-frames): Doc fix (Bug#276).
4647
73d56dbd
LMI
46482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4649
4650 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4651
37ac18a3
CY
46522011-09-11 Chong Yidong <cyd@stupidchicken.com>
4653
4654 Change modes that used same-window-* vars to use switch-to-buffer.
4655
4656 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4657 Use switch-to-buffer.
4658
4659 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4660 (customize-browse, custom-buffer-create-other-window):
4661 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4662
4663 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4664 (Info-prev, Info-up, Info-speedbar-goto-node)
4665 (info-display-manual): Use switch-to-buffer.
4666 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4667
4668 * mail/sendmail.el (mail): Use switch-to-buffer.
4669 (mail-recover): Use switch-to-buffer-other-window.
4670
4671 * cmuscheme.el (run-scheme, switch-to-scheme):
4672 * ielm.el (ielm):
4673 * shell.el (shell):
4674 * net/rlogin.el (rlogin):
4675 * net/telnet.el (telnet, rsh):
4676 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4677
10195bd6
AS
46782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4679
4680 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4681
b322f63a
LMI
46822011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4683
39d7fed6
LMI
4684 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4685 so don't mention it (bug#9301).
ba5a81f1 4686 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4687
ee0e9f11
LMI
4688 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4689 match `x', `w32' and `ns', like the manual says (bug#9029).
4690
0b1c89c1 4691 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4692 (process-kill-buffer-query-function): Mention the buffer name in
4693 the query.
0b1c89c1 4694
77549ea8
LMI
4695 * image-mode.el (image-next-line): The line parameter is mandatory
4696 (bug#9258).
4697
803ef892
LMI
4698 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4699 which can be useful (bug#9301).
4700
12980837
LMI
4701 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4702
91054f8f
LMI
4703 * subr.el (match-string): Mention that the current buffer should
4704 be the same as the search was done in (bug#9282).
4705
b322f63a
LMI
4706 * facemenu.el: Disable the remove-* commands if the mark isn't
4707 active (bug#9162).
4708
3199b96f
CY
47092011-09-10 Chong Yidong <cyd@stupidchicken.com>
4710
4711 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4712 of display-buffer.
4713 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4714
4715 * replace.el (occur-mode-goto-occurrence)
4716 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4717 and display-buffer.
4718
4719 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4720 display-buffer.
4721
4722 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4723 special-display and same-window variables.
4724 (mail-other-window): Use switch-to-buffer-other-window.
4725 (mail-other-frame): USe switch-to-buffer-other-frame.
4726
393a301e
SM
4727 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4728 Use display-buffer-other-frame.
3199b96f
CY
4729 (gdb-display-gdb-buffer): Use pop-to-buffer.
4730
4731 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4732
4733 * progmodes/python.el: Don't set same-window-buffer-names.
4734
4735 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4736
4737 * window.el (display-buffer-alist): Add *Python*.
4738
8319e0bf
CY
47392011-09-10 Chong Yidong <cyd@stupidchicken.com>
4740
4741 * window.el (display-buffer-alist): Add entry for buffers
4742 previously handled same-window-*.
4743 (display-buffer-alist, display-buffer-default-action)
4744 (display-buffer-overriding-action): Mark as risky.
4745 (display-buffer-alist): Document action function changes.
4746 (display-buffer--same-window-action)
4747 (display-buffer--other-frame-action): New variables.
4748 (switch-to-buffer, display-buffer-other-frame): Use them.
4749 (display-buffer): Rename reuse-frame entry to reusable-frames.
4750 (display-buffer-reuse-selected-window): Function deleted.
4751 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4752 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4753 (display-buffer-special): New function.
4754 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4755 display-buffer-reuse-or-pop-window. Split off special-display
4756 part into display-buffer-special.
4757 (display-buffer-use-some-window): Don't perform any special
4758 pop-up-frames handling.
4759 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4760 (display-buffer--maybe-same-window): Rename from
0d3ff375 4761 display-buffer-maybe-same-window.
8319e0bf 4762
919a69aa
CY
4763 * info.el: Don't set same-window-regexps.
4764 (info-setup): New function.
4765 (info-other-window, info): Call it.
4766
4767 * cus-edit.el: Don't set same-window-regexps.
4768 (customize-group): New argument.
4769 (customize-group-other-window): Use it.
4770 (customize-face, customize-face-other-window): Likewise.
4771 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4772
8319e0bf
CY
4773 * net/rlogin.el:
4774 * net/telnet.el:
4775 * progmodes/gud.el: Don't set same-window-regexps.
4776
4777 * cmuscheme.el:
4778 * ielm.el:
4779 * shell.el:
4780 * mail/sendmail.el:
4781 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4782
25173000
JL
47832011-09-10 Juri Linkov <juri@jurta.org>
4784
4785 * isearch.el (isearch-edit-string): Remove obsolete mention of
4786 `C-w' (`isearch-yank-word-or-char') from docstring.
4787 (isearch-query-replace): Fix typo in docstring (bug#9466).
4788
056e44ef
JL
47892011-09-10 Juri Linkov <juri@jurta.org>
4790
4791 * paren.el (show-paren-function): Don't show escaped parens.
4792 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4793
c3760c17
EZ
47942011-09-10 Eli Zaretskii <eliz@gnu.org>
4795
4796 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4797 (mm-default-file-encoding): Remove autoload forms, they are
4798 replaced with autoload cookies in mml.el and mm-encode.el.
4799 (mail-add-attachment): New command.
4800 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4801 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4802 the doc string.
4803 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4804
fece895e
RT
48052011-09-10 Reuben Thomas <rrt@sc3d.org>
4806
e69df516
SM
4807 * simple.el (count-words-region): Use buffer if there's no region
4808 (bug#9429).
fece895e 4809
5e68ce4a
JL
48102011-09-09 Juri Linkov <juri@jurta.org>
4811
4812 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4813 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4814 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4815
0a6b9622
AM
48162011-09-09 Alan Mackenzie <acm@muc.de>
4817
4818 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4819 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4820
14a29deb
EZ
48212011-09-09 Eli Zaretskii <eliz@gnu.org>
4822
4823 Fix for Savannah bug#9392.
4824 * simple.el (mail-encode-mml): New defvar.
4825
4826 * mail/rmail.el (mail-encode-mml): Add a defvar.
4827 (rmail-enable-mime-composing): Default to t.
4828 (rmail-forward): Use MIME method of forwarding only if both
4829 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4830 Set mail-encode-mml non-nil if the MIME method was used.
4831
4832 * mail/sendmail.el (mml-to-mime): Add autoload form.
4833 (mail-encode-mml): Add a defvar.
4834 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4835 to nil.
4836 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4837 message through mml-to-mime, and reset mail-encode-mml to nil.
4838
28c45130
GM
48392011-09-09 Glenn Morris <rgm@gnu.org>
4840
4841 * woman.el (woman-if-body): When processing an .el block,
4842 do not delete the next .el block as well. (Bug#9447)
69f4b618 4843 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4844
9b1c252e
MR
48452011-09-08 Martin Rudalics <rudalics@gmx.at>
4846
4847 * window.el (window-deletable-p): Make sure window is live before
4848 invoking window-prev-buffers.
4849
567457e3
LL
48502011-09-08 Leo Liu <sdl.web@gmail.com>
4851
4852 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4853
97f05794
JL
48542011-09-08 Juri Linkov <juri@jurta.org>
4855
4856 * progmodes/compile.el (compilation-environment): Make it
4857 a defcustom (bug#8340).
4858
8b0874b5
MR
48592011-09-08 Martin Rudalics <rudalics@gmx.at>
4860
4861 * window.el (frame-auto-delete): Rename to window-auto-delete.
4862 Make it control auto-deletion of windows and/or frames.
4863 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4864 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4865 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4866 Rewrite handling of case when window/frame can be deleted.
4867 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4868 argument t. (Bug#9456)
8b0874b5 4869
4feb6e73
CY
48702011-09-07 Chong Yidong <cyd@stupidchicken.com>
4871
4872 * help-mode.el (help-mode): Restore autoload.
4873
91ab9c13
JL
48742011-09-07 Juri Linkov <juri@jurta.org>
4875
4876 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4877 `compilation-environment'. Set buffer-local
4878 `compilation-environment' to `thisenv' later after (funcall mode).
4879 (Bug#8340)
4880
4881 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4882 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4883 instead of replacing its value. (Bug#8340)
4884
0527e251
JL
48852011-09-07 Juri Linkov <juri@jurta.org>
4886
4887 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4888 based on text properties put by `grep-filter' instead of matching
4889 escape sequences.
4890 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4891 to the value of `grep-error-screen-columns' (bug#9438).
4892
249f792c
JL
48932011-09-07 Juri Linkov <juri@jurta.org>
4894
4895 * simple.el (next-error-highlight, next-error-highlight-no-select):
4896 Doc fix (bug#9432).
4897
ff7271b9
OT
48982011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4899
4900 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4901 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4902
183fc730
LL
49032011-09-07 Leo Liu <sdl.web@gmail.com>
4904
4905 * net/rcirc.el (rcirc-mode): Conditionally initialize
4906 rcirc-input-ring.
4907
77694924
SM
49082011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * emacs-lisp/find-func.el (find-function-C-source): Only set
4911 find-function-C-source-directory after checking that we found a source
4912 file there (bug#9440).
4913
d809b8eb
AM
49142011-09-06 Alan Mackenzie <acm@muc.de>
4915
4916 * isearch.el (isearch-other-meta-char): Wherever a key list is
4917 unread, "unread" the prefix arg, too. This fixes bug #8901.
4918
453de99f
OG
49192011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4920
4921 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4922
90439906
JL
49232011-09-05 Juri Linkov <juri@jurta.org>
4924
4925 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4926
f62bd846
JL
49272011-09-05 Juri Linkov <juri@jurta.org>
4928
4929 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4930 keeping point where processing of grep matches begins, and
4931 continue to delete remaining escape sequences from the same point.
4932 (grep-filter): Make leading zero optional in "0?1;31m" because
4933 git-grep emits "\033[1;31m" escape sequences unlike expected
4934 "\033[01;31m" as GNU Grep does (bug#9408).
4935 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4936
045820ec
JL
49372011-09-05 Juri Linkov <juri@jurta.org>
4938
4939 * subr.el (y-or-n-p): Capitalize "yes".
4940
f5e29b9b
MA
49412011-09-04 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4944 `tramp-cache-unload-hook' where appropriate.
4945 (tramp-methods): Rename `tramp-remote-sh' to
4946 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4947 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4948
4949 * net/tramp-sh.el (top): Don't require 'shell.
4950 (tramp-methods): Add `tramp-remote-shell' and
4951 `tramp-remote-shell-args' entries.
4952 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4953 (tramp-sh-handle-shell-command): Remove.
4954 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4955 Use `tramp-remote-shell'.
4956
2784c434
CY
49572011-09-03 Chong Yidong <cyd@stupidchicken.com>
4958
393a301e 4959 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4960 (sendmail-query-once): Save directly to send-mail-function.
4961 Update message-send-mail-function too.
4962
4963 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4964
464cdf56
CS
49652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4966
4967 * progmodes/python.el (python-mode-map): Use correct function to
4968 start python interpreter from menu-bar (as reported by Geert
4969 Kloosterman).
4970 (inferior-python-mode-map): Fix typo.
393a301e 4971 (python-shell-map): Remove.
464cdf56 4972
d37e5c87
DD
49732011-09-03 Deniz Dogan <deniz@dogan.se>
4974
4975 * net/rcirc.el (rcirc-print): Simplify code for
4976 rcirc-scroll-show-maximum-output. There is no need to walk
4977 through all windows to find the right one.
4978
f3ada0ee
CS
49792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4980
4981 * help.el (help-return-method): Doc fix.
4982
1f3c99ca
MR
49832011-09-03 Martin Rudalics <rudalics@gmx.at>
4984
4985 * window.el (window-deletable-p): Don't return a non-nil value
4986 when there's a buffer that was shown in the window before.
4987 (Bug#9419)
393a301e
SM
4988 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4989 Set window's previous buffers to nil.
1f3c99ca 4990
a3cf097f
EZ
49912011-09-03 Eli Zaretskii <eliz@gnu.org>
4992
4993 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4994 newline before and after the tag line, so it doesn't interfere
4995 with determining the paragraph direction of bidirectional text.
4996
3d03de90
LL
49972011-09-03 Leo Liu <sdl.web@gmail.com>
4998
4999 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5000
c3313451
CY
50012011-09-02 Chong Yidong <cyd@stupidchicken.com>
5002
393a301e 5003 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5004 (pop-to-buffer): Change interactive spec. Pass second argument
5005 directly to display-buffer.
5006 (display-buffer): Fix interactive spec. Use functionp to
5007 distinguish between a function and a list of functions.
5008
5009 * abbrev.el (edit-abbrevs):
5010 * arc-mode.el (archive-extract):
5011 * autoinsert.el (auto-insert):
5012 * bookmark.el (bookmark-bmenu-list):
5013 * files.el (find-file):
5014 * view.el (view-buffer):
5015 * progmodes/compile.el (compilation-goto-locus):
5016 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5017
89894cd8
CY
50182011-09-02 Chong Yidong <cyd@stupidchicken.com>
5019
5020 * window.el (display-buffer-alist): Doc fix.
5021 (display-buffer): Add docstring. Don't treat
5022 display-buffer-default specially.
5023 (display-buffer-reuse-selected-window)
5024 (display-buffer-same-window, display-buffer-maybe-same-window)
5025 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5026 (display-buffer-pop-up-window)
5027 (display-buffer-reuse-or-pop-window)
5028 (display-buffer-use-some-window): New functions.
5029 (display-buffer-default-action): Use them.
393a301e 5030 (display-buffer-default): Delete.
89894cd8
CY
5031 (pop-to-buffer-1): Fix choice of actions.
5032
ae0bc9fb
SM
50332011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * minibuffer.el (completion--insert-strings): Don't get confused by
5036 completion entries that end with an LF char.
5037
e9d90883
EZ
50382011-09-01 Eli Zaretskii <eliz@gnu.org>
5039
5040 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5041
437014c8
CY
50422011-09-01 Chong Yidong <cyd@stupidchicken.com>
5043
5044 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5045 (display-buffer-same-window, display-buffer-other-window):
5046 New functions.
437014c8
CY
5047 (pop-to-buffer-1): New function. Use the above.
5048 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5049 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5050
5051 * view.el (view-buffer-other-window, view-buffer-other-frame):
5052 Just use pop-to-buffer.
5053
a5e063d5
TV
50542011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5055
5056 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5057
793d32bb
WH
50582011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5059
5060 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5061
d65e4c15
RS
50622011-08-31 Richard Stallman <rms@gnu.org>
5063
5064 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5065 of the separation of rmail-view-buffer from rmail-buffer.
5066 If you say no to "replace original", the decrypt is in the
5067 view buffer. If you say yes, the decrypt goes into the
5068 rmail buffer also.
5069
f818cd2a
MR
50702011-08-31 Martin Rudalics <rudalics@gmx.at>
5071
5072 * window.el (display-buffer-window): Rewrite doc-string.
5073 (display-buffer-record-window): New function.
5074 (display-buffer-macro-specifiers)
5075 (display-buffer-even-window-sizes, display-buffer-set-height)
5076 (display-buffer-set-width, display-buffer-in-window)
5077 (display-buffer-reuse-window, display-buffer-split-specifiers)
5078 (display-buffer-side-specifiers, display-buffer-split-window-1)
5079 (display-buffer-split-window, display-buffer-split-atom-window)
5080 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5081 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5082 (display-buffer-other-window-means-other-frame)
5083 (display-buffer-normalize-special)
5084 (display-buffer-normalize-default)
5085 (display-buffer-normalize-argument)
5086 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5087 (display-buffer-normalize-specifiers, display-buffer-frame)
5088 (display-buffer-same-window, display-buffer-same-frame)
5089 (display-buffer-other-window)
5090 (display-buffer-same-frame-other-window)
5091 (display-buffer-other-frame, pop-to-buffer-same-window)
5092 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5093 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5094 (switch-to-buffer-same-frame)
5095 (switch-to-buffer-other-window-same-frame)
5096 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5097 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5098 (display-buffer-alist-set): Remove.
5099 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5100 (special-display-regexps, special-display-function):
5101 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5102 parameter.
5103 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5104 (special-display-frame-alist, special-display-popup-frame)
5105 (same-window-buffer-names, same-window-regexps, same-window-p)
5106 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5107 (split-window-preferred-function, split-height-threshold)
5108 (split-width-threshold, window-splittable-p)
5109 (split-window-sensibly, window--try-to-split-window)
5110 (window--frame-usable-p, even-window-heights)
5111 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5112 (window--display-buffer-2, display-buffer-other-frame):
5113 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5114 (display-buffer-default, display-buffer-assq-regexp): New functions.
5115 (display-buffer-alist): Rewrite doc-string.
5116 (display-buffer-default-action)
5117 (display-buffer-overriding-action): New variables.
5118 (display-buffer, switch-to-buffer): Rewrite.
5119 (pop-to-buffer): Restore Emacs 23 behavior but use
5120 window-normalize-buffer-to-display.
5121 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5122 Restore Emacs 23 behavior but use
5123 window-normalize-buffer-to-switch-to.
5124 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5125 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5126 Rewrite using Emacs 23 options.
f818cd2a 5127
5bc3b51d
MA
51282011-08-31 Michael Albinus <michael.albinus@gmx.de>
5129
5130 * net/tramp.el (tramp-root-regexp): Remove.
5131 (tramp-completion-file-name-regexp-unified)
5132 (tramp-completion-file-name-regexp-separate)
5133 (tramp-completion-file-name-regexp-url): Don't use leading volume
5134 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5135 (tramp-drop-volume-letter): Simplify definition.
5136 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5137
b1a4f8e1
SM
51382011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5141 (bug#9356).
5142
5664fa7b
RT
51432011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5144
b1a4f8e1 5145 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5146
9a45d6c3
JL
51472011-08-29 Juri Linkov <juri@jurta.org>
5148
5149 * isearch.el (isearch-done): Don't display message "Mark saved"
5150 when arg `edit' is non-nil to prevent its flicker in the echo area.
5151
fb87e0fb
CY
51522011-08-28 Chong Yidong <cyd@stupidchicken.com>
5153
5154 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5155 obsolete packages for deletion.
5156
09ac1c2a
CS
51572011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5158
5159 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5160 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5161 view-mode from help-mode.
5162 (help-xref-override-view-map): Remove.
5163 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5164 view-mode is not used anymore.
5165
7a1ff57f
CY
51662011-08-28 Chong Yidong <cyd@stupidchicken.com>
5167
5168 * server.el (server-port): Doc fix.
5169
b9696605
CY
5170 * cus-theme.el (custom-theme-choose-mode): Inherit from
5171 special-mode (Bug#9124).
5172 (custom-theme-choose-mode-map): Add special-mode to parent.
5173
ef8cdf8c
AM
51742011-08-28 Alan Mackenzie <acm@muc.de>
5175
5176 * progmodes/cc-fonts.el
5177 (c-make-font-lock-BO-decl-search-function): New function.
5178 (c-basic-matchers-after - "Fontify the clauses after various
5179 keywords"): Extract the three keyword lists for the 3 erroneous
5180 constructs from the list of four, and use the new function above
5181 in place of an old one.
5182
27de4e20
DD
51832011-08-28 Deniz Dogan <deniz@dogan.se>
5184
5185 * net/rcirc.el (rcirc-insert-prev-input)
5186 (rcirc-insert-next-input): Remove unused argument.
5187
356a3681
SM
51882011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5191
3fc9b218
AM
51922011-08-27 Alan Mackenzie <acm@muc.de>
5193
5194 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5195 handle function pointer parameters properly.
5196
538a061c
MR
51972011-08-27 Martin Rudalics <rudalics@gmx.at>
5198
5199 * window.el (display-buffer-reuse-window): Fix case where
5200 selected window was reused with non-nil OTHER-WINDOW argument.
5201 (Bug#9381)
5202
35b1c40c
DD
52032011-08-27 Deniz Dogan <deniz@dogan.se>
5204
5205 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5206 oftc's NickServ messages.
5207
2f6a3e79
GM
52082011-08-27 Glenn Morris <rgm@gnu.org>
5209
5210 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5211
7254299e
CY
52122011-08-26 Chong Yidong <cyd@stupidchicken.com>
5213
5214 * emacs-lisp/package.el (package-install): Call package-initialize
5215 if called interactively.
5216
f8ccf167
LL
52172011-08-26 Leo Liu <sdl.web@gmail.com>
5218
5219 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5220
3e8cd5ce
JL
52212011-08-25 Juri Linkov <juri@jurta.org>
5222
5223 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5224 `search-whitespace-regexp' (bug#9364).
5225
93eb7113
JL
52262011-08-25 Juri Linkov <juri@jurta.org>
5227
5228 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5229 `regexp-search-ring' to their global values to protect from
5230 updating by `read-from-minibuffer' (bug#9185).
5231
f65d1611
JL
52322011-08-25 Juri Linkov <juri@jurta.org>
5233
5234 * textmodes/ispell.el (ispell-command-loop): Add newline
5235 at the end of the "Use option `i'..." line.
5236
f1cf7a31
JL
52372011-08-25 Juri Linkov <juri@jurta.org>
5238
5239 * battery.el (display-battery-mode): If `battery-status-function'
5240 or `battery-mode-line-format' is nil, display the message and set
5241 `display-battery-mode' to nil (bug#9363).
5242
0c95fcf7
EZ
52432011-08-25 Eli Zaretskii <eliz@gnu.org>
5244
5245 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5246 bidi-string-mark-left-to-right; they are unnecessary now.
5247
a2ebe600
DD
52482011-08-25 Deniz Dogan <deniz@dogan.se>
5249
5250 * net/quickurl.el: Documentation typo fixes.
5251
e4ed06f1
CY
52522011-08-25 Chong Yidong <cyd@stupidchicken.com>
5253
5254 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5255
e5f1c99e
GM
52562011-08-25 Glenn Morris <rgm@gnu.org>
5257
b2948976
GM
5258 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5259
e5f1c99e
GM
5260 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5261 (smtpmail-via-smtp): Handle nil response from smtp.
5262
f22f4808
JL
52632011-08-24 Juri Linkov <juri@jurta.org>
5264
5265 * proced.el (proced-marked): Inherit from `error' instead of
5266 `font-lock-warning-face'.
5267
5268 * ibuffer.el (ibuffer-marked-face): Change default face from
5269 `font-lock-warning-face' to `warning'.
5270 (ibuffer-deletion-face): Change default face from
5271 `font-lock-type-face' to `error'.
5272
5273 * battery.el (battery-update): Use the face `error' instead of
5274 `font-lock-warning-face' (bug#6117).
5275
6a93965e
JL
52762011-08-24 Juri Linkov <juri@jurta.org>
5277
5278 * faces.el (success): Change face color from "Green3" to
5279 "ForestGreen" on light background (bug#9353).
5280
1ed43b09
CY
52812011-08-24 Chong Yidong <cyd@stupidchicken.com>
5282
5664fa7b
RT
5283 * window.el (quit-window): Rename from quit-restore-window.
5284 Use same arglist as old quit-window.
1ed43b09
CY
5285 (frame-auto-delete): Doc fix.
5286
5287 * view.el (view-mode-exit): Use quit-window.
5288
11dcdbb2
JL
52892011-08-24 Juri Linkov <juri@jurta.org>
5290
5291 * isearch.el (isearch-ring-adjust1): Start visiting previous
5292 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5293 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5294 for empty search string (when the last search string is reused
5295 automatically) to adjust the isearch ring to the last element and
5296 prepare the correct index for further M-p commands (bug#9185).
5297
de62b4df
KH
52982011-08-24 Kenichi Handa <handa@m17n.org>
5299
5300 * international/ucs-normalize.el: If decomposition property of
5301 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5302 nil.
5303 (nfd, nfkd): Likewise.
5304
963b492b
SM
53052011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5308 from process filters aren't reliably transmitted to the surrounding
5309 accept-process-output.
5310 (mpc-proc-check): New function.
5311 (mpc-proc-sync): Use it (bug#8293)
5312
93b6b5e1
SM
53132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5316 Add compatibility functions (bug#9313).
5317
bca633fb
EZ
53182011-08-23 Eli Zaretskii <eliz@gnu.org>
5319
b177498a
EZ
5320 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5321
6df6ae42 5322 * international/uni-bidi.el: Regenerate.
bca633fb 5323
0902a04e
KH
53242011-08-23 Kenichi Handa <handa@m17n.org>
5325
5326 * international/charprop.el:
5327 * international/uni-bidi.el:
5328 * international/uni-category.el:
5329 * international/uni-combining.el:
5330 * international/uni-comment.el:
5331 * international/uni-decimal.el:
5332 * international/uni-decomposition.el:
5333 * international/uni-digit.el:
5334 * international/uni-lowercase.el:
5335 * international/uni-mirrored.el:
5336 * international/uni-name.el:
5337 * international/uni-numeric.el:
5338 * international/uni-old-name.el:
5339 * international/uni-titlecase.el:
5340 * international/uni-uppercase.el: Regenerate.
5341
3bbf23bc
MR
53422011-08-23 Martin Rudalics <rudalics@gmx.at>
5343
5344 * help.el (help-window-setup): Fix message displayed when other
5345 window is reused. (Bug#9341)
5346
b3fd59bd
SM
53472011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5348
1802e444
SM
5349 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5350 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5351
b3fd59bd
SM
5352 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5353 Mark obsolete.
5354 * shell.el (shell-parse-pcomplete-arguments): New function.
5355 (shell-completion-vars): Use it instead (bug#9160).
5356
4eb61348
SM
53572011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5358
867cab74
SM
5359 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5360 strings and comments (bug#9333).
5361
4eb61348
SM
5362 * emacs-lisp/debug.el (debug-arglist): New function.
5363 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5364 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5365
262a1439
JL
53662011-08-22 Juri Linkov <juri@jurta.org>
5367
56ee679c
JL
5368 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5369 Revert regexp that highlights output switches to its old
5370 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5371
262a1439
JL
5372 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5373 to check for empty output (bug#9226).
5374
f13f86fb
CY
53752011-08-22 Chong Yidong <cyd@stupidchicken.com>
5376
5377 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5378 symbol-constituent as the default, as that stops font-lock from
5379 working properly (Bug#8843).
5380
c65c9622
LMI
53812011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5382
5383 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5384 `coding-system-for-*' around the process open call to avoid
5385 auth-source side effects.
e7f2c178 5386 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5387 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5388 probe hangs.
c65c9622 5389
23a8a5ab
CY
53902011-08-21 Chong Yidong <cyd@stupidchicken.com>
5391
ff98b2dd
CY
5392 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5393
23a8a5ab
CY
5394 * emacs-lisp/find-func.el (find-function-noselect): New arg
5395 lisp-only.
5396
5397 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5398 signal an error for built-in functions (Bug#6664).
5399
f5e3c598
LMI
54002011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5401
5402 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5403 (smtpmail-try-auth-methods): Use it.
5404
a3f2468a
CY
54052011-08-21 Chong Yidong <cyd@stupidchicken.com>
5406
2c34e8da
CY
5407 * font-lock.el (font-lock-fontify-region)
5408 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5409 (font-lock-default-unfontify-buffer)
5410 (font-lock-default-fontify-region)
5411 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5412
b3fd59bd
SM
5413 * progmodes/compile.el (compilation-error-properties):
5414 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5415 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5416 `ant' regexp.
ee31aabc 5417
a3f2468a
CY
5418 * net/browse-url.el (browse-url-firefox): Don't call
5419 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5420
8e999f70
GM
54212011-08-20 Glenn Morris <rgm@gnu.org>
5422
c21a496a
GM
5423 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5424
59ee0542
GM
5425 * tutorial.el (tutorial--default-keys): Update some default bindings.
5426
8e999f70
GM
5427 * files.el (hack-local-variables): Fully ignore case for "mode:".
5428
e3715033
AM
54292011-08-20 Alan Mackenzie <acm@muc.de>
5430
5431 Resolve invalid use of a regexp in regexp-opt.
5432
4d61f28d
JB
5433 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5434 detection for a java annotation.
e3715033 5435
4d61f28d 5436 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5437 detection for a java annotation.
5438
4d61f28d
JB
5439 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5440 handling for java.
e3715033
AM
5441 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5442
04ed2e9c
CY
54432011-08-20 Chong Yidong <cyd@stupidchicken.com>
5444
5445 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5446 (Bug#9274).
5447
826cee64
AM
54482011-08-20 Alan Mackenzie <acm@muc.de>
5449
58179cce 5450 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5451 such a construct. Mainly for when jit-lock etc. starts a chunk
5452 here.
5453
58179cce 5454 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5455 variable.
58179cce 5456 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5457 c-make-font-lock-search-function.
5458 (c-make-font-lock-search-function): Use the above function.
5459 (c-make-font-lock-context-search-function): New function.
5460 (c-cpp-matchers): Enhance the preprocessor expression case with
5461 the above function
5462 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5463 which takes an expression.
5464
5465 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5466
13009bd8
MR
54672011-08-20 Martin Rudalics <rudalics@gmx.at>
5468
5469 * window.el (display-buffer-reuse-window)
5470 (display-buffer-pop-up-window): Don't reuse or split a side
5471 window.
5472
9234ff7f
GM
54732011-08-19 Glenn Morris <rgm@gnu.org>
5474
5475 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5476 Downcase "Mode:". (Bug#9331)
9234ff7f 5477
f635daa1
CY
54782011-08-18 Chong Yidong <cyd@stupidchicken.com>
5479
5480 * international/characters.el: Add L and R categories.
5481
5482 * subr.el (bidi-string-mark-left-to-right): Rename from
5483 string-mark-left-to-right. Use category search.
5484
5485 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5486
bc987f8b
JL
54872011-08-18 Juri Linkov <juri@jurta.org>
5488
5489 * faces.el (error, warning, success): New faces with definitions
5490 copied from old default values of `font-lock-warning-face',
5491 `compilation-warning', `compilation-info' (bug#6117).
5492
5493 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5494
5495 * progmodes/compile.el (compilation-error): Inherit from `error'.
5496 (compilation-warning): Inherit from `warning'.
5497 (compilation-info): Inherit from `success'.
5498
5499 * dired.el (dired-marked): Inherit from `warning'.
5500 (dired-flagged): Inherit from `error'.
5501
57173b96
LMI
55022011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5503
3e79eb87
LMI
5504 * mail/smtpmail.el (auth-source): Require to avoid problems with
5505 binding variables (bug#9298). Also clean up some unused
5506 autoloads.
5507
b3fd59bd
SM
5508 * net/network-stream.el (network-stream-open-starttls):
5509 Support using starttls.el without using gnutls-cli.
57173b96 5510
02b404de
JL
55112011-08-17 Juri Linkov <juri@jurta.org>
5512
5513 * progmodes/grep.el (rgrep): Handle the case when
5514 `grep-find-command' is a cons cell (bug#9278).
5515
8c9177f2
MR
55162011-08-17 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (display-buffer-pop-up-frame): Run frame creation
5519 function with BUFFER current (as special-display-popup-frame
5520 does). Reported by Drew Adams.
5521
3644a0ab
DU
55222011-08-17 Daiki Ueno <ueno@unixuser.org>
5523
5524 * epa-mail.el: Simplify GnuPG group expansion using
5525 epg-expand-group.
5526 (epa-mail-group-alist, epa-mail-group-modtime)
5527 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5528 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5529 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5530 Remove.
5531
5e617bc2 55322011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5533
5534 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5535
9c4aeabf
AM
55362011-08-16 Alan Mackenzie <acm@muc.de>
5537
5538 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5539 Correct, to avoid the inside of macros.
5540
3a99bf64
RS
55412011-08-16 Richard Stallman <rms@gnu.org>
5542
04963aa8
RS
5543 * epa-mail.el: Handle GnuPG group definitions.
5544 (epa-mail-group-alist, epa-mail-group-modtime)
5545 (epa-mail-gnupg-conf-file): New variables.
5546 (epa-mail-parse-groups, epa-mail-sync-groups)
5547 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5548 (epa-mail-expand-recipients): New functions.
5549 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5550
177549d0
RS
5551 * mail/rmail.el (rmail-epa-decrypt): New command.
5552
fe38beef
RS
5553 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5554 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5555 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5556 (epa-decrypt-armor-in-region): Make error message clearer.
5557
934eacb9
SM
55582011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5561 and "a2b" to "ab" for `prefix'.
5562
d024fb4e
CY
55632011-08-14 Chong Yidong <cyd@stupidchicken.com>
5564
5565 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5566 filter groups.
de148fee
CY
5567 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5568 Fourquet (Bug#8804).
d024fb4e 5569
62f1ca49
JB
55702011-08-12 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * startup.el (argi): Declare as global variable (bug#9275).
5573
9ccaaa4b
CY
55742011-08-12 Chong Yidong <cyd@stupidchicken.com>
5575
5576 * subr.el (string-mark-left-to-right): Search the entire string
5577 for RTL script, not just the terminating character. Doc fix.
5578
a3dae87a
SM
55792011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5580
6cd18349
SM
5581 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5582 New function.
5583 (js--regexp-literal, js-syntax-propertize-function): Remove.
5584 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5585 (js-mode-map): Don't rebind electric keys.
5586 (js-insert-and-indent): Remove.
5587 (js-mode): Setup electric-layout and electric-indent instead.
5588
a3dae87a
SM
5589 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5590
9d5cb631
DU
55912011-08-12 Daiki Ueno <ueno@unixuser.org>
5592
5593 * epa.el (epa-progress-callback-function): Fix the logic of
5594 displaying progress.
5595 * epa-file.el (epa-file-insert-file-contents): Make progress
5596 display more user-friendly.
5597 (epa-file-write-region): Ditto.
5598
3e26a4a2
CY
55992011-08-10 Chong Yidong <cyd@stupidchicken.com>
5600
5601 * subr.el (string-mark-left-to-right): New function.
5602
5603 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5604 Use string-mark-left-to-right.
5605 (list-buffers-noselect): Caller changed.
5606
a3dae87a
SM
5607 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5608 Use string-mark-left-to-right.
3e26a4a2
CY
5609 (tabulated-list-print): Recenter after moving point.
5610
ac8cf6e6
JL
56112011-08-10 Juri Linkov <juri@jurta.org>
5612
5613 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5614 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5615 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5616
8d96c9a4
CY
56172011-08-09 Chong Yidong <cyd@stupidchicken.com>
5618
5619 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5620 (Bug#7554).
5621
7be1c708 56222011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5623
5624 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5625 character. (Bug#6594)
5626
37e11a63
CY
56272011-08-08 Chong Yidong <cyd@stupidchicken.com>
5628
839dde57
CY
5629 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5630 (image-dired--with-db-file): New macro.
5631 (image-dired-write-tags, image-dired-remove-tag)
5632 (image-dired-create-gallery-lists, image-dired-write-comments)
5633 (image-dired-get-comment, image-dired-mark-tagged-files)
5634 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5635 (image-dired-gallery-generate): Use insert-file-contents.
5636
37e11a63
CY
5637 * time.el (display-time-world-list, display-time-world-display):
5638 * time-stamp.el (time-stamp-string):
5639 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5640 set-time-zone-rule (Bug#7337).
5641
0b4946c4
DU
56422011-08-08 Daiki Ueno <ueno@unixuser.org>
5643
5644 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5645 (epg-error-to-string, epg-errors-to-string): New function.
5646 (epg-wait-for-completion): Reverse errors list.
5647 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5648 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5649 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5650 (epg-sign-keys, epg-generate-key-from-file)
5651 (epg-generate-key-from-string): Format errors by using
5652 epg-errors-to-string (bug#9255).
5653 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5654
75bfc667
JL
56552011-08-07 Juri Linkov <juri@jurta.org>
5656
5657 * faces.el (list-faces-display): Remove extra angle bracket
5658 from `help-mode-map'.
5659
5660 * info.el (Info-history-toc-nodes): Doc fix.
5661
5662 * longlines.el (longlines-mode): Doc fix.
5663
673e08bb
SM
56642011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5665
4640dd88
SM
5666 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5667 of statements and in a few more cases (bug#9183).
5668
673e08bb
SM
5669 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5670 New functions.
5671 (cl-transform-lambda): Use them (bug#9239).
5672
89b3f019
MR
56732011-08-05 Martin Rudalics <rudalics@gmx.at>
5674
5675 * window.el (display-buffer-same-window)
5676 (display-buffer-same-frame, display-buffer-other-window)
5677 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5678 (pop-to-buffer-other-window)
5679 (pop-to-buffer-same-frame-other-window)
5680 (pop-to-buffer-other-frame): Make them defuns.
5681 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5682
640c8776
SM
56832011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * subr.el (make-composed-keymap): Move from C. Change calling
5686 convention, and improve docstring to bring attention to a subtle point.
5687 * minibuffer.el (completing-read-default): Adjust accordingly.
5688
63648a95
MA
56892011-08-03 Michael Albinus <michael.albinus@gmx.de>
5690
5691 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5692 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5693
5694 * net/trampver.el: Update release number.
5695
b796c9b7
SM
56962011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5699 "in" (bug#9190).
5700
2239d7d5
LMI
57012011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5702
e07dd7c3
LMI
5703 * mail/sendmail.el (sendmail-query-once): Restore the current
5704 buffer after querying (bug#9074).
5705
0e6a2bd7
LMI
5706 * dired.el (dired-flagged): Use different faces for marked and
5707 flagged files (bug#6117).
5708
ce887515
LMI
5709 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5710 (bug#4433).
5711
92f2affc
LMI
5712 * ido.el (ido-mode): Switch off the message if called
5713 non-interactively.
5714
57d5aff0
LMI
5715 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5716 before 587, since it appears that that's more likely to work for
5717 more people.
5718
98cd6c18 5719 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5720 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5721 exist.
5722
b96dec83
LMI
5723 * info.el: Remove the `Info-beginning-of-buffer' function
5724 (bug#8325).
5725
b796c9b7
SM
5726 * net/network-stream.el (network-stream-open-starttls):
5727 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5728
d90e2ea0
MR
57292011-08-01 Martin Rudalics <rudalics@gmx.at>
5730
5731 * window.el (display-buffer-in-window): Don't set dedicated status
5732 of window here (Bug#9215).
5733 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5734 (display-buffer-pop-up-side-window)
b796c9b7 5735 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5736
cca09170
SM
57372011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5740 before binding generated-autoload-file.
5741
027b979c
DD
57422011-08-01 Deniz Dogan <deniz@dogan.se>
5743
5744 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5745
3c7ee4f3
MA
57462011-07-30 Michael Albinus <michael.albinus@gmx.de>
5747
5748 Sync with Tramp 2.2.2.
5749
5750 * net/trampver.el: Update release number.
5751
2cc8e51a
JL
57522011-07-30 Juri Linkov <juri@jurta.org>
5753
5754 * dired-aux.el (dired-touch-initial): Remove function.
5755 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5756 current time, and `default' to the last modification time of the
5757 current marked file (bug#6887).
5758
a514d856
JM
57592011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5760
5761 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5762 numeric argument to read-number (bug#9163).
a514d856 5763
8a7eddd7
MA
57642011-07-27 Michael Albinus <michael.albinus@gmx.de>
5765
5766 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5767 connection process, it could be nil.
5768
1ddd96f5
LL
57692011-07-27 Leo Liu <sdl.web@gmail.com>
5770
5771 Simplify url handling in rcirc-mode.
5772
5773 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5774 (rcirc-browse-url-at-mouse): Remove.
5775 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5776
b248a85d
AM
57772011-07-26 Alan Mackenzie <acm@muc.de>
5778
5779 Fontify bitfield declarations properly.
5780
5781 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5782 (c-symbol-chars): Now exported as a lang variable.
5783 (c-not-primitive-type-keywords): New lang variable.
5784
5785 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5786 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5787 parsed as a bitfield declaration.
b248a85d 5788
b796c9b7
SM
5789 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5790 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5791 (c-punctuation-in): New function.
5792 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5793 declarations properly.
5794
68575ab0
UJ
57952011-07-26 Ulf Jasper <ulf.jasper@web.de>
5796
5797 * calendar/icalendar.el (icalendar--all-events): Take care of
5798 multiple vcalendars in a single file.
b796c9b7 5799 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5800
0f0a88b9
DD
58012011-07-25 Deniz Dogan <deniz@dogan.se>
5802
5803 * image.el (insert-image): Clarifying docstring.
5804
0b3f36df
MA
58052011-07-24 Michael Albinus <michael.albinus@gmx.de>
5806
5807 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5808 `tramp-send-command-and-check' if there is no error.
5809 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5810
a9901f61
AM
58112011-07-22 Alan Mackenzie <acm@muc.de>
5812
5813 Prevent cc-langs.elc being loaded at run time.
5814
5815 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5816 cc-langs.
5817
4d61f28d 5818 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5819 "(require 'cc-langs)". Quote a form so it will evaluate at
5820 (cc-mode's) compilation time.
5821
11d074b2
MA
58222011-07-22 Michael Albinus <michael.albinus@gmx.de>
5823
5824 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5825 loading. (Bug#9114)
5826
938b94c8
MR
58272011-07-21 Martin Rudalics <rudalics@gmx.at>
5828
5829 * window.el (display-buffer-pop-up-window)
5830 (display-buffer-pop-up-side-window)
5831 (display-buffer-in-side-window): Call display-buffer-set-height
5832 and display-buffer-set-width after setting the new window's
b796c9b7 5833 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5834
bfa4f190
SS
58352011-07-20 Sam Steingold <sds@gnu.org>
5836
5837 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5838 (etags-tags-included-tables): Call `convert-standard-filename' on
5839 the file names contained in TAGS so that windows Emacs can handle
5840 TAGS files created by cygwin ctags.
5841
8ca42262
LMI
58422011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5843
5844 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5845 which apparently didn't work.
5846
5db2afd2 58472011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5848
5db2afd2
RW
5849 * proced.el (proced-send-signal): For *Marked Processes* buffer
5850 put point at beginning of buffer.
5851
92e15d10
SB
58522011-07-19 Stephen Berman <stephen.berman@gmx.net>
5853
5854 * proced.el (proced-format): Make header lines align with the text
5855 (bug#1779).
5856
1bfd59e5
LMI
58572011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5858
5859 * view.el (view-buffer): Allow running in `special' modes if we're
5860 visiting a file (bug#8615).
5861
f5aae37c
MR
58622011-07-19 Martin Rudalics <rudalics@gmx.at>
5863
5864 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5865 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5866 New functions.
f5aae37c
MR
5867 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5868 more accurately.
5869
bf2c1571
AM
58702011-07-18 Alan Mackenzie <acm@muc.de>
5871
5872 Fontify declarators properly when, e.g., a jit-lock chunk begins
5873 inside a declaration.
5874
5875 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5876
b796c9b7
SM
5877 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5878 New function.
bf2c1571
AM
5879 (c-complex-decl-matchers): Insert reference to
5880 c-font-lock-enclosing-decls.
5881
5882 * progmodes/cc-engine.el (c-backward-single-comment):
5883 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5884 to nil around calls to (forward-comment -1).
5885
4e190b80
LMI
58862011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5887
12dc863d
LMI
5888 * image.el (put-image): Doc typo fix.
5889
a762e966
LMI
5890 * progmodes/etags.el (tags-search): Doc typo fix.
5891
4e190b80
LMI
5892 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5893 password if we get errors 550 to 554.
5894
f019fb21
LMI
58952011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5896
b796c9b7 5897 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5898
81746738
LMI
5899 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5900 indentation character (bug#6380).
5901
3ee3a1b5
LMI
5902 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5903
c82f64de
LMI
5904 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5905 to clarify what the problem is (bug#4291).
5906
f019fb21
LMI
5907 * simple.el (current-kill): Clarify what
5908 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5909 (auto-fill-mode): Document `auto-fill-function' in relation to
5910 `auto-fill-mode' (bug#2470).
f019fb21 5911
0794775d
LM
59122011-07-16 Lawrence Mitchell <wence@gmx.li>
5913
5914 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5915 method if slot is read-only (bug#9035).
5916
be39b8cc
MR
59172011-07-16 Martin Rudalics <rudalics@gmx.at>
5918
b796c9b7 5919 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5920 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5921 selected before, see discussion of (Bug#8615), (Bug#6954).
5922 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5923
6ccf7859
GM
59242011-07-15 Glenn Morris <rgm@gnu.org>
5925
5926 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5927 Respect help-form.
6ccf7859 5928
87e86684
LM
59292011-07-09 Lawrence Mitchell <wence@gmx.li>
5930
5931 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5932 (gnutls-negotiate): Use it.
5933
d6066239
LMI
59342011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935
b796c9b7
SM
5936 * net/gnutls.el (gnutls-negotiate):
5937 Upcase `gnutls-algorithm-priority'.
d6066239 5938
bd23ebc0
GM
59392011-07-15 Glenn Morris <rgm@gnu.org>
5940
c65bca65
GM
5941 * jka-compr.el (jka-compr-verbose): Move from here...
5942 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5943 Add missing :version tag.
5944 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5945
478615cc
LMI
59462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5947
7b41decb
LMI
5948 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5949 (gnutls-negotiate): Use it.
5950
dbc44fcd
LMI
5951 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5952
06789f97
LMI
5953 * info.el (Info-beginning-of-buffer): New command.
5954 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5955 announcing `b' as the key (bug#8325).
ab896c37 5956 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5957
c39da690
LMI
5958 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5959
3aa5f34b
LMI
5960 * international/mule-cmds.el
5961 (describe-specified-language-support): Make the error message
5962 clearer (bug#8905).
5963
4bf0979f
LMI
5964 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5965
478615cc
LMI
5966 * isearch.el (isearch-barrier): Add a doc string, since it's
5967 mentioned in a function doc string (bug#8678).
5968
75c68aa1
MR
59692011-07-15 Martin Rudalics <rudalics@gmx.at>
5970
5971 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5972 buffer argument (Bug#9083) and self-identifying label argument.
5973
a7c33da2
GM
59742011-07-15 Glenn Morris <rgm@gnu.org>
5975
5976 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5977
2f5c6024
LMI
59782011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5979
5980 * man.el (Man-fontify-manpage): Fix message when formatting the
5981 man page (bug#7929).
5982
0bb23927 59832011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5984
5985 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5986 argument LRM; if non-nil, append an invisible LRM character to the
5987 buffer name.
5988 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5989 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5990 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5991 paragraph direction.
cce4b0a7 5992
621ef9ab
LMI
59932011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5994
d1583c48
LMI
5995 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5996 the man page name (bug#7929).
5997
6a57fb5f
LMI
5998 * image.el (put-image): Mention the `put-image' overlay property
5999 (bug#7834).
6000
d7956b14
LMI
6001 * scroll-bar.el (set-scroll-bar-mode): Mention that
6002 `scroll-bar-mode' lists the values (bug#7772).
6003
5b2d4a66
LMI
6004 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6005 command (bug#7729).
6006
7509a874
LMI
6007 * rect.el (apply-on-rectangle): Return the point after the last
6008 operation.
6009 (string-rectangle): Go to the point after the last operation
6010 (bug#7522).
6011
4fe74b19
LMI
6012 * printing.el (pr-toggle-region): Clarify the documentation
6013 slightly (bug#7493).
6014
b796c9b7
SM
6015 * time.el (display-time-update):
6016 Allow `display-time-mail-function' to return nil (bug#7158).
6017 Fix suggested by Detlev Zundel.
ab283561 6018
fc233c9d
LMI
6019 * vc/diff.el (diff): Clarify the order the file names are read
6020 (bug#7111).
6021
43f5740b
LMI
6022 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6023 the doc string (bug#7015).
6024
f2182a76
LMI
6025 * font-lock.el (font-lock-maximum-decoration): Mention what
6026 numeric levels mean (bug#6935).
6027
621ef9ab
LMI
6028 * startup.el (initial-buffer-choice): Don't mention the `none'
6029 selection, which is against policy.
6030
adc47434
MR
60312011-07-14 Martin Rudalics <rudalics@gmx.at>
6032
b796c9b7
SM
6033 * window.el (display-buffer-normalize-special):
6034 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6035
7e5bfb8f
EZ
60362011-07-14 Eli Zaretskii <eliz@gnu.org>
6037
6038 * subr.el (version<, version<=, version=): Mention "-CVS" and
6039 "-12345" alpha version numbers.
6040
27fa387a
CY
60412011-07-14 Chong Yidong <cyd@stupidchicken.com>
6042
6043 * bindings.el: Add advertised binding for set-mark-command
6044 (Bug#5772).
6045
8bdfa064
CY
60462011-07-14 Chong Yidong <cyd@stupidchicken.com>
6047
6048 * bindings.el (mode-line-other-buffer):
6049 * bookmark.el (bookmark-bmenu-2-window):
6050 * bs.el (bs-cycle-next, bs-cycle-previous):
6051 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6052 switch-to-buffer.
6053
6054 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6055 Delete.
8bdfa064 6056
5eba16a3
JB
60572011-07-14 Juanma Barranquero <lekktu@gmail.com>
6058
6059 * follow.el (follow-debug-message, follow-redisplay):
6060 * jka-cmpr-hook.el (with-auto-compression-mode):
6061 Fix typos in docstrings.
6062
15853710
LMI
60632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6064
a28e4607
LMI
6065 * subr.el (with-silent-modifications): Clarify somewhat what the
6066 macro inhibits (bug#6525).
6067
15853710
LMI
6068 * simple.el (eval-expression): Note what it does if called
6069 interactively (bug#6495).
6070
bee0fcef
CY
60712011-07-13 Chong Yidong <cyd@stupidchicken.com>
6072
b796c9b7
SM
6073 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6074 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6075
6076 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6077 Remove switch-to-buffer.
6078
58274504
LMI
60792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080
bd2fcc8d
LMI
6081 * files.el (make-directory): Clarify that an error will be raised
6082 if there's an error (bug#6397).
6083
0f04b32c
LMI
6084 * startup.el (initial-buffer-choice): Add `none' as a choice
6085 (bug#6234).
6086
465c5fc8
LMI
6087 * subr.el (add-hook): Clarify section about buffer-local hooks
6088 (bug#6218).
6089
58274504
LMI
6090 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6091
bead9a43
JB
60922011-07-13 Juanma Barranquero <lekktu@gmail.com>
6093
6094 * tabify.el (untabify): Preserve the current column so that point
6095 doesn't move (bug#6032).
6096
3af98a7b
LMI
60972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098
b796c9b7
SM
6099 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6100 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6101
6240145a
GM
61022011-07-13 Glenn Morris <rgm@gnu.org>
6103
6104 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6105 (dired-insert-directory): Give a message the first time
6106 if ls is found not to support --dired.
6107
1d8c2ccc
LMI
61082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6109
6110 * simple.el (toggle-truncate-lines): Clarify what is toggled
6111 (bug#5580). Text by Drew Adams.
6112
5fc4038e
CY
61132011-07-13 Chong Yidong <cyd@stupidchicken.com>
6114
6115 * simple.el (blink-matching-open): Make the error message from the
6116 last change less verbose.
6117
bf6012e5
DN
61182011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6119
6120 * font-lock.el (font-lock-comment-face): Use the high contrast
6121 "yellow" color for font-lock-comment-face on low color terminals
6122 using a dark background color (bug#4221).
6123
343c3b5a
LMI
61242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6125
7e9505c5
LMI
6126 * dired.el (dired-insert-set-properties): Make the doc string
6127 reflect what it does now (bug#5325).
6128
c26fdcf5
LMI
6129 * simple.el (blink-matching-open): Say that we were unable to find
6130 the match within the limit, if we're limited (bug#5122).
6131
bb388cc5
LMI
6132 * international/mule-cmds.el (prefer-coding-system): Add an
6133 example (bug#4869).
6134
343c3b5a
LMI
6135 * progmodes/etags.el (tags-search): Document `file-list-form'
6136 (bug#4731).
6137
2a517d45
LM
61382011-07-13 Lawrence Mitchell <wence@gmx.li>
6139
6140 * net/browse-url.el (browse-url-default-browser)
6141 (browse-url-browser-function): Make the default browser choice a
6142 bit more logical (bug#4300). Also clean up the doc string.
6143
b6c78ef2
JB
61442011-07-13 Juanma Barranquero <lekktu@gmail.com>
6145
6146 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6147 binary endings (bug#4440).
6148
1c4dd947
LMI
61492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6150
a2014063
LMI
6151 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6152 which can be pretty annoying (bug#8971).
6153
9c9c2d88
LMI
6154 * jka-compr.el (jka-compr-verbose): New variable, and use
6155 throughout (bug#8971).
6156
1c4dd947
LMI
6157 * info.el (Info-find-file): Fall back on the installation
6158 directory if we can't find the info node anywhere else.
6159
a1c9f41b
SO
61602011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6161
6162 * vc/vc.el (vc-revert-file):
6163 Don't set file time-stamp in the past. (Bug#5181)
6164
536f3d36
LMI
61652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6166
7152b011
LMI
6167 * files.el (after-find-file): Give a better error message when
6168 trying to find a symlink that points to a file that doesn't exist
6169 (bug#4398).
6170
536f3d36
LMI
6171 * progmodes/cc-vars.el: Remove (probably) misleading comment
6172 (bug#4396).
6173
460c0fba
JB
61742011-07-12 Johan Bockgård <bojohan@gnu.org>
6175
6176 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6177
7a6bda45
CY
61782011-07-12 Chong Yidong <cyd@stupidchicken.com>
6179
6180 * mouse-sel.el: Hack restoring functionality, while keeping
6181 compatibility with 2010-07-03 changes to mouse selection.
6182 (mouse-sel-primary-overlay): New var.
6183 (mouse-sel-selection-alist): Use it.
6184 (mouse-sel-mode): Doc fix; remove points that are default features
6185 of mouse.el.
6186
c79598ef
JB
61872011-07-12 Johan Bockgård <bojohan@gnu.org>
6188
6189 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6190 Fix previous fix (bug#2490).
6191
ff8be6ef
RW
61922011-07-12 Roland Winkler <winkler@gnu.org>
6193
b796c9b7
SM
6194 * textmodes/bibtex.el (bibtex-initialize):
6195 Use pop-to-buffer-same-window.
ff8be6ef
RW
6196 (bibtex-search-entries): Fix interactive call.
6197
296ba3ee
LMI
61982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6199
f5242a02 6200 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6201 Fontise bytecomp Error lines more correctly (bug#2490).
6202 Fix suggested by Johan Bockgård.
f5242a02 6203
296ba3ee
LMI
6204 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6205
6206 * dired-x.el (dired-guess-default): Use `delete-dups'.
6207
f69fd0d2
CY
62082011-07-12 Chong Yidong <cyd@stupidchicken.com>
6209
6210 * dired.el (dired-mark-prompt):
6211 * dired-aux.el (dired-read-shell-command): Doc fix.
6212
eab5dc07
LMI
62132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6214
b796c9b7
SM
6215 * mail/sendmail.el (sendmail-query-once):
6216 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6217 emacs -Q.
6218
6219 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6220
eab5dc07
LMI
6221 * cus-edit.el (custom-file): Take an optional no-error variable.
6222 (customize-save-variable): Set the variable, and give a warning if
6223 running under "emacs -q".
6224
a1e65d42
JB
62252011-07-11 Juanma Barranquero <lekktu@gmail.com>
6226
6227 * loadhist.el (unload-feature-special-hooks):
6228 Add `auto-coding-functions', `fill-nobreak-predicate' and
6229 `find-directory-functions' (bug#5327).
6230
1d52da10
LMI
62312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6232
be958f1d
LMI
6233 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6234
5bedb26c
LMI
6235 * cus-edit.el (custom-guess-name-alist): -alist variables should
6236 use the `alist' type (bug#3120). Suggested by Drew Adams.
6237
1d52da10
LMI
6238 * printing.el: Add documentation to all the `pr-toggle-' commands.
6239
cd394be1 62402011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6241
6242 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6243 backends where it makes sense (bug#2623).
6244
dcc88d8a
LMI
62452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6246
c3de9feb
LMI
6247 * dired-x.el (dired-guess-default): Remove duplicate shell command
6248 entries (bug#2028).
8a93078b 6249 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6250 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6251
dcc88d8a
LMI
6252 * subr.el (remove-duplicates): New conveniency function.
6253
505e3645
LMI
62542011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6255
6256 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6257 (bug#1526).
6258
62592011-07-10 Martin Rudalics <rudalics@gmx.at>
6260
6261 * window.el (display-buffer-normalize-default): Don't invert
6262 meaning of even-window-heights. Reported by Eli Zaretskii
6263 <eliz@gnu.org>.
6264
455e4fa1
BR
62652011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6266
6267 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6268
8e0bc3e9
CY
62692011-07-10 Chong Yidong <cyd@stupidchicken.com>
6270
6271 * window.el (display-buffer): Fix arguments to
6272 display-buffer-reuse-window in last change.
6273
fa7c3228
CY
6274 * faces.el (link): Use a less saturated blue on light backgrounds.
6275
6276 * startup.el (fancy-startup-text, fancy-about-text)
6277 (fancy-startup-tail): Use font-lock faces, for background safety.
6278
c0a7f300
BN
62792011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6280
b796c9b7
SM
6281 * emulation/viper-cmd.el (viper-change-state-to-vi):
6282 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6283
4dc2a129
MR
62842011-07-09 Martin Rudalics <rudalics@gmx.at>
6285
6286 * window.el (display-buffer-default-specifiers): Remove.
6287 (display-buffer-macro-specifiers): Remove default specifiers.
6288 (display-buffer-alist): Default to nil.
b796c9b7 6289 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6290 (display-buffer-pop-up-window): Allow splitting internal
6291 windows. Check whether a live window was created.
6292 (display-buffer-other-window-means-other-frame)
6293 (display-buffer-normalize-arguments): Rename to
6294 display-buffer-normalize-argument and rewrite. Set the
6295 other-window specifier.
6296 (display-buffer-normalize-special): New function.
6297 (display-buffer-normalize-options): Rename to
6298 display-buffer-normalize-default and rewrite.
6299 (display-buffer-normalize-options-inhibit): Remove.
6300 (display-buffer-normalize-specifiers): Rewrite.
6301 (display-buffer): Process other-window specifier and call
6302 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6303 more faithfully.
b796c9b7 6304 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6305 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6306 (display-buffer-in-window, display-buffer-alist-set):
6307 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6308 <tassilo@member.fsf.org>.
6309
2d43b8c9
LL
63102011-07-09 Leo Liu <sdl.web@gmail.com>
6311
6312 * register.el (insert-register): Restore accidental change on
6313 2011-06-26. (Bug#9028)
6314
7f9b7c53
GM
63152011-07-09 Glenn Morris <rgm@gnu.org>
6316
6317 * subr.el (remq): Handle the empty list. (Bug#9024)
6318
f042cfd8
AS
63192011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6320
6321 * mail/sendmail.el (send-mail-function): No longer delay custom
6322 initialization.
6323 * custom.el (custom-initialize-delay): Doc fix.
6324
856b2f11
SM
63252011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6326
6327 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6328
afae1d68
MA
63292011-07-08 Michael Albinus <michael.albinus@gmx.de>
6330
6331 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6332 human-friendly prompt.
6333
0757af94
SM
63342011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6337 provided by a particular plugin.
6338
d760b731
LMI
63392011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6340
6341 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6342 save customizations (with "emacs -Q"), just set the variable
6343 instead of erroring out.
6344
6345 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6346
cd79ce90
JL
63472011-07-08 Juri Linkov <juri@jurta.org>
6348
6349 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6350 (archive-zip-update-case): Use 7z if found by `executable-find'.
6351 The order of searching the available programs is the same as in
6352 `archive-zip-extract' (bug#8968).
6353
14cc04aa
CY
63542011-07-07 Chong Yidong <cyd@stupidchicken.com>
6355
6356 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6357 (menu-bar-options-menu): Tweak descriptions.
6358
0a1848ec
LMI
63592011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6360
6361 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6362 menu items into verb phrases (bug#1421). Also refill to fit under
6363 80 columns.
6364
f5bd0689
CY
63652011-07-07 Chong Yidong <cyd@stupidchicken.com>
6366
538e85c6
CY
6367 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6368 (Info-read-node-name): Doc fix (Bug#1084).
6369
f5bd0689
CY
6370 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6371 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6372 (end-of-sexp, beginning-of-sexp)
6373 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6374 (forward-symbol, forward-same-syntax, word-at-point)
6375 (sentence-at-point): Doc fix (Bug#1144).
6376
56ec5115
LMI
63772011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6378
f3f8e37f
LMI
6379 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6380 should cover it (bug#1281).
6381
0757af94 6382 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6383
e9fce1ac 6384 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6385 negotiation fails, then possibly try again with a non-encrypted
6386 connection (bug#9017).
6387
56ec5115
LMI
6388 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6389 be used.
6390
c2f9aec8
RS
63912011-07-07 Richard Stallman <rms@gnu.org>
6392
6393 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6394 property, and handle its changed format.
6395 Look for the correct line number.
6396 Use file's line contents (but not past first =) to find
6397 correct line in message.
6398
ef7b981d 63992011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6400
6401 * international/characters.el (build-unicode-category-table):
6402 Delete it.
0757af94 6403 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6404
0757af94 6405 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6406 to src/chartab.c.
6407 (get-char-code-property): Call unicode-property-table-internal to
6408 load a file. Call get-unicode-property-internal where necessary.
6409 (put-char-code-property): Call unicode-property-table-internal to
6410 load a file. Call put-unicode-property-internal where necessary.
6411 put-unicode-property-internal where necessary.
0757af94
SM
6412 (char-code-property-description):
6413 Call unicode-property-table-internal to load a file.
c805dec0
KH
6414
6415 * international/charprop.el:
6416 * international/uni-bidi.el:
6417 * international/uni-category.el:
6418 * international/uni-combining.el:
6419 * international/uni-comment.el:
6420 * international/uni-decimal.el:
6421 * international/uni-decomposition.el:
6422 * international/uni-digit.el:
6423 * international/uni-lowercase.el:
6424 * international/uni-mirrored.el:
6425 * international/uni-name.el:
6426 * international/uni-numeric.el:
6427 * international/uni-old-name.el:
6428 * international/uni-titlecase.el:
6429 * international/uni-uppercase.el: Regenerate.
6430
6431 * loadup.el: Load international/charprop.el before
6432 international/characters.
6433
e14b388a
CY
64342011-07-07 Chong Yidong <cyd@stupidchicken.com>
6435
6436 * window.el (next-buffer, previous-buffer): Signal an error if
6437 called from a minibuffer window.
6438
6439 * bindings.el: Revert 2011-07-04 change.
6440
354cf0ba
RS
64412011-07-06 Richard Stallman <rms@gnu.org>
6442
6443 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6444 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6445 Treat markers like ints.
6446 (rmail-mime-entity): Doc fix.
6447
a48868a7
LMI
64482011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6449
4906cd3d
LMI
6450 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6451 defcustom again for backwards compatibility.
6452
e0457abe
LMI
6453 * simple.el (shell-command-on-region): Fill.
6454
d67f7e1f
LMI
6455 * dired-aux.el (dired-kill-line): Add a doc string.
6456
fe204702
LMI
6457 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6458 to "\\sw\\|\\s_" (bug#358).
6459
a48868a7
LMI
6460 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6461 (dired-unmark-backward): Ditto.
6462 (dired-flag-backup-files): Ditto.
6463
6464 * dired-x.el (dired-mark-sexp): Ditto.
6465
aa8a705c
RS
64662011-07-06 Richard Stallman <rms@gnu.org>
6467
6468 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6469 (rmail-mime-entity): New arg TRUNCATED.
6470 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6471 New functions.
6472 (rmail-mime-save): Warn if entity is truncated.
6473 (rmail-mime-toggle-hidden): Likewise, for showing.
6474 (rmail-mime-process-multipart): Record when an entity is truncated.
6475
a9a936b9
RS
6476 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6477 if ENTITY is a string.
6478
1f2b92cb
LMI
64792011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480
f4f73198 6481 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6482 of faces when `M-C-x'-ing their definitions (bug#8378).
6483 Also clean up the code slightly.
f4f73198 6484
12b16734 6485 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6486 because that makes the colors go away.
12b16734 6487
f0691d22
LMI
6488 * mail/sendmail.el (send-mail-function): Change the default to
6489 `sendmail-query-once'.
9e87df06 6490 (sendmail-query-once): Add an autoload cookie.
f0691d22 6491
1f2b92cb
LMI
6492 * net/network-stream.el (network-stream-open-starttls): Try using
6493 a plain connection even if the server offered STARTTLS, and we
6494 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6495 capability. This should make smtpmail.el work in slightly more
6496 configurations.
6497
1cdd2a1b
MA
64982011-07-06 Michael Albinus <michael.albinus@gmx.de>
6499
6500 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6501 New defun.
6502 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6503
fbcc67e2
MM
65042011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6505
6506 * progmodes/sql.el: Version 3.0
0757af94 6507 (sql-product-alist): Add product :completion-object,
fbcc67e2 6508 :completion-column, and :statement attributes.
0757af94 6509 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6510 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6511 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6512 ansi keywords.
6513 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6514 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6515 (sql-oracle-show-reserved-words): New function for development.
6516 (sql-product-font-lock): Simplify for source code buffers.
6517 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6518 New functions.
6519 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6520 (sql-mode-map): Add statement movement functions.
6521 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6522 New variable.
fbcc67e2
MM
6523 (sql-statement-regexp, sql-beginning-of-statement)
6524 (sql-end-of-statement, sql-signum): New functions.
0757af94 6525 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6526 (sql-show-sqli-buffer): Bug fix.
6527 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6528 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6529 with sql-interactive-mode.
6530 (sql-save-connection): Save buffer local settings.
0757af94 6531 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6532 (sql-product-interactive): Bug fix.
6533 (sql-preoutput-hold): New variable.
6534 (sql-interactive-remove-continuation-prompt): Bug fixes.
6535 (sql-debug-redirect): New variable.
6536 (sql-str-literal): New function.
6537 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6538 Redesign.
fbcc67e2
MM
6539 (sql-oracle-save-settings, sql-oracle-restore-settings)
6540 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6541 (sql-completion-object, sql-completion-column)
6542 (sql-completion-sqlbuf): New variables.
6543 (sql-build-completions-1, sql-build-completions)
6544 (sql-try-completion): New functions.
6545 (sql-read-table-name): Use them.
6546 (sql-contains-names): New buffer local variable.
6547 (sql-list-all, sql-list-table): Use it.
6548 (sql-oracle-completion-types): New variable.
6549 (sql-oracle-completion-object, sql-sqlite-completion-object)
6550 (sql-postgres-completion-object): New functions.
6551
d4eaeab1
GM
65522011-07-06 Glenn Morris <rgm@gnu.org>
6553
6554 * window.el (pop-to-buffer): Doc fix.
6555
322b7dab 65562011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6557
6558 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6559
322b7dab 65602011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6561
322b7dab 6562 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6563
322b7dab 6564 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6565
605dd5bf
CY
65662011-07-05 Chong Yidong <cyd@stupidchicken.com>
6567
6568 * button.el (button): Inherit from link face. Suggested by Dan
6569 Nicolaescu.
6570
7dbfa719
SM
65712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6572
3db614b0
SM
6573 * progmodes/gdb-mi.el: Fit in 80 columns.
6574 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6575 switch-to-buffer.
6576
7dbfa719
SM
6577 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6578 if imenu is simply not configured (bug#8941).
6579
919d884a
KM
65802011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6581
6582 * allout.el (allout-post-undo-hook): New allout outline-change
6583 event hook to signal undo activity.
6584 (allout-post-command-business): Run allout-post-undo-hook if an
6585 undo just occurred.
7dbfa719
SM
6586 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6587 * allout-widgets.el (allout-widgets-after-undo-function):
6588 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6589 in the vicinity of an undo.
6590 (allout-widgets-mode): Include allout-widgets-after-undo-function
6591 on the new allout-post-undo-hook.
6592
450a0f09
SM
65932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6596 Let define-derived-mode define it.
6597 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6598 cycles of abbrev-table inheritance (bug#8998).
6599
2de69e00
RW
66002011-07-05 Roland Winkler <winkler@gnu.org>
6601
6602 * textmodes/bibtex.el: Add support for biblatex.
6603 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6604 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6605 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6606 (bibtex-entry-alist, bibtex-field-alist): New variables.
6607 (bibtex-entry-field-alist): Obsolete alias for
6608 bibtex-BibTeX-entry-alist.
6609 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6610 (bibtex-set-dialect): New command.
6611 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6612 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6613 Bind via bibtex-set-dialect.
2de69e00
RW
6614 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6615 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6616 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6617 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6618 Define via bibtex-set-dialect.
450a0f09
SM
6619 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6620 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6621 (bibtex-vec-push, bibtex-vec-incr): New functions.
6622 (bibtex-format-entry, bibtex-field-list)
6623 (bibtex-print-help-message, bibtex-validate)
6624 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6625
2dcdbdd9
SM
66262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * progmodes/compile.el (compilation-goto-locus):
6629 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6630 * bs.el (bs-cycle-next, bs-cycle-previous):
6631 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6632 * bindings.el (mode-line-other-buffer):
6633 * autoinsert.el (auto-insert):
6634 * arc-mode.el (archive-extract):
6635 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6636
b27640fe
JB
66372011-07-05 Juanma Barranquero <lekktu@gmail.com>
6638
6639 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6640 Fix check of `emacs-lock-unlockable-modes'.
6641 Coerce true values of `emacs-lock--try-unlocking' to t.
6642
53bbe3ad
JB
66432011-07-05 Juanma Barranquero <lekktu@gmail.com>
6644
6645 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6646 * emacs-lock.el: New file.
6647
1d3cdbc7
JD
66482011-07-05 Julien Danjou <julien@danjou.info>
6649
6650 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6651 than `boundp' to check if face is set.
6652
9173deec
JB
66532011-07-05 Juanma Barranquero <lekktu@gmail.com>
6654
6655 * register.el (registerv-make):
6656 * window.el (window-min-height): Fix typos in docstrings.
6657
869795d6
JD
66582011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6659
9173deec 6660 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6661 Update doc string.
6662
b768cdcd
JB
66632011-07-04 Juanma Barranquero <lekktu@gmail.com>
6664
6665 * server.el (server-execute): Catch quit and call
6666 `server-return-error' to pass the error back to emacsclient and
6667 close the connection (bug#8942).
6668
13aa217b
KM
66692011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6670
6671 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6672 insecure exception for current topic. Also note that auto-saves
6673 are handled differently.
6674
6675 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6676 State variables for tracking auto-save inhibition situation.
6677
6678 (allout-write-contents-hook-handler): Rename from
6679 'allout-write-file-hook-handler', and describe how it depends on
6680 write-contents-functions sensitivity to non-nil value to prevent
6681 file write.
6682
6683 (allout-auto-save-hook-handler): Remove. auto-save does not check
6684 this in individual buffers, only in the starting buffer, so this
6685 is not the right way for us to inhibit auto-save in a buffer
6686 according to its condition.
6687
6688 (allout-mode): Use new allout-write-contents-hook-handler, and
6689 only with write-contents-functions. Remove auto-save provisions -
6690 they're implemented elsewhere.
6691
6692 (allout-before-change-handler): If undo is in progress, note that
6693 for attention of allout-post-command-business.
6694
6695 (allout-post-command-business): If the command we're following was
6696 an undo, check for change in the status of encrypted items and
6697 adjust auto-save inhibitions accordingly.
6698
6699 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6700 according to whether there are or aren't any plain-text topics
6701 pending encryption.
6702
2dcdbdd9 6703 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6704 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6705 if there are plain-text topics pending encryption.
13aa217b
KM
6706
6707 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6708 buffer-saved-size and some allout state to not inhibit auto-saves
6709 if there are no longer any plain-text topics pending encryption.
6710
0757af94
SM
6711 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6712 No longer provide for exemption of the current topic.
13aa217b 6713
ac89b32c
JL
67142011-07-04 Juri Linkov <juri@jurta.org>
6715
6716 Add 7z operations to delete and save changed members (bug#8968).
6717 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6718 New defcustoms.
6719 (archive-7z-write-file-member): New function.
6720 (archive-7z-summarize): Fix the number of dashes in the
6721 listing output.
6722
8fa39615
SM
67232011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6726 (bug#8958).
6727
2f11b3f1
CY
67282011-07-04 Chong Yidong <cyd@stupidchicken.com>
6729
d66fef2b
CY
6730 * bindings.el: Ignore next-buffer and previous-buffer in
6731 minibuffer-local-map.
6732
2f11b3f1
CY
6733 * font-lock.el (font-lock-builtin-face): Change light background
6734 color to dark slate blue (Bug#6693).
6735
f932a347
WD
67362011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6737
6738 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6739
c8af70e1
SM
67402011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6743 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6744 Add switch-to-buffer.
6745
f158badc
LMI
67462011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6747
6748 * isearch.el (isearch-search-fun-function): Clarify further the
6749 meaning of the function returned.
6750
6d95bd46
MA
67512011-07-04 Michael Albinus <michael.albinus@gmx.de>
6752
6753 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6754
6755 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6756 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6757 Use it.
6758 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6759 `tramp-default-remote-path' does not exist.
6760 (tramp-send-command-and-read): New optional argument NOERROR.
6761 (tramp-open-connection-setup-interactive-shell)
6762 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6763 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6764 (tramp-process-sentinel): Flush also process' connection property.
6765 (tramp-sh-handle-start-file-process): Do not set process
6766 sentinel. It is done now ...
6767 (tramp-maybe-open-connection): ... here. (Bug#8929)
6768
909e6b67
MK
67692011-07-04 MON KEY <monkey@sandpframing.com>
6770
6771 * play/animate.el (animate-string): Doc fixes and allow changing
6772 the buffer name (bug#5417).
6773
67742011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
c8af70e1 6776 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6777
f34755dc
PE
67782011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6779
396cec72
PE
6780 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6781 This is simpler and helps future-proof the code.
6782 (timer-until): Use time-subtract and float-time.
08235028 6783 (timer--time-less-p): Use time-less-p.
f34755dc 6784
56e6cc31
JB
67852011-07-04 Juanma Barranquero <lekktu@gmail.com>
6786
3abb79e5
JB
6787 * type-break.el (timep): Use the value of `float-time' to avoid a
6788 byte-compiler warning.
6789
56e6cc31
JB
6790 * server.el (server-eval-and-print): Return any result, even nil.
6791
7b9430b4
PE
67922011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6793
6794 * type-break.el: Accept time formats that the builtins accept.
6795 (timep, type-break-time-difference): Accept any format that
6796 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6797 This is simpler and helps future-proof the code.
6798 (type-break-time-difference): Round rather than ignoring
6799 subseconds components.
6800
3034e9e7
LMI
68012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
6803 * info.el (Info-apropos-matches): Make non-interactive, since it
6804 doesn't seem to do anything useful as a command (bug#8829).
6805
1485f4c0
CY
68062011-07-03 Chong Yidong <cyd@stupidchicken.com>
6807
6808 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6809 Move from faces.el.
1485f4c0
CY
6810 (frame-default-terminal-background): New function.
6811
6812 * custom.el (custom-push-theme): Don't record faces in `changed'
6813 theme; this doesn't work correctly for per-frame face settings.
6814 (disable-theme): Use face-set-after-frame-default to reset faces.
6815 (custom--frame-color-default): New function.
6816
9fa3dd45
LMI
68172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6818
c8af70e1 6819 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6820 (bug#8769).
6821
6cbbc20c
KR
68222011-03-29 Kevin Ryde <user42@zip.com.au>
6823
6824 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6825 `perl-Test2' extend to match possible "fail #N" rep count
6826 (bug#8377).
6827
c7f98048
LMI
68282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6829
65676592
LMI
6830 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6831 `smtpmail-via-smtp' now returns the error instead of nil.
6832
c7f98048
LMI
6833 * isearch.el (isearch-search-fun-function): Clarify the doc string
6834 (bug#8101).
6835
56e6cc31 68362011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6837
6838 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6839 unnecessary spaces (bug#8987).
6840
2b216704
LMI
68412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842
6843 * net/network-stream.el (open-network-stream): Use the
6844 :end-of-capability command thoughout.
6845
68462011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6847
6848 * net/network-stream.el (open-network-stream): Add the
6849 :end-of-capability command parameter, used by pop3.el.
6850
36adf6ce
LMI
68512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6852
1ca0da0e
LMI
6853 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6854
fc00f69c
LMI
6855 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6856 for list)" (bug#6475).
6857
28fd8759 6858 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6859 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6860 an error (bug#6297).
6861
0dd8b6da
LMI
6862 * man.el (Man-reference-regexp): Allow matching possible
6863 word-wrapped references (bug#6289).
6864
ce1438d6
LMI
6865 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6866 for consistency with the other vc buffers (bug#6197).
6867 (vc-checkin): Ditto.
6868
6869 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6870
36adf6ce
LMI
6871 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6872
e83cc1f7
LMI
68732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6874
8a20ca4c
LMI
6875 * custom.el (defcustom): Clarify that :set is only used in the
6876 Customize user interface (bug#6089).
6877
83319045
LMI
6878 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6879 associated with a file, refuse to run instead of erroring out
6880 (bug#6084).
6881
a8392169
LMI
6882 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6883 the doc string, since it appears that using `fill-column' always
6884 controls the width (bug#7845).
6885
e83cc1f7
LMI
6886 * simple.el (shell-command-on-region): Say where the error output
6887 went if `shell-command-default-error-buffer' is set (bug#6857).
6888
e47ca23b
KM
68892011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6890
6891 * allout.el (allout-yank-processing): Adjust cursor position for
6892 backwards-deleted space.
6893
6894 (allout-rebullet-heading): Register changes with
6895 allout-exposure-changed-hook, so the modified topic is properly
6896 decorated.
6897
5cf56143
LMI
68982011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6899
08549772
LMI
6900 * minibuffer.el (completion-in-region): Document PREDICATE
6901 (bug#7136).
6902
48e96771
LMI
6903 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6904 of keyword/argument pairs (bug#6904).
6905
c8af70e1
SM
6906 * replace.el (multi-occur):
6907 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6908
e17d05e2
LMI
69092011-07-02 Drew Adams <drew.adams@oracle.com>
6910
6911 * dired.el (dired-mark-if): Make the message about whether it's
6912 marking or unmarking clearer (bug#8523).
6913
063b0e45
LMI
69142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
6916 * disp-table.el (display-table-print-array): New function.
6917 (describe-display-table): Use it to print the vectors more pretty
6918 (Bug#8859).
6919
28545e04
MR
69202011-07-02 Martin Rudalics <rudalics@gmx.at>
6921
6922 * window.el (window-state-get-1): Don't assign clone numbers.
6923 Add clone-of item to list of window parameters.
6924 (window-state-put-2): Don't process clone numbers.
6925 (display-buffer-alist): Fix doc-string.
6926
3349e122
SM
69272011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * subr.el (remq): Don't allocate if it's not needed.
6930 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6931 (keymap--merge-bindings): New functions.
6932 (keymap-canonicalize): Use them to refine the canonicalization.
6933 * minibuffer.el (minibuffer-local-completion-map)
6934 (minibuffer-local-must-match-map): Move initialization from C.
6935 (minibuffer-local-filename-completion-map): Move initialization from C;
6936 don't inherit from anything here.
6937 (minibuffer-local-filename-must-match-map): Make obsolete.
6938 (completing-read-default): Use make-composed-keymap to combine
6939 minibuffer-local-filename-completion-map with either
6940 minibuffer-local-must-match-map or
6941 minibuffer-local-filename-completion-map.
6942
d224ac83
GM
69432011-07-01 Glenn Morris <rgm@gnu.org>
6944
3de63bf8
GM
6945 * type-break.el (type-break-time-sum): Use dolist.
6946
d224ac83
GM
6947 * textmodes/flyspell.el (flyspell-word-search-backward):
6948 Replace CL function.
6949
1a1e3f32
SM
69502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6951
fe3f64d5
SM
6952 * mouse.el (mouse--strip-first-event): New function.
6953 (function-key-map): Use it to map fringe clicks to normal clicks
6954 by default.
6955
eb604e34
SM
6956 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6957 (vc-bzr-revision-completion-table): Add support for annotate and date.
6958
1a1e3f32
SM
6959 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6960 inherit from parent.
6961
5bd35902
LMI
69622011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6963
ace6c69c 6964 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6965 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6966
191e2bed
LMI
6967 * dired.el (dired-mode): Fix up the doc string as suggested by
6968 Drew Adams (bug#8817).
6969
5bd35902
LMI
6970 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6971 cookie, since the manual says that it should be possible to add
6972 this function to `find-file-hook' (bug#8709).
6973
eee8207a
TZ
69742011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6975
6976 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6977 here. Noted Ted Zlatanov as the maintainer.
6978 (cfengine-common-settings, cfengine-common-syntax): New functions
6979 to set up common things between `cfengine-mode' and
6980 `cfengine3-mode'.
6981 (cfengine3-mode): New mode.
6982 (cfengine3-defuns cfengine3-defuns-regex
6983 (cfengine3-class-selector-regex cfengine3-category-regex)
6984 (cfengine3-vartypes cfengine3-font-lock-keywords)
6985 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6986 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6987
36b148cf
MA
69882011-07-01 Michael Albinus <michael.albinus@gmx.de>
6989
6990 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6991
6992 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6993
0bf4ba9a
MR
69942011-07-01 Martin Rudalics <rudalics@gmx.at>
6995
6996 * window.el (same-window-buffer-names, same-window-regexps)
6997 (same-window-p, special-display-frame-alist)
6998 (special-display-popup-frame, special-display-function)
6999 (special-display-buffer-names, special-display-regexps)
7000 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7001 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7002 (split-window-preferred-function, split-height-threshold)
7003 (split-width-threshold, even-window-heights)
7004 (display-buffer-mark-dedicated, window-splittable-p)
7005 (split-window-sensibly, window-safely-shrinkable-p):
7006 Un-obsolete.
7007 (display-buffer): Don't spread args with function specifier
7008 because special-display-popup-frame won't like it.
7009
35837f51
PE
70102011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7011
d0672f86
PE
7012 Time-stamp simplifications and fixes.
7013 These improve accuracy slightly, and future-proof the code
7014 against some potential changes to current-time format.
7015
b9444d97
PE
7016 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7017 by using time-since and float-time.
7018
0ef923dc
PE
7019 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7020 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7021 + NNN microseconds".
7022
2f81380d
PE
7023 * type-break.el (type-break-time-sum): Rewrite using time-add.
7024
845b5c3e
PE
7025 * play/hanoi.el (hanoi-current-time-float): Remove.
7026 All uses replaced by float-time.
7027
ee6f1be0
PE
7028 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7029 This yields a more-accurate answer.
7030 (rng-time-to-float): Remove; no longer needed.
7031
fe955043
PE
7032 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7033
5777162a
PE
7034 * calendar/timeclock.el (timeclock-seconds-to-time):
7035 Defalias to seconds-to-time, since they're the same thing.
7036
3103f8b6 7037 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7038 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7039 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7040
0e61a35f
SM
70412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * window.el (bury-buffer): Don't iconify the only frame.
7044 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7045 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7046
ddd63a1e
CY
70472011-07-01 Chong Yidong <cyd@stupidchicken.com>
7048
0e61a35f
SM
7049 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7050 Add mouse-yank-primary.
ddd63a1e 7051
055f4923
TZ
70522011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7053
7054 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7055
6a2fb145
SM
70562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7059 (find-library-name): Use it to find relative load names when provided
7060 absolute file name (bug#8803).
7061
fd4983f2
LMI
70622011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7063
887d14ad
LMI
7064 * textmodes/flyspell.el (flyspell-word): Consider words that
7065 differ only in case as potential doublons (bug#5687).
7066
c53dc7fc
LMI
7067 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7068 Remove two rather uninteresting debugging-like messages to make
7069 debbugs.el more silent.
7070
fd4983f2
LMI
7071 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7072 a password-like phrase.
7073
7a71b18d 70742011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7075
7076 * progmodes/cc-guess.el: New file.
7077
6a2fb145 7078 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7079
7080 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7081 derived from `c-basic-common-init'.
7082
7083 * progmodes/cc-mode.el (top-level): Require cc-guess.
7084 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7085
1fa280a3
LM
70862011-06-30 Lawrence Mitchell <wence@gmx.li>
7087
7088 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7089
e6597158
AM
70902011-06-30 Alan Mackenzie <acm@muc.de>
7091
1fa280a3
LM
7092 * progmodes/cc-engine.el (c-guess-continued-construct):
7093 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7094 lock is disabled. Name this case as "CASE G".
7095
68ba37fb
KM
70962011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7097
7098 * allout.el (allout-yank-processing): Fix injection of extra space
7099 between bullet and non-whitespace character in first topic when
7100 pasting, ensuring that the actual spacing in the pasted topic
7101 following the bullet char is preserved. This extra space was
7102 causing pasted encrypted topics to get a decrypted status even
7103 when the content was actually still encrypted. Now the decryption
7104 status from before the paste is preserved.
7105
7106 (allout-flag-region): Set all allout overlays so they evaporate
7107 when reduced to zero length (evanescent), to prevent overlay
7108 leakage.
7109
887a0b34
GM
71102011-06-30 Glenn Morris <rgm@gnu.org>
7111
94b9acce
GM
7112 * w32-fns.el (w32-charset-info-alist): Declare.
7113
1d9b46d4
GM
7114 * find-dired.el (find-grep-options): Simplify.
7115
cc232200
GM
7116 * term/ns-win.el (ns-set-resource): Declare.
7117
28e77c46
GM
7118 * ses.el (row, col): Declare dynamic variables honestly.
7119
887a0b34
GM
7120 * textmodes/reftex-parse.el (index-tags): Declare.
7121
658d8eb8
CY
71222011-06-30 Chong Yidong <cyd@stupidchicken.com>
7123
7124 * cus-edit.el (customize-push-and-save): New function.
7125
7126 * files.el (hack-local-variables-confirm): Use it.
7127
1fa280a3
LM
7128 * custom.el (load-theme): New arg NO-CONFIRM.
7129 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7130 (custom-enabled-themes): Doc fix.
7131
7132 * cus-theme.el (customize-create-theme)
7133 (custom-theme-merge-theme): Callers to load-theme changed.
7134
bb617717
LMI
71352011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7136
d61bdd5d
LMI
7137 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7138 short URLs have at least one dot in them (bug #7614).
7139
bb617717
LMI
7140 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7141 nil, because using a pty is apparently too slow (bug #895).
7142
2f31f37a
LMI
71432011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7144
7145 * mail/sendmail.el (sendmail-query-once): New function.
7146 (sendmail-query-once-function): New variable.
7147
3076b24e
GM
71482011-06-29 Glenn Morris <rgm@gnu.org>
7149
faf2a174
GM
7150 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7151
3076b24e
GM
7152 * ses.el (top-level): Require cl when compiling.
7153 (ses-set-localvars): Fix error statement.
7154 Call it at compile time to silence a storm of warnings.
7155
5386012d
MR
71562011-06-29 Martin Rudalics <rudalics@gmx.at>
7157
7158 * window.el (normalize-live-buffer): Rename to
7159 window-normalize-buffer.
7160 (normalize-live-frame): Rename to window-normalize-frame.
7161 (normalize-any-window): Rename to window-normalize-any-window.
7162 (normalize-live-window): Rename to window-normalize-live-window.
7163 (make-window-atom): Rename to window-make-atom.
7164 (window-resize-reset): Rename to window--resize-reset.
7165 (window-resize-reset-1): Rename to window--resize-reset-1.
7166 (resize-mini-window): Rename to window--resize-mini-window.
7167 (resize-subwindows-skip-p): Rename to
7168 window--resize-subwindows-skip-p.
7169 (resize-subwindows-normal): Rename to
7170 window--resize-subwindows-normal.
7171 (resize-subwindows): Rename to window--resize-subwindows.
7172 (resize-other-windows): Rename to window--resize-siblings.
7173 (resize-this-window): Rename to window--resize-this-window.
7174 (resize-root-window): Rename to window--resize-root-window.
7175 (resize-root-window-vertically): Rename to
7176 window--resize-root-window-vertically.
7177 (normalize-buffer-to-display): Rename to
7178 window-normalize-buffer-to-display.
7179 (normalize-buffer-to-switch-to): Rename to
7180 window-normalize-buffer-to-switch-to.
7181 Correspondingly update all callers of the functions listed
7182 above.
7183 (display-buffer-alist, display-buffer-normalize-arguments)
7184 (display-buffer-normalize-options, display-buffer)
7185 (display-buffer-alist-set): Use "function" instead of
7186 "fun-with-args".
7187
1176868d
CY
71882011-06-28 Chong Yidong <cyd@stupidchicken.com>
7189
7190 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7191 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7192 debbugs.gnu.org. Mention acknowledgment email.
7193
20a7a65f
LMI
71942011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7195
7196 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7197 buffer multibyteness, since it shouldn't matter.
7198
5f45cca5
MR
71992011-06-28 Martin Rudalics <rudalics@gmx.at>
7200
7201 * window.el (display-buffer-in-side-window): Handle dedicated
7202 windows as in display-buffer-reuse-window.
7203 (display-buffer-normalize-alist): Use value of override
7204 specifier.
7205 (display-buffer-normalize-specifiers): Use value of
7206 other-window-means-other-frame specifier.
7207 (display-buffer-alist): Rewrite some texts in widgets.
7208 (display-buffer): Spread arguments when calling function
7209 specified by fun-with-args.
7210
ad85fe1f
DD
72112011-06-28 Deniz Dogan <deniz@dogan.se>
7212
1fa280a3
LM
7213 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7214 Unnest `let'.
da68c4c8 7215
ad85fe1f
DD
7216 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7217 selectors (Bug#5732).
ec49bd31 7218 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7219
a08cc025
JA
72202011-06-27 Jari Aalto <jari.aalto@cante.net>
7221
7222 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7223 (eshell-ls-date-format): New defcustom.
7224 (eshell-ls-file): Use it.
7225
e2b551c5
SM
72262011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7229
8982b231
KY
72302011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7231
7232 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7233 (ange-ftp-make-tmp-name): New arg.
7234 (ange-ftp-file-local-copy): Use it.
7235
36c9fa27
J
72362011-06-27 Jambunathan K <kjambunathan@gmail.com>
7237
7238 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7239 no-conversion (Bug#8870).
7240
d68443dc
MR
72412011-06-27 Martin Rudalics <rudalics@gmx.at>
7242
7243 * window.el (window-right, window-left, window-child)
7244 (window-child-count, window-last-child)
7245 (window-iso-combination-p, walk-window-tree-1)
7246 (window-atom-check-1, window-tree-1, delete-window)
7247 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7248 new naming conventions - window-vchild, window-hchild,
7249 window-next and window-prev are now called window-top-child,
7250 window-left-child, window-next-sibling and window-prev-sibling
7251 respectively.
d615d6d2
MR
7252 (resize-window-reset): Rename to window-resize-reset.
7253 (resize-window-reset-1): Rename to window-resize-reset-1.
7254 (resize-window): Rename to window-resize.
7255 (window-min-height, window-min-width)
7256 (resize-mini-window, resize-this-window, resize-root-window)
7257 (resize-root-window-vertically, adjust-window-trailing-edge)
7258 (enlarge-window, shrink-window, maximize-window)
7259 (minimize-window, delete-window, quit-restore-window)
7260 (split-window, balance-windows, balance-windows-area-adjust)
7261 (balance-windows-area, window-state-put-2)
7262 (display-buffer-even-window-sizes, display-buffer-set-height)
7263 (display-buffer-set-width, set-window-text-height)
7264 (fit-window-to-buffer): Rename all "resize-window" prefixed
7265 calls to use the "window-resize" prefix convention.
7266 (display-buffer-alist): Fix symbol for label specifier.
7267 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7268 corresponding specifier.
7269 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7270
b6458526
VB
72712011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7272
7273 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7274 convention.
7275 (ses-call-printer): Does not pass an empty string to formatter when the
7276 cell is empty to keep from barking printer Calc math-format-value.
7277
d31fd9ac
RS
72782011-06-27 Richard Stallman <rms@gnu.org>
7279
43d5bf84
RS
7280 * battery.el (battery-mode-line-limit): New variable.
7281 (battery-update): Handle it.
7282
d31fd9ac
RS
7283 * mail/rmailmm.el (rmail-mime-process-multipart):
7284 Handle truncated messages.
7285
819a6054
GM
72862011-06-27 Glenn Morris <rgm@gnu.org>
7287
7288 * progmodes/flymake.el (flymake-err-line-patterns):
7289 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7290
cedc73f2
VB
72912011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7292
819a6054 7293 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7294 (ses--clean-!, ses--clean-_): New functions.
7295 (ses-range): Add configurability of readout order, and conversion
7296 to Calc vector.
7297
5e5d49b6
VB
7298 * ses.el (ses-repair-cell-reference-all): New function.
7299 (ses-cell-symbol): Set macro as safe, so that it can be used in
7300 formulas.
7301
56e6cc31 7302 * ses.el: Update cycle detection algorithm.
90ca8b49 7303 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7304 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7305 (ses-set-localvars): New function.
7306 (ses-make-cell): Add property-list as a cell element.
7307 (ses-cell-property-get-fun, ses-cell-property-get)
7308 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7309 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7310 New functions.
90ca8b49
VB
7311 (ses-cell-property-set, ses-cell-property-pop)
7312 (ses-cell-property-get-handle): New macro.
7313 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7314 New aliases, used for code readability.
7315 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7316 cycle detection.
7317 (ses-self-reference-early-detection): New defcustom.
fac916bf 7318 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7319 (ses-mode): Use ses-set-localvars.
7320 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7321 before lauching the update processing.
7322 (ses-initialize-Dijkstra-attempt): New function.
7323 (ses-recalculate-cell): Update for cycle detection based on
7324 Dijkstra algorithm.
7325
2bb63e81
VB
7326 * ses.el: Fix commenting and indenting convention.
7327
c9d29fb8
SM
73282011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * bs.el (bs-cycle-next): Complete last change.
7331
d8e4b68b
JB
73322011-06-27 Drew Adams <drew.adams@oracle.com>
7333
7334 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7335
40098786
LMI
73362011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7337
c9d29fb8
SM
7338 * net/network-stream.el (network-stream-open-starttls):
7339 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7340 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7341
40098786
LMI
7342 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7343 to binary to possibly avoid line encoding issues on Windows (among
7344 other things).
7345
468d09d4
LMI
73462011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7347
7348 * net/network-stream.el (open-network-stream): Return an :error
7349 saying what the problem was, if possible.
7350
7351 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7352 server.
7353
7354 * net/network-stream.el (network-stream-open-starttls): If we
7355 wanted to use STARTTLS, and the server offered it, but we weren't
7356 able to because we had no STARTTLS support, then close the connection.
7357 (open-network-stream): Return an :error element, if present.
7358
16f07dd7
CY
73592011-06-26 Chong Yidong <cyd@stupidchicken.com>
7360
88821ca0
CY
7361 * hl-line.el (hl-line-sticky-flag): Doc fix.
7362 (global-hl-line-sticky-flag): New option (Bug#8323).
7363 (global-hl-line-highlight): Obey it.
7364
16f07dd7
CY
7365 * vc/vc.el (vc-revert-show-diff): Default to t.
7366
6b5ccddf
KM
73672011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7368
c9d29fb8
SM
7369 * allout-widgets.el (allout-widgets-post-command-business):
7370 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7371 undecorated when an isearch is continued past, and isearch
7372 automatically collapses them. This leads to "widget leaks", where
7373 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7374 hidden widgets can slow down cursor travel, substantially.
7375 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7376 so we're doing without this nicety.
7377
7378 (allout-widgets-tally-string): Don't try to do a hash-table-count
7379 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7380 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7381 *Messages* when allout-widgets-maintain-tally is t.
7382
355f2e07
MR
73832011-06-26 Martin Rudalics <rudalics@gmx.at>
7384
7385 * window.el (display-buffer-normalize-argument): Rename to
7386 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7387 LABEL argument. Respect special-display-function when popping up
7388 a new frame. Fix code searching for a window showing the buffer
7389 on another frame.
c9d29fb8
SM
7390 (display-buffer-normalize-specifiers):
7391 Call display-buffer-normalize-arguments.
355f2e07
MR
7392 (display-buffer-in-window): Don't undedicate the window if its
7393 buffer remains the same.
7394 Reported by Drew Adams <drew.adams@oracle.com>.
7395 (display-buffer-alist): Add choice for same-window macro
7396 specfier.
7397 (display-buffer): Mention special meaning of LABEL argument in
7398 doc-string. Fix quoting. Don't pop up a new frame even as
7399 fallback.
7400
7ca8fc42
JB
74012011-06-26 Juanma Barranquero <lekktu@gmail.com>
7402
7403 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7404 avoid deleting the current window in some cases (bug#8911).
7405
bc312254
AS
74062011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7407
7408 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7409 (Bug#8934)
7410
2db18f3f
LMI
74112011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7412
c9d29fb8
SM
7413 * net/network-stream.el (network-stream-open-starttls):
7414 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7415 (network-stream-open-tls): Ditto.
7416
6302e0d3
LL
74172011-06-26 Leo Liu <sdl.web@gmail.com>
7418
7419 * register.el (registerv): New struct.
7420 (registerv-make): New function.
c9d29fb8
SM
7421 (jump-to-register, describe-register-1, insert-register):
7422 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7423 struct. (Bug#8415)
7424
5fdd4046
CY
74252011-06-26 Chong Yidong <cyd@stupidchicken.com>
7426
2afef60a
CY
7427 * vc/vc.el (vc-revert-show-diff): New defcustom.
7428 (vc-diff-internal): New arg specifying diff buffer.
7429 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7430 reuse an existing *vc-diff* buffer (Bug#8927).
7431
5fdd4046
CY
7432 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7433
e93db24a
GM
74342011-06-26 Glenn Morris <rgm@gnu.org>
7435
7436 * progmodes/f90.el (f90-critical-indent): New option.
7437 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7438 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7439 (f90-mode): Doc fix.
7440 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7441 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7442 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7443 (f90-match-end): Handle block, critical.
7444
eefff499
GM
74452011-06-25 Glenn Morris <rgm@gnu.org>
7446
f6ba4cc9
GM
7447 * calendar/diary-lib.el (diary-included-files): Doc fix.
7448 (diary-include-files): New function, extracted from
7449 diary-include-other-diary-files and diary-mark-included-diary-files.
7450 (diary-include-other-diary-files, diary-mark-included-diary-files):
7451 Just call diary-include-files.
7452 (diary-mark-entries): Reset diary-included-files on first call.
7453
16712304
GM
7454 * calendar/diary-lib.el (diary-mark-entries)
7455 (diary-mark-included-diary-files):
7456 Visit included diary-files in temp buffers.
7457
5d8e0d43
GM
7458 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7459 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7460 (f90-start-block-re, f90-imenu-generic-expression)
7461 (f90-looking-at-program-block-start, f90-no-block-limit):
7462 Add support for submodules.
7463
ccf7a5d5
GM
7464 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7465 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7466
11fdef7d 74672011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7468
7469 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7470 buffer-file-type before setting its value, to avoid disastrous
eefff499 7471 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7472
74f53697
JB
74732011-06-25 Juanma Barranquero <lekktu@gmail.com>
7474
7475 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7476
7477 * ses.el (ses-unload-function):
7478 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7479
7480 * proced.el (proced-unload-function):
7481 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7482
18a4ce5e
AR
74832011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7484
7485 * server.el (server-create-window-system-frame): Add parameters arg.
7486 (server-process-filter): Doc fix. Handle frame-parameters.
7487
519d22cc
JB
74882011-06-25 Juanma Barranquero <lekktu@gmail.com>
7489
7490 Fix bug#8730, bug#8781.
7491
7492 * loadhist.el (unload--set-major-mode): New function.
7493 (unload-feature): Use it.
7494
7495 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7496 (python-unload-function): New function.
7497
c206f5b0
SM
74982011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7501
f9ad64f3
GS
75022011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7503
7504 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7505 the candidates list.
7506
7d0da90e
JB
75072011-06-24 Juanma Barranquero <lekktu@gmail.com>
7508
7509 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7510
14b4e83d
RS
75112011-06-23 Richard Stallman <rms@gnu.org>
7512
7513 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7514 (rmail-variables): Set next-error-move-function.
7515 (rmail-what-message): Take argument POS.
7516 (rmail-next-error-move): New function.
7517
273d2baf
SM
75182011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7521 messages for adjacent non-terminals.
7522
56c2cc9a
RS
75232011-06-23 Richard Stallman <rms@gnu.org>
7524
7525 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7526 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7527 (rmail-start-mail): Don't specify use of rmail-mail-return;
7528 that's done by mail-bury now.
7529 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7530
d59eb518
MA
75312011-06-23 Michael Albinus <michael.albinus@gmx.de>
7532
7533 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7534 SIZE is a number.
7535
02cfc6d6
MR
75362011-06-23 Martin Rudalics <rudalics@gmx.at>
7537
7538 * window.el (get-lru-window, get-mru-window)
7539 (get-largest-window): Never return a minibuffer window.
7540 (display-buffer-pop-up-window): Fix a bug that could lead to
7541 reusing the minibuffer window.
7542 (display-buffer): Pass original specifier argument to
7543 display-buffer-function instead of the normalized one.
7544 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7545
4e323265
LL
75462011-06-22 Leo Liu <sdl.web@gmail.com>
7547
7548 * minibuffer.el (completing-read-function)
7549 (completing-read-default): Move from minibuf.c
7550
7a70468f
RS
75512011-06-22 Richard Stallman <rms@gnu.org>
7552
50718fc2
RS
7553 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7554 to Rmail even if not started by a special Rmail command.
7555
7a70468f
RS
7556 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7557 Copy the buffer currently showing just one message.
7558
297dde5a
RW
75592011-06-22 Roland Winkler <winkler@gnu.org>
7560
7561 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7562 (bibtex-clean-entry): First delete the old key so that a
7563 customized algorithm for generating the new key does not get
7564 confused by the old key.
7565 (bibtex-url): Obey regexp of first step.
7566 (bibtex-search-entries): Do not use add-to-list with local
7567 list-var.
7568
97bb1093
LMI
75692011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7570
7571 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7572 stored a user name, then query for the password first, instead of
7573 waiting for SMTP to give an error message and the trying again.
7574
1c0f1a19
JD
75752011-06-22 Lawrence Mitchell <wence@gmx.li>
7576
7577 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7578 BUFFER in call-process.
7579
396f7c9d
LMI
75802011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7581
7582 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7583 QUIT twice.
ddb7ffee
LMI
7584 (smtpmail-try-auth-methods): Require user name and password from
7585 auth-source.
396f7c9d 7586
8998d1b3
MR
75872011-06-22 Martin Rudalics <rudalics@gmx.at>
7588
7589 * window.el (display-buffer-default-specifiers)
7590 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7591 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7592 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7593
7594 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7595 (special-display-frame-alist, special-display-popup-frame):
7596 Remove duplicate declarations. These are now in window.el.
7597
4ea31e07
LMI
75982011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7599
c9d29fb8
SM
7600 * mail/smtpmail.el (smtpmail-via-smtp):
7601 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7602 server supports it. SMTP servers that support STARTTLS commonly
7603 require it.
7604
7605 * net/network-stream.el (network-stream-open-starttls): Support
7606 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7607 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7608
95f41d9a
LMI
7609 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7610 upgrades with `open-network-stream', and rely solely on
7611 auth-source for all credentials. Big changes throughout the file,
7612 but in particular:
c9d29fb8
SM
7613 (smtpmail-auth-credentials): Remove.
7614 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7615 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7616 MAIL FROM, too.
95f41d9a 7617
c9d29fb8
SM
7618 * net/network-stream.el (network-stream-open-starttls):
7619 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7620 STARTTLS.
7621 (auth-source): Require.
7622 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7623 (network-stream-certificate): Change cert-cert to cert and
7624 cert-key to key.
4ea31e07 7625
065ec2c7
MA
76262011-06-21 Michael Albinus <michael.albinus@gmx.de>
7627
7628 * net/tramp-cache.el (top): Don't load the persistency file when
7629 "emacs -Q" has been called.
7630
cd93b359
DR
76312011-06-21 Tim Harper <timcharper@gmail.com>
7632
d8e4b68b
JB
7633 * term/ns-win.el (ns-initialize-window-system):
7634 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7635 resource to NO as it is not yet supported by the NS port.
7636
ae9c0411
JB
76372011-06-21 Juanma Barranquero <lekktu@gmail.com>
7638
7639 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7640 (list-dynamic-libraries): ...not here.
7641
7f3f739f
LL
76422011-06-21 Leo Liu <sdl.web@gmail.com>
7643
7644 * subr.el (sha1): Implement sha1 using secure-hash.
7645
327c8fb1
MR
76462011-06-21 Martin Rudalics <rudalics@gmx.at>
7647
7648 * window.el (display-buffer-alist): In default value do not
7649 enforce searching a window on any but the selected frame.
7650 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7651 (display-buffer-select-window): Remove function.
7652 (display-buffer-in-window): When a window on another frame gets
7653 reused, do not select it any more but just raise its frame if
7654 necessary (Bug#8851) and (Bug#8856).
7655 (display-buffer-normalize-options): Handle pop-up-frames related
7656 options more faithfully.
7657 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7658 window if it is on another frame.
c9d29fb8
SM
7659 (display-buffer-alist, display-buffer-default-specifiers):
7660 Don't make new frame unsplittable by default.
9e9de014
MR
7661 (display-buffer-normalize-argument): Fix doc-string typo and use
7662 'same-frame-other-window instead of 'other-window when associating
7663 with display-buffer-macro-specifiers.
327c8fb1 7664
7cf3f556
VB
76652011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7666
7667 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7668 New functions.
7669 (5x5-mode-map, 5x5-mode-menu): Bind them.
7670 (5x5-draw-grid): Tweak the solver's rendering.
7671
60a406cf
SM
76722011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7675 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7676
d8e4b68b 76772011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7678
7679 * menu-bar.el: Use function variable instead of switch-to-buffer.
7680 (menu-bar-select-buffer-function): New variable.
60a406cf 7681 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7682
478d6f95
SM
76832011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7686 variable's status.
7687
ca530739
JD
76882011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7689
7690 * x-dnd.el (x-dnd-version-from-flags)
7691 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7692 and long as number (Bug#8899).
7693 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7694
bcd70d97
SM
76952011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7696
60a406cf 7697 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7698 (completion-try-completion, completion-all-completions): Compute the
7699 metadata argument if it's missing; make it optional (bug#8795).
7700
60a406cf 7701 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7702 (widget-complete): Use new :completion-function property.
7703 (widget-completions-at-point): New function.
7704 (default): Use :completion-function instead of :complete.
60a406cf
SM
7705 (widget-default-completions): Rename from widget-default-complete;
7706 Rewrite.
bcd70d97
SM
7707 (widget-string-complete, widget-file-complete, widget-color-complete):
7708 Remove functions.
7709 (file, symbol, function, variable, coding-system, color):
7710 * international/mule-cmds.el (default-input-method, charset)
7711 (language-info-custom-alist):
7712 * cus-edit.el (face): Use new property :completions.
7713
7714 * progmodes/pascal.el (pascal-completions-at-point): New function.
7715 (pascal-mode): Use it.
7716 (pascal-mode-map): Use completion-at-point.
7717 (pascal-toggle-completions): Make obsolete.
7718 (pascal-complete-word, pascal-show-completions):
7719 * progmodes/octave-mod.el (octave-complete-symbol):
7720 Redefine as obsolete alias.
7721 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7722 Signal absence of completion info for old Octave,
7723 (inferior-octave-complete): Redefine as obsolete alias.
7724 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7725 (meta-completions-at-point): Rename from meta-complete-symbol and
7726 adapt it for use on completion-at-point-functions.
7727 (meta-common-mode): Use it.
7728 (meta-looking-at-backward, meta-match-buffer): Remove.
7729 (meta-complete-symbol): Redefine as obsolete alias.
7730 (meta-common-mode-map): Use completion-at-point.
7731 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7732 (makefile-mode-map): Use completion-at-point.
7733 (makefile-completions-at-point): Rename from makefile-complete and
7734 adapt it for use on completion-at-point-functions.
7735 (makefile-mode): Use it.
7736 (makefile-complete): Redefine as obsolete alias.
7737
aebf69c8
DD
77382011-06-20 Deniz Dogan <deniz@dogan.se>
7739
7740 * net/rcirc.el: Delete trailing whitespaces once and for all.
7741
bfbbb27d
DC
77422011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7743
7744 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7745
d264a46b
CY
77462011-06-19 Chong Yidong <cyd@stupidchicken.com>
7747
4ca009e5
CY
7748 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7749
d264a46b
CY
7750 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7751
fbf5b3ce
MR
77522011-06-19 Martin Rudalics <rudalics@gmx.at>
7753
7754 * window.el (display-buffer-other-window-means-other-frame):
7755 Call display-buffer-normalize-alist.
7756 (display-buffer-normalize-specifiers-1): Rename to
7757 display-buffer-normalize-argument. New argument other-frame.
7758 Rewrite.
7759 (display-buffer-normalize-specifiers-2): Rename to
7760 display-buffer-normalize-options.
7761 (display-buffer-normalize-alist-1): New function.
7762 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7763 display-buffer-normalize-alist.
7764 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7765 (display-buffer-normalize-options-inhibit): New variable.
7766 (display-buffer-normalize-specifiers): Rewrite calling
7767 display-buffer-normalize-alist,
7768 display-buffer-normalize-argument, and
7769 display-buffer-normalize-options. Don't call the latter if
7770 display-buffer-normalize-options-inhibit is non-nil.
7771 (frame-auto-delete): New option.
7772 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7773 (window-list-no-nils, window-state-ignored-parameters)
7774 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7775 (window-state-put-1, window-state-put-2, window-state-put):
7776 New functions.
9a028c23
MR
7777 (display-buffer-normalize-options): Move special-display-p group
7778 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7779
6d10d800
CY
77802011-06-18 Chong Yidong <cyd@stupidchicken.com>
7781
6420d28b
CY
7782 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7783 groups (Bug#8776).
7784 (rx-submatch-n): New function.
7785 (rx): Document it.
7786
ddb8b596
CY
7787 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7788 (Bug#8768).
7789
7790 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7791
77080289
CY
7792 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7793
61dfb316
CY
7794 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7795 anytime existing face settings are present (Bug#8889).
7796
6d10d800
CY
7797 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7798 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7799 Remove unused argument.
7800
be3fb2b8
MR
78012011-06-18 Martin Rudalics <rudalics@gmx.at>
7802
bcd70d97
SM
7803 * window.el (display-buffer-default-specifiers):
7804 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7805 pop-up-window-min-width, and another reuse-window specifier
7806 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7807 (display-buffer-normalize-specifiers-2):
7808 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7809 pop-up-windows is unset. Add a reuse-window specifier for the
7810 case popping up a new window fails.
7811 (special-display-popup-frame): Remove double quoting.
28dec25a 7812 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7813
1c6d8c76
SM
78142011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7815
7816 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7817 according to comint-completion-addsuffix.
7818
7819 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7820 (pcomplete-suffix-list): Mark as obsolete.
7821 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7822 pcomplete-seen in the closure.
7823 (pcomplete-comint-setup): Setup completion-at-point as well.
7824 (pcomplete--entries): New function.
7825 (pcomplete--env-regexp): New var.
7826 (pcomplete-entries): Rewrite to work with partial-completion and
7827 without relying on pcomplete-suffix-list.
7828 (pcomplete-pare-list): Remove, unused.
7829
25aef8b8
MR
78302011-06-17 Martin Rudalics <rudalics@gmx.at>
7831
7832 * window.el (display-buffer-alist): Set pop-up-window-min-height
7833 and pop-up-window-min-width in default value. Reported by
7834 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7835 other-window-means-other-frame.
7836 (display-buffer-macro-specifiers): Comment out entry for
7837 other-window specifier.
7838 (display-buffer-other-window-means-other-frame): New function.
7839 (display-buffer-normalize-specifiers-1): New arguments
7840 buffer-name and label. Treat other-window case specially.
7841 (display-buffer-normalize-specifiers-2): Treat other-window case
7842 specially.
7843 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7844 (display-buffer-normalize-specifiers):
7845 Call display-buffer-normalize-specifiers-3.
25aef8b8 7846
dbad4f69
MR
78472011-06-17 Martin Rudalics <rudalics@gmx.at>
7848
7849 * window.el (same-window-p): Fix two typos introduced when
7850 adding with-no-warnings.
d1067961
MR
7851 (display-buffer-normalize-specifiers-1): Don't check
7852 pop-up-frames for 'unset initialization.
7853 (display-buffer-normalize-specifiers-2): Major rewrite using
7854 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7855 (pop-up-frames, display-buffer-reuse-frames)
7856 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7857 Suggested by David Engster <deng@randomsample.de>.
7858 (even-window-heights): Initialize to 'unset.
7859 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7860 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7861 other window case.
dbad4f69 7862
9b9c9e3a
MR
78632011-06-16 Martin Rudalics <rudalics@gmx.at>
7864
bcd70d97
SM
7865 * window.el (display-buffer-normalize-specifiers-1):
7866 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7867 second argument of display-buffer (Bug#8865).
981d5c09
MR
7868 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7869 (switch-to-buffer-other-window-same-frame)
7870 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7871 Adams (Bug#8875).
9c2755e9
MR
7872 (display-buffer): Don't check noninteractive when calling
7873 display-buffer-pop-up-frame.
7874 (display-buffer-pop-up-frame): Never pop up a frame in
7875 noninteractive mode (Bug#8857).
67222e1d
MR
7876 (enlarge-window, shrink-window): Don't report an error when the
7877 window can't be resized as requested (Bug#8862).
9b9c9e3a 7878
2b75be67
SM
78792011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7880
9ffdd3ba
SM
7881 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7882
cb581a67
SM
7883 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7884
2b75be67
SM
7885 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7886
8c0e3589
AM
78872011-06-15 Alan Mackenzie <acm@muc.de>
7888
cb581a67
SM
7889 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7890 for declarators, disable knr checking to speed up for normal files.
7891 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7892
b96e6cde
LMI
78932011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7894
4bba86e6
LMI
7895 * net/network-stream.el (open-network-stream): Add the keyword
7896 :always-query-capabilities for the case where you want to force a
7897 `plain' network connection, but the protocol still requires the
7898 capabilitiy command (i.e., SMTP and EHLO).
7899
2b75be67 7900 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7901 consistency with other `-live-p' functions.
7902
efdcdbf8
SM
79032011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * window.el (same-window-buffer-names, same-window-regexps)
7906 (special-display-frame-alist, special-display-popup-frame)
7907 (special-display-function, special-display-buffer-names)
7908 (special-display-regexps, pop-up-frame-alist)
7909 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7910 (pop-up-windows, split-window-preferred-function)
7911 (split-height-threshold, split-width-threshold, even-window-heights)
7912 (display-buffer-mark-dedicated): Don't encourage the use of
7913 display-buffer-alist from Elisp code.
7914
c5cde042
DN
79152011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7916
7917 * progmodes/python.el (python-mode): Derive from prog-mode.
7918 * progmodes/ps-mode.el (ps-mode):
7919 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7920 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7921 * progmodes/ld-script.el (ld-script-mode): Likewise.
7922
baa1c9ab
MR
79232011-06-15 Martin Rudalics <rudalics@gmx.at>
7924
7925 * window.el (display-buffer-alist): Trim default value to avoid
7926 popping up a new frame (Bug#8857) or reusing an arbitrary window
7927 on another frame.
7928 (display-buffer): Do not fall back on popping up a new frame in
7929 batch mode (Bug#8857).
7930
c5dd5a51
CY
79312011-06-14 Chong Yidong <cyd@stupidchicken.com>
7932
7933 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7934 (custom-theme-summary): New function.
7935 (customize-themes): Use it.
7936
d647b7c4
GM
79372011-06-13 Glenn Morris <rgm@gnu.org>
7938
7939 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7940
9481c002
MR
79412011-06-13 Martin Rudalics <rudalics@gmx.at>
7942
357f93d2
MR
7943 * help.el (help-window): Remove variable.
7944 (help-window-point-marker, temp-buffer-max-height)
7945 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7946 (help-print-return-message): Don't set help-window.
7947 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7948 (help-window-setup-finish): Remove.
7949 (help-window-display-message, help-window-setup)
7950 (with-help-window): Major rewrite based on new
7951 display-buffer-window variable.
7952
7953 * help-mode.el (help-mode-finish): Remove help-window related
7954 code.
7955
7956 * view.el (view-exits-all-viewing-windows): Remove reference to
7957 view-return-to-alist in doc-string.
7958 (view-return-to-alist): Make obsolete.
7959 (view-buffer): Call pop-to-buffer-same-window and remove
7960 undo-window code.
7961 (view-buffer-other-window): Call pop-to-buffer-other-window and
7962 simplify code. Ignore second argument.
7963 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7964 simplify code. Ignore second argument.
7965 (view-return-to-alist-update): Make obsolete.
7966 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7967 Rewrite using quit-restore window parameters.
2b75be67
SM
7968 (view-mode-exit): Rename second argument to EXIT-ONLY.
7969 Rewrite using quit-restore-window.
357f93d2
MR
7970 (View-exit, View-exit-and-edit, View-leave, View-quit)
7971 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7972 appropriate arguments.
7973 (view-end-message): Use quit-restore window parameter.
7974
9481c002
MR
7975 * window.el (display-buffer-function): Rewrite doc-string.
7976 (display-buffer-window, display-buffer-alist): New variables.
7977 (display-buffer-split-specifiers)
7978 (display-buffer-side-specifiers)
7979 (display-buffer-macro-specifiers): New constants.
7980 (display-buffer-even-window-sizes, display-buffer-set-height)
7981 (display-buffer-set-width, display-buffer-select-window)
7982 (display-buffer-in-window, display-buffer-reuse-window)
7983 (display-buffer-split-window-1, display-buffer-split-window)
7984 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7985 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7986 (display-buffer-in-side-window, normalize-buffer-to-display)
7987 (display-buffer-normalize-specifiers-1)
7988 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7989 (display-buffer-normalize-specifiers, display-buffer-frame):
7990 New functions.
9481c002
MR
7991 (display-buffer): Major rewrite.
7992 (display-buffer-other-window, display-buffer-other-frame)
7993 (pop-to-buffer, switch-to-buffer-other-window)
7994 (switch-to-buffer-other-frame): Rewrite.
7995 (display-buffer-same-window, display-buffer-same-frame)
7996 (display-buffer-same-frame-other-window)
7997 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7998 (pop-to-buffer-other-window)
7999 (pop-to-buffer-same-frame-other-window)
8000 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8001 (switch-to-buffer-other-window-same-frame): New functions.
8002 (same-window-p, special-display-p): Rewrite disabling warnings.
8003 Make obsolete.
8004 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8005 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8006 Make obsolete
8007 (same-window-buffer-names, same-window-regexps)
8008 (special-display-frame-alist, special-display-popup-frame)
8009 (special-display-function, special-display-buffer-names)
8010 (special-display-regexps, pop-up-frame-alist)
8011 (pop-up-frame-function, split-window-preferred-function)
8012 (split-height-threshold, split-width-threshold)
8013 (even-window-heights): Make obsolete.
8014
9db51aca
GM
80152011-06-12 Glenn Morris <rgm@gnu.org>
8016
8017 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8018 Misc simplifications.
9db51aca 8019
39cffb44
MR
80202011-06-12 Martin Rudalics <rudalics@gmx.at>
8021
8022 * window.el (window-safely-shrinkable-p): Restore function which
8023 was inadvertently removed in change from 2011-06-11. Declare as
8024 obsolete.
8025
2b75be67
SM
8026 * calendar/calendar.el (calendar-generate-window):
8027 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8028 window-safely-shrinkable-p.
8029
a8955be7
GM
80302011-06-12 Glenn Morris <rgm@gnu.org>
8031
8032 * progmodes/fortran.el (fortran-mode-syntax-table):
8033 * progmodes/f90.el (f90-mode-syntax-table):
8034 Set % to punctuation. (Bug#8820)
8035 (f90-find-tag-default): Remove, no longer needed.
8036
f0d4059d
DC
80372011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8038
8039 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8040
1100a63c
CY
80412011-06-11 Chong Yidong <cyd@stupidchicken.com>
8042
8043 * image.el (image-animated-p): Return animation delay in seconds.
8044 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8045 (image-animate-timeout): Remove DELAY argument. Don't assume
8046 every subimage has the same delay; get it from image-animated-p.
8047 (image-animate): Caller changed.
8048
def722bf
MA
80492011-06-11 Michael Albinus <michael.albinus@gmx.de>
8050
8051 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8052 to ignored backtrace functions.
8053
0a2bb1a9
GM
80542011-06-11 Glenn Morris <rgm@gnu.org>
8055
8056 * calendar/appt.el (appt-disp-window-function): Doc fix.
8057 (appt-check): Handle overlapping appointments. (Bug#8337)
8058
6198ccd0
MR
80592011-06-11 Martin Rudalics <rudalics@gmx.at>
8060
8061 * window.el (window-tree-1, window-tree): New functions, moving
8062 the latter to window.el.
8063 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8064 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8065 (bw-refresh-edges): Remove.
8066 (balance-windows-1, balance-windows-2): New functions.
8067 (balance-windows): Rewrite in terms of window tree functions,
8068 balance-windows-1 and balance-windows-2.
8069 (bw-adjust-window): Remove.
8070 (balance-windows-area-adjust): New function with functionality of
8071 bw-adjust-window but using resize-window.
2b75be67
SM
8072 (set-window-text-height): Rewrite doc-string.
8073 Use normalize-live-window and resize-window.
8074 (enlarge-window-horizontally, shrink-window-horizontally):
8075 Rename argument to DELTA.
6198ccd0
MR
8076 (window-buffer-height): New function.
8077 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8078 Rewrite using new window resize routines.
2b75be67
SM
8079 (kill-buffer-and-window, mouse-autoselect-window-select):
8080 Use ignore-errors instead of condition-case.
6198ccd0
MR
8081 (quit-window): Call delete-frame instead of delete-windows-on
8082 for the only buffer on frame.
8083
9397e56f
MR
80842011-06-10 Martin Rudalics <rudalics@gmx.at>
8085
8086 * loadup.el (top-level): Load window before files for the sake
8087 of replace-buffer-in-windows.
8088
8089 * files.el (read-buffer-to-switch)
8090 (switch-to-buffer-other-window)
2b75be67
SM
8091 (switch-to-buffer-other-frame, display-buffer-other-frame):
8092 Move to window.el.
9397e56f
MR
8093
8094 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8095 (previous-buffer): Move to window.el.
8096
8097 * bindings.el (unbury-buffer): Move to window.el.
8098
8099 * window.el (delete-other-windows-vertically): Move after
8100 definition of delete-other-windows.
8101 (other-window, delete-windows-on, replace-buffer-in-windows):
8102 Move here from window.c.
8103 (record-window-buffer, unrecord-window-buffer)
8104 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8105 (switch-to-next-buffer): New functions.
8106 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8107 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8108 (previous-buffer): Move here from simple.el.
8109 Call switch-to-prev-buffer.
9397e56f
MR
8110 (bury-buffer): Move here from buffer.c. Switch to previous
8111 buffer when window cannot be deleted.
8112 (unbury-buffer): Move here from bindings.el.
8113 (ctl-x-map): Move binding for other-window from window.c to
8114 here.
8115 (read-buffer-to-switch, switch-to-buffer-other-window)
8116 (switch-to-buffer-other-frame): Move here from files.el.
8117 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8118 (switch-to-buffer): Move here from buffer.c.
8119 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8120
562dd5e9
MR
81212011-06-10 Martin Rudalics <rudalics@gmx.at>
8122
8123 * window.el (window-min-height, window-min-width): Move here
8124 from window.c. Add defcustoms and rewrite doc-strings.
8125 (resize-mini-window, resize-window): New functions.
8126 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8127 Move here from window.c.
8128 (maximize-window, minimize-window): New functions.
8129 (delete-window, delete-other-windows, split-window): Move here
8130 from window.c.
8131 (window-split-min-size): New function.
8132 (split-window-keep-point): Mention split-window-above-each-other
8133 instead of split-window-vertically.
2b75be67 8134 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8135 Rename split-window-vertically to split-window-above-each-other
8136 and provide defalias for old definition.
8137 (split-window-side-by-side, split-window-horizontally):
8138 Rename split-window-horizontally to split-window-side-by-side
8139 and provide defalias for the old definition.
562dd5e9
MR
8140 (ctl-x-map): Move bindings for delete-window,
8141 delete-other-windows and enlarge-window here from window.c.
8142 Replace bindings for split-window-vertically and
8143 split-window-horizontally by bindings for
8144 split-window-above-each-other and split-window-side-by-side.
8145
8146 * cus-start.el (all): Remove entries for window-min-height and
8147 window-min-width. Add entries for window-splits and
8148 window-nest.
8149
f0da764a
GM
81502011-06-09 Glenn Morris <rgm@gnu.org>
8151
80675c21
GM
8152 * calendar/appt.el (appt-mode-line): New function.
8153 (appt-check, appt-disp-window): Use it.
8154
f0da764a
GM
8155 * files.el (hack-one-local-variable-eval-safep):
8156 Allow minor-modes with explicit +/-1 arguments.
8157
59f623b7
TZ
81582011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8159
8160 * term/xterm.el (xterm): Add defgroup.
8161 (xterm-extra-capabilities): Add defcustom to supply known xterm
8162 capabilities, skip querying them, or query them (default).
8163 (terminal-init-xterm): Use it.
8164 (terminal-init-xterm-modify-other-keys): New function to set up
8165 modifyOtherKeys support to simplify `terminal-init-xterm'.
8166
9aab8e0d
MR
81672011-06-09 Martin Rudalics <rudalics@gmx.at>
8168
8169 * window.el (resize-window-reset, resize-window-reset-1)
8170 (resize-subwindows-skip-p, resize-subwindows-normal)
8171 (resize-subwindows, resize-other-windows, resize-this-window)
8172 (resize-root-window, resize-root-window-vertically)
8173 (window-deletable-p, window-or-subwindow-p)
8174 (frame-root-window-p): New functions.
8175
e8b08aee
GM
81762011-06-09 Glenn Morris <rgm@gnu.org>
8177
8178 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8179 (ange-ftp-get-files): Use it.
8180
254c37a5
AK
81812011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8182
8183 * mail/sendmail.el (mail-recover-1, mail-recover):
8184 * files.el (recover-file, recover-session):
8185 Handle dired-listing-switches not being just a single short option.
8186
35d7dbd3
GM
81872011-06-09 Glenn Morris <rgm@gnu.org>
8188
8189 * calendar/appt.el (appt-display-message, appt-disp-window):
8190 Handle lists of appointments.
8191
387522b2
MR
81922011-06-08 Martin Rudalics <rudalics@gmx.at>
8193
2b75be67
SM
8194 * window.el (one-window-p): Move down in code.
8195 Rewrite doc-string.
8196 (window-current-scroll-bars): Rewrite doc-string.
8197 Normalize live window argument.
387522b2
MR
8198 (walk-windows, get-window-with-predicate, count-windows):
8199 Rewrite doc-string. Use window-list-1.
8200 (window-in-direction-2, window-in-direction, get-mru-window):
8201 New functions.
8202
d8e4b68b 82032011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8204
8205 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8206 Doc fix (Bug#8713).
8207
82082011-06-08 Chong Yidong <cyd@stupidchicken.com>
8209
8210 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8211
82122011-06-08 Juanma Barranquero <lekktu@gmail.com>
8213
8214 * loadhist.el (unload-feature-special-hooks):
8215 Add `comint-output-filter-functions'.
8216
0de12c52
IK
82172011-06-08 Ivan Kanis <gnu@kanis.fr>
8218
8219 * calendar/appt.el (appt-check): Move some initializations into the let.
8220
f3d1777e
MR
82212011-06-08 Martin Rudalics <rudalics@gmx.at>
8222
8223 * window.el (window-height): Defalias to window-total-height.
8224 (window-width): Defalias to window-body-width.
8225
18af70d0
CY
82262011-06-07 Chong Yidong <cyd@stupidchicken.com>
8227
8228 * image-mode.el (image-toggle-animation): New command.
8229 (image-mode-map): Bind it to RET.
8230 (image-mode): Update message.
8231 (image-toggle-display-image): Avoid a spurious cache flush.
8232 (image-transform-rotation): Doc fix.
8233 (image-transform-properties): Return quickly in the normal case.
8234 (image-animate-loop): Rename from image-animate-max-time.
8235
2b75be67 8236 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8237 (create-animated-image): Remove unnecessary function.
8238 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8239 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8240 (image-animate-timer): Use car-safe.
8241 (image-animate-timeout): Rename argument.
8242
190b47e6
MR
82432011-06-07 Martin Rudalics <rudalics@gmx.at>
8244
8245 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8246 window.c. Rename first argument to ALL-FRAMES.
8247 Rephrase doc-strings.
8248 (get-buffer-window-list): Rewrite using window-list-1.
8249 Rephrase doc-string.
a1511caf
MR
8250 (window-safe-min-height, window-safe-min-width): New constants.
8251 (window-size-ignore, window-min-size, window-min-size-1)
8252 (window-sizable, window-sizable-p, window-size-fixed-1)
8253 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8254 (window-max-delta-1, window-max-delta, window-resizable)
8255 (window-resizable-p, window-total-height, window-total-width)
8256 (window-body-width): New functions.
8257 (window-full-height-p, window-full-width-p): Rewrite using
8258 window-total-size.
8259 (window-body-height): Rewrite using window-body-size.
190b47e6 8260
85cc1f11
MR
82612011-06-06 Martin Rudalics <rudalics@gmx.at>
8262
8263 * window.el (window-right, window-left, window-child)
8264 (window-child-count, window-last-child, window-any-p)
8265 (normalize-live-buffer, normalize-live-frame)
8266 (normalize-any-window, normalize-live-window)
8267 (window-iso-combination-p, window-iso-combined-p)
8268 (window-iso-combinations)
8269 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8270 (windows-with-parameter, window-with-parameter)
8271 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8272 (window-atom-check, window-side-check, window-check):
8273 New functions.
85cc1f11
MR
8274 (ignore-window-parameters, window-sides, window-sides-vertical)
8275 (window-sides-slots): New variables.
8276 (window-size-fixed): Move down in code. Minor doc-string fix.
8277
e7156492
AS
82782011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8279
8280 * comint.el (comint-dynamic-complete-as-filename)
8281 (comint-dynamic-complete-filename): Correctly call
8282 completion-in-region.
8283
7e821d0d
DD
82842011-06-05 Deniz Dogan <deniz@dogan.se>
8285
8286 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8287 in last change.
8288
ac09b8a1
DD
82892011-06-05 Deniz Dogan <deniz@dogan.se>
8290
8291 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8292 (rcirc): Use it to prompt for encryption.
8293
34699b85
RW
82942011-06-05 Roland Winkler <winkler@gnu.org>
8295
8296 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8297 (bibtex-search-entries): New command bound to C-c C-a.
8298 (bibtex-display-entries): New function.
8299
004dedd3
RW
83002011-06-05 Roland Winkler <winkler@gnu.org>
8301
8302 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8303 (bibtex-insert-kill): After yanking insert newline if necessary.
8304 (bibtex-initialize): Call bibtex-string-files-init only once.
8305 (bibtex-mode): Do not call easy-menu-add.
8306 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8307 (bibtex-yank): Set arg properly if nil.
8308
022fe7ce
RW
83092011-06-05 Roland Winkler <winkler@gnu.org>
8310
2b75be67
SM
8311 * textmodes/bibtex.el (bibtex-search-entry-globally):
8312 New variable.
022fe7ce
RW
8313 (bibtex-search-entry): Use it.
8314
b7c3692a
RW
83152011-06-05 Roland Winkler <winkler@gnu.org>
8316
8317 * textmodes/bibtex.el (bibtex-entry-format): New option
8318 sort-fields.
8319 (bibtex-format-entry, bibtex-reformat): Honor this option.
8320 (bibtex-parse-entry): Return fields in proper order.
8321
8eda563d
JB
83222011-06-05 Juanma Barranquero <lekktu@gmail.com>
8323
8324 * doc-view.el (doc-view-remove-if): Move computation of result out
8325 of `dolist' to silence misleading lexical-binding warning.
8326
7dbe3dbc
CY
83272011-06-04 Chong Yidong <cyd@stupidchicken.com>
8328
8329 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8330 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8331
0c33dd17
MA
83322011-06-04 Michael Albinus <michael.albinus@gmx.de>
8333
8334 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8335 "SunOS 5.10".
8336
f8f91c2b
MA
83372011-06-04 Michael Albinus <michael.albinus@gmx.de>
8338
8339 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8340 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8341 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8342 (tramp-parse-putty):
8343 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8344 (tramp-completion-function-alist-ssh)
8345 (tramp-completion-function-alist-telnet)
8346 (tramp-completion-function-alist-su)
8347 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8348 cookie.
8349
8350 * net/tramp-ftp.el:
8351 * net/tramp-sh.el:
8352 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8353 load "tramp.el" `tramp-set-completion-function'.
8354
e17d9003
SM
83552011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * shell.el: Require and use pcomplete.
8358 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8359 (shell-completion-vars): Set pcomplete-default-completion-function.
8360
6c4cab03
DD
83612011-06-04 Deniz Dogan <deniz@dogan.se>
8362
8363 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8364 `memq' (Bug#8799).
8365
ea9fafe0
SM
83662011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8369
b3e945d3
JB
83702011-06-02 Juanma Barranquero <lekktu@gmail.com>
8371
8372 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8373 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8374 * vc/log-view.el (log-view-beginning-of-defun):
8375 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8376 (smerge-refine-forward, smerge-refine-chopup-region):
8377 Silence warning for unused `dotimes' counter variables.
8378
7d520089
SM
83792011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8380
8381 * net/tramp.el (tramp-with-progress-reporter): Rename from
8382 with-progress-reporter. Use `declare'.
8383 * net/tramp-smb.el:
8384 * net/tramp-sh.el:
8385 * net/tramp-gvfs.el: Update all uses.
8386
a1c2400f
JB
83872011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8388
8389 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8390 buffer isn't killed before making it current.
8391
2403c841
SM
83922011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 Silence various byte-compiler warnings.
8395 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8396 `access-type' and new obsolescence format.
8397 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8398 new format.
8399 (byte-compile-check-variable): New `access-type' argument.
8400 Only warn if the access-type is obsolete.
8401 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8402 (byte-compile-variable-set): Adjust callers.
8403 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8404 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8405 setting it as obsolete.
8406 * simple.el (minibuffer-completing-symbol):
8407 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8408 access as obsolete.
8409 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8410 obsolete yet.
8411 * international/quail.el (quail-mouse-choose-completion): Remove unused
8412 code referring to obsolete var.
8413 (quail-choose-completion-string): Remove.
8414 * server.el (server-clients-with, server-kill-buffer-query-function)
8415 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8416 * proced.el (proced-send-signal):
8417 * emacs-lisp/lisp.el (lisp-complete-symbol):
8418 Replace completion-annotate-function with completion-extra-properties.
8419
2462470b
SM
84202011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8421
fb5b2591
SM
8422 * simple.el (goto-line): Use read-number.
8423 (overriding-map-is-bound): Remove.
8424 (saved-overriding-map): Change default.
8425 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8426 Take the map as argument.
8427 (universal-argument, negative-argument, digit-argument): Use it.
8428 (restore-overriding-map): Adjust.
8429 (do-auto-fill): Use fill-forward-paragraph.
8430 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8431
fd6fa53f
SM
8432 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8433 (minibuffer-inactive-mode): New major mode.
8434 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8435 the *Messages* buffer" hack.
8436 (mouse-popup-menubar): Don't burp if the event is a normal key.
8437
2462470b
SM
8438 Miscellaneous tweaks.
8439 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8440 lexical scoping as in subr.el's dolist and dotimes.
8441 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8442 Silence compiler warning.
8443 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8444 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8445 * international/ccl.el (ccl-compile): Trivial simplification.
8446 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8447 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8448 `printflag' argument.
8449 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8450 Purecopy the whole obsolescence data.
8451
108bf785
LL
84522011-06-01 Leo Liu <sdl.web@gmail.com>
8453
8454 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8455 improve doc-string as suggested by Marco Pessotto
8456 <melmothx@gmail.com>.
8457 (rcirc-print): Fix last change.
8458
30a23501
SM
84592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * minibuffer.el (complete-with-action): Return nil for the metadata and
8462 boundaries of non-functional tables.
8463 (completion-table-dynamic): Return nil for the metadata.
8464 (completion-table-with-terminator): Add default case, using
8465 complete-with-action.
8466 (completion--metadata): New function.
8467 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8468 to try and avoid pathological performance problems.
8469 (completion--embedded-envvar-table): Return `category' metadata.
8470
bcd54f83
LMI
84712011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472
8473 * subr.el (process-alive-p): New tiny convenience function.
8474
e227544d
SM
84752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8478 content but also its previous major mode.
8479
e8296fdc
HE
84802011-05-31 Helmut Eller <eller.helmut@gmail.com>
8481
4d61f28d 8482 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8483 *Backtrace* buffer when we exit with C-M-c.
8484
620c53a6
SM
84852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * minibuffer.el: Add metadata method to completion tables.
8488 (completion-category-overrides): New defcustom.
8489 (completion-metadata, completion--field-metadata)
8490 (completion-metadata-get, completion--styles)
8491 (completion--cycle-threshold): New functions.
8492 (completion-try-completion, completion-all-completions):
8493 Add `metadata' argument to choose completion-styles.
8494 (completion--do-completion): Use metadata to choose cycling.
8495 (completion-all-sorted-completions): Use metadata for sorting.
8496 Remove :completion-cycle-penalty which is not needed any more.
8497 (completion--try-word-completion): Add `metadata' argument.
8498 (minibuffer-completion-help): Check metadata for annotation function
8499 and sorting.
8500 (completion-file-name-table): Return `category' metadata.
8501 (minibuffer-completing-file-name): Make obsolete.
8502 * simple.el (minibuffer-completing-symbol): Make obsolete.
8503 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8504 completion-try-completion.
8505
1257e755
SM
85062011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8509
3767e706
LL
85102011-05-30 Leo Liu <sdl.web@gmail.com>
8511
8512 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8513 (rcirc-print): Decode all incoming messages (bug#8744).
8514 (rcirc-decode-coding-system): Allow value nil for automatic coding
8515 system detection.
3767e706 8516
d1a5d56a
GM
85172011-06-01 Glenn Morris <rgm@gnu.org>
8518
8519 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8520
e8cbec34
CY
85212011-05-29 Chong Yidong <cyd@stupidchicken.com>
8522
8523 * image.el (image-animate-max-time): Allow nil and t values.
8524 Default to nil.
8525 (create-animated-image): Doc fix.
8526 (image-animate-start): Remove second arg; just use
8527 image-animate-max-time.
8528 (image-animate-timeout): Doc fix. Args changed.
8529
8530 * image-mode.el (image-toggle-display-image): Ensure that the
8531 image spec passed to the animate timer is the same object as in
58179cce 8532 the buffer's display property (Bug#6981).
e8cbec34
CY
8533 (image-transform-properties): Doc fix.
8534
8535 * image.el (image-animate-max-time): Default to nil.
8536
159daf87
MR
85372011-05-29 Martin Rudalics <rudalics@gmx.at>
8538
8539 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8540 entire buffer list (Bug#8184).
8541
d66c4c7c
CY
85422011-05-29 Chong Yidong <cyd@stupidchicken.com>
8543
8544 * image.el (imagemagick-types-inhibit)
8545 (imagemagick-register-types): Doc fix.
8546
80aec780
DD
85472011-05-29 Deniz Dogan <deniz@dogan.se>
8548
8549 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8550 default.
8551
1dd3c2d9
CY
85522011-05-29 Chong Yidong <cyd@stupidchicken.com>
8553
8554 * select.el: Don't perform clipboard-manager saving in hooks;
8555 leave the hooks empty.
8556
60e56523
LL
85572011-05-28 Leo Liu <sdl.web@gmail.com>
8558
8559 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8560 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8561 (occur-edit-mode): New major mode (Bug#8463).
8562 (occur-after-change-function): New function.
8563 (occur-engine): Give Occur tags a read-only property.
8564
2b1e1a22
KR
85652011-05-28 Kevin Ryde <user42@zip.com.au>
8566
8567 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8568
5d344e88
CY
85692011-05-28 Chong Yidong <cyd@stupidchicken.com>
8570
8e6ca83d
CY
8571 * bindings.el (help-echo): Make the initial non-indicator dash
8572 empty on graphical terminals (Bug#7295).
8573
5d344e88
CY
8574 * files.el (auto-mode-alist): Move config rule after the
8575 in-stripping one (Bug#8547).
8576
bfbbace7
CY
8577 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8578
fbeba6e2
CY
8579 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8580 setting (Bug#8740).
8581
60ed8c72
AA
85822011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8583
4ac619f0
AA
8584 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8585 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8586 (Bug#8539).
60ed8c72 8587
23db196e
CY
85882011-05-28 Chong Yidong <cyd@stupidchicken.com>
8589
8590 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8591
5012f24c
DK
85922011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8593
8594 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8595 (hs-hide-block-at-point, hs-find-block-beginning)
8596 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8597 (Bug#8279).
8598
6a639b16
GM
85992011-05-28 Glenn Morris <rgm@gnu.org>
8600
8601 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8602
d43eaf2c
CY
86032011-05-28 Chong Yidong <cyd@stupidchicken.com>
8604
5199bde1
CY
8605 * help-fns.el (describe-function-1): If the function is a derived
8606 major mode, print the parent mode.
8607
d43eaf2c
CY
8608 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8609 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8610
423428a8
SM
86112011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8612
0ff8e1ba 8613 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8614 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8615 * progmodes/etags.el (tags-completion-at-point-function):
8616 * info-look.el (info-lookup-completions-at-point): Mark as
8617 non-exclusive.
8618 (info-complete): Adjust accordingly.
8619
423428a8
SM
8620 * info-look.el: Convert to lexical-binding and completion-at-point.
8621 (info-lookup-completions-at-point): New function.
8622 (info-complete): Use it and completion-in-region.
8623
b74aa22b
DA
86242011-05-28 Drew Adams <drew.adams@oracle.com>
8625
8626 * isearch.el: Let M-e start with point at the first mismatched char.
8627 (isearch-fail-pos): New function.
8628 (isearch-edit-string): Use it.
8629
66e2e71d
DK
86302011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8631
8632 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8633
b1890b0f 86342011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8635
8636 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8637 traversal functions for avl-trees.
8638 (avl-tree--stack): New struct.
8639 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8640 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8641 (avl-tree--do-enter): Add optional `updatefun' arg.
8642 Change return value.
eb95d01d 8643 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8644 (avl-tree--do-delete): Add `test' and `nilflag' args.
8645 Change return value.
eb95d01d
TC
8646 (avl-tree-member): Add optional `nilflag'
8647 (avl-tree-member-p): New function.
8648 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8649 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8650 (avl-tree-stack-empty-p): New functions.
8651
3769ddcf
TC
8652 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8653 avl-tree--del-balance1 and make it work both ways.
8654 (avl-tree--del-balance2): Remove.
8655 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8656 make it work both ways.
8657 (avl-tree--enter-balance2): Remove.
8658 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8659 New macros.
8660 (avl-tree--mapc, avl-tree-map): Add direction argument.
8661
eb95d01d 86622011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8663
8664 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8665
a9f737ee
CY
86662011-05-27 Chong Yidong <cyd@stupidchicken.com>
8667
8668 * select.el: Support clipboard managers with built-in function
8669 x-clipboard-manager-save, via delete-frame-functions and
8670 kill-emacs-hook.
8671 (xselect-convert-to-targets): Add MULTIPLE target to list.
8672 (xselect-convert-to-save-targets): New function.
8673
c92a1e54
KH
86742011-05-27 Kenichi Handa <handa@m17n.org>
8675
8676 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8677 let-binding rfc2047-encode-encoded-words to nil.
8678
e145f188
GM
86792011-05-27 Glenn Morris <rgm@gnu.org>
8680
5ec8a862
GM
8681 * mail/emacsbug.el: Don't require url-util.
8682
4b29d9fb
GM
8683 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8684
e145f188
GM
8685 * files.el (set-auto-mode):
8686 Also respect mode: entries at the end of the file. (Bug#8586)
8687
7d15102b
GM
86882011-05-26 Glenn Morris <rgm@gnu.org>
8689
98f593b8
GM
8690 * files.el (hack-local-variables-prop-line, hack-local-variables):
8691 Downcase mode names, as seems to be traditional.
27b48e63 8692 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8693
7d15102b
GM
8694 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8695 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8696
51d5b4ec
JD
86972011-05-25 Julien Danjou <julien@danjou.info>
8698
8699 * textmodes/rst.el (rst-define-level-faces): Do not define face
8700 symbol if it is already defined.
8701
91513f63
VB
87022011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8703
8704 * play/5x5.el (5x5-new-game, 5x5-randomize):
8705 Reset 5x5-solver-output to nil when a new grid is cast.
8706 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8707 these debugging traces, as defmacro breaks the compiled code.
8708
4d90d6d0
DK
87092011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8710
8711 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8712
e1b90ef6
LL
87132011-05-24 Leo Liu <sdl.web@gmail.com>
8714
8715 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8716 (vc-bzr-sha1): Adapt.
8717
d8e4b68b 8718 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8719
8720 * bindings.el: Provide sha1 feature.
8721
db0406bb 87222011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8723
8724 * mail/sendmail.el: Require `rfc2047'.
8725 (mail-insert-from-field): Do not perform RFC2047 encoding.
8726 (mail-encode-header): New function.
8727 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8728 buffer to the return value of select-message-coding-system.
8729 Call mail-encode-header.
b8d747b9
KH
8730
8731 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8732
db0406bb 87332011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8734
4d90d6d0
DK
8735 * mail/supercite.el (sc-default-cite-frame):
8736 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8737
eb8a5e9b
GM
87382011-05-24 Glenn Morris <rgm@gnu.org>
8739
f8630703
GM
8740 * progmodes/python.el (brm-menu): Declare.
8741
8831bbed
GM
8742 * emulation/viper.el (viper-set-hooks): Declare.
8743
eb8a5e9b
GM
8744 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8745 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8746 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8747 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8748 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8749 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8750
a2a25d24
SM
87512011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 Add an :exit-function for completion-at-point.
8754
8755 * minibuffer.el (completion--done): New fun.
8756 (completion--do-completion): Use it. New arg `expect-exact'.
8757 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8758 since completion--do-completion does it for us now.
8759 (minibuffer-force-complete): Use completion--done and
8760 completion--replace. Handle sole-completion case with more care.
8761 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8762 (completion-extra-properties): New var.
8763 (completion-annotate-function): Make obsolete.
8764 (minibuffer-completion-help): Adjust accordingly.
8765 Use completion-list-insert-choice-function.
8766 (completion-at-point, completion-help-at-point):
8767 Bind completion-extra-properties.
8768 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8769 * simple.el (completion-list-insert-choice-function): New var.
8770 (completion-setup-function): Preserve it.
8771 (choose-completion): Pay attention to it, shuffle the code a bit.
8772 (choose-completion-string): New arg `insert-function'.
8773
8774 * textmodes/bibtex.el: Convert to lexical binding.
8775 (bibtex-mode-map): Use completion-at-point.
8776 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8777 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8778 (bibtex-complete): Define as obsolete alias.
8779 (bibtex-complete-internal): Remove.
8780 (bibtex-format-entry): Remove unused sub-group in regexp.
8781 * shell.el (shell--command-completion-data)
8782 (shell-environment-variable-completion):
8783 * pcomplete.el (pcomplete-completions-at-point):
8784 * comint.el (comint--complete-file-name-data): Use :exit-function
8785 instead of completion-table-with-terminator so it also works for
8786 choose-completion.
8787
e44e373d
SM
87882011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8789
4f91a816
SM
8790 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8791
782fc819
SM
8792 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8793 (bug#8710).
8794
e44e373d
SM
8795 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8796
381987c3
KM
87972011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8798
8799 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8800 customization variable and implement: If non-nil, auto-fill will
8801 be inhibited while on topic's header line.
8802
b776bc70
VB
88032011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8804
8805 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8806 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8807 always have a solution in grid size = 5 cases.
8808 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8809 (5x5-solver-output, 5x5-log-buffer): New vars.
8810 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8811 Make these variables buffer local to achieve 5x5 multi-session-ness.
8812 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8813 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8814 (5x5-solve-suggest): New funs.
8815 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8816 randomize a grid so that we ensure that there is always a solution.
8817 (5x5-make-random-grid): Allow other movement than flipping.
8818
7de88b6e
KR
88192011-05-23 Kevin Ryde <user42@zip.com.au>
8820
8821 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8822 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8823 advice and passes PREDICATE.
8824
b1ef1257
SM
88252011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8826
bbca48fe
SM
8827 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8828 byte-compile-lambda if it's actually a lambda.
8829
b1ef1257
SM
8830 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8831 Fix function quoting. Use backquote better.
8832
92a9cc65
YS
88332011-05-22 Yuanle Song <sylecn@gmail.com>
8834
8835 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8836 matching (Bug#8516).
8837
f0fb8059
JA
88382011-01-22 Jari Aalto <jari.aalto@cante.net>
8839
8840 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8841 different face (Bug#8178).
8842
d5b44c93
CY
88432011-05-22 Chong Yidong <cyd@stupidchicken.com>
8844
8845 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8846 defface (Bug#8144).
8847
79106a44
SM
88482011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8849
9c848d8a
SM
8850 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8851 funcall as well (bug#8712). Warn when performing those conversions.
8852 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8853
79106a44
SM
8854 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8855
88dfa756
GM
88562011-05-22 Glenn Morris <rgm@gnu.org>
8857
8858 * files.el (hack-local-variables-prop-line): Small simplifications.
8859 (hack-local-variables, hack-local-variables-prop-line):
8860 If MODE-ONLY, return the mode, rather than just `t'.
8861
b7cf2c79
SM
88622011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8865
3f1a8558
GM
88662011-05-21 Glenn Morris <rgm@gnu.org>
8867
7e4ccca3
GM
8868 * files.el (hack-local-variables-prop-line, hack-local-variables):
8869 If only interested in the mode, don't bother doing the other stuff.
8870
637d46ca
GM
8871 * image-mode.el (image-after-revert-hook):
8872 Redraw all frames on which the image is visible. (Bug#8567)
8873
973d955b
GM
8874 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8875
3f1a8558
GM
8876 * wid-edit.el (widget-checklist-match-inline):
8877 Fix 2011-04-19 change. (Bug#8649)
8878
96479927
SM
88792011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8880
1dcf791f
SM
8881 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8882 Also allow singlespace after single-letter capitals followed by a dot.
8883
96479927
SM
8884 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8885 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8886
35fd0881
N
88872011-05-20 Nix <nix@esperi.org.uk>
8888
8889 * files.el (basic-save-buffer-2):
8890 Fix handling of break-hardlink-on-save with non-existent files.
8891
82745640
DD
88922011-05-19 Deniz Dogan <deniz@dogan.se>
8893
8894 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8895 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8896
4a720484
GM
88972011-05-19 Glenn Morris <rgm@gnu.org>
8898
d1f21341
GM
8899 * progmodes/f90.el (f90-type-def-re):
8900 Handle "type, bind(c)". (Bug#8691)
8901
4a720484
GM
8902 * emacs-lisp/autoload.el (batch-update-autoloads):
8903 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8904
2fb0a219
MA
89052011-05-18 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8908 property for the correct connection in case of multihops.
8909
e565dd37
GM
89102011-05-18 Glenn Morris <rgm@gnu.org>
8911
c2571358 8912 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8913 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8914
e565dd37
GM
8915 Rationalize calendar handling of day and month abbrev-arrays.
8916 * calendar/calendar.el (calendar-customized-p): New function.
8917 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8918 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8919 Add :set function.
8920 (calendar-abbrev-length, calendar-day-abbrev-array)
8921 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8922 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8923 Elements may no longer be nil.
8924 (calendar-day-name, calendar-month-name):
8925 Update for changed nature of abbrev arrays.
8926 * calendar/diary-lib.el (diary-name-pattern):
8927 Update for changed nature of abbrev arrays.
8928 (diary-mark-entries-1): Update calendar-make-alist calls.
8929 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8930 * calendar/cal-html.el (cal-html-day-abbrev-array):
8931 Simply inherit from calendar-day-abbrev-array.
8932
1d99a745
SM
89332011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8934
8935 * progmodes/grep.el (grep-mode): Disable default
8936 compilation-directory-matcher setting (bug#8684).
8937
7c1d9aa0
MA
89382011-05-17 Michael Albinus <michael.albinus@gmx.de>
8939
8940 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8941 instead of "head" and "tail". There were problems with SunOS 5.9,
8942 and it performs better.
8943
3952e9d8
GM
89442011-05-17 Glenn Morris <rgm@gnu.org>
8945
2dd12e7f
GM
8946 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8947
e4157b9c
GM
8948 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8949 Replace obsolete function.
8950
8e249bbd
GM
8951 * shell.el (pcomplete-parse-arguments-function): Declare.
8952
3952e9d8
GM
8953 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8954 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8955 (appt-check): Doc fixes.
8956 (appt-disp-window-function, appt-delete-window-function):
8957 Remove needless special case in custom :type.
8958 (appt-display-count): Default to 0, not nil.
8959 (appt-check): Reset appt-display-count to 0, not nil.
8960
c71a0d48 89612011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8962
c71a0d48
GM
8963 * progmodes/python.el (python-font-lock-keywords):
8964 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8965
31d55be9
SM
89662011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8969
3bfacb2f
KR
89702011-05-16 Kevin Ryde <user42@zip.com.au>
8971
8972 * info-look.el (makefile-automake-mode): New setups, looking in
8973 automake manual, then makefile-mode.
8974 (makefile-mode): Remove automake manual, have it just in
8975 makefile-automake-mode since there's various things different or
8976 not relevant to plain make.
8977 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8978 believe a hypothetical automake-mode would go to makefile-mode,
8979 not the other way around.
8980
c8e83751
CY
89812011-05-15 Chong Yidong <cyd@stupidchicken.com>
8982
5e9e35cd
CY
8983 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8984 hunk-end tags (Bug#8672).
8985
c8e83751
CY
8986 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8987 vc-annotate-show-diff-revision-at-line (Bug#8671).
8988
50b23e5a
GM
89892011-05-14 Glenn Morris <rgm@gnu.org>
8990
7210a739
GM
8991 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8992 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8993 (change-log-font-lock-keywords): Also handle multiple author lines
8994 with leading tabs. (Bug#8644)
7210a739 8995
4691905a
GM
8996 * calendar/appt.el (appt-check): Rename some local variables.
8997 Some simplification/reordering.
8998
50b23e5a
GM
8999 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9000 (feedmail-sendmail-f-doesnt-sell-me-out)
9001 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9002 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9003 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9004 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9005 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9006 (feedmail-binmail-gnulinuxish-template):
9007 Rename from feedmail-binmail-linuxish-template.
9008 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9009 Use insert-buffer-substring.
9010
215cda7c
BC
90112011-05-14 Bill Carpenter <bill@carpenter.org>
9012
9013 * mail/feedmail.el (feedmail-patch-level): Increase.
9014 (feedmail-debug): New custom group.
9015 (feedmail-confirm-outgoing-timeout)
9016 (feedmail-sendmail-f-doesnt-sell-me-out)
9017 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9018 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9019 (feedmail-sender-line, feedmail-from-line)
9020 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9021 (feedmail-spray-this-address)
215cda7c
BC
9022 (feedmail-spray-address-fiddle-plex-list)
9023 (feedmail-queue-use-send-time-for-date)
9024 (feedmail-queue-use-send-time-for-message-id)
9025 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9026 (feedmail-buffer-eating-function):
9027 Doc fixes.
9028 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9029 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9030 (feedmail-message-action-scroll-down): New functions.
9031 (feedmail-queue-directory, feedmail-queue-draft-directory):
9032 Use expand-file-name.
9033 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9034 Remove C-v help entry.
9035 (feedmail-queue-buffer-file-name): New variable.
9036 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9037 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9038 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9039 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9040 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9041 (feedmail-message-action-toggle-spray)
9042 (feedmail-run-the-queue-no-prompts)
9043 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9044 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9045 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9046 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9047 (feedmail-envelope-deducer, feedmail-fiddle-from)
9048 (feedmail-fiddle-sender, feedmail-default-date-generator)
9049 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9050 (feedmail-fiddle-spray-address)
9051 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9052 (feedmail-fiddle-list-of-fiddle-plexes)
9053 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9054 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9055 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9056 Change default. Doc fix.
9057 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9058 (feedmail-binmail-linuxish-template): New constant.
9059 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9060 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9061 (feedmail-send-it): Add debug call.
9062 Use feedmail-queue-buffer-file-name, and
9063 feedmail-send-it-immediately-wrapper.
9064 (feedmail-message-action-send): Add debug call.
9065 Use feedmail-send-it-immediately-wrapper.
9066 (feedmail-queue-express-to-queue): Add debug call.
9067 Run feedmail-queue-express-hook.
9068 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9069 (feedmail-message-action-help-blat):
9070 Rename from feedmail-queue-send-edit-prompt-help-first.
9071 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9072 Check line-endings. Handle errors better.
9073 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9074 Doc fix. Add debug call.
9075 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9076 Use feedmail-queue-send-edit-prompt-inner.
9077 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9078 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9079 from feedmail-queue-send-edit-prompt.
9080 (feedmail-queue-send-edit-prompt-help)
9081 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9082 (feedmail-tidy-up-slug): Add debug call.
9083 Respect feedmail-queue-slug-suspect-regexp.
9084 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9085 (feedmail-dump-message-to-queue): Add debug call.
9086 Expand queue-directory.
9087 (feedmail-dump-message-to-queue): Change message slightly.
9088 Use feedmail-say-chatter.
9089 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9090 (feedmail-send-it-immediately-wrapper): New function.
9091 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9092 Insert empty string rather than newline. Handle full-frame case.
9093 Use catch/throw. Use feedmail-say-chatter.
9094 (feedmail-fiddle-from): Try mail-host-address.
9095 (feedmail-default-message-id-generator): Doc fix.
9096 Bind system-time-locale. Handle missing end.
9097 (feedmail-fiddle-x-mailer): Add debug call.
9098 Handle feedmail-x-mailer-line being nil.
9099 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9100 Add debug call. Use buffer-substring-no-properties.
9101 (feedmail-say-debug, feedmail-say-chatter): New functions.
9102 (feedmail-find-eoh): Give an explicit error.
9103
42c7e61e
UJ
91042011-05-13 Ulf Jasper <ulf.jasper@web.de>
9105
c2571358 9106 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9107 family from helvetica to sans.
c2571358 9108 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9109 etc/images/newsticker.
9110
c2571358 9111 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9112 family from helvetica to sans.
9113
9114 * net/newst-plainview.el (newsticker-new-item-face)
9115 (newsticker-old-item-face, newsticker-immortal-item-face)
9116 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9117 (newsticker-statistics-face): Change default family from
42c7e61e 9118 helvetica to sans.
c2571358 9119 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9120 etc/images/newsticker.
9121
9122 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9123 (newsticker--process-auto-mark-filter-match): : Tell user about
9124 auto-marking.
9125
8497a297
DV
91262011-05-13 Didier Verna <didier@xemacs.org>
9127
9128 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9129 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9130 TODO entries.
8497a297
DV
9131 (lisp-lambda-list-keyword-parameter-indentation)
9132 (lisp-lambda-list-keyword-parameter-alignment)
9133 (lisp-lambda-list-keyword-alignment): New customizable user options.
9134 (lisp-indent-defun-method): Improve docstring.
9135 (extended-loop-p): Fix comment.
9136 (lisp-indent-lambda-list-keywords-regexp): New variable.
9137 (lisp-indent-lambda-list): New function.
9138 (lisp-indent-259): Use it.
9139 (lisp-indent-defmethod): Support for more than one
9140 method qualifier and properly indent methods lambda-lists.
9141 (defgeneric): Provide a missing common-lisp-indent-function property.
9142
f278f87f
SM
91432011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9146 bounds for the empty string (bug#8667).
9147
5233edd7
GM
91482011-05-13 Glenn Morris <rgm@gnu.org>
9149
5237a44f
GM
9150 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9151
8340026c 9152 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9153 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9154
5233edd7 9155 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9156 (appt-time-msg-list): Doc fix.
a5464014 9157 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9158
92d10796
AS
91592011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9160
9161 * progmodes/ld-script.el (ld-script-keywords)
9162 (ld-script-builtins): Update keywords list.
9163
914a0ae1
SM
91642011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9165
c89be45f
SM
9166 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9167
914a0ae1
SM
9168 * shell.el (shell-completion-vars): New function.
9169 (shell-mode):
9170 * simple.el (read-shell-command): Use it.
9171 (blink-matching-open): No need for " [...]" in minibuffer-message.
9172
98dc3df3
GM
91732011-05-12 Glenn Morris <rgm@gnu.org>
9174
9175 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9176 (appt-check): Simplify.
9177
d2fc7e3d 91782011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9179
4d61f28d 9180 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9181 literal "/dev/null".
9182
d2fc7e3d 91832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9184
9185 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9186 Fix typo.
9187
d2fc7e3d 91882011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9189
3f254caa
SM
9190 * progmodes/which-func.el (which-function):
9191 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9192 which might not be defined (Bug#8260).
9193
d45885f7
GM
91942011-05-12 Glenn Morris <rgm@gnu.org>
9195
9196 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9197 Let byte-compile-initial-macro-environment always take precedence.
9198
488086f4
SM
91992011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9200
9201 * net/rcirc.el: Add support for SSL/TLS connections.
9202 (rcirc-server-alist): New field `encryption'.
9203 (rcirc): Check `encryption' settings.
9204 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9205 Merge make-local-variable into `set'.
9206 (rcirc--connection-open-p): New function.
9207 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9208 the process is not a network process (e.g. running gnutls-cli).
9209 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9210 Make rcirc-(en|de)code-coding-system local here.
9211 (rcirc-mode): Merge make-local-variable into `set'.
9212 (rcirc-parent-buffer): Make permanent buffer-local.
9213 (rcirc-multiline-minor-mode): Don't do it here.
9214 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9215 there's no server buffer.
9216
7d3b9d44
GM
92172011-05-11 Glenn Morris <rgm@gnu.org>
9218
f64049c6
GM
9219 * newcomment.el (comment-kill): Prefix "unused" local.
9220
93c9df73
GM
9221 * term/w32console.el (get-screen-color): Declare.
9222
7d3b9d44
GM
9223 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9224 Handle symbol elements of byte-compile-initial-macro-environment.
9225
9e2dd53f
LL
92262011-05-10 Leo Liu <sdl.web@gmail.com>
9227
488086f4
SM
9228 * bookmark.el (bookmark-bmenu-mode-map):
9229 Bind bookmark-bmenu-search to `/'.
8b340240 9230
9e2dd53f 9231 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9232 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9233 (Footnote-unicode): New function.
9234 (footnote-style-alist): Add unicode style to the list.
9235 (footnote-style): Doc fix.
9e2dd53f 9236
79b70037
GM
92372011-05-10 Jim Meyering <meyering@redhat.com>
9238
9239 Fix doubled-word typos.
9240 * international/quail.el (quail-insert-kbd-layout): and and -> and
9241 * kermit.el: and and -> and
9242 * net/ldap.el (ldap-search-internal): to to -> to
9243 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9244 * progmodes/js.el (js-mode): and and -> and
9245 * textmodes/artist.el (artist-move-to-xy): at at -> at
9246 (artist-draw-region-trim-line-endings): if if -> if
9247 And Safetyc -> Safety.
9248 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9249
b8f82dc1 92502011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9251 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9252
9253 * files.el (hack-one-local-variable-eval-safep):
9254 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9255
4f99f44b
GM
92562011-05-10 Glenn Morris <rgm@gnu.org>
9257
9258 * calendar/diary-lib.el (diary-list-entries-hook)
9259 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9260 (diary-nongregorian-marking-hook, diary-list-entries)
9261 (diary-include-other-diary-files, diary-mark-entries)
9262 (diary-mark-included-diary-files): Doc fixes.
9263
84f29e6b
JB
92642011-05-09 Juanma Barranquero <lekktu@gmail.com>
9265
9266 * misc.el: Require tabulated-list.el during compilation.
9267
9bedd73a
CY
92682011-05-09 Chong Yidong <cyd@stupidchicken.com>
9269
488086f4
SM
9270 * progmodes/compile.el (compilation-start):
9271 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9272 (compilation-filter-hook): Doc fix.
9273
797c735c
DD
92742011-05-09 Deniz Dogan <deniz@dogan.se>
9275
9276 * wdired.el: Remove outdated installation comment. Fix usage
9277 comment.
9278
5f4b1dfe
JB
92792011-05-09 Juanma Barranquero <lekktu@gmail.com>
9280
9281 * misc.el: Implement new command `list-dynamic-libraries'.
9282 (list-dynamic-libraries--loaded-only-p): New variable.
9283 (list-dynamic-libraries--refresh): New function.
9284 (list-dynamic-libraries): New command.
9285
4c44026c
CY
92862011-05-09 Chong Yidong <cyd@stupidchicken.com>
9287
488086f4
SM
9288 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9289 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9290 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9291 higher priority to avoid clobbering by gnu.
9292
027f966d
CY
92932011-05-08 Chong Yidong <cyd@stupidchicken.com>
9294
9295 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9296 if the face has existing theme settings (Bug#8454).
9297
085f5d7d
CY
92982011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9299
488086f4
SM
9300 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9301 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9302
2a86a00c
RS
9303 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9304 special file names `.' and `..' (Bug#8259).
9305
d9c54a06
CY
93062011-05-08 Chong Yidong <cyd@stupidchicken.com>
9307
488086f4
SM
9308 * progmodes/grep.el (grep-mode-font-lock-keywords):
9309 Remove buffer-changing entries.
d9c54a06
CY
9310 (grep-filter): New function.
9311 (grep-mode): Add it to compilation-filter-hook.
9312
9313 * progmodes/compile.el (compilation-filter-hook)
9314 (compilation-filter-start): New defvars.
9315 (compilation-filter): Call compilation-filter-hook prior to
9316 updating the process mark.
9317
c4662635
SM
93182011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9321
b0512a1d
EZ
93222011-05-07 Eli Zaretskii <eliz@gnu.org>
9323
605c9376
EZ
9324 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9325 mailclient-send-it even if window-system is nil. (Bug#8595)
9326
c4662635
SM
9327 * term/w32console.el (terminal-init-w32console):
9328 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9329 background-mode. (Bug#8597)
9330
d1dc2cc2
SM
93312011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9334 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9335 New functions.
9336 (defgeneric, eieio--defmethod): Use them.
9337 (eieio-defgeneric): Remove.
9338 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9339
915d1300
GM
93402011-05-07 Glenn Morris <rgm@gnu.org>
9341
a3961c3e
GM
9342 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9343 Use let rather than let*.
9344 (timeclock-find-discrep): Remove unused local.
9345
314347b9
GM
9346 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9347
915d1300
GM
9348 * calendar/appt.el (appt-time-msg-list): Doc fix.
9349
275b59b0
NF
93502011-05-06 Noah Friedman <friedman@splode.com>
9351
9352 * apropos.el (apropos-print-doc): Only use
9353 emacs-lisp-docstring-fill-column when it is bound to an integer,
9354 per that variable's documentation.
9355
6c19f744
SM
93562011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9359 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9360
60f884b2
GM
93612011-05-06 Glenn Morris <rgm@gnu.org>
9362
5006e634
GM
9363 * calendar/appt.el (appt-message-warning-time): Doc fix.
9364 (appt-warning-time-regexp): New option.
9365 (appt-make-list): Respect appt-message-warning-time.
9366
548d0a63
GM
9367 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9368 New options.
9369 (diary-add-to-list): Strip comments from the displayed string.
9370 (diary-mode): Set comment-start and comment-end.
9371
60f884b2
GM
9372 * vc/diff-mode.el (smerge-refine-subst): Declare.
9373 (diff-refine-hunk): Don't require smerge-mode when compiling.
9374
989681bb
JB
93752011-05-06 Juanma Barranquero <lekktu@gmail.com>
9376
9377 * simple.el (list-processes): Return nil as the docstring says.
9378
a6bc05e1
MA
93792011-05-05 Michael Albinus <michael.albinus@gmx.de>
9380
9381 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9382 to "".
9383 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9384 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9385 determining of binary transfer. (Bug#7383)
9386
23c22e9a
MA
93872011-05-05 Michael Albinus <michael.albinus@gmx.de>
9388
c4662635
SM
9389 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9390 Fix port computation bug. (Bug#8618)
23c22e9a 9391
0bff894f
GM
93922011-05-05 Glenn Morris <rgm@gnu.org>
9393
b8296902
GM
9394 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9395
1f522ce8
GM
9396 * simple.el (shell-dynamic-complete-functions)
9397 (comint-dynamic-complete-functions): Declare.
9398
cf5bee67
GM
9399 * net/network-stream.el (gnutls-negotiate):
9400 * simple.el (tabulated-list-print): Fix declarations.
9401
9402 * progmodes/gud.el (syntax-symbol, syntax-point):
9403 Remove unnecessary and incorrect declarations.
9404
0bff894f
GM
9405 * emacs-lisp/check-declare.el (check-declare-scan):
9406 Handle byte-compile-initial-macro-environment in bytecomp.el
9407
9869b3ae
SM
94082011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 Fix earlier half-done eieio-defmethod change (bug#8338).
9411 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9412 Streamline and change calling convention.
9413 (defmethod): Adjust accordingly and simplify.
9414 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9415 new eieio--defmethod.
9416 (slot-boundp): Minor CSE simplification.
9417
9c1d5ac5
MZ
94182011-05-05 Milan Zamazal <pdm@zamazal.org>
9419
9420 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9421 (glasses-make-readable): Use glasses-separate-capital-groups.
9422
455c834e
JB
94232011-05-05 Juanma Barranquero <lekktu@gmail.com>
9424
9425 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9426 (warning-series): Doc fix.
9427 (display-warning): Don't try to create the buffer if we just found it.
9428
9ed7c8cb
CY
94292011-05-04 Chong Yidong <cyd@stupidchicken.com>
9430
9431 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9432 (autoload-find-generated-file): New function.
9433 (generate-file-autoloads): Bind generated-autoload-file to
9434 buffer-file-name.
9869b3ae
SM
9435 (update-file-autoloads, update-directory-autoloads):
9436 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9437 output file (Bug#7989).
9438 (batch-update-autoloads): Doc fix.
9439
0898ca10
JB
94402011-05-04 Juanma Barranquero <lekktu@gmail.com>
9441
9442 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9443
31dfb76c
GM
94442011-05-04 Glenn Morris <rgm@gnu.org>
9445
f330b642
GM
9446 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9447 function, so it follows changes in calendar-date-style.
9448 (diary-fancy-date-matcher): New function.
9449 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9450 (diary-fancy-font-lock-fontify-region-function):
9451 Use diary-fancy-date-pattern as a function.
9452
31dfb76c
GM
9453 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9454 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9455
48e79d6a
TZ
94562011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9457
9458 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9459 instead of positional arguments. Allow :keylist and :crlfiles
9460 arguments.
9461 (open-gnutls-stream): Call it.
9462
9463 * net/network-stream.el (network-stream-open-starttls): Adjust to
9464 call `gnutls-negotiate' with :process and :hostname arguments.
9465
dd5a5ee0
SM
94662011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9467
ef80fc09
SM
9468 * minibuffer.el (completion--message): New function.
9469 (completion--do-completion, minibuffer-complete)
9470 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9471 (completion--do-completion): Don't ignore completion-auto-help when in
9472 icomplete-mode.
9473
dd5a5ee0
SM
9474 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9475 internal encoding (e.g. tibetan zero is not whitespace).
9476 (global-whitespace-mode): Prefer save-current-buffer.
9477 (whitespace-trailing-regexp): Remove useless save-match-data.
9478 (whitespace-empty-at-bob-regexp): Minor simplification.
9479
b7d22a83
CY
94802011-05-03 Chong Yidong <cyd@stupidchicken.com>
9481
9482 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9483
5192af46
AM
94842011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9485
9486 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9487 Use `concat' to create string for insertion.
5192af46 9488
5767d190
SM
94892011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9492 Avoid open-line which runs post-self-insert-hook.
9493 (bibtex-fill-entry): Remove unused `end' var.
9494
bf242939
AM
94952011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9496
5767d190
SM
9497 * textmodes/ispell.el (ispell-add-per-file-word-list):
9498 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9499
25666126
LL
95002011-05-03 Leo Liu <sdl.web@gmail.com>
9501
9502 * isearch.el (isearch-yank-pop): New command.
5767d190 9503 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9504 (isearch-forward): Mention it.
9505
52d3c2d0
SM
95062011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9507
1bcace58
SM
9508 * simple.el (minibuffer-complete-shell-command): Remove.
9509 (minibuffer-local-shell-command-map): Use completion-at-point.
9510 (read-shell-command): Setup completion vars here instead.
9511 (read-expression-map): Bind TAB to symbol completion.
9512
52d3c2d0
SM
9513 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9514 error directly rather via storing it into `results'.
9515
35813471
LL
95162011-05-02 Leo Liu <sdl.web@gmail.com>
9517
9518 * vc/diff.el: Fix description.
9519
e793a940
LMI
95202011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9521
9522 * server.el (server-eval-at): New function.
9523
8de66e05
LMI
95242011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9525
9526 * net/network-stream.el (open-network-stream): Take a :nowait
9527 parameter and pass it on to `make-network-process'.
9528 (network-stream-open-plain): Ditto.
9529
dcb79f20
AS
95302011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9531
9532 * faces.el (face-spec-set-match-display): Don't match toolkit
9533 options on terminal frames.
9534
14a7fbd8
SM
95352011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9536
7eabc1be
SM
9537 * progmodes/pascal.el: Use lexical binding.
9538 (pascal-mode-map): Remove author preferences.
9539
14a7fbd8
SM
9540 * pcomplete.el (pcomplete-std-complete): Don't abuse
9541 completion-at-point.
9542
50f84510
JB
95432011-04-28 Juanma Barranquero <lekktu@gmail.com>
9544
6e087a44
JB
9545 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9546 removing code that has been dead since 1991 or so.
9547
50f84510
JB
9548 * startup.el (command-line): When warning about "_emacs", use a
9549 delayed warning to allow the user to filter it out.
9550
0ba690bd
DD
95512011-04-28 Deniz Dogan <deniz@dogan.se>
9552
9553 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9554 user has not joined.
9555
08abfaad
SM
95562011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9559 aren't any completions at point.
9560
638f053a
JB
95612011-04-28 Juanma Barranquero <lekktu@gmail.com>
9562
9563 * subr.el (display-delayed-warnings): New function.
9564 (delayed-warnings-hook): New variable.
9565
8fff8daa
SM
95662011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9567
08abfaad
SM
9568 * minibuffer.el (completion-at-point, completion-help-at-point):
9569 Don't presume that a given completion-at-point-function will always
9570 use the same calling convention.
9571
8fff8daa
SM
9572 * pcomplete.el (pcomplete-completions-at-point):
9573 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9574 pcomplete-seen is non-nil.
9575 (pcomplete-comint-setup): Also recognize the new comint/shell
9576 completion functions.
9577 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9578 pcomplete-seen is non-nil.
9579
841a1577 95802011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9581
841a1577 9582 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9583 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9584 the first character in the entry. This allows for code to add its
211ec907
UJ
9585 own uid to the entry.
9586 (icalendar--convert-float-to-ical): Add export of
9587 `diary-float'-entries save for those with the optional DAY
9588 argument.
9589
2a782793
DC
95902011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9591
9592 * subr.el (shell-quote-argument): Use alternate escaping strategy
9593 when we spot a variable reference in a string.
9594
0438ce91
DC
95952011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9596
9597 * cus-start.el (all): Define customization for debug-on-event.
9598
841a1577 95992011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9600
9601 * subr.el (shell-quote-argument): Escape correctly under Windows.
9602
d090ed6c
SM
96032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9606
bfd31217
MA
96072011-04-25 Michael Albinus <michael.albinus@gmx.de>
9608
d090ed6c
SM
9609 * net/tramp.el (tramp-process-actions): Add POS argument.
9610 Delete region between POS and (pos).
bfd31217 9611
d090ed6c
SM
9612 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9613 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9614 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9615
9616 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9617 position in `tramp-process-actions' call.
9618
9619 * net/trampver.el: Update release number.
9620
e92f3bd3
SM
96212011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9622
850256b5
SM
9623 * custom.el (defcustom): Obey lexical-binding.
9624
e92f3bd3
SM
9625 Fix octave-inf completion problems reported by Alexander Klimov.
9626 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9627 Inherit from octave-mode-syntax-table.
9628 (inferior-octave-mode): Set info-lookup-mode.
9629 (inferior-octave-completion-at-point): New function.
9630 (inferior-octave-complete): Use it and completion-in-region.
9631 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9632 comint-filename-completion.
9633 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9634 symbol elements which shouldn't be word elements.
9635 (octave-font-lock-keywords, octave-beginning-of-defun)
9636 (octave-function-header-regexp): Adjust regexps accordingly.
9637 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9638
cd22b309
JB
96392011-04-25 Juanma Barranquero <lekktu@gmail.com>
9640
9641 * net/gnutls.el (gnutls-errorp): Declare before first use.
9642
8b492194
TZ
96432011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9644
9645 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9646 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9647 default trustfile exists before going to use it. Add missing
5a5fa834 9648 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9649 Reported by Claudio Bley <claudio.bley@gmail.com>.
9650 (open-gnutls-stream): Add usage example.
9651
9652 * net/network-stream.el (network-stream-open-starttls): Give host
9653 parameter to `gnutls-negotiate'.
9654 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9655 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9656
841a1577 96572011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9658
cd22b309
JB
9659 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9660 Use correct match group (bug#8438).
05842630 9661
3ba7869c
CY
96622011-04-24 Chong Yidong <cyd@stupidchicken.com>
9663
512e3ae1
CY
9664 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9665 (package-menu--generate): New arg specifying packages to show.
9666 (package-menu-refresh, package-menu-execute, list-packages):
9667 Callers changed.
9668 (package-show-package-list): New function, replacing deleted
9669 package--list-packages (renamed because it is non-internal).
9670
9671 * finder.el (finder-list-matches): Use package-show-package-list
9672 instead of deleted package--list-packages.
9673
e92f3bd3
SM
9674 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9675 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9676 (vc-annotate-mode-map): Bind it to RET.
9677
7031be6d
UR
96782011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9679
9680 * progmodes/etags.el (next-file): Don't use set-buffer to change
9681 buffers (Bug#8478).
9682
4ef177aa
CY
96832011-04-24 Chong Yidong <cyd@stupidchicken.com>
9684
c8d173eb
CY
9685 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9686
4ef177aa
CY
9687 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9688 (apropos-accumulator): Doc fix.
9689 (apropos-function, apropos-macro, apropos-command)
9690 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9691 (apropos-plist): Add face property.
9692 (apropos-symbols-internal): Fix indentation.
9693 (apropos-print): Simplify help, and recognize apropos-multi-type.
9694 (apropos-print-doc): Use button-type-get to extract the button's
9695 face property. Fill docstring (Bug#8352).
9696
4ffd0d6b 96972011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9698
9699 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9700
c6c32125 9701 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9702 (mpuz-mode-map): Use mapc.
c6c32125
JB
9703 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9704 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9705 Fix typos in docstrings.
9706
58d468b4
JB
9707 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9708 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9709
6470c3c6
JB
9710 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9711
4ffd0d6b 97122011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9713
9714 * minibuffer.el (completion--do-completion): Avoid the "Next char
9715 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9716
3ad8bad0
CY
9717 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9718 mouse-2 into unread-command-events, it is interpreted correctly.
9719
71d73c9c 9720 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9721 (image-toggle-display): Doc fix.
71d73c9c 9722
841a1577 97232011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9724
4ffd0d6b
GM
9725 * textmodes/page.el (what-page): Use line-number-at-pos to
9726 calculate line number (Bug#6825).
6e1dbaa9 9727
c2fb1b60
JB
97282011-04-22 Juanma Barranquero <lekktu@gmail.com>
9729
9730 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9731 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9732 Pass argument NO-DEFAULT to `find-tag-interactive'.
9733
e02f48d7
JB
97342011-04-22 Juanma Barranquero <lekktu@gmail.com>
9735
9736 Lexical-binding cleanup.
9737
9738 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9739 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9740 * progmodes/ada-prj.el (ada-prj-initialize-values)
9741 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9742 (ada-prj-show-value):
9743 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9744 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9745 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9746 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9747 * progmodes/bug-reference.el (bug-reference-push-button):
9748 * progmodes/fortran.el (fortran-line-length):
9749 * progmodes/glasses.el (glasses-change):
9750 * progmodes/octave-mod.el (octave-fill-paragraph):
9751 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9752 (python-pdbtrack-grub-for-buffer, python-sentinel):
9753 * progmodes/sql.el (sql-save-connection):
9754 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9755 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9756 Mark unused parameters.
9757
9758 * progmodes/compile.el (compilation--flush-directory-cache)
9759 (compilation--flush-parse, compile-internal): Mark unused parameters.
9760 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9761 (compilation-next-error-function): Remove unused variable `timestamp'.
9762
9763 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9764 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9765
9766 * progmodes/dcl-mode.el (dcl-end-of-command):
9767 Remove unused variable `start'.
9768 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9769 (dcl-option-value-basic, dcl-option-value-offset)
9770 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9771 Mark unused parameters.
9772 (dcl-save-local-variable): Remove unused variable `val'.
9773 (mode): Declare.
9774
9775 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9776 Mark unused parameters.
9777 (delphi-ignore-changes): Move before first use.
9778 (delphi-charset-token-at): Remove unused variable `start'.
9779 (delphi-else-start): Remove unused variable `if-count'.
9780 (delphi-comment-block-start, delphi-comment-block-end):
9781 Remove unused variable `kind'.
9782 (delphi-indent-line): Remove unused variable `new-point'.
9783
9784 * progmodes/ebrowse.el (ebrowse-files-list)
9785 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9786 Mark unused parameters. Don't quote `lambda'.
9787 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9788 Don't quote `lambda'.
9789 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9790 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9791 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9792 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9793 Use `ignore-errors'.
9794 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9795 (ebrowse-view/find-file-and-search-pattern)
9796 (ebrowse-view/find-member-declaration/definition):
9797 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9798 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9799 Rename parameter PREFIX-ARG to PREFIX.
9800 (ebrowse-tags-read-name): Remove unused variables `start' and
9801 `member-info'.
9802 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9803 to `tags-file'.
9804
9805 * progmodes/etags.el (local-find-tag-hook): Declare.
9806 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9807 Mark unused parameters.
9808
9809 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9810 (executable-interpret): Mark unused parameter.
9811
9812 * progmodes/flymake.el (flymake-process-sentinel)
9813 (flymake-after-change-function)
9814 (flymake-create-temp-with-folder-structure)
9815 (flymake-get-include-dirs-dot): Mark unused parameters.
9816 (flymake-safe-delete-directory): Remove unused variable `err'.
9817
9818 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9819 (speedbar-timer-fn, speedbar-line-text)
9820 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9821 (speedbar-center-buffer-smartly): Declare functions.
9822 (gdb-find-watch-expression): Remove unused variable `array'.
9823 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9824 (gdb-starting): Mark unused parameters.
9825 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9826 (gdb-table-string): Remove unused variable `res'.
9827 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9828 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9829 (gdb-display-buffer): Remove unused variable `cur-size'.
9830
9831 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9832 allow lexical-binding compilation.
9833 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9834 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9835 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9836 Mark unused parameters.
9837 (gud-gdb-marker-filter): Remove unused variable `match'.
9838 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9839 lambda expressions and funcall them, instead of using `fset'.
9840
9841 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9842 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9843
9844 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9845 variable `header-beg'; use `let'.
9846
9847 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9848 `restart', `last-sexp' and `at-do'.
9849
9850 * progmodes/js.el (js--debug): Mark unused parameter.
9851 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9852 (js--splice-into-items): Remove unused variable `item'.
9853 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9854
9855 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9856 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9857 (makefile-complete): Remove unused variable `try'.
9858 (makefile-fill-paragraph, makefile-match-function-end):
9859 Mark unused parameters.
9860
9861 * progmodes/octave-inf.el (inferior-octave-complete):
9862 Remove unused variable `proc'.
9863 (inferior-octave-output-digest): Mark unused parameter.
9864
9865 * progmodes/perl-mode.el (perl-calculate-indent):
9866 Remove unused variable `err'.
9867
9868 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9869 (prolog-indent-line): Mark unused parameters.
9870 (prolog-indent-line): Remove unused variable `beg'.
9871
9872 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9873 (reporter-dont-compact-list): Declare.
9874
9875 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9876 Remove unused variable `char'.
9877 (sh-debug): Mark unused parameter.
9878 (sh-get-indent-info): Remove unused variable `start'.
9879 (sh-calculate-indent): Remove unused variable `var'.
9880
9881 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9882 (simula-electric-keyword): Remove unused variable `null'.
9883 (simula-search-backward, simula-search-forward): Remove unused
9884 variables `begin' and `end'.
9885
9886 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9887 Remove unused variable `pos'.
9888 (vera-electric-tab, vera-comment-uncomment-region):
9889 Mark unused parameters.
9890 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9891
7ede3b65
CY
98922011-04-22 Chong Yidong <cyd@stupidchicken.com>
9893
9894 * emacs-lisp/package.el (package--builtins, package-alist)
9895 (package-load-descriptor, package-built-in-p, package-activate)
9896 (define-package, package-installed-p)
9897 (package-compute-transaction, package-buffer-info)
9898 (package--push): Doc fix. Distinguish more clearly between
9899 version strings and version lists.
9900
121656e9
JB
99012011-04-21 Juanma Barranquero <lekktu@gmail.com>
9902
9903 Lexical-binding cleanup.
9904
9905 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9906 (5x5-make-mutate-best):
9907 * play/fortune.el (fortune-in-buffer):
9908 * play/gomoku.el (gomoku-init-display):
9909 * play/solitaire.el (solitaire, solitaire-do-check):
9910 * play/tetris.el (tetris-default-update-speed-function):
9911 Mark unused parameters.
9912
9913 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9914 (bubbles--shift): Remove unused variable `char-org'.
9915 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9916 (bubbles--show-images): Remove unused variable `char'.
9917
9918 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9919 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9920 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9921 (decipher-analyze-buffer): Use ?\s.
9922 (decipher-make-checkpoint): Remove unused variable `mapping'.
9923
9924 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9925
9926 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9927 Remove unused variable `result'; use `let'.
9928
9929 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9930 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9931 (gametree-children-shown-p, gametree-compute-reduced-score):
9932 Use `ignore-errors'.
9933
9934 * play/handwrite.el (ps-lpr-switches): Declare.
9935 (handwrite): Remove unused variables `pmin' and `lastp'.
9936
9937 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9938
9939 * play/landmark.el (landmark-init-display)
9940 (landmark-update-naught-weights): Mark unused parameters.
9941 (landmark-y): Remove unused variable `noise'. Simplify.
9942 (landmark-human-plays): Remove unused variable `score'.
9943
9944 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9945 (mpuz-try-proposal): Remove unused variable `game'.
9946
9947 * play/zone.el (life-patterns): Declare.
9948
80f499c7
JB
99492011-04-20 Juanma Barranquero <lekktu@gmail.com>
9950
9951 * vc/vc.el (ediff-vc-internal): Declare function.
9952
024ff170
SM
99532011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9954
c0a193ea
SM
9955 * shell.el: Use lexical-binding and std completion UI.
9956 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9957 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9958 comint-preoutput-filter-functions rather than on
9959 comint-output-filter-functions.
9960 (shell-command-completion, shell--command-completion-data)
9961 (shell-filename-completion, shell-environment-variable-completion)
9962 (shell-c-a-p-replace-by-expanded-directory): New functions.
9963 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9964 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9965 (shell-dynamic-complete-environment-variable): Use them.
9966 (shell-dynamic-complete-as-environment-variable)
9967 (shell-dynamic-complete-as-command): Remove.
9968 (shell-match-partial-variable): Match past point.
9969 * comint.el: Clean up use of completion-at-point-functions.
9970 (comint-completion-at-point): New function.
9971 (comint-mode): Use it completion-at-point-functions.
9972 (comint-dynamic-complete): Make it obsolete.
9973 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9974 (comint-c-a-p-replace-by-expanded-history): New function.
9975 (comint-dynamic-complete-functions)
9976 (comint-replace-by-expanded-history): Use it.
9977 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9978 termination strings. Try harder to avoid second try-completion.
9979 (completion-in-region-mode-map): Disable bindings that don't work yet.
9980
2dbaa080
SM
9981 * comint.el: Use lexical-binding. Require CL.
9982 (comint-dynamic-complete-functions): Use comint-filename-completion.
9983 (comint-completion-addsuffix): Tweak custom type.
9984 (comint-filename-completion, comint--common-suffix)
9985 (comint--common-quoted-suffix, comint--table-subvert)
9986 (comint--complete-file-name-data): New functions.
9987 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9988 (comint-dynamic-list-filename-completions): Use them.
9989 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9990
2dbaa080
SM
9991 * minibuffer.el (completion-in-region-mode):
9992 Keep completion-in-region-mode--predicate global.
9993 (completion-in-region--postch):
9994 Assume completion-in-region-mode--predicate is not null.
9995
c79a6f38
SM
9996 * progmodes/flymake.el (flymake-start-syntax-check-process):
9997 Obey `dir'. Simplify.
9998
024ff170
SM
9999 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10000 we're in VC after all.
10001
1c6c854e
CS
100022011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10003
10004 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10005 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10006 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10007
bed7f140
SM
100082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10009
332e62ab
SM
10010 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10011 add sanity check.
10012
bed7f140
SM
10013 * obsolete/erc-hecomplete.el: Make obsolete.
10014 * obsolete/: Standardize obsolescence info in the header.
10015
f195c582
GM
100162011-04-20 Glenn Morris <rgm@gnu.org>
10017
10018 * calendar/solar.el (solar-horizontal-coordinates):
10019 Use the longitude argument rather than `calendar-longitude'.
10020 (solar-date-next-longitude): Remove unused locals.
10021
cb79b8c0
VJL
100222011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10023
10024 * whitespace.el: New version 13.2.1.
10025
100262011-04-20 felix <EmacsWiki> (tiny change)
10027
d8e4b68b 10028 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10029 switching between major modes on a file.
10030
602ea69d
SM
100312011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10034 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10035 multi-line comments as well.
10036
06b60517
JB
100372011-04-19 Juanma Barranquero <lekktu@gmail.com>
10038
10039 Lexical-binding cleanup.
10040
10041 * arc-mode.el (archive-mode-revert):
10042 * cmuscheme.el (scheme-interactively-start-process):
10043 * custom.el (custom-initialize-delay):
10044 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10045 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10046 * emacs-lock.el (emacs-lock-clear-sentinel):
10047 * ezimage.el (defezimage):
10048 * follow.el (follow-avoid-tail-recenter):
10049 * fringe.el (set-fringe-mode-1):
10050 * generic-x.el (bat-generic-mode-compile):
10051 * help-mode.el (help-info-variable, help-do-xref)
10052 (help-mode-revert-buffer):
10053 * help.el (view-emacs-todo):
10054 * iswitchb.el (iswitchb-completion-help):
10055 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10056 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10057 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10058 * locate.el (locate-update):
10059 * longlines.el (longlines-encode-region)
10060 (longlines-after-change-function):
10061 * outline.el (outline-isearch-open-invisible):
10062 * ps-def.el (declare-function, charset-dimension, char-width)
10063 (encode-char):
10064 * ps-mule.el (ps-mule-plot-string):
10065 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10066 (recentf-edit-list-select, recentf-edit-list-validate)
10067 (recentf-open-files-action):
10068 * rect.el (delete-whitespace-rectangle-line)
10069 (rectangle-number-line-callback):
10070 * register.el (window-configuration-to-register)
10071 (frame-configuration-to-register):
10072 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10073 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10074 (xselect-convert-to-targets, xselect-convert-to-delete)
10075 (xselect-convert-to-filename, xselect-convert-to-charpos)
10076 (xselect-convert-to-lineno, xselect-convert-to-colno)
10077 (xselect-convert-to-os, xselect-convert-to-host)
10078 (xselect-convert-to-user, xselect-convert-to-class)
10079 (xselect-convert-to-name, xselect-convert-to-integer)
10080 (xselect-convert-to-atom, xselect-convert-to-identity):
10081 * subr.el (declare, ignore, process-kill-without-query)
10082 (text-clone-maintain):
10083 * terminal.el (te-get-char, te-tic-sentinel):
10084 * tool-bar.el (tool-bar-make-keymap):
10085 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10086 * type-break.el (type-break-mode, type-break-noninteractive-query):
10087 * view.el (View-back-to-mark):
10088 * wid-browse.el (widget-browse-action, widget-browse-widget)
10089 (widget-browse-widgets, widget-browse-sexp):
10090 * widget.el (define-widget-keywords):
10091 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10092 Mark unused parameters.
10093
10094 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10095 (align-areas): Remove unused variable `look'.
10096 (align-region): Remove unused variables `real-end' and `pos-list'.
10097
10098 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10099
10100 * bindings.el (mode-line-modified, mode-line-remote):
10101 Mark unused parameters.
10102 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10103
10104 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10105 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10106
10107 * comint.el (comint-history-isearch-pop-state)
10108 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10109 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10110 (comint-substitute-in-file-name): Doc fix.
10111
10112 * completion.el (cmpl-statistics-block): Mark unused parameter.
10113 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10114 (save-completions-to-file, load-completions-from-file):
10115 Remove unused local variable `e'.
10116
10117 * composite.el (compose-chars): Remove unused variable `len'.
10118 (lgstring-insert-glyph): Remove unused variable `g'.
10119 (compose-glyph-string): Remove unused variables `ascent',
10120 `descent', `lbearing' and `rbearing'.
10121 (compose-glyph-string-relative): Remove unused variables
10122 `lbearing', `rbearing' and `wadjust'.
10123 (compose-gstring-for-graphic): Remove unused variables `header',
10124 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10125 (compose-gstring-for-terminal): Remove unused variables `header'
10126 and `nchars'. Use `let', not `let*'.
10127
10128 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10129 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10130 (Custom-buffer-done, custom-buffer-create-internal)
10131 (custom-browse-visibility-action, custom-browse-group-tag-action)
10132 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10133 (widget-magic-mouse-down-action, custom-toggle-parent)
10134 (custom-add-parent-links, custom-toggle-hide-variable)
10135 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10136 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10137 (custom-face-menu-create, custom-variable-menu-create, get)
10138 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10139 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10140 (customize-apropos): Remove unused variable `tests'.
10141 (custom-group-value-create): Remove unused variable `hidden-p'.
10142 (sort-fold-case): Declare.
10143
10144 * cus-theme.el (custom-reset-standard-faces-list)
10145 (custom-reset-standard-variables-list): Declare.
10146 (customize-create-theme, custom-theme-revert, custom-theme-write)
10147 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10148 Mark unused parameters.
10149
10150 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10151
10152 * delim-col.el (delimit-columns-max): Move defvar before first use.
10153
10154 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10155 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10156
10157 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10158 (auto-insert): Declare.
10159 (desktop-restore-file-buffer): Rename desktop-* parameters;
10160 mark unused ones.
10161 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10162 (desktop-buffer): Rename desktop-* parameters.
10163
10164 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10165 (dframe-reposition-frame-xemacs, dframe-help-echo)
10166 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10167 Mark unused parameters.
10168
10169 * dired-aux.el (backup-extract-version-start, overwrite-query)
10170 (overwrite-backup-query, rename-regexp-query)
10171 (rename-non-directory-query): Declare.
10172 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10173 (dired-add-entry): Remove unused variable `orig-file-name'.
10174 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10175 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10176 `dired-copy-preserve-time' directly.
10177 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10178 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10179
10180 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10181 (dired-virtual-revert, dired-make-relative-symlink):
10182 Mark unused parameters.
10183 (manual-program): Declare.
10184 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10185 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10186 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10187
10188 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10189
10190 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10191
10192 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10193 Declare.
10194
10195 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10196
10197 * electric.el (Electric-command-loop): Rename parameter
10198 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10199
10200 * expand.el (expand-in-literal): Remove unused variable `here'.
10201
10202 * facemenu.el (facemenu-add-new-color):
10203 Remove unused variable `docstring'.
10204
10205 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10206 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10207 (face-attr-construct): Mark unused parameter. Doc fix.
10208 (read-color): Remove unused variable `hex-string'.
10209
10210 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10211 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10212 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10213 (display-buffer-other-frame): Remove unused variable `old-window'.
10214 (kill-buffer-hook): Declare.
10215 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10216 Mark unused parameters.
10217 (after-find-file): Pass 1 to `auto-save-mode', not t.
10218
10219 * files-x.el (auto-insert): Declare.
10220 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10221
10222 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10223 variable `buf'. Mark unused parameter.
06b60517
JB
10224 (find-lisp-insert-directory): Mark unused parameter.
10225
10226 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10227 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10228 (format-common-tail): Remove, unused.
10229 (format-deannotate-region): Remove unused variable `loc'.
10230 (format-annotate-region): Remove unused variable `p'.
10231 (format-annotate-single-property-change): Remove unused variables
10232 `default' and `tail'.
10233
10234 * forms.el (read-file-filter): Declare.
10235 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10236
10237 * frame.el (frame-creation-function-alist): Mark unused parameter.
10238 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10239
10240 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10241 Remove unused parameters.
10242 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10243 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10244
10245 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10246 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10247 (hfy-prepare-tag-map): Mark unused parameters.
10248 (htmlfontify-buffer): Use `called-interactively-p'.
10249
10250 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10251 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10252 (ibuffer-do-occur): Mark unused parameters.
10253 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10254 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10255
10256 * ibuffer.el: Don't quote `lambda'.
10257 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10258 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10259 Mark unused parameters.
10260
10261 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10262 (ido-completing-read): Mark unused parameters.
10263 (ido-copy-current-word): Mark unused parameters;
10264 remove unused variable `name'.
10265 (ido-sort-merged-list): Remove unused parameter `dirs'.
10266
10267 * ielm.el (ielm-input-sender): Mark unused parameter.
10268 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10269 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10270 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10271 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10272 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10273
10274 * image-dired.el (image-dired-display-thumbs): Remove unused
10275 variables `curr-file' and `count'.
10276 (image-dired-remove-tag): Remove unused variable `start'.
10277 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10278 variable `curr-file'
10279 (image-dired-rotate-original): Remove unused variable `temp-file'.
10280 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10281 Remove unused variable `file'.
10282 (image-dired-gallery-generate): Remove unused variable `curr'.
10283 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10284
10285 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10286
10287 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10288
10289 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10290
10291 * isearch.el (minibuffer-history-symbol): Declare.
10292 (isearch-edit-string): Remove unused variable `err'.
10293 (isearch-message-prefix, isearch-message-suffix):
10294 Mark unused parameters.
10295
10296 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10297
10298 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10299
10300 * makesum.el (double-column): Remove unused variable `cnt'.
10301
10302 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10303 (ido-ignore-item-temp-list): Declare.
10304
10305 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10306 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10307 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10308 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10309 `mouse-col-delta'.
10310
10311 * mouse-sel.el (mouse-extend-internal):
10312 Remove unused variable `orig-window-frame'.
10313
10314 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10315 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10316 Move declarations before first use.
10317 (pcomplete-opt): Mark unused parameters; doc fix.
10318
10319 * proced.el (proced-revert): Mark unused parameter.
10320 (proced-send-signal): Remove unused variable `err'.
10321
10322 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10323 Rename parameter PREFIX-ARG to ARG.
10324 (ps-basic-plot-string, ps-basic-plot-whitespace):
10325 Mark unused parameters.
10326
10327 * replace.el (replace-count): Define.
10328 (occur-revert-function): Mark unused parameters.
10329 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10330 (isearch-case-fold-search, isearch-string): Declare.
10331 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10332 bind `case-fold-search'. Remove unused variables `beg' and `end',
10333 and simplify.
10334 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10335 COUNT and bind `replace-count'.
10336 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10337 to COUNT.
10338
10339 * savehist.el (print-readably, print-string-length): Declare.
10340
10341 * shadowfile.el (shadow-expand-cluster-in-file-name):
10342 Remove unused variable `cluster'.
10343 (shadow-copy-file): Remove unused variable `i'.
10344 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10345 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10346 (shadow-define-literal-group, shadow-define-regexp-group)
10347 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10348
10349 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10350 (shell): Use `called-interactively-p'.
10351 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10352
10353 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10354 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10355 (delete-backward-char): Remove unused variable `ocol'.
10356 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10357 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10358 (event-apply-hyper-modifier, event-apply-shift-modifier)
10359 (event-apply-control-modifier, event-apply-meta-modifier):
10360 Mark unused parameters.
10361 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10362 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10363
10364 * speedbar.el (speedbar-ignored-directory-expressions)
10365 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10366 (speedbar-find-file, speedbar-dir-follow)
10367 (speedbar-directory-buttons-follow, speedbar-tag-find)
10368 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10369 (speedbar-buffers-line-directory, speedbar-buffer-click):
10370 Mark unused parameters.
10371 (speedbar-tag-file): Remove unused variable `mode'.
10372 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10373
10374 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10375
10376 * talk.el (talk): Remove unused variable `display'.
10377
10378 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10379 (tar-write-region-annotate): Mark unused parameter.
10380
10381 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10382 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10383 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10384 warning by another.
10385
10386 * time-stamp.el (time-stamp-string-preprocess):
10387 Remove unused variable `require-padding'.
10388
10389 * tree-widget.el (widget-glyph-enable): Declare.
10390 (tree-widget-action): Mark unused parameter.
10391
10392 * w32-fns.el (x-get-selection): Mark unused parameter.
10393 (autoload-make-program, generated-autoload-file): Declare.
10394
10395 * wdired.el (wdired-revert): Mark unused parameters.
10396 (wdired-xcase-word): Remove unused variable `err'.
10397
10398 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10399 (whitespace-help-scroll): Remove unused variable `data-help'.
10400
10401 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10402 (widget-image-insert, widget-after-change, default)
10403 (widget-default-format-handler, widget-default-notify)
10404 (widget-default-prompt-value, widget-info-link-action)
10405 (widget-url-link-action, widget-function-link-action)
10406 (widget-variable-link-action, widget-file-link-action)
10407 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10408 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10409 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10410 (widget-insert-button-action, widget-delete-button-action, visibility)
10411 (widget-documentation-link-action, widget-documentation-string-action)
10412 (widget-const-prompt-value, widget-regexp-match, symbol)
10413 (widget-coding-system-prompt-value)
10414 (widget-key-sequence-value-to-external, sexp)
10415 (widget-sexp-value-to-internal, character, vector, cons)
10416 (widget-choice-prompt-value, widget-boolean-prompt-value)
10417 (widget-color--choose-action): Mark unused parameters.
10418 (widget-item-match-inline, widget-choice-match-inline)
10419 (widget-checklist-match, widget-checklist-match-inline)
10420 (widget-group-match): Rename parameter VALUES to VALS.
10421 (widget-field-value-set): Remove unused variable `size'.
10422 (widget-color-action): Remove unused variables `value' and `start'.
10423
10424 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10425 variable `dir'. Doc fix.
06b60517
JB
10426 (windmove-find-other-window): Don't pass it.
10427
10428 * window.el (count-windows): Mark unused parameter.
10429 (bw-adjust-window): Remove unused variable `err'.
10430
10431 * woman.el (woman-file-name): Remove unused variable `default'.
10432 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10433 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10434 (global-font-lock-mode): Declare.
10435 (woman-decode-region): Mark unused parameter.
10436 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10437
10438 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10439 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10440 (x-dnd-handle-moz-url): Remove unused variable `title'.
10441 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10442
10443 * xml.el (xml-parse-tag, xml-parse-attlist):
10444 Remove unused variable `pos'.
10445
bc4f7f3d
GM
104462011-04-19 Glenn Morris <rgm@gnu.org>
10447
10448 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10449 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10450 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10451 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10452 * calendar/cal-html.el (cal-html-insert-minical):
10453 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10454 (calendar-mark-date-pattern):
10455 Prefix "unused" locals.
10456
10457 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10458 optional argument `style'.
10459
10460 * calendar/appt.el (appt-make-list):
10461 * calendar/cal-china.el (calendar-chinese-date-string):
10462 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10463 (diary-hebrew-yahrzeit):
10464 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10465 * calendar/calendar.el (calendar-generate-window):
10466 * calendar/time-date.el (time-to-days):
10467 Remove unused local variables.
10468
16a43933
CY
104692011-04-18 Chong Yidong <cyd@stupidchicken.com>
10470
10471 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10472 glyphless-char-display table.
10473 (tabulated-list-glyphless-char-display): New var.
10474
7eed1860
SS
104752011-04-18 Sam Steingold <sds@gnu.org>
10476
10477 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10478 to acknowledgments.
10479
4d2d1ccd
GM
104802011-04-17 Glenn Morris <rgm@gnu.org>
10481
10482 * calendar/diary-lib.el (diary-sexp-entry):
10483 * calendar/holidays.el (holiday-sexp):
10484 Set debug-on-error rather than the removed stack-trace-on-error.
10485
239da61d
GM
104862011-04-16 Glenn Morris <rgm@gnu.org>
10487
10488 * progmodes/f90.el: Use lexical-binding.
10489 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10490
8b05752a
SM
104912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10492
daca8ba5
SM
10493 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10494 (mail-mode): Setup mailalias completion here instead.
10495 * mail/mailalias.el: Use lexical-binding.
10496 (pattern, mailalias-done): Declare dynamic.
10497 (mail-completion-at-point-function): New function, from mail-complete.
10498 (mail-complete): Use it.
10499 (mail-completion-expand): New function.
10500 (mail-get-names): Use it.
10501 (mail-directory, mail-directory-process, mail-directory-stream):
10502 Don't use `pattern' for lexically bound arg.
10503
6f542485
SM
10504 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10505
037e7c3f
SM
10506 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10507 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10508 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10509
8b05752a
SM
10510 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10511 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10512 (byte-interactive-p): Define them again, for use when inlining
10513 old code.
10514
49093f60
JB
105152011-04-15 Juanma Barranquero <lekktu@gmail.com>
10516
10517 * loadup.el: Use `string-to-number', not `string-to-int'.
10518
b5b8e7de
SM
105192011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10520
10521 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10522 gud-gdb-complete-command.
10523 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10524 (gud-gdb-completion-at-point): New function.
10525 (gud-gdb-completions): Remove.
10526
f42efeb5
MA
105272011-04-14 Michael Albinus <michael.albinus@gmx.de>
10528
49093f60
JB
10529 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10530 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10531 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10532 whether `executable-find' is bound.
f42efeb5
MA
10533
10534 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10535
e240cc21
SM
105362011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * minibuffer.el (completion-in-region-mode-predicate)
10539 (completion-in-region-mode--predicate): New vars.
10540 (completion-in-region, completion-in-region--postch)
10541 (completion-in-region-mode): Use them.
10542 (completion--capf-wrapper): Also return the hook function.
10543 (completion-at-point, completion-help-at-point):
10544 Adjust and provide a predicate.
c2bd2ab0
SM
10545
10546 Preserve arg names for advice of subr and lexical functions (bug#8457).
10547 * help-fns.el (help-function-arglist): Consolidate the subr and
10548 new-byte-code cases. Add argument `preserve-names' to extract names
10549 from the docstring when needed.
10550 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10551 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10552 (ad-arglist): Use help-function-arglist's new arg.
10553 (ad-definition-type): Use cond.
10554
c183f693
JB
105552011-04-13 Juanma Barranquero <lekktu@gmail.com>
10556
06641a47
JB
10557 * autorevert.el (auto-revert-handler):
10558 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10559 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10560 Don't quote lambda.
10561
c183f693
JB
10562 * image-mode.el (image-transform-set-scale):
10563 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10564
1e3b6001
G
105652011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10566
10567 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10568 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10569 Upgrades via gnutls-cli are too slow to be done opportunistically.
10570
2d6af8dd
JB
105712011-04-12 Juanma Barranquero <lekktu@gmail.com>
10572
10573 * dframe.el (dframe-current-frame): Remove spurious quote.
10574
c0749a51
GM
105752011-04-12 Glenn Morris <rgm@gnu.org>
10576
088d0d61
GM
10577 * calendar/cal-tex.el (cal-tex-end-document):
10578 Try to automatically use latin1 input if needed.
10579
c0749a51
GM
10580 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10581 Don't try to cons a mark onto an empty element.
10582
5c90fde0
LL
105832011-04-11 Leo Liu <sdl.web@gmail.com>
10584
10585 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10586 buffers.
10587 (ido-kill-buffer-at-head): Support killing virtual buffers.
10588
369e974d
CY
105892011-04-10 Chong Yidong <cyd@stupidchicken.com>
10590
10591 * minibuffer.el (completion-show-inline-help): New var.
10592 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10593 (minibuffer-force-complete, minibuffer-complete-word):
10594 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10595
10596 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10597 to avoid interference from inline help (Bug#5849).
10598
37f1c930
LL
105992011-04-10 Leo Liu <sdl.web@gmail.com>
10600
099c39a4
JB
10601 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10602 Fix typo.
37f1c930 10603
a32d4040
CY
106042011-04-09 Chong Yidong <cyd@stupidchicken.com>
10605
10606 * image-mode.el (image-toggle-display-image): Signal an error if
10607 not in Image mode.
10608 (image-transform-mode, image-transform-resize)
10609 (image-transform-set-rotation): Doc fix.
daca8ba5 10610 (image-transform-set-resize): Delete.
a32d4040
CY
10611 (image-transform-set-scale, image-transform-fit-to-height)
10612 (image-transform-fit-to-width): Handle image-toggle-display-image
10613 and image-transform-resize directly.
10614
099c39a4 106152011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10616
10617 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10618 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10619 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10620 (doc-view-mode-map): Add bindings for the new functions.
10621
099c39a4 106222011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10623
4d61f28d 10624 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10625 Fix typo in docstring.
10626
3726838a
EZ
106272011-04-08 Eli Zaretskii <eliz@gnu.org>
10628
04f33f1e
EZ
10629 * files.el (file-size-human-readable): Produce one digit after
10630 decimal, like "ls -lh" does.
10631
10632 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10633 the file size representation.
10634
3726838a
EZ
10635 * simple.el (list-processes): If async subprocesses are not
10636 available, error out with a clear error message.
10637
cbb59342
CY
106382011-04-08 Chong Yidong <cyd@stupidchicken.com>
10639
10640 * help.el (help-form-show): New function, to be called from C.
10641 Put help-form output in a buffer named differently than *Help*.
10642
e3971c44
EZ
106432011-04-08 Eli Zaretskii <eliz@gnu.org>
10644
10645 * files.el (file-size-human-readable): New function.
10646
10647 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10648 computing the representation inline. Don't require `cl'.
10649
12544bbe
GM
106502011-04-08 Glenn Morris <rgm@gnu.org>
10651
a1de6c6a
GM
10652 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10653
3c4671f4
GM
10654 * net/browse-url.el (browse-url-firefox):
10655 Test system-type, not system-configuration.
10656
b605679c
GM
10657 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10658 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10659 Use log-edit-empty-buffer-p. (Bug#7598)
10660
56442f0c
GM
10661 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10662 (rlogin-mode-map): Initialize in the defvar.
10663 (rlogin): Use ignore-errors.
10664
12544bbe
GM
10665 * replace.el (occur-mode-map): Some fixes for menu items.
10666
eb237b0f
AH
106672011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10668
10669 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10670
7d668f2c
CY
106712011-04-06 Chong Yidong <cyd@stupidchicken.com>
10672
e67a13ab
CY
10673 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10674 issuing unused warnings.
10675
10676 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10677 macro directly.
10678
7d668f2c
CY
10679 * simple.el: Lisp reimplement of list-processes. Based on an
10680 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10681 (process-menu-mode): New major mode.
10682 (list-processes--refresh, list-processes):
10683 (process-menu-visit-buffer): New functions.
10684
10685 * files.el (save-buffers-kill-emacs): Don't assume any return
10686 value of list-processes, which is undocumented anyway.
10687
a83ec3c9
CY
106882011-04-06 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * emacs-lisp/tabulated-list.el: New file.
10691
e91a96fe
CY
10692 * emacs-lisp/package.el: Use Tabulated List mode.
10693 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10694 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10695 table format using Tabulated List mode variables.
10696 (package--push): New macro, replacing package-list-maybe-add.
10697 (package-menu--generate): Use package--push. Renamed from
10698 package--generate-package-list.
10699 (package-menu-refresh, list-packages): Use it.
daca8ba5 10700 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10701 Return insertion data instead of inserting it directly.
099c39a4
JB
10702 (package-menu-describe-package, package-menu-execute):
10703 Use tabulated-list-get-id.
e91a96fe
CY
10704 (package-menu-mark-delete, package-menu-mark-install)
10705 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10706 (package-menu-mark-obsolete-for-deletion):
10707 Use tabulated-list-put-tag.
e91a96fe
CY
10708 (package--list-packages, package-menu-revert)
10709 (package-menu-get-package, package-menu-get-version)
10710 (package-menu-sort-by-column): Functions deleted.
10711 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10712 (package-menu--status-predicate, package-menu--version-predicate)
10713 (package-menu--name-predicate)
10714 (package-menu--description-predicate): Handle arguments in the
10715 Tabulated List format.
10716 (package-list-packages-no-fetch): Call list-packages.
10717
3e214b50
JB
107182011-04-06 Juanma Barranquero <lekktu@gmail.com>
10719
10720 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10721 (after-find-file): Don't bind it.
3e214b50
JB
10722 (revert-buffer-in-progress-p): New variable.
10723 (revert-buffer): Bind it.
10724 Pass nil for `after-find-file-from-revert-buffer'.
10725
10726 * saveplace.el (save-place-find-file-hook): Use new variable
10727 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10728
3f0f1700
GM
107292011-04-06 Glenn Morris <rgm@gnu.org>
10730
c0274801
GM
10731 * Makefile.in (AUTOGEN_VCS): New variable.
10732 (autoloads): Use $AUTOGEN_VCS.
10733
3f0f1700
GM
10734 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10735 * calendar/calendar.el (calendar-mode-map):
10736 Check for toolkit scroll bars. (Bug#8305)
10737
41ea9e48
CY
107382011-04-05 Chong Yidong <cyd@stupidchicken.com>
10739
10740 * minibuffer.el (completion-in-region--postch)
10741 (completion-in-region-mode): Remove unnecessary messages.
10742
6194c800
JB
107432011-04-05 Juanma Barranquero <lekktu@gmail.com>
10744
33256f14
JB
10745 * font-lock.el (font-lock-refresh-defaults):
10746 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10747 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10748
6194c800
JB
10749 * info.el (Info-directory-list, Info-read-node-name-2)
10750 (Info-split-parameter-string): Doc fixes.
10751 (Info-virtual-nodes): Reflow docstring.
10752 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10753 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10754 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10755 Fix typos in docstrings.
10756 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10757 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10758 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10759 (Info-restore-desktop-buffer): Mark unused parameters.
10760 (Info-directory-find-file, Info-directory-find-node)
10761 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10762 (Info-virtual-index-find-node, Info-apropos-find-file)
10763 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10764 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10765 (Info-virtual-index): Remove unused local variable `nodename'.
10766
b87a8200 107672011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10768
b87a8200
DD
10769 * net/rcirc.el: Update my e-mail address.
10770 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10771
3b2ff876
CY
107722011-04-05 Chong Yidong <cyd@stupidchicken.com>
10773
10774 * startup.el (command-line): Save the cursor's theme-face
10775 directly, instead of using face-override-spec.
10776
10777 * custom.el (load-theme): Minor optimization in assigning faces.
10778
8d17e7ca
JB
107792011-04-04 Juanma Barranquero <lekktu@gmail.com>
10780
10781 * help-fns.el (describe-variable): Complete all variables having
10782 documentation, including keywords.
10783 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10784
2fbc1934
JB
107852011-04-04 Juanma Barranquero <lekktu@gmail.com>
10786
10787 Convert to lexical-binding.
10788
10789 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10790 (bs--get-marked-string, bs--get-modified-string)
10791 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10792 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10793 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10794
10795 * ehelp.el (electric-help-execute-extended)
10796 (electric-help-ctrl-x-prefix):
10797 * hexl.el (hexl-revert-buffer-function):
10798 * linum.el (linum-after-change, linum-after-scroll):
10799 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10800
10801 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10802
74f50695
DU
108032011-04-04 Daiki Ueno <ueno@unixuser.org>
10804
10805 * epa-dired.el:
10806 * epa-mail.el:
10807 * epa-hook.el:
10808 * epa-file.el:
10809 * epa.el:
10810 * epg.el: Use lexical binding.
10811
c11325f7
CY
108122011-04-03 Chong Yidong <cyd@stupidchicken.com>
10813
0d9e9a12
CY
10814 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10815
c11325f7 10816 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10817 dictionary case for flyspell-mark-duplications-exceptions.
10818 Use regexp matching for languages.
c11325f7
CY
10819 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10820 default dictionary (Bug#7926).
10821
da91b5f2
CY
108222011-04-02 Chong Yidong <cyd@stupidchicken.com>
10823
099c39a4
JB
10824 * emacs-lisp/package.el (package--with-work-buffer):
10825 Recognize https URLs.
da91b5f2 10826
099c39a4
JB
10827 * net/network-stream.el: Move from gnus/proto-stream.el.
10828 Change prefix to network-stream throughout.
da91b5f2
CY
10829 (open-protocol-stream): Merge into open-network-stream, leaving
10830 open-protocol-stream as an alias. Handle nil BUFFER args.
10831
10832 * subr.el (open-network-stream): Move to net/network-stream.el.
10833
afa8e9f6
GM
108342011-04-02 Glenn Morris <rgm@gnu.org>
10835
1d2e369d
GM
10836 * find-dired.el (find-exec-terminator): New option.
10837 (find-ls-option): Test for -ls support.
10838 (find-ls-subdir-switches): Test for -b in find-ls-option.
10839 (find-dired, find-grep-dired): Doc fixes.
10840 (find-dired): Use find-exec-terminator.
10841
8abb7da8 10842 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10843 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10844 (find-name-arg): Remove purecopy.
8abb7da8 10845
f3ca7378
GM
10846 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10847 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10848 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10849 accordingly. Don't add the null-device if not needed.
10850
afa8e9f6
GM
10851 * files.el (save-some-buffers): Doc fix.
10852
35eae264
EZ
108532011-04-02 Eli Zaretskii <eliz@gnu.org>
10854
10855 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10856
26b51db5
JB
108572011-04-01 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10860 Use `dolist' rather than `mapcar'.
10861
7200d79c
SM
108622011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10863
03408648 10864 Add lexical binding.
7200d79c 10865
03408648
SM
10866 * subr.el (apply-partially): Use new closures rather than CL.
10867 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10868 (dolist, dotimes): Use slightly different expansion for lexical code.
10869 (functionp): Move to C.
10870 (letrec): New macro.
10871 (with-wrapper-hook): Use it and apply-partially instead of CL.
10872 (eval-after-load): Preserve lexical-binding.
10873 (save-window-excursion, with-output-to-temp-buffer): Turn them
10874 into macros.
7200d79c 10875
03408648
SM
10876 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10877
10878 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10879 than the arglist.
10880 (help-add-fundoc-usage): Don't add `Not documented'.
10881 (help-function-arglist): Handle closures, subroutines, and new
10882 byte-code-functions.
10883 (help-make-usage): Remove leading underscores.
10884 (describe-function-1): Handle closures.
10885 (describe-variable): Use special-variable-p for completion.
10886
10887 * files.el (lexical-binding): Declare safe.
f488fb65 10888
03408648
SM
10889 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10890 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10891 (pcase): Add `let' pattern.
10892 Change memoization so it actually works.
10893 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10894 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10895 <let>: New case.
f488fb65 10896
03408648
SM
10897 * emacs-lisp/macroexp.el: Use lexical binding.
10898 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10899 Don't convert ' to #' without checking that it's indeed quoting
10900 a lambda.
10901
10902 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10903 Use eval-sexp-add-defvars.
03408648
SM
10904 (eval-sexp-add-defvars): New fun.
10905
10906 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10907
10908 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10909 Don't autoload.
10910 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10911 than the internal `byte-compile-lambda'.
10912 (defmethod): Don't hide code under quotes.
10913 (eieio-defmethod): New `code' argument.
10914
10915 * emacs-lisp/eieio-comp.el: Remove.
10916
10917 * emacs-lisp/edebug.el (edebug-eval-defun)
10918 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10919 (edebug-toggle): Avoid `eval'.
10920
10921 * emacs-lisp/disass.el (disassemble-internal): Handle new
10922 `closure' objects.
10923 (disassemble-1): Handle new byte codes.
10924
10925 * emacs-lisp/cl.el (pushnew): Silence warning.
10926
10927 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10928 (cl-byte-compile-throw): Remove.
10929 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10930
10931 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10932 closures.
10933
10934 * emacs-lisp/cconv.el: New file.
10935
10936 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10937 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10938 (byte-compile-initial-macro-environment):
10939 Handle declare-function here.
10940 (byte-compile--lexical-environment): New var.
10941 (byte-stack-ref, byte-stack-set, byte-discardN)
10942 (byte-discardN-preserve-tos): New lap codes.
10943 (byte-interactive-p): Don't use any more.
10944 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10945 New macros.
10946 (byte-compile-lapcode): Use them and handle new lap codes.
10947 (byte-compile-obsolete): Remove.
10948 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10949 (byte-compile-arglist-warn): Check late def of inlinable funs.
10950 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10951 since they should have been expanded by now.
10952 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10953 (byte-compile-from-buffer): Remove unused second arg.
10954 (byte-compile-preprocess): New function.
10955 (byte-compile-toplevel-file-form): New function to distinguish
10956 file-form calls from outside from file-form calls from hunk-handlers.
10957 (byte-compile-file-form): Simplify.
10958 (byte-compile-file-form-defsubst): Remove.
10959 (byte-compile-file-form-defmumble): Simplify now that
10960 byte-compile-lambda always returns a byte-code-function.
10961 (byte-compile): Preprocess.
10962 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10963 Remove, not used any more.
10964 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10965 (byte-compile-make-args-desc): New funs.
10966 (byte-compile-lambda): Handle lexical functions. Always return
10967 a byte-code-function.
10968 (byte-compile-reserved-constants): New var, to make up room for
10969 closed-over variables.
10970 (byte-compile-constants-vector): Obey it.
10971 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10972 (byte-compile-macroexpand-declare-function): New function.
10973 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10974 byte-code-functions.
10975 (byte-compile-form): Check obsolescence here.
10976 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10977 (byte-compile-variable-ref): Remove.
10978 (byte-compile-dynamic-variable-op): New fun.
10979 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10980 (byte-compile-variable-set): New funs.
10981 (byte-compile-discard): Add 2 args.
10982 (byte-compile-stack-ref, byte-compile-stack-set)
10983 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10984 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10985 macroexpand-all instead.
10986 (byte-compile-quote-form): Remove.
10987 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10988 (byte-compile-bind, byte-compile-unbind): New funs.
10989 (byte-compile-let): Handle let* and lexical binding.
10990 (byte-compile-let*): Remove.
10991 (byte-compile-catch, byte-compile-unwind-protect)
10992 (byte-compile-track-mouse, byte-compile-condition-case):
10993 Handle a new :fun-body form, used for lexical scoping.
10994 (byte-compile-save-window-excursion)
10995 (byte-compile-with-output-to-temp-buffer): Remove.
10996 (byte-compile-defun): Simplify.
10997 (byte-compile-stack-adjustment): New fun.
10998 (byte-compile-out): Use it.
10999 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11000
11001 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11002 handler any more.
11003
11004 * emacs-lisp/byte-opt.el: Use lexical binding.
11005 (byte-inline-lapcode): Remove (to bytecomp).
11006 (byte-compile-inline-expand): Pay attention to inlining to/from
11007 lexically bound code.
11008 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11009 any more.
11010 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11011 any more and don't call compiler-macros.
11012 (byte-compile-splice-in-already-compiled-code): Remove.
11013 (byte-code): Don't inline any more.
11014 (disassemble-offset): Receive `bytes' as argument rather than via
11015 dynamic scoping.
11016 (byte-compile-tag-number): Declare before first use.
11017 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11018 `return' even if make-spliceable.
11019 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11020 obsolete interactive-p.
11021 (byte-optimize-lapcode): Optimize new lap-codes.
11022 Don't trip up on new form of `byte-constant' lap code.
11023
11024 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11025
11026 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11027
11028 * custom.el (custom-initialize-default, custom-declare-variable):
11029 Use `defvar'.
11030
11031 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11032 New variables.
11033 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11034 (COMPILE_FIRST): Add macroexp and cconv.
11035 * makefile.w32-in: Mirror changes in Makefile.in.
11036
11037 * vc/cvs-status.el:
11038 * vc/diff-mode.el:
11039 * vc/log-edit.el:
11040 * vc/log-view.el:
11041 * vc/smerge-mode.el:
11042 * textmodes/bibtex-style.el:
11043 * textmodes/css.el:
11044 * startup.el:
11045 * uniquify.el:
da91b5f2
CY
11046 * minibuffer.el:
11047 * newcomment.el:
11048 * reveal.el:
11049 * server.el:
11050 * mpc.el:
11051 * emacs-lisp/smie.el:
11052 * doc-view.el:
11053 * dired.el:
03408648
SM
11054 * abbrev.el: Use lexical binding.
11055
0f0c1f27
EZ
110562011-04-01 Eli Zaretskii <eliz@gnu.org>
11057
11058 * info.el (info-display-manual): New function.
11059
c82b2579
SM
110602011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11063
221ddf68
TH
110642011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11065
11066 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11067 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11068
cba6e77e
GM
110692011-03-31 Glenn Morris <rgm@gnu.org>
11070
e040639f
GM
11071 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11072
cba6e77e
GM
11073 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11074
6d0f1c9e
CS
110752011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11076
11077 * progmodes/python.el (python-default-interpreter)
11078 (python-python-command-args, python-jython-command-args)
11079 (python-which-shell, python-which-args, python-which-bufname)
11080 (python-file-queue, python-comint-output-filter-function)
11081 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11082 variables and functions.
11083
3e2d70fd
SM
110842011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11087 (completion-in-region-mode): New minor mode.
11088 (completion-in-region): Use it.
11089 (completion-in-region--data, completion-in-region-mode-map): New vars.
11090 (completion-in-region--postch): New function.
11091 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11092 New vars.
11093 (completion--capf-wrapper): New function.
11094 (completion-at-point): Use it to track well-behavedness of
11095 hook functions.
11096 (completion-help-at-point): New command.
11097
f3e4086c
JM
110982011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11099
11100 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11101 syntax class to search for whitespace on a single line
11102 (Message-ID: <4D938140.4030905@redhat.com>).
11103
eb7ffc14
LL
111042011-03-30 Leo Liu <sdl.web@gmail.com>
11105
11106 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11107 New commands.
11108 (edit-abbrevs-map): Bind them here.
11109 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11110
d806ab68
KM
111112011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11112
11113 * allout.el (allout-hide-by-annotation, allout-flag-region):
11114 Reduce possibility of overlay leakage by making them volatile.
11115
11116 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11117 hash is not shared between buffers. Mode initialization is
11118 responsible for giving it a useful starting value.
11119 (allout-item-span): Reduce possibility of overlay leakage by
11120 making them volatile.
11121 (allout-widgets-count-buttons-in-region): Add diagnostic function
11122 for tracking down button overlay leaks.
11123
ea622834
LL
111242011-03-29 Leo Liu <sdl.web@gmail.com>
11125
11126 * ido.el (ido-read-internal): Use the default history var
11127 minibuffer-history if no HISTORY is specified.
11128
b62f8267
G
111292011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11130
03408648
SM
11131 * net/imap.el (imap-shell-open, imap-process-connection-type):
11132 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11133 Kerberos, SSL, other subprocesses.
11134
947b6566
LL
111352011-03-28 Leo Liu <sdl.web@gmail.com>
11136
11137 * abbrev.el (abbrev-table-empty-p): New function.
11138 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11139 nonempty ones. (Bug#5937)
11140
5ffb62aa
JD
111412011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11142
11143 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11144
7a097943
LL
111452011-03-27 Leo Liu <sdl.web@gmail.com>
11146
11147 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11148 for foreground and background colors.
11149 (ansi-color-make-color-map): Adapt.
11150
c5b40130
LL
111512011-03-25 Leo Liu <sdl.web@gmail.com>
11152
1f48f7d2
LL
11153 * midnight.el (midnight-time-float): Remove. Note it calculates
11154 the microsecond component incorrectly and seconds-to-time does the
11155 same job.
625897ec 11156 Remove redundant (require 'timer).
1f48f7d2 11157
c5b40130
LL
11158 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11159 (ido-completions): Remove unused arguments. (Bug#8329)
11160
d86d2721
SM
111612011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * minibuffer.el (completion--flush-all-sorted-completions):
11164 Remove itself from hook.
11165 (completion-at-point): Let the functions perform the completion
11166 immediately and return nil or t.
11167 * comint.el (comint-dynamic-complete-functions): Now identical to
11168 completion-at-point-functions.
11169 (comint-dynamic-list-input-ring): Remove unused var `index'.
11170 (comint--match-partial-filename, comint--unquote&expand-filename):
11171 New funs, split from comint-match-partial-filename.
11172 (comint-dynamic-complete): Use completion-at-point.
11173 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11174
e8974c48
DA
111752011-03-24 Drew Adams <drew.adams@oracle.com>
11176
11177 * thingatpt.el: Support `defun'.
11178
def71b5e
LL
111792011-03-23 Leo Liu <sdl.web@gmail.com>
11180
cb5af48e
LL
11181 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11182
def71b5e
LL
11183 * help-mode.el (help-mode-finish): Tweak regexp.
11184
927c53e7
GM
111852011-03-23 Glenn Morris <rgm@gnu.org>
11186
18d05bed
GM
11187 * eshell/esh-opt.el (eshell-eval-using-options):
11188 Do not bind unused local variable `eshell-option-stub'.
11189
927c53e7
GM
11190 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11191
9d0da923
JB
111922011-03-22 Juanma Barranquero <lekktu@gmail.com>
11193
11194 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11195 keymap variable in `with-no-warnings' to avoid a warning when the
11196 keymap has been already `defconst'ed.
11197
4b978a67
LL
111982011-03-22 Leo Liu <sdl.web@gmail.com>
11199
11200 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11201 encode all chars in abbrevs; otherwise use emacs-mule or
11202 utf-8-emacs. (Bug#8308)
11203
5fd62452
JB
112042011-03-22 Juanma Barranquero <lekktu@gmail.com>
11205
0b1596c6
JB
11206 * simple.el (backward-delete-char-untabify):
11207 Avoid warning about using `delete-backward-char'.
11208
5fd62452
JB
11209 * image.el (image-type-file-name-regexps): Make it variable.
11210 `imagemagick-register-types' modifies it, and the user may want
11211 to add new extensions for known image types.
11212 (imagemagick-register-types): Throw error if not using ImageMagick.
11213
0b4e93f1
LL
112142011-03-22 Leo Liu <sdl.web@gmail.com>
11215
11216 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11217 located before rcirc-prompt-end-marker.
11218 (rcirc-complete): Error if point is not after rcirc prompt.
11219 Handle the case when table is nil.
9882e214 11220 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11221
fccee4ab
CY
112222011-03-22 Chong Yidong <cyd@stupidchicken.com>
11223
11224 * custom.el (custom--inhibit-theme-enable): Make it affect only
11225 custom-theme-set-variables and custom-theme-set-faces.
11226 (provide-theme): Ignore custom--inhibit-theme-enable.
11227 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11228 (custom-enabling-themes): Delete variable.
d86d2721
SM
11229 (enable-theme): Accept only loaded themes as arguments.
11230 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11231 (custom-enabled-themes): Forbid themes from setting this.
11232 Eliminate use of custom-enabling-themes.
11233 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11234
af896da6
LL
112352011-03-21 Leo Liu <sdl.web@gmail.com>
11236
11237 * ido.el (ido-read-internal): Add ido-selected to history instead
11238 of user input.
11239
78f64af0
SM
112402011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11241
11242 * subr.el (deferred-action-list, deferred-action-function):
11243 Mark obsolete.
11244
b16ac1ec
LL
112452011-03-21 Leo Liu <sdl.web@gmail.com>
11246
810f7698
LL
11247 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11248 change on 2011-02-13 (bug#8309).
11249
b16ac1ec
LL
11250 * minibuffer.el (read-file-name-function): Change default value.
11251 (read-file-name--defaults): Rename from read-file-name-defaults.
11252 (read-file-name-default): Rename from read-file-name.
11253 (read-file-name): Call read-file-name-function.
11254
4e05e67e
GM
112552011-03-21 Glenn Morris <rgm@gnu.org>
11256
11257 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11258 Doc fixes.
11259
4359915b
CY
112602011-03-21 Chong Yidong <cyd@stupidchicken.com>
11261
11262 * cus-theme.el: Add missing provide statement.
11263 (customize-create-theme): Extract theme value correctly.
11264 (custom-theme-visit-theme): Autoload.
11265 (customize-create-theme): Prompt before inserting default faces.
11266
1fe275ee
JB
112672011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11268
11269 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11270 units and musical notes.
11271
cd394be1 112722011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11273
11274 * ido.el (ido-read-internal): Use completing-read-default.
11275 (ido-completing-read): Fix compatibility with completing-read.
11276
7d476bde
CO
112772011-03-20 Christian Ohler <ohler@gnu.org>
11278
11279 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11280 (ert-delete-all-tests): Use `called-interactively-p' rather than
11281 `interactive-p'.
11282 (ert--make-xrefs-region): Respect END.
11283
fe0fb33e
CY
112842011-03-19 Chong Yidong <cyd@stupidchicken.com>
11285
ff854b0b
CY
11286 * dired-aux.el (dired-create-directory): Signal an error if the
11287 directory already exists (Bug#8246).
11288
fe0fb33e
CY
11289 * facemenu.el (list-colors-display): Call list-faces-display
11290 inside with-help-window.
11291 (list-colors-print): Use display property to align the final
11292 column, instead of checking window-width.
11293
576bce32
EZ
112942011-03-19 Eli Zaretskii <eliz@gnu.org>
11295
4d61f28d 11296 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11297 windows-nt systems.
11298 (emerge-protect-metachars): Quote correctly for ms-dos and
11299 windows-nt systems.
11300
89c41d68 113012011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11302
11303 * info.el (info-initialize): Replace all uses of `:' with
11304 path-separator for compatibility with non-Unix systems.
11305 Cache quoting of path-separator. (Bug#8258)
11306
b14e3e21 113072011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11308
11309 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11310 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11311 (mouse-avoidance-mode): Fix typos in docstrings.
11312
4525ce3e
CY
113132011-03-19 Chong Yidong <cyd@stupidchicken.com>
11314
11315 * startup.el (package-subdirectory-regexp): Move from package.el.
11316 Omit \\` and \\', and let callers add them.
11317
11318 * emacs-lisp/package.el (package-strip-version)
11319 (package-load-all-descriptors): Add \\` and \\' to
11320 package-subdirectory-regexp before using it.
11321 (package-untar-buffer): New arg DIR; ensure that file untars only
11322 into this expected directory. Remove superfluous delete-region.
11323 (package-unpack): Caller changed.
11324 (package-tar-file-info): Use package-subdirectory-regexp.
11325
a904a09a 113262011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11327
a904a09a
SM
11328 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11329 diff-mode-shared-map (bug#8284).
11330 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11331
113322011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11333
11334 * calendar/time-date.el (format-seconds): Use assoc instead of
11335 assoc-string, since assoc-string doesn't exist in XEmacs.
11336
171fc304
JB
113372011-03-17 Juanma Barranquero <lekktu@gmail.com>
11338
11339 * custom.el (custom-known-themes): Reflow docstring.
11340 (custom-theme-load-path): Fix typo in docstring.
11341 (load-theme): Fix typo in error message.
11342 (custom-available-themes, custom-variable-theme-value):
11343 Use `let', not `let*'.
11344
d71990a1
JB
113452011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11346
11347 * calc/README: Mention inclusion of musical notes.
11348
11349 * calc/calc-units.el (calc-lu-quant): Rename from
11350 `calc-logunits-quantity'.
11351 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11352 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11353 (calc-db): Rename from `calc-dblevel'.
11354 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11355 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11356 (calc-np): Rename from `calc-nplevel'.
11357 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11358 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11359 (calc-lu-plus): Rename from `calc-logunits-add'.
11360 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11361 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11362 (calc-lu-minus): Rename from `calc-logunits-sub'.
11363 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11364 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11365 (calc-lu-times): Rename from `calc-logunits-mul'.
11366 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11367 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11368 (calc-lu-divide): Rename from `calc-logunits-div'.
11369 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11370 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11371
11372 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11373 functions being autoloaded.
11374
11375 * calc/calc.el (calc-lu-power-reference): Rename from
11376 `calc-logunits-power-reference'.
11377 (calc-lu-field-reference): Rename from
11378 `calc-logunits-field-reference'.
11379
7a71b18d
GM
11380 * calc/calc-help.el (calc-l-prefix-help):
11381 Mention musical note functions.
d71990a1 11382
40c2934b
SM
113832011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * minibuffer.el (completion-all-sorted-completions):
11386 Use :completion-cycle-penalty text property if present.
11387
b0911414
KM
113882011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11389
11390 * allout.el (allout-yank-processing): Adjust for new rebulleting
11391 regime so bullet being yanked is used without prompting the user
11392 for a choice.
11393
8a05b668
JB
113942011-03-16 Juanma Barranquero <lekktu@gmail.com>
11395
11396 * startup.el (command-line): Warn the user that _emacs is deprecated.
11397
5ba5fb81
JB
113982011-03-16 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11401 (delphi-verbose, delphi-comment-face, delphi-string-face)
11402 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11403 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11404 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11405 (delphi-new-comment-line, delphi-font-lock-defaults)
11406 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11407 Fix typos in docstrings.
11408
2dab465b
KM
114092011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11410
5ba5fb81 11411 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11412 Invert the roles of character and string values for INSTEAD, so a
11413 string is used for the more common case of a defaulting prompt.
11414
0adf5618
SM
114152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * progmodes/ruby-mode.el (ruby-backward-sexp):
11418 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11419 * play/gamegrid.el (gamegrid-make-face):
11420 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11421 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11422 * notifications.el (notifications-notify):
11423 * net/xesam.el (xesam-search-engines):
11424 * net/quickurl.el (quickurl-list-insert):
11425 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11426
d72700e5
CY
114272011-03-15 Chong Yidong <cyd@stupidchicken.com>
11428
11429 * startup.el (command-line): Update package subdirectory regexp.
11430
49c5410a
SM
114312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11432
c6eee9aa
SM
11433 * allout.el (allout-abbreviate-flattened-numbering)
11434 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11435
49c5410a
SM
11436 * subr.el (read-char-choice): Only show the cursor after the prompt,
11437 not after the answer.
11438
047b2bb9
KR
114392011-03-15 Kevin Ryde <user42@zip.com.au>
11440
11441 * help-fns.el (variable-at-point): Skip leading quotes, if any
11442 (bug#8253).
11443
0a57d256
SM
114442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11445
11446 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11447 warning message.
11448
77c992bc
MA
114492011-03-14 Michael Albinus <michael.albinus@gmx.de>
11450
11451 * shell.el (shell): When called interactively, offer to change the
11452 shell file name on remote hosts.
11453
eebc475d
TZ
114542011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11455
11456 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11457 integration for LDAP parameters. The host, base, user or binddn,
11458 and secret tokens can be specified in a netrc file, for instance.
11459 This is optional because an `auth-source' parameter must be
11460 specified in the search attributes.
11461
9d05d1ba
JB
114622011-03-13 Juanma Barranquero <lekktu@gmail.com>
11463
11464 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11465
09d9db2c
GM
114662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11469 into declaration. Remove redundant and harmful binding.
11470
114712011-03-12 Eli Zaretskii <eliz@gnu.org>
11472
11473 * files.el (file-ownership-preserved-p): Pass `integer' as an
11474 explicit 2nd argument to `file-attributes'. If the file's owner
11475 is the Administrators group on Windows, and the current user is
11476 Administrator, consider that a match.
11477
11478 * server.el (server-ensure-safe-dir): Consider server directory
11479 safe on MS-Windows if its owner is the Administrators group while
11480 the current Emacs user is Administrator. Use `=' to compare
11481 numerical UIDs, since they could be integers or floats.
11482
219bd536
JB
114832011-03-12 Juanma Barranquero <lekktu@gmail.com>
11484
11485 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11486
f3afd36b
MA
114872011-03-12 Michael Albinus <michael.albinus@gmx.de>
11488
11489 Sync with Tramp 2.2.1.
11490
11491 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11492
11493 * net/trampver.el: Update release number.
11494
3aaaa6f1
SM
114952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11496
94642599
SM
11497 * progmodes/compile.el (compilation--previous-directory): Fix up
11498 various nil/dead-marker mismatches (bug#8014).
11499 (compilation-directory-properties, compilation-error-properties):
11500 Don't call it at a position past the one we're about to change.
11501
3aaaa6f1
SM
11502 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11503 Disable obsolescence warnings in the file that declares it.
11504
14239447
KM
115052011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11506
099c39a4
JB
11507 * allout-widgets.el (allout-widgets-tally):
11508 Initialize allout-widgets-tally as a hash table rather than nil to
11509 prevent mode-line redisplay warnings. Also, clarify the module
11510 description and fix a comment typo.
14239447 11511
135e287c
JB
115122011-03-11 Juanma Barranquero <lekktu@gmail.com>
11513
11514 * help-fns.el (describe-variable): Don't complete keywords.
11515 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11516
ffbf300e
CY
115172011-03-10 Chong Yidong <cyd@stupidchicken.com>
11518
ba08b241
CY
11519 * emacs-lisp/package.el (package-version-join): Impose a standard
11520 string representation for pre/alpha/beta version lists.
11521 (package-unpack-single): Standardize the directory name by passing
11522 it through package-version-join.
11523 (package-strip-rcs-id): Accept any version string that does not
11524 signal an error in version-to-list.
ffbf300e 11525
f346fd6b
MA
115262011-03-10 Michael Albinus <michael.albinus@gmx.de>
11527
11528 * simple.el (delete-trailing-whitespace): Return nil for the
11529 benefit of `write-file-functions'.
11530
ccb55d27
GM
115312011-03-10 Glenn Morris <rgm@gnu.org>
11532
5ceaac0c
GM
11533 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11534
02da65ff
GM
11535 * vc/vc-git.el (vc-git-program): New option.
11536 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11537 (vc-git--call): Use it.
11538
b2f603cc
GM
11539 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11540
5772caab
GM
11541 * cus-edit.el (Custom-newline): If no button at point, look
11542 for a subgroup button at start-of-line. (Bug#2298)
11543
ccb55d27
GM
11544 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11545
ec6ecaed
JD
115462011-03-10 Julien Danjou <julien@danjou.info>
11547
11548 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11549 `cursor-type' is nil.
11550
9d5aa01d
JB
115512011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11552
11553 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11554
b6a5875b
KM
115552011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11556
7a71b18d 11557 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11558 preserves the existing header prefix, rebulleting it if necessary,
11559 rather than replacing it. This is necessary for proper operation
11560 of cooperative addons like allout-widgets.
1154d12e
JB
11561 (allout-make-topic-prefix, allout-rebullet-heading):
11562 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11563 value as alternate bullet to be used, instead of prompting the user
11564 for a bullet character.
b6a5875b 11565
ee545c35
MA
115662011-03-09 Michael Albinus <michael.albinus@gmx.de>
11567
d86d2721
SM
11568 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11569 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11570 `tramp-default-port'.
11571
c47971d7
DD
115722011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11573
11574 * net/rcirc.el (rcirc-handler-001): Remove useless
11575 with-rcirc-process-buffer.
11576 (rcirc-check-auth-status): Swap arguments to string-match.
11577
13522cb4
GM
115782011-03-09 Glenn Morris <rgm@gnu.org>
11579
0be6f4f1
GM
11580 * shell.el (shell-mode):
11581 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11582
13522cb4
GM
11583 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11584 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11585
515de2e3
CY
115862011-03-08 Chong Yidong <cyd@stupidchicken.com>
11587
11588 * emacs-lisp/package.el (package-refresh-contents)
11589 (package-menu-execute): Use condition-case-no-debug.
11590
b511b994
MA
115912011-03-08 Michael Albinus <michael.albinus@gmx.de>
11592
11593 * simple.el (shell-command-to-string): Use `process-file'.
11594
11595 * emacs-lisp/package.el (package-tar-file-info): Handle also
11596 remote files.
11597
d86d2721
SM
11598 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11599 Use `equal' for upload base check.
b511b994 11600
25bbfb31
AM
116012011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11602
11603 * textmodes/texinfo.el (texinfo-environments):
11604 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11605
be996521
GM
116062011-03-08 Glenn Morris <rgm@gnu.org>
11607
e9c8529f
GM
11608 * cus-start.el (cursor-in-non-selected-windows):
11609 Fix :set quoting oddness. (Bug#8192)
11610
be996521
GM
11611 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11612 in some setf expressions. (Bug#2159)
11613
2bb5649e
CY
116142011-03-08 Chong Yidong <cyd@stupidchicken.com>
11615
11616 * custom.el (custom-available-themes): Return themes in
11617 alphabetical order.
11618
33383987 11619See ChangeLog.15 for earlier changes.
e3d51b27
MR
11620
11621;; Local Variables:
11622;; coding: utf-8
e3d51b27
MR
11623;; End:
11624
acaf905b 11625 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11626
11627 This file is part of GNU Emacs.
11628
11629 GNU Emacs is free software: you can redistribute it and/or modify
11630 it under the terms of the GNU General Public License as published by
11631 the Free Software Foundation, either version 3 of the License, or
11632 (at your option) any later version.
11633
11634 GNU Emacs is distributed in the hope that it will be useful,
11635 but WITHOUT ANY WARRANTY; without even the implied warranty of
11636 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11637 GNU General Public License for more details.
11638
11639 You should have received a copy of the GNU General Public License
11640 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.