Further optimise the handling of large macros.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2e492df3
AM
12012-03-16 Alan Mackenzie <acm@muc.de>
2
3 Further optimise the handling of large macros.
4
5 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6 limit to a call of `c-literal-limits'.
7 (c-determine-+ve-limit): New function.
8 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an
9 `and'.
10 (c-guess-basic-syntax): In macros, restrict a search limit to
11 2000.
12 In CASE 5B, restrict a search limit to 500.
13 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14
15 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16 Restrict macro bounds to +-500 from after-change's BEG END.
17
50e94f0c
LL
182012-03-16 Leo Liu <sdl.web@gmail.com>
19
20 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
21
6f09f6ed
AH
222012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
23
24 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
25 `special-mode' setting of `buffer-read-only'. (Bug#11010)
26
c7e73d51
GM
272012-03-16 Glenn Morris <rgm@gnu.org>
28
da986230
GM
29 * view.el (view-buffer, view-buffer-other-window)
30 (view-buffer-other-frame): Doc fixes re special mode-class.
31
0835f01e
GM
32 * subr.el (eval-after-load): If named feature is provided not from
33 a file, run after-load forms. (Bug#10946)
34
c7e73d51
GM
35 * calendar/calendar.el (calendar-insert-at-column):
36 Handle non-unit-width characters a bit better. (Bug#10978)
37
3f2eafd1
CY
382012-03-15 Chong Yidong <cyd@gnu.org>
39
40 * emacs-lisp/ring.el (ring-extend): New function.
41 (ring-insert+extend): Extend the ring correctly (Bug#11019).
42
43 * comint.el (comint-read-input-ring)
44 (comint-add-to-input-history): Grow comint-input-ring lazily.
45
103af3fe
SM
462012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
47
663b1677
SM
48 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
49 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
50
103af3fe
SM
51 * imenu.el: Fix multiple inheritance breakage (bug#9199).
52 (imenu-add-to-menubar): Don't add a redundant index.
53 (imenu-update-menubar): Handle a dynamically composed keymap.
54
899cb7cb
KY
552012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
56
57 * mail/sendmail.el (mail-encode-header):
58 Bind rfc2047-encode-encoded-words to nil.
59
3809f91d
GM
602012-03-13 Glenn Morris <rgm@gnu.org>
61
62 * calendar/calendar.el (calendar-string-spread):
63 Handle non-unit-width characters a bit better. (Bug#10978)
64
9e345a01
LL
652012-03-13 Leo Liu <sdl.web@gmail.com>
66
67 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
68 directory and file as argument (Bug#10822).
69
4a07df36
KS
702012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
71
72 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
73 For dynamically generated code, follow $PC.
74 (gdb-disassembly-handler-custom): Handle no function name case.
75
4aaa9356
TL
762012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
77
78 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
79 * emulation/ws-mode.el (ws-query-replace):
80 * sort.el (sort-regexp-fields):
81 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
82
225979da
SM
832012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
84
85 * dabbrev.el: Fix cycle completion order (bug#10963).
86 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
87 (dabbrev-completion): Don't use an obarray; provide
88 a cycle-sort-function.
89
e2f1fdab
LL
902012-03-12 Leo Liu <sdl.web@gmail.com>
91
92 * simple.el (kill-new): Use equal-including-properties for
93 comparison.
94 (kill-do-not-save-duplicates): Doc fix.
95
b19490ed
SM
962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * dabbrev.el: Fix cycle completion (bug#10963).
99 Use lexical binding and wrap to 80 columns.
100 (dabbrev-completion): Delay computing the list of completions.
101
4b05d722
KH
1022012-03-12 Kenichi Handa <handa@m17n.org>
103
104 * international/quail.el (quail-insert-kbd-layout): Surround each
105 row by LRO and PDF instead of inserting many LRMs. Pad the left
106 and right of each non-spacing marks. Insert invisible space
107 between lower and upper characters to prevent composition.
108
dbbc2e69
SM
1092012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * minibuffer.el (minibuffer-complete): Don't get confused when the
112 function is run twice via different commands (bug#10958).
113 (complete-with-action): Fix docstring.
114
292112ed
CY
1152012-03-12 Chong Yidong <cyd@gnu.org>
116
5d1ac394
CY
117 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
118 (nxml-completion-at-point-function): New function.
119 (nxml-mode): Use it.
120 (nxml-bind-meta-tab-to-complete-flag): Default to t.
121
292112ed
CY
122 * emacs-lisp/package.el (package-unpack, package-unpack-single):
123 Load generated autoloads file before byte compiling (Bug#10970).
124 (package--make-autoloads-and-compile): New helper fun.
125
4098f8f7
CS
1262012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
127
128 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
129
8f754691
MA
1302012-03-11 Michael Albinus <michael.albinus@gmx.de>
131
132 * autorevert.el (auto-revert-handler): Ensure, that
133 file-readable-p is applied only for local files or in
134 auto-revert-tail-mode.
135
e29ab36b
AS
1362012-03-11 Andreas Schwab <schwab@linux-m68k.org>
137
dbbc2e69
SM
138 * server.el (server-eval-at): Handle non-tcp connections.
139 Decode result string.
ad0bf5b6 140
e29ab36b
AS
141 * server.el (server-msg-size): New constant.
142 (server-reply-print): New function.
143 (server-eval-and-print): Use it.
144 (server-eval-at): Use server-quote-arg and server-unquote-arg.
145 Handle -print-nonl.
146
de5939ba
CS
1472012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
148
149 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
150 (Bug#10987).
151
0c93eabf
CY
1522012-03-11 Chong Yidong <cyd@gnu.org>
153
397a688f
CY
154 * simple.el (goto-line): Doc fix (Bug#9938).
155
2cc775f9
CY
156 * subr.el (save-window-excursion): Doc fix (Bug#9979).
157
0c93eabf
CY
158 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
159 when finished (Bug#10963).
160
c491fa41
MR
1612012-03-11 Martin Rudalics <rudalics@gmx.at>
162
163 * window.el (split-window-below): Fix bug in case where
164 split-window-keep-point is nil (Bug#10971).
165
300e8fa5
JL
1662012-03-11 Juri Linkov <juri@jurta.org>
167
168 * replace.el (replace-highlight): Set isearch-word to nil
169 unconditionally. (Bug#10887)
170
dbf6c5a1
EZ
1712012-03-10 Eli Zaretskii <eliz@gnu.org>
172
173 * net/mairix.el (mairix-replace-invalid-chars): Rename from
174 mairix-replace-illegal-chars; all callers changed. Don't remove
175 ^, ~, and = characters: they are meaningful in mairix search
176 specs.
177 (mairix-widget-create-query): Add usage information about mairix
178 search forms: negating words, searching for substrings, etc.
179
b9e501de
JP
1802012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
181
182 * international/fontset.el (font-encoding-alist): Add an entry for
183 ksx1001 (Bug#5667).
184
92795c91
RS
1852012-03-10 Richard Stallman <rms@gnu.org>
186
1694e6c1
RS
187 * mail/sendmail.el (mail-encode-header):
188 Set rfc2047-encode-encoded-words.
189
607e8555
RS
190 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
191
de3bc99a
RS
192 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
193 view buffer means not swapped.
194 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
195 (rmail-write-region-annotate): Error if real text has disappeared.
196
92795c91
RS
197 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
198
699bd04e
CY
1992012-03-10 Chong Yidong <cyd@gnu.org>
200
201 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
202 * emulation/cua-base.el (cua--init-keymaps):
203 Add delete-forward-char to remappings (Bug#9666).
699bd04e 204
570a1714
MR
2052012-03-10 Martin Rudalics <rudalics@gmx.at>
206
dbbc2e69
SM
207 * speedbar.el (speedbar-unhighlight-one-tag-line):
208 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 209
82dcf4e4
CY
2102012-03-10 Chong Yidong <cyd@gnu.org>
211
7a2c7ca7
CY
212 * minibuffer.el (completion-in-region, completion-help-at-point):
213 Give the completion field overlay a high priority (Bug#6830).
214
82dcf4e4
CY
215 * dired.el (dired-goto-file): Recognize absolute file name
216 listings (Bug#7126).
217 (dired-goto-file-1): New helper function.
218 (dired-toggle-read-only): Inhibit warnings.
219
052e28ac
MA
2202012-03-09 Michael Albinus <michael.albinus@gmx.de>
221
222 * net/dbus.el: (dbus-property-handler): Return empty array if
223 there are no properties.
224
95d5e396
LL
2252012-03-09 Leo Liu <sdl.web@gmail.com>
226
227 * savehist.el (savehist-printable): Stricter check for string
228 value (Bug#10937).
229
3f018d6d
EZ
2302012-03-09 Eli Zaretskii <eliz@gnu.org>
231
dbbc2e69
SM
232 * mail/smtpmail.el (smtpmail-send-it):
233 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
234 valid mbox format.
235
f7fd3d79
GM
2362012-03-09 Glenn Morris <rgm@gnu.org>
237
238 * files.el (dir-locals-find-file):
239 Don't check result is regular, readable.
240 (dir-locals-read-from-file): Demote errors.
241
6ff6e72f
EZ
2422012-03-08 Eli Zaretskii <eliz@gnu.org>
243
dbbc2e69
SM
244 * international/quail.el (quail-insert-kbd-layout):
245 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
246 layout cell, to prevent their reordering by bidi display engine.
247 For details, see the discussion in
248 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
249
9cec7834
AM
2502012-03-08 Alan Mackenzie <acm@muc.de>
251
252 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
253 the starting position; make it extend the marked region when
254 invoked repeatedly - all under appropriate circumstances.
255 Fixes bugs #5525, #10906.
256
9a40b8d4
GM
2572012-03-08 Glenn Morris <rgm@gnu.org>
258
259 * files.el (locate-dominating-file, dir-locals-find-file):
260 Undo 2012-03-06 change.
261
7a08ed35
EZ
2622012-03-07 Eli Zaretskii <eliz@gnu.org>
263
dbbc2e69
SM
264 * international/quail.el (quail-help):
265 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
266 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
267 for the reason.
268
5aca4f71 2692012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
270
271 Avoid superfluous registering of signals. (Bug#10807)
272
273 * notifications.el (notifications-on-action-object)
274 (notifications-on-close-object): New defvars.
275 (notifications-on-action-signal, notifications-on-closed-signal):
276 Unregister the signal if not needed any longer.
277 (notifications-notify): Register `notifications-action-signal' or
278 `notifications-closed-signal', if :on-action or :on-close has been
279 passed as argument.
280
78e8b10a
CY
2812012-03-07 Chong Yidong <cyd@gnu.org>
282
283 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
284 non-X platforms.
285
69481eb8
GM
2862012-03-06 Glenn Morris <rgm@gnu.org>
287
288 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
289 (x-disown-selection-internal, x-get-selection-internal):
290 Doc fix (add arglist signatures). (Bug#10783)
291
133b8e11
KS
2922012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
293
294 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
295 Handle breakpoints with no "type".
296
99a83064
GM
2972012-03-06 Glenn Morris <rgm@gnu.org>
298
299 * files.el (locate-dominating-file): Add optional predicate argument.
300 (dir-locals-find-file): Make use of above change.
301
17798e78
TTN
3022012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
303
304 * info.el (Info-insert-dir): Also try "dir.gz".
305
eb182446
GM
3062012-03-06 Glenn Morris <rgm@gnu.org>
307
8f2114ee
GM
308 * files.el (dir-locals-find-file):
309 Ignore non-readable or non-regular files. (Bug#10928)
310
eb182446
GM
311 * files.el (locate-dominating-file): Doc fix.
312
24679323
AS
3132012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
314
315 * calendar/calendar.el (calendar-set-mode-line):
316 `getenv' returns a string. (Bug#10951)
317
01d972a9
LL
3182012-03-05 Leo Liu <sdl.web@gmail.com>
319
109aa8a9
LL
320 * simple.el (backward-delete-char-untabify): Constrain point to
321 field (Bug#10939).
322
01d972a9
LL
323 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
324
10607bea
CY
3252012-03-05 Chong Yidong <cyd@gnu.org>
326
327 * simple.el (count-words): If called from Lisp, return the word
328 count, for symmetry with `count-lines'. Arglist changed.
329 (count-words--message): Args changed. Consolidate counting code
330 from count-words and count-words-region.
331 (count-words-region): Caller changed.
332 (count-lines-region): Make it an obsolete alias.
333
5dd11cfe
TH
3342012-03-04 Tassilo Horn <tassilo@member.fsf.org>
335
336 * saveplace.el (save-place-to-alist)
337 (save-place-ignore-files-regexp): Allow value nil to disable this
338 feature.
339
c349f4e6
CY
3402012-03-04 Chong Yidong <cyd@gnu.org>
341
342 * faces.el (face-spec-reset-face): For the default face, reset the
343 attributes to default values (Bug#10748).
344
e627be4c
LMI
3452012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
346
347 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
348 previous patch: Check `message-send-mail-function', and not the
349 default function (bug#10897).
350
ebeabff4
MA
3512012-03-04 Michael Albinus <michael.albinus@gmx.de>
352
a41a6cf4
MA
353 * notifications.el (notifications-on-action-signal)
354 (notifications-on-closed-signal): Check for unique service name of
355 incoming event. Fix error in removing entry.
ebeabff4 356 (top): Register for signals with wildcard service name.
a41a6cf4 357 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 358
c1ca42b4
CY
3592012-03-04 Chong Yidong <cyd@gnu.org>
360
361 * cus-start.el: Make x-select-enable-clipboard-manager
362 customizable.
363
ea16568d
GM
3642012-03-04 Glenn Morris <rgm@gnu.org>
365
366 * abbrev.el (copy-abbrev-table, abbrev-table-p)
367 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
368 (expand-abbrev, define-abbrev-table): Doc fixes.
369
fbae4637
LMI
3702012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
371
372 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
373 `message-default-send-mail-function' and not `send-mail-function'
374 when doing the prompting for `sendmail-query-once' before sending
375 in Message buffers (bug#10897).
376
a1e7225c
LMI
377 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
378 This is inconsistent with all the other stream functions, which leave
379 the setting up to the higher levels (if so wanted) (bug#10931).
380
56d093a9
AM
3812012-03-02 Alan Mackenzie <acm@muc.de>
382
383 Depessimize the handling of very large macros.
384
385 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
386 (c-macro-cache-syntactic): New variables to implement a one
387 element macro cache.
388 (c-invalidate-macro-cache): New function.
389 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
390 Adapt to use the new cache.
391 (c-state-safe-place): Use better the cache of safe positions.
392 (c-state-semi-nonlit-pos-cache)
393 (c-state-semi-nonlit-pos-cache-limit):
394 New variables for...
395 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
396 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
397 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
398 Use c-state-semi-safe-place.
56d093a9 399
dbbc2e69
SM
400 * progmodes/cc-langs.el (c-get-state-before-change-functions):
401 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 402
817e5c3d
MA
4032012-03-02 Michael Albinus <michael.albinus@gmx.de>
404
dbbc2e69
SM
405 * jka-compr.el (jka-compr-call-process):
406 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
407 not remote.
408
a032a702
MA
4092012-03-01 Michael Albinus <michael.albinus@gmx.de>
410
411 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
412 access of FILE2, if FILE1 does not exist.
413
99a54f21
MA
414 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
415 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
416
417 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
418 Add "PAGER=" to `process-environment'.
419
f6561e1f
MM
4202012-03-01 Michael R. Mauger <mmaug@yahoo.com>
421
422 * progmodes/sql.el: Bug fix
423 (sql-get-login-ext): Save login values in globals.
424 (sql-get-login): Use new version of `sql-get-login-ext'.
425 (sql-interactive-mode): Set global `sql-connection' to nil.
426 (sql-connect): Set global values for connection.
427 (sql-product-interactive): Save global values as buffer local.
428
2d44d9cc
LL
4292012-02-29 Leo Liu <sdl.web@gmail.com>
430
431 * abbrev.el (define-abbrevs): Reset sys to nil.
432
96b49301 4332012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
434
bf7f9bc5
JB
435 * files.el (file-equal-p): Rename from `files-equal-p'.
436 Return nil when one or both files don't exist.
96b49301 437 (file-subdir-of-p): Now only top directory must exists,
438 return nil if it doesn't.
bf7f9bc5
JB
439 (copy-directory): No need to test with `file-subdir-of-p' after
440 creating dir.
441 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
442 to `file-equal-p'.
96b49301 443
44e97401
GM
4442012-02-28 Glenn Morris <rgm@gnu.org>
445
446 * shell.el (shell-mode):
447 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
448 * play/landmark.el (landmark-font-lock-face-O):
449 * play/handwrite.el (handwrite):
450 * play/gomoku.el (gomoku-O):
451 * net/browse-url.el (browse-url-browser-display):
452 * international/mule.el (define-charset):
453 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
454 * filesets.el (filesets-find-file-delay):
455 * eshell/em-xtra.el (eshell-xtra):
456 * eshell/em-unix.el (eshell-grep):
457 * emulation/viper.el (viper-mode):
458 * emacs-lisp/regexp-opt.el (regexp-opt-group):
459 * emacs-lisp/easymenu.el (easy-menu-define):
460 * calendar/timeclock.el (timeclock-use-display-time):
461 * bs.el (bs-mode):
462 * bookmark.el (bookmark-save-flag):
463 Doc fix (standardize possessive apostrophe usage).
464
c98c6276
CY
4652012-02-27 Chong Yidong <cyd@gnu.org>
466
bf7f9bc5
JB
467 * emulation/viper-cmd.el (viper-intercept-ESC-key):
468 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 469
c98c6276
CY
470 * font-lock.el (font-lock-specified-p): Rename from
471 font-lock-spec-present. Callers changed.
472
9c62cd04 4732012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 474
bf7f9bc5
JB
475 * emacs-lisp/package.el (package-compute-transaction):
476 Handle holding a package version to t in package-load-list.
8ac9e529 477
530739c9
MA
4782012-02-26 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
481 (tramp-get-inode, tramp-get-device): Use cached values.
482
487915d7
AM
4832012-02-26 Alan Mackenzie <acm@muc.de>
484
485 Check there is a font-lock specification before doing initial
486 fontification.
487
488 * font-core.el (font-lock-mode): Move the conditional from
489 :after-hook to font-lock-initial-fontify.
490 (font-lock-default-function): Move the check for a specification
491 to font-lock-spec-present.
492
493 * font-lock.el (font-lock-initial-fontify): call ...
494 (font-lock-spec-present): New function.
495
4fd96557
JB
4962012-02-26 Jim Blandy <jimb@red-bean.com>
497
498 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
499 (gdb-send): Apply it to the operand of the '-interpreter-exec
500 console' command, so that we can pass arguments with (say) quotes
501 in them. Store exact string sent in gdb-debug-log (Bug#10765).
502
9a4888c0
CY
5032012-02-26 Chong Yidong <cyd@gnu.org>
504
07498861
CY
505 * help-fns.el (describe-function-1): Clarify description of
506 remapping (Bug#10844).
507
9a4888c0
CY
508 * files.el (files-equal-p): Doc fix.
509 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
510 and quit the loop once a mismatch is found.
511
ea8fb88d
JB
5122012-02-25 Juanma Barranquero <lekktu@gmail.com>
513
514 * bs.el (bs--show-with-configuration): Don't throw an error
515 if the window cannot be split; otherwise, subsequent calls to
516 bs-show fail, restoring a stale window config. (Bug#10882)
517
525795c1
JD
5182012-02-25 Jan Djärv <jan.h.d@swipnet.se>
519
520 * term/ns-win.el (global-map): Bind ns-drag-file to
521 ns-find-file (Bug#5855, Bug#10050).
522
f008086f
AS
5232012-02-25 Andreas Schwab <schwab@linux-m68k.org>
524
525 * calendar/parse-time.el (parse-time-string): Allow extractor to
526 return nil.
527
a3fcfa99
MA
5282012-02-25 Michael Albinus <michael.albinus@gmx.de>
529
91027d08
JB
530 * net/tramp.el (tramp-file-name-for-operation):
531 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
532
533 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
534 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
535 Add COPY-CONTENTS argument.
a3fcfa99 536
67b0de11
CY
5372012-02-25 Chong Yidong <cyd@gnu.org>
538
539 Add custom groups for VC backends, for consistency with vc-bzr.
540
541 * vc/vc-arch.el (vc-arch):
542 * vc/vc-cvs.el (vc-cvs):
543 * vc/vc-git.el (vc-git):
544 * vc/vc-hg.el (vc-hg):
545 * vc/vc-mtn.el (vc-mtn):
546 * vc/vc-rcs.el (vc-rcs):
547 * vc/vc-sccs.el (vc-sccs):
548 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
549 All relevant defcustoms reassigned.
550
3c9dfce6
CY
5512012-02-25 Chong Yidong <cyd@gnu.org>
552
1339bf43
CY
553 * newcomment.el (comment-styles): Add autoload (Bug#10868).
554
3c9dfce6
CY
555 * term/x-win.el (x-initialize-window-system): Reduce default for
556 x-selection-timeout to 5 seconds (Bug#8869).
557
53a46cd0 5582012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 559
53a46cd0 560 * files.el (file-subdir-of-p): Fix typo.
14a8a663 561
25b2e303 5622012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
563
ec70a47d
GM
564 * files.el (files-equal-p, file-subdir-of-p): New functions.
565 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 566 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
567 * dired-aux.el (dired-copy-file-recursive): Same.
568 (dired-create-files): Modify destination when source is equal to
569 dest when copying files.
53a46cd0 570 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 571
914260cd
MA
5722012-02-24 Michael Albinus <michael.albinus@gmx.de>
573
574 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
575 (Bug#10874)
576
2cb228f7
AM
5772012-02-23 Alan Mackenzie <acm@muc.de>
578
579 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
580 parameter "after-hook:" to allow the expansion to run code after
581 the execution of the mode hooks.
582
583 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 584 from font-lock-mode-internal.
2cb228f7 585
91027d08 586 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
587 :after-hook.
588
8f0fde21
SM
5892012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
590
3e88618b
SM
591 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
592 (completion--cache-all-sorted-completions): New function.
593 (completion-all-sorted-completions): Use it.
594 (completion--do-completion, minibuffer-force-complete):
595 Use it to re-instate the flush hook.
596
8f0fde21
SM
597 * icomplete.el (icomplete-completions): Replace last fix with a better
598 one (bug#10850).
599
8e911f6f
DG
6002012-02-23 Dmitry Gutov <dgutov@yandex.ru>
601
602 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
603 when it might call us back infinitely (bug#10797).
604
49fe4321
GM
6052012-02-23 Glenn Morris <rgm@gnu.org>
606
607 * minibuffer.el (completion-category-overrides): Doc fix.
608
b291b572
SM
6092012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * minibuffer.el (completion-table-with-context): Fix inf-loop.
612 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
613
31a9ef2e
GM
6142012-02-23 Glenn Morris <rgm@gnu.org>
615
5e6e6794 616 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
617 (authors-obsolete-files-regexps, authors-ignored-files)
618 (authors-ambiguous-files, authors-renamed-files-alist):
619 Add more entries.
620
0bd1e074
JL
6212012-02-23 Juri Linkov <juri@jurta.org>
622
623 * isearch.el (isearch-occur): Sync interactive spec with occur's
624 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
625
b617673c
JL
626 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
627
19e9789e
JL
6282012-02-22 Juri Linkov <juri@jurta.org>
629
630 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
631 (ucs-insert): Doc fix. Check for hex digits in the string.
632 Don't display `nil' in the error message. (Bug#10857)
633
f41ce09d
AM
6342012-02-22 Alan Mackenzie <acm@muc.de>
635
7a71b18d 636 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 637
ac2eceee
GM
6382012-02-22 Glenn Morris <rgm@gnu.org>
639
640 * ffap.el (ffap-c-path):
641 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
642
abd1f678
CY
6432012-02-22 Chong Yidong <cyd@gnu.org>
644
645 * custom.el (load-theme): Doc fix.
646
f25aef2e
GM
6472012-02-22 Glenn Morris <rgm@gnu.org>
648
649 * dired-x.el (dired-guess-shell-alist-default):
650 Remove escape sequences from nroff output. (Bug#172)
651
5f8dc2ca
GM
6522012-02-21 Glenn Morris <rgm@gnu.org>
653
6ff86ec4
GM
654 * vc/emerge.el (emerge-defvar-local):
655 Set `permanent-local' property rather than unused `preserved'.
656
be3223a3 657 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
658 (picture-mode-map): Use it. (Bug#10860)
659 (picture-mode): Doc fix.
660
3fe58f4f
JB
6612012-02-21 Juanma Barranquero <lekktu@gmail.com>
662
663 * newcomment.el (uncomment-region-default): Remove unused binding.
664
f9a998c3
GM
6652012-02-21 Glenn Morris <rgm@gnu.org>
666
667 * textmodes/picture.el (picture-motion, picture-motion-reverse)
668 (picture-self-insert, picture-tab-chars): Doc fix.
669 (picture-mode-map): Fix C-a, C-e.
670
c6029348
GM
6712012-02-20 Glenn Morris <rgm@gnu.org>
672
673 * emacs-lisp/authors.el (authors-aliases): Add another entry.
674
ab1ce9d7
LL
6752012-02-20 Leo Liu <sdl.web@gmail.com>
676
677 * icomplete.el (icomplete-completions): Check FROM arg before
678 passing to substring (Bug#10850).
679
0fd40f89
CY
6802012-02-19 Chong Yidong <cyd@gnu.org>
681
682 * comint.el: Require ansi-color.
683 (comint-output-filter-functions): Add ansi-color-process-output.
684
685 * ansi-color.el: Don't set comint-output-filter-functions; it is
686 now in the initial value defined in comint.el.
687 (ansi-color-apply-face-function): New variable.
688 (ansi-color-apply-on-region): Use it.
689 (ansi-color-apply-overlay-face): New function.
690
691 * shell.el (shell): No need to require ansi-color.
692 (shell-mode): Use ansi-color-apply-face-function to highlight
693 color escapes using font-lock-face property (Bug#10835).
694
20af2394
CY
6952012-02-19 Chong Yidong <cyd@gnu.org>
696
697 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
698 mode-line formats (Bug#10839).
699
e23a3fbe
GM
7002012-02-18 Glenn Morris <rgm@gnu.org>
701
b474519e
GM
702 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
703
704 * mail/undigest.el (unforward-rmail-message): Doc fix.
705
e23a3fbe
GM
706 * saveplace.el (save-place-ignore-files-regexp): Add :version.
707
57939ff4
EZ
7082012-02-18 Eli Zaretskii <eliz@gnu.org>
709
710 * international/characters.el (script-list): Sync with the latest
711 Unicode Character Database.
712
0c23686e
AS
7132012-02-18 Andreas Schwab <schwab@linux-m68k.org>
714
715 * international/titdic-cnv.el: Remove duplicate coding tag.
716 * language/cham.el: Likewise.
717 * language/tai-viet.el: Likewise.
718
6818b449
GM
7192012-02-18 Glenn Morris <rgm@gnu.org>
720
721 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
722 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
723 (calendar-bahai-all-holidays-flag, calendar-other-dates):
724 * calendar/diary-lib.el (diary-abbreviated-year-flag):
725 * calendar/holidays.el (holiday-bahai-holidays)
726 (calendar-holidays, list-holidays):
727 Use utf-8 Bahá'í in doc-strings, menus, etc.
728
0311a3fc
TH
7292012-02-17 Tassilo Horn <tassilo@member.fsf.org>
730
731 * saveplace.el (save-place-ignore-files-regexp): New variable
732 allowing for excluding files from saving their location of point.
733 The default value matches the temporary commit message editing
734 files from Git, SVN, Bazaar, and Mercurial.
735 (save-place-to-alist): Use it.
736
eb864a71
LM
7372012-02-17 Lawrence Mitchell <wence@gmx.li>
738 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * newcomment.el (uncomment-region-default): Don't leave extra space
741 when an arg is provided (bug#8150).
742
ee0ce425
TZ
7432012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
744
eb864a71 745 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 746
95ddf442
GM
7472012-02-17 Glenn Morris <rgm@gnu.org>
748
749 * net/socks.el: Require network-stream. (Bug#10599)
750
48dd1e39 7512012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
752
753 * international/charprop.el:
754 * international/uni-name.el:
755 * international/uni-old-name.el:
756 * international/uni-comment.el: Regenerate.
757
d68cd087
GM
7582012-02-16 Glenn Morris <rgm@gnu.org>
759
760 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
761 Interactively in calendar buffer, give an error if not on a date.
762
13932042
GM
7632012-02-15 Glenn Morris <rgm@gnu.org>
764
765 * shell.el (shell-delimiter-argument-list):
766 Revert 2011-02-17 change. (Bug#8027)
767
c3a70e2b
CY
7682012-02-15 Chong Yidong <cyd@gnu.org>
769
60236b0d
CY
770 * minibuffer.el (completion-at-point-functions): Doc fix.
771
c3a70e2b
CY
772 * custom.el (defcustom): Doc fix; note use of defvar.
773
9f26dc24
GM
7742012-02-15 Glenn Morris <rgm@gnu.org>
775
776 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
777 Doc fixes.
778
6546b134
GM
7792012-02-14 Glenn Morris <rgm@gnu.org>
780
781 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
782
d29b2b4c
LI
7832012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
784
785 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
786 way the ports list is computed.
835bdcba
LI
787 (smtpmail-query-smtp-server): Prompt the user for a port number if
788 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 789
08dcdbc9
TZ
7902012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
791
792 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
793
2605051a
GM
7942012-02-13 Glenn Morris <rgm@gnu.org>
795
796 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
797
7ee99f32
TZ
7982012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
799
800 * net/gnutls.el (gnutls-trustfiles): New variable.
801 (gnutls-negotiate): Use it.
802
5f0af64f
LI
8032012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
804
805 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
806 does its stuff if Gnus is running.
807
c14fcc95
AM
8082012-02-13 Alan Mackenzie <acm@muc.de>
809
810 Fix a loop in c-set-fl-decl-start.
811
7a71b18d 812 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
813 c-backward-syntactic-ws actually moves backwards.
814
142b4d90
LL
8152012-02-13 Leo Liu <sdl.web@gmail.com>
816
817 * net/rcirc.el (rcirc-markup-attributes): Move point to the
818 beginning so that all \C-o chars are removed.
819
fa9958a6
TZ
8202012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
821
822 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
823 tag.
824
0bc5886a
AM
8252012-02-12 Alan Mackenzie <acm@muc.de>
826
827 Fix infinite loop with long macros.
828 * cc-engine.el (c-state-safe-place): Handle macros properly.
829
d4bd55e7
CY
8302012-02-12 Chong Yidong <cyd@gnu.org>
831
832 * window.el (display-buffer): Doc fix (Bug#10785).
833
66f3fe22
GM
8342012-02-12 Glenn Morris <rgm@gnu.org>
835
bd7da63e
GM
836 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
837 (x-disown-selection-internal, x-get-selection-internal):
838 Sync docs with the xselect.c versions.
839
66f3fe22
GM
840 * allout-widgets.el: Add missing license notice.
841
3e0d2fa7
GM
8422012-02-11 Glenn Morris <rgm@gnu.org>
843
cfecdf09
GM
844 * select.el (x-get-selection-internal, x-own-selection-internal)
845 (x-disown-selection-internal):
846 * x-dnd.el (x-get-selection-internal): Update declarations.
847
6d216d7f
GM
848 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
849
2bed3f04
GM
850 * window.el (window-sides-slots):
851 * tool-bar.el (tool-bar-position):
852 * term/xterm.el (xterm-extra-capabilities):
853 * ses.el (ses-self-reference-early-detection):
854 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
855 (verilog-auto-wire-type)
856 (verilog-auto-delete-trailing-whitespace)
857 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
858 (verilog-auto-tieoff-declaration):
859 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
860 (sql-oracle-statement-starters, sql-oracle-scan-on):
861 * progmodes/prolog.el (prolog-align-comments-flag)
862 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
863 (prolog-left-indent-regexp, prolog-paren-indent-p)
864 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
865 (prolog-types, prolog-mode-specificators)
866 (prolog-determinism-specificators, prolog-directives)
867 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
868 (prolog-electric-dot-flag)
869 (prolog-electric-dot-full-predicate-template)
870 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
871 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
872 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
873 (prolog-program-switches, prolog-prompt-regexp)
874 (prolog-debug-on-string, prolog-debug-off-string)
875 (prolog-trace-on-string, prolog-trace-off-string)
876 (prolog-zip-on-string, prolog-zip-off-string)
877 (prolog-use-standard-consult-compile-method-flag)
878 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
879 (prolog-imenu-max-lines, prolog-info-predicate-index)
880 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
881 (prolog-char-quote-workaround):
882 * progmodes/cc-vars.el (c-defun-tactic):
883 * net/tramp.el (tramp-encoding-command-interactive)
884 (tramp-local-end-of-line):
885 * net/soap-client.el (soap-client):
886 * net/netrc.el (netrc-file):
887 * net/gnutls.el (gnutls):
888 * minibuffer.el (completion-category-overrides)
889 (completion-cycle-threshold)
890 (completion-pcm-complete-word-inserts-delimiters):
891 * man.el (Man-name-local-regexp):
892 * mail/feedmail.el (feedmail-display-full-frame):
893 * international/characters.el (glyphless-char-display-control):
894 * eshell/em-ls.el (eshell-ls-date-format):
895 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
896 (lisp-lambda-list-keyword-parameter-indentation)
897 (lisp-lambda-list-keyword-parameter-alignment):
898 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
899 * dired-x.el (dired-omit-verbose):
900 * cus-theme.el (custom-theme-allow-multiple-selections):
901 * calc/calc.el (calc-highlight-selections-with-faces)
902 (calc-lu-field-reference, calc-lu-power-reference)
903 (calc-note-threshold):
904 * battery.el (battery-mode-line-limit):
905 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
906 (archive-7z-update):
907 * allout.el (allout-prefixed-keybindings)
908 (allout-unprefixed-keybindings)
909 (allout-inhibit-auto-fill-on-headline)
910 (allout-flattened-numbering-abbreviation):
911 * allout-widgets.el (allout-widgets-auto-activation)
912 (allout-widgets-icons-dark-subdir)
913 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
914 (allout-widgets-theme-dark-background)
915 (allout-widgets-theme-light-background)
916 (allout-widgets-item-image-properties-emacs)
917 (allout-widgets-item-image-properties-xemacs)
918 (allout-widgets-run-unit-tests-on-load)
919 (allout-widgets-time-decoration-activity)
920 (allout-widgets-hook-error-post-time)
921 (allout-widgets-track-decoration):
922 Add missing :version tags to new defcustoms and defgroups.
923
5fec1b8e
GM
924 * progmodes/sql.el (sql-ansi-statement-starters)
925 (sql-oracle-statement-starters): Add custom type.
926
3e0d2fa7
GM
927 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
928 (prolog-system-version): Give it a type.
929
90b671e2
EZ
9302012-02-11 Eli Zaretskii <eliz@gnu.org>
931
932 * term/pc-win.el (x-select-text, x-selection-owner-p)
933 (x-own-selection-internal, x-disown-selection-internal)
934 (x-get-selection-internal): Sync doc strings and argument lists
935 with xselect.c, common-win.el and x-win.el. (Bug#10783)
936
5eac0c02
LL
9372012-02-11 Leo Liu <sdl.web@gmail.com>
938
939 * progmodes/python.el (python-end-of-statement): Fix infinite
940 loop. (Bug#10788)
941
f82cb659
GM
9422012-02-10 Glenn Morris <rgm@gnu.org>
943
944 * international/mule-cmds.el (unify-8859-on-encoding-mode)
945 (unify-8859-on-decoding-mode): Properly mark as obsolete.
946
cc26d239
LI
9472012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
948
949 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
950 about SMTP before checking the From header.
951
91027d08 952 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
953 into own function for reuse by emacsbug.el.
954
1be3ca5a
LL
9552012-02-10 Leo Liu <sdl.web@gmail.com>
956
957 * subr.el (condition-case-unless-debug): Rename from
958 condition-case-no-debug. All callers changed.
959 (with-demoted-errors): Fix caller.
960
961 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
962 * nxml/rng-valid.el (rng-do-some-validation):
963 * emacs-lisp/package.el (package-refresh-contents)
964 (package-menu-execute):
965 * desktop.el (desktop-create-buffer):
91027d08 966 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 967
b011fbfe
GM
9682012-02-10 Glenn Morris <rgm@gnu.org>
969
b2096d72
GM
970 * textmodes/bibtex.el:
971 Add missing :version tags for new/changed defcustoms.
972
b011fbfe
GM
973 * files.el (remote-file-name-inhibit-cache): Doc fixes.
974
4c7e65bf
LI
9752012-02-09 Lars Ingebrigtsen <larsi@rusty>
976
977 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
978 (smtpmail-via-smtp): Use it, or fall back on the From address.
979 (smtpmail-send-it): Ditto.
980
f3934f6f
SM
9812012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
982
983 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
984 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
985 (byte-compile-tmp-var): New const.
986 (byte-compile-defvar): Use it to minimize .elc size.
987 Just use `defvar' rather than simulate it (bug#10761).
988
a075a2c5
GM
9892012-02-09 Glenn Morris <rgm@gnu.org>
990
cf3aa21b
GM
991 * files.el (rename-uniquely): Doc fix. (Bug#3806)
992
354998cd
GM
993 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
994 Add :version tags.
995
83274125 996 * progmodes/compile.el (compilation-first-column)
34c071c6 997 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 998
dab3703d
GM
999 * vc/log-view.el (log-view-toggle-entry-display):
1000 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1001
3f88cd72
GM
1002 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1003 (report-emacs-bug-can-use-xdg-email):
1004 (report-emacs-bug-insert-to-mailer): Doc fixes.
1005 (report-emacs-bug): Message fix.
1006
d95b247d
GM
1007 * net/browse-url.el (browse-url-can-use-xdg-open)
1008 (browse-url-xdg-open): Doc fixes.
1009
a075a2c5
GM
1010 * electric.el (electric-indent-mode, electric-pair-mode)
1011 (electric-layout-rules, electric-layout-mode): Doc fixes.
1012 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1013
ffb6157e
MR
10142012-02-08 Martin Rudalics <rudalics@gmx.at>
1015
1016 * server.el (server-unselect-display): Don't inadvertently kill
1017 the current buffer. (Bug#10729)
1018
e1ac4066
GM
10192012-02-08 Glenn Morris <rgm@gnu.org>
1020
34e8a2da
GM
1021 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1022 (sql-list-table): Doc fixes.
1023
b4ac6e8c
GM
1024 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1025 Comment out (does nothing).
1026
e1ac4066
GM
1027 * completion.el (dynamic-completion-mode):
1028 * dirtrack.el (dirtrack-debug-mode):
1029 * electric.el (electric-layout-mode):
1030 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1031 * face-remap.el (text-scale-mode, buffer-face-mode):
1032 * iimage.el (iimage-mode):
1033 * image-mode.el (image-transform-mode):
1034 * minibuffer.el (completion-in-region-mode):
1035 * scroll-lock.el (scroll-lock-mode):
1036 * simple.el (next-error-follow-minor-mode):
1037 * tar-mode.el (tar-subfile-mode):
1038 * tooltip.el (tooltip-mode):
1039 * vcursor.el (vcursor-use-vcursor-map):
1040 * wid-browse.el (widget-minor-mode):
1041 * emulation/tpu-edt.el (tpu-edt-mode):
1042 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1043 * international/iso-ascii.el (iso-ascii-mode):
1044 * language/thai-util.el (thai-word-mode):
1045 * mail/supercite.el (sc-minor-mode):
1046 * net/goto-addr.el (goto-address-mode):
1047 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1048 * progmodes/cwarn.el (cwarn-mode):
1049 * progmodes/flymake.el (flymake-mode):
1050 * progmodes/glasses.el (glasses-mode):
1051 * progmodes/hideshow.el (hs-minor-mode):
1052 * progmodes/pascal.el (pascal-outline-mode):
1053 * textmodes/enriched.el (enriched-mode):
1054 * vc/smerge-mode.el (smerge-mode):
1055 Doc fixes (minor mode argument).
1056
5e0d957f
EZ
10572012-02-07 Eli Zaretskii <eliz@gnu.org>
1058
1059 * ls-lisp.el (ls-lisp-sanitize): New function.
1060 (ls-lisp-insert-directory): Use it to fix or remove any elements
1061 in file-alist with missing attributes. (Bug#4673)
1062
98d7371e
AM
10632012-02-07 Alan Mackenzie <acm@muc.de>
1064
1065 Fix spurious recognition of c-in-knr-argdecl.
1066
1067 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1068 putative K&R region.
1069
667ced3a
AM
10702012-02-07 Alan Mackenzie <acm@muc.de>
1071
eb864a71
LM
1072 * progmodes/cc-engine.el (c-forward-objc-directive):
1073 Prevent looping in "#pragma mark @implementation".
667ced3a 1074
5b77774d
MA
10752012-02-07 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * notifications.el (notifications-on-closed-signal): Make `reason'
1078 optional. (Bug#10744)
1079
af008560
GM
10802012-02-07 Glenn Morris <rgm@gnu.org>
1081
60d47423
GM
1082 * emacs-lisp/easy-mmode.el (define-minor-mode):
1083 Doc fixes for the macro and the mode it defines.
1084
dd605cc4
GM
1085 * image.el (imagemagick-types-inhibit): Doc fix.
1086
af008560
GM
1087 * cus-start.el (imagemagick-render-type): Add it.
1088
5cc59a37
LI
10892012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1090
1091 * progmodes/cc-mode.el
1092 (c-standard-font-lock-fontify-region-function): Set the default at
1093 load time, too, so that `font-lock-fontify-buffer' can be called
1094 without setting up the entire mode first. This fixes a bug in
1095 `mm-inline-text' with C MIME parts.
1096
9a6dd747
CY
10972012-02-06 Chong Yidong <cyd@gnu.org>
1098
2d16b285
CY
1099 * simple.el (list-processes--refresh): Delete exited processes
1100 (Bug#8094).
1101
171e9b6e
CY
1102 * comint.el (comint-next-prompt): next-single-char-property-change
1103 and prev-single-char-property-change never return nil (Bug#8657).
1104
9a6dd747
CY
1105 * custom.el (defcustom): Doc fix (Bug#9711).
1106
aa4589a7
CY
11072012-02-05 Chong Yidong <cyd@gnu.org>
1108
5c2a252f
CY
1109 * cus-edit.el (custom-variable-reset-backup): Quote the value
1110 before storing it in the customized-value property (Bug#6712).
4aab9006 1111 (custom-display): Add a customization type tag.
983b9602 1112 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1113
aa4589a7
CY
1114 * wid-edit.el (widget-field-value-get): New optional arg to
1115 suppress trailing whitespace truncation.
1116 (character): Use it (Bug#2689).
1117
1ff980ae
AS
11182012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1119
1120 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1121 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1122
03988c98
CY
11232012-02-05 Chong Yidong <cyd@gnu.org>
1124
eeb6cc88
CY
1125 * cus-edit.el (custom-variable-value-create): For mismatched
1126 types, show the current value (Bug#7600).
1127
03988c98
CY
1128 * custom.el (defcustom): Doc fix.
1129
f8cdeef0
GM
11302012-02-05 Glenn Morris <rgm@gnu.org>
1131
1132 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1133
0696d255
JB
11342012-02-05 Juanma Barranquero <lekktu@gmail.com>
1135
1136 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1137 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1138 (pp-last-sexp): Use `looking-at-p'.
1139
34c99998
GM
11402012-02-04 Glenn Morris <rgm@gnu.org>
1141
8f05da42
GM
1142 * files.el (revert-buffer):
1143 Doc fix (mention revert-buffer-in-progress-p).
1144
f160676e
GM
1145 * emacs-lisp/ert-x.el (ert-simulate-command):
1146 Check deferred-action-list (which is obsolete) is bound.
1147
c7291ad9
GM
1148 * subr.el (with-wrapper-hook): Doc fixes.
1149
34c99998
GM
1150 * simple.el (filter-buffer-substring-functions)
1151 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1152
6283a7d3
LL
11532012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1154
1155 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1156 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1157
e96e3013
LL
11582012-02-04 Leo Liu <sdl.web@gmail.com>
1159
1160 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1161
8ded50f2
GM
11622012-02-04 Glenn Morris <rgm@gnu.org>
1163
82ff1d13
GM
1164 * image.el (image-extension-data): Add obsolete alias.
1165
987a0a16
GM
1166 * isearch.el (isearch-update): Doc fix.
1167
ea32ef46
GM
1168 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1169
8ded50f2
GM
1170 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1171
eea14f31
GM
11722012-02-03 Glenn Morris <rgm@gnu.org>
1173
1174 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1175 (image-animate-timeout): Doc fix.
1176
1177 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1178
12f381b7
GM
11792012-02-02 Glenn Morris <rgm@gnu.org>
1180
953cebf5
GM
1181 * server.el (server-auth-dir): Doc fix.
1182 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1183
12f381b7
GM
1184 * subr.el (run-mode-hooks): Doc fix.
1185
953a8c3b
JL
11862012-02-02 Juri Linkov <juri@jurta.org>
1187
1188 * image-mode.el (image-toggle-display-image): Remove tautological
1189 `major-mode' from the `derived-mode-p' test.
1190
c5d3843c
KH
11912012-02-02 Kenichi Handa <handa@m17n.org>
1192
9f6e692e 1193 * composite.el (compose-region): Cancel previous change.
c5d3843c 1194
159462d4 11952012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1196
1197 * composite.el (compose-region, compose-string): Signal error for
1198 a null string component (Bug#6988).
1199
9f562668
CY
12002012-02-01 Chong Yidong <cyd@gnu.org>
1201
e2cef717
CY
1202 * view.el (view-buffer-other-window, view-buffer-other-frame):
1203 Handle special modes like view-buffer (Bug#10650).
1204 (view-buffer): Simplify.
1205
9f562668
CY
1206 * frame.el (set-frame-font): Tweak meaning of third argument.
1207
9f6e692e
JB
1208 * dynamic-setting.el (font-setting-change-default-font):
1209 Use set-frame-font (Bug#9982).
9f562668 1210
781acb9f
GM
12112012-02-01 Glenn Morris <rgm@gnu.org>
1212
6035be52
GM
1213 * progmodes/compile.el (compilation-internal-error-properties):
1214 Respect compilation-first-column in the "*compilation*" buffer.
1215
781acb9f
GM
1216 * emacs-lisp/easy-mmode.el (define-minor-mode):
1217 Relax :variable's test for a named function.
1218
abbceb00
AM
12192012-01-31 Alan Mackenzie <acm@muc.de>
1220
1221 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1222 off by one error.
1223
fce3fdeb
CY
12242012-01-31 Chong Yidong <cyd@gnu.org>
1225
1226 * frame.el (set-frame-font): New arg ALL-FRAMES.
1227
1228 * menu-bar.el (menu-set-font): Use set-frame-font.
1229
1230 * faces.el (face-spec-reset-face): Don't apply unspecified
1231 attribute values to the default face.
1232
47893581
JB
12332012-01-31 Juanma Barranquero <lekktu@gmail.com>
1234
1235 * progmodes/cwarn.el (cwarn): Remove dead link.
1236 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1237 Remove * from defcustom docstrings.
1238 (turn-on-cwarn-mode): Make obsolete.
1239 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1240 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1241
e58e988a
GM
12422012-01-31 Glenn Morris <rgm@gnu.org>
1243
60dc2671 1244 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1245 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1246 Allow named functions to be used as the cdr of :variable.
e58e988a 1247
7a3f511d
GM
12482012-01-30 Glenn Morris <rgm@gnu.org>
1249
1250 * emacs-lisp/authors.el (authors-fixed-entries):
1251 Remove reference to deleted file rnewspost.el.
1252
cb882333
JB
12532012-01-29 Juanma Barranquero <lekktu@gmail.com>
1254
1255 * window.el (window-with-parameter): Remove unused variable `windows'.
1256 (window--side-check): Remove unused variable `code'.
1257 (window--resize-siblings): Remove unused variable `first'.
1258 (adjust-window-trailing-edge): Remove unused variable `failed'.
1259 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1260 Use `let', not `let*'.
1261 (balance-windows-2): Remove unused variable `found'.
1262 (window--state-put-2): Remove unused variable `splits'.
1263 (window-state-put): Remove unused variable `selected'.
1264 (same-window-p): Use `string-match-p'.
1265 (display-buffer-assq-regexp): Remove unused variable `value'.
1266 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1267 Mark argument ALIST as ignored.
1268 (pop-to-buffer): Remove unused variable `old-window'.
1269
907201af
EZ
12702012-01-29 Eli Zaretskii <eliz@gnu.org>
1271
1272 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1273 and .lzma compressed files.
1274
ea162670
CY
12752012-01-29 Chong Yidong <cyd@gnu.org>
1276
5b95ee8a
CY
1277 * frame.el (window-system-default-frame-alist): Doc fix.
1278
ea162670
CY
1279 * dynamic-setting.el (font-setting-change-default-font): Don't
1280 change the default face if SET-FONT argument is non-nil (Bug#9982).
1281
d6e6f4b1
SB
12822012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1283
1284 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1285
0f29fa41 12862012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1287
1288 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1289 breakpoints in files outside current directory (Bug#6098).
1290
db174434
CY
12912012-01-29 Chong Yidong <cyd@gnu.org>
1292
6b25e4e2
SE
1293 * progmodes/python.el: Require ansi-color at top-level.
1294
6df6ae42
JB
1295 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1296 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1297 (lisp-mode-abbrev-table): Add doc.
1298 (lisp-mode-variables): Don't set local-abbrev-table.
1299 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1300
e70ee681
RW
13012012-01-28 Roland Winkler <winkler@gnu.org>
1302
1303 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1304
ace88aa2
RW
13052012-01-28 Roland Winkler <winkler@gnu.org>
1306
1307 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1308 (bibtex-set-dialect): Use it. Either set global values of
1309 dialect-dependent variables or bind these variables buffer-locally
1310 (Bug#10254).
1311 (bibtex-mode): Call bibtex-set-dialect via
1312 hack-local-variables-hook.
eb864a71
LM
1313 (bibtex-dialect): Update docstring.
1314 Add safe-local-variable predicate.
ace88aa2
RW
1315 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1316 bibtex-set-dialect.
1317 (bibtex-mode-map): Define menu for each dialect.
1318 (bibtex-entry): Fix docstring.
1319
93376c5b
CY
13202012-01-28 Chong Yidong <cyd@gnu.org>
1321
1322 * eshell/esh-arg.el (eshell-quote-argument): New function.
1323
1324 * eshell/esh-ext.el (eshell-invoke-batch-file):
1325 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1326 first arg to eshell-parse-command (Bug#10523).
1327
4372494f
DA
13282012-01-28 Drew Adams <drew.adams@oracle.com>
1329
1330 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1331 `default-directory' is non-nil.
1332
4d4ec1f8
EZ
13332012-01-28 Eli Zaretskii <eliz@gnu.org>
1334
1335 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1336 line that displays system-configuration-options. (Bug#9924)
1337
7c188927
DA
13382012-01-28 Drew Adams <drew.adams@oracle.com>
1339
1340 * descr-text.el (describe-char): Show information about POS, in
1341 addition to information about the character at POS. Improve and
1342 update the doc string. Change "code point" to "code point in
1343 charset", to avoid confusion with the character's Unicode code
1344 point shown above that. (Bug#10129)
1345
e0da685a
EZ
13462012-01-28 Eli Zaretskii <eliz@gnu.org>
1347
1348 * descr-text.el (describe-char): Show the raw character, not only
1349 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1350 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1351 for the reasons.
1352
70550acf
PH
13532012-01-28 Phil Hagelberg <phil@hagelb.org>
1354
eb864a71
LM
1355 * emacs-lisp/package.el (package-install):
1356 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1357
0ce8e868
CY
13582012-01-28 Chong Yidong <cyd@gnu.org>
1359
cb882333
JB
1360 * emacs-lisp/package.el (package-maybe-load-descriptor):
1361 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1362 (package-maybe-load-descriptor): Use it.
1363 (package-download-transaction): Fully load required packages
1364 inside the loop, so that `require' calls work (Bug#10593).
1365 (package-install): No need to call package-initialize now.
1366
2e7f3bea
CY
13672012-01-28 Chong Yidong <cyd@gnu.org>
1368
6e9bad14
CY
1369 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1370
f823b8ca
CY
1371 * tooltip.el (tooltip-mode): Doc fix.
1372 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1373
2680c309
CY
1374 * frame.el (set-cursor-color): Doc fix (Bug#352).
1375
d7a9e63b
CY
1376 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1377 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1378
2e7f3bea
CY
1379 * cus-edit.el (custom-buffer-create-internal): Fix search button
1380 action (Bug#10542).
2ae01800 1381 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1382
fc4f7a23
EW
13832012-01-27 Eduard Wiebe <usenet@pusto.de>
1384
1385 * dired.el (dired-mark-files-regexp):
1386 Include any subdirectory components. (Bug#10445)
1387
7dd37071
ML
13882012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1389
1390 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1391 Handle [host]:port syntax. (Bug#10533)
1392
a268160b
AH
13932012-01-27 Alex Harsanyi <harsanyi@mac.com>
1394
1395 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1396
e43273ef
GM
13972012-01-26 Glenn Morris <rgm@gnu.org>
1398
1399 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1400 * term.el (term-raw-escape-map): Use Control-X-prefix.
1401 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1402
1edf595d
MR
14032012-01-25 Martin Rudalics <rudalics@gmx.at>
1404
1405 * window.el (window-state-get, window--state-get-1): Don't deal
1406 with fixed-sizeness of windows. Simplify code.
1407
fa8eafef
JC
14082012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1409
6df6ae42
JB
1410 * window.el (window--state-get-1, window--state-put-2):
1411 Don't save and restore the mark.
fa8eafef 1412
0b21c100
CY
14132012-01-25 Chong Yidong <cyd@gnu.org>
1414
1415 * custom.el (custom-variable-p): Doc fix.
1416
5ae1a6c8
GM
14172012-01-25 Glenn Morris <rgm@gnu.org>
1418
40047858
GM
1419 * dired.el (dired-goto-file): Handle some of the more common
1420 characters that `ls -b' escapes. (Bug#10596)
1421
5ddce96c
GM
1422 * progmodes/compile.el (compilation-next-error-function):
1423 Respect compilation-first-column in the "*compilation*" buffer.
1424 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1425
5ae1a6c8
GM
1426 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1427
b559f1a9
GM
14282012-01-24 Glenn Morris <rgm@gnu.org>
1429
1430 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1431
6725d21a
JD
14322012-01-24 Julien Danjou <julien@danjou.info>
1433
1434 * color.el (color-rgb-to-hsl): Fix value computing.
1435 (color-hue-to-rgb): New function.
1436 (color-hsl-to-rgb): New function.
1437 (color-clamp, color-saturate-hsl, color-saturate-name)
1438 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1439 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1440
70df4bbe
GM
14412012-01-24 Glenn Morris <rgm@gnu.org>
1442
1443 * vc/vc-rcs.el (vc-rcs-create-tag):
1444 * vc/vc-sccs.el (vc-sccs-create-tag):
1445 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1446
802a2ae2
ML
14472012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1448
1449 * eshell/esh-util.el (eshell-read-hosts-file):
1450 Skip comment lines. (Bug#10549)
1451
d7128bb1
ML
1452 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1453
d1a5c3b4
JB
14542012-01-23 Juanma Barranquero <lekktu@gmail.com>
1455
2724d9c7
JB
1456 * subr.el (display-delayed-warnings): Doc fix.
1457 (collapse-delayed-warnings): New function to collapse identical
1458 adjacent warnings.
1459 (delayed-warnings-hook): Add it.
d1a5c3b4 1460
a5509865
MA
14612012-01-22 Michael Albinus <michael.albinus@gmx.de>
1462
1463 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1464
1465 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1466 properties, when "login-as" is set.
1467
1468 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1469 (tramp-default-user-alist): Don't add "pscp".
1470 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1471 property "login-as", if set. (Bug#10530)
1472
cc6d5805
MA
14732012-01-21 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1476 "plink1" and "psftp". (Bug#10530)
1477
14782012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1479
1480 * international/mule-cmds.el (prefer-coding-system): Show a
1481 warning message if the default value of file-name-coding-system
1482 was not changed.
1483
f0960428
JC
14842012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1485
cb882333
JB
1486 * windmove.el (windmove-reference-loc):
1487 Fix windmove-reference-loc miscalculation.
f0960428 1488
dd6f2a63
JB
14892012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1490
1491 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1492 default unit.
1493
7b447e9b
GM
14942012-01-21 Glenn Morris <rgm@gnu.org>
1495
117a9ea1
GM
1496 * international/mule.el (auto-coding-alist): Add .tbz.
1497
7b447e9b
GM
1498 * files.el (local-enable-local-variables): Doc fix.
1499 (inhibit-local-variables-regexps): Rename from
1500 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1501 Doc fix. Add some extensions from auto-coding-alist.
1502 (inhibit-local-variables-suffixes):
1503 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1504 (inhibit-local-variables-p):
1505 New function, extracted from set-auto-mode-1.
1506 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1507 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1508 (hack-local-variables): Doc fix. Make the mode-only case
1509 respect enable-local-variables and friends.
1510 Respect inhibit-local-variables-regexps for file-locals, but
1511 not for directory-locals.
1512 (set-visited-file-name):
1513 Take account of inhibit-local-variables-regexps.
1514 Whether it applies may change as the file name is changed.
1515 * jka-cmpr-hook.el (jka-compr-install):
1516 * jka-compr.el (jka-compr-uninstall):
1517 Update for inhibit-first-line-modes-suffixes name change.
1518
dd6e3cdd
MR
15192012-01-20 Martin Rudalics <rudalics@gmx.at>
1520
1521 * help-macro.el (make-help-screen): Temporarily restore original
1522 binding for minor-mode-map-alist (Bug#10454).
1523
0d0deb38
JD
15242012-01-19 Julien Danjou <julien@danjou.info>
1525
1526 * color.el (color-name-to-rgb): Use the white color to find the max
1527 color component value and return correctly computed values.
1528 (color-name-to-rgb): Add missing float conversion for max value.
1529
34a02f46
MR
15302012-01-19 Martin Rudalics <rudalics@gmx.at>
1531
1532 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1533 special state value for window-persistent-parameters.
1534 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1535 (window--state-put-2): Reset all window parameters to nil before
1536 assigning values of persistent parameters.
1537
606c44c4
AM
15382012-01-18 Alan Mackenzie <acm@muc.de>
1539
1540 Eliminate sluggishness and hangs in fontification of "semicolon
1541 deserts".
1542
cb882333
JB
1543 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1544 Change value 10000 -> 3000.
606c44c4
AM
1545 (c-state-safe-place): Reformulate so it doesn't stack up an
1546 infinite number of wrong entries in c-state-nonlit-pos-cache.
1547 (c-determine-limit-get-base, c-determine-limit): New functions to
1548 determine backward search limits disregarding literals.
1549 (c-find-decl-spots): Amend commenting.
1550 (c-cheap-inside-bracelist-p): New function which detects "={".
1551
1552 * progmodes/cc-fonts.el
1553 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1554 backward search.
1555 (c-font-lock-declarations): Fix an occurrence of point being
1556 undefined. Check additionally for point being in a bracelist or
1557 near a macro invocation without a semicolon so as to avoid a
1558 fruitless time consuming search for a declarator. Give a more
1559 precise search limit for declarators using the new
1560 c-determine-limit.
1561
f3860cea
GM
15622012-01-18 Glenn Morris <rgm@gnu.org>
1563
1564 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1565 (set-auto-mode): Doc fixes.
1566
1db03b16
GM
15672012-01-17 Glenn Morris <rgm@gnu.org>
1568
0e6038be
GM
1569 * isearch.el (search-nonincremental-instead): Fix doc typo.
1570
1db03b16
GM
1571 * dired.el (dired-insert-directory): Handle newlines in directory name.
1572 (dired-build-subdir-alist): Unescape newlines in directory name.
1573
4cb0aa75
MA
15742012-01-17 Michael Albinus <michael.albinus@gmx.de>
1575
1576 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1577 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1578 (tramp-action-terminal): Use it. (Bug#10530)
1579
1d00653d
SM
15802012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1583
6a6ee00d
MR
15842012-01-16 Martin Rudalics <rudalics@gmx.at>
1585
1586 * window.el (window-state-ignored-parameters): Remove variable.
1587 (window--state-get-1): Rename argument MARKERS to IGNORE.
1588 Handle persistent window parameters. Make copy of clone-of
1589 parameter only if requested. (Bug#10348)
1590 (window--state-put-2): Install a window parameter only if it has
1591 a non-nil value or an existing parameter shall be overwritten.
1592
97912def
MA
15932012-01-15 Michael Albinus <michael.albinus@gmx.de>
1594
1595 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1596
688070a5
EZ
15972012-01-14 Eli Zaretskii <eliz@gnu.org>
1598
1599 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1600 don't pass the (nil) value of `upnode' to string-match.
1601
301afadc
CY
16022012-01-14 Chong Yidong <cyd@gnu.org>
1603
1604 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1605 Fix values recognized by the cursorBlink resource.
301afadc 1606
9e5788aa
PE
16072012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1608
1609 * epg.el (epg--make-temp-file): Avoid permission race condition
1610 when running on old Emacs versions (bug#10403).
1611
3cdb7f5a
GM
16122012-01-14 Glenn Morris <rgm@gnu.org>
1613
1614 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1615
8c82b1b4
AM
16162012-01-13 Alan Mackenzie <acm@muc.de>
1617
1618 Fix filling for when filladapt mode is enabled.
1619
1620 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1621 c-mask-paragraph, pass in `fill-paragraph' rather than
1622 `fill-region-as-paragraph'. (This is a reversion of a previous
1623 change.)
eb864a71
LM
1624 * progmodes/cc-mode.el (c-basic-common-init):
1625 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1626
e517eda4
GM
16272012-01-13 Glenn Morris <rgm@gnu.org>
1628
1498536e
GM
1629 * dired.el (dired-switches-escape-p): New function.
1630 (dired-insert-directory): Use dired-switches-escape-p.
1631 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1632
e517eda4
GM
1633 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1634
328f984d
GM
16352012-01-12 Glenn Morris <rgm@gnu.org>
1636
1637 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1638 changes in adaptive-fill-regexp. (Bug#10276)
1639
2cc769a8
AM
16402012-01-11 Alan Mackenzie <acm@muc.de>
1641
1642 Fix Emacs bug #10463 - put `widen's around the critical spots.
1643
1d00653d 1644 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1645 widen around each invocation of c-state-pp-to-literal. Remove an
1646 unused let variable.
1647
e52c37fa
GM
16482012-01-11 Glenn Morris <rgm@gnu.org>
1649
1650 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1651 Doc fix.
e52c37fa 1652
96f8741e
CY
16532012-01-10 Chong Yidong <cyd@gnu.org>
1654
1d00653d
SM
1655 * net/network-stream.el (network-stream-open-starttls):
1656 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1657 response to the capability command.
1658
b09a806e
GM
16592012-01-10 Glenn Morris <rgm@gnu.org>
1660
1661 * mail/unrmail.el (unrmail): Tweak previous change.
1662
7655cb66
CY
16632012-01-09 Chong Yidong <cyd@gnu.org>
1664
1665 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1666
9d5a8f0b
AM
16672012-01-08 Alan Mackenzie <acm@muc.de>
1668
1669 Optimise font locking in long enum definitions.
1670
1671 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1672 arm to a cond form to handle enums.
1673 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1674 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1675
9a0115ab 16762012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1677
1678 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1679 (Bug#10401)
6bb72cbd 1680
f186bb95
LMI
16812012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1682
29232a68
LMI
1683 * faces.el (set-face-attribute): Clarify the meaning of the nil
1684 frame (bug#10294).
1685
4e5d086d
LMI
1686 * subr.el (with-selected-frame): Mention that the selected frame
1687 is restored (bug#9980).
1688
8e66aebe
LMI
1689 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1690 (bug#9759).
1691
cd394be1 1692 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1693 (password-read): Don't autoload unused function.
1694
adf4e762
JB
16952012-01-07 Juanma Barranquero <lekktu@gmail.com>
1696
1697 * progmodes/which-func.el (which-func-mode): Turn into a
1698 non-interactive function and mark as obsolete (bug#10428).
1699
89bd9ccd
CY
17002012-01-06 Chong Yidong <cyd@gnu.org>
1701
1702 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1703 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1704 functions, along with 1 and -1.
1705
4afee9d5
EZ
17062012-01-06 Eli Zaretskii <eliz@gnu.org>
1707
1708 * time.el (display-time-load-average)
1709 (display-time-default-load-average): Doc fixes. See the thread
1710 starting at
1711 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1712 for the details.
1713
536aea70
GM
17142012-01-06 Glenn Morris <rgm@gnu.org>
1715
665ae865
GM
1716 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1717 has no messages. (Bug#10377)
1718
c869783d
GM
1719 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1720 than Info-edit. (Bug#10385)
1721
2bb4227e
GM
1722 * time.el (display-time-load-average, display-time-next-load-average):
1723 Doc fixes.
1724
7d5944b9
GM
1725 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1726 local setting of buffer-read-only to the input buffer. (Bug#10419)
1727
536aea70
GM
1728 * calendar/calendar.el (calendar-mode):
1729 Locally set scroll-margin to 0. (Bug#10379)
1730
7dccca16
UM
17312012-01-06 Ulrich Mueller <ulm@gentoo.org>
1732
1733 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1734
afbb7930
GM
17352012-01-05 Glenn Morris <rgm@gnu.org>
1736
1737 * eshell/em-unix.el (diff-no-select): Autoload it.
1738 (eshell/diff): Use diff-no-select. (Bug#10420)
1739
04482335
CY
17402012-01-05 Chong Yidong <cyd@gnu.org>
1741
7baca3bc
CY
1742 * shell.el (shell-dynamic-complete-functions): Revert last change.
1743 (shell-command-completion-function): New function.
1744 (shell-completion-vars): Use it to implement
1745 shell-completion-execonly (Bug#10417).
1746
04482335
CY
1747 * custom.el (enable-theme): Don't set custom-safe-themes.
1748
1d00653d
SM
1749 * cus-theme.el (custom-theme-merge-theme):
1750 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1751
bb5aa5d6
MM
17522012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1753
1754 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1755 first prompt in `sql-interacive-mode'.
1756 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1757 keywords.
6df6ae42 1758 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1759 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1760 context of original buffer. Invoke `sql-login-hook'.
1761
a7183d7c
EZ
17622012-01-04 Eli Zaretskii <eliz@gnu.org>
1763
1764 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1765 letters in cite-prefix.
1766
a1eacd1e
LMI
17672012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1768
1769 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1770
787cdb34
CY
17712012-01-03 Chong Yidong <cyd@gnu.org>
1772
1d00653d
SM
1773 * shell.el (shell-dynamic-complete-functions):
1774 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1775 comint-filename-completion first (Bug#10417).
1776
30710442
RS
17772012-01-02 Richard Stallman <rms@gnu.org>
1778
1779 * battery.el (battery-status-function):
1780 Detect when to use battery-yeeloong-sysfs.
1781 (battery-echo-area-format): Add string for Yeeloong.
1782 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1783 (battery-yeeloong-sysfs): New function.
1784
f75bfc33
CY
17852012-01-02 Chong Yidong <cyd@gnu.org>
1786
1787 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1788 (dirtrack): Merge code for handling relative filenames in prompt
1789 from shell-dir-cookie-watcher.
1790 (dirtrack-debug-message): New arg to avoid excess format calls.
1791
1792 * shell.el (shell-dir-cookie-re): Variable deleted.
1793 (shell-dir-cookie-watcher): Function deleted.
1794 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1795 with dirtrack-mode.
1796
651e947e
EZ
17972012-01-01 Eli Zaretskii <eliz@gnu.org>
1798
1d00653d
SM
1799 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1800 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1801 libgnutls-26.dll.
1802
94d4c7dc
AS
18032011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1804
1805 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1806
8d43f3cd
EZ
18072011-12-31 Eli Zaretskii <eliz@gnu.org>
1808
1809 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1810 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1811
98c8795a
MA
18122011-12-29 Michael Albinus <michael.albinus@gmx.de>
1813
1814 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1815 also for alternative shells.
1816 (tramp-open-connection-setup-interactive-shell): Check, whether
1817 the shell is a busybox.
1818 (tramp-send-command): Don't suppress multiple prompts for
1819 busyboxes, it hurts.
1820
51281b32
CY
18212011-12-28 Chong Yidong <cyd@gnu.org>
1822
1823 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1824 (gdb-get-source-file): Move mode line update to
1825 gdb-get-source-file (Bug#10087).
1826
2170cb53
CY
18272011-12-25 Chong Yidong <cyd@gnu.org>
1828
1829 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1830 gud-gdb-marker-filter without taking it as an argument.
1831 (gud-gdb-run-command-fetch-lines): Caller changed.
1832 (gud-gdb-completion-function): New variable.
1833 (gud-gdb-completion-at-point): Use it.
1834 (gud-gdb-completions-1): Split from gud-gdb-completions.
1835
1836 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1837 function as separate arguments.
1838 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1839 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1840 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1841 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1842 (gdb-stopped, def-gdb-auto-update-trigger)
1843 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1844 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1845 Callers changed.
2170cb53
CY
1846 (gud-gdbmi-completions): New function.
1847 (gdb): Use it for generating the completion table.
1848
be8b11bb
AM
18492011-12-24 Alan Mackenzie <acm@muc.de>
1850
1851 Introduce a mechanism to widen the region used in context font
1d00653d 1852 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1853
1d00653d
SM
1854 * progmodes/cc-langs.el (c-before-font-lock-functions):
1855 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1856 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1857 functions to be run just before context (etc.) font locking.
1858
1859 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1860 New, functionality extracted from
be8b11bb 1861 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1862 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1863 (c-after-change): Set c-in-after-change-fontification.
1864 (c-set-fl-decl-start): Rejig its interface, so it can be called
1865 from both after-change and context fontifying.
b81d40f0
JB
1866 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1867 New functions.
1868 (c-standard-font-lock-fontify-region-function): New variable.
1869 (c-font-lock-fontify-region): New function.
be8b11bb 1870
341cf6ac
JL
18712011-12-24 Juri Linkov <juri@jurta.org>
1872
1873 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1874 (Bug#10348)
1875
bffcee0a
MA
18762011-12-23 Michael Albinus <michael.albinus@gmx.de>
1877
1878 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1879 existence of source file. (Bug#10325)
1880
cb5e207c
AM
18812011-12-23 Alan Mackenzie <acm@muc.de>
1882
1883 Fix unstable fontification inside templates.
1884
b81d40f0
JB
1885 * progmodes/cc-langs.el (c-before-font-lock-functions):
1886 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1887 additionally has c-set-fl-decl-start. The other languages (apart
1888 from AWK) have that as a single entry.
1889
b81d40f0
JB
1890 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1891 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1892 c-set-fl-decl-start.
1893
b81d40f0
JB
1894 * progmodes/cc-mode.el (c-common-init, c-after-change):
1895 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1896 (c-set-fl-decl-start): New function, extracted from
1897 c-font-lock-enclosing-decls and enhanced.
1898
60ff536c
JB
18992011-12-23 Juanma Barranquero <lekktu@gmail.com>
1900
1901 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1902
1c4757d6
JL
19032011-12-22 Juri Linkov <juri@jurta.org>
1904
1905 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1906
d031f2c7
CY
19072011-12-22 Chong Yidong <cyd@gnu.org>
1908
1909 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1910
bace743a
DA
19112011-12-21 Drew Adams <drew.adams@oracle.com>
1912
1913 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1914
728a1f2b
JC
19152011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1916
1917 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1918
0d373f73
TZ
19192011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1920
fec0aaa4
TZ
1921 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1922 highlighting and support. Fix up comments for capitalization.
1923 (cfengine-mode-debug): New var.
1924 (cfengine3-mode): Change the modeline indicator to "CFE3".
1925 (cfengine3-font-lock-keywords): Improve defun highlighting.
1926 (cfengine2-actions): Rename from `cfengine-actions'.
1927 (cfengine2-font-lock-keywords): Rename from
1928 `cfengine-font-lock-keywords'.
1929 (cfengine2-imenu-expression): Rename from
1930 `cfengine-imenu-expression'.
1931 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1932 (cfengine2-beginning-of-defun): Rename from
1933 `cfengine-beginning-of-defun'.
1934 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1935 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1936 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1937 modeline indicator to "CFE2".
1938 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1939 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1940
bc86f573
CY
19412011-12-21 Chong Yidong <cyd@gnu.org>
1942
1943 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1944 filename argument.
1945
d45ba96b
MR
19462011-12-20 Martin Rudalics <rudalics@gmx.at>
1947
1948 * window.el (window-normalize-buffer-to-display): Remove.
1949 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1950
a6198c90
CY
19512011-12-19 Chong Yidong <cyd@gnu.org>
1952
1953 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1954 Don't signal an error in a predicate function; return non-nil.
1955 (vc-dir-mark-file): Move the error here.
1956 (vc-dir-mark-unmark): If acting on the region, keep going if one
1957 of the entries cannot be marked/unmarked.
1958 (vc-dir-mark-all-files): If current entry is a directory, mark
1959 only child files, as documented.
1960
34c5fb55
VB
19612011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1962
1963 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1964 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1965 addition.
1966
c803b2b7
JD
19672011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1968
1969 * term/ns-win.el (ns-get-selection-internal)
1970 (ns-store-selection-internal): Declare.
1154d12e
JB
1971 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1972 Declare as obsolete.
1973 (ns-get-pasteboard, ns-paste-secondary):
1974 Use ns-get-selection-internal.
1975 (ns-set-pasteboard, ns-copy-including-secondary):
1976 Use ns-store-selection-internal.
c803b2b7 1977
9cff91f8 19782011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1979
1980 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1981 (vc-deduce-fileset): Doc fix.
99a289d9 1982
f16c898a
AS
19832011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1984
1985 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1986
763237c4
SS
19872011-12-13 Sam Steingold <sds@gnu.org>
1988
1989 * man.el (Man-getpage-in-background): When running under a
1990 window-system, ignore $MANWIDTH and $COLUMNS.
1991
5fc1c122
KH
19922011-12-15 Kenichi Handa <handa@m17n.org>
1993
1994 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1995 (setup-ethiopic-environment-internal): Comment out key-binding for
1996 ethio-toggle-punctuation.
1997
13d49cbb
AM
19982011-12-13 Alan Mackenzie <acm@muc.de>
1999
898169a2
AM
2000 Add the switch statement to AWK Mode.
2001
7a71b18d 2002 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2003 "default" to the keywords regexp.
2004
7a71b18d 2005 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2006 expression as the rest.
1d00653d
SM
2007 (c-nonlabel-token-key): Allow string literals for AWK.
2008 Refactor for the other modes.
898169a2 2009
13d49cbb 2010 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2011 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2012 routines. Limit backward searching in c-font-lock-enclosing.decl.
2013
2014 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2015 pp-state and literal type in addition to the limits.
1d00653d 2016 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2017 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2018 (c-slow-in-literal, c-fast-in-literal): Remove.
2019 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2020
2021 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2022 being in a literal. Add a limit for backward searching.
2023
2024 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2025 c-slow-in-literal.
2026
15e0efc7
SM
20272011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2030
454592a6
MR
20312011-12-13 Martin Rudalics <rudalics@gmx.at>
2032
2033 * window.el (delete-other-windows): Use correct frame in call to
2034 window-with-parameter.
2035
87393f26
DP
20362011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2037
2038 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2039 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2040 (makefile-gmake-statements, makefile-makepp-statements):
2041 Use it and add new makepp keywords.
2042 (makefile-makepp-font-lock-keywords): Add new patterns.
2043 (makefile-match-function-end): Match new [...] and [[...]].
2044
11636b22
JB
20452011-12-11 Juanma Barranquero <lekktu@gmail.com>
2046
2047 * ses.el (ses-call-printer-return, ses-cell-property-get)
2048 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2049 (ses-create-cell-variable, ses-reset-header-string)
2050 (ses-cell-set-formula, ses-repair-cell-reference-all)
2051 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2052 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2053 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2054 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2055 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2056 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2057 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2058 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2059 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2060 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2061 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2062 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2063
cf018193
VB
20642011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2065
2066 * ses.el: The overall change is to add cell renaming, that is
2067 setting fancy names for cell symbols other than name matching
2068 "\\`[A-Z]+[0-9]+\\'" regexp .
2069 (ses-create-cell-variable): New defun.
2070 (ses-relocate-formula): Relocate formulas only for cells the
2071 symbols of which are not renamed, i.e. symbols whose names do not
2072 match regexp "\\`[A-Z]+[0-9]+\\'".
2073 (ses-relocate-all): Relocate values only for cells the symbols of
2074 which are not renamed.
2075 (ses-load): Create cells variables as the (ses-cell ...) are read,
2076 in order to check row col consistency with cell symbol name only
2077 for cells that are not renamed.
2078 (ses-replace-name-in-formula): New defun.
2079 (ses-rename-cell): New defun.
2080
ee957461
CY
20812011-12-11 Chong Yidong <cyd@gnu.org>
2082
2083 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2084 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2085
9a9e9ef0
MR
20862011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2087
2088 * window.el (other-window): Fix docstring.
2089
92a8eba5
EZ
20902011-12-10 Eli Zaretskii <eliz@gnu.org>
2091
2092 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2093 `from' or `to' address before taking its substring.
2094 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2095 encoded name is chopped in the middle of the encoded string, and
2096 thus displayed encoded.
2097
e152e577
JB
20982011-12-10 Juanma Barranquero <lekktu@gmail.com>
2099
2100 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2101
e5d84bfe
EZ
21022011-12-10 Eli Zaretskii <eliz@gnu.org>
2103
2104 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2105 to use texinfo-update-node and commands that call it if the
2106 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2107 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2108 (texinfo-all-menus-update, texinfo-master-menu)
2109 (texinfo-update-node, texinfo-every-node-update)
2110 (texinfo-multiple-files-update): Doc fix. Warn against updating
2111 all the @node lines.
2112 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2113 argument is numeric. Explain better in the doc string what the
2114 function really does.
2115 (texinfo-insert-master-menu-list): Improve the error message
2116 displayed if there's no menu in the Top node.
2117 (Bug#2975) See also this thread:
e5d84bfe
EZ
2118 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2119
1d84e9bb
MG
21202011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2121
2122 * speedbar.el (speedbar-supported-extension-expressions):
2123 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2124
382c953b
JB
21252011-12-09 Juanma Barranquero <lekktu@gmail.com>
2126
2127 * printing.el (pr-mode-alist):
2128 * simple.el (filter-buffer-substring-functions)
2129 (completion-list-insert-choice-function):
2130 * window.el (window-with-parameter, window-atom-root)
2131 (window-sides-slots, window-size-fixed, window-min-delta)
2132 (window-max-delta, window--resize-mini-window)
2133 (window--resize-child-windows-normal, window-tree)
2134 (delete-other-windows, quit-window, split-window)
2135 (display-buffer-record-window, special-display-buffer-names)
2136 (special-display-regexps, special-display-popup-frame)
2137 (same-window-p, split-window-sensibly)
2138 (display-buffer-overriding-action, display-buffer-alist)
2139 (display-buffer-base-action, display-buffer, switch-to-buffer)
2140 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2141 (fit-window-to-buffer, recenter-positions)
2142 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2143 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2144 and remove unneeded backslashes in docstrings.
2145
39c9faef
SM
21462011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2147
98449af8
SM
2148 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2149
39c9faef
SM
2150 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2151 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2152 end in ".mk".
2153 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2154 when reading the makefile (bug#10116).
2155
86ed9fdc
SM
21562011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2159 (bug#10116).
2160
5580f89d
GM
21612011-12-06 Glenn Morris <rgm@gnu.org>
2162
2163 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2164
28d3917c
CY
21652011-12-06 Chong Yidong <cyd@gnu.org>
2166
2167 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2168
a98edce9
JB
21692011-12-06 Juanma Barranquero <lekktu@gmail.com>
2170
2171 * textmodes/table.el (table-shorten-cell): Fix typo.
2172
e65adfac
CG
21732011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2174
2175 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2176
71cc0b74
EZ
21772011-12-05 Eli Zaretskii <eliz@gnu.org>
2178
2179 * descr-text.el (describe-char): Fix display of strong
2180 right-to-left characters and directional embeddings and overrides.
2181
2182 * simple.el (what-cursor-position): Fix display of codepoints of
2183 strong right-to-left characters.
2184
315bc30d
CY
21852011-12-05 Chong Yidong <cyd@gnu.org>
2186
2187 * faces.el (read-color): Doc fix.
2188
58a70b94
GM
21892011-12-05 Glenn Morris <rgm@gnu.org>
2190
2191 * align.el (align--set-marker): Add doc-string.
2192 Don't try to move something that is not a marker. (Bug#10216)
2193
5158face
GM
21942011-12-04 Glenn Morris <rgm@gnu.org>
2195
2196 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2197 overly zealous deletion of trailing whitespace.
2198
520fca41
JB
21992011-12-04 Juanma Barranquero <lekktu@gmail.com>
2200
2201 * server.el (server-delete-client): On Windows, do not try to delete
2202 the only terminal.
2203 (server-process-filter): On Windows, treat requests for a tty frame as
2204 if they were for a GUI frame if the running server is in GUI mode.
2205
5e605a2e
GM
22062011-12-03 Glenn Morris <rgm@gnu.org>
2207
2208 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2209
5c3fe83f
SM
22102011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2211
6f5e57e7
SM
2212 * electric.el: Streamline electric-indent's hook.
2213 (electric-indent-chars): Revert to simple list.
2214 (electric-indent-functions): New var.
2215 (electric-indent-post-self-insert-function): Use it.
2216
5c3fe83f
SM
2217 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2218 there's no inferior buffer (bug#10196).
2219 (prolog-consult-compile): Don't use toggle-read-only.
2220
6bdac736
MA
22212011-12-02 Michael Albinus <michael.albinus@gmx.de>
2222
2223 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2224 interrupt. (Bug#10187)
2225
6131ba7f
SM
22262011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2227
99c79fee
SM
2228 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2229 (bug#9160).
2230
6131ba7f
SM
2231 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2232 (bug#10191).
2233
cb0a02ea
JL
22342011-12-02 Juri Linkov <juri@jurta.org>
2235
2236 * info.el (Info-search): Display "end of manual" when Isearch
2237 reaches the end of single-file Info manual. (Bug#9918)
2238
66e0570c
EZ
22392011-12-02 Eli Zaretskii <eliz@gnu.org>
2240
2241 * isearch.el (isearch-message-prefix): Run the input method part
2242 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2243
02b16839
JL
22442011-12-02 Juri Linkov <juri@jurta.org>
2245
2246 * isearch.el (isearch-occur): Use `word-search-regexp' for
2247 `isearch-word'.
2248 (isearch-search-and-update): Add condition for `isearch-word' and
2249 call `word-search-regexp'. (Bug#10145)
2250
0b950688
GM
22512011-12-01 Glenn Morris <rgm@gnu.org>
2252
2253 * eshell/em-hist.el (eshell-hist-initialize):
2254 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2255 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2256
9505c3c7
SM
22572011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2260
1bbe96b2 22612011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2262
a1beca85
SM
2263 * progmodes/verilog-mode.el (verilog-pretty-expr):
2264 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2265 verilog, such as += *= and the like.
2266 (verilog-assignment-operator-re): Regular expression to find the
2267 assigment operator in a verilog assignment.
2268 (verilog-assignment-operation-re): Regular expression to find an
2269 assignment statement for pretty-expr.
2270 (verilog-in-attribute-p): Query returns true if point is in an
2271 attribute context; used to skip these for expression line up from
2272 pretty-expr.
2273 (verilog-in-parameter-p): Query returns true if point is in an
2274 parameter definition context; used to skip these for expression
2275 line up from pretty-expr.
2276 (verilog-in-parenthesis-p): Query returns true if point is in a
2277 parenthetical expression, specifically ( ) but not [ ] or { };
2278 used by pretty-expr.
2279 (verilog-just-one-space): If there is no space, don't add one.
2280 (verilog-get-lineup-indent-2): Specifically skip just attribute
2281 contexts for expression lineup, rather than skipping all
2282 parenthetical expressions.
2283 (verilog-calculate-indent): Fix comment, and fix indent.
2284 (verilog-do-indent): Indent declarations in lists (suggested by
2285 Joachim Lechner).
2286 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2287 skeleton items.
2288 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2289 by Alain Mellan).
2290
1bbe96b2 22912011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2292
2293 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2294 parameters with embedded comments. Reported by Ray Stevens.
2295 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2296 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2297 Reported by Tim Holt.
2298 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2299 instantiated by upper module causing wrong expansion until AUTOed a
2300 second time. Reported by K C Buckenmaier.
2301 (verilog-diff-auto): Fix showing .* as a difference when
2302 `verilog-auto-star-save' off. Reported by Dan Dever.
2303 (verilog-auto-reset, verilog-read-always-signals)
2304 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2305 temporary signals in reset list if
2306 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2307 style to each signal's assignment type, bug381.
2308 Reported by Thomas Esposito.
6288f0ca
WS
2309 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2310 (verilog-uvm-statement-re): Support UVM indentation and
2311 highlighting, with old OVM keywords only.
a1beca85 2312 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2313 Support AUTOTIEOFF creating non-wire data types.
2314 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2315 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2316 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2317 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2318 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2319 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2320 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2321 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2322 non-numeric vector width. Reported by Alex Reed.
2323 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2324 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2325 (verilog-auto-delete-trailing-whitespace):
2326 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2327 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2328 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2329 Fix verilog-scan-cache corruption when running user AUTO expansion
2330 hooks that call indentation routines.
2331 (verilog-simplify-range-expression): Fix typo ignoring lower case
2332 identifiers.
2333 (verilog-delete-auto): Fix delete-autos to also remove user created
2334 automatics, as long as they start with AUTO.
2335 (verilog-batch-diff-auto, verilog-diff-auto)
2336 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2337 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2338 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2339 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2340 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2341 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2342 is disabled and its cache will get corrupt, causing AUTOS not to
2343 expand. Instead use only -quick functions.
2344 (verilog-scan-region): Fix scanning over escaped quotes.
2345 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2346 (verilog-re-search-backward-quick)
2347 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2348 related functions now ignore strings, to fix misparsing of strings
2349 with magic comments embedded in them.
a1beca85
SM
2350 (verilog-read-auto-template):
2351 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2352 Reported by Brad Dobbie.
2353 (verilog-read-auto-template):
2354 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2355 Reported by Brad Dobbie.
6288f0ca
WS
2356 (verilog-auto-inst, verilog-auto-inst-param)
2357 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2358 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2359 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2360 debugging templates without merge conflicts, bug357.
2361 Reported by Brad Dobbie.
2362 (verilog-read-auto-template):
2363 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2364 Reported by Brad Dobbie.
2365 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2366 abbrevs so user won't be asked to save.
2367 (verilog-read-auto-lisp-present): Fix to start at beginning of
2368 buffer in case called outside of verilog-auto.
2369 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2370 to "X-2". Reported by Matthew Myers.
2371 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2372 all inputs from module templates. Reported by Leith Johnson.
2373 (verilog-module-inside-filename-p): Fix locating programs as with
2374 modules.
2375 (verilog-auto-inst-port): Fix vl-width expressions when using
2376 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2377 (verilog-decls-get-regs, verilog-decls-get-signals,
2378 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2379 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2380 verilog-read-decls): Combine reg and wire structures into one var
2381 structure to represent SystemVerilog concepts.
2382 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2383 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2384 (verilog-auto-wire-type, verilog-insert-definition):
2385 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2386 SystemVerilog "logic" keyword instead of "wire"/"reg".
2387 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2388 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2389 ifdef or generate if so there's not a driver conflict).
2390 Reported by Matthew Myers.
2391 (verilog-auto-declare-nettype, verilog-insert-definition):
2392 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2393 `default_nettype none. Reported by Julian Gorfajn.
2394 (verilog-read-always-signals-recurse, verilog-read-decls)
2395 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2396 malformed end statement, bug325. Reported by Joshua Wise and
2397 Andrew Drake.
2398 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2399 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2400 when expanding .* in interfaces, bug320.
2401 Reported by Pierre-David Pfister.
6288f0ca 2402 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2403 name and open parenthesis, bug317.
2404 Reported by Pierre-David Pfister.
6288f0ca
WS
2405 (verilog-simplify-range-expression): Fix simplification of
2406 multiplications inside AUTOWIRE connections, bug303.
2407 (verilog-auto-inst-port): Support parameter expansion in
2408 multidimensional arrays.
2409 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2410 after "assert property". Reported by Julian Gorfajn.
2411 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2412 with multiplication, bug303.
2413 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2414 Reported by Jan Frode Lonnum.
2415
1bbe96b2
GM
24162011-11-30 Juanma Barranquero <lekktu@gmail.com>
2417
2418 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2419 (hfy-shell-file-name, hfy-shell):
2420 * international/fontset.el (x-decompose-font-name): Fix typos.
2421
24222011-11-29 Ken Brown <kbrown@cornell.edu>
2423
2424 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2425 (gdb-version): Remove defvar.
2426 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2427 (gdb-gud-context-command, gdb-non-stop-handler)
2428 (gdb-current-context-command, gdb-stopped): Use it.
2429 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2430 (gdb-non-stop-handler): Don't enable pretty-printing here.
2431 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2432 non-stop mode. Use the following.
2433 (gdb-check-target-async): New defun.
2434 (gud-watch, gdb-stopped): Fix whitespace.
2435 (gdb-get-source-file): Don't try to display the source file if
2436 `gdb-main-file' is nil.
2437
24382011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2439
2440 * align.el: Try to generate fewer markers (bug#10047).
2441 (align--set-marker): New macro.
2442 (align-region): Use it.
2443
c935221f
SM
24442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2447
e70b5064
CY
24482011-11-29 Chong Yidong <cyd@gnu.org>
2449
2450 * indent.el (indent-for-tab-command, indent-according-to-mode):
2451 Doc fix.
2452 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2453
f3af92b7
MA
24542011-11-29 Michael Albinus <michael.albinus@gmx.de>
2455
2456 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2457 aware of remote file names. (Bug#10124)
2458
ed472be9
CY
24592011-11-29 Chong Yidong <cyd@gnu.org>
2460
2461 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2462
24510c22
SM
24632011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * files.el (find-file): Don't use force-same-window (bug#10144).
2466 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2467 use pop-to-buffer if the selected window can't be used.
2468 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2469
c60c3703
EZ
24702011-11-28 Eli Zaretskii <eliz@gnu.org>
2471
2472 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2473 special-mode-map.
2474
e95def75
CY
24752011-11-28 Chong Yidong <cyd@gnu.org>
2476
2477 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2478
c3f1c606
NR
24792011-11-27 Nick Roberts <nickrob@snap.net.nz>
2480
2481 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2482 gdb-get-source-file-list on gdb-create-source-file-list.
2483
00db469c
EZ
24842011-11-26 Eli Zaretskii <eliz@gnu.org>
2485
2486 * whitespace.el (whitespace-newline): Use a different foreground
2487 color for 16-color light-background displays.
2488
4ad3bc2a
CY
24892011-11-24 Chong Yidong <cyd@gnu.org>
2490
2491 * window.el (display-buffer--special-action): Doc fix.
2492
e9fce1ac
JB
24932011-11-25 Juanma Barranquero <lekktu@gmail.com>
2494
2495 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2496 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2497 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2498 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2499 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2500 (avl-tree-stack-first):
2501 * emacs-lisp/cconv.el (cconv--analyse-use):
2502 * net/gnutls.el (gnutls-negotiate): Fix typos.
2503
cb825e5d
GM
25042011-11-24 Glenn Morris <rgm@gnu.org>
2505
3adbe224
GM
2506 * lpr.el (lpr-windows-system, lpr-lp-system):
2507 * mail/binhex.el (binhex-begin-line):
2508 * progmodes/grep.el (grep-history, grep-find-history):
2509 * textmodes/flyspell.el:
2510 * vc/pcvs-defs.el (cvs-global-menu):
2511 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2512 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2513 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2514
321decc8
GM
2515 * net/tls.el: Fix case of "GnuTLS".
2516
420b63ad
GM
2517 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2518
cb825e5d
GM
2519 * version.el (emacs-build-system): Give it a doc-string.
2520
a0649f08
JL
25212011-11-24 Juri Linkov <juri@jurta.org>
2522
2523 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2524
c0bc0fd4
GM
25252011-11-24 Glenn Morris <rgm@gnu.org>
2526
2527 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2528 if called on a non-mime message just toggle the headers. (Bug#8006)
2529
20db1522
JB
25302011-11-24 Juanma Barranquero <lekktu@gmail.com>
2531
2532 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2533 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2534 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2535 (allout-rebullet-heading, allout-open-sibtopic)
2536 (allout-toggle-current-subtree-encryption)
2537 (allout-toggle-subtree-encryption, allout-encrypt-string)
2538 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2539 (allout-distinctive-bullets-string, allout-auto-activation):
2540 * window.el (window-normalize-buffer-to-display):
2541 * progmodes/verilog-mode.el (verilog-batch-indent):
2542 * textmodes/bibtex.el (bibtex-field-braces-opt)
2543 (bibtex-field-strings-opt):
2544 * vc/cvs-status.el (cvs-tree-merge):
2545 Fix typos.
2546
7262a87c
MA
25472011-11-23 Michael Albinus <michael.albinus@gmx.de>
2548
2549 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2550 `non-essential' to t, in order to avoid remote connections.
2551
283430a1
EZ
25522011-11-23 Eli Zaretskii <eliz@gnu.org>
2553
a1beca85
SM
2554 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2555 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2556 case-insensitively.
2557
d2992a38
ML
25582011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2559
2560 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2561
50419064
GM
25622011-11-23 Glenn Morris <rgm@gnu.org>
2563
da94eca1
GM
2564 * paths.el (rmail-file-name): Reformat the doc-string so that it
2565 is picked up.
2566
9aac4de2
GM
2567 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2568 (rmail-auto-file): Ignore case in the "special" field names,
2569 as mail-fetch-field does for all others.
2570
8038d2d2
GM
2571 * mail/rmail.el (rmail-forward):
2572 * mail/rmailkwd.el (rmail-set-label):
2573 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2574 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2575
f3fe222a
GM
2576 * mail/rmail.el (rmail-current-message): Doc fix.
2577
50419064
GM
2578 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2579
28109f49
SM
25802011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2583
394c65f1
GM
25842011-11-22 Glenn Morris <rgm@gnu.org>
2585
2586 * mail/rmailmm.el (test-rmail-mime-handler)
2587 (test-rmail-mime-bulk-handler)
2588 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2589
f2a0aa3a
JL
25902011-11-21 Juri Linkov <juri@jurta.org>
2591
1154d12e
JB
2592 * calc/calc.el (calc-read-key-sequence):
2593 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2594
9c34a344
LMI
25952011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2596
2597 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2598 Tell the caller that the next line needs recomputation, even
2599 though it doesn't start a sexp (bug#10094).
2600
f04a3be9
SM
26012011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2604
7978747f
SM
26052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2606
f04a3be9
SM
2607 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2608 Use force-same-window.
7978747f 2609
fe7a3057
JB
26102011-11-20 Juanma Barranquero <lekktu@gmail.com>
2611
2612 * descr-text.el (describe-char-unicode-data):
2613 * json.el (json-string-escape):
2614 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2615 (Footnote-unicode, Footnote-style-p):
2616 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2617
24901d61
CY
26182011-11-20 Chong Yidong <cyd@gnu.org>
2619
2620 * window.el (replace-buffer-in-windows): Restore interactive spec.
2621
bac7ff22
SM
26222011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2623
24f3d7b9
SM
2624 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2625
bac7ff22
SM
2626 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2627 (byte-compile-global-not-obsolete-vars): New var.
2628 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2629 Use it.
2630 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2631
cd1181db
JB
26322011-11-20 Juanma Barranquero <lekktu@gmail.com>
2633
2634 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2635 * progmodes/pascal.el (electric-pascal-equal):
2636 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2637 * xml.el (xml-substitute-special): Fix typos.
2638
7fb18e9e
GM
26392011-11-20 Glenn Morris <rgm@gnu.org>
2640
2641 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2642 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2643 Doc fixes.
2644 (rmail-decode-mime-charset): Mark as obsolete.
2645
2646 * mail/rmailsum.el (rmail-message-regexp-p-1):
2647 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2648 Before using mime functions, check they are set. (Bug#10077)
2649
d5a6b3ba
JL
26502011-11-19 Juri Linkov <juri@jurta.org>
2651
2652 * info.el (Info-finder-find-node): Use `package--builtins' instead
2653 of `package-alist'. Use node names formed by the pattern "Keyword "
2654 and the keyword name.
2655
e981b61f
AS
26562011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2657
1d00653d 2658 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2659
3ffbc301
JL
26602011-11-19 Juri Linkov <juri@jurta.org>
2661
2662 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2663 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2664 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2665 `old-history', `old-history-forward'. Add let-binding
2666 `window-selected'. Remove calls to `kill-buffer',
2667 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2668 before calling `Info-find-node', so `Info-find-node-2' will reread
2669 the Info file. Restore window positions only when `window-selected'
2670 is non-nil.
2671
30c62133
JL
26722011-11-19 Juri Linkov <juri@jurta.org>
2673
2674 * isearch.el (isearch-lazy-highlight-new-loop):
2675 Remove condition `(not isearch-error)'. (Bug#9918)
2676
2677 * misearch.el (multi-isearch-search-fun): Add condition
2678 `(not bound)' to ignore lazy-highlighting search.
2679 Add the search-failed message "end of multi" when the end of
2680 multi-sequence is reached. Uncapitalize the search-failed
2681 message "Repeat for next buffer".
2682
2683 * info.el (Info-search): Add the search-failed message
2684 "end of the manual" when the end of the manual is reached
2685 in Isearch mode.
2686
645ca9cf
JL
26872011-11-19 Juri Linkov <juri@jurta.org>
2688
2689 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2690 Use non-destructive `remove' instead of `delete' because
2691 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2692 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2693
df754f66
JL
26942011-11-19 Juri Linkov <juri@jurta.org>
2695
2696 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2697 to nil instead of binding `search-ring' and `regexp-search-ring'.
2698 (Bug#9185)
2699
0e23d96a
EZ
27002011-11-19 Eli Zaretskii <eliz@gnu.org>
2701
2702 * simple.el (line-move): Force movement by logical lines for any
2703 hscrolled window, not only when auto-hscroll-mode is on.
2704 (line-move-visual): Update doc string to that effect. (Bug#10076)
2705
8a6ccb66
AS
27062011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2707
2708 * language/european.el (macintosh): Define as alias for mac-roman.
2709
49ae5b39
EZ
27102011-11-19 Eli Zaretskii <eliz@gnu.org>
2711
2712 * mail/rmailmm.el (rmail-mime-display-header)
2713 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2714 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2715 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2716 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2717 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2718 of a raw aref.
2719 (rmail-mime-entity-segment): To get past the tagline, move forward
2720 2 more lines, to account for the 2 empty lines that precede and
2721 follow the line with the buttons.
2722 (rmail-mime-update-tagline): Move one more line, to get past the
2723 empty line that follows the buttons in the tagline. (Bug#9520)
2724
c56cad4a
MR
27252011-11-19 Martin Rudalics <rudalics@gmx.at>
2726
2727 * window.el (window-max-delta-1, window-min-delta-1)
2728 (window-min-size-1, window-state-get-1, window-state-put-1)
2729 (window-state-put-2): Use "window--" prefix.
2730
cbe71af3
SM
27312011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2732
2ad52c60
SM
2733 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2734 (smie-warning-count): New var.
2735 (smie-set-prec2tab): Use it.
2736 (smie-bnf->prec2): Improve warnings. Add docstring.
2737 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2738 (smie-bnf--set-class): New function.
2739 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2740 corner case.
2741
6944dbc1
SM
2742 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2743 (compilation-error-properties, compilation-move-to-column):
2744 Handle compilation-first-column while in the target buffer.
2745
c400c4d7
SM
2746 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2747 Don't hardcode point-min==1.
2748
6dbe3e96
SM
2749 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2750 (eshell-rewrite-for-command): Remove workaround.
2751 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2752 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2753 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2754
cbe71af3
SM
2755 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2756
a8e1496d
GM
27572011-11-17 Glenn Morris <rgm@gnu.org>
2758
2759 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2760 Ignore buffer-local generated-autoload-file if it is the same
2761 as the global value. (Bug#10049)
2762
df85d315
JB
27632011-11-17 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2766 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2767 (reftex-toc-previous-heading, reftex-toc-max-level)
2768 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2769 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2770 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2771 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2772 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2773 (reftex-toc-rename-label, reftex-toc-visit-location)
2774 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2775 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2776 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2777 leaving "*toc*" only for references to the buffer.
2778
a0c2d0ae
MR
27792011-11-17 Martin Rudalics <rudalics@gmx.at>
2780
2781 * window.el (window-resize, delete-window, split-window):
2782 Replace window-splits by window-combination-resize.
1d00653d 2783 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2784
35c0bac8
GM
27852011-11-17 Glenn Morris <rgm@gnu.org>
2786
2787 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2788 Make bash entry derive from sh entry, not shell entry.
2789
d0c8fc8a
MA
27902011-11-16 Michael Albinus <michael.albinus@gmx.de>
2791
d0c8fc8a
MA
2792 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2793 properties of linked files. (Bug#9879)
2794
7262a87c
MA
2795 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2796 local file name.
2797
7877f373
JB
27982011-11-16 Juanma Barranquero <lekktu@gmail.com>
2799
2800 * menu-bar.el (menu-bar-file-menu):
2801 * printing.el (pr-ps-utility):
2802 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2803 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2804 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2805 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2806 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2807 (icalendar--convert-cyclic-to-ical)
2808 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2809 (icalendar--convert-ical-to-diary)
2810 (icalendar--convert-recurring-to-diary)
2811 (icalendar--convert-non-recurring-all-day-to-diary)
2812 (icalendar-import-format-sample):
2813 * progmodes/idlw-shell.el (idlwave-shell-mode):
2814 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2815 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2816 (vhdl-ps-print-init): Fix typos.
2817
10649b82
KM
28182011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2819
9d0cfcd6
GM
2820 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2821 FSF and collapse date sequence, obscure author/maintainer email address
2822 better, remove extra version line, track relocation of author's webpage.
10649b82 2823
9d0cfcd6
GM
2824 * progmodes/python.el (python-pdbtrack-input-prompt)
2825 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2826 regular python pdb prompts. Adjustments shamelessly taken exactly as
2827 suggested in EmacsWiki page (tiny change):
2828 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2829
58179cce
JB
28302011-11-16 Juanma Barranquero <lekktu@gmail.com>
2831
2832 * expand.el (expand-pos, expand-index, expand-point):
2833 Remove redundant info from docstring.
2834 (expand-add-abbrevs): Doc fix.
2835 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2836 (expand-sample-perl-mode-expand-list): Fix typos.
2837
2838 * net/dbus.el (dbus-event-member-name):
2839 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2840 * term/pc-win.el (msdos-create-frame-with-faces):
2841 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2842
b6f67890
MR
28432011-11-16 Martin Rudalics <rudalics@gmx.at>
2844
2845 * window.el (split-window, window-state-get-1)
2846 (window-state-put-1, window-state-put-2): Rename occurrences of
2847 window-nest to window-combination-limit.
1d00653d 2848 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2849
ce7ddba0
CY
28502011-11-16 Chong Yidong <cyd@gnu.org>
2851
2852 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2853 regexp (Bug#10033).
2854
3ae704f4
SM
28552011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2858 `completing-read' will remove *Completions* and will preserve
2859 current-buffer for us.
2860 (tmm-add-prompt): Users of *Completions* will always (re)set its
2861 major mode.
2862 (tmm-old-comp-map): Remove.
2863
6ad1cdde
GM
28642011-11-16 Glenn Morris <rgm@gnu.org>
2865
2866 * mail/rmailedit.el: Require rmailmm when compiling.
2867 (rmail-old-mime-state): New declaration.
2868 (rmail-edit-current-message): If editing a mime message,
2869 edit the "raw" message from the mbox buffer.
2870 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2871
d20faa20
GM
28722011-11-15 Glenn Morris <rgm@gnu.org>
2873
2874 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2875 which wasn't being used. Add optional arg to force given state.
2876 (rmail-mime): Add optional arg to force given state.
2877
c7015153
JB
28782011-11-15 Juanma Barranquero <lekktu@gmail.com>
2879
2880 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2881 * frame.el (display-mm-dimensions-alist):
2882 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2883 (outline-move-subtree-down):
2884 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2885 (newsticker--treeview-do-get-node):
2886 * net/quickurl.el (quickurl-list-buffer-name):
2887 * progmodes/dcl-mode.el (dcl-mode):
2888 * progmodes/gdb-mi.el (gdb-mapcar*):
2889 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2890
45261b50
GM
28912011-11-15 Glenn Morris <rgm@gnu.org>
2892
2893 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2894 in a boolean sense, so just make it a boolean, and fix the doc.
2895 (rmail-show-mime-function, rmail-mime-feature)
2896 (rmail-require-mime-maybe): Doc fixes.
2897 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2898
2899 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2900
0d26e0b6
JB
29012011-11-15 Juanma Barranquero <lekktu@gmail.com>
2902
2903 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2904 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2905 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2906 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2907
447f30f6
GM
29082011-11-15 Glenn Morris <rgm@gnu.org>
2909
672b871d
GM
2910 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2911 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2912 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2913 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2914 (rmail-mime, rmail-show-mime): Doc fixes.
2915
f6aa5bb1
GM
2916 * term/ns-win.el (mode-line-frame-identification):
2917 Leave it alone. (Bug#10051)
2918
947cd66b
GM
2919 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2920
447f30f6
GM
2921 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2922 Handle empty buffers. (Bug#9978)
2923
0b381c7e
JB
29242011-11-14 Juanma Barranquero <lekktu@gmail.com>
2925
2926 * international/mule.el (define-charset):
2927 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2928 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2929 * progmodes/verilog-mode.el (verilog-backward-token):
2930 * textmodes/ispell.el (lookup-words):
2931 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2932
71e027ac
GM
29332011-11-14 Glenn Morris <rgm@gnu.org>
2934
56632ce4
GM
2935 * progmodes/executable.el
2936 (executable-make-buffer-file-executable-if-script-p):
2937 Handle file-modes returning nil.
2938
40500957
GM
2939 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2940 message - not necessary, and causes problems. (Bug#9831)
2941
071c2340
GM
2942 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2943
d3cfca60
GM
2944 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2945
71e027ac
GM
2946 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2947 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2948 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2949
89d61221
MR
29502011-11-12 Martin Rudalics <rudalics@gmx.at>
2951
2952 * window.el (window-resize, delete-window): Use window-splits
2953 variable instead of function.
2954 (window-state-get-1, window-state-put-2, window-state-put):
2955 Don't deal with windows' splits status.
2956
98282f6f
GM
29572011-11-12 Glenn Morris <rgm@gnu.org>
2958
2959 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2960 (apropos-documentation): Doc fixes.
2961
40a8bdf6
JB
29622011-11-11 Juanma Barranquero <lekktu@gmail.com>
2963
2964 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2965 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2966
65bd19ff
SM
29672011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * electric.el (electric-indent-post-self-insert-function): Make it
2970 possible for a char to only indent in some circumstances.
2971 (electric-indent-mode): Simplify.
2972
54f9154c
MR
29732011-11-11 Martin Rudalics <rudalics@gmx.at>
2974
2975 * window.el (windows-with-parameter): Remove unused function.
2976 (windows-at-side): Rename to window-at-side-list.
2977 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2978 (window-side-check, window-size-ignore, window-size-fixed-1)
2979 (window-in-direction-2): Prefix with "window--".
2980 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2981
68cbc58b
GM
29822011-11-11 Glenn Morris <rgm@gnu.org>
2983
2984 * subr.el (eval-after-load): If FILE is already loaded,
2985 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2986
b2621720
GM
29872011-11-10 Glenn Morris <rgm@gnu.org>
2988
9a4de110
GM
2989 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2990 Call svn via vc-svn-command rather than vc-do-command.
2991 (vc-svn-command): Add --non-interactive. (Bug#9993)
2992 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2993
b2621720
GM
2994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2995 Add toggle-read-only. (Bug#7292)
2996 * files.el (toggle-read-only): Mention that it should only
2997 be used interactively. (Bug#10006)
2998
1dce7193
SM
29992011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3000
d9ac1a1e
SM
3001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3002 Adjust regexp for OCaml warnings.
3003
0c325082
SM
3004 * electric.el (electric-pair-post-self-insert-function): Let user
3005 turn it off buffer-locally (bug#9932).
3006
90132c14
SM
3007 * progmodes/python.el (python-beginning-of-statement):
3008 Rewrite (bug#2703).
3009
1dce7193
SM
3010 * progmodes/compile.el: Better handle TABs (bug#9749).
3011 (compilation-internal-error-properties)
3012 (compilation-next-error-function): Obey the target buffer's
3013 compilation-error-screen-columns.
3014
c4e7c63a
JB
30152011-11-09 Juanma Barranquero <lekktu@gmail.com>
3016
3017 * progmodes/meta-mode.el: Remove obsolete comments.
3018 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3019 Fix typos in docstrings.
3020
2cffd681
MR
30212011-11-09 Martin Rudalics <rudalics@gmx.at>
3022
3023 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3024 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3025 (window--resizable): New function. Make all callers of
3026 window-resizable call window--resizable instead.
3027 (window-resizable): Rewrite in terms of window--resizable.
3028
0edcba87
GM
30292011-11-08 Glenn Morris <rgm@gnu.org>
3030
3031 * progmodes/delphi.el (delphi-mode-syntax-table):
3032 Let define-derived-mode define a proper syntax table. (Bug#9994)
3033
4b0d61e3
SM
30342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * window.el: Stay away from defsubst.
3037 (window-list-no-nils): Remove.
3038 (window-state-get-1, window-state-get): Use backquote instead.
3039
cd394be1 30402011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3041
4b0d61e3 3042 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3043 Fix incorrect use of default argument in `completing-read'.
3044
e1c2c6f2
MR
30452011-11-08 Martin Rudalics <rudalics@gmx.at>
3046
3047 * window.el (display-buffer-function, special-display-function):
3048 Mention display-buffer-record-window but do not mention
3049 help-setup parameter in doc-strings.
b3f4a882 3050 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3051
105216ed
CY
30522011-11-08 Chong Yidong <cyd@gnu.org>
3053
3054 * window.el (window-total-height, window-total-width): Doc fix.
3055 (window-body-size): Move from C.
3056 (window-body-height, window-body-width): Move to C.
3057
0a9f9ab5
SM
30582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * window.el: Make special-display like display-buffer-alist (bug#9532).
3061 (display-buffer--special-action): New function, morphed
3062 from display-buffer--special.
3063 (display-buffer): Use it to handle special-display-buffers at higher
3064 priority (just after display-buffer-alist).
3065 (display-buffer-fallback-action, display-buffer--other-frame-action)
3066 (pop-to-buffer-same-window): Remove display-buffer--special.
3067
a769dd15
GM
30682011-11-07 Glenn Morris <rgm@gnu.org>
3069
3070 * calendar/cal-menu.el (cal-menu-set-date-title):
3071 Do nothing if not in a calendar. (Bug#9976)
3072
05a61ee3
SM
30732011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * files.el (find-file): Always use selected-window.
3076
be7f5545
MR
30772011-11-07 Martin Rudalics <rudalics@gmx.at>
3078
3079 * window.el (window-combinations): Make WINDOW argument
3080 mandatory. Rewrite doc-string.
3081 (walk-window-subtree, window-atom-check, window-min-delta)
3082 (window-max-delta, window--resize-this-window)
3083 (window--resize-root-window-vertically, window-tree)
3084 (balance-windows, window-state-put): Rewrite doc-strings as to
3085 not mention the term "subwindow".
3086 (window--resize-subwindows-skip-p): Rename to
3087 window--resize-child-windows-skip-p.
3088 (window--resize-subwindows-normal): Rename to
3089 window--resize-child-windows-normal.
3090 (window--resize-subwindows): Rename to
3091 window--resize-child-windows.
3092 (window-or-subwindow-p): Rename to window--in-subtree-p.
3093
3c6702ef
ML
30942011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3095
3096 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3097 Ensure that mbox format messages end in two newlines (Bug#9974).
3098
49745b39
CY
30992011-11-06 Chong Yidong <cyd@gnu.org>
3100
3101 * window.el (window-combination-p): Function deleted; its
3102 side-effect is not used in any existing code.
3103 (window-combinations, window-combined-p): Call window-*-child
3104 directly.
3105
24300f5f
CY
31062011-11-05 Chong Yidong <cyd@gnu.org>
3107
3108 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3109 (window-size-ignore, window-state-get): Callers changed.
3110 (window-normalize-window): Rename from window-normalize-any-window.
3111 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3112 (window-normalize-live-window): Delete.
447f16b8
CY
3113 (window-combination-p, window-combined-p, window-combinations)
3114 (walk-window-subtree, window-atom-root, window-min-size)
3115 (window-sizable, window-sizable-p, window-size-fixed-p)
3116 (window-min-delta, window-max-delta, window-resizable)
3117 (window-resizable-p, window-full-height-p, window-full-width-p)
3118 (window-current-scroll-bars, window-point-1, set-window-point-1)
3119 (window-at-side-p, window-in-direction, window-resize)
3120 (adjust-window-trailing-edge, maximize-window, minimize-window)
3121 (window-deletable-p, delete-window, delete-other-windows)
3122 (record-window-buffer, unrecord-window-buffer)
3123 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3124 (quit-window, split-window, window-state-put)
3125 (set-window-text-height, fit-window-to-buffer)
3126 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3127
89bd5ee1
EZ
31282011-11-04 Eli Zaretskii <eliz@gnu.org>
3129
53479029
EZ
3130 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3131 rfc2047-decode-string.
3132 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3133 warnings.
3134
89bd5ee1
EZ
3135 * window.el (window-body-height, window-body-width): Mention in
3136 the doc string that the return values are in frame's canonical
3137 units. (Bug#9949)
3138
bd17fdee
AM
31392011-11-03 Alan Mackenzie <acm@muc.de>
3140
3141 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3142 change in cc-engine.el.
3143
acc825c5
SM
31442011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3147
1885e5b8
MR
31482011-11-02 Martin Rudalics <rudalics@gmx.at>
3149
3150 * window.el (quit-window): Call unrecord-window-buffer after
3151 showing another buffer in the window. (Bug#9937)
acc825c5 3152 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3153
ebe06da9
JB
31542011-11-02 Juanma Barranquero <lekktu@gmail.com>
3155
3156 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3157 Accept status with more than 9 shelves. (Bug#9935)
3158 Reported by Colin D Bennett <colin@gibibit.com>.
3159
4ee88440
MR
31602011-11-01 Martin Rudalics <rudalics@gmx.at>
3161
3162 * help.el (with-help-window): Don't reference
3163 temp-buffer-show-specifiers in doc-string.
3164
08e1d82c
AS
31652011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3166
3167 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3168 menu-item.
3169
84bd6e9e
VJL
31702011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3171
3172 * whitespace.el: New version 13.2.2.
3173 (whitespace-newline-mode): Disable properly. Reported by Sarah
3174 <EmacsWiki>.
3175
dba0634a
UJ
31762011-10-30 Ulf Jasper <ulf.jasper@web.de>
3177
3178 * net/newst-treeview.el: Remove "Time-stamp".
3179 (newsticker--group-manage-orphan-feeds): Do not call
3180 newsticker--treeview-tree-update.
db22a3c2
JB
3181 (newsticker-treeview-update, newsticker-treeview):
3182 Call newsticker--treeview-tree-update if necessary.
dba0634a 3183
3d8daefe
MR
31842011-10-30 Martin Rudalics <rudalics@gmx.at>
3185
3186 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3187 (window-iso-combinations): Remove "iso-" infix.
3188 Suggested by Chong Yidong.
3d8daefe
MR
3189 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3190 (window-max-delta-1, window-resize, window--resize-siblings)
3191 (window--resize-this-window, adjust-window-trailing-edge)
3192 (split-window, balance-windows-1)
3193 (shrink-window-if-larger-than-buffer):
3194 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3195 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3196
1bc4c3ae
SM
31972011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3200 in place (bug#9907).
3201 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3202 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3203 (eshell-structure-basic-command, eshell-rewrite-while-command)
3204 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3205 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3206 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3207 (eshell-do-pipelines-synchronously, eshell-eval-command):
3208 Use backquotes and prefer setq to set.
3209 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3210 (eshell-macrop): Use functionp.
c1e2f5fa 3211 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3212
30b65d9c
CY
32132011-10-30 Chong Yidong <cyd@gnu.org>
3214
3215 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3216 instead of set-mark (Bug#9810).
3217
2d197ffb
CY
32182011-10-30 Chong Yidong <cyd@gnu.org>
3219
3220 * window.el (split-window-below, split-window-right): Rename from
3221 split-window-above-each-other and split-window-side-by-side
3222 respectively. All callers changed.
3223 (split-window-sensibly, split-window-sensibly): Use them.
3224 (split-window-keep-point): Doc fix.
3225
3226 * isearch.el: Add isearch-scroll property to split-window-below
3227 and split-window-right.
3228
3229 * follow.el (follow-mode):
3230 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3231 * progmodes/ada-xref.el (ada-gdb-application):
3232 * emulation/vip.el (vip-buffer-in-two-windows):
3233 * image-dired.el (image-dired-dired-with-window-configuration):
3234 * dired-x.el (dired-do-find-marked-files):
3235 * dired.el (dired-pop-to-buffer):
3236 * bs.el (bs--show-with-configuration):
3237 * vc/emerge.el (emerge-setup-windows):
3238 * textmodes/two-column.el (2C-two-columns):
3239 * textmodes/reftex-toc.el (reftex-toc):
3240 * progmodes/gdb-mi.el (gdb-setup-windows):
3241 * progmodes/fortran.el (fortran-window-create):
3242 * net/newst-treeview.el (newsticker--treeview-window-init):
3243 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3244 * emulation/tpu-edt.el (tpu-gold-map):
3245 * emulation/crisp.el (crisp-mode-map):
3246 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3247
38bb2ca8
CY
32482011-10-29 Chong Yidong <cyd@gnu.org>
3249
aa4de341
CY
3250 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3251
e1eb5385
CY
3252 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3253
5d2ece3c
CY
3254 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3255 forged Ispell output (Bug#7904).
3256
38bb2ca8
CY
3257 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3258
d0af9f77
SM
32592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * doc-view.el: Avoid ugly errors about not finding nil.
3262 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3263 (doc-view-dvipdf-program, doc-view-unoconv-program)
3264 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3265 Avoid nil or absolute file name as default value.
3266 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3267
52bedd34
AM
32682011-10-28 Alan Mackenzie <acm@muc.de>
3269
db22a3c2 3270 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3271
7e43cfa5
AM
32722011-10-28 Alan Mackenzie <acm@muc.de>
3273
3274 Amend the handling of c-beginning/end-of-defun in nested declaration
3275 scopes.
3276
52bedd34
AM
3277 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3278 cc-langs.el. Change it to a defcustom.
7e43cfa5 3279
52bedd34
AM
3280 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3281 cc-vars.el.
7e43cfa5 3282
d0af9f77
SM
3283 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3284 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3285
52bedd34 3286 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3287 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3288 (c-widen-to-enclosing-decl-scope): New function.
3289 (c-while-widening-to-decl-block): New macro.
3290 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3291 outward for defun boundaries, and correspondingly change symbol
3292 `respect-enclosure' to `go-outward'.
3293 (c-declaration-limits): Change algorithm to report only the "innermost"
3294 defun's boundaries.
3295
1a2ce9ee
DD
32962011-10-28 Deniz Dogan <deniz@dogan.se>
3297
3298 * net/rcirc.el (rcirc-mode): Use hard newlines.
3299
bc97a826
AM
33002011-10-28 Alan Mackenzie <acm@muc.de>
3301
3302 Amend to indent and fontify macros "which include their own semicolon"
3303 correctly, using the "virtual semicolon" mechanism.
3304
52bedd34 3305 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3306
d0af9f77 3307 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3308 Recode to scan one line at a time rather than having \n and \r
58179cce 3309 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3310 (c-forward-label): Amend for virtual semicolons.
58179cce 3311 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3312
52bedd34
AM
3313 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3314 of the new C macros.
bc97a826 3315
52bedd34 3316 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3317 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3318 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3319 (c-opt-cpp-macro-define): Make into a full language variable.
3320 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3321 AWK Mode (including \n, \r) removed, no longer needed.
3322
d0af9f77
SM
3323 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3324 Invoke c-make-macro-with-semi-re.
bc97a826 3325
52bedd34
AM
3326 * progmodes/cc-vars.el (c-macro-with-semi-re):
3327 (c-macro-names-with-semicolon): New variables.
58179cce 3328 (c-make-macro-with-semi-re): New function.
bc97a826 3329
7a6c0941
SM
33302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * vc/log-edit.el: Fill empty field rather than adding new one.
3333 (log-edit-add-field): New function.
3334 (log-edit-insert-changelog): Use it.
3335
b0c4cdcf
ML
33362011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3337
3338 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3339
ee1f1da9
SM
33402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3343 (gdb--check-interpreter): New function.
3344 (gdb): Use it.
3345
51bc5f8b
GM
33462011-10-27 Glenn Morris <rgm@gnu.org>
3347
416a2c45
GM
3348 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3349 (least-positive-float, least-negative-float)
3350 (least-positive-normalized-float, least-negative-normalized-float)
3351 (float-epsilon, float-negative-epsilon):
3352 Remove unnecessary declarations.
3353
3354 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3355 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3356 (least-positive-float, least-negative-float)
3357 (least-positive-normalized-float, least-negative-normalized-float)
3358 (float-epsilon, float-negative-epsilon): Add doc-strings,
3359 based on those in cl.texi.
3360
51bc5f8b
GM
3361 * files.el (set-visited-file-name): If the major-mode changed,
3362 reload the local variables. (Bug#9796)
3363
15de15c6
CY
33642011-10-27 Chong Yidong <cyd@gnu.org>
3365
3366 * subr.el (change-major-mode-after-body-hook): New hook.
3367 (run-mode-hooks): Run it.
3368
ee1f1da9
SM
3369 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3370 Use change-major-mode-before-body-hook.
15de15c6
CY
3371
3372 * simple.el (fundamental-mode):
3373 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3374 change introducing fundamental-mode-hook.
3375
5430d399
JB
33762011-10-26 Juanma Barranquero <lekktu@gmail.com>
3377
acc825c5 3378 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3379
ad74a69e
MA
33802011-10-26 Michael Albinus <michael.albinus@gmx.de>
3381
3382 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3383 tramp.el explicitly. (Bug#7583)
ad74a69e 3384
71d4c2a5
SM
33852011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * progmodes/octave-mod.el:
3388 * progmodes/octave-inf.el: Update maintainer.
3389
b1f6fa26
CY
33902011-10-26 Chong Yidong <cyd@gnu.org>
3391
3392 * subr.el (with-wrapper-hook): Rewrite doc.
3393
3f04efd6
MA
33942011-10-25 Michael Albinus <michael.albinus@gmx.de>
3395
3396 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3397 filenames "/method:foo:". (Bug#9793)
3f04efd6 3398
410488d3
SM
33992011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3402 (bug#9865).
3403
c1ebb47e
GM
34042011-10-24 Glenn Morris <rgm@gnu.org>
3405
3406 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3407
7f5c46c7
MA
34082011-10-24 Michael Albinus <michael.albinus@gmx.de>
3409
3410 * notifications.el: Add the requirement of a running D-Bus session
3411 bus to the Commentary.
3412
db2440b6
JL
34132011-10-24 Juri Linkov <juri@jurta.org>
3414
3415 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3416 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3417 (Bug#9364)
3418
feecf435
JL
34192011-10-24 Juri Linkov <juri@jurta.org>
3420
3421 * info.el (Info-following-node-name-re): Add newline to the list
3422 of allowed characters for leading space. (Bug#9824)
3423
a3839de2
SM
34242011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3425
acc825c5
SM
3426 * progmodes/octave-inf.el (inferior-octave-mode-map):
3427 Fix C-c C-h binding.
a3839de2
SM
3428 * progmodes/octave-mod.el (octave-help): Remove.
3429
09388e76
MA
34302011-10-23 Michael Albinus <michael.albinus@gmx.de>
3431
3432 Sync with Tramp 2.2.3.
3433
3434 * net/tramp-cache.el (top): Pacify byte-compiler using
3435 `init-file-user' and `site-run-file'.
3436
3437 * net/trampver.el: Update release number.
3438
86c60681
CY
34392011-10-23 Chong Yidong <cyd@gnu.org>
3440
3441 * files.el (toggle-read-only): Remove obsolete comment about
3442 version control.
3443
3444 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3445 for toggle-read-only. Note that this hasn't called vc-next-action
3446 since 2008-05-02, though it wasn't documented at the time.
3447
a3839de2
SM
3448 * vc/ediff-init.el (ediff-toggle-read-only-function):
3449 Use toggle-read-only.
86c60681 3450
cd5495ff
AM
34512011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3452
3453 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3454 of c-parse-state.
3455
00b77525 3456 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3457 correct faulty logical expression.
cd5495ff
AM
3458 (c-parse-state-state, c-record-parse-state-state):
3459 (c-replay-parse-state-state): New defvar/defuns.
3460 (c-debug-parse-state): Use new functions.
3461
42ee24ed
MR
34622011-10-22 Martin Rudalics <rudalics@gmx.at>
3463
3464 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3465 last fix. Use window-in-direction correctly.
42ee24ed 3466
a7dee7e7
CY
34672011-10-21 Chong Yidong <cyd@gnu.org>
3468
3469 * progmodes/idlwave.el (idlwave-mode):
3470 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3471 require-final-newline; that's done in prog-mode.
3472 Suggested by Stefan Monnier.
a7dee7e7 3473
e07b9a6d
MR
34742011-10-21 Martin Rudalics <rudalics@gmx.at>
3475
3476 * mouse.el (mouse-drag-window-above)
3477 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3478 (mouse-drag-mode-line-1, mouse-drag-header-line)
3479 (mouse-drag-vertical-line-rightward-window): Remove.
3480 (mouse-drag-line): New function.
3481 (mouse-drag-mode-line, mouse-drag-header-line)
3482 (mouse-drag-vertical-line): Call mouse-drag-line.
3483 * window.el (window-at-side-p, windows-at-side): New functions.
3484
7e1361d9
UM
34852011-10-21 Ulrich Mueller <ulm@gentoo.org>
3486
3487 * tar-mode.el (tar-grind-file-mode):
3488 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3489
30fcaf3a
CY
34902011-10-21 Chong Yidong <cyd@gnu.org>
3491
3492 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3493 * progmodes/vera-mode.el (vera-mode):
3494 Use mode-require-final-newline.
30fcaf3a 3495
516eddb0
GM
34962011-10-20 Glenn Morris <rgm@gnu.org>
3497
db22a3c2 3498 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3499
10d5f513
CS
35002011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3501
3502 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3503
ac6c8639
CY
35042011-10-20 Chong Yidong <cyd@gnu.org>
3505
3506 * emulation/cua-base.el (cua-mode):
3507 * mail/footnote.el (footnote-mode):
3508 * mail/mailabbrev.el (mail-abbrevs-mode):
3509 * net/xesam.el (xesam-minor-mode):
3510 * progmodes/bug-reference.el (bug-reference-mode):
3511 * progmodes/cap-words.el (capitalized-words-mode):
3512 * progmodes/compile.el (compilation-minor-mode)
3513 (compilation-shell-minor-mode):
3514 * progmodes/gud.el (gud-tooltip-mode):
3515 * progmodes/hideif.el (hide-ifdef-mode):
3516 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3517 * progmodes/subword.el (subword-mode):
3518 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3519 * progmodes/which-func.el (which-function-mode):
3520 * term/tvi970.el (tvi970-set-keypad-mode):
3521 * term/vt100.el (vt100-wide-mode):
3522 * textmodes/flyspell.el (flyspell-mode):
3523 * textmodes/ispell.el (ispell-minor-mode):
3524 * textmodes/nroff-mode.el (nroff-electric-mode):
3525 * textmodes/paragraphs.el (use-hard-newlines):
3526 * textmodes/refill.el (refill-mode):
3527 * textmodes/reftex.el (reftex-mode):
3528 * textmodes/rst.el (rst-minor-mode):
3529 * textmodes/sgml-mode.el (html-autoview-mode)
3530 (sgml-electric-tag-pair-mode):
3531 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3532 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3533 * emulation/crisp.el (crisp-mode):
3534 * emacs-lisp/eldoc.el (eldoc-mode):
3535 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3536 minor mode behavior.
3537
aa42ab43
JL
35382011-10-19 Juri Linkov <juri@jurta.org>
3539
3540 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3541 the list of hard-coded chars with escape-glyph face.
3542
89400f1d
SM
35432011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3546
305c07f6
MA
35472011-10-19 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3550 running process.
3551
13754b54
GM
35522011-10-19 Glenn Morris <rgm@gnu.org>
3553
3554 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3555 Ignore ignored files. (Bug#9726)
3556
06e21633
CY
35572011-10-19 Chong Yidong <cyd@gnu.org>
3558
3559 Doc fix for minor modes, stating that an omitted argument enables
3560 the mode unconditionally when called from Lisp.
3561
3562 * abbrev.el (abbrev-mode):
3563 * allout.el (allout-mode):
3564 * autoinsert.el (auto-insert-mode):
3565 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3566 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3567 (global-auto-revert-mode):
3568 * battery.el (display-battery-mode):
3569 * composite.el (global-auto-composition-mode)
3570 (auto-composition-mode):
3571 * delsel.el (delete-selection-mode):
3572 * desktop.el (desktop-save-mode):
3573 * dired-x.el (dired-omit-mode):
3574 * dirtrack.el (dirtrack-mode):
3575 * doc-view.el (doc-view-minor-mode):
3576 * double.el (double-mode):
3577 * electric.el (electric-indent-mode, electric-pair-mode):
3578 * emacs-lock.el (emacs-lock-mode):
3579 * epa-hook.el (auto-encryption-mode):
3580 * follow.el (follow-mode):
3581 * font-core.el (font-lock-mode):
3582 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3583 * help.el (temp-buffer-resize-mode):
3584 * hilit-chg.el (highlight-changes-mode)
3585 (highlight-changes-visible-mode):
3586 * hi-lock.el (hi-lock-mode):
3587 * hl-line.el (hl-line-mode, global-hl-line-mode):
3588 * icomplete.el (icomplete-mode):
3589 * ido.el (ido-everywhere):
3590 * image-file.el (auto-image-file-mode):
3591 * image-mode.el (image-minor-mode):
3592 * iswitchb.el (iswitchb-mode):
3593 * jka-cmpr-hook.el (auto-compression-mode):
3594 * linum.el (linum-mode):
3595 * longlines.el (longlines-mode):
3596 * master.el (master-mode):
3597 * mb-depth.el (minibuffer-depth-indicate-mode):
3598 * menu-bar.el (menu-bar-mode):
3599 * minibuf-eldef.el (minibuffer-electric-default-mode):
3600 * mouse-sel.el (mouse-sel-mode):
3601 * msb.el (msb-mode):
3602 * mwheel.el (mouse-wheel-mode):
3603 * outline.el (outline-minor-mode):
3604 * paren.el (show-paren-mode):
3605 * recentf.el (recentf-mode):
3606 * reveal.el (reveal-mode, global-reveal-mode):
3607 * rfn-eshadow.el (file-name-shadow-mode):
3608 * ruler-mode.el (ruler-mode):
3609 * savehist.el (savehist-mode):
3610 * scroll-all.el (scroll-all-mode):
3611 * scroll-bar.el (scroll-bar-mode):
3612 * server.el (server-mode):
3613 * shell.el (shell-dirtrack-mode):
3614 * simple.el (auto-fill-mode, transient-mark-mode)
3615 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3616 (line-number-mode, column-number-mode, size-indication-mode)
3617 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3618 * strokes.el (strokes-mode):
3619 * time.el (display-time-mode):
3620 * t-mouse.el (gpm-mouse-mode):
3621 * tool-bar.el (tool-bar-mode):
3622 * tooltip.el (tooltip-mode):
3623 * type-break.el (type-break-mode-line-message-mode)
3624 (type-break-query-mode):
3625 * view.el (view-mode):
3626 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3627 (global-whitespace-mode, global-whitespace-newline-mode):
3628 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3629
a3839de2
SM
3630 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3631 Fix autogenerated docstring.
06e21633 3632
5214e501
JL
36332011-10-19 Juri Linkov <juri@jurta.org>
3634
3635 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3636 by checking environment variables "DESKTOP_SESSION" and
3637 "XDG_CURRENT_DESKTOP". (Bug#9779)
3638
195f8db9
JL
36392011-10-19 Juri Linkov <juri@jurta.org>
3640
3641 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3642 (browse-url-chromium-program, browse-url-chromium-arguments):
3643 New defcustoms.
3644 (browse-url-default-browser): Check for `browse-url-chromium' and
3645 call `browse-url-chromium-program'.
3646 (browse-url-chromium): New command. (Bug#9779)
3647
343a34ff
JB
36482011-10-18 Juanma Barranquero <lekktu@gmail.com>
3649
3650 * facemenu.el (list-colors-duplicates): On Windows, detect more
3651 duplicates by assuming that only colors matching "^System" are
3652 special "system colors". (Bug#9722)
3653
6978a151
SM
36542011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3657 to distinguish the author from the committer.
3658
6a80b297
MA
36592011-10-18 Michael Albinus <michael.albinus@gmx.de>
3660
3661 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3662
b31a5677
JK
36632011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3664
3665 * international/mule.el (sgml-html-meta-auto-coding-function):
3666 Add support for detecting encoding in HTML5 specified only as
3667 <meta charset="UTF-8">. Implementation just makes http-equiv and
3668 content-type parts from HTML4 encoding string optional. (Bug#9716)
3669
80c6d77f
GM
36702011-10-18 Glenn Morris <rgm@gnu.org>
3671
3672 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3673
08b0fee8
CY
36742011-10-18 Chong Yidong <cyd@gnu.org>
3675
3676 * faces.el (cursor): Doc fix.
3677
67e729a5
CY
36782011-10-17 Chong Yidong <cyd@gnu.org>
3679
3680 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3681
343a34ff 36822011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3683
3684 * dirtrack.el (dirtrack): Support shell buffers with path
3685 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3686
0bc06380
TZ
36872011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3688
3689 * json.el: Bump version to 1.3 and note change in History.
3690 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3691
8b79f3e0
SM
36922011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3693
5a7c536b
SM
3694 * comint.el (comint-insert-input, comint-send-input)
3695 (comint-get-old-input-default, comint-backward-matching-input)
3696 (comint-next-prompt): Use nil instead of `input' for field property of
3697 past user input (bug#114).
3698
96a8a0df
SM
3699 * minibuffer.el (completion--replace): Inherit surrounding properties
3700 (bug#114).
3701 (minibuffer-complete-and-exit): Use it.
3702
8b79f3e0
SM
3703 * comint.el (comint--table-subvert): Quote the all-completions output
3704 (bug#9160).
3705
b8f7ff0d
MR
37062011-10-17 Martin Rudalics <rudalics@gmx.at>
3707
8b79f3e0 3708 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3709
b8f7ff0d 3710 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3711 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3712 entries and separate them from frame entries.
3713
c235b555
GM
37142011-10-15 Glenn Morris <rgm@gnu.org>
3715
3716 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3717 Doc fixes.
3718
6bbfa6e1
CY
37192011-10-15 Chong Yidong <cyd@stupidchicken.com>
3720
8b79f3e0
SM
3721 * net/network-stream.el (network-stream-open-starttls):
3722 Improve detection of failure due to lack of TLS support.
ec5c990d 3723
6bbfa6e1
CY
3724 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3725 putting the input text in front and in bold.
3726
98488977
SM
37272011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3d1337be
SM
3729 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3730
ee0b45e4
SM
3731 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3732 empty buffer.
3733
98488977
SM
3734 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3735 unread-command-events rather than pushing yet-another event.
3736
186f4720
EZ
37372011-10-14 Eli Zaretskii <eliz@gnu.org>
3738
3739 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3740 the explanation of the possible choices. Make the options passed
3741 to completing-read shorter.
3742
8b7a997c
AM
37432011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3744
3745 * textmodes/flyspell.el (flyspell-large-region): Make sure
3746 extended character mode is used if defined (Bug#1339).
3747
12587bbb
EZ
37482011-10-13 Eli Zaretskii <eliz@gnu.org>
3749
3750 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3751 character info for LRE, LRO, RLE, and RLO characters by appending
3752 an invisible PDF.
12587bbb 3753
bad41229
SM
37542011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3757 even in case of error; add debug spec; simplify data flow.
3758 (with-timeout-handler): Remove.
3759
28dbc92f
MA
37602011-10-12 Michael Albinus <michael.albinus@gmx.de>
3761
3762 Fix Bug#6019, Bug#9315.
3763
3764 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3765 complete `buffer-file-name', the local file name part could look
3766 remotely (for example on VMS).
3767
3768 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3769 `tramp-run-real-handler'.
3770 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3771 already quoted by '"'.
3772
3773 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3774 Let `file-name-handler-alist' be nil, the local file name part
3775 could look remotely (for example on VMS).
3776
e1b0b23a
SM
37772011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3780 from here...
3781 (flyspell-post-command-hook): ...to here.
3782
a120bde9
SM
37832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3786 if not needed.
3787 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3788 using completion. Protect against "slow" callers.
3789 Remove the "message hack".
3790
7ce7717b
JL
37912011-10-11 Juri Linkov <juri@jurta.org>
3792
3793 * isearch.el (isearch-lazy-highlight-word): New variable.
3794 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3795 Use it. (Bug#9727)
3796
c02ee9d6
GM
37972011-10-11 Glenn Morris <rgm@gnu.org>
3798
3799 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3800 like f90-previous-statement does.
3801
93e616fd 38022011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3803
1f190e73 3804 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3805 only in interactive use, to avoid error.
3806
af7b6078
SM
38072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * minibuffer.el (completion-file-name-table): Fix last change,
3810 i.e. ignore normal errors but not the other ones.
3811
0563dae9
MR
38122011-10-10 Martin Rudalics <rudalics@gmx.at>
3813
3814 * window.el (special-display-buffer-names)
3815 (special-display-regexps): Remove some remnants of earlier
3816 changes from doc-strings.
366ca7f3
MR
3817 (quit-windows-on): New function.
3818
3819 * vc/vc.el (vc-revert, vc-rollback):
3820 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3821 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3822 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3823
49677495
MR
38242011-10-09 Martin Rudalics <rudalics@gmx.at>
3825
3826 * window.el (frame-auto-hide-function): Add version tag.
3827 (Bug#9699)
3828
56f2d1e1
MA
38292011-10-09 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3832 condition.
3833
112a6592
LL
38342011-10-09 Leo Liu <sdl.web@gmail.com>
3835
3836 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3837 (Bug#9701)
3838
0812589b
GM
38392011-10-08 Glenn Morris <rgm@gnu.org>
3840
3841 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3842 before the first code statement zero indent. (Bug#9690)
3843
b2b0776e
CY
38442011-10-08 Chong Yidong <cyd@stupidchicken.com>
3845
3846 * simple.el (count-words-region): Always count in the region.
3847 Report the number of lines and characters too.
3848 (count-words): New command, which counts in the buffer if the
3849 region is inactive, as count-words-region used to.
3850 (count-words--message): New function. Handle plurals.
3851 (count-lines-region): Make it an alias for count-words-region.
3852
3853 * bindings.el (esc-map): Replace count-lines-region with
3854 count-words-region.
3855
c557cd6b
MR
38562011-10-08 Martin Rudalics <rudalics@gmx.at>
3857
3858 * window.el (window--delete): Delete dedicated frame
3859 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3860 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3861
61a57ef4 38622011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3863
3a7d293b 3864 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3865
c3833279
CY
38662011-10-07 Chong Yidong <cyd@stupidchicken.com>
3867
3868 * bindings.el ([M-left],[M-right]): Bind to left-word and
3869 right-word respectively.
3870
21ce8245
GM
38712011-10-07 Glenn Morris <rgm@gnu.org>
3872
3873 * cus-start.el (debug-on-quit): Fix custom type.
3874
6d823bb2
LMI
38752011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3876
0181e193
LMI
3877 * subr.el (define-key-after): Clarify that the function is not
3878 useful for non-menu keymaps.
3879
6d823bb2
LMI
3880 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3881
8e3459ce 38822011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3883
21ce8245 3884 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3885 in current minibuffer (Fix bug with recursive minibuffers).
3886
a1c2d21e
CY
38872011-10-06 Chong Yidong <cyd@stupidchicken.com>
3888
3889 * progmodes/gdb-mi.el (gdb): Doc fix.
3890
5a4cf282
MR
38912011-10-05 Martin Rudalics <rudalics@gmx.at>
3892
3893 * window.el (frame-auto-hide-function): New option replacing
3894 frame-auto-delete. Suggested by Stefan Monnier.
3895 (window--delete): Call frame-auto-hide-function instead of
3896 investigating frame-auto-delete.
c96111ea
MR
3897 (window-point-1, set-window-point-1): New functions.
3898 (window-in-direction, record-window-buffer, window-state-get-1)
3899 (display-buffer-record-window): Use window-point-1 instead of
3900 window-point.
3901 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3902
9854542e
SM
39032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3906
8943cfb0
GM
39072011-10-05 Glenn Morris <rgm@gnu.org>
3908
3909 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3910 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3911
647ab967
LL
39122011-10-05 Leo Liu <sdl.web@gmail.com>
3913
3914 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3915 works with buffer object.
3916
3ddfbced
SM
39172011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * mpc.el (mpc-tool-bar-map): Add labels.
3920
bdfa5dd2
GM
39212011-10-04 Glenn Morris <rgm@gnu.org>
3922
3923 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3924
0e2070b5
MR
39252011-10-04 Martin Rudalics <rudalics@gmx.at>
3926
3927 * window.el (window--delete): New function.
3928 (frame-auto-delete): Resuscitate option.
3929 (bury-buffer, replace-buffer-in-windows)
3930 (quit-window): Rewrite using window--delete.
3931 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3932 Pass display-buffer-mark-dedicated to window--display-buffer-2
3933 (Bug#9639).
3934
3dc61a09
SM
39352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3936
915a9b64
SM
3937 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3938 returns a list (bug#9554). Add remote file name completion.
3939 * comint.el (comint--table-subvert): Curry and get quote&unquote
3940 functions as arguments.
3941 (comint--complete-file-name-data): Adjust call accordingly.
3942 * pcomplete.el (pcomplete--table-subvert): Remove.
3943 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3944
3dc61a09
SM
3945 * minibuffer.el (completion-table-case-fold): Use currying.
3946 (completion--styles-type, completion--cycling-threshold-type):
3947 New constants.
3948 (completion-styles, completion-category-overrides)
3949 (completion-cycle-threshold): Use them.
3950 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3951 completion-table-case-fold.
3952
8ea0a993
SB
39532011-10-03 Stephen Berman <stephen.berman@gmx.net>
3954
3955 * minibuffer.el (completion-category-overrides): Fix type of styles
3956 and add more user friendly tags (bug#9660).
3957
8c24b7f6
SM
39582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3961 (mule-input-method-string): New widget.
3962 (default-input-method, language-info-custom-alist): Use it.
3963
428fe61a
SM
39642011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3965
32c1fffd
SM
3966 * pcomplete.el: Require comint.
3967 (pcomplete--common-suffix): Remove.
3968 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3969 (pcomplete--table-subvert): Sync with comint--table-subvert.
3970 (pcomplete--entries): Use comint-completion-file-name-table.
3971 * comint.el (comint-unquote-filename): Simplify.
3972 (comint-completion-file-name-table): New function (bug#9616).
3973 (comint--complete-file-name-data): Use it.
3974
428fe61a
SM
3975 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3976 (pcmpl-gnu-tar-buffer): Remove.
3977 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3978 around. Make sure pcomplete-suffix-list is only changed temporarily.
3979 Don't look inside the tar's file if it's too large.
428fe61a 3980
04c52e2f
CY
39812011-10-01 Chong Yidong <cyd@stupidchicken.com>
3982
ce3cefcc
CY
3983 * cus-edit.el (custom-mode-map):
3984 * epa.el (epa-key-list-mode-map):
3985 * man.el (Man-mode-map):
3986 * startup.el (splash-screen-keymap):
3987 * simple.el (special-mode-map): Use scroll-up-command and
3988 scroll-down-command.
3989
3990 * progmodes/idlw-help.el (idlwave-help-mode-map):
3991 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3992 * net/newst-plainview.el (newsticker-mode-map):
3993 * emulation/ws-mode.el (wordstar-mode-map):
3994 * emulation/vi.el (vi-com-map):
3995 * calc/calc-graph.el (calc-graph-show-dumb):
3996 * term/sun.el (terminal-init-sun):
3997 * term/ns-win.el (global-map):
3998 * progmodes/grep.el (grep-mode-map):
3999 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4000 * mail/rmail.el (rmail-mode-map):
4001 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4002
04c52e2f
CY
4003 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4004 custom-safe-themes as special.
4005
79adf8c8
JD
40062011-10-01 Julien Danjou <julien@danjou.info>
4007
4008 * notifications.el (notifications-notify): Fix docstring.
4009
63bd50d3
PS
40102011-10-01 Per Starbäck <per@starback.se>
4011
4012 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4013
199e4c7e
MR
40142011-09-30 Martin Rudalics <rudalics@gmx.at>
4015
4016 * startup.el (command-line-1): Fix last fix by inserting
4017 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4018 (Bug#9605) and (Bug#9636)
199e4c7e 4019
fe5f08dd
EZ
40202011-09-29 Eli Zaretskii <eliz@gnu.org>
4021
4022 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4023 window is hscrolled, move by logical lines. (Bug#9607)
4024 (line-move-visual): Update the doc string to the above effect.
4025
b5516bbd
MR
40262011-09-29 Martin Rudalics <rudalics@gmx.at>
4027
ccee00c0
MR
4028 * window.el (display-buffer-record-window): When WINDOW is the
4029 selected window use `point' instead of `window-point'. (Bug#9626)
4030
b5516bbd
MR
4031 * startup.el (command-line-1): Use insert-before-markers when
4032 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4033
b5516bbd
MR
4034 * help.el (help-window): Remove variable.
4035
52aa0014
GM
40362011-09-29 Glenn Morris <rgm@gnu.org>
4037
4038 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4039
df9a7357
JB
40402011-09-29 Juanma Barranquero <lekktu@gmail.com>
4041
4042 * descr-text.el (describe-char-categories): Accept category
4043 descriptions more than one line long.
4044
a8406c20
SM
40452011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4046
88d9610c
SM
4047 * simple.el (delete-trailing-whitespace): Fix last change.
4048
a5daf810
SM
4049 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4050 Don't confuse "y => 3" as the beginning of a `y' operation.
4051
a8406c20
SM
4052 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4053 object has more than 4 slots (bug#9613).
4054
a239d4e9
JB
40552011-09-28 Juanma Barranquero <lekktu@gmail.com>
4056
4057 * subr.el (with-output-to-temp-buffer):
4058 * net/quickurl.el (quickurl, quickurl-browse-url):
4059 Fix typos in docstrings.
4060
693fbdb6
EZ
40612011-09-27 Eli Zaretskii <eliz@gnu.org>
4062
4063 * minibuffer.el (completion-styles)
4064 (completion-category-overrides): Cross reference each other in doc
4065 strings.
4066
8b457e28
GM
40672011-09-27 Glenn Morris <rgm@gnu.org>
4068
4069 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4070 to split-string. (Bug#9606)
4071
85a16208
LMI
40722011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4073
4074 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4075 (bug#9615).
4076
502f9ebd
CY
40772011-09-27 Chong Yidong <cyd@stupidchicken.com>
4078
4079 * emacs-lisp/package.el (list-packages): Fix echo area message.
4080
7690bdea
LL
40812011-09-27 Leo Liu <sdl.web@gmail.com>
4082
4083 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4084
e2ee6f30
MA
40852011-09-25 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/dbus.el (dbus-unregister-object): Don't release services for
4088 registered signals. (Bug#9581)
4089
f3f98342
TZ
40902011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4091
4092 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4093 function that picks between cfengine 2 and 3 support
4094 automatically. Update docs accordingly.
4095
dd7aa8dd
KH
40962011-09-22 Kenichi Handa <handa@m17n.org>
4097
4098 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4099 ZERO.
4100 (indian-itrans-v5-table-for-tamil): New variable.
4101 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4102
3f2b07f8
KM
41032011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4104
4105 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4106 that's true if the current command involved collapsing of text.
4107 It's reset to false at the beginning of the next command.
4108 (allout-post-command-business): Move the cursor to the beginning
4109 of entry if the cursor is hidden and collapsing activity just
4110 happened.
4111
371d6a61
CY
41122011-09-24 Chong Yidong <cyd@stupidchicken.com>
4113
4114 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4115 tracking (Bug#9541).
4116
2ac2721a
UJ
41172011-09-24 Ulf Jasper <ulf.jasper@web.de>
4118
4119 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4120 (newsticker-show-news): Automatically load html rendering package
4121 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4122 because w3m-fill-column is let-bound" and the error "Symbol's value
4123 as variable is void: w3m-fill-column".
2ac2721a 4124
fac7ae53
MA
41252011-09-24 Michael Albinus <michael.albinus@gmx.de>
4126
4127 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4128 Release services only if they are defined. (Bug#9581)
4129
e08b633b
RS
41302011-09-23 Richard Stallman <rms@gnu.org>
4131
e488d29c
RS
4132 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4133 distinguish start of paragraph from start of its text.
4134
19c38752
RS
4135 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4136
e08b633b
RS
4137 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4138 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4139 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4140
0a39f27e
AS
41412011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4142
4143 * international/mule-diag.el (mule-diag): Insert a newline after
4144 each fontset description.
4145
db4e950d
SM
41462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * simple.el (delete-trailing-whitespace):
4149 Document last change; simplify.
4150
eca3f3ea
PW
41512011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4152
d68e189a
PW
4153 * simple.el (delete-trailing-whitespace): Also delete
4154 extra newlines at the end of the buffer.
4155
eca3f3ea
PW
4156 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4157 (picture-newline): Use forward-line so as to ignore fields.
4158
01c157cc
SM
41592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * subr.el (with-wrapper-hook): Fix edebug spec.
4162
022de23e
LMI
41632011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4164
4165 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4166 (bug#4538).
4167
91683089
MA
41682011-09-23 Michael Albinus <michael.albinus@gmx.de>
4169
eca3f3ea
PW
4170 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4171 Fix nasty bug using wrong cached values.
91683089 4172
5bdd6fa4
AM
41732011-09-23 Alan Mackenzie <acm@muc.de>
4174
4175 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4176
97adfb97
CY
41772011-09-23 Chong Yidong <cyd@stupidchicken.com>
4178
4179 * window.el (pop-to-buffer): Ensure right window is selected if we
4180 chose another frame.
4181
d4ef2b50
EZ
41822011-09-22 Eli Zaretskii <eliz@gnu.org>
4183
4184 * simple.el (what-cursor-position): Use get-char-property-change
4185 and next-single-char-property-change, to be able to show display
4186 properties that come from overlays as well as text properties.
4187
72258fe5
CY
41882011-09-22 Chong Yidong <cyd@stupidchicken.com>
4189
4190 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4191
4192 * cmuscheme.el (run-scheme, switch-to-scheme):
4193 * cus-edit.el (customize-group, custom-buffer-create)
4194 (customize-browse):
4195 * info.el (info):
4196 * shell.el (shell):
4197 * mail/sendmail.el (mail):
4198 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4199
8f098516
RS
42002011-09-22 Richard Stallman <rms@gnu.org>
4201
4202 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4203 move back only to line beg, don't move back over blank lines.
4204
e74f1bb6
MA
42052011-09-22 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * files.el (copy-directory): Set directory attributes only in case
4208 they could be retrieved from the source directory. (Bug#9565)
4209
bfeef8b6
DK
42102011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4211
4212 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4213 (hs-find-block-beginning, hs-hide-level-recursive):
4214 Ignore strings as well as comments. (Bug#9502)
4215
7e423bb8
AS
42162011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4217
4218 * progmodes/sql.el (sql-comint-postgres):
4219 Convert port number to a string. (Bug#9566)
4220
b4d72fcf
MR
42212011-09-22 Martin Rudalics <rudalics@gmx.at>
4222
4223 * window.el (quit-window): Undedicate window when switching to
4224 previous buffer. Reported by Thierry Volpiatto
4225 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4226 (special-display-popup-frame): When popping up a new frame reset
4227 its previous buffers to nil. Simplify code.
b4d72fcf 4228
a7b88dc6
MA
42292011-09-21 Michael Albinus <michael.albinus@gmx.de>
4230
4231 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4232 and process filter, as done also in `shell-command'.
4233
cf4eacfd
MR
42342011-09-21 Martin Rudalics <rudalics@gmx.at>
4235
eca3f3ea 4236 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4237 Call set-window-start with NOFORCE argument t.
4238 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4239 (quit-window): Reword doc-string. Handle new format of
4240 quit-restore parameter. Don't delete window if it has a
4241 previous buffer we can show instead of the present one.
4242 (display-buffer-record-window): Rewrite using a new format for
4243 the quit-restore window parameter
4244 (special-display-popup-frame, display-buffer-same-window)
4245 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4246 (display-buffer-pop-up-window, display-buffer-use-some-window):
4247 Adapt symbol passed to display-buffer-record-window.
4248 * help.el (help-window-setup): Handle new format of quit-restore
4249 parameter.
4250
8d28cb95
SM
42512011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4252
94ab793f
SM
4253 * faces.el (face-list): Fix docstring (bug#9564).
4254
8d28cb95
SM
4255 * window.el (display-buffer--action-function-custom-type):
4256 Don't include internal functions in the Custom interface.
4257
3820edeb
JL
42582011-09-20 Juri Linkov <juri@jurta.org>
4259
4260 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4261 (Info-forward-node, Info-backward-node, Info-next-preorder)
4262 (Info-last-preorder): Use it. (Bug#9528)
4263
5147931d
JL
42642011-09-20 Juri Linkov <juri@jurta.org>
4265
4266 * info.el (Info-last-preorder): Visit last menu item only when
4267 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4268
cf499a1a
JD
42692011-09-20 Julien Danjou <julien@danjou.info>
4270
4271 * password-cache.el (password-cache-remove): Remove entries even if the
4272 value is nil, so that password with a nil value (negative caching) is
4273 possible to invalidate.
4274
f84e2fe2
LM
42752011-09-20 Lawrence Mitchell <wence@gmx.li>
4276
4277 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4278 all whitespace around breakpoint. (Bug#9553)
4279 (f90-find-breakpoint): Only break at whitespace inside a comment.
4280
78054a46
SM
42812011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * minibuffer.el (completion-file-name-table): Keep track of errors.
4284 (completion-table-with-predicate): Handle the case where pred1 is nil.
4285 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4286
345083b2
SM
42872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4288
e24e27be
SM
4289 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4290 (debugger-return-value): Signal an error if the debugging context does
4291 not await any return value.
4292
345083b2
SM
4293 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4294 * image-mode.el (image-toggle-display-text)
4295 (image-toggle-display-image): Stay away from evil `intangible'.
4296
08d355e3
LL
42972011-09-19 Leo Liu <sdl.web@gmail.com>
4298
4299 * replace.el (occur-revert-arguments): Make it permanent-local.
4300 (occur-mode): Don't call font-lock-defontify.
4301
f01da43f
CY
43022011-09-19 Chong Yidong <cyd@stupidchicken.com>
4303
4304 * net/ldap.el (ldap-search-internal): Don't push empty search
4305 result (Bug#9508).
4306
b6072fa6
SM
43072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4310
443d6696
MA
43112011-09-19 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4314 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4315
7cc6e154
JL
43162011-09-18 Juri Linkov <juri@jurta.org>
4317
4318 * buff-menu.el (Buffer-menu-mode-map):
4319 * dired.el (dired-mode-map):
4320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4321 (lisp-interaction-mode-map):
4322 * emacs-lisp/package.el (package-menu-mode-map):
4323 * epa.el (epa-key-list-mode-map):
4324 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4325 (menu-bar-options-menu):
4326 * outline.el (outline-mode-menu-bar-map):
4327 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4328 * vc/vc-dir.el (vc-dir-menu-map):
4329 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4330 Capitalize non-function content words in menu item strings.
4331
4332 * dired.el (dired-mode-map): Add menu item for
4333 `image-dired-dired-toggle-marked-thumbs'.
4334
80302a81
JL
43352011-09-18 Juri Linkov <juri@jurta.org>
4336
4337 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4338 to `isearch-case-fold-search' and restore its original value
4339 after the `isearch-mode' call.
4340
46c5cf66
JL
43412011-09-18 Juri Linkov <juri@jurta.org>
4342
4343 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4344 because `zgrep' returns 1 for successful matches (bug#9226).
4345
d18b513b
JL
43462011-09-18 Juri Linkov <juri@jurta.org>
4347
4348 * info.el (Info-extract-menu-node-name): Check the second match
4349 for empty string (second test-case of bug#9528).
4350 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4351 intermediate nodes to the history (first test-case of bug#9528).
4352
72753f87
JL
43532011-09-18 Juri Linkov <juri@jurta.org>
4354
4355 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4356 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4357
c9384295
JL
43582011-09-18 Juri Linkov <juri@jurta.org>
4359
1154d12e
JB
4360 * info.el (Info-file-supports-index-cookies):
4361 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4362 outputs one more line for long file names (bug#4142).
c9384295 4363
d473dce8
CY
43642011-09-18 Chong Yidong <cyd@stupidchicken.com>
4365
4366 * newcomment.el (comment-normalize-vars): If prompting for
4367 comment-start, set comment-start-skip too (Bug#8424).
4368
2176854d
JB
43692011-09-18 Johan Bockgård <bojohan@gnu.org>
4370
4371 * icomplete.el: Fix previous fix of Bug#5849.
4372 (icomplete-mode): Don't set completion-show-inline-help.
4373 (icomplete-minibuffer-setup): Set completion-show-inline-help
4374 locally during icompletion.
4375
3aace4e4
CY
43762011-09-18 Chong Yidong <cyd@stupidchicken.com>
4377
c940224f
CY
4378 * woman.el (woman2-process-escapes): Don't delete unrecognized
4379 escapes (Bug#7843).
4380
3aace4e4
CY
4381 * files.el (inhibit-first-line-modes-regexps): Add image files.
4382 (hack-local-variables-prop-line): Return nil for malformed
4383 prop-lines (Bug#9044).
4384
710dec63
MA
43852011-09-18 Michael Albinus <michael.albinus@gmx.de>
4386
4387 * net/tramp.el (top): Don't require 'shell.
4388 (tramp-methods): Fix docstring.
4389 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4390 Return complete remote file name. Handle "smb" case.
4391 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4392 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4393
4394 * net/tramp-compat.el (top): Require 'shell.
4395
4396 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4397 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4398 `tramp-current-host'.
4399 (tramp-get-remote-tmpdir): Remove.
4400
4401 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4402 `tramp-tmpdir' entries.
4403 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4404 (tramp-smb-handle-file-attributes): Ignore errors.
4405 (tramp-smb-wait-for-output): Check also for process end.
4406
5d5ac8ec
LMI
44072011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4408
4409 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4410 when sending QUIT (bug#9312).
4411
8c0f49f0
CY
44122011-09-17 Chong Yidong <cyd@stupidchicken.com>
4413
4414 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4415 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4416 occur-mode-display-occurrence.
4417 (occur-edit-mode): Add usage message.
4418 (occur-cease-edit): New command.
4419 (occur-after-change-function): Use text properties to find the
4420 position of the prefix text.
4421 (occur-engine): Set stickiness of prefix text properties.
4422
8f1383f7
GM
44232011-09-17 Glenn Morris <rgm@gnu.org>
4424
4425 * progmodes/etags.el (complete-tag):
4426 Fix call to completion-in-region. (Bug#9526)
4427
744ba0e3
JL
44282011-09-17 Juri Linkov <juri@jurta.org>
4429
4430 * textmodes/ispell.el (ispell-word): Add to the error message
4431 the word, ispell program name and current dictionary (bug#9121).
4432 (ispell-tex-arg-end): Capitalize "error" in the error message.
4433
d9bbf400
AS
44342011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4435
4436 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4437 check. (Bug#4251)
4438
8da11505
JL
44392011-09-17 Juri Linkov <juri@jurta.org>
4440
4441 * window.el (window-safe-min-height, window-safe-min-width):
4442 Fix typos (followup to bug#9522).
4443
a91adc7e
SJ
44442011-09-17 Sven Joachim <svenjoac@gmx.de>
4445
4446 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4447
064f328a
EZ
44482011-09-16 Eli Zaretskii <eliz@gnu.org>
4449
4450 * simple.el (line-move): If goal-column is set, move by logical
4451 lines, not by display lines. (Bug#971)
4452 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4453 to reflect the above change.
4454
e69df516
SM
44552011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * image.el (imagemagick-register-types): Use regexp-opt.
4458
cbb0f9ab
CY
44592011-09-15 Chong Yidong <cyd@stupidchicken.com>
4460
4461 * window.el (display-buffer-base-action): Rename from
4462 display-buffer-default-action. Make default value empty.
4463 (display-buffer-overriding-action): Convert to defvar.
4464 (display-buffer-fallback-action): New var.
4465
25322144
CY
44662011-09-15 Chong Yidong <cyd@stupidchicken.com>
4467
4468 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4469 declaration.
4470 (package--add-to-archive-contents): If there is a duplicate entry
4471 with an older version, remove it.
4472 (package-menu-mark-delete, package-menu-mark-install)
4473 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4474 (package-menu-mark-obsolete-for-deletion):
4475 Use package-menu-get-status instead of a regexp search.
25322144
CY
4476 (package-menu-get-status): Use tabulated-list-entry.
4477 (package-menu-mark-upgrades): New command.
d770725a 4478 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4479 (package-menu-execute): Do installation before deletion.
4480 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4481 instead of checking major-mode.
4482 (package-menu--find-upgrades): New function.
4483
7520339c
LMI
44842011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4485
4486 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4487 passwords in the log buffer.
65a046c4
LMI
4488 (smtpmail-process-filter): Update the process marker so that the
4489 "broken by peer" status message is inserted in the right place.
7520339c 4490
d3c30954
SM
44912011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4492
3fe48822
SM
4493 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4494 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4495 bibtex-completion-at-point-function.
4496 (bibtex-completion-at-point-function): Use them.
4497
1b8b3954
SM
4498 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4499
d3c30954
SM
4500 * mpc.el (mpc-constraints-tag-lookup): New function.
4501 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4502 also to browser "album|playlist".
4503
72779976
JL
45042011-09-14 Juri Linkov <juri@jurta.org>
4505
4506 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4507 (isearch-edit-string): Use length of `isearch-string' when
4508 `isearch-fail-pos' returns nil.
4509 (isearch-message): Remove duplicate code and call
4510 `isearch-fail-pos' with arg `t'.
4511
a0bf2bcd
CY
45122011-09-14 Chong Yidong <cyd@stupidchicken.com>
4513
17bb0a2d
CY
4514 * replace.el (occur-mode-goto-occurrence): Don't force using other
4515 window (Bug#9499).
4516
a0bf2bcd
CY
4517 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4518
f678e0b6
MR
45192011-09-14 Martin Rudalics <rudalics@gmx.at>
4520
4521 * window.el (display-buffer-window): Remove.
4522 (display-buffer-record-window): Use help-setup window parameter
4523 instead of variable display-buffer-window.
4524 (display-buffer-function, special-display-buffer-names)
4525 (special-display-function): Mention help-setup parameter instead
4526 of display-buffer-window in doc-string.
d3c30954
SM
4527 * help.el (help-window-setup): New argument help-window.
4528 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4529 Reword some messages.
4530 (with-help-window): Pass window used for displaying the buffer
4531 to help-window-setup. Don't set display-buffer-window.
4532
8e39b2e8
GM
45332011-09-13 Glenn Morris <rgm@gnu.org>
4534
4535 * emacs-lisp/debug.el (debugger-make-xrefs):
4536 Preserve point. (Bug#9462)
4537
85e9c04b
CY
45382011-09-13 Chong Yidong <cyd@stupidchicken.com>
4539
4540 * window.el (window-deletable-p): Use next-frame.
4541
1b36ed6a
MR
45422011-09-13 Martin Rudalics <rudalics@gmx.at>
4543
4544 * window.el (window-auto-delete): Remove.
4545 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4546 dedication and previous buffers.
1b36ed6a
MR
4547 (switch-to-prev-buffer): Don't delete window.
4548 (delete-windows-on): Delete a window's frame if and only if the
4549 window is dedicated.
4550 (replace-buffer-in-windows): Delete buffer's window or frame if
4551 and only if window is dedicated.
4552 (quit-window): Handle quit-restore as before last change.
4d61f28d 4553 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4554
ef8ef9fb
CY
45552011-09-13 Chong Yidong <cyd@stupidchicken.com>
4556
4557 * window.el (window-deletable-p): Never delete the last frame on a
4558 given terminal.
4559
b2cba41e
GM
45602011-09-13 Glenn Morris <rgm@gnu.org>
4561
4562 * help.el (describe-key-briefly): Copy previous standard-output change.
4563
51553db6 45642011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4565
4566 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4567
b7556719
GM
45682011-09-13 Glenn Morris <rgm@gnu.org>
4569
4570 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4571 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4572
64b51947
CY
45732011-09-12 Chong Yidong <cyd@stupidchicken.com>
4574
4575 * dired-aux.el (dired-mark-read-string): Don't return default
4576 value on empty input (Bug#9361).
4577 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4578 Omit initial minibuffer contents.
4579 (dired-do-chmod): Signal an error on empty input.
4580 (dired-mark-read-string): Don't return default on empty input.
4581
4582 * files.el (file-modes-symbolic-to-number): Doc fix.
4583
393a301e
SM
45842011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * international/mule-cmds.el (ucs-completions): Remove.
4587 (read-char-by-name): Use complete-with-action instead; add metadata.
4588
fa5660f9
CY
45892011-09-11 Chong Yidong <cyd@stupidchicken.com>
4590
4591 * window.el (display-buffer--action-function-custom-type)
4592 (display-buffer--action-custom-type): New vars.
4593 (display-buffer-alist, display-buffer-default-action)
4594 (display-buffer-overriding-action): Add defcustom types.
4595
4a592f66
CY
4596 * frame.el (delete-other-frames): Doc fix (Bug#276).
4597
73d56dbd
LMI
45982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4599
4600 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4601
37ac18a3
CY
46022011-09-11 Chong Yidong <cyd@stupidchicken.com>
4603
4604 Change modes that used same-window-* vars to use switch-to-buffer.
4605
4606 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4607 Use switch-to-buffer.
4608
4609 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4610 (customize-browse, custom-buffer-create-other-window):
4611 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4612
4613 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4614 (Info-prev, Info-up, Info-speedbar-goto-node)
4615 (info-display-manual): Use switch-to-buffer.
4616 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4617
4618 * mail/sendmail.el (mail): Use switch-to-buffer.
4619 (mail-recover): Use switch-to-buffer-other-window.
4620
4621 * cmuscheme.el (run-scheme, switch-to-scheme):
4622 * ielm.el (ielm):
4623 * shell.el (shell):
4624 * net/rlogin.el (rlogin):
4625 * net/telnet.el (telnet, rsh):
4626 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4627
10195bd6
AS
46282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4629
4630 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4631
b322f63a
LMI
46322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4633
39d7fed6
LMI
4634 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4635 so don't mention it (bug#9301).
ba5a81f1 4636 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4637
ee0e9f11
LMI
4638 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4639 match `x', `w32' and `ns', like the manual says (bug#9029).
4640
0b1c89c1 4641 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4642 (process-kill-buffer-query-function): Mention the buffer name in
4643 the query.
0b1c89c1 4644
77549ea8
LMI
4645 * image-mode.el (image-next-line): The line parameter is mandatory
4646 (bug#9258).
4647
803ef892
LMI
4648 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4649 which can be useful (bug#9301).
4650
12980837
LMI
4651 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4652
91054f8f
LMI
4653 * subr.el (match-string): Mention that the current buffer should
4654 be the same as the search was done in (bug#9282).
4655
b322f63a
LMI
4656 * facemenu.el: Disable the remove-* commands if the mark isn't
4657 active (bug#9162).
4658
3199b96f
CY
46592011-09-10 Chong Yidong <cyd@stupidchicken.com>
4660
4661 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4662 of display-buffer.
4663 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4664
4665 * replace.el (occur-mode-goto-occurrence)
4666 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4667 and display-buffer.
4668
4669 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4670 display-buffer.
4671
4672 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4673 special-display and same-window variables.
4674 (mail-other-window): Use switch-to-buffer-other-window.
4675 (mail-other-frame): USe switch-to-buffer-other-frame.
4676
393a301e
SM
4677 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4678 Use display-buffer-other-frame.
3199b96f
CY
4679 (gdb-display-gdb-buffer): Use pop-to-buffer.
4680
4681 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4682
4683 * progmodes/python.el: Don't set same-window-buffer-names.
4684
4685 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4686
4687 * window.el (display-buffer-alist): Add *Python*.
4688
8319e0bf
CY
46892011-09-10 Chong Yidong <cyd@stupidchicken.com>
4690
4691 * window.el (display-buffer-alist): Add entry for buffers
4692 previously handled same-window-*.
4693 (display-buffer-alist, display-buffer-default-action)
4694 (display-buffer-overriding-action): Mark as risky.
4695 (display-buffer-alist): Document action function changes.
4696 (display-buffer--same-window-action)
4697 (display-buffer--other-frame-action): New variables.
4698 (switch-to-buffer, display-buffer-other-frame): Use them.
4699 (display-buffer): Rename reuse-frame entry to reusable-frames.
4700 (display-buffer-reuse-selected-window): Function deleted.
4701 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4702 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4703 (display-buffer-special): New function.
4704 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4705 display-buffer-reuse-or-pop-window. Split off special-display
4706 part into display-buffer-special.
4707 (display-buffer-use-some-window): Don't perform any special
4708 pop-up-frames handling.
4709 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4710 (display-buffer--maybe-same-window): Rename from
0d3ff375 4711 display-buffer-maybe-same-window.
8319e0bf 4712
919a69aa
CY
4713 * info.el: Don't set same-window-regexps.
4714 (info-setup): New function.
4715 (info-other-window, info): Call it.
4716
4717 * cus-edit.el: Don't set same-window-regexps.
4718 (customize-group): New argument.
4719 (customize-group-other-window): Use it.
4720 (customize-face, customize-face-other-window): Likewise.
4721 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4722
8319e0bf
CY
4723 * net/rlogin.el:
4724 * net/telnet.el:
4725 * progmodes/gud.el: Don't set same-window-regexps.
4726
4727 * cmuscheme.el:
4728 * ielm.el:
4729 * shell.el:
4730 * mail/sendmail.el:
4731 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4732
25173000
JL
47332011-09-10 Juri Linkov <juri@jurta.org>
4734
4735 * isearch.el (isearch-edit-string): Remove obsolete mention of
4736 `C-w' (`isearch-yank-word-or-char') from docstring.
4737 (isearch-query-replace): Fix typo in docstring (bug#9466).
4738
056e44ef
JL
47392011-09-10 Juri Linkov <juri@jurta.org>
4740
4741 * paren.el (show-paren-function): Don't show escaped parens.
4742 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4743
c3760c17
EZ
47442011-09-10 Eli Zaretskii <eliz@gnu.org>
4745
4746 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4747 (mm-default-file-encoding): Remove autoload forms, they are
4748 replaced with autoload cookies in mml.el and mm-encode.el.
4749 (mail-add-attachment): New command.
4750 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4751 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4752 the doc string.
4753 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4754
fece895e
RT
47552011-09-10 Reuben Thomas <rrt@sc3d.org>
4756
e69df516
SM
4757 * simple.el (count-words-region): Use buffer if there's no region
4758 (bug#9429).
fece895e 4759
5e68ce4a
JL
47602011-09-09 Juri Linkov <juri@jurta.org>
4761
4762 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4763 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4764 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4765
0a6b9622
AM
47662011-09-09 Alan Mackenzie <acm@muc.de>
4767
4768 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4769 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4770
14a29deb
EZ
47712011-09-09 Eli Zaretskii <eliz@gnu.org>
4772
4773 Fix for Savannah bug#9392.
4774 * simple.el (mail-encode-mml): New defvar.
4775
4776 * mail/rmail.el (mail-encode-mml): Add a defvar.
4777 (rmail-enable-mime-composing): Default to t.
4778 (rmail-forward): Use MIME method of forwarding only if both
4779 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4780 Set mail-encode-mml non-nil if the MIME method was used.
4781
4782 * mail/sendmail.el (mml-to-mime): Add autoload form.
4783 (mail-encode-mml): Add a defvar.
4784 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4785 to nil.
4786 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4787 message through mml-to-mime, and reset mail-encode-mml to nil.
4788
28c45130
GM
47892011-09-09 Glenn Morris <rgm@gnu.org>
4790
4791 * woman.el (woman-if-body): When processing an .el block,
4792 do not delete the next .el block as well. (Bug#9447)
69f4b618 4793 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4794
9b1c252e
MR
47952011-09-08 Martin Rudalics <rudalics@gmx.at>
4796
4797 * window.el (window-deletable-p): Make sure window is live before
4798 invoking window-prev-buffers.
4799
567457e3
LL
48002011-09-08 Leo Liu <sdl.web@gmail.com>
4801
4802 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4803
97f05794
JL
48042011-09-08 Juri Linkov <juri@jurta.org>
4805
4806 * progmodes/compile.el (compilation-environment): Make it
4807 a defcustom (bug#8340).
4808
8b0874b5
MR
48092011-09-08 Martin Rudalics <rudalics@gmx.at>
4810
4811 * window.el (frame-auto-delete): Rename to window-auto-delete.
4812 Make it control auto-deletion of windows and/or frames.
4813 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4814 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4815 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4816 Rewrite handling of case when window/frame can be deleted.
4817 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4818 argument t. (Bug#9456)
8b0874b5 4819
4feb6e73
CY
48202011-09-07 Chong Yidong <cyd@stupidchicken.com>
4821
4822 * help-mode.el (help-mode): Restore autoload.
4823
91ab9c13
JL
48242011-09-07 Juri Linkov <juri@jurta.org>
4825
4826 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4827 `compilation-environment'. Set buffer-local
4828 `compilation-environment' to `thisenv' later after (funcall mode).
4829 (Bug#8340)
4830
4831 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4832 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4833 instead of replacing its value. (Bug#8340)
4834
0527e251
JL
48352011-09-07 Juri Linkov <juri@jurta.org>
4836
4837 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4838 based on text properties put by `grep-filter' instead of matching
4839 escape sequences.
4840 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4841 to the value of `grep-error-screen-columns' (bug#9438).
4842
249f792c
JL
48432011-09-07 Juri Linkov <juri@jurta.org>
4844
4845 * simple.el (next-error-highlight, next-error-highlight-no-select):
4846 Doc fix (bug#9432).
4847
ff7271b9
OT
48482011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4849
4850 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4851 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4852
183fc730
LL
48532011-09-07 Leo Liu <sdl.web@gmail.com>
4854
4855 * net/rcirc.el (rcirc-mode): Conditionally initialize
4856 rcirc-input-ring.
4857
77694924
SM
48582011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * emacs-lisp/find-func.el (find-function-C-source): Only set
4861 find-function-C-source-directory after checking that we found a source
4862 file there (bug#9440).
4863
d809b8eb
AM
48642011-09-06 Alan Mackenzie <acm@muc.de>
4865
4866 * isearch.el (isearch-other-meta-char): Wherever a key list is
4867 unread, "unread" the prefix arg, too. This fixes bug #8901.
4868
453de99f
OG
48692011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4870
4871 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4872
90439906
JL
48732011-09-05 Juri Linkov <juri@jurta.org>
4874
4875 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4876
f62bd846
JL
48772011-09-05 Juri Linkov <juri@jurta.org>
4878
4879 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4880 keeping point where processing of grep matches begins, and
4881 continue to delete remaining escape sequences from the same point.
4882 (grep-filter): Make leading zero optional in "0?1;31m" because
4883 git-grep emits "\033[1;31m" escape sequences unlike expected
4884 "\033[01;31m" as GNU Grep does (bug#9408).
4885 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4886
045820ec
JL
48872011-09-05 Juri Linkov <juri@jurta.org>
4888
4889 * subr.el (y-or-n-p): Capitalize "yes".
4890
f5e29b9b
MA
48912011-09-04 Michael Albinus <michael.albinus@gmx.de>
4892
4893 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4894 `tramp-cache-unload-hook' where appropriate.
4895 (tramp-methods): Rename `tramp-remote-sh' to
4896 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4897 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4898
4899 * net/tramp-sh.el (top): Don't require 'shell.
4900 (tramp-methods): Add `tramp-remote-shell' and
4901 `tramp-remote-shell-args' entries.
4902 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4903 (tramp-sh-handle-shell-command): Remove.
4904 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4905 Use `tramp-remote-shell'.
4906
2784c434
CY
49072011-09-03 Chong Yidong <cyd@stupidchicken.com>
4908
393a301e 4909 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4910 (sendmail-query-once): Save directly to send-mail-function.
4911 Update message-send-mail-function too.
4912
4913 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4914
464cdf56
CS
49152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4916
4917 * progmodes/python.el (python-mode-map): Use correct function to
4918 start python interpreter from menu-bar (as reported by Geert
4919 Kloosterman).
4920 (inferior-python-mode-map): Fix typo.
393a301e 4921 (python-shell-map): Remove.
464cdf56 4922
d37e5c87
DD
49232011-09-03 Deniz Dogan <deniz@dogan.se>
4924
4925 * net/rcirc.el (rcirc-print): Simplify code for
4926 rcirc-scroll-show-maximum-output. There is no need to walk
4927 through all windows to find the right one.
4928
f3ada0ee
CS
49292011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4930
4931 * help.el (help-return-method): Doc fix.
4932
1f3c99ca
MR
49332011-09-03 Martin Rudalics <rudalics@gmx.at>
4934
4935 * window.el (window-deletable-p): Don't return a non-nil value
4936 when there's a buffer that was shown in the window before.
4937 (Bug#9419)
393a301e
SM
4938 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4939 Set window's previous buffers to nil.
1f3c99ca 4940
a3cf097f
EZ
49412011-09-03 Eli Zaretskii <eliz@gnu.org>
4942
4943 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4944 newline before and after the tag line, so it doesn't interfere
4945 with determining the paragraph direction of bidirectional text.
4946
3d03de90
LL
49472011-09-03 Leo Liu <sdl.web@gmail.com>
4948
4949 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4950
c3313451
CY
49512011-09-02 Chong Yidong <cyd@stupidchicken.com>
4952
393a301e 4953 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4954 (pop-to-buffer): Change interactive spec. Pass second argument
4955 directly to display-buffer.
4956 (display-buffer): Fix interactive spec. Use functionp to
4957 distinguish between a function and a list of functions.
4958
4959 * abbrev.el (edit-abbrevs):
4960 * arc-mode.el (archive-extract):
4961 * autoinsert.el (auto-insert):
4962 * bookmark.el (bookmark-bmenu-list):
4963 * files.el (find-file):
4964 * view.el (view-buffer):
4965 * progmodes/compile.el (compilation-goto-locus):
4966 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4967
89894cd8
CY
49682011-09-02 Chong Yidong <cyd@stupidchicken.com>
4969
4970 * window.el (display-buffer-alist): Doc fix.
4971 (display-buffer): Add docstring. Don't treat
4972 display-buffer-default specially.
4973 (display-buffer-reuse-selected-window)
4974 (display-buffer-same-window, display-buffer-maybe-same-window)
4975 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4976 (display-buffer-pop-up-window)
4977 (display-buffer-reuse-or-pop-window)
4978 (display-buffer-use-some-window): New functions.
4979 (display-buffer-default-action): Use them.
393a301e 4980 (display-buffer-default): Delete.
89894cd8
CY
4981 (pop-to-buffer-1): Fix choice of actions.
4982
ae0bc9fb
SM
49832011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * minibuffer.el (completion--insert-strings): Don't get confused by
4986 completion entries that end with an LF char.
4987
e9d90883
EZ
49882011-09-01 Eli Zaretskii <eliz@gnu.org>
4989
4990 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4991
437014c8
CY
49922011-09-01 Chong Yidong <cyd@stupidchicken.com>
4993
4994 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4995 (display-buffer-same-window, display-buffer-other-window):
4996 New functions.
437014c8
CY
4997 (pop-to-buffer-1): New function. Use the above.
4998 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4999 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5000
5001 * view.el (view-buffer-other-window, view-buffer-other-frame):
5002 Just use pop-to-buffer.
5003
a5e063d5
TV
50042011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5005
5006 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5007
793d32bb
WH
50082011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5009
5010 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5011
d65e4c15
RS
50122011-08-31 Richard Stallman <rms@gnu.org>
5013
5014 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5015 of the separation of rmail-view-buffer from rmail-buffer.
5016 If you say no to "replace original", the decrypt is in the
5017 view buffer. If you say yes, the decrypt goes into the
5018 rmail buffer also.
5019
f818cd2a
MR
50202011-08-31 Martin Rudalics <rudalics@gmx.at>
5021
5022 * window.el (display-buffer-window): Rewrite doc-string.
5023 (display-buffer-record-window): New function.
5024 (display-buffer-macro-specifiers)
5025 (display-buffer-even-window-sizes, display-buffer-set-height)
5026 (display-buffer-set-width, display-buffer-in-window)
5027 (display-buffer-reuse-window, display-buffer-split-specifiers)
5028 (display-buffer-side-specifiers, display-buffer-split-window-1)
5029 (display-buffer-split-window, display-buffer-split-atom-window)
5030 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5031 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5032 (display-buffer-other-window-means-other-frame)
5033 (display-buffer-normalize-special)
5034 (display-buffer-normalize-default)
5035 (display-buffer-normalize-argument)
5036 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5037 (display-buffer-normalize-specifiers, display-buffer-frame)
5038 (display-buffer-same-window, display-buffer-same-frame)
5039 (display-buffer-other-window)
5040 (display-buffer-same-frame-other-window)
5041 (display-buffer-other-frame, pop-to-buffer-same-window)
5042 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5043 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5044 (switch-to-buffer-same-frame)
5045 (switch-to-buffer-other-window-same-frame)
5046 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5047 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5048 (display-buffer-alist-set): Remove.
5049 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5050 (special-display-regexps, special-display-function):
5051 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5052 parameter.
5053 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5054 (special-display-frame-alist, special-display-popup-frame)
5055 (same-window-buffer-names, same-window-regexps, same-window-p)
5056 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5057 (split-window-preferred-function, split-height-threshold)
5058 (split-width-threshold, window-splittable-p)
5059 (split-window-sensibly, window--try-to-split-window)
5060 (window--frame-usable-p, even-window-heights)
5061 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5062 (window--display-buffer-2, display-buffer-other-frame):
5063 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5064 (display-buffer-default, display-buffer-assq-regexp): New functions.
5065 (display-buffer-alist): Rewrite doc-string.
5066 (display-buffer-default-action)
5067 (display-buffer-overriding-action): New variables.
5068 (display-buffer, switch-to-buffer): Rewrite.
5069 (pop-to-buffer): Restore Emacs 23 behavior but use
5070 window-normalize-buffer-to-display.
5071 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5072 Restore Emacs 23 behavior but use
5073 window-normalize-buffer-to-switch-to.
5074 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5075 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5076 Rewrite using Emacs 23 options.
f818cd2a 5077
5bc3b51d
MA
50782011-08-31 Michael Albinus <michael.albinus@gmx.de>
5079
5080 * net/tramp.el (tramp-root-regexp): Remove.
5081 (tramp-completion-file-name-regexp-unified)
5082 (tramp-completion-file-name-regexp-separate)
5083 (tramp-completion-file-name-regexp-url): Don't use leading volume
5084 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5085 (tramp-drop-volume-letter): Simplify definition.
5086 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5087
b1a4f8e1
SM
50882011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5091 (bug#9356).
5092
5664fa7b
RT
50932011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5094
b1a4f8e1 5095 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5096
9a45d6c3
JL
50972011-08-29 Juri Linkov <juri@jurta.org>
5098
5099 * isearch.el (isearch-done): Don't display message "Mark saved"
5100 when arg `edit' is non-nil to prevent its flicker in the echo area.
5101
fb87e0fb
CY
51022011-08-28 Chong Yidong <cyd@stupidchicken.com>
5103
5104 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5105 obsolete packages for deletion.
5106
09ac1c2a
CS
51072011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5108
5109 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5110 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5111 view-mode from help-mode.
5112 (help-xref-override-view-map): Remove.
5113 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5114 view-mode is not used anymore.
5115
7a1ff57f
CY
51162011-08-28 Chong Yidong <cyd@stupidchicken.com>
5117
5118 * server.el (server-port): Doc fix.
5119
b9696605
CY
5120 * cus-theme.el (custom-theme-choose-mode): Inherit from
5121 special-mode (Bug#9124).
5122 (custom-theme-choose-mode-map): Add special-mode to parent.
5123
ef8cdf8c
AM
51242011-08-28 Alan Mackenzie <acm@muc.de>
5125
5126 * progmodes/cc-fonts.el
5127 (c-make-font-lock-BO-decl-search-function): New function.
5128 (c-basic-matchers-after - "Fontify the clauses after various
5129 keywords"): Extract the three keyword lists for the 3 erroneous
5130 constructs from the list of four, and use the new function above
5131 in place of an old one.
5132
27de4e20
DD
51332011-08-28 Deniz Dogan <deniz@dogan.se>
5134
5135 * net/rcirc.el (rcirc-insert-prev-input)
5136 (rcirc-insert-next-input): Remove unused argument.
5137
356a3681
SM
51382011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5141
3fc9b218
AM
51422011-08-27 Alan Mackenzie <acm@muc.de>
5143
5144 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5145 handle function pointer parameters properly.
5146
538a061c
MR
51472011-08-27 Martin Rudalics <rudalics@gmx.at>
5148
5149 * window.el (display-buffer-reuse-window): Fix case where
5150 selected window was reused with non-nil OTHER-WINDOW argument.
5151 (Bug#9381)
5152
35b1c40c
DD
51532011-08-27 Deniz Dogan <deniz@dogan.se>
5154
5155 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5156 oftc's NickServ messages.
5157
2f6a3e79
GM
51582011-08-27 Glenn Morris <rgm@gnu.org>
5159
5160 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5161
7254299e
CY
51622011-08-26 Chong Yidong <cyd@stupidchicken.com>
5163
5164 * emacs-lisp/package.el (package-install): Call package-initialize
5165 if called interactively.
5166
f8ccf167
LL
51672011-08-26 Leo Liu <sdl.web@gmail.com>
5168
5169 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5170
3e8cd5ce
JL
51712011-08-25 Juri Linkov <juri@jurta.org>
5172
5173 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5174 `search-whitespace-regexp' (bug#9364).
5175
93eb7113
JL
51762011-08-25 Juri Linkov <juri@jurta.org>
5177
5178 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5179 `regexp-search-ring' to their global values to protect from
5180 updating by `read-from-minibuffer' (bug#9185).
5181
f65d1611
JL
51822011-08-25 Juri Linkov <juri@jurta.org>
5183
5184 * textmodes/ispell.el (ispell-command-loop): Add newline
5185 at the end of the "Use option `i'..." line.
5186
f1cf7a31
JL
51872011-08-25 Juri Linkov <juri@jurta.org>
5188
5189 * battery.el (display-battery-mode): If `battery-status-function'
5190 or `battery-mode-line-format' is nil, display the message and set
5191 `display-battery-mode' to nil (bug#9363).
5192
0c95fcf7
EZ
51932011-08-25 Eli Zaretskii <eliz@gnu.org>
5194
5195 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5196 bidi-string-mark-left-to-right; they are unnecessary now.
5197
a2ebe600
DD
51982011-08-25 Deniz Dogan <deniz@dogan.se>
5199
5200 * net/quickurl.el: Documentation typo fixes.
5201
e4ed06f1
CY
52022011-08-25 Chong Yidong <cyd@stupidchicken.com>
5203
5204 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5205
e5f1c99e
GM
52062011-08-25 Glenn Morris <rgm@gnu.org>
5207
b2948976
GM
5208 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5209
e5f1c99e
GM
5210 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5211 (smtpmail-via-smtp): Handle nil response from smtp.
5212
f22f4808
JL
52132011-08-24 Juri Linkov <juri@jurta.org>
5214
5215 * proced.el (proced-marked): Inherit from `error' instead of
5216 `font-lock-warning-face'.
5217
5218 * ibuffer.el (ibuffer-marked-face): Change default face from
5219 `font-lock-warning-face' to `warning'.
5220 (ibuffer-deletion-face): Change default face from
5221 `font-lock-type-face' to `error'.
5222
5223 * battery.el (battery-update): Use the face `error' instead of
5224 `font-lock-warning-face' (bug#6117).
5225
6a93965e
JL
52262011-08-24 Juri Linkov <juri@jurta.org>
5227
5228 * faces.el (success): Change face color from "Green3" to
5229 "ForestGreen" on light background (bug#9353).
5230
1ed43b09
CY
52312011-08-24 Chong Yidong <cyd@stupidchicken.com>
5232
5664fa7b
RT
5233 * window.el (quit-window): Rename from quit-restore-window.
5234 Use same arglist as old quit-window.
1ed43b09
CY
5235 (frame-auto-delete): Doc fix.
5236
5237 * view.el (view-mode-exit): Use quit-window.
5238
11dcdbb2
JL
52392011-08-24 Juri Linkov <juri@jurta.org>
5240
5241 * isearch.el (isearch-ring-adjust1): Start visiting previous
5242 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5243 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5244 for empty search string (when the last search string is reused
5245 automatically) to adjust the isearch ring to the last element and
5246 prepare the correct index for further M-p commands (bug#9185).
5247
de62b4df
KH
52482011-08-24 Kenichi Handa <handa@m17n.org>
5249
5250 * international/ucs-normalize.el: If decomposition property of
5251 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5252 nil.
5253 (nfd, nfkd): Likewise.
5254
963b492b
SM
52552011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5258 from process filters aren't reliably transmitted to the surrounding
5259 accept-process-output.
5260 (mpc-proc-check): New function.
5261 (mpc-proc-sync): Use it (bug#8293)
5262
93b6b5e1
SM
52632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5266 Add compatibility functions (bug#9313).
5267
bca633fb
EZ
52682011-08-23 Eli Zaretskii <eliz@gnu.org>
5269
b177498a
EZ
5270 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5271
6df6ae42 5272 * international/uni-bidi.el: Regenerate.
bca633fb 5273
0902a04e
KH
52742011-08-23 Kenichi Handa <handa@m17n.org>
5275
5276 * international/charprop.el:
5277 * international/uni-bidi.el:
5278 * international/uni-category.el:
5279 * international/uni-combining.el:
5280 * international/uni-comment.el:
5281 * international/uni-decimal.el:
5282 * international/uni-decomposition.el:
5283 * international/uni-digit.el:
5284 * international/uni-lowercase.el:
5285 * international/uni-mirrored.el:
5286 * international/uni-name.el:
5287 * international/uni-numeric.el:
5288 * international/uni-old-name.el:
5289 * international/uni-titlecase.el:
5290 * international/uni-uppercase.el: Regenerate.
5291
3bbf23bc
MR
52922011-08-23 Martin Rudalics <rudalics@gmx.at>
5293
5294 * help.el (help-window-setup): Fix message displayed when other
5295 window is reused. (Bug#9341)
5296
b3fd59bd
SM
52972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5298
1802e444
SM
5299 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5300 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5301
b3fd59bd
SM
5302 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5303 Mark obsolete.
5304 * shell.el (shell-parse-pcomplete-arguments): New function.
5305 (shell-completion-vars): Use it instead (bug#9160).
5306
4eb61348
SM
53072011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5308
867cab74
SM
5309 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5310 strings and comments (bug#9333).
5311
4eb61348
SM
5312 * emacs-lisp/debug.el (debug-arglist): New function.
5313 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5314 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5315
262a1439
JL
53162011-08-22 Juri Linkov <juri@jurta.org>
5317
56ee679c
JL
5318 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5319 Revert regexp that highlights output switches to its old
5320 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5321
262a1439
JL
5322 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5323 to check for empty output (bug#9226).
5324
f13f86fb
CY
53252011-08-22 Chong Yidong <cyd@stupidchicken.com>
5326
5327 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5328 symbol-constituent as the default, as that stops font-lock from
5329 working properly (Bug#8843).
5330
c65c9622
LMI
53312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5332
5333 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5334 `coding-system-for-*' around the process open call to avoid
5335 auth-source side effects.
e7f2c178 5336 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5337 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5338 probe hangs.
c65c9622 5339
23a8a5ab
CY
53402011-08-21 Chong Yidong <cyd@stupidchicken.com>
5341
ff98b2dd
CY
5342 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5343
23a8a5ab
CY
5344 * emacs-lisp/find-func.el (find-function-noselect): New arg
5345 lisp-only.
5346
5347 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5348 signal an error for built-in functions (Bug#6664).
5349
f5e3c598
LMI
53502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5351
5352 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5353 (smtpmail-try-auth-methods): Use it.
5354
a3f2468a
CY
53552011-08-21 Chong Yidong <cyd@stupidchicken.com>
5356
2c34e8da
CY
5357 * font-lock.el (font-lock-fontify-region)
5358 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5359 (font-lock-default-unfontify-buffer)
5360 (font-lock-default-fontify-region)
5361 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5362
b3fd59bd
SM
5363 * progmodes/compile.el (compilation-error-properties):
5364 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5365 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5366 `ant' regexp.
ee31aabc 5367
a3f2468a
CY
5368 * net/browse-url.el (browse-url-firefox): Don't call
5369 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5370
8e999f70
GM
53712011-08-20 Glenn Morris <rgm@gnu.org>
5372
c21a496a
GM
5373 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5374
59ee0542
GM
5375 * tutorial.el (tutorial--default-keys): Update some default bindings.
5376
8e999f70
GM
5377 * files.el (hack-local-variables): Fully ignore case for "mode:".
5378
e3715033
AM
53792011-08-20 Alan Mackenzie <acm@muc.de>
5380
5381 Resolve invalid use of a regexp in regexp-opt.
5382
4d61f28d
JB
5383 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5384 detection for a java annotation.
e3715033 5385
4d61f28d 5386 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5387 detection for a java annotation.
5388
4d61f28d
JB
5389 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5390 handling for java.
e3715033
AM
5391 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5392
04ed2e9c
CY
53932011-08-20 Chong Yidong <cyd@stupidchicken.com>
5394
5395 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5396 (Bug#9274).
5397
826cee64
AM
53982011-08-20 Alan Mackenzie <acm@muc.de>
5399
58179cce 5400 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5401 such a construct. Mainly for when jit-lock etc. starts a chunk
5402 here.
5403
58179cce 5404 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5405 variable.
58179cce 5406 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5407 c-make-font-lock-search-function.
5408 (c-make-font-lock-search-function): Use the above function.
5409 (c-make-font-lock-context-search-function): New function.
5410 (c-cpp-matchers): Enhance the preprocessor expression case with
5411 the above function
5412 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5413 which takes an expression.
5414
5415 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5416
13009bd8
MR
54172011-08-20 Martin Rudalics <rudalics@gmx.at>
5418
5419 * window.el (display-buffer-reuse-window)
5420 (display-buffer-pop-up-window): Don't reuse or split a side
5421 window.
5422
9234ff7f
GM
54232011-08-19 Glenn Morris <rgm@gnu.org>
5424
5425 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5426 Downcase "Mode:". (Bug#9331)
9234ff7f 5427
f635daa1
CY
54282011-08-18 Chong Yidong <cyd@stupidchicken.com>
5429
5430 * international/characters.el: Add L and R categories.
5431
5432 * subr.el (bidi-string-mark-left-to-right): Rename from
5433 string-mark-left-to-right. Use category search.
5434
5435 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5436
bc987f8b
JL
54372011-08-18 Juri Linkov <juri@jurta.org>
5438
5439 * faces.el (error, warning, success): New faces with definitions
5440 copied from old default values of `font-lock-warning-face',
5441 `compilation-warning', `compilation-info' (bug#6117).
5442
5443 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5444
5445 * progmodes/compile.el (compilation-error): Inherit from `error'.
5446 (compilation-warning): Inherit from `warning'.
5447 (compilation-info): Inherit from `success'.
5448
5449 * dired.el (dired-marked): Inherit from `warning'.
5450 (dired-flagged): Inherit from `error'.
5451
57173b96
LMI
54522011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5453
3e79eb87
LMI
5454 * mail/smtpmail.el (auth-source): Require to avoid problems with
5455 binding variables (bug#9298). Also clean up some unused
5456 autoloads.
5457
b3fd59bd
SM
5458 * net/network-stream.el (network-stream-open-starttls):
5459 Support using starttls.el without using gnutls-cli.
57173b96 5460
02b404de
JL
54612011-08-17 Juri Linkov <juri@jurta.org>
5462
5463 * progmodes/grep.el (rgrep): Handle the case when
5464 `grep-find-command' is a cons cell (bug#9278).
5465
8c9177f2
MR
54662011-08-17 Martin Rudalics <rudalics@gmx.at>
5467
5468 * window.el (display-buffer-pop-up-frame): Run frame creation
5469 function with BUFFER current (as special-display-popup-frame
5470 does). Reported by Drew Adams.
5471
3644a0ab
DU
54722011-08-17 Daiki Ueno <ueno@unixuser.org>
5473
5474 * epa-mail.el: Simplify GnuPG group expansion using
5475 epg-expand-group.
5476 (epa-mail-group-alist, epa-mail-group-modtime)
5477 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5478 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5479 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5480 Remove.
5481
5e617bc2 54822011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5483
5484 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5485
9c4aeabf
AM
54862011-08-16 Alan Mackenzie <acm@muc.de>
5487
5488 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5489 Correct, to avoid the inside of macros.
5490
3a99bf64
RS
54912011-08-16 Richard Stallman <rms@gnu.org>
5492
04963aa8
RS
5493 * epa-mail.el: Handle GnuPG group definitions.
5494 (epa-mail-group-alist, epa-mail-group-modtime)
5495 (epa-mail-gnupg-conf-file): New variables.
5496 (epa-mail-parse-groups, epa-mail-sync-groups)
5497 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5498 (epa-mail-expand-recipients): New functions.
5499 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5500
177549d0
RS
5501 * mail/rmail.el (rmail-epa-decrypt): New command.
5502
fe38beef
RS
5503 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5504 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5505 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5506 (epa-decrypt-armor-in-region): Make error message clearer.
5507
934eacb9
SM
55082011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5511 and "a2b" to "ab" for `prefix'.
5512
d024fb4e
CY
55132011-08-14 Chong Yidong <cyd@stupidchicken.com>
5514
5515 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5516 filter groups.
de148fee
CY
5517 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5518 Fourquet (Bug#8804).
d024fb4e 5519
62f1ca49
JB
55202011-08-12 Juanma Barranquero <lekktu@gmail.com>
5521
5522 * startup.el (argi): Declare as global variable (bug#9275).
5523
9ccaaa4b
CY
55242011-08-12 Chong Yidong <cyd@stupidchicken.com>
5525
5526 * subr.el (string-mark-left-to-right): Search the entire string
5527 for RTL script, not just the terminating character. Doc fix.
5528
a3dae87a
SM
55292011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5530
6cd18349
SM
5531 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5532 New function.
5533 (js--regexp-literal, js-syntax-propertize-function): Remove.
5534 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5535 (js-mode-map): Don't rebind electric keys.
5536 (js-insert-and-indent): Remove.
5537 (js-mode): Setup electric-layout and electric-indent instead.
5538
a3dae87a
SM
5539 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5540
9d5cb631
DU
55412011-08-12 Daiki Ueno <ueno@unixuser.org>
5542
5543 * epa.el (epa-progress-callback-function): Fix the logic of
5544 displaying progress.
5545 * epa-file.el (epa-file-insert-file-contents): Make progress
5546 display more user-friendly.
5547 (epa-file-write-region): Ditto.
5548
3e26a4a2
CY
55492011-08-10 Chong Yidong <cyd@stupidchicken.com>
5550
5551 * subr.el (string-mark-left-to-right): New function.
5552
5553 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5554 Use string-mark-left-to-right.
5555 (list-buffers-noselect): Caller changed.
5556
a3dae87a
SM
5557 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5558 Use string-mark-left-to-right.
3e26a4a2
CY
5559 (tabulated-list-print): Recenter after moving point.
5560
ac8cf6e6
JL
55612011-08-10 Juri Linkov <juri@jurta.org>
5562
5563 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5564 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5565 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5566
8d96c9a4
CY
55672011-08-09 Chong Yidong <cyd@stupidchicken.com>
5568
5569 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5570 (Bug#7554).
5571
7be1c708 55722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5573
5574 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5575 character. (Bug#6594)
5576
37e11a63
CY
55772011-08-08 Chong Yidong <cyd@stupidchicken.com>
5578
839dde57
CY
5579 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5580 (image-dired--with-db-file): New macro.
5581 (image-dired-write-tags, image-dired-remove-tag)
5582 (image-dired-create-gallery-lists, image-dired-write-comments)
5583 (image-dired-get-comment, image-dired-mark-tagged-files)
5584 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5585 (image-dired-gallery-generate): Use insert-file-contents.
5586
37e11a63
CY
5587 * time.el (display-time-world-list, display-time-world-display):
5588 * time-stamp.el (time-stamp-string):
5589 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5590 set-time-zone-rule (Bug#7337).
5591
0b4946c4
DU
55922011-08-08 Daiki Ueno <ueno@unixuser.org>
5593
5594 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5595 (epg-error-to-string, epg-errors-to-string): New function.
5596 (epg-wait-for-completion): Reverse errors list.
5597 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5598 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5599 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5600 (epg-sign-keys, epg-generate-key-from-file)
5601 (epg-generate-key-from-string): Format errors by using
5602 epg-errors-to-string (bug#9255).
5603 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5604
75bfc667
JL
56052011-08-07 Juri Linkov <juri@jurta.org>
5606
5607 * faces.el (list-faces-display): Remove extra angle bracket
5608 from `help-mode-map'.
5609
5610 * info.el (Info-history-toc-nodes): Doc fix.
5611
5612 * longlines.el (longlines-mode): Doc fix.
5613
673e08bb
SM
56142011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5615
4640dd88
SM
5616 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5617 of statements and in a few more cases (bug#9183).
5618
673e08bb
SM
5619 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5620 New functions.
5621 (cl-transform-lambda): Use them (bug#9239).
5622
89b3f019
MR
56232011-08-05 Martin Rudalics <rudalics@gmx.at>
5624
5625 * window.el (display-buffer-same-window)
5626 (display-buffer-same-frame, display-buffer-other-window)
5627 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5628 (pop-to-buffer-other-window)
5629 (pop-to-buffer-same-frame-other-window)
5630 (pop-to-buffer-other-frame): Make them defuns.
5631 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5632
640c8776
SM
56332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * subr.el (make-composed-keymap): Move from C. Change calling
5636 convention, and improve docstring to bring attention to a subtle point.
5637 * minibuffer.el (completing-read-default): Adjust accordingly.
5638
63648a95
MA
56392011-08-03 Michael Albinus <michael.albinus@gmx.de>
5640
5641 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5642 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5643
5644 * net/trampver.el: Update release number.
5645
b796c9b7
SM
56462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5649 "in" (bug#9190).
5650
2239d7d5
LMI
56512011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5652
e07dd7c3
LMI
5653 * mail/sendmail.el (sendmail-query-once): Restore the current
5654 buffer after querying (bug#9074).
5655
0e6a2bd7
LMI
5656 * dired.el (dired-flagged): Use different faces for marked and
5657 flagged files (bug#6117).
5658
ce887515
LMI
5659 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5660 (bug#4433).
5661
92f2affc
LMI
5662 * ido.el (ido-mode): Switch off the message if called
5663 non-interactively.
5664
57d5aff0
LMI
5665 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5666 before 587, since it appears that that's more likely to work for
5667 more people.
5668
98cd6c18 5669 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5670 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5671 exist.
5672
b96dec83
LMI
5673 * info.el: Remove the `Info-beginning-of-buffer' function
5674 (bug#8325).
5675
b796c9b7
SM
5676 * net/network-stream.el (network-stream-open-starttls):
5677 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5678
d90e2ea0
MR
56792011-08-01 Martin Rudalics <rudalics@gmx.at>
5680
5681 * window.el (display-buffer-in-window): Don't set dedicated status
5682 of window here (Bug#9215).
5683 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5684 (display-buffer-pop-up-side-window)
b796c9b7 5685 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5686
cca09170
SM
56872011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5690 before binding generated-autoload-file.
5691
027b979c
DD
56922011-08-01 Deniz Dogan <deniz@dogan.se>
5693
5694 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5695
3c7ee4f3
MA
56962011-07-30 Michael Albinus <michael.albinus@gmx.de>
5697
5698 Sync with Tramp 2.2.2.
5699
5700 * net/trampver.el: Update release number.
5701
2cc8e51a
JL
57022011-07-30 Juri Linkov <juri@jurta.org>
5703
5704 * dired-aux.el (dired-touch-initial): Remove function.
5705 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5706 current time, and `default' to the last modification time of the
5707 current marked file (bug#6887).
5708
a514d856
JM
57092011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5710
5711 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5712 numeric argument to read-number (bug#9163).
a514d856 5713
8a7eddd7
MA
57142011-07-27 Michael Albinus <michael.albinus@gmx.de>
5715
5716 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5717 connection process, it could be nil.
5718
1ddd96f5
LL
57192011-07-27 Leo Liu <sdl.web@gmail.com>
5720
5721 Simplify url handling in rcirc-mode.
5722
5723 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5724 (rcirc-browse-url-at-mouse): Remove.
5725 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5726
b248a85d
AM
57272011-07-26 Alan Mackenzie <acm@muc.de>
5728
5729 Fontify bitfield declarations properly.
5730
5731 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5732 (c-symbol-chars): Now exported as a lang variable.
5733 (c-not-primitive-type-keywords): New lang variable.
5734
5735 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5736 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5737 parsed as a bitfield declaration.
b248a85d 5738
b796c9b7
SM
5739 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5740 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5741 (c-punctuation-in): New function.
5742 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5743 declarations properly.
5744
68575ab0
UJ
57452011-07-26 Ulf Jasper <ulf.jasper@web.de>
5746
5747 * calendar/icalendar.el (icalendar--all-events): Take care of
5748 multiple vcalendars in a single file.
b796c9b7 5749 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5750
0f0a88b9
DD
57512011-07-25 Deniz Dogan <deniz@dogan.se>
5752
5753 * image.el (insert-image): Clarifying docstring.
5754
0b3f36df
MA
57552011-07-24 Michael Albinus <michael.albinus@gmx.de>
5756
5757 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5758 `tramp-send-command-and-check' if there is no error.
5759 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5760
a9901f61
AM
57612011-07-22 Alan Mackenzie <acm@muc.de>
5762
5763 Prevent cc-langs.elc being loaded at run time.
5764
5765 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5766 cc-langs.
5767
4d61f28d 5768 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5769 "(require 'cc-langs)". Quote a form so it will evaluate at
5770 (cc-mode's) compilation time.
5771
11d074b2
MA
57722011-07-22 Michael Albinus <michael.albinus@gmx.de>
5773
5774 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5775 loading. (Bug#9114)
5776
938b94c8
MR
57772011-07-21 Martin Rudalics <rudalics@gmx.at>
5778
5779 * window.el (display-buffer-pop-up-window)
5780 (display-buffer-pop-up-side-window)
5781 (display-buffer-in-side-window): Call display-buffer-set-height
5782 and display-buffer-set-width after setting the new window's
b796c9b7 5783 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5784
bfa4f190
SS
57852011-07-20 Sam Steingold <sds@gnu.org>
5786
5787 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5788 (etags-tags-included-tables): Call `convert-standard-filename' on
5789 the file names contained in TAGS so that windows Emacs can handle
5790 TAGS files created by cygwin ctags.
5791
8ca42262
LMI
57922011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5793
5794 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5795 which apparently didn't work.
5796
5db2afd2 57972011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5798
5db2afd2
RW
5799 * proced.el (proced-send-signal): For *Marked Processes* buffer
5800 put point at beginning of buffer.
5801
92e15d10
SB
58022011-07-19 Stephen Berman <stephen.berman@gmx.net>
5803
5804 * proced.el (proced-format): Make header lines align with the text
5805 (bug#1779).
5806
1bfd59e5
LMI
58072011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5808
5809 * view.el (view-buffer): Allow running in `special' modes if we're
5810 visiting a file (bug#8615).
5811
f5aae37c
MR
58122011-07-19 Martin Rudalics <rudalics@gmx.at>
5813
5814 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5815 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5816 New functions.
f5aae37c
MR
5817 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5818 more accurately.
5819
bf2c1571
AM
58202011-07-18 Alan Mackenzie <acm@muc.de>
5821
5822 Fontify declarators properly when, e.g., a jit-lock chunk begins
5823 inside a declaration.
5824
5825 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5826
b796c9b7
SM
5827 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5828 New function.
bf2c1571
AM
5829 (c-complex-decl-matchers): Insert reference to
5830 c-font-lock-enclosing-decls.
5831
5832 * progmodes/cc-engine.el (c-backward-single-comment):
5833 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5834 to nil around calls to (forward-comment -1).
5835
4e190b80
LMI
58362011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5837
12dc863d
LMI
5838 * image.el (put-image): Doc typo fix.
5839
a762e966
LMI
5840 * progmodes/etags.el (tags-search): Doc typo fix.
5841
4e190b80
LMI
5842 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5843 password if we get errors 550 to 554.
5844
f019fb21
LMI
58452011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5846
b796c9b7 5847 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5848
81746738
LMI
5849 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5850 indentation character (bug#6380).
5851
3ee3a1b5
LMI
5852 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5853
c82f64de
LMI
5854 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5855 to clarify what the problem is (bug#4291).
5856
f019fb21
LMI
5857 * simple.el (current-kill): Clarify what
5858 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5859 (auto-fill-mode): Document `auto-fill-function' in relation to
5860 `auto-fill-mode' (bug#2470).
f019fb21 5861
0794775d
LM
58622011-07-16 Lawrence Mitchell <wence@gmx.li>
5863
5864 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5865 method if slot is read-only (bug#9035).
5866
be39b8cc
MR
58672011-07-16 Martin Rudalics <rudalics@gmx.at>
5868
b796c9b7 5869 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5870 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5871 selected before, see discussion of (Bug#8615), (Bug#6954).
5872 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5873
6ccf7859
GM
58742011-07-15 Glenn Morris <rgm@gnu.org>
5875
5876 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5877 Respect help-form.
6ccf7859 5878
87e86684
LM
58792011-07-09 Lawrence Mitchell <wence@gmx.li>
5880
5881 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5882 (gnutls-negotiate): Use it.
5883
d6066239
LMI
58842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5885
b796c9b7
SM
5886 * net/gnutls.el (gnutls-negotiate):
5887 Upcase `gnutls-algorithm-priority'.
d6066239 5888
bd23ebc0
GM
58892011-07-15 Glenn Morris <rgm@gnu.org>
5890
c65bca65
GM
5891 * jka-compr.el (jka-compr-verbose): Move from here...
5892 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5893 Add missing :version tag.
5894 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5895
478615cc
LMI
58962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5897
7b41decb
LMI
5898 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5899 (gnutls-negotiate): Use it.
5900
dbc44fcd
LMI
5901 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5902
06789f97
LMI
5903 * info.el (Info-beginning-of-buffer): New command.
5904 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5905 announcing `b' as the key (bug#8325).
ab896c37 5906 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5907
c39da690
LMI
5908 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5909
3aa5f34b
LMI
5910 * international/mule-cmds.el
5911 (describe-specified-language-support): Make the error message
5912 clearer (bug#8905).
5913
4bf0979f
LMI
5914 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5915
478615cc
LMI
5916 * isearch.el (isearch-barrier): Add a doc string, since it's
5917 mentioned in a function doc string (bug#8678).
5918
75c68aa1
MR
59192011-07-15 Martin Rudalics <rudalics@gmx.at>
5920
5921 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5922 buffer argument (Bug#9083) and self-identifying label argument.
5923
a7c33da2
GM
59242011-07-15 Glenn Morris <rgm@gnu.org>
5925
5926 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5927
2f5c6024
LMI
59282011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5929
5930 * man.el (Man-fontify-manpage): Fix message when formatting the
5931 man page (bug#7929).
5932
0bb23927 59332011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5934
5935 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5936 argument LRM; if non-nil, append an invisible LRM character to the
5937 buffer name.
5938 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5939 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5940 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5941 paragraph direction.
cce4b0a7 5942
621ef9ab
LMI
59432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5944
d1583c48
LMI
5945 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5946 the man page name (bug#7929).
5947
6a57fb5f
LMI
5948 * image.el (put-image): Mention the `put-image' overlay property
5949 (bug#7834).
5950
d7956b14
LMI
5951 * scroll-bar.el (set-scroll-bar-mode): Mention that
5952 `scroll-bar-mode' lists the values (bug#7772).
5953
5b2d4a66
LMI
5954 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5955 command (bug#7729).
5956
7509a874
LMI
5957 * rect.el (apply-on-rectangle): Return the point after the last
5958 operation.
5959 (string-rectangle): Go to the point after the last operation
5960 (bug#7522).
5961
4fe74b19
LMI
5962 * printing.el (pr-toggle-region): Clarify the documentation
5963 slightly (bug#7493).
5964
b796c9b7
SM
5965 * time.el (display-time-update):
5966 Allow `display-time-mail-function' to return nil (bug#7158).
5967 Fix suggested by Detlev Zundel.
ab283561 5968
fc233c9d
LMI
5969 * vc/diff.el (diff): Clarify the order the file names are read
5970 (bug#7111).
5971
43f5740b
LMI
5972 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5973 the doc string (bug#7015).
5974
f2182a76
LMI
5975 * font-lock.el (font-lock-maximum-decoration): Mention what
5976 numeric levels mean (bug#6935).
5977
621ef9ab
LMI
5978 * startup.el (initial-buffer-choice): Don't mention the `none'
5979 selection, which is against policy.
5980
adc47434
MR
59812011-07-14 Martin Rudalics <rudalics@gmx.at>
5982
b796c9b7
SM
5983 * window.el (display-buffer-normalize-special):
5984 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5985
7e5bfb8f
EZ
59862011-07-14 Eli Zaretskii <eliz@gnu.org>
5987
5988 * subr.el (version<, version<=, version=): Mention "-CVS" and
5989 "-12345" alpha version numbers.
5990
27fa387a
CY
59912011-07-14 Chong Yidong <cyd@stupidchicken.com>
5992
5993 * bindings.el: Add advertised binding for set-mark-command
5994 (Bug#5772).
5995
8bdfa064
CY
59962011-07-14 Chong Yidong <cyd@stupidchicken.com>
5997
5998 * bindings.el (mode-line-other-buffer):
5999 * bookmark.el (bookmark-bmenu-2-window):
6000 * bs.el (bs-cycle-next, bs-cycle-previous):
6001 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6002 switch-to-buffer.
6003
6004 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6005 Delete.
8bdfa064 6006
5eba16a3
JB
60072011-07-14 Juanma Barranquero <lekktu@gmail.com>
6008
6009 * follow.el (follow-debug-message, follow-redisplay):
6010 * jka-cmpr-hook.el (with-auto-compression-mode):
6011 Fix typos in docstrings.
6012
15853710
LMI
60132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6014
a28e4607
LMI
6015 * subr.el (with-silent-modifications): Clarify somewhat what the
6016 macro inhibits (bug#6525).
6017
15853710
LMI
6018 * simple.el (eval-expression): Note what it does if called
6019 interactively (bug#6495).
6020
bee0fcef
CY
60212011-07-13 Chong Yidong <cyd@stupidchicken.com>
6022
b796c9b7
SM
6023 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6024 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6025
6026 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6027 Remove switch-to-buffer.
6028
58274504
LMI
60292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6030
bd2fcc8d
LMI
6031 * files.el (make-directory): Clarify that an error will be raised
6032 if there's an error (bug#6397).
6033
0f04b32c
LMI
6034 * startup.el (initial-buffer-choice): Add `none' as a choice
6035 (bug#6234).
6036
465c5fc8
LMI
6037 * subr.el (add-hook): Clarify section about buffer-local hooks
6038 (bug#6218).
6039
58274504
LMI
6040 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6041
bead9a43
JB
60422011-07-13 Juanma Barranquero <lekktu@gmail.com>
6043
6044 * tabify.el (untabify): Preserve the current column so that point
6045 doesn't move (bug#6032).
6046
3af98a7b
LMI
60472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6048
b796c9b7
SM
6049 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6050 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6051
6240145a
GM
60522011-07-13 Glenn Morris <rgm@gnu.org>
6053
6054 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6055 (dired-insert-directory): Give a message the first time
6056 if ls is found not to support --dired.
6057
1d8c2ccc
LMI
60582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059
6060 * simple.el (toggle-truncate-lines): Clarify what is toggled
6061 (bug#5580). Text by Drew Adams.
6062
5fc4038e
CY
60632011-07-13 Chong Yidong <cyd@stupidchicken.com>
6064
6065 * simple.el (blink-matching-open): Make the error message from the
6066 last change less verbose.
6067
bf6012e5
DN
60682011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6069
6070 * font-lock.el (font-lock-comment-face): Use the high contrast
6071 "yellow" color for font-lock-comment-face on low color terminals
6072 using a dark background color (bug#4221).
6073
343c3b5a
LMI
60742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6075
7e9505c5
LMI
6076 * dired.el (dired-insert-set-properties): Make the doc string
6077 reflect what it does now (bug#5325).
6078
c26fdcf5
LMI
6079 * simple.el (blink-matching-open): Say that we were unable to find
6080 the match within the limit, if we're limited (bug#5122).
6081
bb388cc5
LMI
6082 * international/mule-cmds.el (prefer-coding-system): Add an
6083 example (bug#4869).
6084
343c3b5a
LMI
6085 * progmodes/etags.el (tags-search): Document `file-list-form'
6086 (bug#4731).
6087
2a517d45
LM
60882011-07-13 Lawrence Mitchell <wence@gmx.li>
6089
6090 * net/browse-url.el (browse-url-default-browser)
6091 (browse-url-browser-function): Make the default browser choice a
6092 bit more logical (bug#4300). Also clean up the doc string.
6093
b6c78ef2
JB
60942011-07-13 Juanma Barranquero <lekktu@gmail.com>
6095
6096 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6097 binary endings (bug#4440).
6098
1c4dd947
LMI
60992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6100
a2014063
LMI
6101 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6102 which can be pretty annoying (bug#8971).
6103
9c9c2d88
LMI
6104 * jka-compr.el (jka-compr-verbose): New variable, and use
6105 throughout (bug#8971).
6106
1c4dd947
LMI
6107 * info.el (Info-find-file): Fall back on the installation
6108 directory if we can't find the info node anywhere else.
6109
a1c9f41b
SO
61102011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6111
6112 * vc/vc.el (vc-revert-file):
6113 Don't set file time-stamp in the past. (Bug#5181)
6114
536f3d36
LMI
61152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6116
7152b011
LMI
6117 * files.el (after-find-file): Give a better error message when
6118 trying to find a symlink that points to a file that doesn't exist
6119 (bug#4398).
6120
536f3d36
LMI
6121 * progmodes/cc-vars.el: Remove (probably) misleading comment
6122 (bug#4396).
6123
460c0fba
JB
61242011-07-12 Johan Bockgård <bojohan@gnu.org>
6125
6126 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6127
7a6bda45
CY
61282011-07-12 Chong Yidong <cyd@stupidchicken.com>
6129
6130 * mouse-sel.el: Hack restoring functionality, while keeping
6131 compatibility with 2010-07-03 changes to mouse selection.
6132 (mouse-sel-primary-overlay): New var.
6133 (mouse-sel-selection-alist): Use it.
6134 (mouse-sel-mode): Doc fix; remove points that are default features
6135 of mouse.el.
6136
c79598ef
JB
61372011-07-12 Johan Bockgård <bojohan@gnu.org>
6138
6139 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6140 Fix previous fix (bug#2490).
6141
ff8be6ef
RW
61422011-07-12 Roland Winkler <winkler@gnu.org>
6143
b796c9b7
SM
6144 * textmodes/bibtex.el (bibtex-initialize):
6145 Use pop-to-buffer-same-window.
ff8be6ef
RW
6146 (bibtex-search-entries): Fix interactive call.
6147
296ba3ee
LMI
61482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6149
f5242a02 6150 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6151 Fontise bytecomp Error lines more correctly (bug#2490).
6152 Fix suggested by Johan Bockgård.
f5242a02 6153
296ba3ee
LMI
6154 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6155
6156 * dired-x.el (dired-guess-default): Use `delete-dups'.
6157
f69fd0d2
CY
61582011-07-12 Chong Yidong <cyd@stupidchicken.com>
6159
6160 * dired.el (dired-mark-prompt):
6161 * dired-aux.el (dired-read-shell-command): Doc fix.
6162
eab5dc07
LMI
61632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6164
b796c9b7
SM
6165 * mail/sendmail.el (sendmail-query-once):
6166 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6167 emacs -Q.
6168
6169 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6170
eab5dc07
LMI
6171 * cus-edit.el (custom-file): Take an optional no-error variable.
6172 (customize-save-variable): Set the variable, and give a warning if
6173 running under "emacs -q".
6174
a1e65d42
JB
61752011-07-11 Juanma Barranquero <lekktu@gmail.com>
6176
6177 * loadhist.el (unload-feature-special-hooks):
6178 Add `auto-coding-functions', `fill-nobreak-predicate' and
6179 `find-directory-functions' (bug#5327).
6180
1d52da10
LMI
61812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6182
be958f1d
LMI
6183 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6184
5bedb26c
LMI
6185 * cus-edit.el (custom-guess-name-alist): -alist variables should
6186 use the `alist' type (bug#3120). Suggested by Drew Adams.
6187
1d52da10
LMI
6188 * printing.el: Add documentation to all the `pr-toggle-' commands.
6189
cd394be1 61902011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6191
6192 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6193 backends where it makes sense (bug#2623).
6194
dcc88d8a
LMI
61952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6196
c3de9feb
LMI
6197 * dired-x.el (dired-guess-default): Remove duplicate shell command
6198 entries (bug#2028).
8a93078b 6199 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6200 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6201
dcc88d8a
LMI
6202 * subr.el (remove-duplicates): New conveniency function.
6203
505e3645
LMI
62042011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6205
6206 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6207 (bug#1526).
6208
62092011-07-10 Martin Rudalics <rudalics@gmx.at>
6210
6211 * window.el (display-buffer-normalize-default): Don't invert
6212 meaning of even-window-heights. Reported by Eli Zaretskii
6213 <eliz@gnu.org>.
6214
455e4fa1
BR
62152011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6216
6217 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6218
8e0bc3e9
CY
62192011-07-10 Chong Yidong <cyd@stupidchicken.com>
6220
6221 * window.el (display-buffer): Fix arguments to
6222 display-buffer-reuse-window in last change.
6223
fa7c3228
CY
6224 * faces.el (link): Use a less saturated blue on light backgrounds.
6225
6226 * startup.el (fancy-startup-text, fancy-about-text)
6227 (fancy-startup-tail): Use font-lock faces, for background safety.
6228
c0a7f300
BN
62292011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6230
b796c9b7
SM
6231 * emulation/viper-cmd.el (viper-change-state-to-vi):
6232 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6233
4dc2a129
MR
62342011-07-09 Martin Rudalics <rudalics@gmx.at>
6235
6236 * window.el (display-buffer-default-specifiers): Remove.
6237 (display-buffer-macro-specifiers): Remove default specifiers.
6238 (display-buffer-alist): Default to nil.
b796c9b7 6239 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6240 (display-buffer-pop-up-window): Allow splitting internal
6241 windows. Check whether a live window was created.
6242 (display-buffer-other-window-means-other-frame)
6243 (display-buffer-normalize-arguments): Rename to
6244 display-buffer-normalize-argument and rewrite. Set the
6245 other-window specifier.
6246 (display-buffer-normalize-special): New function.
6247 (display-buffer-normalize-options): Rename to
6248 display-buffer-normalize-default and rewrite.
6249 (display-buffer-normalize-options-inhibit): Remove.
6250 (display-buffer-normalize-specifiers): Rewrite.
6251 (display-buffer): Process other-window specifier and call
6252 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6253 more faithfully.
b796c9b7 6254 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6255 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6256 (display-buffer-in-window, display-buffer-alist-set):
6257 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6258 <tassilo@member.fsf.org>.
6259
2d43b8c9
LL
62602011-07-09 Leo Liu <sdl.web@gmail.com>
6261
6262 * register.el (insert-register): Restore accidental change on
6263 2011-06-26. (Bug#9028)
6264
7f9b7c53
GM
62652011-07-09 Glenn Morris <rgm@gnu.org>
6266
6267 * subr.el (remq): Handle the empty list. (Bug#9024)
6268
f042cfd8
AS
62692011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6270
6271 * mail/sendmail.el (send-mail-function): No longer delay custom
6272 initialization.
6273 * custom.el (custom-initialize-delay): Doc fix.
6274
856b2f11
SM
62752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6278
afae1d68
MA
62792011-07-08 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6282 human-friendly prompt.
6283
0757af94
SM
62842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6287 provided by a particular plugin.
6288
d760b731
LMI
62892011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6290
6291 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6292 save customizations (with "emacs -Q"), just set the variable
6293 instead of erroring out.
6294
6295 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6296
cd79ce90
JL
62972011-07-08 Juri Linkov <juri@jurta.org>
6298
6299 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6300 (archive-zip-update-case): Use 7z if found by `executable-find'.
6301 The order of searching the available programs is the same as in
6302 `archive-zip-extract' (bug#8968).
6303
14cc04aa
CY
63042011-07-07 Chong Yidong <cyd@stupidchicken.com>
6305
6306 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6307 (menu-bar-options-menu): Tweak descriptions.
6308
0a1848ec
LMI
63092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6310
6311 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6312 menu items into verb phrases (bug#1421). Also refill to fit under
6313 80 columns.
6314
f5bd0689
CY
63152011-07-07 Chong Yidong <cyd@stupidchicken.com>
6316
538e85c6
CY
6317 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6318 (Info-read-node-name): Doc fix (Bug#1084).
6319
f5bd0689
CY
6320 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6321 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6322 (end-of-sexp, beginning-of-sexp)
6323 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6324 (forward-symbol, forward-same-syntax, word-at-point)
6325 (sentence-at-point): Doc fix (Bug#1144).
6326
56ec5115
LMI
63272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6328
f3f8e37f
LMI
6329 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6330 should cover it (bug#1281).
6331
0757af94 6332 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6333
e9fce1ac 6334 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6335 negotiation fails, then possibly try again with a non-encrypted
6336 connection (bug#9017).
6337
56ec5115
LMI
6338 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6339 be used.
6340
c2f9aec8
RS
63412011-07-07 Richard Stallman <rms@gnu.org>
6342
6343 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6344 property, and handle its changed format.
6345 Look for the correct line number.
6346 Use file's line contents (but not past first =) to find
6347 correct line in message.
6348
ef7b981d 63492011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6350
6351 * international/characters.el (build-unicode-category-table):
6352 Delete it.
0757af94 6353 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6354
0757af94 6355 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6356 to src/chartab.c.
6357 (get-char-code-property): Call unicode-property-table-internal to
6358 load a file. Call get-unicode-property-internal where necessary.
6359 (put-char-code-property): Call unicode-property-table-internal to
6360 load a file. Call put-unicode-property-internal where necessary.
6361 put-unicode-property-internal where necessary.
0757af94
SM
6362 (char-code-property-description):
6363 Call unicode-property-table-internal to load a file.
c805dec0
KH
6364
6365 * international/charprop.el:
6366 * international/uni-bidi.el:
6367 * international/uni-category.el:
6368 * international/uni-combining.el:
6369 * international/uni-comment.el:
6370 * international/uni-decimal.el:
6371 * international/uni-decomposition.el:
6372 * international/uni-digit.el:
6373 * international/uni-lowercase.el:
6374 * international/uni-mirrored.el:
6375 * international/uni-name.el:
6376 * international/uni-numeric.el:
6377 * international/uni-old-name.el:
6378 * international/uni-titlecase.el:
6379 * international/uni-uppercase.el: Regenerate.
6380
6381 * loadup.el: Load international/charprop.el before
6382 international/characters.
6383
e14b388a
CY
63842011-07-07 Chong Yidong <cyd@stupidchicken.com>
6385
6386 * window.el (next-buffer, previous-buffer): Signal an error if
6387 called from a minibuffer window.
6388
6389 * bindings.el: Revert 2011-07-04 change.
6390
354cf0ba
RS
63912011-07-06 Richard Stallman <rms@gnu.org>
6392
6393 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6394 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6395 Treat markers like ints.
6396 (rmail-mime-entity): Doc fix.
6397
a48868a7
LMI
63982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6399
4906cd3d
LMI
6400 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6401 defcustom again for backwards compatibility.
6402
e0457abe
LMI
6403 * simple.el (shell-command-on-region): Fill.
6404
d67f7e1f
LMI
6405 * dired-aux.el (dired-kill-line): Add a doc string.
6406
fe204702
LMI
6407 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6408 to "\\sw\\|\\s_" (bug#358).
6409
a48868a7
LMI
6410 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6411 (dired-unmark-backward): Ditto.
6412 (dired-flag-backup-files): Ditto.
6413
6414 * dired-x.el (dired-mark-sexp): Ditto.
6415
aa8a705c
RS
64162011-07-06 Richard Stallman <rms@gnu.org>
6417
6418 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6419 (rmail-mime-entity): New arg TRUNCATED.
6420 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6421 New functions.
6422 (rmail-mime-save): Warn if entity is truncated.
6423 (rmail-mime-toggle-hidden): Likewise, for showing.
6424 (rmail-mime-process-multipart): Record when an entity is truncated.
6425
a9a936b9
RS
6426 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6427 if ENTITY is a string.
6428
1f2b92cb
LMI
64292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6430
f4f73198 6431 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6432 of faces when `M-C-x'-ing their definitions (bug#8378).
6433 Also clean up the code slightly.
f4f73198 6434
12b16734 6435 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6436 because that makes the colors go away.
12b16734 6437
f0691d22
LMI
6438 * mail/sendmail.el (send-mail-function): Change the default to
6439 `sendmail-query-once'.
9e87df06 6440 (sendmail-query-once): Add an autoload cookie.
f0691d22 6441
1f2b92cb
LMI
6442 * net/network-stream.el (network-stream-open-starttls): Try using
6443 a plain connection even if the server offered STARTTLS, and we
6444 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6445 capability. This should make smtpmail.el work in slightly more
6446 configurations.
6447
1cdd2a1b
MA
64482011-07-06 Michael Albinus <michael.albinus@gmx.de>
6449
6450 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6451 New defun.
6452 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6453
fbcc67e2
MM
64542011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6455
6456 * progmodes/sql.el: Version 3.0
0757af94 6457 (sql-product-alist): Add product :completion-object,
fbcc67e2 6458 :completion-column, and :statement attributes.
0757af94 6459 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6460 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6461 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6462 ansi keywords.
6463 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6464 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6465 (sql-oracle-show-reserved-words): New function for development.
6466 (sql-product-font-lock): Simplify for source code buffers.
6467 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6468 New functions.
6469 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6470 (sql-mode-map): Add statement movement functions.
6471 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6472 New variable.
fbcc67e2
MM
6473 (sql-statement-regexp, sql-beginning-of-statement)
6474 (sql-end-of-statement, sql-signum): New functions.
0757af94 6475 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6476 (sql-show-sqli-buffer): Bug fix.
6477 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6478 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6479 with sql-interactive-mode.
6480 (sql-save-connection): Save buffer local settings.
0757af94 6481 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6482 (sql-product-interactive): Bug fix.
6483 (sql-preoutput-hold): New variable.
6484 (sql-interactive-remove-continuation-prompt): Bug fixes.
6485 (sql-debug-redirect): New variable.
6486 (sql-str-literal): New function.
6487 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6488 Redesign.
fbcc67e2
MM
6489 (sql-oracle-save-settings, sql-oracle-restore-settings)
6490 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6491 (sql-completion-object, sql-completion-column)
6492 (sql-completion-sqlbuf): New variables.
6493 (sql-build-completions-1, sql-build-completions)
6494 (sql-try-completion): New functions.
6495 (sql-read-table-name): Use them.
6496 (sql-contains-names): New buffer local variable.
6497 (sql-list-all, sql-list-table): Use it.
6498 (sql-oracle-completion-types): New variable.
6499 (sql-oracle-completion-object, sql-sqlite-completion-object)
6500 (sql-postgres-completion-object): New functions.
6501
d4eaeab1
GM
65022011-07-06 Glenn Morris <rgm@gnu.org>
6503
6504 * window.el (pop-to-buffer): Doc fix.
6505
322b7dab 65062011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6507
6508 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6509
322b7dab 65102011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6511
322b7dab 6512 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6513
322b7dab 6514 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6515
605dd5bf
CY
65162011-07-05 Chong Yidong <cyd@stupidchicken.com>
6517
6518 * button.el (button): Inherit from link face. Suggested by Dan
6519 Nicolaescu.
6520
7dbfa719
SM
65212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6522
3db614b0
SM
6523 * progmodes/gdb-mi.el: Fit in 80 columns.
6524 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6525 switch-to-buffer.
6526
7dbfa719
SM
6527 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6528 if imenu is simply not configured (bug#8941).
6529
919d884a
KM
65302011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6531
6532 * allout.el (allout-post-undo-hook): New allout outline-change
6533 event hook to signal undo activity.
6534 (allout-post-command-business): Run allout-post-undo-hook if an
6535 undo just occurred.
7dbfa719
SM
6536 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6537 * allout-widgets.el (allout-widgets-after-undo-function):
6538 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6539 in the vicinity of an undo.
6540 (allout-widgets-mode): Include allout-widgets-after-undo-function
6541 on the new allout-post-undo-hook.
6542
450a0f09
SM
65432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6546 Let define-derived-mode define it.
6547 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6548 cycles of abbrev-table inheritance (bug#8998).
6549
2de69e00
RW
65502011-07-05 Roland Winkler <winkler@gnu.org>
6551
6552 * textmodes/bibtex.el: Add support for biblatex.
6553 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6554 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6555 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6556 (bibtex-entry-alist, bibtex-field-alist): New variables.
6557 (bibtex-entry-field-alist): Obsolete alias for
6558 bibtex-BibTeX-entry-alist.
6559 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6560 (bibtex-set-dialect): New command.
6561 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6562 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6563 Bind via bibtex-set-dialect.
2de69e00
RW
6564 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6565 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6566 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6567 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6568 Define via bibtex-set-dialect.
450a0f09
SM
6569 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6570 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6571 (bibtex-vec-push, bibtex-vec-incr): New functions.
6572 (bibtex-format-entry, bibtex-field-list)
6573 (bibtex-print-help-message, bibtex-validate)
6574 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6575
2dcdbdd9
SM
65762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 * progmodes/compile.el (compilation-goto-locus):
6579 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6580 * bs.el (bs-cycle-next, bs-cycle-previous):
6581 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6582 * bindings.el (mode-line-other-buffer):
6583 * autoinsert.el (auto-insert):
6584 * arc-mode.el (archive-extract):
6585 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6586
b27640fe
JB
65872011-07-05 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6590 Fix check of `emacs-lock-unlockable-modes'.
6591 Coerce true values of `emacs-lock--try-unlocking' to t.
6592
53bbe3ad
JB
65932011-07-05 Juanma Barranquero <lekktu@gmail.com>
6594
6595 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6596 * emacs-lock.el: New file.
6597
1d3cdbc7
JD
65982011-07-05 Julien Danjou <julien@danjou.info>
6599
6600 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6601 than `boundp' to check if face is set.
6602
9173deec
JB
66032011-07-05 Juanma Barranquero <lekktu@gmail.com>
6604
6605 * register.el (registerv-make):
6606 * window.el (window-min-height): Fix typos in docstrings.
6607
869795d6
JD
66082011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6609
9173deec 6610 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6611 Update doc string.
6612
b768cdcd
JB
66132011-07-04 Juanma Barranquero <lekktu@gmail.com>
6614
6615 * server.el (server-execute): Catch quit and call
6616 `server-return-error' to pass the error back to emacsclient and
6617 close the connection (bug#8942).
6618
13aa217b
KM
66192011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6620
6621 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6622 insecure exception for current topic. Also note that auto-saves
6623 are handled differently.
6624
6625 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6626 State variables for tracking auto-save inhibition situation.
6627
6628 (allout-write-contents-hook-handler): Rename from
6629 'allout-write-file-hook-handler', and describe how it depends on
6630 write-contents-functions sensitivity to non-nil value to prevent
6631 file write.
6632
6633 (allout-auto-save-hook-handler): Remove. auto-save does not check
6634 this in individual buffers, only in the starting buffer, so this
6635 is not the right way for us to inhibit auto-save in a buffer
6636 according to its condition.
6637
6638 (allout-mode): Use new allout-write-contents-hook-handler, and
6639 only with write-contents-functions. Remove auto-save provisions -
6640 they're implemented elsewhere.
6641
6642 (allout-before-change-handler): If undo is in progress, note that
6643 for attention of allout-post-command-business.
6644
6645 (allout-post-command-business): If the command we're following was
6646 an undo, check for change in the status of encrypted items and
6647 adjust auto-save inhibitions accordingly.
6648
6649 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6650 according to whether there are or aren't any plain-text topics
6651 pending encryption.
6652
2dcdbdd9 6653 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6654 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6655 if there are plain-text topics pending encryption.
13aa217b
KM
6656
6657 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6658 buffer-saved-size and some allout state to not inhibit auto-saves
6659 if there are no longer any plain-text topics pending encryption.
6660
0757af94
SM
6661 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6662 No longer provide for exemption of the current topic.
13aa217b 6663
ac89b32c
JL
66642011-07-04 Juri Linkov <juri@jurta.org>
6665
6666 Add 7z operations to delete and save changed members (bug#8968).
6667 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6668 New defcustoms.
6669 (archive-7z-write-file-member): New function.
6670 (archive-7z-summarize): Fix the number of dashes in the
6671 listing output.
6672
8fa39615
SM
66732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6676 (bug#8958).
6677
2f11b3f1
CY
66782011-07-04 Chong Yidong <cyd@stupidchicken.com>
6679
d66fef2b
CY
6680 * bindings.el: Ignore next-buffer and previous-buffer in
6681 minibuffer-local-map.
6682
2f11b3f1
CY
6683 * font-lock.el (font-lock-builtin-face): Change light background
6684 color to dark slate blue (Bug#6693).
6685
f932a347
WD
66862011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6687
6688 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6689
c8af70e1
SM
66902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6693 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6694 Add switch-to-buffer.
6695
f158badc
LMI
66962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6697
6698 * isearch.el (isearch-search-fun-function): Clarify further the
6699 meaning of the function returned.
6700
6d95bd46
MA
67012011-07-04 Michael Albinus <michael.albinus@gmx.de>
6702
6703 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6704
6705 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6706 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6707 Use it.
6708 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6709 `tramp-default-remote-path' does not exist.
6710 (tramp-send-command-and-read): New optional argument NOERROR.
6711 (tramp-open-connection-setup-interactive-shell)
6712 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6713 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6714 (tramp-process-sentinel): Flush also process' connection property.
6715 (tramp-sh-handle-start-file-process): Do not set process
6716 sentinel. It is done now ...
6717 (tramp-maybe-open-connection): ... here. (Bug#8929)
6718
909e6b67
MK
67192011-07-04 MON KEY <monkey@sandpframing.com>
6720
6721 * play/animate.el (animate-string): Doc fixes and allow changing
6722 the buffer name (bug#5417).
6723
67242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6725
c8af70e1 6726 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6727
f34755dc
PE
67282011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6729
396cec72
PE
6730 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6731 This is simpler and helps future-proof the code.
6732 (timer-until): Use time-subtract and float-time.
08235028 6733 (timer--time-less-p): Use time-less-p.
f34755dc 6734
56e6cc31
JB
67352011-07-04 Juanma Barranquero <lekktu@gmail.com>
6736
3abb79e5
JB
6737 * type-break.el (timep): Use the value of `float-time' to avoid a
6738 byte-compiler warning.
6739
56e6cc31
JB
6740 * server.el (server-eval-and-print): Return any result, even nil.
6741
7b9430b4
PE
67422011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6743
6744 * type-break.el: Accept time formats that the builtins accept.
6745 (timep, type-break-time-difference): Accept any format that
6746 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6747 This is simpler and helps future-proof the code.
6748 (type-break-time-difference): Round rather than ignoring
6749 subseconds components.
6750
3034e9e7
LMI
67512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6752
6753 * info.el (Info-apropos-matches): Make non-interactive, since it
6754 doesn't seem to do anything useful as a command (bug#8829).
6755
1485f4c0
CY
67562011-07-03 Chong Yidong <cyd@stupidchicken.com>
6757
6758 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6759 Move from faces.el.
1485f4c0
CY
6760 (frame-default-terminal-background): New function.
6761
6762 * custom.el (custom-push-theme): Don't record faces in `changed'
6763 theme; this doesn't work correctly for per-frame face settings.
6764 (disable-theme): Use face-set-after-frame-default to reset faces.
6765 (custom--frame-color-default): New function.
6766
9fa3dd45
LMI
67672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6768
c8af70e1 6769 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6770 (bug#8769).
6771
6cbbc20c
KR
67722011-03-29 Kevin Ryde <user42@zip.com.au>
6773
6774 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6775 `perl-Test2' extend to match possible "fail #N" rep count
6776 (bug#8377).
6777
c7f98048
LMI
67782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6779
65676592
LMI
6780 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6781 `smtpmail-via-smtp' now returns the error instead of nil.
6782
c7f98048
LMI
6783 * isearch.el (isearch-search-fun-function): Clarify the doc string
6784 (bug#8101).
6785
56e6cc31 67862011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6787
6788 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6789 unnecessary spaces (bug#8987).
6790
2b216704
LMI
67912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6792
6793 * net/network-stream.el (open-network-stream): Use the
6794 :end-of-capability command thoughout.
6795
67962011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6797
6798 * net/network-stream.el (open-network-stream): Add the
6799 :end-of-capability command parameter, used by pop3.el.
6800
36adf6ce
LMI
68012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
1ca0da0e
LMI
6803 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6804
fc00f69c
LMI
6805 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6806 for list)" (bug#6475).
6807
28fd8759 6808 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6809 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6810 an error (bug#6297).
6811
0dd8b6da
LMI
6812 * man.el (Man-reference-regexp): Allow matching possible
6813 word-wrapped references (bug#6289).
6814
ce1438d6
LMI
6815 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6816 for consistency with the other vc buffers (bug#6197).
6817 (vc-checkin): Ditto.
6818
6819 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6820
36adf6ce
LMI
6821 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6822
e83cc1f7
LMI
68232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6824
8a20ca4c
LMI
6825 * custom.el (defcustom): Clarify that :set is only used in the
6826 Customize user interface (bug#6089).
6827
83319045
LMI
6828 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6829 associated with a file, refuse to run instead of erroring out
6830 (bug#6084).
6831
a8392169
LMI
6832 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6833 the doc string, since it appears that using `fill-column' always
6834 controls the width (bug#7845).
6835
e83cc1f7
LMI
6836 * simple.el (shell-command-on-region): Say where the error output
6837 went if `shell-command-default-error-buffer' is set (bug#6857).
6838
e47ca23b
KM
68392011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6840
6841 * allout.el (allout-yank-processing): Adjust cursor position for
6842 backwards-deleted space.
6843
6844 (allout-rebullet-heading): Register changes with
6845 allout-exposure-changed-hook, so the modified topic is properly
6846 decorated.
6847
5cf56143
LMI
68482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6849
08549772
LMI
6850 * minibuffer.el (completion-in-region): Document PREDICATE
6851 (bug#7136).
6852
48e96771
LMI
6853 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6854 of keyword/argument pairs (bug#6904).
6855
c8af70e1
SM
6856 * replace.el (multi-occur):
6857 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6858
e17d05e2
LMI
68592011-07-02 Drew Adams <drew.adams@oracle.com>
6860
6861 * dired.el (dired-mark-if): Make the message about whether it's
6862 marking or unmarking clearer (bug#8523).
6863
063b0e45
LMI
68642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6865
6866 * disp-table.el (display-table-print-array): New function.
6867 (describe-display-table): Use it to print the vectors more pretty
6868 (Bug#8859).
6869
28545e04
MR
68702011-07-02 Martin Rudalics <rudalics@gmx.at>
6871
6872 * window.el (window-state-get-1): Don't assign clone numbers.
6873 Add clone-of item to list of window parameters.
6874 (window-state-put-2): Don't process clone numbers.
6875 (display-buffer-alist): Fix doc-string.
6876
3349e122
SM
68772011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * subr.el (remq): Don't allocate if it's not needed.
6880 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6881 (keymap--merge-bindings): New functions.
6882 (keymap-canonicalize): Use them to refine the canonicalization.
6883 * minibuffer.el (minibuffer-local-completion-map)
6884 (minibuffer-local-must-match-map): Move initialization from C.
6885 (minibuffer-local-filename-completion-map): Move initialization from C;
6886 don't inherit from anything here.
6887 (minibuffer-local-filename-must-match-map): Make obsolete.
6888 (completing-read-default): Use make-composed-keymap to combine
6889 minibuffer-local-filename-completion-map with either
6890 minibuffer-local-must-match-map or
6891 minibuffer-local-filename-completion-map.
6892
d224ac83
GM
68932011-07-01 Glenn Morris <rgm@gnu.org>
6894
3de63bf8
GM
6895 * type-break.el (type-break-time-sum): Use dolist.
6896
d224ac83
GM
6897 * textmodes/flyspell.el (flyspell-word-search-backward):
6898 Replace CL function.
6899
1a1e3f32
SM
69002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6901
fe3f64d5
SM
6902 * mouse.el (mouse--strip-first-event): New function.
6903 (function-key-map): Use it to map fringe clicks to normal clicks
6904 by default.
6905
eb604e34
SM
6906 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6907 (vc-bzr-revision-completion-table): Add support for annotate and date.
6908
1a1e3f32
SM
6909 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6910 inherit from parent.
6911
5bd35902
LMI
69122011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913
ace6c69c 6914 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6915 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6916
191e2bed
LMI
6917 * dired.el (dired-mode): Fix up the doc string as suggested by
6918 Drew Adams (bug#8817).
6919
5bd35902
LMI
6920 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6921 cookie, since the manual says that it should be possible to add
6922 this function to `find-file-hook' (bug#8709).
6923
eee8207a
TZ
69242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6925
6926 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6927 here. Noted Ted Zlatanov as the maintainer.
6928 (cfengine-common-settings, cfengine-common-syntax): New functions
6929 to set up common things between `cfengine-mode' and
6930 `cfengine3-mode'.
6931 (cfengine3-mode): New mode.
6932 (cfengine3-defuns cfengine3-defuns-regex
6933 (cfengine3-class-selector-regex cfengine3-category-regex)
6934 (cfengine3-vartypes cfengine3-font-lock-keywords)
6935 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6936 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6937
36b148cf
MA
69382011-07-01 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6941
6942 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6943
0bf4ba9a
MR
69442011-07-01 Martin Rudalics <rudalics@gmx.at>
6945
6946 * window.el (same-window-buffer-names, same-window-regexps)
6947 (same-window-p, special-display-frame-alist)
6948 (special-display-popup-frame, special-display-function)
6949 (special-display-buffer-names, special-display-regexps)
6950 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6951 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6952 (split-window-preferred-function, split-height-threshold)
6953 (split-width-threshold, even-window-heights)
6954 (display-buffer-mark-dedicated, window-splittable-p)
6955 (split-window-sensibly, window-safely-shrinkable-p):
6956 Un-obsolete.
6957 (display-buffer): Don't spread args with function specifier
6958 because special-display-popup-frame won't like it.
6959
35837f51
PE
69602011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6961
d0672f86
PE
6962 Time-stamp simplifications and fixes.
6963 These improve accuracy slightly, and future-proof the code
6964 against some potential changes to current-time format.
6965
b9444d97
PE
6966 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6967 by using time-since and float-time.
6968
0ef923dc
PE
6969 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6970 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6971 + NNN microseconds".
6972
2f81380d
PE
6973 * type-break.el (type-break-time-sum): Rewrite using time-add.
6974
845b5c3e
PE
6975 * play/hanoi.el (hanoi-current-time-float): Remove.
6976 All uses replaced by float-time.
6977
ee6f1be0
PE
6978 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6979 This yields a more-accurate answer.
6980 (rng-time-to-float): Remove; no longer needed.
6981
fe955043
PE
6982 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6983
5777162a
PE
6984 * calendar/timeclock.el (timeclock-seconds-to-time):
6985 Defalias to seconds-to-time, since they're the same thing.
6986
3103f8b6 6987 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6988 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6989 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6990
0e61a35f
SM
69912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * window.el (bury-buffer): Don't iconify the only frame.
6994 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6995 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6996
ddd63a1e
CY
69972011-07-01 Chong Yidong <cyd@stupidchicken.com>
6998
0e61a35f
SM
6999 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7000 Add mouse-yank-primary.
ddd63a1e 7001
055f4923
TZ
70022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7003
7004 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7005
6a2fb145
SM
70062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7009 (find-library-name): Use it to find relative load names when provided
7010 absolute file name (bug#8803).
7011
fd4983f2
LMI
70122011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7013
887d14ad
LMI
7014 * textmodes/flyspell.el (flyspell-word): Consider words that
7015 differ only in case as potential doublons (bug#5687).
7016
c53dc7fc
LMI
7017 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7018 Remove two rather uninteresting debugging-like messages to make
7019 debbugs.el more silent.
7020
fd4983f2
LMI
7021 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7022 a password-like phrase.
7023
7a71b18d 70242011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7025
7026 * progmodes/cc-guess.el: New file.
7027
6a2fb145 7028 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7029
7030 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7031 derived from `c-basic-common-init'.
7032
7033 * progmodes/cc-mode.el (top-level): Require cc-guess.
7034 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7035
1fa280a3
LM
70362011-06-30 Lawrence Mitchell <wence@gmx.li>
7037
7038 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7039
e6597158
AM
70402011-06-30 Alan Mackenzie <acm@muc.de>
7041
1fa280a3
LM
7042 * progmodes/cc-engine.el (c-guess-continued-construct):
7043 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7044 lock is disabled. Name this case as "CASE G".
7045
68ba37fb
KM
70462011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7047
7048 * allout.el (allout-yank-processing): Fix injection of extra space
7049 between bullet and non-whitespace character in first topic when
7050 pasting, ensuring that the actual spacing in the pasted topic
7051 following the bullet char is preserved. This extra space was
7052 causing pasted encrypted topics to get a decrypted status even
7053 when the content was actually still encrypted. Now the decryption
7054 status from before the paste is preserved.
7055
7056 (allout-flag-region): Set all allout overlays so they evaporate
7057 when reduced to zero length (evanescent), to prevent overlay
7058 leakage.
7059
887a0b34
GM
70602011-06-30 Glenn Morris <rgm@gnu.org>
7061
94b9acce
GM
7062 * w32-fns.el (w32-charset-info-alist): Declare.
7063
1d9b46d4
GM
7064 * find-dired.el (find-grep-options): Simplify.
7065
cc232200
GM
7066 * term/ns-win.el (ns-set-resource): Declare.
7067
28e77c46
GM
7068 * ses.el (row, col): Declare dynamic variables honestly.
7069
887a0b34
GM
7070 * textmodes/reftex-parse.el (index-tags): Declare.
7071
658d8eb8
CY
70722011-06-30 Chong Yidong <cyd@stupidchicken.com>
7073
7074 * cus-edit.el (customize-push-and-save): New function.
7075
7076 * files.el (hack-local-variables-confirm): Use it.
7077
1fa280a3
LM
7078 * custom.el (load-theme): New arg NO-CONFIRM.
7079 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7080 (custom-enabled-themes): Doc fix.
7081
7082 * cus-theme.el (customize-create-theme)
7083 (custom-theme-merge-theme): Callers to load-theme changed.
7084
bb617717
LMI
70852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7086
d61bdd5d
LMI
7087 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7088 short URLs have at least one dot in them (bug #7614).
7089
bb617717
LMI
7090 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7091 nil, because using a pty is apparently too slow (bug #895).
7092
2f31f37a
LMI
70932011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094
7095 * mail/sendmail.el (sendmail-query-once): New function.
7096 (sendmail-query-once-function): New variable.
7097
3076b24e
GM
70982011-06-29 Glenn Morris <rgm@gnu.org>
7099
faf2a174
GM
7100 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7101
3076b24e
GM
7102 * ses.el (top-level): Require cl when compiling.
7103 (ses-set-localvars): Fix error statement.
7104 Call it at compile time to silence a storm of warnings.
7105
5386012d
MR
71062011-06-29 Martin Rudalics <rudalics@gmx.at>
7107
7108 * window.el (normalize-live-buffer): Rename to
7109 window-normalize-buffer.
7110 (normalize-live-frame): Rename to window-normalize-frame.
7111 (normalize-any-window): Rename to window-normalize-any-window.
7112 (normalize-live-window): Rename to window-normalize-live-window.
7113 (make-window-atom): Rename to window-make-atom.
7114 (window-resize-reset): Rename to window--resize-reset.
7115 (window-resize-reset-1): Rename to window--resize-reset-1.
7116 (resize-mini-window): Rename to window--resize-mini-window.
7117 (resize-subwindows-skip-p): Rename to
7118 window--resize-subwindows-skip-p.
7119 (resize-subwindows-normal): Rename to
7120 window--resize-subwindows-normal.
7121 (resize-subwindows): Rename to window--resize-subwindows.
7122 (resize-other-windows): Rename to window--resize-siblings.
7123 (resize-this-window): Rename to window--resize-this-window.
7124 (resize-root-window): Rename to window--resize-root-window.
7125 (resize-root-window-vertically): Rename to
7126 window--resize-root-window-vertically.
7127 (normalize-buffer-to-display): Rename to
7128 window-normalize-buffer-to-display.
7129 (normalize-buffer-to-switch-to): Rename to
7130 window-normalize-buffer-to-switch-to.
7131 Correspondingly update all callers of the functions listed
7132 above.
7133 (display-buffer-alist, display-buffer-normalize-arguments)
7134 (display-buffer-normalize-options, display-buffer)
7135 (display-buffer-alist-set): Use "function" instead of
7136 "fun-with-args".
7137
1176868d
CY
71382011-06-28 Chong Yidong <cyd@stupidchicken.com>
7139
7140 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7141 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7142 debbugs.gnu.org. Mention acknowledgment email.
7143
20a7a65f
LMI
71442011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7145
7146 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7147 buffer multibyteness, since it shouldn't matter.
7148
5f45cca5
MR
71492011-06-28 Martin Rudalics <rudalics@gmx.at>
7150
7151 * window.el (display-buffer-in-side-window): Handle dedicated
7152 windows as in display-buffer-reuse-window.
7153 (display-buffer-normalize-alist): Use value of override
7154 specifier.
7155 (display-buffer-normalize-specifiers): Use value of
7156 other-window-means-other-frame specifier.
7157 (display-buffer-alist): Rewrite some texts in widgets.
7158 (display-buffer): Spread arguments when calling function
7159 specified by fun-with-args.
7160
ad85fe1f
DD
71612011-06-28 Deniz Dogan <deniz@dogan.se>
7162
1fa280a3
LM
7163 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7164 Unnest `let'.
da68c4c8 7165
ad85fe1f
DD
7166 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7167 selectors (Bug#5732).
ec49bd31 7168 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7169
a08cc025
JA
71702011-06-27 Jari Aalto <jari.aalto@cante.net>
7171
7172 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7173 (eshell-ls-date-format): New defcustom.
7174 (eshell-ls-file): Use it.
7175
e2b551c5
SM
71762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7179
8982b231
KY
71802011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7181
7182 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7183 (ange-ftp-make-tmp-name): New arg.
7184 (ange-ftp-file-local-copy): Use it.
7185
36c9fa27
J
71862011-06-27 Jambunathan K <kjambunathan@gmail.com>
7187
7188 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7189 no-conversion (Bug#8870).
7190
d68443dc
MR
71912011-06-27 Martin Rudalics <rudalics@gmx.at>
7192
7193 * window.el (window-right, window-left, window-child)
7194 (window-child-count, window-last-child)
7195 (window-iso-combination-p, walk-window-tree-1)
7196 (window-atom-check-1, window-tree-1, delete-window)
7197 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7198 new naming conventions - window-vchild, window-hchild,
7199 window-next and window-prev are now called window-top-child,
7200 window-left-child, window-next-sibling and window-prev-sibling
7201 respectively.
d615d6d2
MR
7202 (resize-window-reset): Rename to window-resize-reset.
7203 (resize-window-reset-1): Rename to window-resize-reset-1.
7204 (resize-window): Rename to window-resize.
7205 (window-min-height, window-min-width)
7206 (resize-mini-window, resize-this-window, resize-root-window)
7207 (resize-root-window-vertically, adjust-window-trailing-edge)
7208 (enlarge-window, shrink-window, maximize-window)
7209 (minimize-window, delete-window, quit-restore-window)
7210 (split-window, balance-windows, balance-windows-area-adjust)
7211 (balance-windows-area, window-state-put-2)
7212 (display-buffer-even-window-sizes, display-buffer-set-height)
7213 (display-buffer-set-width, set-window-text-height)
7214 (fit-window-to-buffer): Rename all "resize-window" prefixed
7215 calls to use the "window-resize" prefix convention.
7216 (display-buffer-alist): Fix symbol for label specifier.
7217 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7218 corresponding specifier.
7219 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7220
b6458526
VB
72212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7222
7223 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7224 convention.
7225 (ses-call-printer): Does not pass an empty string to formatter when the
7226 cell is empty to keep from barking printer Calc math-format-value.
7227
d31fd9ac
RS
72282011-06-27 Richard Stallman <rms@gnu.org>
7229
43d5bf84
RS
7230 * battery.el (battery-mode-line-limit): New variable.
7231 (battery-update): Handle it.
7232
d31fd9ac
RS
7233 * mail/rmailmm.el (rmail-mime-process-multipart):
7234 Handle truncated messages.
7235
819a6054
GM
72362011-06-27 Glenn Morris <rgm@gnu.org>
7237
7238 * progmodes/flymake.el (flymake-err-line-patterns):
7239 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7240
cedc73f2
VB
72412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7242
819a6054 7243 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7244 (ses--clean-!, ses--clean-_): New functions.
7245 (ses-range): Add configurability of readout order, and conversion
7246 to Calc vector.
7247
5e5d49b6
VB
7248 * ses.el (ses-repair-cell-reference-all): New function.
7249 (ses-cell-symbol): Set macro as safe, so that it can be used in
7250 formulas.
7251
56e6cc31 7252 * ses.el: Update cycle detection algorithm.
90ca8b49 7253 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7254 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7255 (ses-set-localvars): New function.
7256 (ses-make-cell): Add property-list as a cell element.
7257 (ses-cell-property-get-fun, ses-cell-property-get)
7258 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7259 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7260 New functions.
90ca8b49
VB
7261 (ses-cell-property-set, ses-cell-property-pop)
7262 (ses-cell-property-get-handle): New macro.
7263 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7264 New aliases, used for code readability.
7265 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7266 cycle detection.
7267 (ses-self-reference-early-detection): New defcustom.
fac916bf 7268 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7269 (ses-mode): Use ses-set-localvars.
7270 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7271 before lauching the update processing.
7272 (ses-initialize-Dijkstra-attempt): New function.
7273 (ses-recalculate-cell): Update for cycle detection based on
7274 Dijkstra algorithm.
7275
2bb63e81
VB
7276 * ses.el: Fix commenting and indenting convention.
7277
c9d29fb8
SM
72782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * bs.el (bs-cycle-next): Complete last change.
7281
d8e4b68b
JB
72822011-06-27 Drew Adams <drew.adams@oracle.com>
7283
7284 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7285
40098786
LMI
72862011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7287
c9d29fb8
SM
7288 * net/network-stream.el (network-stream-open-starttls):
7289 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7290 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7291
40098786
LMI
7292 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7293 to binary to possibly avoid line encoding issues on Windows (among
7294 other things).
7295
468d09d4
LMI
72962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7297
7298 * net/network-stream.el (open-network-stream): Return an :error
7299 saying what the problem was, if possible.
7300
7301 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7302 server.
7303
7304 * net/network-stream.el (network-stream-open-starttls): If we
7305 wanted to use STARTTLS, and the server offered it, but we weren't
7306 able to because we had no STARTTLS support, then close the connection.
7307 (open-network-stream): Return an :error element, if present.
7308
16f07dd7
CY
73092011-06-26 Chong Yidong <cyd@stupidchicken.com>
7310
88821ca0
CY
7311 * hl-line.el (hl-line-sticky-flag): Doc fix.
7312 (global-hl-line-sticky-flag): New option (Bug#8323).
7313 (global-hl-line-highlight): Obey it.
7314
16f07dd7
CY
7315 * vc/vc.el (vc-revert-show-diff): Default to t.
7316
6b5ccddf
KM
73172011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7318
c9d29fb8
SM
7319 * allout-widgets.el (allout-widgets-post-command-business):
7320 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7321 undecorated when an isearch is continued past, and isearch
7322 automatically collapses them. This leads to "widget leaks", where
7323 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7324 hidden widgets can slow down cursor travel, substantially.
7325 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7326 so we're doing without this nicety.
7327
7328 (allout-widgets-tally-string): Don't try to do a hash-table-count
7329 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7330 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7331 *Messages* when allout-widgets-maintain-tally is t.
7332
355f2e07
MR
73332011-06-26 Martin Rudalics <rudalics@gmx.at>
7334
7335 * window.el (display-buffer-normalize-argument): Rename to
7336 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7337 LABEL argument. Respect special-display-function when popping up
7338 a new frame. Fix code searching for a window showing the buffer
7339 on another frame.
c9d29fb8
SM
7340 (display-buffer-normalize-specifiers):
7341 Call display-buffer-normalize-arguments.
355f2e07
MR
7342 (display-buffer-in-window): Don't undedicate the window if its
7343 buffer remains the same.
7344 Reported by Drew Adams <drew.adams@oracle.com>.
7345 (display-buffer-alist): Add choice for same-window macro
7346 specfier.
7347 (display-buffer): Mention special meaning of LABEL argument in
7348 doc-string. Fix quoting. Don't pop up a new frame even as
7349 fallback.
7350
7ca8fc42
JB
73512011-06-26 Juanma Barranquero <lekktu@gmail.com>
7352
7353 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7354 avoid deleting the current window in some cases (bug#8911).
7355
bc312254
AS
73562011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7357
7358 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7359 (Bug#8934)
7360
2db18f3f
LMI
73612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7362
c9d29fb8
SM
7363 * net/network-stream.el (network-stream-open-starttls):
7364 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7365 (network-stream-open-tls): Ditto.
7366
6302e0d3
LL
73672011-06-26 Leo Liu <sdl.web@gmail.com>
7368
7369 * register.el (registerv): New struct.
7370 (registerv-make): New function.
c9d29fb8
SM
7371 (jump-to-register, describe-register-1, insert-register):
7372 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7373 struct. (Bug#8415)
7374
5fdd4046
CY
73752011-06-26 Chong Yidong <cyd@stupidchicken.com>
7376
2afef60a
CY
7377 * vc/vc.el (vc-revert-show-diff): New defcustom.
7378 (vc-diff-internal): New arg specifying diff buffer.
7379 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7380 reuse an existing *vc-diff* buffer (Bug#8927).
7381
5fdd4046
CY
7382 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7383
e93db24a
GM
73842011-06-26 Glenn Morris <rgm@gnu.org>
7385
7386 * progmodes/f90.el (f90-critical-indent): New option.
7387 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7388 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7389 (f90-mode): Doc fix.
7390 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7391 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7392 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7393 (f90-match-end): Handle block, critical.
7394
eefff499
GM
73952011-06-25 Glenn Morris <rgm@gnu.org>
7396
f6ba4cc9
GM
7397 * calendar/diary-lib.el (diary-included-files): Doc fix.
7398 (diary-include-files): New function, extracted from
7399 diary-include-other-diary-files and diary-mark-included-diary-files.
7400 (diary-include-other-diary-files, diary-mark-included-diary-files):
7401 Just call diary-include-files.
7402 (diary-mark-entries): Reset diary-included-files on first call.
7403
16712304
GM
7404 * calendar/diary-lib.el (diary-mark-entries)
7405 (diary-mark-included-diary-files):
7406 Visit included diary-files in temp buffers.
7407
5d8e0d43
GM
7408 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7409 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7410 (f90-start-block-re, f90-imenu-generic-expression)
7411 (f90-looking-at-program-block-start, f90-no-block-limit):
7412 Add support for submodules.
7413
ccf7a5d5
GM
7414 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7415 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7416
11fdef7d 74172011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7418
7419 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7420 buffer-file-type before setting its value, to avoid disastrous
eefff499 7421 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7422
74f53697
JB
74232011-06-25 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7426
7427 * ses.el (ses-unload-function):
7428 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7429
7430 * proced.el (proced-unload-function):
7431 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7432
18a4ce5e
AR
74332011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7434
7435 * server.el (server-create-window-system-frame): Add parameters arg.
7436 (server-process-filter): Doc fix. Handle frame-parameters.
7437
519d22cc
JB
74382011-06-25 Juanma Barranquero <lekktu@gmail.com>
7439
7440 Fix bug#8730, bug#8781.
7441
7442 * loadhist.el (unload--set-major-mode): New function.
7443 (unload-feature): Use it.
7444
7445 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7446 (python-unload-function): New function.
7447
c206f5b0
SM
74482011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7451
f9ad64f3
GS
74522011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7453
7454 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7455 the candidates list.
7456
7d0da90e
JB
74572011-06-24 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7460
14b4e83d
RS
74612011-06-23 Richard Stallman <rms@gnu.org>
7462
7463 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7464 (rmail-variables): Set next-error-move-function.
7465 (rmail-what-message): Take argument POS.
7466 (rmail-next-error-move): New function.
7467
273d2baf
SM
74682011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7471 messages for adjacent non-terminals.
7472
56c2cc9a
RS
74732011-06-23 Richard Stallman <rms@gnu.org>
7474
7475 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7476 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7477 (rmail-start-mail): Don't specify use of rmail-mail-return;
7478 that's done by mail-bury now.
7479 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7480
d59eb518
MA
74812011-06-23 Michael Albinus <michael.albinus@gmx.de>
7482
7483 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7484 SIZE is a number.
7485
02cfc6d6
MR
74862011-06-23 Martin Rudalics <rudalics@gmx.at>
7487
7488 * window.el (get-lru-window, get-mru-window)
7489 (get-largest-window): Never return a minibuffer window.
7490 (display-buffer-pop-up-window): Fix a bug that could lead to
7491 reusing the minibuffer window.
7492 (display-buffer): Pass original specifier argument to
7493 display-buffer-function instead of the normalized one.
7494 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7495
4e323265
LL
74962011-06-22 Leo Liu <sdl.web@gmail.com>
7497
7498 * minibuffer.el (completing-read-function)
7499 (completing-read-default): Move from minibuf.c
7500
7a70468f
RS
75012011-06-22 Richard Stallman <rms@gnu.org>
7502
50718fc2
RS
7503 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7504 to Rmail even if not started by a special Rmail command.
7505
7a70468f
RS
7506 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7507 Copy the buffer currently showing just one message.
7508
297dde5a
RW
75092011-06-22 Roland Winkler <winkler@gnu.org>
7510
7511 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7512 (bibtex-clean-entry): First delete the old key so that a
7513 customized algorithm for generating the new key does not get
7514 confused by the old key.
7515 (bibtex-url): Obey regexp of first step.
7516 (bibtex-search-entries): Do not use add-to-list with local
7517 list-var.
7518
97bb1093
LMI
75192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7520
7521 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7522 stored a user name, then query for the password first, instead of
7523 waiting for SMTP to give an error message and the trying again.
7524
1c0f1a19
JD
75252011-06-22 Lawrence Mitchell <wence@gmx.li>
7526
7527 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7528 BUFFER in call-process.
7529
396f7c9d
LMI
75302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7531
7532 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7533 QUIT twice.
ddb7ffee
LMI
7534 (smtpmail-try-auth-methods): Require user name and password from
7535 auth-source.
396f7c9d 7536
8998d1b3
MR
75372011-06-22 Martin Rudalics <rudalics@gmx.at>
7538
7539 * window.el (display-buffer-default-specifiers)
7540 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7541 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7542 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7543
7544 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7545 (special-display-frame-alist, special-display-popup-frame):
7546 Remove duplicate declarations. These are now in window.el.
7547
4ea31e07
LMI
75482011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7549
c9d29fb8
SM
7550 * mail/smtpmail.el (smtpmail-via-smtp):
7551 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7552 server supports it. SMTP servers that support STARTTLS commonly
7553 require it.
7554
7555 * net/network-stream.el (network-stream-open-starttls): Support
7556 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7557 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7558
95f41d9a
LMI
7559 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7560 upgrades with `open-network-stream', and rely solely on
7561 auth-source for all credentials. Big changes throughout the file,
7562 but in particular:
c9d29fb8
SM
7563 (smtpmail-auth-credentials): Remove.
7564 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7565 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7566 MAIL FROM, too.
95f41d9a 7567
c9d29fb8
SM
7568 * net/network-stream.el (network-stream-open-starttls):
7569 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7570 STARTTLS.
7571 (auth-source): Require.
7572 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7573 (network-stream-certificate): Change cert-cert to cert and
7574 cert-key to key.
4ea31e07 7575
065ec2c7
MA
75762011-06-21 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp-cache.el (top): Don't load the persistency file when
7579 "emacs -Q" has been called.
7580
cd93b359
DR
75812011-06-21 Tim Harper <timcharper@gmail.com>
7582
d8e4b68b
JB
7583 * term/ns-win.el (ns-initialize-window-system):
7584 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7585 resource to NO as it is not yet supported by the NS port.
7586
ae9c0411
JB
75872011-06-21 Juanma Barranquero <lekktu@gmail.com>
7588
7589 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7590 (list-dynamic-libraries): ...not here.
7591
7f3f739f
LL
75922011-06-21 Leo Liu <sdl.web@gmail.com>
7593
7594 * subr.el (sha1): Implement sha1 using secure-hash.
7595
327c8fb1
MR
75962011-06-21 Martin Rudalics <rudalics@gmx.at>
7597
7598 * window.el (display-buffer-alist): In default value do not
7599 enforce searching a window on any but the selected frame.
7600 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7601 (display-buffer-select-window): Remove function.
7602 (display-buffer-in-window): When a window on another frame gets
7603 reused, do not select it any more but just raise its frame if
7604 necessary (Bug#8851) and (Bug#8856).
7605 (display-buffer-normalize-options): Handle pop-up-frames related
7606 options more faithfully.
7607 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7608 window if it is on another frame.
c9d29fb8
SM
7609 (display-buffer-alist, display-buffer-default-specifiers):
7610 Don't make new frame unsplittable by default.
9e9de014
MR
7611 (display-buffer-normalize-argument): Fix doc-string typo and use
7612 'same-frame-other-window instead of 'other-window when associating
7613 with display-buffer-macro-specifiers.
327c8fb1 7614
7cf3f556
VB
76152011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7616
7617 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7618 New functions.
7619 (5x5-mode-map, 5x5-mode-menu): Bind them.
7620 (5x5-draw-grid): Tweak the solver's rendering.
7621
60a406cf
SM
76222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7625 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7626
d8e4b68b 76272011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7628
7629 * menu-bar.el: Use function variable instead of switch-to-buffer.
7630 (menu-bar-select-buffer-function): New variable.
60a406cf 7631 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7632
478d6f95
SM
76332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7636 variable's status.
7637
ca530739
JD
76382011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7639
7640 * x-dnd.el (x-dnd-version-from-flags)
7641 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7642 and long as number (Bug#8899).
7643 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7644
bcd70d97
SM
76452011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7646
60a406cf 7647 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7648 (completion-try-completion, completion-all-completions): Compute the
7649 metadata argument if it's missing; make it optional (bug#8795).
7650
60a406cf 7651 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7652 (widget-complete): Use new :completion-function property.
7653 (widget-completions-at-point): New function.
7654 (default): Use :completion-function instead of :complete.
60a406cf
SM
7655 (widget-default-completions): Rename from widget-default-complete;
7656 Rewrite.
bcd70d97
SM
7657 (widget-string-complete, widget-file-complete, widget-color-complete):
7658 Remove functions.
7659 (file, symbol, function, variable, coding-system, color):
7660 * international/mule-cmds.el (default-input-method, charset)
7661 (language-info-custom-alist):
7662 * cus-edit.el (face): Use new property :completions.
7663
7664 * progmodes/pascal.el (pascal-completions-at-point): New function.
7665 (pascal-mode): Use it.
7666 (pascal-mode-map): Use completion-at-point.
7667 (pascal-toggle-completions): Make obsolete.
7668 (pascal-complete-word, pascal-show-completions):
7669 * progmodes/octave-mod.el (octave-complete-symbol):
7670 Redefine as obsolete alias.
7671 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7672 Signal absence of completion info for old Octave,
7673 (inferior-octave-complete): Redefine as obsolete alias.
7674 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7675 (meta-completions-at-point): Rename from meta-complete-symbol and
7676 adapt it for use on completion-at-point-functions.
7677 (meta-common-mode): Use it.
7678 (meta-looking-at-backward, meta-match-buffer): Remove.
7679 (meta-complete-symbol): Redefine as obsolete alias.
7680 (meta-common-mode-map): Use completion-at-point.
7681 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7682 (makefile-mode-map): Use completion-at-point.
7683 (makefile-completions-at-point): Rename from makefile-complete and
7684 adapt it for use on completion-at-point-functions.
7685 (makefile-mode): Use it.
7686 (makefile-complete): Redefine as obsolete alias.
7687
aebf69c8
DD
76882011-06-20 Deniz Dogan <deniz@dogan.se>
7689
7690 * net/rcirc.el: Delete trailing whitespaces once and for all.
7691
bfbbb27d
DC
76922011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7693
7694 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7695
d264a46b
CY
76962011-06-19 Chong Yidong <cyd@stupidchicken.com>
7697
4ca009e5
CY
7698 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7699
d264a46b
CY
7700 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7701
fbf5b3ce
MR
77022011-06-19 Martin Rudalics <rudalics@gmx.at>
7703
7704 * window.el (display-buffer-other-window-means-other-frame):
7705 Call display-buffer-normalize-alist.
7706 (display-buffer-normalize-specifiers-1): Rename to
7707 display-buffer-normalize-argument. New argument other-frame.
7708 Rewrite.
7709 (display-buffer-normalize-specifiers-2): Rename to
7710 display-buffer-normalize-options.
7711 (display-buffer-normalize-alist-1): New function.
7712 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7713 display-buffer-normalize-alist.
7714 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7715 (display-buffer-normalize-options-inhibit): New variable.
7716 (display-buffer-normalize-specifiers): Rewrite calling
7717 display-buffer-normalize-alist,
7718 display-buffer-normalize-argument, and
7719 display-buffer-normalize-options. Don't call the latter if
7720 display-buffer-normalize-options-inhibit is non-nil.
7721 (frame-auto-delete): New option.
7722 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7723 (window-list-no-nils, window-state-ignored-parameters)
7724 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7725 (window-state-put-1, window-state-put-2, window-state-put):
7726 New functions.
9a028c23
MR
7727 (display-buffer-normalize-options): Move special-display-p group
7728 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7729
6d10d800
CY
77302011-06-18 Chong Yidong <cyd@stupidchicken.com>
7731
6420d28b
CY
7732 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7733 groups (Bug#8776).
7734 (rx-submatch-n): New function.
7735 (rx): Document it.
7736
ddb8b596
CY
7737 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7738 (Bug#8768).
7739
7740 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7741
77080289
CY
7742 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7743
61dfb316
CY
7744 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7745 anytime existing face settings are present (Bug#8889).
7746
6d10d800
CY
7747 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7748 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7749 Remove unused argument.
7750
be3fb2b8
MR
77512011-06-18 Martin Rudalics <rudalics@gmx.at>
7752
bcd70d97
SM
7753 * window.el (display-buffer-default-specifiers):
7754 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7755 pop-up-window-min-width, and another reuse-window specifier
7756 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7757 (display-buffer-normalize-specifiers-2):
7758 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7759 pop-up-windows is unset. Add a reuse-window specifier for the
7760 case popping up a new window fails.
7761 (special-display-popup-frame): Remove double quoting.
28dec25a 7762 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7763
1c6d8c76
SM
77642011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7767 according to comint-completion-addsuffix.
7768
7769 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7770 (pcomplete-suffix-list): Mark as obsolete.
7771 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7772 pcomplete-seen in the closure.
7773 (pcomplete-comint-setup): Setup completion-at-point as well.
7774 (pcomplete--entries): New function.
7775 (pcomplete--env-regexp): New var.
7776 (pcomplete-entries): Rewrite to work with partial-completion and
7777 without relying on pcomplete-suffix-list.
7778 (pcomplete-pare-list): Remove, unused.
7779
25aef8b8
MR
77802011-06-17 Martin Rudalics <rudalics@gmx.at>
7781
7782 * window.el (display-buffer-alist): Set pop-up-window-min-height
7783 and pop-up-window-min-width in default value. Reported by
7784 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7785 other-window-means-other-frame.
7786 (display-buffer-macro-specifiers): Comment out entry for
7787 other-window specifier.
7788 (display-buffer-other-window-means-other-frame): New function.
7789 (display-buffer-normalize-specifiers-1): New arguments
7790 buffer-name and label. Treat other-window case specially.
7791 (display-buffer-normalize-specifiers-2): Treat other-window case
7792 specially.
7793 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7794 (display-buffer-normalize-specifiers):
7795 Call display-buffer-normalize-specifiers-3.
25aef8b8 7796
dbad4f69
MR
77972011-06-17 Martin Rudalics <rudalics@gmx.at>
7798
7799 * window.el (same-window-p): Fix two typos introduced when
7800 adding with-no-warnings.
d1067961
MR
7801 (display-buffer-normalize-specifiers-1): Don't check
7802 pop-up-frames for 'unset initialization.
7803 (display-buffer-normalize-specifiers-2): Major rewrite using
7804 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7805 (pop-up-frames, display-buffer-reuse-frames)
7806 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7807 Suggested by David Engster <deng@randomsample.de>.
7808 (even-window-heights): Initialize to 'unset.
7809 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7810 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7811 other window case.
dbad4f69 7812
9b9c9e3a
MR
78132011-06-16 Martin Rudalics <rudalics@gmx.at>
7814
bcd70d97
SM
7815 * window.el (display-buffer-normalize-specifiers-1):
7816 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7817 second argument of display-buffer (Bug#8865).
981d5c09
MR
7818 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7819 (switch-to-buffer-other-window-same-frame)
7820 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7821 Adams (Bug#8875).
9c2755e9
MR
7822 (display-buffer): Don't check noninteractive when calling
7823 display-buffer-pop-up-frame.
7824 (display-buffer-pop-up-frame): Never pop up a frame in
7825 noninteractive mode (Bug#8857).
67222e1d
MR
7826 (enlarge-window, shrink-window): Don't report an error when the
7827 window can't be resized as requested (Bug#8862).
9b9c9e3a 7828
2b75be67
SM
78292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7830
9ffdd3ba
SM
7831 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7832
cb581a67
SM
7833 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7834
2b75be67
SM
7835 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7836
8c0e3589
AM
78372011-06-15 Alan Mackenzie <acm@muc.de>
7838
cb581a67
SM
7839 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7840 for declarators, disable knr checking to speed up for normal files.
7841 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7842
b96e6cde
LMI
78432011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7844
4bba86e6
LMI
7845 * net/network-stream.el (open-network-stream): Add the keyword
7846 :always-query-capabilities for the case where you want to force a
7847 `plain' network connection, but the protocol still requires the
7848 capabilitiy command (i.e., SMTP and EHLO).
7849
2b75be67 7850 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7851 consistency with other `-live-p' functions.
7852
efdcdbf8
SM
78532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * window.el (same-window-buffer-names, same-window-regexps)
7856 (special-display-frame-alist, special-display-popup-frame)
7857 (special-display-function, special-display-buffer-names)
7858 (special-display-regexps, pop-up-frame-alist)
7859 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7860 (pop-up-windows, split-window-preferred-function)
7861 (split-height-threshold, split-width-threshold, even-window-heights)
7862 (display-buffer-mark-dedicated): Don't encourage the use of
7863 display-buffer-alist from Elisp code.
7864
c5cde042
DN
78652011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7866
7867 * progmodes/python.el (python-mode): Derive from prog-mode.
7868 * progmodes/ps-mode.el (ps-mode):
7869 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7870 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7871 * progmodes/ld-script.el (ld-script-mode): Likewise.
7872
baa1c9ab
MR
78732011-06-15 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (display-buffer-alist): Trim default value to avoid
7876 popping up a new frame (Bug#8857) or reusing an arbitrary window
7877 on another frame.
7878 (display-buffer): Do not fall back on popping up a new frame in
7879 batch mode (Bug#8857).
7880
c5dd5a51
CY
78812011-06-14 Chong Yidong <cyd@stupidchicken.com>
7882
7883 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7884 (custom-theme-summary): New function.
7885 (customize-themes): Use it.
7886
d647b7c4
GM
78872011-06-13 Glenn Morris <rgm@gnu.org>
7888
7889 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7890
9481c002
MR
78912011-06-13 Martin Rudalics <rudalics@gmx.at>
7892
357f93d2
MR
7893 * help.el (help-window): Remove variable.
7894 (help-window-point-marker, temp-buffer-max-height)
7895 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7896 (help-print-return-message): Don't set help-window.
7897 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7898 (help-window-setup-finish): Remove.
7899 (help-window-display-message, help-window-setup)
7900 (with-help-window): Major rewrite based on new
7901 display-buffer-window variable.
7902
7903 * help-mode.el (help-mode-finish): Remove help-window related
7904 code.
7905
7906 * view.el (view-exits-all-viewing-windows): Remove reference to
7907 view-return-to-alist in doc-string.
7908 (view-return-to-alist): Make obsolete.
7909 (view-buffer): Call pop-to-buffer-same-window and remove
7910 undo-window code.
7911 (view-buffer-other-window): Call pop-to-buffer-other-window and
7912 simplify code. Ignore second argument.
7913 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7914 simplify code. Ignore second argument.
7915 (view-return-to-alist-update): Make obsolete.
7916 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7917 Rewrite using quit-restore window parameters.
2b75be67
SM
7918 (view-mode-exit): Rename second argument to EXIT-ONLY.
7919 Rewrite using quit-restore-window.
357f93d2
MR
7920 (View-exit, View-exit-and-edit, View-leave, View-quit)
7921 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7922 appropriate arguments.
7923 (view-end-message): Use quit-restore window parameter.
7924
9481c002
MR
7925 * window.el (display-buffer-function): Rewrite doc-string.
7926 (display-buffer-window, display-buffer-alist): New variables.
7927 (display-buffer-split-specifiers)
7928 (display-buffer-side-specifiers)
7929 (display-buffer-macro-specifiers): New constants.
7930 (display-buffer-even-window-sizes, display-buffer-set-height)
7931 (display-buffer-set-width, display-buffer-select-window)
7932 (display-buffer-in-window, display-buffer-reuse-window)
7933 (display-buffer-split-window-1, display-buffer-split-window)
7934 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7935 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7936 (display-buffer-in-side-window, normalize-buffer-to-display)
7937 (display-buffer-normalize-specifiers-1)
7938 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7939 (display-buffer-normalize-specifiers, display-buffer-frame):
7940 New functions.
9481c002
MR
7941 (display-buffer): Major rewrite.
7942 (display-buffer-other-window, display-buffer-other-frame)
7943 (pop-to-buffer, switch-to-buffer-other-window)
7944 (switch-to-buffer-other-frame): Rewrite.
7945 (display-buffer-same-window, display-buffer-same-frame)
7946 (display-buffer-same-frame-other-window)
7947 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7948 (pop-to-buffer-other-window)
7949 (pop-to-buffer-same-frame-other-window)
7950 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7951 (switch-to-buffer-other-window-same-frame): New functions.
7952 (same-window-p, special-display-p): Rewrite disabling warnings.
7953 Make obsolete.
7954 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7955 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7956 Make obsolete
7957 (same-window-buffer-names, same-window-regexps)
7958 (special-display-frame-alist, special-display-popup-frame)
7959 (special-display-function, special-display-buffer-names)
7960 (special-display-regexps, pop-up-frame-alist)
7961 (pop-up-frame-function, split-window-preferred-function)
7962 (split-height-threshold, split-width-threshold)
7963 (even-window-heights): Make obsolete.
7964
9db51aca
GM
79652011-06-12 Glenn Morris <rgm@gnu.org>
7966
7967 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7968 Misc simplifications.
9db51aca 7969
39cffb44
MR
79702011-06-12 Martin Rudalics <rudalics@gmx.at>
7971
7972 * window.el (window-safely-shrinkable-p): Restore function which
7973 was inadvertently removed in change from 2011-06-11. Declare as
7974 obsolete.
7975
2b75be67
SM
7976 * calendar/calendar.el (calendar-generate-window):
7977 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7978 window-safely-shrinkable-p.
7979
a8955be7
GM
79802011-06-12 Glenn Morris <rgm@gnu.org>
7981
7982 * progmodes/fortran.el (fortran-mode-syntax-table):
7983 * progmodes/f90.el (f90-mode-syntax-table):
7984 Set % to punctuation. (Bug#8820)
7985 (f90-find-tag-default): Remove, no longer needed.
7986
f0d4059d
DC
79872011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7988
7989 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7990
1100a63c
CY
79912011-06-11 Chong Yidong <cyd@stupidchicken.com>
7992
7993 * image.el (image-animated-p): Return animation delay in seconds.
7994 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7995 (image-animate-timeout): Remove DELAY argument. Don't assume
7996 every subimage has the same delay; get it from image-animated-p.
7997 (image-animate): Caller changed.
7998
def722bf
MA
79992011-06-11 Michael Albinus <michael.albinus@gmx.de>
8000
8001 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8002 to ignored backtrace functions.
8003
0a2bb1a9
GM
80042011-06-11 Glenn Morris <rgm@gnu.org>
8005
8006 * calendar/appt.el (appt-disp-window-function): Doc fix.
8007 (appt-check): Handle overlapping appointments. (Bug#8337)
8008
6198ccd0
MR
80092011-06-11 Martin Rudalics <rudalics@gmx.at>
8010
8011 * window.el (window-tree-1, window-tree): New functions, moving
8012 the latter to window.el.
8013 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8014 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8015 (bw-refresh-edges): Remove.
8016 (balance-windows-1, balance-windows-2): New functions.
8017 (balance-windows): Rewrite in terms of window tree functions,
8018 balance-windows-1 and balance-windows-2.
8019 (bw-adjust-window): Remove.
8020 (balance-windows-area-adjust): New function with functionality of
8021 bw-adjust-window but using resize-window.
2b75be67
SM
8022 (set-window-text-height): Rewrite doc-string.
8023 Use normalize-live-window and resize-window.
8024 (enlarge-window-horizontally, shrink-window-horizontally):
8025 Rename argument to DELTA.
6198ccd0
MR
8026 (window-buffer-height): New function.
8027 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8028 Rewrite using new window resize routines.
2b75be67
SM
8029 (kill-buffer-and-window, mouse-autoselect-window-select):
8030 Use ignore-errors instead of condition-case.
6198ccd0
MR
8031 (quit-window): Call delete-frame instead of delete-windows-on
8032 for the only buffer on frame.
8033
9397e56f
MR
80342011-06-10 Martin Rudalics <rudalics@gmx.at>
8035
8036 * loadup.el (top-level): Load window before files for the sake
8037 of replace-buffer-in-windows.
8038
8039 * files.el (read-buffer-to-switch)
8040 (switch-to-buffer-other-window)
2b75be67
SM
8041 (switch-to-buffer-other-frame, display-buffer-other-frame):
8042 Move to window.el.
9397e56f
MR
8043
8044 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8045 (previous-buffer): Move to window.el.
8046
8047 * bindings.el (unbury-buffer): Move to window.el.
8048
8049 * window.el (delete-other-windows-vertically): Move after
8050 definition of delete-other-windows.
8051 (other-window, delete-windows-on, replace-buffer-in-windows):
8052 Move here from window.c.
8053 (record-window-buffer, unrecord-window-buffer)
8054 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8055 (switch-to-next-buffer): New functions.
8056 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8057 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8058 (previous-buffer): Move here from simple.el.
8059 Call switch-to-prev-buffer.
9397e56f
MR
8060 (bury-buffer): Move here from buffer.c. Switch to previous
8061 buffer when window cannot be deleted.
8062 (unbury-buffer): Move here from bindings.el.
8063 (ctl-x-map): Move binding for other-window from window.c to
8064 here.
8065 (read-buffer-to-switch, switch-to-buffer-other-window)
8066 (switch-to-buffer-other-frame): Move here from files.el.
8067 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8068 (switch-to-buffer): Move here from buffer.c.
8069 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8070
562dd5e9
MR
80712011-06-10 Martin Rudalics <rudalics@gmx.at>
8072
8073 * window.el (window-min-height, window-min-width): Move here
8074 from window.c. Add defcustoms and rewrite doc-strings.
8075 (resize-mini-window, resize-window): New functions.
8076 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8077 Move here from window.c.
8078 (maximize-window, minimize-window): New functions.
8079 (delete-window, delete-other-windows, split-window): Move here
8080 from window.c.
8081 (window-split-min-size): New function.
8082 (split-window-keep-point): Mention split-window-above-each-other
8083 instead of split-window-vertically.
2b75be67 8084 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8085 Rename split-window-vertically to split-window-above-each-other
8086 and provide defalias for old definition.
8087 (split-window-side-by-side, split-window-horizontally):
8088 Rename split-window-horizontally to split-window-side-by-side
8089 and provide defalias for the old definition.
562dd5e9
MR
8090 (ctl-x-map): Move bindings for delete-window,
8091 delete-other-windows and enlarge-window here from window.c.
8092 Replace bindings for split-window-vertically and
8093 split-window-horizontally by bindings for
8094 split-window-above-each-other and split-window-side-by-side.
8095
8096 * cus-start.el (all): Remove entries for window-min-height and
8097 window-min-width. Add entries for window-splits and
8098 window-nest.
8099
f0da764a
GM
81002011-06-09 Glenn Morris <rgm@gnu.org>
8101
80675c21
GM
8102 * calendar/appt.el (appt-mode-line): New function.
8103 (appt-check, appt-disp-window): Use it.
8104
f0da764a
GM
8105 * files.el (hack-one-local-variable-eval-safep):
8106 Allow minor-modes with explicit +/-1 arguments.
8107
59f623b7
TZ
81082011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8109
8110 * term/xterm.el (xterm): Add defgroup.
8111 (xterm-extra-capabilities): Add defcustom to supply known xterm
8112 capabilities, skip querying them, or query them (default).
8113 (terminal-init-xterm): Use it.
8114 (terminal-init-xterm-modify-other-keys): New function to set up
8115 modifyOtherKeys support to simplify `terminal-init-xterm'.
8116
9aab8e0d
MR
81172011-06-09 Martin Rudalics <rudalics@gmx.at>
8118
8119 * window.el (resize-window-reset, resize-window-reset-1)
8120 (resize-subwindows-skip-p, resize-subwindows-normal)
8121 (resize-subwindows, resize-other-windows, resize-this-window)
8122 (resize-root-window, resize-root-window-vertically)
8123 (window-deletable-p, window-or-subwindow-p)
8124 (frame-root-window-p): New functions.
8125
e8b08aee
GM
81262011-06-09 Glenn Morris <rgm@gnu.org>
8127
8128 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8129 (ange-ftp-get-files): Use it.
8130
254c37a5
AK
81312011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8132
8133 * mail/sendmail.el (mail-recover-1, mail-recover):
8134 * files.el (recover-file, recover-session):
8135 Handle dired-listing-switches not being just a single short option.
8136
35d7dbd3
GM
81372011-06-09 Glenn Morris <rgm@gnu.org>
8138
8139 * calendar/appt.el (appt-display-message, appt-disp-window):
8140 Handle lists of appointments.
8141
387522b2
MR
81422011-06-08 Martin Rudalics <rudalics@gmx.at>
8143
2b75be67
SM
8144 * window.el (one-window-p): Move down in code.
8145 Rewrite doc-string.
8146 (window-current-scroll-bars): Rewrite doc-string.
8147 Normalize live window argument.
387522b2
MR
8148 (walk-windows, get-window-with-predicate, count-windows):
8149 Rewrite doc-string. Use window-list-1.
8150 (window-in-direction-2, window-in-direction, get-mru-window):
8151 New functions.
8152
d8e4b68b 81532011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8154
8155 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8156 Doc fix (Bug#8713).
8157
81582011-06-08 Chong Yidong <cyd@stupidchicken.com>
8159
8160 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8161
81622011-06-08 Juanma Barranquero <lekktu@gmail.com>
8163
8164 * loadhist.el (unload-feature-special-hooks):
8165 Add `comint-output-filter-functions'.
8166
0de12c52
IK
81672011-06-08 Ivan Kanis <gnu@kanis.fr>
8168
8169 * calendar/appt.el (appt-check): Move some initializations into the let.
8170
f3d1777e
MR
81712011-06-08 Martin Rudalics <rudalics@gmx.at>
8172
8173 * window.el (window-height): Defalias to window-total-height.
8174 (window-width): Defalias to window-body-width.
8175
18af70d0
CY
81762011-06-07 Chong Yidong <cyd@stupidchicken.com>
8177
8178 * image-mode.el (image-toggle-animation): New command.
8179 (image-mode-map): Bind it to RET.
8180 (image-mode): Update message.
8181 (image-toggle-display-image): Avoid a spurious cache flush.
8182 (image-transform-rotation): Doc fix.
8183 (image-transform-properties): Return quickly in the normal case.
8184 (image-animate-loop): Rename from image-animate-max-time.
8185
2b75be67 8186 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8187 (create-animated-image): Remove unnecessary function.
8188 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8189 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8190 (image-animate-timer): Use car-safe.
8191 (image-animate-timeout): Rename argument.
8192
190b47e6
MR
81932011-06-07 Martin Rudalics <rudalics@gmx.at>
8194
8195 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8196 window.c. Rename first argument to ALL-FRAMES.
8197 Rephrase doc-strings.
8198 (get-buffer-window-list): Rewrite using window-list-1.
8199 Rephrase doc-string.
a1511caf
MR
8200 (window-safe-min-height, window-safe-min-width): New constants.
8201 (window-size-ignore, window-min-size, window-min-size-1)
8202 (window-sizable, window-sizable-p, window-size-fixed-1)
8203 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8204 (window-max-delta-1, window-max-delta, window-resizable)
8205 (window-resizable-p, window-total-height, window-total-width)
8206 (window-body-width): New functions.
8207 (window-full-height-p, window-full-width-p): Rewrite using
8208 window-total-size.
8209 (window-body-height): Rewrite using window-body-size.
190b47e6 8210
85cc1f11
MR
82112011-06-06 Martin Rudalics <rudalics@gmx.at>
8212
8213 * window.el (window-right, window-left, window-child)
8214 (window-child-count, window-last-child, window-any-p)
8215 (normalize-live-buffer, normalize-live-frame)
8216 (normalize-any-window, normalize-live-window)
8217 (window-iso-combination-p, window-iso-combined-p)
8218 (window-iso-combinations)
8219 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8220 (windows-with-parameter, window-with-parameter)
8221 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8222 (window-atom-check, window-side-check, window-check):
8223 New functions.
85cc1f11
MR
8224 (ignore-window-parameters, window-sides, window-sides-vertical)
8225 (window-sides-slots): New variables.
8226 (window-size-fixed): Move down in code. Minor doc-string fix.
8227
e7156492
AS
82282011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8229
8230 * comint.el (comint-dynamic-complete-as-filename)
8231 (comint-dynamic-complete-filename): Correctly call
8232 completion-in-region.
8233
7e821d0d
DD
82342011-06-05 Deniz Dogan <deniz@dogan.se>
8235
8236 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8237 in last change.
8238
ac09b8a1
DD
82392011-06-05 Deniz Dogan <deniz@dogan.se>
8240
8241 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8242 (rcirc): Use it to prompt for encryption.
8243
34699b85
RW
82442011-06-05 Roland Winkler <winkler@gnu.org>
8245
8246 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8247 (bibtex-search-entries): New command bound to C-c C-a.
8248 (bibtex-display-entries): New function.
8249
004dedd3
RW
82502011-06-05 Roland Winkler <winkler@gnu.org>
8251
8252 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8253 (bibtex-insert-kill): After yanking insert newline if necessary.
8254 (bibtex-initialize): Call bibtex-string-files-init only once.
8255 (bibtex-mode): Do not call easy-menu-add.
8256 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8257 (bibtex-yank): Set arg properly if nil.
8258
022fe7ce
RW
82592011-06-05 Roland Winkler <winkler@gnu.org>
8260
2b75be67
SM
8261 * textmodes/bibtex.el (bibtex-search-entry-globally):
8262 New variable.
022fe7ce
RW
8263 (bibtex-search-entry): Use it.
8264
b7c3692a
RW
82652011-06-05 Roland Winkler <winkler@gnu.org>
8266
8267 * textmodes/bibtex.el (bibtex-entry-format): New option
8268 sort-fields.
8269 (bibtex-format-entry, bibtex-reformat): Honor this option.
8270 (bibtex-parse-entry): Return fields in proper order.
8271
8eda563d
JB
82722011-06-05 Juanma Barranquero <lekktu@gmail.com>
8273
8274 * doc-view.el (doc-view-remove-if): Move computation of result out
8275 of `dolist' to silence misleading lexical-binding warning.
8276
7dbe3dbc
CY
82772011-06-04 Chong Yidong <cyd@stupidchicken.com>
8278
8279 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8280 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8281
0c33dd17
MA
82822011-06-04 Michael Albinus <michael.albinus@gmx.de>
8283
8284 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8285 "SunOS 5.10".
8286
f8f91c2b
MA
82872011-06-04 Michael Albinus <michael.albinus@gmx.de>
8288
8289 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8290 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8291 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8292 (tramp-parse-putty):
8293 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8294 (tramp-completion-function-alist-ssh)
8295 (tramp-completion-function-alist-telnet)
8296 (tramp-completion-function-alist-su)
8297 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8298 cookie.
8299
8300 * net/tramp-ftp.el:
8301 * net/tramp-sh.el:
8302 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8303 load "tramp.el" `tramp-set-completion-function'.
8304
e17d9003
SM
83052011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * shell.el: Require and use pcomplete.
8308 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8309 (shell-completion-vars): Set pcomplete-default-completion-function.
8310
6c4cab03
DD
83112011-06-04 Deniz Dogan <deniz@dogan.se>
8312
8313 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8314 `memq' (Bug#8799).
8315
ea9fafe0
SM
83162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8319
b3e945d3
JB
83202011-06-02 Juanma Barranquero <lekktu@gmail.com>
8321
8322 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8323 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8324 * vc/log-view.el (log-view-beginning-of-defun):
8325 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8326 (smerge-refine-forward, smerge-refine-chopup-region):
8327 Silence warning for unused `dotimes' counter variables.
8328
7d520089
SM
83292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8330
8331 * net/tramp.el (tramp-with-progress-reporter): Rename from
8332 with-progress-reporter. Use `declare'.
8333 * net/tramp-smb.el:
8334 * net/tramp-sh.el:
8335 * net/tramp-gvfs.el: Update all uses.
8336
a1c2400f
JB
83372011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8338
8339 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8340 buffer isn't killed before making it current.
8341
2403c841
SM
83422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 Silence various byte-compiler warnings.
8345 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8346 `access-type' and new obsolescence format.
8347 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8348 new format.
8349 (byte-compile-check-variable): New `access-type' argument.
8350 Only warn if the access-type is obsolete.
8351 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8352 (byte-compile-variable-set): Adjust callers.
8353 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8354 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8355 setting it as obsolete.
8356 * simple.el (minibuffer-completing-symbol):
8357 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8358 access as obsolete.
8359 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8360 obsolete yet.
8361 * international/quail.el (quail-mouse-choose-completion): Remove unused
8362 code referring to obsolete var.
8363 (quail-choose-completion-string): Remove.
8364 * server.el (server-clients-with, server-kill-buffer-query-function)
8365 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8366 * proced.el (proced-send-signal):
8367 * emacs-lisp/lisp.el (lisp-complete-symbol):
8368 Replace completion-annotate-function with completion-extra-properties.
8369
2462470b
SM
83702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8371
fb5b2591
SM
8372 * simple.el (goto-line): Use read-number.
8373 (overriding-map-is-bound): Remove.
8374 (saved-overriding-map): Change default.
8375 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8376 Take the map as argument.
8377 (universal-argument, negative-argument, digit-argument): Use it.
8378 (restore-overriding-map): Adjust.
8379 (do-auto-fill): Use fill-forward-paragraph.
8380 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8381
fd6fa53f
SM
8382 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8383 (minibuffer-inactive-mode): New major mode.
8384 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8385 the *Messages* buffer" hack.
8386 (mouse-popup-menubar): Don't burp if the event is a normal key.
8387
2462470b
SM
8388 Miscellaneous tweaks.
8389 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8390 lexical scoping as in subr.el's dolist and dotimes.
8391 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8392 Silence compiler warning.
8393 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8394 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8395 * international/ccl.el (ccl-compile): Trivial simplification.
8396 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8397 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8398 `printflag' argument.
8399 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8400 Purecopy the whole obsolescence data.
8401
108bf785
LL
84022011-06-01 Leo Liu <sdl.web@gmail.com>
8403
8404 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8405 improve doc-string as suggested by Marco Pessotto
8406 <melmothx@gmail.com>.
8407 (rcirc-print): Fix last change.
8408
30a23501
SM
84092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * minibuffer.el (complete-with-action): Return nil for the metadata and
8412 boundaries of non-functional tables.
8413 (completion-table-dynamic): Return nil for the metadata.
8414 (completion-table-with-terminator): Add default case, using
8415 complete-with-action.
8416 (completion--metadata): New function.
8417 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8418 to try and avoid pathological performance problems.
8419 (completion--embedded-envvar-table): Return `category' metadata.
8420
bcd54f83
LMI
84212011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8422
8423 * subr.el (process-alive-p): New tiny convenience function.
8424
e227544d
SM
84252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8428 content but also its previous major mode.
8429
e8296fdc
HE
84302011-05-31 Helmut Eller <eller.helmut@gmail.com>
8431
4d61f28d 8432 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8433 *Backtrace* buffer when we exit with C-M-c.
8434
620c53a6
SM
84352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * minibuffer.el: Add metadata method to completion tables.
8438 (completion-category-overrides): New defcustom.
8439 (completion-metadata, completion--field-metadata)
8440 (completion-metadata-get, completion--styles)
8441 (completion--cycle-threshold): New functions.
8442 (completion-try-completion, completion-all-completions):
8443 Add `metadata' argument to choose completion-styles.
8444 (completion--do-completion): Use metadata to choose cycling.
8445 (completion-all-sorted-completions): Use metadata for sorting.
8446 Remove :completion-cycle-penalty which is not needed any more.
8447 (completion--try-word-completion): Add `metadata' argument.
8448 (minibuffer-completion-help): Check metadata for annotation function
8449 and sorting.
8450 (completion-file-name-table): Return `category' metadata.
8451 (minibuffer-completing-file-name): Make obsolete.
8452 * simple.el (minibuffer-completing-symbol): Make obsolete.
8453 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8454 completion-try-completion.
8455
1257e755
SM
84562011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8457
8458 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8459
3767e706
LL
84602011-05-30 Leo Liu <sdl.web@gmail.com>
8461
8462 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8463 (rcirc-print): Decode all incoming messages (bug#8744).
8464 (rcirc-decode-coding-system): Allow value nil for automatic coding
8465 system detection.
3767e706 8466
d1a5d56a
GM
84672011-06-01 Glenn Morris <rgm@gnu.org>
8468
8469 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8470
e8cbec34
CY
84712011-05-29 Chong Yidong <cyd@stupidchicken.com>
8472
8473 * image.el (image-animate-max-time): Allow nil and t values.
8474 Default to nil.
8475 (create-animated-image): Doc fix.
8476 (image-animate-start): Remove second arg; just use
8477 image-animate-max-time.
8478 (image-animate-timeout): Doc fix. Args changed.
8479
8480 * image-mode.el (image-toggle-display-image): Ensure that the
8481 image spec passed to the animate timer is the same object as in
58179cce 8482 the buffer's display property (Bug#6981).
e8cbec34
CY
8483 (image-transform-properties): Doc fix.
8484
8485 * image.el (image-animate-max-time): Default to nil.
8486
159daf87
MR
84872011-05-29 Martin Rudalics <rudalics@gmx.at>
8488
8489 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8490 entire buffer list (Bug#8184).
8491
d66c4c7c
CY
84922011-05-29 Chong Yidong <cyd@stupidchicken.com>
8493
8494 * image.el (imagemagick-types-inhibit)
8495 (imagemagick-register-types): Doc fix.
8496
80aec780
DD
84972011-05-29 Deniz Dogan <deniz@dogan.se>
8498
8499 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8500 default.
8501
1dd3c2d9
CY
85022011-05-29 Chong Yidong <cyd@stupidchicken.com>
8503
8504 * select.el: Don't perform clipboard-manager saving in hooks;
8505 leave the hooks empty.
8506
60e56523
LL
85072011-05-28 Leo Liu <sdl.web@gmail.com>
8508
8509 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8510 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8511 (occur-edit-mode): New major mode (Bug#8463).
8512 (occur-after-change-function): New function.
8513 (occur-engine): Give Occur tags a read-only property.
8514
2b1e1a22
KR
85152011-05-28 Kevin Ryde <user42@zip.com.au>
8516
8517 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8518
5d344e88
CY
85192011-05-28 Chong Yidong <cyd@stupidchicken.com>
8520
8e6ca83d
CY
8521 * bindings.el (help-echo): Make the initial non-indicator dash
8522 empty on graphical terminals (Bug#7295).
8523
5d344e88
CY
8524 * files.el (auto-mode-alist): Move config rule after the
8525 in-stripping one (Bug#8547).
8526
bfbbace7
CY
8527 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8528
fbeba6e2
CY
8529 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8530 setting (Bug#8740).
8531
60ed8c72
AA
85322011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8533
4ac619f0
AA
8534 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8535 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8536 (Bug#8539).
60ed8c72 8537
23db196e
CY
85382011-05-28 Chong Yidong <cyd@stupidchicken.com>
8539
8540 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8541
5012f24c
DK
85422011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8543
8544 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8545 (hs-hide-block-at-point, hs-find-block-beginning)
8546 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8547 (Bug#8279).
8548
6a639b16
GM
85492011-05-28 Glenn Morris <rgm@gnu.org>
8550
8551 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8552
d43eaf2c
CY
85532011-05-28 Chong Yidong <cyd@stupidchicken.com>
8554
5199bde1
CY
8555 * help-fns.el (describe-function-1): If the function is a derived
8556 major mode, print the parent mode.
8557
d43eaf2c
CY
8558 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8559 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8560
423428a8
SM
85612011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8562
0ff8e1ba 8563 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8564 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8565 * progmodes/etags.el (tags-completion-at-point-function):
8566 * info-look.el (info-lookup-completions-at-point): Mark as
8567 non-exclusive.
8568 (info-complete): Adjust accordingly.
8569
423428a8
SM
8570 * info-look.el: Convert to lexical-binding and completion-at-point.
8571 (info-lookup-completions-at-point): New function.
8572 (info-complete): Use it and completion-in-region.
8573
b74aa22b
DA
85742011-05-28 Drew Adams <drew.adams@oracle.com>
8575
8576 * isearch.el: Let M-e start with point at the first mismatched char.
8577 (isearch-fail-pos): New function.
8578 (isearch-edit-string): Use it.
8579
66e2e71d
DK
85802011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8581
8582 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8583
b1890b0f 85842011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8585
8586 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8587 traversal functions for avl-trees.
8588 (avl-tree--stack): New struct.
8589 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8590 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8591 (avl-tree--do-enter): Add optional `updatefun' arg.
8592 Change return value.
eb95d01d 8593 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8594 (avl-tree--do-delete): Add `test' and `nilflag' args.
8595 Change return value.
eb95d01d
TC
8596 (avl-tree-member): Add optional `nilflag'
8597 (avl-tree-member-p): New function.
8598 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8599 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8600 (avl-tree-stack-empty-p): New functions.
8601
3769ddcf
TC
8602 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8603 avl-tree--del-balance1 and make it work both ways.
8604 (avl-tree--del-balance2): Remove.
8605 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8606 make it work both ways.
8607 (avl-tree--enter-balance2): Remove.
8608 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8609 New macros.
8610 (avl-tree--mapc, avl-tree-map): Add direction argument.
8611
eb95d01d 86122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8613
8614 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8615
a9f737ee
CY
86162011-05-27 Chong Yidong <cyd@stupidchicken.com>
8617
8618 * select.el: Support clipboard managers with built-in function
8619 x-clipboard-manager-save, via delete-frame-functions and
8620 kill-emacs-hook.
8621 (xselect-convert-to-targets): Add MULTIPLE target to list.
8622 (xselect-convert-to-save-targets): New function.
8623
c92a1e54
KH
86242011-05-27 Kenichi Handa <handa@m17n.org>
8625
8626 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8627 let-binding rfc2047-encode-encoded-words to nil.
8628
e145f188
GM
86292011-05-27 Glenn Morris <rgm@gnu.org>
8630
5ec8a862
GM
8631 * mail/emacsbug.el: Don't require url-util.
8632
4b29d9fb
GM
8633 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8634
e145f188
GM
8635 * files.el (set-auto-mode):
8636 Also respect mode: entries at the end of the file. (Bug#8586)
8637
7d15102b
GM
86382011-05-26 Glenn Morris <rgm@gnu.org>
8639
98f593b8
GM
8640 * files.el (hack-local-variables-prop-line, hack-local-variables):
8641 Downcase mode names, as seems to be traditional.
27b48e63 8642 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8643
7d15102b
GM
8644 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8645 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8646
51d5b4ec
JD
86472011-05-25 Julien Danjou <julien@danjou.info>
8648
8649 * textmodes/rst.el (rst-define-level-faces): Do not define face
8650 symbol if it is already defined.
8651
91513f63
VB
86522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8653
8654 * play/5x5.el (5x5-new-game, 5x5-randomize):
8655 Reset 5x5-solver-output to nil when a new grid is cast.
8656 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8657 these debugging traces, as defmacro breaks the compiled code.
8658
4d90d6d0
DK
86592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8660
8661 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8662
e1b90ef6
LL
86632011-05-24 Leo Liu <sdl.web@gmail.com>
8664
8665 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8666 (vc-bzr-sha1): Adapt.
8667
d8e4b68b 8668 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8669
8670 * bindings.el: Provide sha1 feature.
8671
db0406bb 86722011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8673
8674 * mail/sendmail.el: Require `rfc2047'.
8675 (mail-insert-from-field): Do not perform RFC2047 encoding.
8676 (mail-encode-header): New function.
8677 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8678 buffer to the return value of select-message-coding-system.
8679 Call mail-encode-header.
b8d747b9
KH
8680
8681 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8682
db0406bb 86832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8684
4d90d6d0
DK
8685 * mail/supercite.el (sc-default-cite-frame):
8686 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8687
eb8a5e9b
GM
86882011-05-24 Glenn Morris <rgm@gnu.org>
8689
f8630703
GM
8690 * progmodes/python.el (brm-menu): Declare.
8691
8831bbed
GM
8692 * emulation/viper.el (viper-set-hooks): Declare.
8693
eb8a5e9b
GM
8694 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8695 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8696 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8697 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8698 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8699 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8700
a2a25d24
SM
87012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 Add an :exit-function for completion-at-point.
8704
8705 * minibuffer.el (completion--done): New fun.
8706 (completion--do-completion): Use it. New arg `expect-exact'.
8707 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8708 since completion--do-completion does it for us now.
8709 (minibuffer-force-complete): Use completion--done and
8710 completion--replace. Handle sole-completion case with more care.
8711 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8712 (completion-extra-properties): New var.
8713 (completion-annotate-function): Make obsolete.
8714 (minibuffer-completion-help): Adjust accordingly.
8715 Use completion-list-insert-choice-function.
8716 (completion-at-point, completion-help-at-point):
8717 Bind completion-extra-properties.
8718 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8719 * simple.el (completion-list-insert-choice-function): New var.
8720 (completion-setup-function): Preserve it.
8721 (choose-completion): Pay attention to it, shuffle the code a bit.
8722 (choose-completion-string): New arg `insert-function'.
8723
8724 * textmodes/bibtex.el: Convert to lexical binding.
8725 (bibtex-mode-map): Use completion-at-point.
8726 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8727 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8728 (bibtex-complete): Define as obsolete alias.
8729 (bibtex-complete-internal): Remove.
8730 (bibtex-format-entry): Remove unused sub-group in regexp.
8731 * shell.el (shell--command-completion-data)
8732 (shell-environment-variable-completion):
8733 * pcomplete.el (pcomplete-completions-at-point):
8734 * comint.el (comint--complete-file-name-data): Use :exit-function
8735 instead of completion-table-with-terminator so it also works for
8736 choose-completion.
8737
e44e373d
SM
87382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8739
4f91a816
SM
8740 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8741
782fc819
SM
8742 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8743 (bug#8710).
8744
e44e373d
SM
8745 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8746
381987c3
KM
87472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8748
8749 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8750 customization variable and implement: If non-nil, auto-fill will
8751 be inhibited while on topic's header line.
8752
b776bc70
VB
87532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8754
8755 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8756 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8757 always have a solution in grid size = 5 cases.
8758 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8759 (5x5-solver-output, 5x5-log-buffer): New vars.
8760 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8761 Make these variables buffer local to achieve 5x5 multi-session-ness.
8762 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8763 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8764 (5x5-solve-suggest): New funs.
8765 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8766 randomize a grid so that we ensure that there is always a solution.
8767 (5x5-make-random-grid): Allow other movement than flipping.
8768
7de88b6e
KR
87692011-05-23 Kevin Ryde <user42@zip.com.au>
8770
8771 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8772 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8773 advice and passes PREDICATE.
8774
b1ef1257
SM
87752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8776
bbca48fe
SM
8777 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8778 byte-compile-lambda if it's actually a lambda.
8779
b1ef1257
SM
8780 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8781 Fix function quoting. Use backquote better.
8782
92a9cc65
YS
87832011-05-22 Yuanle Song <sylecn@gmail.com>
8784
8785 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8786 matching (Bug#8516).
8787
f0fb8059
JA
87882011-01-22 Jari Aalto <jari.aalto@cante.net>
8789
8790 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8791 different face (Bug#8178).
8792
d5b44c93
CY
87932011-05-22 Chong Yidong <cyd@stupidchicken.com>
8794
8795 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8796 defface (Bug#8144).
8797
79106a44
SM
87982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8799
9c848d8a
SM
8800 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8801 funcall as well (bug#8712). Warn when performing those conversions.
8802 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8803
79106a44
SM
8804 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8805
88dfa756
GM
88062011-05-22 Glenn Morris <rgm@gnu.org>
8807
8808 * files.el (hack-local-variables-prop-line): Small simplifications.
8809 (hack-local-variables, hack-local-variables-prop-line):
8810 If MODE-ONLY, return the mode, rather than just `t'.
8811
b7cf2c79
SM
88122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8815
3f1a8558
GM
88162011-05-21 Glenn Morris <rgm@gnu.org>
8817
7e4ccca3
GM
8818 * files.el (hack-local-variables-prop-line, hack-local-variables):
8819 If only interested in the mode, don't bother doing the other stuff.
8820
637d46ca
GM
8821 * image-mode.el (image-after-revert-hook):
8822 Redraw all frames on which the image is visible. (Bug#8567)
8823
973d955b
GM
8824 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8825
3f1a8558
GM
8826 * wid-edit.el (widget-checklist-match-inline):
8827 Fix 2011-04-19 change. (Bug#8649)
8828
96479927
SM
88292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8830
1dcf791f
SM
8831 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8832 Also allow singlespace after single-letter capitals followed by a dot.
8833
96479927
SM
8834 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8835 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8836
35fd0881
N
88372011-05-20 Nix <nix@esperi.org.uk>
8838
8839 * files.el (basic-save-buffer-2):
8840 Fix handling of break-hardlink-on-save with non-existent files.
8841
82745640
DD
88422011-05-19 Deniz Dogan <deniz@dogan.se>
8843
8844 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8845 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8846
4a720484
GM
88472011-05-19 Glenn Morris <rgm@gnu.org>
8848
d1f21341
GM
8849 * progmodes/f90.el (f90-type-def-re):
8850 Handle "type, bind(c)". (Bug#8691)
8851
4a720484
GM
8852 * emacs-lisp/autoload.el (batch-update-autoloads):
8853 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8854
2fb0a219
MA
88552011-05-18 Michael Albinus <michael.albinus@gmx.de>
8856
8857 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8858 property for the correct connection in case of multihops.
8859
e565dd37
GM
88602011-05-18 Glenn Morris <rgm@gnu.org>
8861
c2571358 8862 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8863 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8864
e565dd37
GM
8865 Rationalize calendar handling of day and month abbrev-arrays.
8866 * calendar/calendar.el (calendar-customized-p): New function.
8867 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8868 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8869 Add :set function.
8870 (calendar-abbrev-length, calendar-day-abbrev-array)
8871 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8872 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8873 Elements may no longer be nil.
8874 (calendar-day-name, calendar-month-name):
8875 Update for changed nature of abbrev arrays.
8876 * calendar/diary-lib.el (diary-name-pattern):
8877 Update for changed nature of abbrev arrays.
8878 (diary-mark-entries-1): Update calendar-make-alist calls.
8879 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8880 * calendar/cal-html.el (cal-html-day-abbrev-array):
8881 Simply inherit from calendar-day-abbrev-array.
8882
1d99a745
SM
88832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * progmodes/grep.el (grep-mode): Disable default
8886 compilation-directory-matcher setting (bug#8684).
8887
7c1d9aa0
MA
88882011-05-17 Michael Albinus <michael.albinus@gmx.de>
8889
8890 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8891 instead of "head" and "tail". There were problems with SunOS 5.9,
8892 and it performs better.
8893
3952e9d8
GM
88942011-05-17 Glenn Morris <rgm@gnu.org>
8895
2dd12e7f
GM
8896 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8897
e4157b9c
GM
8898 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8899 Replace obsolete function.
8900
8e249bbd
GM
8901 * shell.el (pcomplete-parse-arguments-function): Declare.
8902
3952e9d8
GM
8903 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8904 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8905 (appt-check): Doc fixes.
8906 (appt-disp-window-function, appt-delete-window-function):
8907 Remove needless special case in custom :type.
8908 (appt-display-count): Default to 0, not nil.
8909 (appt-check): Reset appt-display-count to 0, not nil.
8910
c71a0d48 89112011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8912
c71a0d48
GM
8913 * progmodes/python.el (python-font-lock-keywords):
8914 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8915
31d55be9
SM
89162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8919
3bfacb2f
KR
89202011-05-16 Kevin Ryde <user42@zip.com.au>
8921
8922 * info-look.el (makefile-automake-mode): New setups, looking in
8923 automake manual, then makefile-mode.
8924 (makefile-mode): Remove automake manual, have it just in
8925 makefile-automake-mode since there's various things different or
8926 not relevant to plain make.
8927 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8928 believe a hypothetical automake-mode would go to makefile-mode,
8929 not the other way around.
8930
c8e83751
CY
89312011-05-15 Chong Yidong <cyd@stupidchicken.com>
8932
5e9e35cd
CY
8933 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8934 hunk-end tags (Bug#8672).
8935
c8e83751
CY
8936 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8937 vc-annotate-show-diff-revision-at-line (Bug#8671).
8938
50b23e5a
GM
89392011-05-14 Glenn Morris <rgm@gnu.org>
8940
7210a739
GM
8941 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8942 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8943 (change-log-font-lock-keywords): Also handle multiple author lines
8944 with leading tabs. (Bug#8644)
7210a739 8945
4691905a
GM
8946 * calendar/appt.el (appt-check): Rename some local variables.
8947 Some simplification/reordering.
8948
50b23e5a
GM
8949 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8950 (feedmail-sendmail-f-doesnt-sell-me-out)
8951 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8952 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8953 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8954 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8955 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8956 (feedmail-binmail-gnulinuxish-template):
8957 Rename from feedmail-binmail-linuxish-template.
8958 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8959 Use insert-buffer-substring.
8960
215cda7c
BC
89612011-05-14 Bill Carpenter <bill@carpenter.org>
8962
8963 * mail/feedmail.el (feedmail-patch-level): Increase.
8964 (feedmail-debug): New custom group.
8965 (feedmail-confirm-outgoing-timeout)
8966 (feedmail-sendmail-f-doesnt-sell-me-out)
8967 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8968 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8969 (feedmail-sender-line, feedmail-from-line)
8970 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8971 (feedmail-spray-this-address)
215cda7c
BC
8972 (feedmail-spray-address-fiddle-plex-list)
8973 (feedmail-queue-use-send-time-for-date)
8974 (feedmail-queue-use-send-time-for-message-id)
8975 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8976 (feedmail-buffer-eating-function):
8977 Doc fixes.
8978 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8979 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8980 (feedmail-message-action-scroll-down): New functions.
8981 (feedmail-queue-directory, feedmail-queue-draft-directory):
8982 Use expand-file-name.
8983 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8984 Remove C-v help entry.
8985 (feedmail-queue-buffer-file-name): New variable.
8986 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8987 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8988 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8989 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8990 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8991 (feedmail-message-action-toggle-spray)
8992 (feedmail-run-the-queue-no-prompts)
8993 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8994 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8995 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8996 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8997 (feedmail-envelope-deducer, feedmail-fiddle-from)
8998 (feedmail-fiddle-sender, feedmail-default-date-generator)
8999 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9000 (feedmail-fiddle-spray-address)
9001 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9002 (feedmail-fiddle-list-of-fiddle-plexes)
9003 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9004 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9005 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9006 Change default. Doc fix.
9007 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9008 (feedmail-binmail-linuxish-template): New constant.
9009 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9010 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9011 (feedmail-send-it): Add debug call.
9012 Use feedmail-queue-buffer-file-name, and
9013 feedmail-send-it-immediately-wrapper.
9014 (feedmail-message-action-send): Add debug call.
9015 Use feedmail-send-it-immediately-wrapper.
9016 (feedmail-queue-express-to-queue): Add debug call.
9017 Run feedmail-queue-express-hook.
9018 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9019 (feedmail-message-action-help-blat):
9020 Rename from feedmail-queue-send-edit-prompt-help-first.
9021 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9022 Check line-endings. Handle errors better.
9023 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9024 Doc fix. Add debug call.
9025 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9026 Use feedmail-queue-send-edit-prompt-inner.
9027 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9028 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9029 from feedmail-queue-send-edit-prompt.
9030 (feedmail-queue-send-edit-prompt-help)
9031 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9032 (feedmail-tidy-up-slug): Add debug call.
9033 Respect feedmail-queue-slug-suspect-regexp.
9034 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9035 (feedmail-dump-message-to-queue): Add debug call.
9036 Expand queue-directory.
9037 (feedmail-dump-message-to-queue): Change message slightly.
9038 Use feedmail-say-chatter.
9039 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9040 (feedmail-send-it-immediately-wrapper): New function.
9041 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9042 Insert empty string rather than newline. Handle full-frame case.
9043 Use catch/throw. Use feedmail-say-chatter.
9044 (feedmail-fiddle-from): Try mail-host-address.
9045 (feedmail-default-message-id-generator): Doc fix.
9046 Bind system-time-locale. Handle missing end.
9047 (feedmail-fiddle-x-mailer): Add debug call.
9048 Handle feedmail-x-mailer-line being nil.
9049 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9050 Add debug call. Use buffer-substring-no-properties.
9051 (feedmail-say-debug, feedmail-say-chatter): New functions.
9052 (feedmail-find-eoh): Give an explicit error.
9053
42c7e61e
UJ
90542011-05-13 Ulf Jasper <ulf.jasper@web.de>
9055
c2571358 9056 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9057 family from helvetica to sans.
c2571358 9058 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9059 etc/images/newsticker.
9060
c2571358 9061 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9062 family from helvetica to sans.
9063
9064 * net/newst-plainview.el (newsticker-new-item-face)
9065 (newsticker-old-item-face, newsticker-immortal-item-face)
9066 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9067 (newsticker-statistics-face): Change default family from
42c7e61e 9068 helvetica to sans.
c2571358 9069 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9070 etc/images/newsticker.
9071
9072 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9073 (newsticker--process-auto-mark-filter-match): : Tell user about
9074 auto-marking.
9075
8497a297
DV
90762011-05-13 Didier Verna <didier@xemacs.org>
9077
9078 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9079 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9080 TODO entries.
8497a297
DV
9081 (lisp-lambda-list-keyword-parameter-indentation)
9082 (lisp-lambda-list-keyword-parameter-alignment)
9083 (lisp-lambda-list-keyword-alignment): New customizable user options.
9084 (lisp-indent-defun-method): Improve docstring.
9085 (extended-loop-p): Fix comment.
9086 (lisp-indent-lambda-list-keywords-regexp): New variable.
9087 (lisp-indent-lambda-list): New function.
9088 (lisp-indent-259): Use it.
9089 (lisp-indent-defmethod): Support for more than one
9090 method qualifier and properly indent methods lambda-lists.
9091 (defgeneric): Provide a missing common-lisp-indent-function property.
9092
f278f87f
SM
90932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9096 bounds for the empty string (bug#8667).
9097
5233edd7
GM
90982011-05-13 Glenn Morris <rgm@gnu.org>
9099
5237a44f
GM
9100 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9101
8340026c 9102 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9103 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9104
5233edd7 9105 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9106 (appt-time-msg-list): Doc fix.
a5464014 9107 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9108
92d10796
AS
91092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9110
9111 * progmodes/ld-script.el (ld-script-keywords)
9112 (ld-script-builtins): Update keywords list.
9113
914a0ae1
SM
91142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9115
c89be45f
SM
9116 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9117
914a0ae1
SM
9118 * shell.el (shell-completion-vars): New function.
9119 (shell-mode):
9120 * simple.el (read-shell-command): Use it.
9121 (blink-matching-open): No need for " [...]" in minibuffer-message.
9122
98dc3df3
GM
91232011-05-12 Glenn Morris <rgm@gnu.org>
9124
9125 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9126 (appt-check): Simplify.
9127
d2fc7e3d 91282011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9129
4d61f28d 9130 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9131 literal "/dev/null".
9132
d2fc7e3d 91332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9134
9135 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9136 Fix typo.
9137
d2fc7e3d 91382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9139
3f254caa
SM
9140 * progmodes/which-func.el (which-function):
9141 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9142 which might not be defined (Bug#8260).
9143
d45885f7
GM
91442011-05-12 Glenn Morris <rgm@gnu.org>
9145
9146 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9147 Let byte-compile-initial-macro-environment always take precedence.
9148
488086f4
SM
91492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 * net/rcirc.el: Add support for SSL/TLS connections.
9152 (rcirc-server-alist): New field `encryption'.
9153 (rcirc): Check `encryption' settings.
9154 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9155 Merge make-local-variable into `set'.
9156 (rcirc--connection-open-p): New function.
9157 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9158 the process is not a network process (e.g. running gnutls-cli).
9159 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9160 Make rcirc-(en|de)code-coding-system local here.
9161 (rcirc-mode): Merge make-local-variable into `set'.
9162 (rcirc-parent-buffer): Make permanent buffer-local.
9163 (rcirc-multiline-minor-mode): Don't do it here.
9164 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9165 there's no server buffer.
9166
7d3b9d44
GM
91672011-05-11 Glenn Morris <rgm@gnu.org>
9168
f64049c6
GM
9169 * newcomment.el (comment-kill): Prefix "unused" local.
9170
93c9df73
GM
9171 * term/w32console.el (get-screen-color): Declare.
9172
7d3b9d44
GM
9173 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9174 Handle symbol elements of byte-compile-initial-macro-environment.
9175
9e2dd53f
LL
91762011-05-10 Leo Liu <sdl.web@gmail.com>
9177
488086f4
SM
9178 * bookmark.el (bookmark-bmenu-mode-map):
9179 Bind bookmark-bmenu-search to `/'.
8b340240 9180
9e2dd53f 9181 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9182 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9183 (Footnote-unicode): New function.
9184 (footnote-style-alist): Add unicode style to the list.
9185 (footnote-style): Doc fix.
9e2dd53f 9186
79b70037
GM
91872011-05-10 Jim Meyering <meyering@redhat.com>
9188
9189 Fix doubled-word typos.
9190 * international/quail.el (quail-insert-kbd-layout): and and -> and
9191 * kermit.el: and and -> and
9192 * net/ldap.el (ldap-search-internal): to to -> to
9193 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9194 * progmodes/js.el (js-mode): and and -> and
9195 * textmodes/artist.el (artist-move-to-xy): at at -> at
9196 (artist-draw-region-trim-line-endings): if if -> if
9197 And Safetyc -> Safety.
9198 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9199
b8f82dc1 92002011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9201 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9202
9203 * files.el (hack-one-local-variable-eval-safep):
9204 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9205
4f99f44b
GM
92062011-05-10 Glenn Morris <rgm@gnu.org>
9207
9208 * calendar/diary-lib.el (diary-list-entries-hook)
9209 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9210 (diary-nongregorian-marking-hook, diary-list-entries)
9211 (diary-include-other-diary-files, diary-mark-entries)
9212 (diary-mark-included-diary-files): Doc fixes.
9213
84f29e6b
JB
92142011-05-09 Juanma Barranquero <lekktu@gmail.com>
9215
9216 * misc.el: Require tabulated-list.el during compilation.
9217
9bedd73a
CY
92182011-05-09 Chong Yidong <cyd@stupidchicken.com>
9219
488086f4
SM
9220 * progmodes/compile.el (compilation-start):
9221 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9222 (compilation-filter-hook): Doc fix.
9223
797c735c
DD
92242011-05-09 Deniz Dogan <deniz@dogan.se>
9225
9226 * wdired.el: Remove outdated installation comment. Fix usage
9227 comment.
9228
5f4b1dfe
JB
92292011-05-09 Juanma Barranquero <lekktu@gmail.com>
9230
9231 * misc.el: Implement new command `list-dynamic-libraries'.
9232 (list-dynamic-libraries--loaded-only-p): New variable.
9233 (list-dynamic-libraries--refresh): New function.
9234 (list-dynamic-libraries): New command.
9235
4c44026c
CY
92362011-05-09 Chong Yidong <cyd@stupidchicken.com>
9237
488086f4
SM
9238 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9239 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9240 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9241 higher priority to avoid clobbering by gnu.
9242
027f966d
CY
92432011-05-08 Chong Yidong <cyd@stupidchicken.com>
9244
9245 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9246 if the face has existing theme settings (Bug#8454).
9247
085f5d7d
CY
92482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9249
488086f4
SM
9250 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9251 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9252
2a86a00c
RS
9253 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9254 special file names `.' and `..' (Bug#8259).
9255
d9c54a06
CY
92562011-05-08 Chong Yidong <cyd@stupidchicken.com>
9257
488086f4
SM
9258 * progmodes/grep.el (grep-mode-font-lock-keywords):
9259 Remove buffer-changing entries.
d9c54a06
CY
9260 (grep-filter): New function.
9261 (grep-mode): Add it to compilation-filter-hook.
9262
9263 * progmodes/compile.el (compilation-filter-hook)
9264 (compilation-filter-start): New defvars.
9265 (compilation-filter): Call compilation-filter-hook prior to
9266 updating the process mark.
9267
c4662635
SM
92682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9271
b0512a1d
EZ
92722011-05-07 Eli Zaretskii <eliz@gnu.org>
9273
605c9376
EZ
9274 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9275 mailclient-send-it even if window-system is nil. (Bug#8595)
9276
c4662635
SM
9277 * term/w32console.el (terminal-init-w32console):
9278 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9279 background-mode. (Bug#8597)
9280
d1dc2cc2
SM
92812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9284 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9285 New functions.
9286 (defgeneric, eieio--defmethod): Use them.
9287 (eieio-defgeneric): Remove.
9288 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9289
915d1300
GM
92902011-05-07 Glenn Morris <rgm@gnu.org>
9291
a3961c3e
GM
9292 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9293 Use let rather than let*.
9294 (timeclock-find-discrep): Remove unused local.
9295
314347b9
GM
9296 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9297
915d1300
GM
9298 * calendar/appt.el (appt-time-msg-list): Doc fix.
9299
275b59b0
NF
93002011-05-06 Noah Friedman <friedman@splode.com>
9301
9302 * apropos.el (apropos-print-doc): Only use
9303 emacs-lisp-docstring-fill-column when it is bound to an integer,
9304 per that variable's documentation.
9305
6c19f744
SM
93062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9309 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9310
60f884b2
GM
93112011-05-06 Glenn Morris <rgm@gnu.org>
9312
5006e634
GM
9313 * calendar/appt.el (appt-message-warning-time): Doc fix.
9314 (appt-warning-time-regexp): New option.
9315 (appt-make-list): Respect appt-message-warning-time.
9316
548d0a63
GM
9317 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9318 New options.
9319 (diary-add-to-list): Strip comments from the displayed string.
9320 (diary-mode): Set comment-start and comment-end.
9321
60f884b2
GM
9322 * vc/diff-mode.el (smerge-refine-subst): Declare.
9323 (diff-refine-hunk): Don't require smerge-mode when compiling.
9324
989681bb
JB
93252011-05-06 Juanma Barranquero <lekktu@gmail.com>
9326
9327 * simple.el (list-processes): Return nil as the docstring says.
9328
a6bc05e1
MA
93292011-05-05 Michael Albinus <michael.albinus@gmx.de>
9330
9331 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9332 to "".
9333 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9334 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9335 determining of binary transfer. (Bug#7383)
9336
23c22e9a
MA
93372011-05-05 Michael Albinus <michael.albinus@gmx.de>
9338
c4662635
SM
9339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9340 Fix port computation bug. (Bug#8618)
23c22e9a 9341
0bff894f
GM
93422011-05-05 Glenn Morris <rgm@gnu.org>
9343
b8296902
GM
9344 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9345
1f522ce8
GM
9346 * simple.el (shell-dynamic-complete-functions)
9347 (comint-dynamic-complete-functions): Declare.
9348
cf5bee67
GM
9349 * net/network-stream.el (gnutls-negotiate):
9350 * simple.el (tabulated-list-print): Fix declarations.
9351
9352 * progmodes/gud.el (syntax-symbol, syntax-point):
9353 Remove unnecessary and incorrect declarations.
9354
0bff894f
GM
9355 * emacs-lisp/check-declare.el (check-declare-scan):
9356 Handle byte-compile-initial-macro-environment in bytecomp.el
9357
9869b3ae
SM
93582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 Fix earlier half-done eieio-defmethod change (bug#8338).
9361 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9362 Streamline and change calling convention.
9363 (defmethod): Adjust accordingly and simplify.
9364 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9365 new eieio--defmethod.
9366 (slot-boundp): Minor CSE simplification.
9367
9c1d5ac5
MZ
93682011-05-05 Milan Zamazal <pdm@zamazal.org>
9369
9370 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9371 (glasses-make-readable): Use glasses-separate-capital-groups.
9372
455c834e
JB
93732011-05-05 Juanma Barranquero <lekktu@gmail.com>
9374
9375 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9376 (warning-series): Doc fix.
9377 (display-warning): Don't try to create the buffer if we just found it.
9378
9ed7c8cb
CY
93792011-05-04 Chong Yidong <cyd@stupidchicken.com>
9380
9381 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9382 (autoload-find-generated-file): New function.
9383 (generate-file-autoloads): Bind generated-autoload-file to
9384 buffer-file-name.
9869b3ae
SM
9385 (update-file-autoloads, update-directory-autoloads):
9386 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9387 output file (Bug#7989).
9388 (batch-update-autoloads): Doc fix.
9389
0898ca10
JB
93902011-05-04 Juanma Barranquero <lekktu@gmail.com>
9391
9392 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9393
31dfb76c
GM
93942011-05-04 Glenn Morris <rgm@gnu.org>
9395
f330b642
GM
9396 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9397 function, so it follows changes in calendar-date-style.
9398 (diary-fancy-date-matcher): New function.
9399 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9400 (diary-fancy-font-lock-fontify-region-function):
9401 Use diary-fancy-date-pattern as a function.
9402
31dfb76c
GM
9403 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9404 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9405
48e79d6a
TZ
94062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9407
9408 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9409 instead of positional arguments. Allow :keylist and :crlfiles
9410 arguments.
9411 (open-gnutls-stream): Call it.
9412
9413 * net/network-stream.el (network-stream-open-starttls): Adjust to
9414 call `gnutls-negotiate' with :process and :hostname arguments.
9415
dd5a5ee0
SM
94162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9417
ef80fc09
SM
9418 * minibuffer.el (completion--message): New function.
9419 (completion--do-completion, minibuffer-complete)
9420 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9421 (completion--do-completion): Don't ignore completion-auto-help when in
9422 icomplete-mode.
9423
dd5a5ee0
SM
9424 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9425 internal encoding (e.g. tibetan zero is not whitespace).
9426 (global-whitespace-mode): Prefer save-current-buffer.
9427 (whitespace-trailing-regexp): Remove useless save-match-data.
9428 (whitespace-empty-at-bob-regexp): Minor simplification.
9429
b7d22a83
CY
94302011-05-03 Chong Yidong <cyd@stupidchicken.com>
9431
9432 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9433
5192af46
AM
94342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9435
9436 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9437 Use `concat' to create string for insertion.
5192af46 9438
5767d190
SM
94392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9442 Avoid open-line which runs post-self-insert-hook.
9443 (bibtex-fill-entry): Remove unused `end' var.
9444
bf242939
AM
94452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9446
5767d190
SM
9447 * textmodes/ispell.el (ispell-add-per-file-word-list):
9448 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9449
25666126
LL
94502011-05-03 Leo Liu <sdl.web@gmail.com>
9451
9452 * isearch.el (isearch-yank-pop): New command.
5767d190 9453 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9454 (isearch-forward): Mention it.
9455
52d3c2d0
SM
94562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9457
1bcace58
SM
9458 * simple.el (minibuffer-complete-shell-command): Remove.
9459 (minibuffer-local-shell-command-map): Use completion-at-point.
9460 (read-shell-command): Setup completion vars here instead.
9461 (read-expression-map): Bind TAB to symbol completion.
9462
52d3c2d0
SM
9463 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9464 error directly rather via storing it into `results'.
9465
35813471
LL
94662011-05-02 Leo Liu <sdl.web@gmail.com>
9467
9468 * vc/diff.el: Fix description.
9469
e793a940
LMI
94702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9471
9472 * server.el (server-eval-at): New function.
9473
8de66e05
LMI
94742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9475
9476 * net/network-stream.el (open-network-stream): Take a :nowait
9477 parameter and pass it on to `make-network-process'.
9478 (network-stream-open-plain): Ditto.
9479
dcb79f20
AS
94802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9481
9482 * faces.el (face-spec-set-match-display): Don't match toolkit
9483 options on terminal frames.
9484
14a7fbd8
SM
94852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9486
7eabc1be
SM
9487 * progmodes/pascal.el: Use lexical binding.
9488 (pascal-mode-map): Remove author preferences.
9489
14a7fbd8
SM
9490 * pcomplete.el (pcomplete-std-complete): Don't abuse
9491 completion-at-point.
9492
50f84510
JB
94932011-04-28 Juanma Barranquero <lekktu@gmail.com>
9494
6e087a44
JB
9495 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9496 removing code that has been dead since 1991 or so.
9497
50f84510
JB
9498 * startup.el (command-line): When warning about "_emacs", use a
9499 delayed warning to allow the user to filter it out.
9500
0ba690bd
DD
95012011-04-28 Deniz Dogan <deniz@dogan.se>
9502
9503 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9504 user has not joined.
9505
08abfaad
SM
95062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9509 aren't any completions at point.
9510
638f053a
JB
95112011-04-28 Juanma Barranquero <lekktu@gmail.com>
9512
9513 * subr.el (display-delayed-warnings): New function.
9514 (delayed-warnings-hook): New variable.
9515
8fff8daa
SM
95162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9517
08abfaad
SM
9518 * minibuffer.el (completion-at-point, completion-help-at-point):
9519 Don't presume that a given completion-at-point-function will always
9520 use the same calling convention.
9521
8fff8daa
SM
9522 * pcomplete.el (pcomplete-completions-at-point):
9523 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9524 pcomplete-seen is non-nil.
9525 (pcomplete-comint-setup): Also recognize the new comint/shell
9526 completion functions.
9527 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9528 pcomplete-seen is non-nil.
9529
841a1577 95302011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9531
841a1577 9532 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9533 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9534 the first character in the entry. This allows for code to add its
211ec907
UJ
9535 own uid to the entry.
9536 (icalendar--convert-float-to-ical): Add export of
9537 `diary-float'-entries save for those with the optional DAY
9538 argument.
9539
2a782793
DC
95402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9541
9542 * subr.el (shell-quote-argument): Use alternate escaping strategy
9543 when we spot a variable reference in a string.
9544
0438ce91
DC
95452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9546
9547 * cus-start.el (all): Define customization for debug-on-event.
9548
841a1577 95492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9550
9551 * subr.el (shell-quote-argument): Escape correctly under Windows.
9552
d090ed6c
SM
95532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9556
bfd31217
MA
95572011-04-25 Michael Albinus <michael.albinus@gmx.de>
9558
d090ed6c
SM
9559 * net/tramp.el (tramp-process-actions): Add POS argument.
9560 Delete region between POS and (pos).
bfd31217 9561
d090ed6c
SM
9562 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9563 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9564 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9565
9566 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9567 position in `tramp-process-actions' call.
9568
9569 * net/trampver.el: Update release number.
9570
e92f3bd3
SM
95712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9572
850256b5
SM
9573 * custom.el (defcustom): Obey lexical-binding.
9574
e92f3bd3
SM
9575 Fix octave-inf completion problems reported by Alexander Klimov.
9576 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9577 Inherit from octave-mode-syntax-table.
9578 (inferior-octave-mode): Set info-lookup-mode.
9579 (inferior-octave-completion-at-point): New function.
9580 (inferior-octave-complete): Use it and completion-in-region.
9581 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9582 comint-filename-completion.
9583 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9584 symbol elements which shouldn't be word elements.
9585 (octave-font-lock-keywords, octave-beginning-of-defun)
9586 (octave-function-header-regexp): Adjust regexps accordingly.
9587 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9588
cd22b309
JB
95892011-04-25 Juanma Barranquero <lekktu@gmail.com>
9590
9591 * net/gnutls.el (gnutls-errorp): Declare before first use.
9592
8b492194
TZ
95932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9594
9595 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9596 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9597 default trustfile exists before going to use it. Add missing
5a5fa834 9598 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9599 Reported by Claudio Bley <claudio.bley@gmail.com>.
9600 (open-gnutls-stream): Add usage example.
9601
9602 * net/network-stream.el (network-stream-open-starttls): Give host
9603 parameter to `gnutls-negotiate'.
9604 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9605 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9606
841a1577 96072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9608
cd22b309
JB
9609 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9610 Use correct match group (bug#8438).
05842630 9611
3ba7869c
CY
96122011-04-24 Chong Yidong <cyd@stupidchicken.com>
9613
512e3ae1
CY
9614 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9615 (package-menu--generate): New arg specifying packages to show.
9616 (package-menu-refresh, package-menu-execute, list-packages):
9617 Callers changed.
9618 (package-show-package-list): New function, replacing deleted
9619 package--list-packages (renamed because it is non-internal).
9620
9621 * finder.el (finder-list-matches): Use package-show-package-list
9622 instead of deleted package--list-packages.
9623
e92f3bd3
SM
9624 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9625 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9626 (vc-annotate-mode-map): Bind it to RET.
9627
7031be6d
UR
96282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9629
9630 * progmodes/etags.el (next-file): Don't use set-buffer to change
9631 buffers (Bug#8478).
9632
4ef177aa
CY
96332011-04-24 Chong Yidong <cyd@stupidchicken.com>
9634
c8d173eb
CY
9635 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9636
4ef177aa
CY
9637 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9638 (apropos-accumulator): Doc fix.
9639 (apropos-function, apropos-macro, apropos-command)
9640 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9641 (apropos-plist): Add face property.
9642 (apropos-symbols-internal): Fix indentation.
9643 (apropos-print): Simplify help, and recognize apropos-multi-type.
9644 (apropos-print-doc): Use button-type-get to extract the button's
9645 face property. Fill docstring (Bug#8352).
9646
4ffd0d6b 96472011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9648
9649 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9650
c6c32125 9651 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9652 (mpuz-mode-map): Use mapc.
c6c32125
JB
9653 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9654 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9655 Fix typos in docstrings.
9656
58d468b4
JB
9657 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9658 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9659
6470c3c6
JB
9660 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9661
4ffd0d6b 96622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9663
9664 * minibuffer.el (completion--do-completion): Avoid the "Next char
9665 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9666
3ad8bad0
CY
9667 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9668 mouse-2 into unread-command-events, it is interpreted correctly.
9669
71d73c9c 9670 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9671 (image-toggle-display): Doc fix.
71d73c9c 9672
841a1577 96732011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9674
4ffd0d6b
GM
9675 * textmodes/page.el (what-page): Use line-number-at-pos to
9676 calculate line number (Bug#6825).
6e1dbaa9 9677
c2fb1b60
JB
96782011-04-22 Juanma Barranquero <lekktu@gmail.com>
9679
9680 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9681 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9682 Pass argument NO-DEFAULT to `find-tag-interactive'.
9683
e02f48d7
JB
96842011-04-22 Juanma Barranquero <lekktu@gmail.com>
9685
9686 Lexical-binding cleanup.
9687
9688 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9689 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9690 * progmodes/ada-prj.el (ada-prj-initialize-values)
9691 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9692 (ada-prj-show-value):
9693 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9694 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9695 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9696 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9697 * progmodes/bug-reference.el (bug-reference-push-button):
9698 * progmodes/fortran.el (fortran-line-length):
9699 * progmodes/glasses.el (glasses-change):
9700 * progmodes/octave-mod.el (octave-fill-paragraph):
9701 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9702 (python-pdbtrack-grub-for-buffer, python-sentinel):
9703 * progmodes/sql.el (sql-save-connection):
9704 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9705 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9706 Mark unused parameters.
9707
9708 * progmodes/compile.el (compilation--flush-directory-cache)
9709 (compilation--flush-parse, compile-internal): Mark unused parameters.
9710 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9711 (compilation-next-error-function): Remove unused variable `timestamp'.
9712
9713 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9714 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9715
9716 * progmodes/dcl-mode.el (dcl-end-of-command):
9717 Remove unused variable `start'.
9718 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9719 (dcl-option-value-basic, dcl-option-value-offset)
9720 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9721 Mark unused parameters.
9722 (dcl-save-local-variable): Remove unused variable `val'.
9723 (mode): Declare.
9724
9725 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9726 Mark unused parameters.
9727 (delphi-ignore-changes): Move before first use.
9728 (delphi-charset-token-at): Remove unused variable `start'.
9729 (delphi-else-start): Remove unused variable `if-count'.
9730 (delphi-comment-block-start, delphi-comment-block-end):
9731 Remove unused variable `kind'.
9732 (delphi-indent-line): Remove unused variable `new-point'.
9733
9734 * progmodes/ebrowse.el (ebrowse-files-list)
9735 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9736 Mark unused parameters. Don't quote `lambda'.
9737 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9738 Don't quote `lambda'.
9739 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9740 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9741 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9742 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9743 Use `ignore-errors'.
9744 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9745 (ebrowse-view/find-file-and-search-pattern)
9746 (ebrowse-view/find-member-declaration/definition):
9747 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9748 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9749 Rename parameter PREFIX-ARG to PREFIX.
9750 (ebrowse-tags-read-name): Remove unused variables `start' and
9751 `member-info'.
9752 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9753 to `tags-file'.
9754
9755 * progmodes/etags.el (local-find-tag-hook): Declare.
9756 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9757 Mark unused parameters.
9758
9759 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9760 (executable-interpret): Mark unused parameter.
9761
9762 * progmodes/flymake.el (flymake-process-sentinel)
9763 (flymake-after-change-function)
9764 (flymake-create-temp-with-folder-structure)
9765 (flymake-get-include-dirs-dot): Mark unused parameters.
9766 (flymake-safe-delete-directory): Remove unused variable `err'.
9767
9768 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9769 (speedbar-timer-fn, speedbar-line-text)
9770 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9771 (speedbar-center-buffer-smartly): Declare functions.
9772 (gdb-find-watch-expression): Remove unused variable `array'.
9773 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9774 (gdb-starting): Mark unused parameters.
9775 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9776 (gdb-table-string): Remove unused variable `res'.
9777 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9778 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9779 (gdb-display-buffer): Remove unused variable `cur-size'.
9780
9781 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9782 allow lexical-binding compilation.
9783 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9784 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9785 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9786 Mark unused parameters.
9787 (gud-gdb-marker-filter): Remove unused variable `match'.
9788 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9789 lambda expressions and funcall them, instead of using `fset'.
9790
9791 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9792 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9793
9794 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9795 variable `header-beg'; use `let'.
9796
9797 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9798 `restart', `last-sexp' and `at-do'.
9799
9800 * progmodes/js.el (js--debug): Mark unused parameter.
9801 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9802 (js--splice-into-items): Remove unused variable `item'.
9803 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9804
9805 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9806 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9807 (makefile-complete): Remove unused variable `try'.
9808 (makefile-fill-paragraph, makefile-match-function-end):
9809 Mark unused parameters.
9810
9811 * progmodes/octave-inf.el (inferior-octave-complete):
9812 Remove unused variable `proc'.
9813 (inferior-octave-output-digest): Mark unused parameter.
9814
9815 * progmodes/perl-mode.el (perl-calculate-indent):
9816 Remove unused variable `err'.
9817
9818 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9819 (prolog-indent-line): Mark unused parameters.
9820 (prolog-indent-line): Remove unused variable `beg'.
9821
9822 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9823 (reporter-dont-compact-list): Declare.
9824
9825 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9826 Remove unused variable `char'.
9827 (sh-debug): Mark unused parameter.
9828 (sh-get-indent-info): Remove unused variable `start'.
9829 (sh-calculate-indent): Remove unused variable `var'.
9830
9831 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9832 (simula-electric-keyword): Remove unused variable `null'.
9833 (simula-search-backward, simula-search-forward): Remove unused
9834 variables `begin' and `end'.
9835
9836 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9837 Remove unused variable `pos'.
9838 (vera-electric-tab, vera-comment-uncomment-region):
9839 Mark unused parameters.
9840 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9841
7ede3b65
CY
98422011-04-22 Chong Yidong <cyd@stupidchicken.com>
9843
9844 * emacs-lisp/package.el (package--builtins, package-alist)
9845 (package-load-descriptor, package-built-in-p, package-activate)
9846 (define-package, package-installed-p)
9847 (package-compute-transaction, package-buffer-info)
9848 (package--push): Doc fix. Distinguish more clearly between
9849 version strings and version lists.
9850
121656e9
JB
98512011-04-21 Juanma Barranquero <lekktu@gmail.com>
9852
9853 Lexical-binding cleanup.
9854
9855 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9856 (5x5-make-mutate-best):
9857 * play/fortune.el (fortune-in-buffer):
9858 * play/gomoku.el (gomoku-init-display):
9859 * play/solitaire.el (solitaire, solitaire-do-check):
9860 * play/tetris.el (tetris-default-update-speed-function):
9861 Mark unused parameters.
9862
9863 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9864 (bubbles--shift): Remove unused variable `char-org'.
9865 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9866 (bubbles--show-images): Remove unused variable `char'.
9867
9868 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9869 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9870 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9871 (decipher-analyze-buffer): Use ?\s.
9872 (decipher-make-checkpoint): Remove unused variable `mapping'.
9873
9874 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9875
9876 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9877 Remove unused variable `result'; use `let'.
9878
9879 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9880 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9881 (gametree-children-shown-p, gametree-compute-reduced-score):
9882 Use `ignore-errors'.
9883
9884 * play/handwrite.el (ps-lpr-switches): Declare.
9885 (handwrite): Remove unused variables `pmin' and `lastp'.
9886
9887 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9888
9889 * play/landmark.el (landmark-init-display)
9890 (landmark-update-naught-weights): Mark unused parameters.
9891 (landmark-y): Remove unused variable `noise'. Simplify.
9892 (landmark-human-plays): Remove unused variable `score'.
9893
9894 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9895 (mpuz-try-proposal): Remove unused variable `game'.
9896
9897 * play/zone.el (life-patterns): Declare.
9898
80f499c7
JB
98992011-04-20 Juanma Barranquero <lekktu@gmail.com>
9900
9901 * vc/vc.el (ediff-vc-internal): Declare function.
9902
024ff170
SM
99032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9904
c0a193ea
SM
9905 * shell.el: Use lexical-binding and std completion UI.
9906 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9907 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9908 comint-preoutput-filter-functions rather than on
9909 comint-output-filter-functions.
9910 (shell-command-completion, shell--command-completion-data)
9911 (shell-filename-completion, shell-environment-variable-completion)
9912 (shell-c-a-p-replace-by-expanded-directory): New functions.
9913 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9914 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9915 (shell-dynamic-complete-environment-variable): Use them.
9916 (shell-dynamic-complete-as-environment-variable)
9917 (shell-dynamic-complete-as-command): Remove.
9918 (shell-match-partial-variable): Match past point.
9919 * comint.el: Clean up use of completion-at-point-functions.
9920 (comint-completion-at-point): New function.
9921 (comint-mode): Use it completion-at-point-functions.
9922 (comint-dynamic-complete): Make it obsolete.
9923 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9924 (comint-c-a-p-replace-by-expanded-history): New function.
9925 (comint-dynamic-complete-functions)
9926 (comint-replace-by-expanded-history): Use it.
9927 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9928 termination strings. Try harder to avoid second try-completion.
9929 (completion-in-region-mode-map): Disable bindings that don't work yet.
9930
2dbaa080
SM
9931 * comint.el: Use lexical-binding. Require CL.
9932 (comint-dynamic-complete-functions): Use comint-filename-completion.
9933 (comint-completion-addsuffix): Tweak custom type.
9934 (comint-filename-completion, comint--common-suffix)
9935 (comint--common-quoted-suffix, comint--table-subvert)
9936 (comint--complete-file-name-data): New functions.
9937 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9938 (comint-dynamic-list-filename-completions): Use them.
9939 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9940
2dbaa080
SM
9941 * minibuffer.el (completion-in-region-mode):
9942 Keep completion-in-region-mode--predicate global.
9943 (completion-in-region--postch):
9944 Assume completion-in-region-mode--predicate is not null.
9945
c79a6f38
SM
9946 * progmodes/flymake.el (flymake-start-syntax-check-process):
9947 Obey `dir'. Simplify.
9948
024ff170
SM
9949 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9950 we're in VC after all.
9951
1c6c854e
CS
99522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9953
9954 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9955 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9956 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9957
bed7f140
SM
99582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9959
332e62ab
SM
9960 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9961 add sanity check.
9962
bed7f140
SM
9963 * obsolete/erc-hecomplete.el: Make obsolete.
9964 * obsolete/: Standardize obsolescence info in the header.
9965
f195c582
GM
99662011-04-20 Glenn Morris <rgm@gnu.org>
9967
9968 * calendar/solar.el (solar-horizontal-coordinates):
9969 Use the longitude argument rather than `calendar-longitude'.
9970 (solar-date-next-longitude): Remove unused locals.
9971
cb79b8c0
VJL
99722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9973
9974 * whitespace.el: New version 13.2.1.
9975
99762011-04-20 felix <EmacsWiki> (tiny change)
9977
d8e4b68b 9978 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9979 switching between major modes on a file.
9980
602ea69d
SM
99812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9984 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9985 multi-line comments as well.
9986
06b60517
JB
99872011-04-19 Juanma Barranquero <lekktu@gmail.com>
9988
9989 Lexical-binding cleanup.
9990
9991 * arc-mode.el (archive-mode-revert):
9992 * cmuscheme.el (scheme-interactively-start-process):
9993 * custom.el (custom-initialize-delay):
9994 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9995 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9996 * emacs-lock.el (emacs-lock-clear-sentinel):
9997 * ezimage.el (defezimage):
9998 * follow.el (follow-avoid-tail-recenter):
9999 * fringe.el (set-fringe-mode-1):
10000 * generic-x.el (bat-generic-mode-compile):
10001 * help-mode.el (help-info-variable, help-do-xref)
10002 (help-mode-revert-buffer):
10003 * help.el (view-emacs-todo):
10004 * iswitchb.el (iswitchb-completion-help):
10005 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10006 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10007 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10008 * locate.el (locate-update):
10009 * longlines.el (longlines-encode-region)
10010 (longlines-after-change-function):
10011 * outline.el (outline-isearch-open-invisible):
10012 * ps-def.el (declare-function, charset-dimension, char-width)
10013 (encode-char):
10014 * ps-mule.el (ps-mule-plot-string):
10015 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10016 (recentf-edit-list-select, recentf-edit-list-validate)
10017 (recentf-open-files-action):
10018 * rect.el (delete-whitespace-rectangle-line)
10019 (rectangle-number-line-callback):
10020 * register.el (window-configuration-to-register)
10021 (frame-configuration-to-register):
10022 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10023 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10024 (xselect-convert-to-targets, xselect-convert-to-delete)
10025 (xselect-convert-to-filename, xselect-convert-to-charpos)
10026 (xselect-convert-to-lineno, xselect-convert-to-colno)
10027 (xselect-convert-to-os, xselect-convert-to-host)
10028 (xselect-convert-to-user, xselect-convert-to-class)
10029 (xselect-convert-to-name, xselect-convert-to-integer)
10030 (xselect-convert-to-atom, xselect-convert-to-identity):
10031 * subr.el (declare, ignore, process-kill-without-query)
10032 (text-clone-maintain):
10033 * terminal.el (te-get-char, te-tic-sentinel):
10034 * tool-bar.el (tool-bar-make-keymap):
10035 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10036 * type-break.el (type-break-mode, type-break-noninteractive-query):
10037 * view.el (View-back-to-mark):
10038 * wid-browse.el (widget-browse-action, widget-browse-widget)
10039 (widget-browse-widgets, widget-browse-sexp):
10040 * widget.el (define-widget-keywords):
10041 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10042 Mark unused parameters.
10043
10044 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10045 (align-areas): Remove unused variable `look'.
10046 (align-region): Remove unused variables `real-end' and `pos-list'.
10047
10048 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10049
10050 * bindings.el (mode-line-modified, mode-line-remote):
10051 Mark unused parameters.
10052 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10053
10054 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10055 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10056
10057 * comint.el (comint-history-isearch-pop-state)
10058 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10059 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10060 (comint-substitute-in-file-name): Doc fix.
10061
10062 * completion.el (cmpl-statistics-block): Mark unused parameter.
10063 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10064 (save-completions-to-file, load-completions-from-file):
10065 Remove unused local variable `e'.
10066
10067 * composite.el (compose-chars): Remove unused variable `len'.
10068 (lgstring-insert-glyph): Remove unused variable `g'.
10069 (compose-glyph-string): Remove unused variables `ascent',
10070 `descent', `lbearing' and `rbearing'.
10071 (compose-glyph-string-relative): Remove unused variables
10072 `lbearing', `rbearing' and `wadjust'.
10073 (compose-gstring-for-graphic): Remove unused variables `header',
10074 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10075 (compose-gstring-for-terminal): Remove unused variables `header'
10076 and `nchars'. Use `let', not `let*'.
10077
10078 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10079 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10080 (Custom-buffer-done, custom-buffer-create-internal)
10081 (custom-browse-visibility-action, custom-browse-group-tag-action)
10082 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10083 (widget-magic-mouse-down-action, custom-toggle-parent)
10084 (custom-add-parent-links, custom-toggle-hide-variable)
10085 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10086 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10087 (custom-face-menu-create, custom-variable-menu-create, get)
10088 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10089 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10090 (customize-apropos): Remove unused variable `tests'.
10091 (custom-group-value-create): Remove unused variable `hidden-p'.
10092 (sort-fold-case): Declare.
10093
10094 * cus-theme.el (custom-reset-standard-faces-list)
10095 (custom-reset-standard-variables-list): Declare.
10096 (customize-create-theme, custom-theme-revert, custom-theme-write)
10097 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10098 Mark unused parameters.
10099
10100 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10101
10102 * delim-col.el (delimit-columns-max): Move defvar before first use.
10103
10104 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10105 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10106
10107 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10108 (auto-insert): Declare.
10109 (desktop-restore-file-buffer): Rename desktop-* parameters;
10110 mark unused ones.
10111 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10112 (desktop-buffer): Rename desktop-* parameters.
10113
10114 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10115 (dframe-reposition-frame-xemacs, dframe-help-echo)
10116 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10117 Mark unused parameters.
10118
10119 * dired-aux.el (backup-extract-version-start, overwrite-query)
10120 (overwrite-backup-query, rename-regexp-query)
10121 (rename-non-directory-query): Declare.
10122 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10123 (dired-add-entry): Remove unused variable `orig-file-name'.
10124 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10125 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10126 `dired-copy-preserve-time' directly.
10127 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10128 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10129
10130 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10131 (dired-virtual-revert, dired-make-relative-symlink):
10132 Mark unused parameters.
10133 (manual-program): Declare.
10134 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10135 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10136 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10137
10138 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10139
10140 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10141
10142 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10143 Declare.
10144
10145 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10146
10147 * electric.el (Electric-command-loop): Rename parameter
10148 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10149
10150 * expand.el (expand-in-literal): Remove unused variable `here'.
10151
10152 * facemenu.el (facemenu-add-new-color):
10153 Remove unused variable `docstring'.
10154
10155 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10156 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10157 (face-attr-construct): Mark unused parameter. Doc fix.
10158 (read-color): Remove unused variable `hex-string'.
10159
10160 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10161 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10162 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10163 (display-buffer-other-frame): Remove unused variable `old-window'.
10164 (kill-buffer-hook): Declare.
10165 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10166 Mark unused parameters.
10167 (after-find-file): Pass 1 to `auto-save-mode', not t.
10168
10169 * files-x.el (auto-insert): Declare.
10170 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10171
10172 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10173 variable `buf'. Mark unused parameter.
06b60517
JB
10174 (find-lisp-insert-directory): Mark unused parameter.
10175
10176 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10177 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10178 (format-common-tail): Remove, unused.
10179 (format-deannotate-region): Remove unused variable `loc'.
10180 (format-annotate-region): Remove unused variable `p'.
10181 (format-annotate-single-property-change): Remove unused variables
10182 `default' and `tail'.
10183
10184 * forms.el (read-file-filter): Declare.
10185 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10186
10187 * frame.el (frame-creation-function-alist): Mark unused parameter.
10188 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10189
10190 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10191 Remove unused parameters.
10192 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10193 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10194
10195 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10196 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10197 (hfy-prepare-tag-map): Mark unused parameters.
10198 (htmlfontify-buffer): Use `called-interactively-p'.
10199
10200 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10201 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10202 (ibuffer-do-occur): Mark unused parameters.
10203 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10204 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10205
10206 * ibuffer.el: Don't quote `lambda'.
10207 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10208 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10209 Mark unused parameters.
10210
10211 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10212 (ido-completing-read): Mark unused parameters.
10213 (ido-copy-current-word): Mark unused parameters;
10214 remove unused variable `name'.
10215 (ido-sort-merged-list): Remove unused parameter `dirs'.
10216
10217 * ielm.el (ielm-input-sender): Mark unused parameter.
10218 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10219 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10220 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10221 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10222 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10223
10224 * image-dired.el (image-dired-display-thumbs): Remove unused
10225 variables `curr-file' and `count'.
10226 (image-dired-remove-tag): Remove unused variable `start'.
10227 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10228 variable `curr-file'
10229 (image-dired-rotate-original): Remove unused variable `temp-file'.
10230 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10231 Remove unused variable `file'.
10232 (image-dired-gallery-generate): Remove unused variable `curr'.
10233 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10234
10235 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10236
10237 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10238
10239 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10240
10241 * isearch.el (minibuffer-history-symbol): Declare.
10242 (isearch-edit-string): Remove unused variable `err'.
10243 (isearch-message-prefix, isearch-message-suffix):
10244 Mark unused parameters.
10245
10246 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10247
10248 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10249
10250 * makesum.el (double-column): Remove unused variable `cnt'.
10251
10252 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10253 (ido-ignore-item-temp-list): Declare.
10254
10255 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10256 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10257 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10258 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10259 `mouse-col-delta'.
10260
10261 * mouse-sel.el (mouse-extend-internal):
10262 Remove unused variable `orig-window-frame'.
10263
10264 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10265 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10266 Move declarations before first use.
10267 (pcomplete-opt): Mark unused parameters; doc fix.
10268
10269 * proced.el (proced-revert): Mark unused parameter.
10270 (proced-send-signal): Remove unused variable `err'.
10271
10272 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10273 Rename parameter PREFIX-ARG to ARG.
10274 (ps-basic-plot-string, ps-basic-plot-whitespace):
10275 Mark unused parameters.
10276
10277 * replace.el (replace-count): Define.
10278 (occur-revert-function): Mark unused parameters.
10279 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10280 (isearch-case-fold-search, isearch-string): Declare.
10281 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10282 bind `case-fold-search'. Remove unused variables `beg' and `end',
10283 and simplify.
10284 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10285 COUNT and bind `replace-count'.
10286 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10287 to COUNT.
10288
10289 * savehist.el (print-readably, print-string-length): Declare.
10290
10291 * shadowfile.el (shadow-expand-cluster-in-file-name):
10292 Remove unused variable `cluster'.
10293 (shadow-copy-file): Remove unused variable `i'.
10294 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10295 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10296 (shadow-define-literal-group, shadow-define-regexp-group)
10297 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10298
10299 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10300 (shell): Use `called-interactively-p'.
10301 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10302
10303 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10304 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10305 (delete-backward-char): Remove unused variable `ocol'.
10306 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10307 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10308 (event-apply-hyper-modifier, event-apply-shift-modifier)
10309 (event-apply-control-modifier, event-apply-meta-modifier):
10310 Mark unused parameters.
10311 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10312 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10313
10314 * speedbar.el (speedbar-ignored-directory-expressions)
10315 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10316 (speedbar-find-file, speedbar-dir-follow)
10317 (speedbar-directory-buttons-follow, speedbar-tag-find)
10318 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10319 (speedbar-buffers-line-directory, speedbar-buffer-click):
10320 Mark unused parameters.
10321 (speedbar-tag-file): Remove unused variable `mode'.
10322 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10323
10324 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10325
10326 * talk.el (talk): Remove unused variable `display'.
10327
10328 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10329 (tar-write-region-annotate): Mark unused parameter.
10330
10331 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10332 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10333 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10334 warning by another.
10335
10336 * time-stamp.el (time-stamp-string-preprocess):
10337 Remove unused variable `require-padding'.
10338
10339 * tree-widget.el (widget-glyph-enable): Declare.
10340 (tree-widget-action): Mark unused parameter.
10341
10342 * w32-fns.el (x-get-selection): Mark unused parameter.
10343 (autoload-make-program, generated-autoload-file): Declare.
10344
10345 * wdired.el (wdired-revert): Mark unused parameters.
10346 (wdired-xcase-word): Remove unused variable `err'.
10347
10348 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10349 (whitespace-help-scroll): Remove unused variable `data-help'.
10350
10351 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10352 (widget-image-insert, widget-after-change, default)
10353 (widget-default-format-handler, widget-default-notify)
10354 (widget-default-prompt-value, widget-info-link-action)
10355 (widget-url-link-action, widget-function-link-action)
10356 (widget-variable-link-action, widget-file-link-action)
10357 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10358 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10359 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10360 (widget-insert-button-action, widget-delete-button-action, visibility)
10361 (widget-documentation-link-action, widget-documentation-string-action)
10362 (widget-const-prompt-value, widget-regexp-match, symbol)
10363 (widget-coding-system-prompt-value)
10364 (widget-key-sequence-value-to-external, sexp)
10365 (widget-sexp-value-to-internal, character, vector, cons)
10366 (widget-choice-prompt-value, widget-boolean-prompt-value)
10367 (widget-color--choose-action): Mark unused parameters.
10368 (widget-item-match-inline, widget-choice-match-inline)
10369 (widget-checklist-match, widget-checklist-match-inline)
10370 (widget-group-match): Rename parameter VALUES to VALS.
10371 (widget-field-value-set): Remove unused variable `size'.
10372 (widget-color-action): Remove unused variables `value' and `start'.
10373
10374 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10375 variable `dir'. Doc fix.
06b60517
JB
10376 (windmove-find-other-window): Don't pass it.
10377
10378 * window.el (count-windows): Mark unused parameter.
10379 (bw-adjust-window): Remove unused variable `err'.
10380
10381 * woman.el (woman-file-name): Remove unused variable `default'.
10382 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10383 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10384 (global-font-lock-mode): Declare.
10385 (woman-decode-region): Mark unused parameter.
10386 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10387
10388 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10389 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10390 (x-dnd-handle-moz-url): Remove unused variable `title'.
10391 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10392
10393 * xml.el (xml-parse-tag, xml-parse-attlist):
10394 Remove unused variable `pos'.
10395
bc4f7f3d
GM
103962011-04-19 Glenn Morris <rgm@gnu.org>
10397
10398 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10399 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10400 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10401 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10402 * calendar/cal-html.el (cal-html-insert-minical):
10403 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10404 (calendar-mark-date-pattern):
10405 Prefix "unused" locals.
10406
10407 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10408 optional argument `style'.
10409
10410 * calendar/appt.el (appt-make-list):
10411 * calendar/cal-china.el (calendar-chinese-date-string):
10412 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10413 (diary-hebrew-yahrzeit):
10414 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10415 * calendar/calendar.el (calendar-generate-window):
10416 * calendar/time-date.el (time-to-days):
10417 Remove unused local variables.
10418
16a43933
CY
104192011-04-18 Chong Yidong <cyd@stupidchicken.com>
10420
10421 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10422 glyphless-char-display table.
10423 (tabulated-list-glyphless-char-display): New var.
10424
7eed1860
SS
104252011-04-18 Sam Steingold <sds@gnu.org>
10426
10427 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10428 to acknowledgments.
10429
4d2d1ccd
GM
104302011-04-17 Glenn Morris <rgm@gnu.org>
10431
10432 * calendar/diary-lib.el (diary-sexp-entry):
10433 * calendar/holidays.el (holiday-sexp):
10434 Set debug-on-error rather than the removed stack-trace-on-error.
10435
239da61d
GM
104362011-04-16 Glenn Morris <rgm@gnu.org>
10437
10438 * progmodes/f90.el: Use lexical-binding.
10439 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10440
8b05752a
SM
104412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10442
daca8ba5
SM
10443 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10444 (mail-mode): Setup mailalias completion here instead.
10445 * mail/mailalias.el: Use lexical-binding.
10446 (pattern, mailalias-done): Declare dynamic.
10447 (mail-completion-at-point-function): New function, from mail-complete.
10448 (mail-complete): Use it.
10449 (mail-completion-expand): New function.
10450 (mail-get-names): Use it.
10451 (mail-directory, mail-directory-process, mail-directory-stream):
10452 Don't use `pattern' for lexically bound arg.
10453
6f542485
SM
10454 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10455
037e7c3f
SM
10456 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10457 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10458 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10459
8b05752a
SM
10460 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10461 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10462 (byte-interactive-p): Define them again, for use when inlining
10463 old code.
10464
49093f60
JB
104652011-04-15 Juanma Barranquero <lekktu@gmail.com>
10466
10467 * loadup.el: Use `string-to-number', not `string-to-int'.
10468
b5b8e7de
SM
104692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10472 gud-gdb-complete-command.
10473 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10474 (gud-gdb-completion-at-point): New function.
10475 (gud-gdb-completions): Remove.
10476
f42efeb5
MA
104772011-04-14 Michael Albinus <michael.albinus@gmx.de>
10478
49093f60
JB
10479 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10480 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10481 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10482 whether `executable-find' is bound.
f42efeb5
MA
10483
10484 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10485
e240cc21
SM
104862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * minibuffer.el (completion-in-region-mode-predicate)
10489 (completion-in-region-mode--predicate): New vars.
10490 (completion-in-region, completion-in-region--postch)
10491 (completion-in-region-mode): Use them.
10492 (completion--capf-wrapper): Also return the hook function.
10493 (completion-at-point, completion-help-at-point):
10494 Adjust and provide a predicate.
c2bd2ab0
SM
10495
10496 Preserve arg names for advice of subr and lexical functions (bug#8457).
10497 * help-fns.el (help-function-arglist): Consolidate the subr and
10498 new-byte-code cases. Add argument `preserve-names' to extract names
10499 from the docstring when needed.
10500 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10501 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10502 (ad-arglist): Use help-function-arglist's new arg.
10503 (ad-definition-type): Use cond.
10504
c183f693
JB
105052011-04-13 Juanma Barranquero <lekktu@gmail.com>
10506
06641a47
JB
10507 * autorevert.el (auto-revert-handler):
10508 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10509 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10510 Don't quote lambda.
10511
c183f693
JB
10512 * image-mode.el (image-transform-set-scale):
10513 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10514
1e3b6001
G
105152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10516
10517 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10518 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10519 Upgrades via gnutls-cli are too slow to be done opportunistically.
10520
2d6af8dd
JB
105212011-04-12 Juanma Barranquero <lekktu@gmail.com>
10522
10523 * dframe.el (dframe-current-frame): Remove spurious quote.
10524
c0749a51
GM
105252011-04-12 Glenn Morris <rgm@gnu.org>
10526
088d0d61
GM
10527 * calendar/cal-tex.el (cal-tex-end-document):
10528 Try to automatically use latin1 input if needed.
10529
c0749a51
GM
10530 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10531 Don't try to cons a mark onto an empty element.
10532
5c90fde0
LL
105332011-04-11 Leo Liu <sdl.web@gmail.com>
10534
10535 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10536 buffers.
10537 (ido-kill-buffer-at-head): Support killing virtual buffers.
10538
369e974d
CY
105392011-04-10 Chong Yidong <cyd@stupidchicken.com>
10540
10541 * minibuffer.el (completion-show-inline-help): New var.
10542 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10543 (minibuffer-force-complete, minibuffer-complete-word):
10544 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10545
10546 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10547 to avoid interference from inline help (Bug#5849).
10548
37f1c930
LL
105492011-04-10 Leo Liu <sdl.web@gmail.com>
10550
099c39a4
JB
10551 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10552 Fix typo.
37f1c930 10553
a32d4040
CY
105542011-04-09 Chong Yidong <cyd@stupidchicken.com>
10555
10556 * image-mode.el (image-toggle-display-image): Signal an error if
10557 not in Image mode.
10558 (image-transform-mode, image-transform-resize)
10559 (image-transform-set-rotation): Doc fix.
daca8ba5 10560 (image-transform-set-resize): Delete.
a32d4040
CY
10561 (image-transform-set-scale, image-transform-fit-to-height)
10562 (image-transform-fit-to-width): Handle image-toggle-display-image
10563 and image-transform-resize directly.
10564
099c39a4 105652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10566
10567 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10568 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10569 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10570 (doc-view-mode-map): Add bindings for the new functions.
10571
099c39a4 105722011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10573
4d61f28d 10574 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10575 Fix typo in docstring.
10576
3726838a
EZ
105772011-04-08 Eli Zaretskii <eliz@gnu.org>
10578
04f33f1e
EZ
10579 * files.el (file-size-human-readable): Produce one digit after
10580 decimal, like "ls -lh" does.
10581
10582 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10583 the file size representation.
10584
3726838a
EZ
10585 * simple.el (list-processes): If async subprocesses are not
10586 available, error out with a clear error message.
10587
cbb59342
CY
105882011-04-08 Chong Yidong <cyd@stupidchicken.com>
10589
10590 * help.el (help-form-show): New function, to be called from C.
10591 Put help-form output in a buffer named differently than *Help*.
10592
e3971c44
EZ
105932011-04-08 Eli Zaretskii <eliz@gnu.org>
10594
10595 * files.el (file-size-human-readable): New function.
10596
10597 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10598 computing the representation inline. Don't require `cl'.
10599
12544bbe
GM
106002011-04-08 Glenn Morris <rgm@gnu.org>
10601
a1de6c6a
GM
10602 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10603
3c4671f4
GM
10604 * net/browse-url.el (browse-url-firefox):
10605 Test system-type, not system-configuration.
10606
b605679c
GM
10607 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10608 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10609 Use log-edit-empty-buffer-p. (Bug#7598)
10610
56442f0c
GM
10611 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10612 (rlogin-mode-map): Initialize in the defvar.
10613 (rlogin): Use ignore-errors.
10614
12544bbe
GM
10615 * replace.el (occur-mode-map): Some fixes for menu items.
10616
eb237b0f
AH
106172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10618
10619 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10620
7d668f2c
CY
106212011-04-06 Chong Yidong <cyd@stupidchicken.com>
10622
e67a13ab
CY
10623 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10624 issuing unused warnings.
10625
10626 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10627 macro directly.
10628
7d668f2c
CY
10629 * simple.el: Lisp reimplement of list-processes. Based on an
10630 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10631 (process-menu-mode): New major mode.
10632 (list-processes--refresh, list-processes):
10633 (process-menu-visit-buffer): New functions.
10634
10635 * files.el (save-buffers-kill-emacs): Don't assume any return
10636 value of list-processes, which is undocumented anyway.
10637
a83ec3c9
CY
106382011-04-06 Chong Yidong <cyd@stupidchicken.com>
10639
10640 * emacs-lisp/tabulated-list.el: New file.
10641
e91a96fe
CY
10642 * emacs-lisp/package.el: Use Tabulated List mode.
10643 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10644 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10645 table format using Tabulated List mode variables.
10646 (package--push): New macro, replacing package-list-maybe-add.
10647 (package-menu--generate): Use package--push. Renamed from
10648 package--generate-package-list.
10649 (package-menu-refresh, list-packages): Use it.
daca8ba5 10650 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10651 Return insertion data instead of inserting it directly.
099c39a4
JB
10652 (package-menu-describe-package, package-menu-execute):
10653 Use tabulated-list-get-id.
e91a96fe
CY
10654 (package-menu-mark-delete, package-menu-mark-install)
10655 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10656 (package-menu-mark-obsolete-for-deletion):
10657 Use tabulated-list-put-tag.
e91a96fe
CY
10658 (package--list-packages, package-menu-revert)
10659 (package-menu-get-package, package-menu-get-version)
10660 (package-menu-sort-by-column): Functions deleted.
10661 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10662 (package-menu--status-predicate, package-menu--version-predicate)
10663 (package-menu--name-predicate)
10664 (package-menu--description-predicate): Handle arguments in the
10665 Tabulated List format.
10666 (package-list-packages-no-fetch): Call list-packages.
10667
3e214b50
JB
106682011-04-06 Juanma Barranquero <lekktu@gmail.com>
10669
10670 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10671 (after-find-file): Don't bind it.
3e214b50
JB
10672 (revert-buffer-in-progress-p): New variable.
10673 (revert-buffer): Bind it.
10674 Pass nil for `after-find-file-from-revert-buffer'.
10675
10676 * saveplace.el (save-place-find-file-hook): Use new variable
10677 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10678
3f0f1700
GM
106792011-04-06 Glenn Morris <rgm@gnu.org>
10680
c0274801
GM
10681 * Makefile.in (AUTOGEN_VCS): New variable.
10682 (autoloads): Use $AUTOGEN_VCS.
10683
3f0f1700
GM
10684 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10685 * calendar/calendar.el (calendar-mode-map):
10686 Check for toolkit scroll bars. (Bug#8305)
10687
41ea9e48
CY
106882011-04-05 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * minibuffer.el (completion-in-region--postch)
10691 (completion-in-region-mode): Remove unnecessary messages.
10692
6194c800
JB
106932011-04-05 Juanma Barranquero <lekktu@gmail.com>
10694
33256f14
JB
10695 * font-lock.el (font-lock-refresh-defaults):
10696 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10697 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10698
6194c800
JB
10699 * info.el (Info-directory-list, Info-read-node-name-2)
10700 (Info-split-parameter-string): Doc fixes.
10701 (Info-virtual-nodes): Reflow docstring.
10702 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10703 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10704 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10705 Fix typos in docstrings.
10706 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10707 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10708 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10709 (Info-restore-desktop-buffer): Mark unused parameters.
10710 (Info-directory-find-file, Info-directory-find-node)
10711 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10712 (Info-virtual-index-find-node, Info-apropos-find-file)
10713 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10714 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10715 (Info-virtual-index): Remove unused local variable `nodename'.
10716
b87a8200 107172011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10718
b87a8200
DD
10719 * net/rcirc.el: Update my e-mail address.
10720 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10721
3b2ff876
CY
107222011-04-05 Chong Yidong <cyd@stupidchicken.com>
10723
10724 * startup.el (command-line): Save the cursor's theme-face
10725 directly, instead of using face-override-spec.
10726
10727 * custom.el (load-theme): Minor optimization in assigning faces.
10728
8d17e7ca
JB
107292011-04-04 Juanma Barranquero <lekktu@gmail.com>
10730
10731 * help-fns.el (describe-variable): Complete all variables having
10732 documentation, including keywords.
10733 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10734
2fbc1934
JB
107352011-04-04 Juanma Barranquero <lekktu@gmail.com>
10736
10737 Convert to lexical-binding.
10738
10739 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10740 (bs--get-marked-string, bs--get-modified-string)
10741 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10742 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10743 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10744
10745 * ehelp.el (electric-help-execute-extended)
10746 (electric-help-ctrl-x-prefix):
10747 * hexl.el (hexl-revert-buffer-function):
10748 * linum.el (linum-after-change, linum-after-scroll):
10749 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10750
10751 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10752
74f50695
DU
107532011-04-04 Daiki Ueno <ueno@unixuser.org>
10754
10755 * epa-dired.el:
10756 * epa-mail.el:
10757 * epa-hook.el:
10758 * epa-file.el:
10759 * epa.el:
10760 * epg.el: Use lexical binding.
10761
c11325f7
CY
107622011-04-03 Chong Yidong <cyd@stupidchicken.com>
10763
0d9e9a12
CY
10764 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10765
c11325f7 10766 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10767 dictionary case for flyspell-mark-duplications-exceptions.
10768 Use regexp matching for languages.
c11325f7
CY
10769 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10770 default dictionary (Bug#7926).
10771
da91b5f2
CY
107722011-04-02 Chong Yidong <cyd@stupidchicken.com>
10773
099c39a4
JB
10774 * emacs-lisp/package.el (package--with-work-buffer):
10775 Recognize https URLs.
da91b5f2 10776
099c39a4
JB
10777 * net/network-stream.el: Move from gnus/proto-stream.el.
10778 Change prefix to network-stream throughout.
da91b5f2
CY
10779 (open-protocol-stream): Merge into open-network-stream, leaving
10780 open-protocol-stream as an alias. Handle nil BUFFER args.
10781
10782 * subr.el (open-network-stream): Move to net/network-stream.el.
10783
afa8e9f6
GM
107842011-04-02 Glenn Morris <rgm@gnu.org>
10785
1d2e369d
GM
10786 * find-dired.el (find-exec-terminator): New option.
10787 (find-ls-option): Test for -ls support.
10788 (find-ls-subdir-switches): Test for -b in find-ls-option.
10789 (find-dired, find-grep-dired): Doc fixes.
10790 (find-dired): Use find-exec-terminator.
10791
8abb7da8 10792 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10793 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10794 (find-name-arg): Remove purecopy.
8abb7da8 10795
f3ca7378
GM
10796 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10797 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10798 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10799 accordingly. Don't add the null-device if not needed.
10800
afa8e9f6
GM
10801 * files.el (save-some-buffers): Doc fix.
10802
35eae264
EZ
108032011-04-02 Eli Zaretskii <eliz@gnu.org>
10804
10805 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10806
26b51db5
JB
108072011-04-01 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10810 Use `dolist' rather than `mapcar'.
10811
7200d79c
SM
108122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10813
03408648 10814 Add lexical binding.
7200d79c 10815
03408648
SM
10816 * subr.el (apply-partially): Use new closures rather than CL.
10817 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10818 (dolist, dotimes): Use slightly different expansion for lexical code.
10819 (functionp): Move to C.
10820 (letrec): New macro.
10821 (with-wrapper-hook): Use it and apply-partially instead of CL.
10822 (eval-after-load): Preserve lexical-binding.
10823 (save-window-excursion, with-output-to-temp-buffer): Turn them
10824 into macros.
7200d79c 10825
03408648
SM
10826 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10827
10828 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10829 than the arglist.
10830 (help-add-fundoc-usage): Don't add `Not documented'.
10831 (help-function-arglist): Handle closures, subroutines, and new
10832 byte-code-functions.
10833 (help-make-usage): Remove leading underscores.
10834 (describe-function-1): Handle closures.
10835 (describe-variable): Use special-variable-p for completion.
10836
10837 * files.el (lexical-binding): Declare safe.
f488fb65 10838
03408648
SM
10839 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10840 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10841 (pcase): Add `let' pattern.
10842 Change memoization so it actually works.
10843 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10844 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10845 <let>: New case.
f488fb65 10846
03408648
SM
10847 * emacs-lisp/macroexp.el: Use lexical binding.
10848 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10849 Don't convert ' to #' without checking that it's indeed quoting
10850 a lambda.
10851
10852 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10853 Use eval-sexp-add-defvars.
03408648
SM
10854 (eval-sexp-add-defvars): New fun.
10855
10856 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10857
10858 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10859 Don't autoload.
10860 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10861 than the internal `byte-compile-lambda'.
10862 (defmethod): Don't hide code under quotes.
10863 (eieio-defmethod): New `code' argument.
10864
10865 * emacs-lisp/eieio-comp.el: Remove.
10866
10867 * emacs-lisp/edebug.el (edebug-eval-defun)
10868 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10869 (edebug-toggle): Avoid `eval'.
10870
10871 * emacs-lisp/disass.el (disassemble-internal): Handle new
10872 `closure' objects.
10873 (disassemble-1): Handle new byte codes.
10874
10875 * emacs-lisp/cl.el (pushnew): Silence warning.
10876
10877 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10878 (cl-byte-compile-throw): Remove.
10879 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10880
10881 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10882 closures.
10883
10884 * emacs-lisp/cconv.el: New file.
10885
10886 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10887 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10888 (byte-compile-initial-macro-environment):
10889 Handle declare-function here.
10890 (byte-compile--lexical-environment): New var.
10891 (byte-stack-ref, byte-stack-set, byte-discardN)
10892 (byte-discardN-preserve-tos): New lap codes.
10893 (byte-interactive-p): Don't use any more.
10894 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10895 New macros.
10896 (byte-compile-lapcode): Use them and handle new lap codes.
10897 (byte-compile-obsolete): Remove.
10898 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10899 (byte-compile-arglist-warn): Check late def of inlinable funs.
10900 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10901 since they should have been expanded by now.
10902 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10903 (byte-compile-from-buffer): Remove unused second arg.
10904 (byte-compile-preprocess): New function.
10905 (byte-compile-toplevel-file-form): New function to distinguish
10906 file-form calls from outside from file-form calls from hunk-handlers.
10907 (byte-compile-file-form): Simplify.
10908 (byte-compile-file-form-defsubst): Remove.
10909 (byte-compile-file-form-defmumble): Simplify now that
10910 byte-compile-lambda always returns a byte-code-function.
10911 (byte-compile): Preprocess.
10912 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10913 Remove, not used any more.
10914 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10915 (byte-compile-make-args-desc): New funs.
10916 (byte-compile-lambda): Handle lexical functions. Always return
10917 a byte-code-function.
10918 (byte-compile-reserved-constants): New var, to make up room for
10919 closed-over variables.
10920 (byte-compile-constants-vector): Obey it.
10921 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10922 (byte-compile-macroexpand-declare-function): New function.
10923 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10924 byte-code-functions.
10925 (byte-compile-form): Check obsolescence here.
10926 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10927 (byte-compile-variable-ref): Remove.
10928 (byte-compile-dynamic-variable-op): New fun.
10929 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10930 (byte-compile-variable-set): New funs.
10931 (byte-compile-discard): Add 2 args.
10932 (byte-compile-stack-ref, byte-compile-stack-set)
10933 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10934 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10935 macroexpand-all instead.
10936 (byte-compile-quote-form): Remove.
10937 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10938 (byte-compile-bind, byte-compile-unbind): New funs.
10939 (byte-compile-let): Handle let* and lexical binding.
10940 (byte-compile-let*): Remove.
10941 (byte-compile-catch, byte-compile-unwind-protect)
10942 (byte-compile-track-mouse, byte-compile-condition-case):
10943 Handle a new :fun-body form, used for lexical scoping.
10944 (byte-compile-save-window-excursion)
10945 (byte-compile-with-output-to-temp-buffer): Remove.
10946 (byte-compile-defun): Simplify.
10947 (byte-compile-stack-adjustment): New fun.
10948 (byte-compile-out): Use it.
10949 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10950
10951 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10952 handler any more.
10953
10954 * emacs-lisp/byte-opt.el: Use lexical binding.
10955 (byte-inline-lapcode): Remove (to bytecomp).
10956 (byte-compile-inline-expand): Pay attention to inlining to/from
10957 lexically bound code.
10958 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10959 any more.
10960 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10961 any more and don't call compiler-macros.
10962 (byte-compile-splice-in-already-compiled-code): Remove.
10963 (byte-code): Don't inline any more.
10964 (disassemble-offset): Receive `bytes' as argument rather than via
10965 dynamic scoping.
10966 (byte-compile-tag-number): Declare before first use.
10967 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10968 `return' even if make-spliceable.
10969 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10970 obsolete interactive-p.
10971 (byte-optimize-lapcode): Optimize new lap-codes.
10972 Don't trip up on new form of `byte-constant' lap code.
10973
10974 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10975
10976 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10977
10978 * custom.el (custom-initialize-default, custom-declare-variable):
10979 Use `defvar'.
10980
10981 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10982 New variables.
10983 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10984 (COMPILE_FIRST): Add macroexp and cconv.
10985 * makefile.w32-in: Mirror changes in Makefile.in.
10986
10987 * vc/cvs-status.el:
10988 * vc/diff-mode.el:
10989 * vc/log-edit.el:
10990 * vc/log-view.el:
10991 * vc/smerge-mode.el:
10992 * textmodes/bibtex-style.el:
10993 * textmodes/css.el:
10994 * startup.el:
10995 * uniquify.el:
da91b5f2
CY
10996 * minibuffer.el:
10997 * newcomment.el:
10998 * reveal.el:
10999 * server.el:
11000 * mpc.el:
11001 * emacs-lisp/smie.el:
11002 * doc-view.el:
11003 * dired.el:
03408648
SM
11004 * abbrev.el: Use lexical binding.
11005
0f0c1f27
EZ
110062011-04-01 Eli Zaretskii <eliz@gnu.org>
11007
11008 * info.el (info-display-manual): New function.
11009
c82b2579
SM
110102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11013
221ddf68
TH
110142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11015
11016 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11017 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11018
cba6e77e
GM
110192011-03-31 Glenn Morris <rgm@gnu.org>
11020
e040639f
GM
11021 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11022
cba6e77e
GM
11023 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11024
6d0f1c9e
CS
110252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11026
11027 * progmodes/python.el (python-default-interpreter)
11028 (python-python-command-args, python-jython-command-args)
11029 (python-which-shell, python-which-args, python-which-bufname)
11030 (python-file-queue, python-comint-output-filter-function)
11031 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11032 variables and functions.
11033
3e2d70fd
SM
110342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11037 (completion-in-region-mode): New minor mode.
11038 (completion-in-region): Use it.
11039 (completion-in-region--data, completion-in-region-mode-map): New vars.
11040 (completion-in-region--postch): New function.
11041 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11042 New vars.
11043 (completion--capf-wrapper): New function.
11044 (completion-at-point): Use it to track well-behavedness of
11045 hook functions.
11046 (completion-help-at-point): New command.
11047
f3e4086c
JM
110482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11049
11050 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11051 syntax class to search for whitespace on a single line
11052 (Message-ID: <4D938140.4030905@redhat.com>).
11053
eb7ffc14
LL
110542011-03-30 Leo Liu <sdl.web@gmail.com>
11055
11056 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11057 New commands.
11058 (edit-abbrevs-map): Bind them here.
11059 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11060
d806ab68
KM
110612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11062
11063 * allout.el (allout-hide-by-annotation, allout-flag-region):
11064 Reduce possibility of overlay leakage by making them volatile.
11065
11066 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11067 hash is not shared between buffers. Mode initialization is
11068 responsible for giving it a useful starting value.
11069 (allout-item-span): Reduce possibility of overlay leakage by
11070 making them volatile.
11071 (allout-widgets-count-buttons-in-region): Add diagnostic function
11072 for tracking down button overlay leaks.
11073
ea622834
LL
110742011-03-29 Leo Liu <sdl.web@gmail.com>
11075
11076 * ido.el (ido-read-internal): Use the default history var
11077 minibuffer-history if no HISTORY is specified.
11078
b62f8267
G
110792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11080
03408648
SM
11081 * net/imap.el (imap-shell-open, imap-process-connection-type):
11082 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11083 Kerberos, SSL, other subprocesses.
11084
947b6566
LL
110852011-03-28 Leo Liu <sdl.web@gmail.com>
11086
11087 * abbrev.el (abbrev-table-empty-p): New function.
11088 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11089 nonempty ones. (Bug#5937)
11090
5ffb62aa
JD
110912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11092
11093 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11094
7a097943
LL
110952011-03-27 Leo Liu <sdl.web@gmail.com>
11096
11097 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11098 for foreground and background colors.
11099 (ansi-color-make-color-map): Adapt.
11100
c5b40130
LL
111012011-03-25 Leo Liu <sdl.web@gmail.com>
11102
1f48f7d2
LL
11103 * midnight.el (midnight-time-float): Remove. Note it calculates
11104 the microsecond component incorrectly and seconds-to-time does the
11105 same job.
625897ec 11106 Remove redundant (require 'timer).
1f48f7d2 11107
c5b40130
LL
11108 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11109 (ido-completions): Remove unused arguments. (Bug#8329)
11110
d86d2721
SM
111112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * minibuffer.el (completion--flush-all-sorted-completions):
11114 Remove itself from hook.
11115 (completion-at-point): Let the functions perform the completion
11116 immediately and return nil or t.
11117 * comint.el (comint-dynamic-complete-functions): Now identical to
11118 completion-at-point-functions.
11119 (comint-dynamic-list-input-ring): Remove unused var `index'.
11120 (comint--match-partial-filename, comint--unquote&expand-filename):
11121 New funs, split from comint-match-partial-filename.
11122 (comint-dynamic-complete): Use completion-at-point.
11123 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11124
e8974c48
DA
111252011-03-24 Drew Adams <drew.adams@oracle.com>
11126
11127 * thingatpt.el: Support `defun'.
11128
def71b5e
LL
111292011-03-23 Leo Liu <sdl.web@gmail.com>
11130
cb5af48e
LL
11131 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11132
def71b5e
LL
11133 * help-mode.el (help-mode-finish): Tweak regexp.
11134
927c53e7
GM
111352011-03-23 Glenn Morris <rgm@gnu.org>
11136
18d05bed
GM
11137 * eshell/esh-opt.el (eshell-eval-using-options):
11138 Do not bind unused local variable `eshell-option-stub'.
11139
927c53e7
GM
11140 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11141
9d0da923
JB
111422011-03-22 Juanma Barranquero <lekktu@gmail.com>
11143
11144 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11145 keymap variable in `with-no-warnings' to avoid a warning when the
11146 keymap has been already `defconst'ed.
11147
4b978a67
LL
111482011-03-22 Leo Liu <sdl.web@gmail.com>
11149
11150 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11151 encode all chars in abbrevs; otherwise use emacs-mule or
11152 utf-8-emacs. (Bug#8308)
11153
5fd62452
JB
111542011-03-22 Juanma Barranquero <lekktu@gmail.com>
11155
0b1596c6
JB
11156 * simple.el (backward-delete-char-untabify):
11157 Avoid warning about using `delete-backward-char'.
11158
5fd62452
JB
11159 * image.el (image-type-file-name-regexps): Make it variable.
11160 `imagemagick-register-types' modifies it, and the user may want
11161 to add new extensions for known image types.
11162 (imagemagick-register-types): Throw error if not using ImageMagick.
11163
0b4e93f1
LL
111642011-03-22 Leo Liu <sdl.web@gmail.com>
11165
11166 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11167 located before rcirc-prompt-end-marker.
11168 (rcirc-complete): Error if point is not after rcirc prompt.
11169 Handle the case when table is nil.
9882e214 11170 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11171
fccee4ab
CY
111722011-03-22 Chong Yidong <cyd@stupidchicken.com>
11173
11174 * custom.el (custom--inhibit-theme-enable): Make it affect only
11175 custom-theme-set-variables and custom-theme-set-faces.
11176 (provide-theme): Ignore custom--inhibit-theme-enable.
11177 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11178 (custom-enabling-themes): Delete variable.
d86d2721
SM
11179 (enable-theme): Accept only loaded themes as arguments.
11180 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11181 (custom-enabled-themes): Forbid themes from setting this.
11182 Eliminate use of custom-enabling-themes.
11183 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11184
af896da6
LL
111852011-03-21 Leo Liu <sdl.web@gmail.com>
11186
11187 * ido.el (ido-read-internal): Add ido-selected to history instead
11188 of user input.
11189
78f64af0
SM
111902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 * subr.el (deferred-action-list, deferred-action-function):
11193 Mark obsolete.
11194
b16ac1ec
LL
111952011-03-21 Leo Liu <sdl.web@gmail.com>
11196
810f7698
LL
11197 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11198 change on 2011-02-13 (bug#8309).
11199
b16ac1ec
LL
11200 * minibuffer.el (read-file-name-function): Change default value.
11201 (read-file-name--defaults): Rename from read-file-name-defaults.
11202 (read-file-name-default): Rename from read-file-name.
11203 (read-file-name): Call read-file-name-function.
11204
4e05e67e
GM
112052011-03-21 Glenn Morris <rgm@gnu.org>
11206
11207 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11208 Doc fixes.
11209
4359915b
CY
112102011-03-21 Chong Yidong <cyd@stupidchicken.com>
11211
11212 * cus-theme.el: Add missing provide statement.
11213 (customize-create-theme): Extract theme value correctly.
11214 (custom-theme-visit-theme): Autoload.
11215 (customize-create-theme): Prompt before inserting default faces.
11216
1fe275ee
JB
112172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11218
11219 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11220 units and musical notes.
11221
cd394be1 112222011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11223
11224 * ido.el (ido-read-internal): Use completing-read-default.
11225 (ido-completing-read): Fix compatibility with completing-read.
11226
7d476bde
CO
112272011-03-20 Christian Ohler <ohler@gnu.org>
11228
11229 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11230 (ert-delete-all-tests): Use `called-interactively-p' rather than
11231 `interactive-p'.
11232 (ert--make-xrefs-region): Respect END.
11233
fe0fb33e
CY
112342011-03-19 Chong Yidong <cyd@stupidchicken.com>
11235
ff854b0b
CY
11236 * dired-aux.el (dired-create-directory): Signal an error if the
11237 directory already exists (Bug#8246).
11238
fe0fb33e
CY
11239 * facemenu.el (list-colors-display): Call list-faces-display
11240 inside with-help-window.
11241 (list-colors-print): Use display property to align the final
11242 column, instead of checking window-width.
11243
576bce32
EZ
112442011-03-19 Eli Zaretskii <eliz@gnu.org>
11245
4d61f28d 11246 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11247 windows-nt systems.
11248 (emerge-protect-metachars): Quote correctly for ms-dos and
11249 windows-nt systems.
11250
89c41d68 112512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11252
11253 * info.el (info-initialize): Replace all uses of `:' with
11254 path-separator for compatibility with non-Unix systems.
11255 Cache quoting of path-separator. (Bug#8258)
11256
b14e3e21 112572011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11258
11259 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11260 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11261 (mouse-avoidance-mode): Fix typos in docstrings.
11262
4525ce3e
CY
112632011-03-19 Chong Yidong <cyd@stupidchicken.com>
11264
11265 * startup.el (package-subdirectory-regexp): Move from package.el.
11266 Omit \\` and \\', and let callers add them.
11267
11268 * emacs-lisp/package.el (package-strip-version)
11269 (package-load-all-descriptors): Add \\` and \\' to
11270 package-subdirectory-regexp before using it.
11271 (package-untar-buffer): New arg DIR; ensure that file untars only
11272 into this expected directory. Remove superfluous delete-region.
11273 (package-unpack): Caller changed.
11274 (package-tar-file-info): Use package-subdirectory-regexp.
11275
a904a09a 112762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11277
a904a09a
SM
11278 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11279 diff-mode-shared-map (bug#8284).
11280 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11281
112822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11283
11284 * calendar/time-date.el (format-seconds): Use assoc instead of
11285 assoc-string, since assoc-string doesn't exist in XEmacs.
11286
171fc304
JB
112872011-03-17 Juanma Barranquero <lekktu@gmail.com>
11288
11289 * custom.el (custom-known-themes): Reflow docstring.
11290 (custom-theme-load-path): Fix typo in docstring.
11291 (load-theme): Fix typo in error message.
11292 (custom-available-themes, custom-variable-theme-value):
11293 Use `let', not `let*'.
11294
d71990a1
JB
112952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11296
11297 * calc/README: Mention inclusion of musical notes.
11298
11299 * calc/calc-units.el (calc-lu-quant): Rename from
11300 `calc-logunits-quantity'.
11301 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11302 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11303 (calc-db): Rename from `calc-dblevel'.
11304 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11305 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11306 (calc-np): Rename from `calc-nplevel'.
11307 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11308 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11309 (calc-lu-plus): Rename from `calc-logunits-add'.
11310 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11311 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11312 (calc-lu-minus): Rename from `calc-logunits-sub'.
11313 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11314 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11315 (calc-lu-times): Rename from `calc-logunits-mul'.
11316 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11317 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11318 (calc-lu-divide): Rename from `calc-logunits-div'.
11319 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11320 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11321
11322 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11323 functions being autoloaded.
11324
11325 * calc/calc.el (calc-lu-power-reference): Rename from
11326 `calc-logunits-power-reference'.
11327 (calc-lu-field-reference): Rename from
11328 `calc-logunits-field-reference'.
11329
7a71b18d
GM
11330 * calc/calc-help.el (calc-l-prefix-help):
11331 Mention musical note functions.
d71990a1 11332
40c2934b
SM
113332011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * minibuffer.el (completion-all-sorted-completions):
11336 Use :completion-cycle-penalty text property if present.
11337
b0911414
KM
113382011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11339
11340 * allout.el (allout-yank-processing): Adjust for new rebulleting
11341 regime so bullet being yanked is used without prompting the user
11342 for a choice.
11343
8a05b668
JB
113442011-03-16 Juanma Barranquero <lekktu@gmail.com>
11345
11346 * startup.el (command-line): Warn the user that _emacs is deprecated.
11347
5ba5fb81
JB
113482011-03-16 Juanma Barranquero <lekktu@gmail.com>
11349
11350 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11351 (delphi-verbose, delphi-comment-face, delphi-string-face)
11352 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11353 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11354 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11355 (delphi-new-comment-line, delphi-font-lock-defaults)
11356 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11357 Fix typos in docstrings.
11358
2dab465b
KM
113592011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11360
5ba5fb81 11361 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11362 Invert the roles of character and string values for INSTEAD, so a
11363 string is used for the more common case of a defaulting prompt.
11364
0adf5618
SM
113652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * progmodes/ruby-mode.el (ruby-backward-sexp):
11368 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11369 * play/gamegrid.el (gamegrid-make-face):
11370 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11371 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11372 * notifications.el (notifications-notify):
11373 * net/xesam.el (xesam-search-engines):
11374 * net/quickurl.el (quickurl-list-insert):
11375 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11376
d72700e5
CY
113772011-03-15 Chong Yidong <cyd@stupidchicken.com>
11378
11379 * startup.el (command-line): Update package subdirectory regexp.
11380
49c5410a
SM
113812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11382
c6eee9aa
SM
11383 * allout.el (allout-abbreviate-flattened-numbering)
11384 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11385
49c5410a
SM
11386 * subr.el (read-char-choice): Only show the cursor after the prompt,
11387 not after the answer.
11388
047b2bb9
KR
113892011-03-15 Kevin Ryde <user42@zip.com.au>
11390
11391 * help-fns.el (variable-at-point): Skip leading quotes, if any
11392 (bug#8253).
11393
0a57d256
SM
113942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11395
11396 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11397 warning message.
11398
77c992bc
MA
113992011-03-14 Michael Albinus <michael.albinus@gmx.de>
11400
11401 * shell.el (shell): When called interactively, offer to change the
11402 shell file name on remote hosts.
11403
eebc475d
TZ
114042011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11405
11406 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11407 integration for LDAP parameters. The host, base, user or binddn,
11408 and secret tokens can be specified in a netrc file, for instance.
11409 This is optional because an `auth-source' parameter must be
11410 specified in the search attributes.
11411
9d05d1ba
JB
114122011-03-13 Juanma Barranquero <lekktu@gmail.com>
11413
11414 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11415
09d9db2c
GM
114162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11417
11418 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11419 into declaration. Remove redundant and harmful binding.
11420
114212011-03-12 Eli Zaretskii <eliz@gnu.org>
11422
11423 * files.el (file-ownership-preserved-p): Pass `integer' as an
11424 explicit 2nd argument to `file-attributes'. If the file's owner
11425 is the Administrators group on Windows, and the current user is
11426 Administrator, consider that a match.
11427
11428 * server.el (server-ensure-safe-dir): Consider server directory
11429 safe on MS-Windows if its owner is the Administrators group while
11430 the current Emacs user is Administrator. Use `=' to compare
11431 numerical UIDs, since they could be integers or floats.
11432
219bd536
JB
114332011-03-12 Juanma Barranquero <lekktu@gmail.com>
11434
11435 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11436
f3afd36b
MA
114372011-03-12 Michael Albinus <michael.albinus@gmx.de>
11438
11439 Sync with Tramp 2.2.1.
11440
11441 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11442
11443 * net/trampver.el: Update release number.
11444
3aaaa6f1
SM
114452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11446
94642599
SM
11447 * progmodes/compile.el (compilation--previous-directory): Fix up
11448 various nil/dead-marker mismatches (bug#8014).
11449 (compilation-directory-properties, compilation-error-properties):
11450 Don't call it at a position past the one we're about to change.
11451
3aaaa6f1
SM
11452 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11453 Disable obsolescence warnings in the file that declares it.
11454
14239447
KM
114552011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11456
099c39a4
JB
11457 * allout-widgets.el (allout-widgets-tally):
11458 Initialize allout-widgets-tally as a hash table rather than nil to
11459 prevent mode-line redisplay warnings. Also, clarify the module
11460 description and fix a comment typo.
14239447 11461
135e287c
JB
114622011-03-11 Juanma Barranquero <lekktu@gmail.com>
11463
11464 * help-fns.el (describe-variable): Don't complete keywords.
11465 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11466
ffbf300e
CY
114672011-03-10 Chong Yidong <cyd@stupidchicken.com>
11468
ba08b241
CY
11469 * emacs-lisp/package.el (package-version-join): Impose a standard
11470 string representation for pre/alpha/beta version lists.
11471 (package-unpack-single): Standardize the directory name by passing
11472 it through package-version-join.
11473 (package-strip-rcs-id): Accept any version string that does not
11474 signal an error in version-to-list.
ffbf300e 11475
f346fd6b
MA
114762011-03-10 Michael Albinus <michael.albinus@gmx.de>
11477
11478 * simple.el (delete-trailing-whitespace): Return nil for the
11479 benefit of `write-file-functions'.
11480
ccb55d27
GM
114812011-03-10 Glenn Morris <rgm@gnu.org>
11482
5ceaac0c
GM
11483 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11484
02da65ff
GM
11485 * vc/vc-git.el (vc-git-program): New option.
11486 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11487 (vc-git--call): Use it.
11488
b2f603cc
GM
11489 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11490
5772caab
GM
11491 * cus-edit.el (Custom-newline): If no button at point, look
11492 for a subgroup button at start-of-line. (Bug#2298)
11493
ccb55d27
GM
11494 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11495
ec6ecaed
JD
114962011-03-10 Julien Danjou <julien@danjou.info>
11497
11498 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11499 `cursor-type' is nil.
11500
9d5aa01d
JB
115012011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11502
11503 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11504
b6a5875b
KM
115052011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11506
7a71b18d 11507 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11508 preserves the existing header prefix, rebulleting it if necessary,
11509 rather than replacing it. This is necessary for proper operation
11510 of cooperative addons like allout-widgets.
1154d12e
JB
11511 (allout-make-topic-prefix, allout-rebullet-heading):
11512 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11513 value as alternate bullet to be used, instead of prompting the user
11514 for a bullet character.
b6a5875b 11515
ee545c35
MA
115162011-03-09 Michael Albinus <michael.albinus@gmx.de>
11517
d86d2721
SM
11518 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11519 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11520 `tramp-default-port'.
11521
c47971d7
DD
115222011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11523
11524 * net/rcirc.el (rcirc-handler-001): Remove useless
11525 with-rcirc-process-buffer.
11526 (rcirc-check-auth-status): Swap arguments to string-match.
11527
13522cb4
GM
115282011-03-09 Glenn Morris <rgm@gnu.org>
11529
0be6f4f1
GM
11530 * shell.el (shell-mode):
11531 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11532
13522cb4
GM
11533 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11534 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11535
515de2e3
CY
115362011-03-08 Chong Yidong <cyd@stupidchicken.com>
11537
11538 * emacs-lisp/package.el (package-refresh-contents)
11539 (package-menu-execute): Use condition-case-no-debug.
11540
b511b994
MA
115412011-03-08 Michael Albinus <michael.albinus@gmx.de>
11542
11543 * simple.el (shell-command-to-string): Use `process-file'.
11544
11545 * emacs-lisp/package.el (package-tar-file-info): Handle also
11546 remote files.
11547
d86d2721
SM
11548 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11549 Use `equal' for upload base check.
b511b994 11550
25bbfb31
AM
115512011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11552
11553 * textmodes/texinfo.el (texinfo-environments):
11554 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11555
be996521
GM
115562011-03-08 Glenn Morris <rgm@gnu.org>
11557
e9c8529f
GM
11558 * cus-start.el (cursor-in-non-selected-windows):
11559 Fix :set quoting oddness. (Bug#8192)
11560
be996521
GM
11561 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11562 in some setf expressions. (Bug#2159)
11563
2bb5649e
CY
115642011-03-08 Chong Yidong <cyd@stupidchicken.com>
11565
11566 * custom.el (custom-available-themes): Return themes in
11567 alphabetical order.
11568
33383987 11569See ChangeLog.15 for earlier changes.
e3d51b27
MR
11570
11571;; Local Variables:
11572;; coding: utf-8
e3d51b27
MR
11573;; End:
11574
acaf905b 11575 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11576
11577 This file is part of GNU Emacs.
11578
11579 GNU Emacs is free software: you can redistribute it and/or modify
11580 it under the terms of the GNU General Public License as published by
11581 the Free Software Foundation, either version 3 of the License, or
11582 (at your option) any later version.
11583
11584 GNU Emacs is distributed in the hope that it will be useful,
11585 but WITHOUT ANY WARRANTY; without even the implied warranty of
11586 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11587 GNU General Public License for more details.
11588
11589 You should have received a copy of the GNU General Public License
11590 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.